/* ──────────────────────────────────────────────────────────
   Volute Studio — Site styles
   Locked design system v1.0
   ────────────────────────────────────────────────────────── */

/* ── Cardinal Fruit (trial) ─────────────────────────────── */
@font-face {
  font-family: "Cardinal Fruit";
  src: url("assets/fonts/CardinalFruit-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cardinal Fruit";
  src: url("assets/fonts/CardinalFruit-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cardinal Fruit";
  src: url("assets/fonts/CardinalFruit-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cardinal Fruit";
  src: url("assets/fonts/CardinalFruit-MediumItalic.otf") format("opentype");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cardinal Fruit";
  src: url("assets/fonts/CardinalFruit-SemiBold.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cardinal Fruit";
  src: url("assets/fonts/CardinalFruit-SemiBoldItalic.otf") format("opentype");
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cardinal Fruit";
  src: url("assets/fonts/CardinalFruit-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cardinal Fruit";
  src: url("assets/fonts/CardinalFruit-BoldItalic.otf") format("opentype");
  font-weight: 700; font-style: italic; font-display: swap;
}

/* ── PP Neue Montreal ───────────────────────────────────── */
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-Hairline.otf") format("opentype");
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-HairlineItalic.otf") format("opentype");
  font-weight: 100; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-LightItalic.otf") format("opentype");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-Semibold.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-SemiboldItalic.otf") format("opentype");
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-Extrabold.otf") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-ExtraboldItalic.otf") format("opentype");
  font-weight: 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal Text";
  src: url("assets/fonts/PPNeueMontrealText-Book.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal Text";
  src: url("assets/fonts/PPNeueMontrealText-BookItalic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --ink: #1A1A1A;
  --ink-80: #3A3A3A;
  --stone: #7A7268;
  --paper: #EFE8DC;
  --cream: #F5F0E8;
  --terracotta: #B45A3A;
  --ochre: #A8722C;
  --rule: rgba(26,26,26,0.14);
  --rule-strong: rgba(26,26,26,0.28);
  --rule-cream: rgba(245,240,232,0.22);

  --serif-display: "Cardinal Fruit", "Cormorant Garamond", "Times New Roman", serif;
  --serif-body: "PP Neue Montreal", "PP Neue Montreal Text", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--cream); color: var(--ink); }
body { font-family: var(--serif-body); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

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

a { color: var(--ink); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--terracotta); }

/* ── nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: var(--nav-past-bg, rgba(245,240,232,0.55));
  backdrop-filter: var(--nav-past-blur, blur(14px) saturate(140%));
  -webkit-backdrop-filter: var(--nav-past-blur, blur(14px) saturate(140%));
  border-bottom: 0;
  transition: background-color .35s ease, backdrop-filter .35s ease;
}

/* split layout: left menu | center logo | right menu */
.nav.nav-split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav.nav-split .nav-left { justify-self: start; }
.nav.nav-split .lockup { justify-self: center; }
.nav.nav-split .nav-right { justify-self: end; }

/* transparent at top, glass on scroll (only when .reverse — dark hero pages) */
.nav.reverse.at-top {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav .lockup {
  font-family: var(--serif-display); font-weight: 400;
  font-size: 28px; line-height: 1; letter-spacing: -0.005em; color: var(--ink);
}
.nav .lockup .dot { font-style: normal; font-weight: 300; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav ul a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stone);
}
.nav ul a:hover { color: var(--terracotta); }
.nav ul a.active { color: var(--ink); }
.nav ul a.active { position: relative; }
.nav ul a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 1px; background: var(--terracotta);
}

/* nav reverse (for dark hero overlay pages) — glass + cream text while over hero */
.nav.reverse {
  background: var(--nav-hero-bg, rgba(26,26,26,0.32));
  backdrop-filter: var(--nav-hero-blur, blur(14px) saturate(140%));
  -webkit-backdrop-filter: var(--nav-hero-blur, blur(14px) saturate(140%));
  border-bottom-color: transparent;
}
.nav.reverse .lockup { color: var(--nav-hero-text, var(--cream)); }
.nav.reverse ul a { color: var(--nav-hero-text-muted, rgba(245,240,232,0.7)); }
.nav.reverse ul a:hover { color: var(--terracotta); }
.nav.reverse ul a.active { color: var(--nav-hero-text, var(--cream)); }

/* at-top: customizable transparent state */
.nav.reverse.at-top {
  background: var(--nav-top-bg, transparent);
  backdrop-filter: var(--nav-top-blur, none);
  -webkit-backdrop-filter: var(--nav-top-blur, none);
}
.nav.reverse.at-top .lockup { color: var(--nav-top-text, var(--cream)); }
.nav.reverse.at-top ul a { color: var(--nav-top-text-muted, rgba(245,240,232,0.7)); }
.nav.reverse.at-top ul a:hover { color: var(--terracotta); }
.nav.reverse.at-top ul a.active { color: var(--nav-top-text, var(--cream)); }

/* past-hero: glass + dark text, even when nav started as .reverse */
.nav.reverse.past-hero {
  background: var(--nav-past-bg, rgba(245,240,232,0.55));
  backdrop-filter: var(--nav-past-blur, blur(14px) saturate(140%));
  -webkit-backdrop-filter: var(--nav-past-blur, blur(14px) saturate(140%));
  border-bottom-color: transparent;
}
.nav.reverse.past-hero .lockup { color: var(--nav-past-text, var(--ink)); }
.nav.reverse.past-hero ul a { color: var(--nav-past-text-muted, var(--stone)); }
.nav.reverse.past-hero ul a:hover { color: var(--terracotta); }
.nav.reverse.past-hero ul a.active { color: var(--nav-past-text, var(--ink)); }

/* ── shared atoms ──────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--stone);
}
.eyebrow.terracotta { color: var(--terracotta); }
.eyebrow.cream { color: rgba(245,240,232,0.7); }

h1, h2, h3, h4 { font-family: var(--serif-display); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 72px; line-height: 0.98; letter-spacing: -0.015em; }
h2 { font-size: 48px; line-height: 1.05; letter-spacing: -0.01em; }
h3 { font-size: 28px; line-height: 1.15; }
h4 { font-size: 20px; font-weight: 500; line-height: 1.3; }
em { font-style: normal; font-weight: 300; }
p { margin: 0 0 1em; }
.lede { font-family: var(--serif-display); font-style: normal; font-weight: 300; font-size: 28px; line-height: 1.3; color: var(--ink); }

/* ── hero (full-bleed slideshow) ────────────────────── */
.hero-full {
  position: relative; height: 100vh; min-height: 640px;
  margin-top: -76px; padding-top: 76px;
  overflow: hidden; background: var(--ink); color: var(--cream);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide .bg { position: absolute; inset: 0; }
.hero-slide .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.hero-slide.is-active .bg img { transform: scale(1); }

/* gradient overlay — bottom-left dark, fading top-right */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 45%, rgba(0,0,0,0) 75%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 35%);
}

/* bottom-left content block */
.hero-content-bl {
  position: absolute; left: 56px; bottom: 56px; z-index: 3;
  display: flex; flex-direction: column; gap: 18px;
  max-width: 720px;
  animation: heroFadeIn 0.7s ease both 0.2s;
}
.hero-content-bl .wordmark {
  font-family: var(--serif-display); font-weight: 400;
  font-size: 132px; line-height: 0.88; letter-spacing: -0.02em; color: var(--cream);
  margin: 4px 0 0;
}
.hero-content-bl .tagline {
  font-family: var(--serif-display); font-style: normal; font-weight: 300;
  font-size: 26px; line-height: 1.25; color: rgba(245,240,232,0.92); max-width: 540px;
  margin: 6px 0 4px;
}
.hero-content-bl .hero-client {
  opacity: 0.7;
  transition: opacity .25s ease;
}
.hero-content-bl .hero-client.fading { opacity: 0; }
.hero-content-bl .btn { margin-top: 10px; align-self: flex-start; }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* slider dots — bottom center */
.hero-dots {
  position: absolute; left: 50%; bottom: 36px; z-index: 4;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
}
.hero-dot {
  appearance: none; border: 0; padding: 0; margin: 0;
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(245,240,232,0.4);
  cursor: pointer;
  transition: width .35s ease, background-color .25s ease;
}
.hero-dot:hover { background: rgba(245,240,232,0.7); }
.hero-dot.is-active {
  width: 26px;
  background: var(--cream);
}

/* scroll indicator — bottom right */
.hero-scroll {
  position: absolute; right: 48px; bottom: 36px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(245,240,232,0.7);
}
.hero-scroll-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.hero-scroll-arrow {
  font-family: var(--serif-body); font-size: 20px; line-height: 1;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ── breadcrumb (inner pages, sits above page-hero) ─────── */
.breadcrumb {
  padding: 28px 48px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb .sep { margin: 0 12px; opacity: 0.5; }
.breadcrumb .current { color: var(--ink); }

/* ── page hero (smaller, for inner pages) ──────────────── */
.page-hero {
  padding: 48px 48px 72px;
  border-bottom: 1px solid var(--rule);
}
.page-hero .grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; }
.page-hero .lede { color: var(--ink-80); }

/* ── sections ──────────────────────────────────────────── */
.section { padding: 96px 48px; border-bottom: 1px solid var(--rule); }
.section.dark { background: var(--ink); color: var(--cream); border-bottom-color: var(--rule-cream); }
.section.dark .eyebrow { color: rgba(245,240,232,0.55); }
.section.dark h2, .section.dark h3 { color: var(--cream); }
.section.dark p { color: rgba(245,240,232,0.78); }
.section.dark a { color: var(--cream); }
.section.paper { background: var(--paper); }

.container { max-width: 1280px; margin: 0 auto; }
.section-head {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 56px;
}
.section-head .num { color: var(--terracotta); }
.section.dark .section-head .num { color: var(--terracotta); }

/* ── pillars ────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.section.dark .pillars { }
.pillar { padding: 0; }
.pillar .pillar-img {
  aspect-ratio: 4 / 5; width: 100%; overflow: hidden;
  background: var(--paper); margin-bottom: 20px;
}
.pillar .pillar-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pillar h3 { margin-top: 0; font-size: 32px; line-height: 1.05; }
.pillar p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-80); }

/* ── services grid (home page) ───────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.services-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 32px 28px;
  border-right: 1px solid var(--rule);
  color: var(--ink);
  transition: background-color .2s ease;
}
.services-card:last-child { border-right: none; }
.services-card:hover { color: var(--ink); background: var(--paper); }
.services-card-icon {
  color: var(--terracotta);
  display: block;
  font-size: 40px;
  line-height: 1;
}
.services-card-icon svg { width: 100%; height: 100%; display: block; }
.services-card-icon i.ph { font-size: 40px; line-height: 1; display: block; }
.services-card-text { margin-top: 28px; }
.services-card-title { margin-top: 0; font-size: 28px; line-height: 1.1; }
.services-card-body { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--ink-80); }
.services-card-arrow {
  display: block;
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--stone);
  transition: transform .2s ease, color .2s ease;
}
.services-card:hover .services-card-arrow { color: var(--terracotta); transform: translateX(4px); }

/* ── work grid ─────────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { display: block; position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover img { transform: scale(1.03); }
.work-card .label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--cream);
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
}
.work-card .label .name { font-family: var(--serif-display); font-size: 22px; font-weight: 400; }
.work-card .label .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245,240,232,0.7); }

/* placeholder slot — for projects awaiting real renders */
.work-card.placeholder { background: var(--paper); }
.work-card.placeholder .ph-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  background: repeating-linear-gradient(45deg, var(--paper) 0 14px, rgba(26,26,26,0.04) 14px 28px);
  color: var(--ink-80);
}
.work-card.placeholder .ph-inner .ph-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--terracotta);
}
.work-card.placeholder .ph-inner .ph-name {
  font-family: var(--serif-display); font-size: 32px; line-height: 1; color: var(--ink);
}
.work-card.placeholder .ph-inner .ph-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone);
}
.work-card.placeholder .label { display: none; }

.work-feature .image.placeholder {
  background: repeating-linear-gradient(45deg, var(--paper) 0 18px, rgba(26,26,26,0.04) 18px 36px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--ink-80);
}
.work-feature .image.placeholder .ph-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--terracotta);
}
.work-feature .image.placeholder .ph-name {
  font-family: var(--serif-display); font-size: 56px; line-height: 1; color: var(--ink); font-style: normal; font-weight: 300;
}
.work-feature .image.placeholder .ph-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone);
}

/* multi-image work feature (3 stacked) */
.work-feature .image-stack { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.work-feature .image-stack .primary { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.work-feature .image-stack .primary img { width: 100%; height: 100%; object-fit: cover; }
.work-feature .image-stack .col { display: flex; flex-direction: column; gap: 16px; }
.work-feature .image-stack .col .tile { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.work-feature .image-stack .col .tile img { width: 100%; height: 100%; object-fit: cover; }

/* full-width work item (portfolio) */
.work-feature { display: grid; grid-template-columns: 1fr; gap: 24px; }
.work-feature .image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.work-feature .image img { width: 100%; height: 100%; object-fit: cover; }
.work-feature .info { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-top: 8px; }
.work-feature .info .field .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.work-feature .info .field .v { font-family: var(--serif-body); font-size: 16px; }
.work-feature .info .field .v.title { font-family: var(--serif-display); font-size: 28px; line-height: 1; }

/* ── service rows (services.html) ──────────────────────── */
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row-img {
  display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink);
}
.service-row-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease;
}
.service-row-img:hover img { transform: scale(1.03); }
.service-row-text { padding: 0 8px; }
.service-meta {
  list-style: none; margin: 28px 0 28px; padding: 0;
  border-top: 1px solid var(--rule);
}
.service-meta li {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.service-meta .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stone);
}
.service-meta .v {
  font-family: var(--serif-display); font-style: normal; font-weight: 400;
  font-size: 22px; color: var(--ink); line-height: 1.2;
}
.service-row-cta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--rule); padding-bottom: 6px;
  transition: color .15s ease, border-color .15s ease;
}
.service-row-cta:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

@media (max-width: 900px) {
  .service-row, .service-row.reverse { grid-template-columns: 1fr; gap: 24px; direction: ltr; }
  .service-meta li { grid-template-columns: 1fr; gap: 4px; }
}

/* ── packages ──────────────────────────────────────────── */
.packages { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.pkg {
  background: var(--paper);
  padding: 36px 32px;
  min-height: 520px;
  position: relative;
  display: grid;
  /* locked slot grid: eyebrow / 32 / title56 / subtitle44 / price / 20 / label / 24 / rule / 22 / body(1fr) / cta */
  grid-template-rows:
    auto                     /* R1 eyebrow */
    32px                     /* R2 spacer */
    56px                     /* R3 title */
    44px                     /* R4 subtitle */
    auto                     /* R5 price */
    20px                     /* R6 spacer */
    auto                     /* R7 label */
    24px                     /* R8 spacer */
    1px                      /* R9 divider */
    22px                     /* R10 spacer */
    1fr                      /* R11 body */
    auto;                    /* R12 cta */
}
.pkg.feature { background: var(--ink); color: var(--cream); }
.pkg.partner { background: transparent; border: 1px solid var(--rule-strong); }

/* slots */
.pkg-eyebrow { grid-row: 1; margin: 0; }
.pkg-title {
  grid-row: 3; align-self: start;
  font-family: var(--serif-display); font-size: 32px; font-weight: 400;
  line-height: 1; letter-spacing: -0.01em; margin: 0;
}
.pkg-subtitle {
  grid-row: 4; align-self: start;
  font-family: var(--serif-display); font-style: normal; font-weight: 300;
  font-size: 15px; line-height: 1.3;
  color: var(--ink-80);
  margin: 0;
}
.pkg.feature .pkg-subtitle { color: rgba(245,240,232,0.78); }

.pkg-price {
  grid-row: 5; align-self: end;
  font-family: var(--serif-display); font-size: 24px; font-weight: 500; margin: 0;
}
.pkg-price em { font-style: normal; font-weight: 300; color: var(--stone); font-size: 16px; margin-right: 6px; }
.pkg.feature .pkg-price em { color: rgba(245,240,232,0.55); }
.pkg-price-words {
  font-style: normal; font-weight: 400; font-size: 22px;
}

.pkg-label {
  grid-row: 7; align-self: start; margin: 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terracotta);
}
.pkg.feature .pkg-label { color: #d97757; } /* brighter on dark for 4.5:1 */

.pkg-rule {
  grid-row: 9; align-self: center;
  border: 0; height: 1px; width: 100%; margin: 0;
  background: var(--rule);
}
.pkg.feature .pkg-rule { background: rgba(245,240,232,0.18); }

.pkg-body {
  grid-row: 11; margin: 0; padding: 0;
}
.pkg-body ul, ul.pkg-body {
  list-style: none; margin: 0; padding: 0;
}
ul.pkg-body { font-family: var(--serif-body); font-size: 15px; line-height: 1.55; }
ul.pkg-body li { padding: 9px 0; border: 0; }
.pkg-body-prose p {
  margin: 0;
  font-family: var(--serif-display); font-style: normal; font-weight: 300;
  font-size: 19px; line-height: 1.6; color: var(--ink);
}
.pkg-body-prose p + p {
  margin-top: 12px;
  font-family: var(--serif-body); font-size: 15px;
  color: var(--ink-80);
}

.pkg-cta {
  grid-row: 12; padding-top: 28px;
  font-family: var(--serif-display); font-style: normal; font-weight: 400; font-size: 22px;
  color: var(--ink);
}
.pkg-cta::after { content: ' →'; font-style: normal; }

/* ── steps ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.section.dark .steps { border-top-color: var(--rule-cream); }
.step { padding: 32px 28px 0; border-right: 1px solid var(--rule); min-height: 280px; }
.section.dark .step { border-right-color: var(--rule-cream); }
.step .step-image {
  aspect-ratio: 4 / 3; width: 100%; overflow: hidden;
  background: var(--paper); margin-bottom: 24px;
}
.section.dark .step .step-image { background: rgba(245,240,232,0.06); }
.step .step-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step:last-child { border-right: none; }
.step .num { color: var(--terracotta); margin-bottom: 14px; }
.step h3 { font-size: 24px; line-height: 1.1; }
.step p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--ink-80); }
.section.dark .step p { color: rgba(245,240,232,0.7); }

/* ── CTA / button ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--serif-body); font-size: 16px; letter-spacing: 0.04em;
  background: var(--terracotta); color: #fff;
  border: 1px solid var(--terracotta); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
/* Primary (terracotta): darken on hover — keeps white text legible */
.btn:hover { background: #a8412f; border-color: #a8412f; color: #fff; }
.btn:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* Outline (ink on light bg): fill ink, light text — high contrast */
.btn.outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn.outline:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Cream variant (terracotta primary on cream bg): darken on hover, keep white text */
.btn.cream { background: var(--terracotta); color: #fff; border: 1px solid var(--terracotta); }
.btn.cream:hover { background: #a8412f; border-color: #a8412f; color: #fff; }
.btn.cream:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.btn::after { content: '→'; font-family: var(--serif-body); }

/* ghost — thin outline, transparent, light text; inverts on hover */
.btn.ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,240,232,0.6);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 22px;
}
.btn.ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn.ghost:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.btn.ghost.lg { padding: 18px 28px; font-size: 12px; letter-spacing: 0.24em; }
.btn.ghost.sm { padding: 10px 16px; font-size: 10px; letter-spacing: 0.2em; }
.btn.ghost::after { content: '→'; font-family: var(--mono); }
.btn.no-arrow::after { content: none; }

/* ghost on light nav (past-hero) */
.nav.reverse.past-hero .btn.ghost,
.nav:not(.reverse) .btn.ghost {
  color: var(--ink);
  border-color: var(--ink);
}
.nav.reverse.past-hero .btn.ghost:hover,
.nav:not(.reverse) .btn.ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* ── contact ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-card { padding: 32px; border: 1px solid var(--rule-strong); display: flex; flex-direction: column; gap: 16px; }
.contact-card h3 { font-size: 32px; }
.contact-card .body { font-size: 16px; color: var(--ink-80); flex: 1; }
.contact-card .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }

form input, form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong);
  padding: 14px 0; font-family: var(--serif-body); font-size: 16px; color: var(--ink);
  margin-bottom: 24px;
}
form input:focus, form textarea:focus { outline: none; border-bottom-color: var(--terracotta); }
form textarea { resize: vertical; min-height: 120px; }
form label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); display: block; margin-bottom: 6px; }

/* ── footer ────────────────────────────────────────────── */
.footer {
  background: var(--ink); color: var(--cream);
  padding: 80px 48px 60px;
  position: relative; overflow: hidden;
}

/* Zone 1: 5-col main grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  column-gap: 48px;
  align-items: start;
  padding-bottom: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 20px; }
.footer .lockup { font-family: var(--serif-display); font-size: 56px; line-height: 1; letter-spacing: -0.01em; }
.footer .lockup .dot { font-style: normal; font-weight: 300; }
.footer-tagline { margin: 0; max-width: 320px; color: var(--cream); font-size: 15px; line-height: 1.5; }
.footer-copy {
  margin: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream);
}

/* Newsletter */
.footer-newsletter { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-news-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(245,240,232,0.55); font-weight: 500;
}
.footer-news-input {
  display: flex; align-items: center;
  border: 1px solid rgba(245,240,232,0.22);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  transition: border-color .15s ease;
}
.footer-news-input:focus-within { border-color: rgba(245,240,232,0.5); }
.footer-news-input input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--cream); font-family: var(--serif-body); font-size: 14px;
  padding: 8px 0;
}
.footer-news-input input::placeholder { color: rgba(245,240,232,0.45); }
.footer-news-input button {
  width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--cream); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s ease;
}
.footer-news-input button:hover { background: #fff; }

/* Clocks */
.footer-clocks { display: flex; gap: 18px; margin-top: 4px; }
.footer-clock { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--cream); }
.footer-clock svg { width: 36px; height: 36px; }
.footer-clock span {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cream);
}

/* Link columns */
.footer h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cream); font-weight: 500;
  margin: 0; line-height: 1;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer ul li { padding: 0; }
.footer ul a {
  color: var(--cream); font-family: var(--serif-body);
  font-size: 14px; line-height: 1.4; transition: color .15s ease;
}
.footer ul a:hover { color: var(--cream); }

/* Zone 2: bottom bar */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0 90px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream);
}
.footer-bottom-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; flex: 1; justify-content: space-between; }
.footer-bottom-left > .footer-dot { display: none; }
.footer-bottom-left a { color: var(--cream); transition: color .15s ease; }
.footer-bottom-left a:hover { color: var(--cream); }
.footer-dot { color: rgba(245,240,232,0.3); }
.footer .legal-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-direction: row; align-items: center; }
.footer .legal-links li { padding: 0; }
.footer .legal-links li + li::before { content: "·"; color: rgba(245,240,232,0.3); margin-right: 14px; }
.footer .legal-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
}
.footer .legal-links a:hover { color: var(--cream); }
.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: rgba(245,240,232,0.7);
  border: 1px solid rgba(245,240,232,0.18);
  transition: border-color .15s ease, color .15s ease;
}
.footer-social a:hover { color: var(--cream); border-color: rgba(245,240,232,0.5); }

/* Zone 3: oversized decorative wordmark */
.footer-mega {
  position: relative;
  margin: 24px -48px 0;
  overflow: visible;
  display: flex; align-items: flex-start; justify-content: center;
  pointer-events: none;
}
.footer-mega span {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(180px, 26vw, 520px);
  line-height: 0.85; letter-spacing: -0.04em;
  color: var(--cream);
  white-space: nowrap;
}

/* ── legal pages ──────────────────────────────────────── */
.legal { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.legal .body { font-family: var(--serif-body); font-size: 16px; line-height: 1.75; color: var(--ink); }
.legal .body h3 {
  font-family: var(--serif-display); font-style: normal; font-weight: 400;
  font-size: 30px; line-height: 1.2; letter-spacing: -0.01em;
  margin: 64px 0 18px; color: var(--ink);
}
.legal .body h3:first-child { margin-top: 0; }
.legal .body h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); font-weight: 500; margin: 32px 0 12px;
}
.legal .body p { margin: 0 0 18px; }
.legal .body p strong { font-weight: 600; }
.legal .body em { font-style: normal; }
.legal .body ul { margin: 0 0 22px; padding-left: 22px; }
.legal .body ul li { margin-bottom: 8px; line-height: 1.7; }
.legal .body a { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.legal .body a:hover { border-bottom-color: var(--terracotta); }
.legal .body hr { border: 0; border-top: 1px solid var(--rule); margin: 56px 0; }
.legal .body .def {
  background: var(--paper); padding: 22px 26px; margin: 24px 0 32px;
  border-left: 2px solid var(--terracotta);
}
.legal .body .def dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 4px;
}
.legal .body .def dd { margin: 0 0 12px; font-size: 15px; line-height: 1.65; }
.legal .body .def dd:last-child { margin-bottom: 0; }
.legal .body .sub {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--terracotta); font-weight: 500; margin-right: 6px;
}
.legal .stand {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule);
}

/* ── home pipeline strip ───────────────────────────────── */
.section-lede {
  font-family: var(--serif-body); font-size: 17px; line-height: 1.55;
  color: var(--ink-80); max-width: 640px; margin: 18px 0 0;
}
.pipeline-strip {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: stretch;
}
.pipeline-strip .stage {
  display: flex; flex-direction: column;
  padding: 0;
  position: relative;
}
.pipeline-strip .stage-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}
.pipeline-strip .stage-num {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--terracotta);
}
.pipeline-strip .stage-time {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stone);
}
.pipeline-strip .stage .img {
  aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: var(--paper);
  margin-bottom: 18px;
}
.pipeline-strip .stage .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pipeline-strip .stage-label {
  font-family: var(--serif-display); font-weight: 400;
  font-size: 24px; line-height: 1.15; color: var(--ink); margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.pipeline-strip .stage-label em { font-style: normal; font-weight: 300; }
.pipeline-strip .stage-body {
  font-family: var(--serif-body); font-size: 15px; line-height: 1.55;
  color: var(--ink-80); margin: 0 0 16px;
}
.pipeline-strip .stage-input {
  margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; line-height: 1.5;
  color: var(--ink); letter-spacing: 0.02em;
}
.pipeline-strip .stage-input span {
  display: block; font-size: 9px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 4px;
}
.pipeline-strip .stage-connector {
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
  padding-top: 80px;
}
.pipeline-strip .stage-connector svg { width: 100%; height: 12px; display: block; }
.pipeline-tail {
  margin-top: 40px; display: flex; justify-content: flex-end; gap: 32px;
}
.pipeline-tail a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 6px; transition: color .15s ease, border-color .15s ease;
}
.pipeline-tail a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.services-tail {
  margin-top: 40px; display: flex; justify-content: flex-end;
}
.services-tail a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 6px; transition: color .15s ease, border-color .15s ease;
}
.services-tail a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.included-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start;
}
.included-list {
  margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule);
}
.included-list li {
  padding: 18px 0; border-bottom: 1px solid var(--rule);
  font-family: var(--serif-display); font-size: 22px; line-height: 1.3;
}
.included-video {
  margin: 0; align-self: stretch; background: #1a1a1a; overflow: hidden;
}
.included-video video {
  width: 100%; height: 100%; display: block; object-fit: cover;
}
@media (max-width: 880px) {
  .included-grid { grid-template-columns: 1fr; gap: 32px; }
  .included-video { aspect-ratio: 9 / 16; max-width: 360px; }
}

/* ── about page ───────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.05); }
.bio p { font-size: 17px; line-height: 1.7; max-width: 560px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule); margin-top: 32px; }
.value { padding: 28px 0; border-bottom: 1px solid var(--rule); padding-right: 32px; }
.value:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 32px; padding-left: 0; }
.value:nth-child(even) { padding-left: 32px; }
.value h4 { font-family: var(--serif-display); font-size: 22px; font-weight: 400; }
.value p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-80); }

/* ── on AI ─────────────────────────────────────────────── */
.ai-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.ai-pullquote {
  font-family: var(--serif-display); font-style: normal; font-weight: 300;
  font-size: 32px; line-height: 1.3; color: var(--ink);
  margin: 0; max-width: 22ch;
}
.ai-pullquote + .ai-pullquote { margin-top: 0.5em; }
.ai-conclusion {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 19px; line-height: 1.55; color: var(--ink);
}
.ai-conclusion em {
  font-family: var(--serif-display); font-style: normal; font-weight: 400;
}

/* ── FAQ accordion ─────────────────────────────────────── */
.faq-accordion { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--serif-display); font-style: normal; font-weight: 400;
  font-size: 26px; line-height: 1.2; color: var(--ink);
  transition: color .15s ease;
}
.faq-question:hover, .faq-question:focus-visible { color: var(--terracotta); }
.faq-question:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.faq-chevron {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--stone);
  transition: transform .25s ease;
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--terracotta); }
.faq-answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  font-family: var(--serif-body); font-size: 17px; line-height: 1.65; color: var(--ink-80);
  max-width: 64ch; padding-bottom: 28px; margin: 0;
}

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 18px 24px; }
  .nav ul { gap: 18px; }
  .section { padding: 64px 24px; }
  .breadcrumb { padding: 20px 24px 0; }
  .page-hero { padding: 32px 24px 48px; }
  .page-hero .grid { grid-template-columns: 1fr; gap: 32px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .hero-content-bl { left: 24px; right: 24px; bottom: 96px; max-width: none; }
  .hero-content-bl .wordmark { font-size: 80px; }
  .hero-content-bl .tagline { font-size: 20px; }
  .hero-scroll { display: none; }
  .hero-dots { bottom: 24px; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-card { border-right: none; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .services-card:last-child { border-bottom: none; }
  .pillar, .step { border-right: none; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .work-grid { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
  .pipeline-strip { grid-template-columns: 1fr; gap: 0; }
  .pipeline-strip .stage-connector { padding: 8px 0; transform: rotate(90deg); width: 40px; margin: 0 auto; }
  .pipeline-tail { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 56px 24px 60px; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px; row-gap: 40px;
    padding-bottom: 48px;
  }
  .footer .lockup { font-size: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 0; }
  .footer-bottom-left { gap: 10px; }
  .footer-mega { margin: 16px -24px 0; }
  .footer-mega span { font-size: clamp(140px, 38vw, 360px); }
  .legal { padding: 0 24px; }
  .legal .body { padding: 0; }
  .work-feature .info { grid-template-columns: 1fr; gap: 12px; }
  .ai-grid { grid-template-columns: 1fr; gap: 32px; }
  .ai-pullquote { font-size: 26px; max-width: none; }
  .faq-question { font-size: 22px; padding: 22px 0; }
}
