:root {
  --bg: #1a1a1a;
  --bg-alt: #141414;
  --bg-card: #2a2a2a;
  --text-1: #ffffff;
  --text-2: rgba(255, 255, 255, 0.87);
  --text-3: rgba(255, 255, 255, 0.70);
  --text-4: rgba(255, 255, 255, 0.60);
  --text-half: rgba(255, 255, 255, 0.50);
  --text-muted: rgba(255, 255, 255, 0.40);
  --text-placeholder: rgba(255, 255, 255, 0.25);
  --border: rgba(255, 255, 255, 0.10);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-ghost: rgba(255, 255, 255, 0.20);
  --border-ghost-hover: rgba(255, 255, 255, 0.40);
  --border-acc: rgba(148, 20, 27, 0.30);
  --surface-input: rgba(255, 255, 255, 0.05);
  --surface-input-alt: rgba(255, 255, 255, 0.07);
  --accent-tint: rgba(148, 20, 27, 0.15);
  --hero-gradient-accent: #2d1810;
  --nav-bg: rgba(26, 26, 26, 0.92);
  --nav-mobile-bg: rgba(20, 20, 20, 0.97);
}

[data-theme=light] {
  --bg: #f4f4f2;
  --bg-alt: #e8e8e6;
  --bg-card: #ffffff;
  --text-1: #111111;
  --text-2: rgba(17, 17, 17, 0.87);
  --text-3: rgba(17, 17, 17, 0.70);
  --text-4: rgba(17, 17, 17, 0.60);
  --text-half: rgba(17, 17, 17, 0.50);
  --text-muted: rgba(17, 17, 17, 0.40);
  --text-placeholder: rgba(17, 17, 17, 0.25);
  --border: rgba(17, 17, 17, 0.10);
  --border-light: rgba(17, 17, 17, 0.12);
  --border-ghost: rgba(17, 17, 17, 0.20);
  --border-ghost-hover: rgba(17, 17, 17, 0.40);
  --border-acc: rgba(148, 20, 27, 0.25);
  --surface-input: rgba(17, 17, 17, 0.05);
  --surface-input-alt: rgba(17, 17, 17, 0.05);
  --accent-tint: rgba(148, 20, 27, 0.10);
  --hero-gradient-accent: #f0e6e6;
  --nav-bg: rgba(244, 244, 242, 0.95);
  --nav-mobile-bg: rgba(244, 244, 242, 0.97);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 48px;
  }
}

.container--narrow {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px) {
  .container--narrow {
    padding-inline: 48px;
  }
}

.pill-label {
  display: inline-block;
  padding: 4px 16px;
  position: relative;
  z-index: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 32px;
  white-space: nowrap;
}
.pill-label::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #94141b;
  transform: skewX(-30deg);
  z-index: -1;
}

.s-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s ease;
}
.s-card:hover {
  border-color: var(--border-acc);
}

.s-chip {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 12px;
  color: var(--text-3);
  transition: border-color 0.2s, color 0.2s;
}
.s-chip:hover {
  border-color: var(--border-acc);
  color: var(--text-1);
}

.s-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #94141b;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
}
.s-btn-primary:hover {
  background: #7a0f16;
}

.s-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: none;
  border: 1px solid var(--border-ghost);
  color: var(--text-2);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.s-btn-outline:hover {
  border-color: var(--border-ghost-hover);
  color: var(--text-1);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #94141b;
  color: #ffffff;
  border-radius: 9999px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover {
  background: #7a0f16;
}
.btn--ghost {
  background: none;
  border: 1px solid var(--border-ghost);
  color: var(--text-2);
}
.btn--ghost:hover {
  border-color: var(--border-ghost-hover);
  color: var(--text-1);
  background: none;
}

.highlight {
  display: inline-block;
  background: #94141b;
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 8px;
}

.section-heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 200;
  background: var(--bg);
  color: var(--text-1);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-acc);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 8px;
}

.site-nav,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-nav.is-scrolled,
.site-header.is-scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-nav__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-nav__mark img {
  width: 100%;
  height: auto;
  display: block;
}
.site-nav__wordmark {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--text-1);
  letter-spacing: -0.3px;
}
.site-nav__links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .site-nav__links {
    display: flex;
  }
}
.site-nav__links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s;
}
.site-nav__links a:hover, .site-nav__links a.current, .site-nav__links a.is-current {
  color: var(--text-1);
  font-weight: 600;
}
.site-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
}
@media (min-width: 768px) {
  .site-nav__hamburger {
    display: none;
  }
}
.site-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-nav__hamburger.is-open span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}
.site-nav__hamburger.is-open span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}
.site-nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--nav-mobile-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 767px) {
  .site-nav__mobile {
    display: block;
  }
}
.site-nav__mobile.is-open {
  max-height: 296px;
  opacity: 1;
}
.site-nav__mobile-links {
  list-style: none;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-nav__mobile-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  color: var(--text-2);
  padding-block: 4px;
  transition: color 0.2s;
}
.site-nav__mobile-links a:hover, .site-nav__mobile-links a.current, .site-nav__mobile-links a.is-current {
  color: var(--text-1);
  font-weight: 600;
}
.site-nav__mobile-theme {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.site-nav__mobile-theme .theme-toggle {
  display: flex;
}
.site-nav__mobile-theme-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  color: var(--text-2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-header__mark img {
  width: 100%;
  height: auto;
  display: block;
}

.site-header__wordmark {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--text-1);
  letter-spacing: -0.3px;
}
@media (max-width: 767px) {
  .site-header__wordmark {
    display: none;
  }
}

.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
@media (max-width: 767px) {
  .theme-toggle {
    display: none;
  }
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--text-3);
  color: var(--text-1);
}
.theme-toggle [data-icon=sun] {
  display: flex;
}
.theme-toggle [data-icon=moon] {
  display: none;
}

[data-theme=light] .theme-toggle [data-icon=sun] {
  display: none;
}
[data-theme=light] .theme-toggle [data-icon=moon] {
  display: flex;
}

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-block: 40px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer__legal p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}
.site-footer__legal .accent {
  color: #94141b;
  margin-inline: 4px;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding-block: 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-consent.is-visible {
  transform: translateY(0);
}
.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}
.cookie-consent__heading {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-1);
  margin-bottom: 8px;
}
.cookie-consent__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-3);
}
.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-consent__link {
  font-size: 12px;
  color: var(--text-2);
  text-decoration: underline;
  text-decoration-color: #94141b;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cookie-consent__link:hover {
  color: var(--text-1);
}
.cookie-consent__link:focus-visible {
  outline: 2px solid #94141b;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .cookie-consent__link {
    flex-basis: 100%;
  }
}
.cookie-consent .btn:focus-visible {
  outline: 2px solid #94141b;
  outline-offset: 2px;
}

.site-main {
  padding-top: 64px;
  min-height: calc(100vh - 64px - 48px);
}

.hero {
  position: relative;
  padding-top: 10vh;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg) 55%, var(--hero-gradient-accent) 100%);
  overflow: hidden;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 32px;
  opacity: var(--hero-opacity, 1);
  will-change: opacity;
}
.hero__logo-wrap {
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero__logo {
  width: 120px;
  height: 120px;
  margin-inline: auto;
  object-fit: contain;
}
@media (min-width: 768px) {
  .hero__logo {
    width: 160px;
    height: 160px;
  }
}
.hero__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-1);
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero__tagline {
  margin-top: 24px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  color: var(--text-3);
  max-width: 600px;
  margin-inline: auto;
  animation: fadeUp 0.7s ease 0.35s both;
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeIn 0.7s ease 0.5s both;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
}
.hero__scroll-hint svg {
  width: 16px;
  height: 16px;
  animation: bounce 2s ease-in-out infinite;
}

.about-strip {
  padding-block: 104px;
  background: var(--bg);
}
.about-strip__inner {
  max-width: 820px;
}
.about-strip__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 32px;
}
.about-strip__body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-3);
  margin-bottom: 40px;
}
.about-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94141b;
  font-size: 14px;
  font-weight: 500;
  font-family: "IBM Plex Mono", monospace;
  transition: color 0.2s, gap 0.2s;
}
.about-strip__link:hover {
  color: #7a0f16;
  gap: 12px;
}

.services {
  padding-block: 96px;
  background: var(--bg-alt);
}
.services__header {
  margin-bottom: 48px;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 32px;
}
.service-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-tint);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: #94141b;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card__title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 16px;
  line-height: 1.4;
}
.service-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-4);
  margin-bottom: 24px;
}
.service-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-cta {
  padding-block: 96px;
  background: var(--bg-alt);
  text-align: center;
}
.contact-cta__inner {
  max-width: 720px;
  margin-inline: auto;
}
.contact-cta__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 24px;
}
.contact-cta__body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-4);
  margin-bottom: 40px;
}
.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.page-header {
  padding-top: 112px;
  padding-bottom: 64px;
}
.page-header__inner {
  max-width: 820px;
}
.page-header__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin-bottom: 32px;
}
.page-header__sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 600px;
}

.page-about__body {
  padding-bottom: 80px;
}
.page-about__body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-3);
  margin-bottom: 32px;
}
.page-about__body p:last-child {
  margin-bottom: 0;
}
.page-about__pull-quote {
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border-left: 4px solid #94141b;
  border-radius: 0 16px 16px 0;
  margin-bottom: 112px;
}
.page-about__pull-quote blockquote {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(17px, 2.5vw, 24px);
  font-style: italic;
  line-height: 1.65;
  color: var(--text-2);
}

.etymology {
  padding-block: 112px;
  background: var(--bg-alt);
}
.etymology__header {
  margin-bottom: 64px;
}
.etymology__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .etymology__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.etymology-card {
  padding: 40px;
}
.etymology-card__symbol {
  font-family: "IBM Plex Mono", monospace;
  font-size: 38px;
  color: #94141b;
  line-height: 1;
  margin-bottom: 16px;
}
.etymology-card__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.etymology-card__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 16px;
}
.etymology-card__body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-4);
}

.people-intro {
  padding-bottom: 64px;
}
.people-intro p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-3);
}

.people-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 128px;
}
@media (min-width: 768px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.person-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.person-card__header {
  display: flex;
  align-items: center;
  gap: 24px;
}
.person-card__header .headshot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--border-acc);
  flex-shrink: 0;
}
.person-card__name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 4px;
}
.person-card__role {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-half);
  font-weight: 500;
}
.person-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-4);
  flex: 1;
}
.person-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.person-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.person-card__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.2s;
}
.person-card__links a svg {
  flex-shrink: 0;
}
.person-card__links a:hover {
  color: #94141b;
}
.person-card__profile {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: #94141b;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.person-card__profile:hover {
  opacity: 0.75;
}

.person-detail {
  padding-bottom: 128px;
}
.person-detail__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.person-detail__pill-row {
  width: 100%;
  padding-top: 16px;
}
.person-detail__pill-row .pill-label {
  margin-bottom: 0;
}
.person-detail__back {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-4);
  transition: color 0.2s;
  width: 100%;
}
.person-detail__back:hover {
  color: var(--text-1);
}
.person-detail__card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 80px;
}
.person-detail__profile {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.person-detail__profile .headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--border-acc);
  flex-shrink: 0;
}
.person-detail__name {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.person-detail__role {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-half);
  font-weight: 500;
}
.person-detail__bio {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-3);
  margin-bottom: 40px;
}
.person-detail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.person-detail__articles-heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 48px;
}
.person-detail__post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.person-detail__post-grid .post {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 0;
  transition: border-color 0.2s;
}
.person-detail__post-grid .post:hover {
  border-color: var(--border-acc);
}
.person-detail__post-grid .blog-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.person-detail__post-grid .blog-post__tags a {
  display: inline-block;
  background: var(--surface-input-alt);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4px 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  transition: border-color 0.2s, color 0.2s;
}
.person-detail__post-grid .blog-post__tags a:hover {
  border-color: var(--border-acc);
  color: var(--text-1);
}
.person-detail__case-studies {
  margin-bottom: 80px;
}
.person-detail__case-studies-heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 48px;
}
.person-detail__case-study-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .person-detail__case-study-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-study-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.case-study-card__image {
  flex-shrink: 0;
  height: 180px;
  overflow: hidden;
}
.case-study-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-study-card__body {
  flex: 1;
  padding: 24px 32px 24px;
}
.case-study-card__role {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94141b;
  font-weight: 500;
  margin-bottom: 8px;
}
.case-study-card__title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.35;
  margin-bottom: 12px;
}
.case-study-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-study-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 32px 24px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.case-study-card__cta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #94141b;
  white-space: nowrap;
  transition: color 0.2s;
}
.case-study-card__cta:hover {
  color: #7a0f16;
}

.person-card__link--accent {
  color: #94141b !important;
}
.person-card__link--accent:hover {
  opacity: 0.8;
}

.blog-layout {
  padding-block: 64px 128px;
}
.blog-layout .main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 1024px) {
  .blog-layout .main {
    grid-template-columns: 1fr 300px;
  }
}

.blog-post .read-duration {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.blog-post h1 {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 40px;
}

.content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-3);
}
.content h2 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-1);
  margin-top: 64px;
  margin-bottom: 24px;
}
.content h3 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  margin-top: 48px;
  margin-bottom: 16px;
}
.content p {
  margin-bottom: 32px;
}
.content ul, .content ol {
  margin-bottom: 32px;
  padding-left: 24px;
}
.content ul li, .content ol li {
  margin-bottom: 12px;
  line-height: 1.7;
}
.content strong {
  color: var(--text-1);
  font-weight: 600;
}
.content blockquote {
  border-left: 4px solid #94141b;
  padding: 24px 32px;
  margin-block: 40px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-2);
}
.content a {
  color: #94141b;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.content a:hover {
  color: #7a0f16;
}

.blog-meta {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.blog-meta .article-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.blog-meta .article-details span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.blog-meta .article-details a {
  color: var(--text-3);
  transition: color 0.2s;
}
.blog-meta .article-details a:hover {
  color: #94141b;
}
.blog-meta .tags {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.blog-meta .tags a {
  color: var(--text-3);
  transition: color 0.2s;
}
.blog-meta .tags a:hover {
  color: #94141b;
}

.post {
  padding: 32px;
  margin-bottom: 24px;
}
.post h3 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 16px;
  line-height: 1.35;
}
.post h3 a {
  transition: color 0.2s;
}
.post h3 a:hover {
  color: #94141b;
}
.post .excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-4);
  margin-bottom: 24px;
}
.post .tags a {
  color: var(--text-3);
  transition: color 0.2s;
}
.post .tags a:hover {
  color: #94141b;
}

.blog-hero {
  padding-top: 112px;
  padding-bottom: 64px;
}
.blog-hero__inner {
  max-width: 820px;
}
.blog-hero__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin-bottom: 32px;
}
.blog-hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 580px;
}

.blog-content {
  padding-bottom: 128px;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.blog-filter__btn {
  padding: 8px 20px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--text-3);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.blog-filter__btn:hover {
  border-color: var(--border-acc);
  color: var(--text-1);
}
.blog-filter__btn.is-active {
  background: #94141b;
  border-color: #94141b;
  color: #ffffff;
}

.blog-featured {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .blog-featured {
    flex-direction: row;
    min-height: 400px;
  }
}
.blog-featured__image {
  flex-shrink: 0;
  height: 260px;
  overflow: hidden;
}
.blog-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .blog-featured__image {
    width: 45%;
    height: auto;
  }
}
.blog-featured__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
@media (min-width: 768px) {
  .blog-featured__body {
    padding: 48px 56px;
  }
}
.blog-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.blog-featured__title {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.blog-featured__title a {
  transition: color 0.2s;
}
.blog-featured__title a:hover {
  color: #94141b;
}
.blog-featured__excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-3);
  margin-bottom: 40px;
}
.blog-featured__footer {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: auto;
}
.blog-featured__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-featured__sep {
  color: #94141b;
}
.blog-featured.is-hidden {
  display: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.blog-card.is-hidden {
  display: none;
}
.blog-card__image {
  flex-shrink: 0;
  height: 220px;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__body {
  flex: 1;
  padding: 32px 32px 0;
}
.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.blog-card__title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.35;
  margin-bottom: 16px;
}
.blog-card__title a {
  transition: color 0.2s;
}
.blog-card__title a:hover {
  color: #94141b;
}
.blog-card__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-4);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 24px 32px 32px;
  border-top: 1px solid var(--border);
}
.blog-card__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-card__sep {
  color: #94141b;
}
.blog-card__cta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #94141b;
  white-space: nowrap;
  transition: color 0.2s;
}
.blog-card__cta:hover {
  color: #7a0f16;
}

.blog {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 80px;
}
.blog .description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.5;
}
.blog h3 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  margin-top: 40px;
}
.blog h3:first-of-type {
  margin-top: 0;
}
.blog .recent-posts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog .recent-posts li {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.blog .recent-posts li:last-child {
  border-bottom: none;
}
.blog .recent-posts a {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog .recent-posts .title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.4;
  transition: color 0.2s;
}
.blog .recent-posts a:hover .title {
  color: #94141b;
}
.blog .recent-posts .author_name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.blog .tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog .tags li a {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 12px;
  color: var(--text-3);
  transition: border-color 0.2s, color 0.2s;
}
.blog .tags li a:hover {
  border-color: var(--border-acc);
  color: var(--text-1);
}

.tag-archive {
  padding-block: 64px 128px;
}
.tag-archive h1 {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.tag-archive .tag-description {
  font-size: 16px;
  color: var(--text-3);
  margin-bottom: 64px;
}
.tag-archive .posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-page {
  padding-top: 112px;
  padding-bottom: 128px;
}
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-page__grid {
    grid-template-columns: 1fr 1fr;
    gap: 96px;
  }
}
.contact-page__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 40px;
}
.contact-page__body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-3);
  margin-bottom: 24px;
}
.contact-page__body p:last-of-type {
  margin-bottom: 40px;
}
.contact-page__email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: #94141b;
  transition: color 0.2s;
}
.contact-page__email:hover {
  color: #7a0f16;
}
.contact-page__email svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.contact-form {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .contact-form {
    padding: 48px;
  }
}
.contact-form__field {
  display: flex;
  flex-direction: column;
}
.contact-form__error {
  font-size: 12px;
  color: #94141b;
  margin-top: 6px;
}
.contact-form__error:empty {
  display: none;
}
.contact-form__optional {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  margin-left: 4px;
}
.contact-form__btn {
  width: 100%;
  justify-content: center;
  gap: 12px;
}
.contact-form__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.contact-form label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-input);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text-2);
  font-size: 16px;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder, .contact-form select::placeholder {
  color: var(--text-placeholder);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: rgba(148, 20, 27, 0.5);
}
.contact-form input.is-error, .contact-form textarea.is-error, .contact-form select.is-error {
  border-color: rgba(148, 20, 27, 0.7);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form__submit {
  margin-top: 8px;
}

.contact-success {
  display: none;
  text-align: center;
  padding: 64px 32px;
}
.contact-success.is-visible {
  display: block;
}
.contact-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}
.contact-success__icon svg {
  width: 28px;
  height: 28px;
  stroke: #94141b;
}
.contact-success__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 16px;
}
.contact-success__body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-4);
  margin-bottom: 40px;
}

.legal-page {
  padding-block: 80px;
  padding-top: 0;
}
.legal-page__body {
  padding-bottom: 64px;
}
.legal-page__body h2 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 24px;
}
.legal-page__body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-3);
  margin-bottom: 24px;
}
.legal-page__body p:last-child {
  margin-bottom: 0;
}

.error-page {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
}
.error-page__code {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  color: #94141b;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.error-page__message {
  font-size: 16px;
  color: var(--text-4);
  margin-bottom: 48px;
  max-width: 380px;
  margin-inline: auto;
  line-height: 1.6;
  margin-toP: 32px;
}
.error-page__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 380px;
  margin-inline: auto;
}

.login-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.login-card {
  width: 100%;
  max-width: 580px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
}
@media (min-width: 768px) {
  .login-card {
    padding: 48px;
  }
}
.login-card .pill-label {
  margin-bottom: 32px;
}
.login-card__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 24px;
}
.login-card__subtext {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-3);
  margin-bottom: 32px;
}
.login-card__form {
  display: grid;
  gap: 24px;
}
.login-card__field {
  display: flex;
  flex-direction: column;
}
.login-card__field label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.login-card__field input[type=email] {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-input);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text-2);
  font-size: 16px;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.login-card__field input[type=email]::placeholder {
  color: var(--text-placeholder);
}
.login-card__field input[type=email]:focus {
  border-color: rgba(148, 20, 27, 0.5);
}
.login-card__field input[type=email].is-error {
  border-color: rgba(148, 20, 27, 0.7);
}
.login-card__field-error {
  font-size: 12px;
  color: #94141b;
  margin-top: 6px;
}
.login-card__field-error:empty {
  display: none;
}
.login-card__submit {
  margin-top: 8px;
}
.login-card__btn {
  width: 100%;
  justify-content: center;
}
.login-card__privacy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 24px;
}
.login-card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
.login-card__footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
}
.login-card__footer a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cs-hero {
  padding-top: 128px;
  padding-bottom: 64px;
}
.cs-hero__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-1);
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease 0.1s both;
}
.cs-hero__label {
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--text-3);
  line-height: 1.4;
  animation: fadeUp 0.6s ease 0.2s both;
}
.cs-hero__image {
  margin-top: 48px;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  animation: fadeUp 0.6s ease 0.25s both;
}
.cs-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-block: 32px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.6s ease 0.3s both;
}
@media (min-width: 768px) {
  .cs-hero__meta {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cs-hero__meta-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}
.cs-hero__meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
}
@media (min-width: 768px) {
  .cs-hero__meta-value {
    font-size: 16px;
  }
}

.cs-image {
  margin-top: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
@media (min-width: 768px) {
  .cs-image--multiple img {
    max-width: 47%;
  }
}
@media (max-width: 767px) {
  .cs-image--multiple img:nth-child(2n) {
    margin-top: 32px;
  }
}

.cs-content {
  padding-block: 32px 64px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px) {
  .cs-content {
    padding-inline: 48px;
  }
}
.cs-content__quote {
  margin-top: 40px;
  max-width: 1280px;
  padding: 32px 32px 32px 36px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  border-radius: 0 16px 16px 0;
  border-left: 4px solid #94141b;
}
.cs-content__quote blockquote {
  font-size: clamp(20px, 2.5vw, 30px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.625;
  color: var(--text-2);
}
.cs-content__quote blockquote .author {
  font-size: clamp(15px, 2vw, 20px);
  width: 100%;
  padding-top: 12px;
  text-align: right;
}

.cs-section {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
  max-width: 896px;
}
.cs-section .pill-label {
  margin-bottom: 24px;
}
.cs-section h3 {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 16px;
  margin-top: 32px;
}
.cs-section p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 24px;
}
.cs-section p:last-child {
  margin-bottom: 0;
}
.cs-section p.cs-stat {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid #94141b;
}
.cs-section ul:not(.grid-insights) {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cs-section ul:not(.grid-insights) li {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  padding-left: 16px;
  border-left: 2px solid rgba(148, 20, 27, 0.5);
}
.cs-section ol {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 48px;
}
.cs-section ol li {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  padding-left: 16px;
}
.cs-section .grid-insights {
  list-style: none;
  padding: 0;
  padding-top: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}
.cs-section .grid-insights li {
  width: 100%;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  padding-left: 16px;
  border-left: 2px solid rgba(148, 20, 27, 0.5);
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .cs-section .grid-insights li {
    width: 48%;
  }
}
.cs-section .grid-insights li strong {
  display: block;
  color: var(--text-1);
  font-weight: 600;
}
.cs-section .grid-insights li .content {
  margin-top: 4px;
}
@media (min-width: 768px) {
  .cs-section .grid-insights.three li {
    width: 30%;
  }
}
.cs-section strong {
  color: var(--text-1);
  font-weight: 600;
}

.two-colum-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .two-colum-content {
    flex-direction: row;
  }
}
.two-colum-content > * {
  flex: 1 1 50%;
}
.two-colum-content .cs-video video {
  height: 480px;
}

.cs-nav-footer {
  padding-block: 64px;
  border-top: 1px solid var(--border);
}
.cs-nav-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cs-nav-footer__back, .cs-nav-footer__next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-3);
  transition: color 0.2s;
  padding: 0;
  background: none;
  border-radius: 0;
  font-weight: 400;
}
.cs-nav-footer__back svg, .cs-nav-footer__next svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}
.cs-nav-footer__back:hover {
  color: var(--text-1);
}
.cs-nav-footer__back:hover svg {
  transform: translateX(-3px);
}
.cs-nav-footer__back--styled {
  padding: 12px 24px;
  background: #94141b;
  color: #fff;
  border-radius: 9999px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.cs-nav-footer__back--styled:hover {
  background: #7a0f16;
  color: #fff;
}
.cs-nav-footer__back--styled:hover svg {
  transform: translateX(-3px);
}
.cs-nav-footer__next:hover {
  color: var(--text-1);
}
.cs-nav-footer__next:hover svg {
  transform: translateX(3px);
}
.cs-nav-footer__next--styled {
  padding: 12px 24px;
  background: #94141b;
  color: #fff;
  border-radius: 9999px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.cs-nav-footer__next--styled:hover {
  background: #7a0f16;
  color: #fff;
}
.cs-nav-footer__next--styled:hover svg {
  transform: translateX(3px);
}

.cs-video {
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .cs-video.cs-video--multiple {
    display: flex;
    gap: 32px;
    align-items: flex-start;
  }
  .cs-video.cs-video--multiple .video-player {
    flex: 0 0 auto;
    max-width: none;
  }
  .cs-video.cs-video--multiple .video-player.vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 50%;
    max-width: 50%;
  }
  .cs-video.cs-video--multiple .video-player.vertical video {
    width: auto;
    height: auto;
    max-height: 480px;
    max-width: 100%;
    display: block;
  }
}

.video-player {
  width: 100%;
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.video-player video {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 16px;
  margin-bottom: 8px;
}
.video-player__spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 16px;
}
.video-player__spinner.is-loading {
  opacity: 1;
}
.video-player__spinner-ring {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #94141b;
  border-radius: 50%;
  animation: video-spin 0.8s linear infinite;
}
.video-player .video-caption {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-4);
  text-align: left;
  width: 100%;
}
@media (min-width: 768px) {
  .video-player.vertical {
    display: flex;
    justify-content: center;
  }
  .video-player.vertical video {
    width: auto;
    height: auto;
    max-height: 480px;
    max-width: 100%;
    display: block;
  }
}
@media (max-width: 767px) {
  .video-player.vertical:first-child {
    margin-bottom: 32px;
  }
}

.work-hero {
  padding-top: 112px;
  padding-bottom: 64px;
}
.work-hero__inner {
  max-width: 820px;
}
.work-hero__heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin-bottom: 32px;
}
.work-hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 580px;
}

.work-content {
  padding-bottom: 128px;
}

.work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 64px;
}
@media (min-width: 768px) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.project-card:hover {
  border-color: rgba(148, 20, 27, 0.5);
}
.project-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card__image img {
  transform: scale(1.05);
}
.project-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.project-card__client {
  display: inline-block;
  background: #94141b;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
}
.project-card__role {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-4);
}
.project-card__title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.33;
}
.project-card__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
  color: var(--text-2);
  flex: 1;
}
.project-card__tags {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-4);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

@keyframes video-spin {
  to {
    transform: rotate(360deg);
  }
}
html.js [data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js [data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--stagger-i, 0) * 0.07s);
}

html.js [data-animate-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

html.js [data-animate-chips] > * {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--stagger-i, 0) * 0.05s);
}

html.js [data-animate-chips].is-visible > * {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .video-player__spinner-ring {
    animation-duration: 0.8s !important;
    animation-iteration-count: infinite !important;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}