@import url("https://fonts.googleapis.com/css2?family=Sen:wght@400;500;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --hc-ink: #1A1814;
  --hc-ink-hover: #2A2823;
  --hc-paper: #FAF8F3;
  --hc-paper-hover: #F3F0E8;
  --hc-noir: #0B0A08;

  --hc-sage-50: #F3F2EC;
  --hc-sage-100: #E5E3D8;
  --hc-sage-200: #D2CFC0;
  --hc-sage-300: #BFBBA9;
  --hc-sage-400: #AAA89B;
  --hc-sage-500: #8F8D80;
  --hc-sage-600: #6F6E63;
  --hc-sage-700: #54534A;
  --hc-sage-800: #3A3934;
  --hc-sage-900: #23221F;

  --hc-stone-50: #F7F5EF;
  --hc-stone-100: #EFEDE5;
  --hc-stone-200: #E3E0D5;
  --hc-stone-300: #CFCBBD;
  --hc-stone-400: #A8A498;
  --hc-stone-500: #7E7B71;
  --hc-stone-600: #5C5A53;
  --hc-stone-700: #43413C;
  --hc-stone-800: #2C2B27;
  --hc-stone-900: #1A1814;

  --fg-1: var(--hc-ink);
  --fg-2: var(--hc-stone-700);
  --fg-3: var(--hc-stone-600);
  --fg-4: var(--hc-stone-500);

  --font-sans: "Sen", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-1: 0 1px 2px rgba(26,24,20,0.04), 0 1px 1px rgba(26,24,20,0.03);
  --shadow-2: 0 2px 4px rgba(26,24,20,0.05), 0 4px 10px rgba(26,24,20,0.04);
  --shadow-3: 0 4px 8px rgba(26,24,20,0.07), 0 10px 24px rgba(26,24,20,0.07);
  --shadow-4: 0 8px 16px rgba(26,24,20,0.08), 0 20px 40px rgba(26,24,20,0.09);

  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-editorial: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 160px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  background: var(--hc-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid rgba(26,24,20,0.4);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 1080px;
}

.topnav {
  position: fixed;
  top: clamp(14px, 2vw, 22px);
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: clamp(14px, 2vw, 22px);
  gap: 12px;
  pointer-events: none;
}
.topnav__group {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.topnav__group--left {
  gap: 12px;
}

.topnav__brand {
  pointer-events: auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 44px;
}
.topnav__brand img {
  height: 26px;
  width: auto;
  opacity: 0.95;
  transition: opacity 160ms var(--ease-standard);
}
.topnav__brand:hover img { opacity: 1; }

@media (max-width: 720px) {
  .topnav__brand img { height: 22px; }
}
@media (max-width: 520px) {
  .topnav__brand { display: none; }
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--hc-ink);
  color: var(--hc-paper);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-2);
  transition: transform 160ms var(--ease-standard),
              box-shadow 160ms var(--ease-standard),
              background 160ms var(--ease-standard);
  white-space: nowrap;
}
.chip--icon {
  width: 44px;
  padding: 0;
  gap: 0;
}
.chip--light {
  background: var(--hc-paper);
  color: var(--hc-ink);
}
.chip--glass {
  background: rgba(11, 10, 8, 0.55);
  color: var(--hc-paper);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}
.chip--glass-light {
  background: rgba(250, 248, 243, 0.7);
  color: var(--hc-ink);
  border: 1px solid rgba(26,24,20,0.08);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
@media (hover: hover) {
  .chip:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-3);
    background: var(--hc-ink-hover);
  }
  .chip--light:hover { background: var(--hc-paper-hover); }
  .chip--glass-light:hover { background: rgba(250, 248, 243, 0.85); }
}
.chip:active { transform: translateY(0) scale(0.98); }

.chip__cross {
  display: inline-block;
  width: 12px; height: 12px;
  flex-shrink: 0;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 1px, 1px 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.chip__burger {
  display: inline-block;
  width: 16px; height: 10px;
  position: relative;
}
.chip__burger::before,
.chip__burger::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.25px;
  background: currentColor;
  transition: transform 200ms var(--ease-standard), top 200ms var(--ease-standard), bottom 200ms var(--ease-standard);
}
.chip__burger::before { top: 0; }
.chip__burger::after  { bottom: 0; }

[aria-expanded="true"] .chip__burger::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
[aria-expanded="true"] .chip__burger::after  { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--hc-ink);
  color: var(--hc-paper);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-standard),
              background 160ms var(--ease-standard),
              border-color 160ms var(--ease-standard),
              box-shadow 160ms var(--ease-standard),
              color 160ms var(--ease-standard);
  box-shadow: var(--shadow-1);
  white-space: nowrap;
}
.btn .chip__cross { opacity: 0.7; }

.btn--ghost {
  background: transparent;
  color: var(--hc-ink);
  border-color: rgba(26,24,20,0.18);
  box-shadow: none;
}
.btn--glass {
  background: rgba(250, 248, 243, 0.08);
  color: var(--hc-paper);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.btn--on-dark {
  background: var(--hc-paper);
  color: var(--hc-ink);
}
.btn--on-dark.btn--ghost {
  background: transparent;
  color: var(--hc-paper);
  border-color: rgba(255,255,255,0.25);
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-3); background: var(--hc-ink-hover); }
  .btn--ghost:hover { background: rgba(26,24,20,0.05); border-color: var(--hc-ink); }
  .btn--glass:hover { background: rgba(250, 248, 243, 0.14); }
  .btn--on-dark:hover { background: var(--hc-paper-hover); color: var(--hc-ink); }
  .btn--on-dark.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--hc-paper); }
}
.btn:active { transform: translateY(0) scale(0.98); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hc-sage-600);
  margin: 0 0 18px;
}
.eyebrow__num {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--hc-sage-400);
}
[data-surface="dark"] .eyebrow { color: var(--hc-sage-300); }
[data-surface="dark"] .eyebrow__num { color: var(--hc-sage-500); }

.display {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
  color: var(--hc-ink);
}
.display--hero { font-size: clamp(48px, 9vw, 100px); }
.display--xl   { font-size: clamp(40px, 6vw, 96px); }
.display--lg   { font-size: clamp(34px, 4.6vw, 64px); }
.display--md   { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.04; }
.display em, em.sage {
  font-style: normal;
  font-weight: 300;
  color: var(--hc-sage-500);
}

[data-surface="dark"] .display { color: var(--hc-paper); }
[data-surface="dark"] .display em, [data-surface="dark"] em.sage { color: var(--hc-sage-300); }

.lede {
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0;
  text-wrap: pretty;
}
.body-text {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.body-text p + p { margin-top: 1.1em; }

[data-surface="dark"] .lede,
[data-surface="dark"] .body-text { color: var(--hc-stone-300); }

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(80px, 9vw, 130px) var(--gutter) clamp(60px, 8vw, 120px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  background-color: var(--hc-paper);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero { background-attachment: scroll; }
}
.hero__edge {
  grid-row: 1 / -1;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(140px, 28vw, 420px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--hc-ink);
  user-select: none;
  align-self: center;
  pointer-events: none;
}
.hero__edge--left  { justify-self: start; margin-left: -0.06em; }
.hero__edge--right { justify-self: end;   margin-right: -0.06em; }

.hero__center {
  grid-row: 2;
  grid-column: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  z-index: 1;
}
.hero__center .display {
  text-align: center;
  max-width: 14ch;
}
.hero__caption {
  grid-row: 3;
  grid-column: 2;
  align-self: end;
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 70% at 50% 35%, rgba(170,168,155,0.18), transparent 70%),
    radial-gradient(ellipse 70% 50% at 15% 90%, rgba(143,141,128,0.10), transparent 70%);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 32px; }
  .hero__edge { display: none; }
  .hero__center { grid-column: 1; }
  .hero__caption { grid-column: 1; }
}

/* ---------- PAGE HERO (other pages) ---------- */
.page-hero {
  padding: clamp(140px, 16vw, 220px) var(--gutter) clamp(60px, 7vw, 110px);
  position: relative;
  background: var(--hc-paper);
  overflow: hidden;
}
.page-hero__inner {
  max-width: 1280px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
}
.page-hero__title {
  max-width: 18ch;
}
.page-hero__lede {
  max-width: 48ch;
  margin-left: auto;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 80% 40%, rgba(170,168,155,0.14), transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(143,141,128,0.07), transparent 70%);
}
.page-hero > * { position: relative; }

@media (min-width: 900px) {
  .page-hero__inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
}

.section {
  padding: var(--section-y) var(--gutter);
  position: relative;
}
.section--paper { background: var(--hc-paper); }
.section--stone { background: var(--hc-stone-50); }
.section--sage  { background: var(--hc-sage-50); }
.section--noir  { background: var(--hc-noir); color: var(--hc-paper); }
.section--noir[data-surface="dark"] .body-text { color: var(--hc-stone-300); }

.section--image {
  background-color: var(--hc-paper);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  isolation: isolate;
}
.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250,248,243,0.40) 0%, rgba(250,248,243,0.20) 50%, rgba(250,248,243,0.45) 100%);
  z-index: 0;
  pointer-events: none;
}
.section--image > * { position: relative; z-index: 1; }
.section--image .eyebrow { color: var(--hc-ink); }
.section--image .eyebrow__num { color: var(--hc-ink); }
.section--image .tile__num { color: var(--hc-ink); }
.section--image .display em,
.section--image em.sage { color: var(--hc-ink); opacity: 0.55; }

.section--image-dark {
  background-color: var(--hc-noir);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  isolation: isolate;
}
.section--image-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,10,8,0.72) 0%, rgba(11,10,8,0.55) 50%, rgba(11,10,8,0.78) 100%);
  z-index: 0;
  pointer-events: none;
}
.section--image-dark > * { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .section--image, .section--image-dark { background-attachment: scroll; background-size: cover; }
}

.section__inner {
  max-width: 1280px;
  margin-inline: auto;
}
.section__head {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__head .body-text { margin-left: auto; }

@media (min-width: 900px) {
  .section__head--split {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: clamp(40px, 6vw, 96px);
  }
}

.editorial {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 900px) {
  .editorial--split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(48px, 7vw, 120px);
  }
  .editorial--split .body-text { margin-top: 12px; }
}

/* ---------- LIST TILE ROWS (capabilities, services bullets) ---------- */
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(26,24,20,0.1);
}
.rows li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid rgba(26,24,20,0.1);
  align-items: baseline;
}
.rows li > .rows__num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--hc-sage-500);
  letter-spacing: 0;
  min-width: 3ch;
}
.rows li > .rows__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.025em;
  color: var(--hc-ink);
  line-height: 1.2;
}
.rows li > .rows__body {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  max-width: 64ch;
  margin-top: 10px;
}

[data-surface="dark"] .rows { border-color: rgba(255,255,255,0.1); }
[data-surface="dark"] .rows li { border-color: rgba(255,255,255,0.1); }
[data-surface="dark"] .rows li > .rows__title { color: var(--hc-paper); }
[data-surface="dark"] .rows li > .rows__body { color: var(--hc-stone-300); }
[data-surface="dark"] .rows li > .rows__num { color: var(--hc-sage-400); }

@media (max-width: 700px) {
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .rows li > .rows__body { grid-column: 1; }
}

.tiles {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  background: rgba(250, 248, 243, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  transition: transform 240ms var(--ease-standard),
              box-shadow 240ms var(--ease-standard),
              background 240ms var(--ease-standard);
}
.tile--dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--hc-paper);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), var(--shadow-2);
}
.tile--dark .tile__title { color: var(--hc-paper); }
.tile--dark .tile__body  { color: var(--hc-stone-300); }
.tile--dark .tile__num   { color: var(--hc-sage-400); }

@media (hover: hover) {
  .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
  .tile--dark:hover { background: rgba(255,255,255,0.07); }
}

.tile__num {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--hc-ink);
}
.tile__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  color: var(--hc-ink);
  margin-top: auto;
}
.tile__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  text-wrap: pretty;
}
.tile__corner {
  position: absolute;
  top: 14px;
  right: 14px;
  opacity: 0.5;
}

.testimonials {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.testimonial {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), var(--shadow-2);
  transition: background 240ms var(--ease-standard), transform 240ms var(--ease-standard);
}
@media (hover: hover) {
  .testimonial:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }
}
.testimonial__quote {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--hc-paper);
  margin: 0;
  text-wrap: pretty;
}
.testimonial__quote::before {
  content: "“";
  display: block;
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 300;
  line-height: 0.4;
  color: var(--hc-sage-400);
  margin-bottom: 14px;
}
.testimonial__attr {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--hc-sage-300);
  margin: 0;
}

.case-list {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 760px) {
  .case-list { grid-template-columns: 1fr 1fr; }
  .case-list > li:nth-child(1) { grid-column: 1 / -1; }
}
.case-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--hc-paper);
  border: 1px solid rgba(26,24,20,0.1);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 3.5vw, 48px);
  box-shadow: var(--shadow-1);
  transition: transform 240ms var(--ease-standard), box-shadow 240ms var(--ease-standard), border-color 240ms var(--ease-standard);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  gap: 18px;
}
.case-card__num {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--hc-sage-500);
}
.case-card__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 auto;
  max-width: 22ch;
  text-wrap: balance;
}
.case-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--hc-ink);
}
.case-card__cta::after {
  content: "→";
  transition: transform 200ms var(--ease-standard);
}
@media (hover: hover) {
  .case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: rgba(26,24,20,0.18); }
  .case-card:hover .case-card__cta::after { transform: translateX(4px); }
}

.case-study {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid rgba(26,24,20,0.08);
  scroll-margin-top: 80px;
}
.case-study:nth-of-type(even) { background: var(--hc-stone-50); }
.case-study__inner {
  max-width: 1280px;
  margin-inline: auto;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 1000px) {
  .case-study__inner { grid-template-columns: 1fr 1.4fr; gap: clamp(48px, 7vw, 120px); }
  .case-study__head { position: sticky; top: 100px; align-self: start; }
}
.case-study__num {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--hc-sage-500);
  margin-bottom: 16px;
}
.case-study__intro {
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  margin: 30px 0 28px;
  max-width: 56ch;
  text-wrap: pretty;
}

.contact-grid {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.office-card {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: clamp(28px, 3vw, 40px);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.office-card h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  color: var(--hc-paper);
  letter-spacing: -0.02em;
}
.office-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  row-gap: 10px;
  column-gap: 16px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--hc-stone-300);
}
.office-card dt {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--hc-sage-400);
  align-self: center;
}

.offices {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}

.contact-form {
  display: grid;
  gap: 22px;
}
.contact-form__row {
  display: grid;
  gap: 22px;
}
@media (min-width: 600px) {
  .contact-form__row { grid-template-columns: 1fr 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--hc-sage-300);
}
.field input,
.field textarea {
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--hc-paper);
  font-family: var(--font-sans);
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 10px 0;
  transition: border-color 160ms var(--ease-standard);
  resize: vertical;
}
.field input:hover,
.field textarea:hover { border-bottom-color: rgba(255,255,255,0.4); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--hc-paper);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.3); }

.contact-form__note {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--hc-stone-400);
  margin: 4px 0 0;
}
.contact-form__submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.form-thanks {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  background: rgba(170,168,155,0.06);
  color: var(--hc-paper);
}
.form-thanks h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.form-thanks p { color: var(--hc-stone-300); margin: 0; }

.cta-band {
  background: var(--hc-noir);
  color: var(--hc-paper);
  padding: clamp(80px, 11vw, 180px) var(--gutter);
  text-align: left;
}
.cta-band__inner {
  max-width: 1280px;
  margin-inline: auto;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}
.cta-band .display { color: var(--hc-paper); max-width: 18ch; }
.cta-band__body {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--hc-stone-300);
  max-width: 56ch;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--hc-noir);
  color: var(--hc-paper);
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 32px) var(--gutter) clamp(40px, 6vw, 64px);
  transform: translateY(-101%);
  visibility: hidden;
  transition: transform 480ms var(--ease-editorial), visibility 480ms var(--ease-editorial);
}
.menu-overlay.is-open {
  transform: translateY(0);
  visibility: visible;
}
.menu-overlay__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: auto;
}
.menu-overlay__brand img { height: 28px; }
.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vw, 14px);
  margin: auto 0;
  padding-block: clamp(40px, 8vw, 80px);
}
.menu-overlay__nav a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(36px, 7vw, 84px);
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--hc-paper);
  text-decoration: none;
  padding: 6px 0;
  transition: color 160ms var(--ease-standard), transform 240ms var(--ease-standard);
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
}
.menu-overlay__nav a::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--hc-sage-500);
  font-weight: 400;
  align-self: flex-start;
  margin-top: clamp(18px, 3vw, 28px);
}
.menu-overlay__nav a:hover,
.menu-overlay__nav a[aria-current="page"] { color: var(--hc-sage-300); }
.menu-overlay__nav a.is-current { color: var(--hc-sage-300); }

.menu-overlay__foot {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  color: var(--hc-stone-400);
  font-size: 15px;
  letter-spacing: -0.01em;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: clamp(20px, 3vw, 32px);
}
.menu-overlay__foot div { display: flex; flex-direction: column; gap: 6px; }
.menu-overlay__foot strong {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--hc-sage-400);
  font-weight: 500;
}

body.no-scroll { overflow: hidden; }

.footer {
  background: var(--hc-noir);
  color: var(--hc-stone-300);
  padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(28px, 3vw, 44px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__top {
  max-width: 1280px;
  margin-inline: auto;
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.4fr 2fr; }
}
.footer__brand { display: flex; flex-direction: column; gap: 22px; max-width: 360px; }
.footer__brand img { width: 200px; opacity: 0.95; }
.footer__brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--hc-stone-400);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
}
.footer__nav h4 {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--hc-sage-400);
  margin: 0 0 14px;
}
.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--hc-stone-300);
  text-decoration: none;
  transition: color 160ms var(--ease-standard);
}
.footer__nav a:hover { color: var(--hc-paper); }

.footer__base {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: clamp(24px, 3vw, 36px);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--hc-stone-500);
  gap: 20px;
  flex-wrap: wrap;
}
.footer__base a { text-decoration: none; color: var(--hc-stone-400); }
.footer__base a:hover { color: var(--hc-paper); }

@media (max-width: 700px) {
  .footer__nav { grid-template-columns: 1fr 1fr; }
}

.cookies {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2vw, 22px);
  transform: translateX(-50%);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(250, 248, 243, 0.85);
  border: 1px solid rgba(26,24,20,0.08);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-2);
  font-size: 15px;
  color: var(--hc-stone-700);
  letter-spacing: -0.01em;
  transition: opacity 320ms var(--ease-standard), transform 320ms var(--ease-standard);
}
.cookies strong { color: var(--hc-ink); font-weight: 600; margin-right: 2px; }
.cookies button {
  border: 0;
  background: var(--hc-ink);
  color: var(--hc-paper);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 160ms var(--ease-standard);
}
.cookies button:hover { background: var(--hc-ink-hover); }
.cookies.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

.doc {
  padding: clamp(120px, 14vw, 180px) var(--gutter) var(--section-y);
  max-width: 880px;
  margin-inline: auto;
}
.doc h2 { font-family: var(--font-sans); font-size: 28px; font-weight: 500; margin: 56px 0 18px; letter-spacing: -0.025em; }
.doc h3 { font-family: var(--font-sans); font-size: 20px; font-weight: 500; margin: 32px 0 12px; letter-spacing: -0.02em; }
.doc p, .doc li { font-size: 15px; line-height: 1.7; letter-spacing: -0.01em; color: var(--fg-2); }
.doc ul { padding-left: 22px; }
.doc a { color: var(--hc-ink); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.section[id] { scroll-margin-top: 80px; }
.section[data-divider] { border-top: 1px solid rgba(255,255,255,0.06); }
.section__inner--narrow { max-width: 920px; }

[data-gap="lg"] { margin-top: clamp(60px, 7vw, 96px); }
[data-gap="md"] { margin-top: clamp(48px, 5vw, 72px); }

.rows + .body-text { margin-top: clamp(28px, 3vw, 40px); }
[data-surface="dark"] .rows + .body-text { color: var(--hc-stone-300); }

.btn-row--page-hero {
  max-width: 1280px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding-inline: 0;
}

.page--noir { background: var(--hc-noir); }

.hero--on-image .display,
.hero--on-image .lede,
.hero--on-image .hero__caption,
.hero--on-image .eyebrow,
.hero--on-image .eyebrow__num { color: var(--hc-paper); }
.hero--on-image .display em { color: var(--hc-stone-300); }
.hero--on-image .btn--ghost {
  color: var(--hc-paper);
  border-color: rgba(255, 255, 255, 0.6);
}
.hero--on-image .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--hc-paper); }

.page-hero--dark {
  background: var(--hc-noir);
  color: var(--hc-paper);
}
.page-hero--dark .display { color: var(--hc-paper); }
.page-hero--dark .display em { color: var(--hc-sage-300); }
.page-hero--dark .lede { color: var(--hc-stone-300); }
.page-hero--dark .page-hero__bg {
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(170,168,155,0.14), transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(143,141,128,0.06), transparent 70%);
}

.page-hero__title--with-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3em;
}
.page-hero__logo {
  height: 0.6em;
  width: auto;
  transform: translateY(0.04em);
}

.office-card a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms var(--ease-standard);
}
.office-card a:hover { color: var(--hc-paper); }

.doc h1.display { margin-bottom: 28px; }
