:root {
  --porcelain: #fff8f0;
  --pearl: #f8efe7;
  --parchment: #f1e4d8;
  --sand: #dfcfc1;
  --blush: #d8a7a1;
  --rosewood: #a86f62;
  --rosewood-ink: #8d5548;
  --champagne: #c9a96a;
  --sage: #a8b7a2;
  --ink: #211815;
  --ink-soft: #3d302a;
  --dark: #1b1310;
  --dark-2: #261b15;
  --line: rgba(33, 24, 21, 0.12);
  --line-strong: rgba(168, 111, 98, 0.3);
  --line-light: rgba(255, 248, 240, 0.16);
  --shadow-soft: 0 28px 90px rgba(95, 63, 47, 0.16);
  --shadow-card: 0 18px 54px rgba(95, 63, 47, 0.12);
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--pearl);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(160deg, var(--porcelain) 0%, var(--pearl) 52%, #ecd9cc 100%);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.26;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: -100px;
  left: 16px;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 14px 14px;
  background: var(--ink);
  color: var(--porcelain);
  font-weight: 700;
  transition: top 160ms ease;
}
.skip-link:focus-visible { top: 0; }

.scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(33, 24, 21, 0.06);
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blush), var(--rosewood), var(--champagne));
}

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

h1, h2 {
  font-family: var(--display);
  font-weight: 340;
  font-variation-settings: "opsz" 130;
  letter-spacing: -0.03em;
}
h1 em, h2 em, .footer-word em {
  font-style: italic;
  font-weight: 320;
  color: var(--rosewood);
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7.3vw, 7.3rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.5rem, 5.4vw, 5.4rem);
  line-height: 0.96;
}

h3 {
  font-size: clamp(1.16rem, 1.6vw, 1.5rem);
  line-height: 1.16;
  letter-spacing: -0.028em;
  font-weight: 700;
}

p { color: rgba(33, 24, 21, 0.74); }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select { font: inherit; }

:focus-visible {
  outline: 2px solid var(--rosewood);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: 112px; }
.section-shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  color: var(--rosewood-ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- clinical annotation marks (signature) ---------- */

.mark {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem 0.5rem 0.7rem;
  border: 1px solid rgba(255, 248, 240, 0.32);
  border-radius: 999px;
  background: rgba(27, 19, 16, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--porcelain);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mark-cross {
  position: relative;
  width: 11px;
  height: 11px;
  flex: none;
}
.mark-cross::before,
.mark-cross::after {
  content: "";
  position: absolute;
  background: var(--champagne);
  animation: crossPulse 3.2s ease-in-out infinite;
}
.mark-cross::before { left: 5px; top: 0; width: 1.5px; height: 11px; }
.mark-cross::after { left: 0; top: 5px; width: 11px; height: 1.5px; }

/* ---------- nav ---------- */

.nav-shell {
  position: fixed;
  z-index: 80;
  top: 18px;
  left: 50%;
  display: flex;
  width: calc(100% - 28px);
  max-width: 1180px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.8rem 0.7rem 1rem;
  border: 1px solid rgba(33, 24, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.74);
  box-shadow: 0 18px 70px rgba(95, 63, 47, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.brand-word {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.brand-word em { font-style: italic; color: var(--rosewood-ink); transition: color 180ms ease; }
.brand:hover .brand-word em { color: var(--rosewood); }
.brand-mark {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
  filter: drop-shadow(0 8px 18px rgba(168, 111, 98, 0.3));
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  color: rgba(33, 24, 21, 0.64);
  font-size: 0.86rem;
  font-weight: 700;
}
.nav-links a { transition: color 180ms ease; }
.nav-links a:hover { color: var(--rosewood-ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--porcelain);
  font-size: 0.85rem;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}
.nav-cta:hover { background: var(--rosewood); transform: translateY(-1px); }
.nav-cta[aria-current="page"] { background: var(--rosewood-ink); }

.nav-menu-toggle {
  display: none;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid rgba(33, 24, 21, 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.6);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-menu-toggle[aria-expanded="true"] { background: rgba(216, 167, 161, 0.22); color: var(--rosewood-ink); }

.nav-drawer[hidden] { display: none; }
.nav-drawer {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  display: grid;
  gap: 0.2rem;
  padding: 0.6rem;
  border: 1px solid rgba(33, 24, 21, 0.1);
  border-radius: 26px;
  background: rgba(255, 248, 240, 0.97);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-drawer a {
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  font-weight: 800;
}
.nav-drawer a:hover { background: rgba(216, 167, 161, 0.16); color: var(--rosewood-ink); }
.nav-drawer a[aria-current="page"] { color: var(--rosewood-ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding-bottom: clamp(2.4rem, 5vh, 4.5rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 900ms ease 200ms; }
.hero-video.is-playing { opacity: 1; }

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 19, 16, 0.18) 0%, rgba(27, 19, 16, 0) 30%),
    linear-gradient(4deg, rgba(248, 239, 231, 0.96) 6%, rgba(248, 239, 231, 0.55) 26%, rgba(248, 239, 231, 0) 56%);
}

.mark-hero-1 { top: 16%; right: 8%; }
.mark-hero-2 { top: 36%; right: 20%; }
.mark-hero-3 { top: 56%; right: 7%; }

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 1.4rem;
  padding-top: clamp(8.5rem, 22svh, 20rem);
}
.hero-content .eyebrow {
  color: #8d5548;
  text-shadow: 0 1px 14px rgba(255, 248, 240, 0.65);
}
.hero .hero-content .eyebrow {
  justify-self: start;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 248, 240, 0.32);
  border-radius: 999px;
  background: rgba(27, 19, 16, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--porcelain);
  text-shadow: none;
}
.hero h1 em { color: #8d5548; }
.hero-lede {
  max-width: 44rem;
  color: rgba(33, 24, 21, 0.78);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  font-weight: 500;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--ink);
  color: var(--porcelain);
  box-shadow: 0 20px 52px rgba(33, 24, 21, 0.2);
}
.button-primary:hover { background: var(--rosewood); }
.button-ghost {
  border-color: rgba(33, 24, 21, 0.22);
  background: rgba(255, 248, 240, 0.55);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.button-ghost:hover { border-color: var(--line-strong); background: rgba(216, 167, 161, 0.18); }

.availability-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.availability-strip span {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(33, 24, 21, 0.14);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.5);
  color: rgba(33, 24, 21, 0.7);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- interior page hero ---------- */

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 62svh;
  padding-bottom: clamp(2.2rem, 4vh, 3.6rem);
  overflow: hidden;
}
.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-media img,
.page-hero .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 19, 16, 0.2) 0%, rgba(27, 19, 16, 0) 30%),
    linear-gradient(4deg, rgba(248, 239, 231, 0.97) 10%, rgba(248, 239, 231, 0.68) 36%, rgba(248, 239, 231, 0.08) 64%);
}
.page-hero .hero-content { padding-top: clamp(9rem, 20svh, 16rem); }
.page-hero h1 { font-size: clamp(2.8rem, 5.8vw, 5.8rem); }
.page-hero h1 em { color: #8d5548; }
.page-hero-dark h1 em { color: var(--champagne); }

.page-hero-dark { color: var(--porcelain); }
.page-hero-dark .hero-veil {
  background:
    linear-gradient(180deg, rgba(27, 19, 16, 0.5) 0%, rgba(27, 19, 16, 0.1) 40%),
    linear-gradient(4deg, rgba(27, 19, 16, 0.92) 8%, rgba(27, 19, 16, 0.5) 34%, rgba(27, 19, 16, 0.05) 66%);
}
.page-hero-dark h1 { color: var(--porcelain); }
.page-hero-dark h1 em { color: var(--champagne); }
.page-hero-dark .hero-lede { color: rgba(255, 248, 240, 0.78); }
.page-hero-dark .hero-content .eyebrow { color: var(--champagne); text-shadow: none; }

/* ---------- editorial split rows ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 5vw, 5rem);
}
.split-reverse .split-media { order: 2; }
.split-reverse .split-copy { order: 1; }
.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}
.split-media img { width: 100%; height: auto; }
.split-media .mark { left: 1rem; bottom: 1rem; }
.split-copy { display: grid; gap: 1rem; align-content: center; }
.split-copy h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.tag-row span {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: rgba(33, 24, 21, 0.72);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- spec list (what's included) ---------- */

.spec-list { display: grid; gap: 0.65rem; margin-top: 0.5rem; }
.spec-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(33, 24, 21, 0.78);
}
.spec-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rosewood-ink);
  font-family: var(--mono);
  font-weight: 600;
}
.system .spec-list li,
.page-hero-dark .spec-list li { color: rgba(255, 248, 240, 0.72); }
.system .spec-list li::before { color: var(--champagne); }

/* ---------- faq ---------- */

.faq { padding-block: clamp(3rem, 6vw, 6rem) 0; }
.faq .section-kicker { margin-bottom: 2.2rem; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.faq-grid .faq-item:first-child { grid-column: 1 / -1; }
.faq-item {
  align-content: start;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--rosewood-ink);
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 220ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--rosewood); outline-offset: 4px; border-radius: 8px; }
.faq-item h3 { font-size: clamp(1.08rem, 1.5vw, 1.32rem); }
.faq-item p { margin-top: 0.85rem; font-size: 0.97rem; }

/* ---------- mid-page CTA ---------- */

.mid-cta { display: flex; justify-content: center; padding-block: clamp(1.5rem, 3vw, 3rem) 0; }
.map-cta { display: flex; justify-content: flex-start; margin-top: 1.2rem; }

/* ---------- CTA band ---------- */

.cta-band {
  margin-block: clamp(3rem, 6vw, 6rem) clamp(5rem, 8vw, 8rem);
}
.cta-band-inner {
  display: grid;
  gap: 1.6rem;
  justify-items: start;
  padding: clamp(2.2rem, 5vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 169, 106, 0.16), transparent 26rem),
    linear-gradient(165deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--porcelain);
  box-shadow: var(--shadow-soft);
}
.cta-band h2 { color: var(--porcelain); font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.cta-band h2 em { color: var(--champagne); }
.cta-band p { color: rgba(255, 248, 240, 0.7); max-width: 40rem; }
.cta-band .eyebrow { color: var(--champagne); }
.cta-band .button-primary { background: var(--porcelain); color: var(--ink); }
.cta-band .button-primary:hover { background: var(--blush); }

/* ---------- footer nav ---------- */

.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1rem; }
.footer-nav a {
  color: rgba(33, 24, 21, 0.66);
  font-size: 0.88rem;
  font-weight: 700;
}
.footer-nav a:hover { color: var(--rosewood-ink); }

.nav-links a[aria-current="page"] { color: var(--rosewood-ink); }

/* ---------- filmstrip frame links ---------- */

.frame-link { display: block; border-radius: 24px; }
.frame-link:hover .frame-caption span { color: var(--rosewood); }

/* ---------- ticker ---------- */

.brand-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 248, 240, 0.5);
}
.brand-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.brand-strip span {
  display: inline-flex;
  min-height: 4.4rem;
  align-items: center;
  padding: 0 1.6rem;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 340;
}
.brand-strip em { color: var(--rosewood); font-style: normal; }

/* ---------- industry (category shift) ---------- */

.industry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-block: clamp(5.5rem, 9vw, 9rem);
}

.industry-media {
  position: sticky;
  top: 7rem;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1400 / 934;
}
.industry-media img { width: 100%; height: 100%; object-fit: cover; }
.mark-industry { left: 1.1rem; bottom: 1.1rem; }

.industry-copy { display: grid; gap: 2.4rem; }
.insight-list { display: grid; gap: 1rem; }
.insight-list article {
  display: grid;
  gap: 0.7rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-card);
}
.insight-list span {
  color: var(--rosewood-ink);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- system (dark island) ---------- */

.system {
  position: relative;
  padding-block: clamp(6rem, 10vw, 10rem);
  border-radius: clamp(28px, 4vw, 56px);
  margin-inline: clamp(8px, 1vw, 18px);
  background:
    radial-gradient(circle at 82% 12%, rgba(201, 169, 106, 0.14), transparent 34rem),
    radial-gradient(circle at 10% 88%, rgba(216, 167, 161, 0.1), transparent 30rem),
    linear-gradient(165deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--porcelain);
}
.system h2, .system h3 { color: var(--porcelain); }
.system h2 em { color: var(--champagne); }
.system p { color: rgba(255, 248, 240, 0.68); }
.system .eyebrow { color: var(--champagne); }

.system-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.system-intro {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1.2rem;
}

.system-body { display: grid; gap: 1rem; }

.system-media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line-light);
  aspect-ratio: 16 / 9;
}
.system-media img,
.system-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.system-video { opacity: 0; transition: opacity 900ms ease; }
.system-video.is-playing { opacity: 1; }
.mark-system {
  left: 1.1rem;
  bottom: 1.1rem;
  border-color: rgba(201, 169, 106, 0.45);
  background: rgba(38, 26, 20, 0.78);
}

.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.system-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 240px;
  padding: 1.5rem;
  border: 1px solid var(--line-light);
  border-radius: 26px;
  background: rgba(255, 248, 240, 0.045);
  transition: background 220ms ease, border-color 220ms ease;
}
.system-card span {
  color: var(--champagne);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- markets filmstrip ---------- */

.markets { padding-block: clamp(5.5rem, 9vw, 9rem) clamp(3rem, 5vw, 5rem); }
.section-kicker { display: grid; max-width: 960px; gap: 1rem; margin-bottom: 2.8rem; }

.strip-wrap { position: relative; }
.strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem max(calc((100% - 1240px) / 2), 20px) 1.6rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: max(calc((100% - 1240px) / 2), 20px);
  scrollbar-width: none;
  cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip:focus-visible { outline: 2px solid var(--rosewood); outline-offset: -2px; border-radius: 12px; }
.strip img { user-select: none; -webkit-user-drag: none; }

.frame {
  flex: 0 0 clamp(270px, 32vw, 430px);
  scroll-snap-align: start;
}
.frame figure {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 2.1;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.frame:hover img { transform: scale(1.045); }
.frame-caption { display: grid; gap: 0.35rem; padding: 0.95rem 0.35rem 0; }
.frame-caption span {
  color: var(--rosewood-ink);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.frame-caption p { font-size: 0.94rem; }

.strip-hint {
  margin-top: 0.4rem;
  padding-inline: max(calc((100% - 1240px) / 2), 20px);
  color: rgba(33, 24, 21, 0.62);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- journey ---------- */

.journey { padding-block: clamp(5.5rem, 9vw, 9rem); }
.journey-copy { display: grid; gap: 1rem; margin-bottom: 3rem; max-width: 800px; }
.journey-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.journey-line::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  right: 4%;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), var(--line-strong), transparent);
}
.journey-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-card);
}
.journey-step span {
  color: var(--rosewood);
  font-family: var(--display);
  font-size: 2.6rem;
  font-style: italic;
  font-weight: 320;
  line-height: 1;
}

/* ---------- territory ---------- */

.territory {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(5.5rem, 9vw, 9rem);
}
.territory-copy { display: grid; gap: 1.1rem; }
.territory-controls { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.territory-pill {
  min-height: 2.6rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.territory-pill.is-active,
.territory-pill:hover {
  border-color: var(--line-strong);
  background: rgba(216, 167, 161, 0.22);
  color: var(--rosewood-ink);
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.map-header span { color: rgba(33, 24, 21, 0.68); }
.map-header strong { color: var(--rosewood-ink); }
.soft-map { width: 100%; min-height: 390px; }
.map-street path { stroke: rgba(33, 24, 21, 0.09); stroke-width: 1; }
.map-avenue { fill: none; stroke: rgba(33, 24, 21, 0.14); stroke-width: 3; stroke-linecap: round; }
.map-river { fill: none; stroke: rgba(168, 183, 162, 0.5); stroke-width: 10; stroke-linecap: round; }
.map-boundary {
  fill: rgba(201, 169, 106, 0.07);
  stroke: var(--champagne);
  stroke-width: 2.5;
  stroke-dasharray: 12 10;
  stroke-linecap: round;
  animation: dashRoute 14s linear infinite;
}
.map-poi circle { fill: rgba(168, 111, 98, 0.4); }
.map-slot text {
  fill: rgba(33, 24, 21, 0.78);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-anchor: middle;
}
.map-slot-committed .slot-core { fill: var(--rosewood); }
.map-slot-committed .slot-cross { fill: none; stroke: var(--porcelain); stroke-width: 2.5; stroke-linecap: round; }
.map-slot-committed .slot-halo { fill: rgba(168, 111, 98, 0.12); }
.map-slot-open .slot-ring { fill: rgba(255, 248, 240, 0.6); stroke: var(--rosewood); stroke-width: 2.5; stroke-dasharray: 5 4; }
.map-slot-open .slot-halo {
  fill: rgba(201, 169, 106, 0.16);
  animation: pulseZone 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.map-ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.map-ledger div { display: grid; gap: 0.2rem; padding: 1rem 1.2rem; border-right: 1px solid var(--line); }
.map-ledger div:last-child { border-right: 0; }
.map-ledger span { color: rgba(33, 24, 21, 0.68); font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.map-ledger strong { color: var(--ink); }

/* ---------- apply ---------- */

.apply { padding-block: clamp(3rem, 5vw, 5rem) clamp(5.5rem, 9vw, 9rem); }
.apply-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.6rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
}
.apply-copy { display: grid; align-content: start; gap: 1.1rem; }
.apply-media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin-top: 0.8rem;
  aspect-ratio: 4 / 3;
}
.apply-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.mark-apply { left: 1rem; top: 1rem; }

.territory-form { display: grid; gap: 0.95rem; align-content: start; }
.territory-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}
.territory-form input,
.territory-form select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 248, 240, 0.8);
  color: var(--ink);
}
.territory-form input:focus,
.territory-form select:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(216, 167, 161, 0.2);
}
.territory-form input:focus-visible,
.territory-form select:focus-visible {
  outline: 2px solid var(--rosewood);
  outline-offset: 2px;
}
.territory-form .button { width: 100%; margin-top: 0.3rem; }
.form-reassure {
  color: rgba(33, 24, 21, 0.66);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}
.form-status { min-height: 1.5rem; color: var(--rosewood-ink); font-size: 0.9rem; }
.form-note { color: rgba(33, 24, 21, 0.68); font-size: 0.92rem; }

/* ---------- footer ---------- */

.footer {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 248, 240, 0) 0%, rgba(216, 167, 161, 0.12) 100%);
}
.footer-inner { display: grid; gap: 1rem; padding-block: 3.2rem 2.6rem; }
.footer-word {
  color: rgba(33, 24, 21, 0.9);
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 10.5rem);
  font-weight: 320;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 0.9;
  white-space: nowrap;
}
.footer-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.6rem;
}
.footer-row p { margin-top: 0.8rem; max-width: 34rem; }
.footer-link { color: var(--rosewood-ink); font-weight: 800; }
.footer-link:hover { text-decoration: underline; }

/* ---------- motion toggle ---------- */

.motion-toggle {
  position: absolute;
  z-index: 5;
  right: max(calc((100% - 1240px) / 2), 20px);
  bottom: 1.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 248, 240, 0.32);
  border-radius: 999px;
  background: rgba(27, 19, 16, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--porcelain);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.motion-toggle:hover { border-color: rgba(201, 169, 106, 0.6); }

/* ---------- reveals + keyframes ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms cubic-bezier(0.16, 1, 0.3, 1), transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

html.js .hero .mark,
html.js .hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
body.is-loaded .hero .mark,
body.is-loaded .hero-content > * {
  opacity: 1;
  transform: translateY(0);
}
body.is-loaded .hero-content > :nth-child(1) { transition-delay: 60ms; }
body.is-loaded .hero-content > :nth-child(2) { transition-delay: 140ms; }
body.is-loaded .hero-content > :nth-child(3) { transition-delay: 240ms; }
body.is-loaded .hero-content > :nth-child(4) { transition-delay: 330ms; }
body.is-loaded .hero-content > :nth-child(5) { transition-delay: 410ms; }
body.is-loaded .mark-hero-1 { transition-delay: 550ms; }
body.is-loaded .mark-hero-2 { transition-delay: 700ms; }
body.is-loaded .mark-hero-3 { transition-delay: 850ms; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes dashRoute { to { stroke-dashoffset: -220; } }
@keyframes pulseZone { 0%, 100% { transform: scale(1); opacity: 0.78; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes pointBlink { 0%, 100% { opacity: 0.58; } 50% { opacity: 1; } }
@keyframes crossPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* ---------- responsive ---------- */

@media (max-height: 780px) and (min-width: 701px) {
  .mark-hero-3 { display: none; }
}

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-menu-toggle { display: inline-flex; }
  .industry, .system-inner, .territory, .apply-card, .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 1; }
  .split-reverse .split-copy { order: 2; }
  .apply-copy { display: contents; }
  .territory-form { order: 2; }
  .apply-media { order: 3; margin-top: 0.4rem; }
  .split-media { aspect-ratio: 4 / 3; }
  .split-media img { height: 100%; object-fit: cover; }
  .industry-media, .system-intro { position: static; }
  .system-grid { grid-template-columns: 1fr 1fr; }
  .journey-line { grid-template-columns: 1fr 1fr; }
  .journey-line::before { display: none; }
  .hero-content { padding-top: 32svh; }
  .mark-hero-2, .mark-hero-3 { display: none; }
}

@media (max-width: 700px) {
  .section-shell { width: calc(100% - 28px); }
  .nav-shell { top: 10px; }
  .hero-video { display: none; }
  .hero-content { padding-top: 27svh; gap: 1.2rem; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(27, 19, 16, 0.2) 0%, rgba(27, 19, 16, 0) 30%),
      linear-gradient(4deg, rgba(248, 239, 231, 0.98) 16%, rgba(248, 239, 231, 0.65) 38%, rgba(248, 239, 231, 0) 62%);
  }
  .mark {
    max-width: calc(100% - 2rem);
    padding: 0.42rem 0.7rem 0.42rem 0.58rem;
    border-radius: 18px;
    font-size: 0.6rem;
    line-height: 1.5;
    white-space: normal;
  }
  .mark-hero-1 { top: 12%; right: 5%; }
  .mark-hero-3 { display: inline-flex; top: 24%; right: auto; left: 5%; }
  .nav-cta { font-size: 0.78rem; padding: 0 1rem; }
  .motion-toggle { bottom: 1rem; right: 14px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .system-grid, .journey-line, .faq-grid { grid-template-columns: 1fr; }
  .system { margin-inline: 6px; }
  .strip { padding-inline: 14px; }
  .strip-hint { padding-inline: 14px; }
  .frame { flex-basis: min(78vw, 340px); }
  .map-ledger { grid-template-columns: 1fr; }
  .map-ledger div { border-right: 0; border-bottom: 1px solid var(--line); }
  .map-ledger div:last-child { border-bottom: 0; }
  .soft-map { min-height: 320px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .brand-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal], html.js .hero .mark, html.js .hero-content > * { opacity: 1; transform: none; }
  .hero-video, .system-video, .motion-toggle { display: none; }
}
