/* palette: bg=#0B1456 fg=#F2EFE5 accent=#FF6B3D */
/* fonts: display="Space Grotesk" body="Inter Tight" mono="IBM Plex Mono" */

:root {
  --bg: #0B1456;
  --bg-alt: #0E1A6B;
  --bg-cream: #F2EFE5;
  --bg-cream-deep: #E8E3D3;
  --fg: #F2EFE5;
  --fg-soft: #E5E1D4;
  --fg-ink: #0A1240;
  --muted: #8B92B8;
  --muted-ink: #5A608B;
  --accent: #FF6B3D;
  --accent-deep: #E5552C;
  --border: rgba(242, 239, 229, 0.14);
  --border-ink: rgba(10, 18, 64, 0.12);
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
  --script: 'Instrument Serif', ui-serif, Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ───────── Side mono labels (fixed left/right rail) ───────── */
.rail {
  position: fixed;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 50;
  display: none;
  white-space: nowrap;
}
.rail--left { left: 14px; }
.rail--right { right: 14px; }
.rail__group { display: inline-flex; gap: 18px; }
.rail__group span:first-child { color: var(--fg); }
@media (min-width: 1100px) { .rail { display: block; } }

/* ───────── Header ───────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(11, 20, 86, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  background: rgba(11, 20, 86, 0.92);
  box-shadow: 0 1px 0 rgba(242, 239, 229, 0.06);
}
.header--ink {
  background: rgba(242, 239, 229, 0.78);
  color: var(--fg-ink);
}
.header--ink[data-scrolled="true"] {
  background: rgba(242, 239, 229, 0.96);
  box-shadow: 0 1px 0 rgba(10, 18, 64, 0.08);
}

.menu-toggle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  justify-self: start;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle__lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle__lines span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

.brand {
  font-family: var(--script);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.01em;
  justify-self: center;
  line-height: 1;
}
.brand em { font-style: italic; color: var(--accent); }

.header__cta {
  justify-self: end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s var(--ease);
}
.header__cta::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.header__cta:hover { color: var(--accent); }

/* ───────── Mobile menu ───────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  padding: 100px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4%);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu nav a {
  font-family: var(--display);
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mobile-menu__foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ───────── Container ───────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--ink { color: var(--muted-ink); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px 48px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, rgba(77, 212, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 70% 70%, rgba(255, 107, 61, 0.20), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  animation: heroGlow 14s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 239, 229, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 239, 229, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 75%);
}
@keyframes heroGlow {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-2%, 1%); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.hero__eyebrow {
  margin-bottom: 28px;
  justify-content: center;
  display: inline-flex;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 36px;
  color: var(--fg);
}
.hero h1 em {
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero__sub {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-soft);
}
.hero__chip {
  position: absolute;
  top: 38%;
  right: -28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--accent);
  color: #0A1240;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transform: rotate(-4deg);
  box-shadow: 0 12px 28px rgba(255, 107, 61, 0.32);
}
.hero__chip::before {
  content: '';
  width: 14px; height: 14px;
  background: #0A1240;
  border-radius: 1px;
}
@media (max-width: 880px) { .hero__chip { display: none; } }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: var(--muted);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ───────── Sections ───────── */
section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}
.section--cream {
  background: var(--bg-cream);
  color: var(--fg-ink);
}
.section--cream .eyebrow { color: var(--muted-ink); }
.section--cream .eyebrow::before { background: var(--accent); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .section__head {
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
  }
}
.section__head h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 16px 0 0;
}
.section__head h2 em {
  font-family: var(--script);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.section__head p {
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  align-self: end;
}
.section--cream .section__head p { color: var(--muted-ink); }

/* ───────── Manifesto ───────── */
.manifesto {
  background: var(--bg-cream);
  color: var(--fg-ink);
  padding: clamp(120px, 18vw, 220px) 24px;
  text-align: center;
}
.manifesto__quote {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 1000px;
  margin: 0 auto;
}
.manifesto__quote em {
  font-family: var(--script);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.manifesto__sig {
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-ink);
}

/* ───────── Services ───────── */
.services {
  background: var(--bg-cream);
  color: var(--fg-ink);
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-ink);
  border: 1px solid var(--border-ink);
}
@media (min-width: 720px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

.service {
  background: var(--bg-cream);
  padding: 44px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.45s var(--ease);
  position: relative;
}
.service:hover { background: var(--bg-cream-deep); }
.service__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-ink);
}
.service__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fg-ink);
  border-radius: 999px;
  margin-bottom: 8px;
}
.service__icon svg { width: 20px; height: 20px; stroke: var(--fg-ink); fill: none; stroke-width: 1.4; }
.service h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.15;
}
.service p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 15.5px;
  line-height: 1.6;
}
.service__link {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.service__link:hover { gap: 14px; color: var(--accent); }

/* ───────── Work / Cases ───────── */
.work {
  background: var(--bg);
  color: var(--fg);
}
.work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .work__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
  }
}

.case {
  display: block;
  position: relative;
}
.case--a { grid-column: 1 / -1; }
.case--b { grid-column: 1 / -1; }
.case--c { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .case--a { grid-column: 1 / span 7; }
  .case--b { grid-column: 8 / span 5; margin-top: 80px; }
  .case--c { grid-column: 3 / span 8; margin-top: 40px; }
}
.case__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-alt);
}
.case__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.case:hover .case__media img { transform: scale(1.04); }
.case--a .case__media img { aspect-ratio: 16 / 10; }
.case--b .case__media img { aspect-ratio: 4 / 5; }

.case__meta {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.case__title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}
.case__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.case__desc {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 15.5px;
}

/* ───────── Process ───────── */
.process {
  background: var(--bg);
  color: var(--fg);
}
.process__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.process__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 900px) {
  .process__row {
    grid-template-columns: 140px 1fr 1.5fr;
    gap: 60px;
    padding: 56px 0;
  }
}
.process__num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.process__title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.15;
  grid-column: 2 / -1;
}
.process__desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  grid-column: 2 / -1;
}
@media (min-width: 900px) {
  .process__title { grid-column: 2; }
  .process__desc  { grid-column: 3; }
}

/* ───────── Team (no faces — monogram cards) ───────── */
.team {
  background: var(--bg-cream);
  color: var(--fg-ink);
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px)  { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }

.member {
  border: 1px solid var(--border-ink);
  padding: 28px;
  background: var(--bg-cream);
  transition: background 0.4s var(--ease), transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.member:hover { background: var(--bg-cream-deep); transform: translateY(-3px); }

.avatar {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--bg-cream);
  font-size: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.avatar--a { background: var(--bg); }
.avatar--b { background: var(--accent); color: var(--fg-ink); }
.avatar--c { background: var(--fg-ink); }
.avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.avatar--b::after {
  background-image:
    linear-gradient(to right, rgba(10,18,64,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,18,64,0.08) 1px, transparent 1px);
}

.member__name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
}
.member__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin: -14px 0 0;
}
.member__bio {
  font-size: 15px;
  color: var(--muted-ink);
  margin: 0;
}

/* ───────── Stats strip ───────── */
.stats {
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (min-width: 720px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 56px 28px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: 0; }
@media (max-width: 719px) {
  .stat:nth-child(3) { border-top: 1px solid var(--border); border-left: 0; }
  .stat:nth-child(4) { border-top: 1px solid var(--border); }
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.stat__label {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ───────── CTA / Contact ───────── */
.cta {
  background: var(--bg);
  color: var(--fg);
  padding: clamp(100px, 16vw, 180px) 0;
  text-align: center;
}
.cta h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 24px;
}
.cta h2 em {
  font-family: var(--script);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.cta p {
  max-width: 520px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 17px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--fg-ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--ink {
  background: var(--fg-ink);
  color: var(--bg-cream);
}
.btn--ink:hover { background: var(--accent); color: var(--fg-ink); }

/* ───────── Contact form ───────── */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  text-align: left;
}
@media (min-width: 720px) { .contact-form { grid-template-columns: 1fr 1fr; } }

.field {
  padding: 22px 4px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  padding: 6px 0;
  font-size: 17px;
  color: var(--fg);
  width: 100%;
  outline: none;
  font-family: var(--sans);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
}
.form-foot small {
  font-size: 12px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.6;
}

/* ───────── Footer ───────── */
.footer {
  background: var(--bg);
  color: var(--fg);
  padding: 80px 0 28px;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer__brand {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.footer__brand em { font-family: var(--script); font-style: italic; color: var(--accent); font-weight: 400; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 400;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a { color: var(--fg-soft); transition: color 0.3s var(--ease); font-size: 15px; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ───────── Reveal ───────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg::before { animation: none; }
}

/* ───────── Cookie popup ───────── */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 64, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-cream);
  color: var(--fg-ink);
  padding: 32px 36px 30px;
  max-width: 520px;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: 14px;
}
.cookie-popup h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.cookie-popup p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-ink);
}
.cookie-popup__actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.cookie-popup__actions button {
  padding: 11px 22px;
  border: 1px solid var(--border-ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--fg-ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cookie-popup__actions button:hover { background: var(--fg-ink); color: var(--bg-cream); }
.cookie-popup__actions button:last-child { background: var(--fg-ink); color: var(--bg-cream); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); color: var(--fg-ink); border-color: var(--accent); }

/* ───────── Page-specific (about/services/contact) ───────── */
.page-hero {
  padding: 140px 24px 80px;
  background: var(--bg);
  color: var(--fg);
  text-align: left;
}
.page-hero .container { display: grid; gap: 24px; }
.page-hero__kicker { color: var(--muted); }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}
.page-hero h1 em {
  font-family: var(--script);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.page-hero__lead {
  max-width: 60ch;
  font-size: clamp(17px, 1.8vw, 19px);
  color: var(--fg-soft);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: clamp(80px, 12vw, 140px) 0;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.4fr; gap: 80px; } }
.split h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 14px 0 0;
}
.split p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.split--cream { background: var(--bg-cream); color: var(--fg-ink); }
.split--cream p { color: var(--muted-ink); }

.service-detail {
  border-top: 1px solid var(--border-ink);
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .service-detail { grid-template-columns: 120px 2fr 1.4fr; gap: 60px; padding: 64px 0; }
}
.service-detail:last-child { border-bottom: 1px solid var(--border-ink); }
.service-detail__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-ink);
}
.service-detail h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.service-detail ul { padding-left: 0; list-style: none; margin: 14px 0 0; }
.service-detail li {
  padding: 10px 0;
  border-top: 1px solid var(--border-ink);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 15px;
}
.service-detail li span:last-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-ink);
}

.faq {
  background: var(--bg-cream);
  color: var(--fg-ink);
}
.faq__list { border-top: 1px solid var(--border-ink); }
.faq__item { border-bottom: 1px solid var(--border-ink); padding: 28px 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .faq__item { grid-template-columns: 1fr 1.4fr; gap: 60px; } }
.faq__q {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}
.faq__a { margin: 0; color: var(--muted-ink); font-size: 16px; line-height: 1.7; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; } }
.contact-card {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
}
.contact-card h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}
.contact-card p, .contact-card a {
  margin: 0;
  font-size: 17px;
  color: var(--fg);
  line-height: 1.55;
}
.contact-card a { transition: color 0.3s var(--ease); }
.contact-card a:hover { color: var(--accent); }

/* ───────── Legal ───────── */
.legal {
  background: var(--bg-cream);
  color: var(--fg-ink);
  padding: 140px 0 100px;
}
.legal__container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.legal h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 36px;
}
.legal h2 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 40px 0 14px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-ink);
}
.legal ul { padding-left: 22px; }
.legal__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.legal__kicker::before {
  content: ''; width: 22px; height: 1px; background: var(--accent);
}

/* ───────── Thanks ───────── */
.thanks {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 24px;
  background: var(--bg);
  color: var(--fg);
}
.thanks h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 24px;
}
.thanks h1 em { font-family: var(--script); font-style: italic; color: var(--accent); font-weight: 400; }
.thanks p { max-width: 520px; margin: 0 auto 36px; color: var(--muted); font-size: 17px; }

/* ───────── Utilities ───────── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link:hover { gap: 16px; color: var(--accent); border-color: var(--accent); }
