:root {
  color-scheme: dark;
  --bg: #0d0f14;
  --surface: #14171d;
  --text: #f1eee7;
  --muted: #b9b7b0;
  --hairline: rgba(241, 238, 231, 0.16);
  --web: #e8a87c;
  --ai: #aaa5ff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

::selection {
  background: var(--web);
  color: var(--bg);
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure {
  margin-top: 0;
}

button,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page main {
  flex: 1;
}

body > a[href="#main-content"] {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

body > a[href="#main-content"]:focus {
  transform: translateY(0);
}

.shell {
  width: calc(100% - (2 * var(--gutter)));
  max-width: var(--shell);
  margin-inline: auto;
}

.draft-banner {
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 6px var(--gutter);
  background: var(--web);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-align: center;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}

.site-header > .shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--web);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1.2;
}

.brand-copy > span:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-copy > span:last-child {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-size: 13px;
}

.nav-links > a:not(.button) {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links > a:not(.button):hover {
  color: var(--text);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 18px;
  border: 1px solid rgba(241, 238, 231, 0.5);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  border-color: var(--text);
  background: var(--surface);
}

.button-primary {
  border-color: var(--web);
  background: var(--web);
  color: var(--bg);
}

.button-primary:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 240ms var(--ease);
}

.button:hover .arrow-icon,
.route-link:hover .arrow-icon,
.contact-panel a:hover .arrow-icon {
  transform: translateX(3px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--web);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.display {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 64px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lede {
  max-width: 700px;
  color: #d6d3cb;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  text-wrap: pretty;
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  width: fit-content;
  color: var(--text);
  text-decoration-color: var(--hairline);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.footer-inner a:hover {
  text-decoration-color: var(--web);
}

/* ───── portal ───────────────────────────────────── */

.portal-page {
  counter-reset: proof-counter;
}

.portal-hero {
  margin-top: clamp(56px, 8vw, 110px);
  margin-bottom: clamp(44px, 6vw, 84px);
}

.portal-heading {
  margin: 0 0 16px 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 104px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.portal-heading em {
  font-weight: 350;
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 1.6vw, 26px);
  margin-bottom: 64px;
}

.route-card {
  position: relative;
  padding: clamp(32px, 4vw, 60px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(24px, 3.2vw, 44px);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 300ms var(--ease);
}

.route-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  z-index: 1;
}

.route-web::after {
  border: 2px solid var(--web);
  box-shadow: 0 0 0 8px rgba(232, 168, 124, 0.06);
}

.route-ai::after {
  border: 2px solid var(--ai);
  box-shadow: 0 0 0 8px rgba(170, 165, 255, 0.06);
}

.route-card:hover::after {
  opacity: 1;
}

.route-card:focus-visible {
  outline-offset: 2px;
}

.route-index {
  margin-right: 6px;
  color: var(--web);
  font-weight: 600;
  font-feature-settings: "tnum";
}

.route-ai .route-index {
  color: var(--ai);
}

.route-kicker {
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-title {
  margin: 0 0 14px 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.3vw, 36px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.route-description {
  margin: 0 0 16px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.route-points {
  margin: 0 0 22px 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  display: grid;
  gap: 5px;
}

.route-points > li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--web);
  vertical-align: middle;
}

.route-ai .route-points > li::before {
  background: var(--ai);
}

.route-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid var(--web);
  border-radius: 2px;
  background: var(--web);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.route-link:hover {
  background: var(--text);
  border-color: var(--text);
}

.route-ai .route-link {
  background: var(--ai);
  border-color: var(--ai);
  color: var(--bg);
}

.route-ai .route-link:hover {
  background: var(--text);
  border-color: var(--text);
}

.route-link:focus-visible {
  outline-offset: 2px;
}

.route-visual {
  margin: 0;
  align-self: end;
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  transition: transform 400ms var(--ease);
  will-change: transform;
}

.route-visual > * {
  width: 100%;
}

.route-card:hover .route-visual {
  transform: scale(1.008) translateX(2px);
}

.browser-mock {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.browser-bar {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--hairline);
}

.browser-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline);
}

.browser-line {
  height: 8px;
  margin: 16px 40px 0 16px;
  border-radius: 4px;
  background: var(--hairline);
}

.browser-block {
  height: 46px;
  margin: 12px 16px 0 16px;
  border-radius: 4px;
  background: rgba(232, 168, 124, 0.08);
}

.browser-line:last-of-type {
  margin-bottom: 28px;
}

.receipt-mock {
  padding: 22px 20px 20px 20px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.receipt-line {
  height: 18px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  border-radius: 3px;
  background: rgba(170, 165, 255, 0.08);
}

.receipt-line > span:first-child {
  flex: 0 0 40%;
  background: rgba(170, 165, 255, 0.14);
  border-radius: 3px;
}

.receipt-line:nth-child(3) > span:first-child {
  flex: 0 0 55%;
}

.receipt-line:nth-child(4) > span:first-child {
  flex: 0 0 35%;
}

.receipt-status {
  height: 14px;
  display: flex;
  gap: 10px;
  border-radius: 3px;
}

.receipt-status > span:first-child {
  flex: 0 0 28%;
  border-radius: 3px;
  background: var(--ai);
  opacity: 0.35;
}

.proof-strip {
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 3vw, 56px);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 36px);
  padding-block: 28px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.proof-item {
  margin: 0;
  display: grid;
  gap: 2px;
  font-size: 14px;
  line-height: 1.6;
}

.proof-item strong {
  font-size: 15px;
  font-weight: 600;
  font-feature-settings: "tnum";
}

.proof-item > span {
  color: var(--muted);
}

.family-note {
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

/* ───── studio ───────────────────────────────────── */

.studio-hero {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: clamp(32px, 4.5vw, 64px);
}

.studio-heading {
  margin: 0 0 16px 0;
  font-family: var(--font-sans);
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.studio-heading em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #e8a87c 5%, #d9b3c8 60%, #aaa5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.studio-copy {
  color: var(--muted);
}

.studio-copy .lede {
  max-width: none;
}

.studio-copy .button {
  margin-top: 16px;
}

.studio-visual {
  margin: 0;
}

.studio-shot {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.work-list {
  margin-top: clamp(52px, 6vw, 80px);
}

.work-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.2vw, 30px);
  padding-block: clamp(36px, 4.4vw, 60px);
  border-top: 1px solid var(--hairline);
  counter-increment: work-counter;
}

.work-row:first-of-type {
  padding-inline: clamp(18px, 2vw, 28px);
  border-left: 2px solid var(--web);
  background-color: rgba(241, 238, 231, 0.025);
}

.work-row:nth-of-type(2) {
  background-color: rgba(241, 238, 231, 0.014);
}

.work-row:last-of-type {
  border-bottom: 1px solid var(--hairline);
}

.work-index {
  width: 32px;
  padding-top: 2px;
  color: var(--web);
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  font-feature-settings: "tnum";
  text-align: right;
}

.work-main {
  min-width: 0;
}

.work-status {
  margin: 0 0 6px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-title {
  margin: 0 0 10px 0;
  font-family: var(--font-sans);
  font-size: clamp(22px, 1.9vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.022em;
}

.work-copy {
  margin: 0 0 16px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 62ch;
}

.metrics {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0 clamp(20px, 2.4vw, 32px);
  font-size: 13px;
  line-height: 1.6;
}

.metric {
  margin: 0;
}

.metric > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.metric > strong {
  font-weight: 600;
  font-feature-settings: "tnum";
}

.pricing-list {
  margin-top: 64px;
}

.price-row {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.5fr;
  align-items: start;
  gap: clamp(16px, 1.8vw, 26px);
  padding-block: clamp(32px, 3.6vw, 50px);
  border-top: 1px solid var(--hairline);
}

.price-row:last-child {
  border-bottom: 1px solid var(--hairline);
}

.price-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.price-value {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  font-feature-settings: "tnum";
  white-space: nowrap;
}

.price-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.price-includes {
  margin: 8px 0 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.price-row .button {
  margin-top: 14px;
}

.contact-panel {
  margin-top: 64px;
  margin-bottom: 40px;
}

.contact-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.contact-panel p a:not(.button) {
  color: var(--web);
}

/* ───── responsive ────────────────────────────────── */

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

  .route-card {
    grid-template-rows: auto auto;
  }

  .studio-hero {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 32px;
    text-align: center;
  }

  .footer-inner a,
  .footer-inner p {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-header > .shell {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
    gap: 12px;
  }

  .brand-copy > span:first-child {
    font-size: 11px;
  }

  .portal-heading {
    font-size: clamp(36px, 9vw, 56px);
  }

  .studio-heading {
    font-size: clamp(28px, 7vw, 42px);
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   THE SEAM — split portal hero (v2)
   Left half: warm dawn (Aurora Web Studio).
   Right half: cool night (Lumen Agent Runtime).
   The signature interaction: the seam itself responds to the
   choice — hovering a side widens it and lights its seam node.
   ============================================================ */

.split-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* row 1 = shared heading, row 2 = panel content: content can never rise into the heading */
  grid-template-rows: auto 1fr;
  min-height: clamp(640px, 88vh, 980px);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  transition: grid-template-columns 600ms var(--ease);
}

.split-hero:has(.half-dawn:hover),
.split-hero:has(.half-dawn:focus-within) {
  grid-template-columns: 1.06fr 0.94fr;
}

.split-hero:has(.half-night:hover),
.split-hero:has(.half-night:focus-within) {
  grid-template-columns: 0.94fr 1.06fr;
}

.half {
  position: relative;
  grid-row: 1 / -1;
  display: grid;
  /* the half paints behind the heading row but places its content in row 2 */
  grid-template-rows: subgrid;
  padding: clamp(24px, 3vw, 56px);
  overflow: hidden;
  transition: filter 400ms ease;
}

.half-dawn { grid-column: 1; }
.half-night { grid-column: 2; }

.half::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(140% 110% at 50% 0%, transparent 55%, rgba(0, 0, 0, 0.42) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
  z-index: 1;
}

.half::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.035) 0%, transparent 26%);
}

.split-hero:has(.half:hover) .half:not(:hover),
.split-hero:has(.half:focus-within) .half:not(:focus-within) {
  filter: brightness(0.72);
}

.half-dawn {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(232, 168, 124, 0.16), transparent 55%),
    linear-gradient(160deg, #201510 0%, #17100b 62%, #120c08 100%);
}

.half-night {
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(170, 165, 255, 0.14), transparent 55%),
    linear-gradient(200deg, #141020 0%, #100c1c 62%, #0c0a16 100%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  width: min(1040px, 92vw);
  padding: clamp(28px, 5vh, 64px) 0 clamp(24px, 4vh, 48px);
  text-align: center;
  pointer-events: none;
}

.hero-copy .eyebrow {
  pointer-events: auto;
}

.portal-title {
  margin: 12px 0 10px 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(38px, 5.6vw, 78px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--text);
  text-wrap: balance;
}

.portal-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.12em;
  letter-spacing: -0.015em;
  background: linear-gradient(100deg, #e8a87c 10%, #d9b3c8 55%, #aaa5ff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.6;
  text-wrap: balance;
}

/* The seam */

.seam {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(232, 168, 124, 0.75) 18%, rgba(170, 165, 255, 0.75) 82%, transparent 100%);
  box-shadow:
    -6px 0 22px rgba(232, 168, 124, 0.16),
    6px 0 22px rgba(170, 165, 255, 0.16);
  transform: translateX(-50%);
  transition: left 600ms var(--ease);
  pointer-events: none;
}

.split-hero:has(.half-dawn:hover) .seam {
  left: 53%;
}

.split-hero:has(.half-night:hover) .seam {
  left: 47%;
}

.seam::before {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: -22px;
  width: 45px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(232, 168, 124, 0.16) 22%,
    rgba(170, 165, 255, 0.16) 78%,
    transparent 100%);
  filter: blur(9px);
}

.seam::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: -1px;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(232, 168, 124, 0.35) 30%,
    rgba(170, 165, 255, 0.35) 70%,
    transparent 100%);
  filter: blur(2px);
}

.seam-node {
  position: absolute;
  top: clamp(120px, 17vh, 210px);
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1.5px solid rgba(232, 168, 124, 0.8);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.split-hero:has(.half-dawn:hover) .seam-node {
  border-color: var(--web);
  box-shadow: 0 0 18px rgba(232, 168, 124, 0.55);
}

.split-hero:has(.half-night:hover) .seam-node {
  border-color: var(--ai);
  box-shadow: 0 0 18px rgba(170, 165, 255, 0.55);
}

/* Panel content */

.panel-number {
  position: absolute;
  grid-row: 2;
  top: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(110px, 15vw, 230px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  pointer-events: none;
  user-select: none;
  opacity: 0.32;
  transition: opacity 400ms ease;
}

.half-dawn .panel-number {
  left: clamp(8px, 1.5vw, 30px);
  -webkit-text-stroke: 1px rgba(232, 168, 124, 0.75);
  text-shadow: 0 0 60px rgba(232, 168, 124, 0.35);
}

.half-night .panel-number {
  right: clamp(8px, 1.5vw, 30px);
  -webkit-text-stroke: 1px rgba(170, 165, 255, 0.7);
  text-shadow: 0 0 60px rgba(170, 165, 255, 0.35);
}

.half:hover .panel-number {
  opacity: 0.55;
}

.panel-content {
  position: relative;
  z-index: 2;
  grid-row: 2;
  align-self: end;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
}

.half-night .panel-content {
  margin-left: auto;
}

.panel-kicker {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.half-dawn .panel-kicker { color: #e8a87c; }
.half-night .panel-kicker { color: #aaa5ff; }

.panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 2.9vw, 46px);
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--text);
}

.panel-desc {
  margin: 0 0 6px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 46ch;
}

/* Real product surfaces */

.product-frame {
  margin: 6px 0 10px 0;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform 500ms var(--ease), box-shadow 500ms ease;
}

.half:hover .product-frame {
  transform: translateY(-6px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
}

.frame-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
}

.frame-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.frame-chrome em {
  margin-left: 10px;
  font-style: normal;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-frame img {
  display: block;
  width: 100%;
  height: clamp(170px, 22vh, 240px);
  object-fit: cover;
  object-position: top center;
}

.product-frame figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.receipt-frame pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
}

.receipt-frame code {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.75;
  color: #d8d3e2;
  white-space: pre;
}

/* Illustrative concept site: a fictional business drawn as real HTML in browser chrome.
   Not a client, no figures, no prices, no links. Pairs with the receipt frame on the AI side. */

.mini-site {
  container-type: inline-size;
  padding: 14px 16px 16px;
  background: #f3ede3;
  color: #1f1b16;
  font-family: var(--font-body);
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 27, 22, 0.14);
}

.mini-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.mini-brand span {
  color: #8f4420;
}

.mini-nav,
.mini-services {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-nav {
  display: flex;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
}

.mini-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
  padding: 16px 0 14px;
}

.mini-eyebrow {
  margin: 0 0 6px;
  color: #8f4420;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-headline {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(19px, 5.2cqi, 28px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mini-sub {
  margin: 0 0 12px;
  color: #4a4238;
  font-size: 11.5px;
  line-height: 1.5;
}

.mini-button {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 2px;
  background: #1f1b16;
  color: #f3ede3;
  font-size: 11px;
  font-weight: 600;
}

.mini-photo {
  min-height: 120px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(ellipse 30% 9% at 62% 58%, rgba(92, 52, 22, 0.45), transparent 70%),
    repeating-linear-gradient(94deg, #b98552 0 3px, #a8743f 3px 5px, #c39062 5px 9px, #ad7a46 9px 12px);
  box-shadow: inset 0 0 0 1px rgba(31, 27, 22, 0.12);
}

.mini-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 27, 22, 0.14);
  color: #4a4238;
  font-size: 10.5px;
  line-height: 1.4;
}

.mini-services strong {
  display: block;
  color: #1f1b16;
  font-size: 12px;
  font-weight: 600;
}

@container (max-width: 400px) {
  .mini-hero {
    grid-template-columns: 1fr;
  }

  .mini-photo {
    order: -1;
    min-height: 60px;
  }

  .mini-nav {
    gap: 10px;
  }
}

/* Panel CTA */

.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 13px 22px;
  border: 1px solid;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, gap 180ms ease;
}

.panel-cta:hover {
  gap: 18px;
}

.half-dawn .panel-cta {
  background: var(--web);
  border-color: var(--web);
  color: var(--bg);
}

.half-dawn .panel-cta:hover {
  background: var(--text);
  border-color: var(--text);
}

.half-night .panel-cta {
  background: var(--ai);
  border-color: var(--ai);
  color: var(--bg);
}

.half-night .panel-cta:hover {
  background: var(--text);
  border-color: var(--text);
}

.panel-cta:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

/* Scroll flourish: base state stays visible (screenshot-safe);
   .in-view only adds motion on top. */

@keyframes soft-rise {
  from { opacity: 0.35; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.proof-item.in-view {
  animation: soft-rise 700ms var(--ease) backwards;
}

.proof-item:nth-child(2).in-view { animation-delay: 80ms; }
.proof-item:nth-child(3).in-view { animation-delay: 160ms; }
.proof-item:nth-child(4).in-view { animation-delay: 240ms; }

.family-note.in-view {
  animation: soft-rise 700ms var(--ease) 200ms backwards;
}

@media (prefers-reduced-motion: reduce) {
  .proof-item.in-view,
  .family-note.in-view {
    animation: none;
  }
}

/* Entrance: the two worlds settle in */

@keyframes dawn-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.half-dawn .panel-content { animation: dawn-rise 900ms var(--ease) 120ms backwards; }
.half-night .panel-content { animation: dawn-rise 900ms var(--ease) 260ms backwards; }
.hero-copy { animation: dawn-rise 800ms var(--ease) 60ms backwards; }

@media (prefers-reduced-motion: reduce) {
  .half-dawn .panel-content,
  .half-night .panel-content,
  .hero-copy { animation: none; }
  .split-hero { transition: none; }
}

/* Stacked layout: the seam becomes a horizon */

@media (max-width: 900px) {
  .split-hero,
  .split-hero:has(.half:hover),
  .split-hero:has(.half:focus-within) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
  }

  .half {
    padding: clamp(28px, 7vw, 44px) clamp(20px, 5vw, 36px) clamp(32px, 5vw, 48px);
  }

  /* stacked: heading (row 1) sits on dawn (rows 1-2); night gets row 3 */
  .half-dawn {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .half-night {
    grid-column: 1;
    grid-row: 3;
    grid-template-rows: none;
  }

  .half .panel-content {
    margin-top: clamp(44px, 12vw, 76px);
  }

  /* stacked: the route CTA stays above the fold, the product frame follows it */
  .panel-content .product-frame {
    order: 1;
  }

  .half-night .panel-content {
    margin-left: 0;
  }

  .hero-copy {
    padding-top: 26px;
  }

  /* the seam becomes the horizon between the two stacked halves */
  .seam,
  .split-hero:has(.half:hover) .seam {
    grid-row: 3;
    grid-column: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(232, 168, 124, 0.5) 18%, rgba(170, 165, 255, 0.5) 82%, transparent 100%);
    transform: none;
  }

  .seam-node {
    display: none;
  }

  .panel-number {
    top: 0;
    font-size: clamp(64px, 17vw, 104px);
    opacity: 0.22;
  }

  .half-dawn .panel-number {
    left: 18px;
  }

  .half-night .panel-number {
    right: 18px;
  }
}

/* Studio inherits the portal's depth language:
   seam-gradient section dividers, mid-width proof grid. */

.work-list::before,
.pricing-list::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232, 168, 124, 0.5) 22%,
    rgba(170, 165, 255, 0.5) 78%,
    transparent 100%);
}

.family-note.shell {
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 3vw, 56px);
}

.work-row,
.price-row {
  border-top: none;
  background-image: linear-gradient(90deg,
    transparent 0%,
    rgba(232, 168, 124, 0.28) 22%,
    rgba(170, 165, 255, 0.28) 78%,
    transparent 100%);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top left;
}

.work-main figure {
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

@media (max-width: 900px) {
  .receipt-frame code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .receipt-frame pre {
    overflow-x: visible;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .route-card:hover .route-visual {
    transform: none;
  }

  .menu-row::before {
    transition: none;
  }
}

/* ===== THE MENU — every product in one place (demand decides) ===== */
.menu {
  margin-top: 96px;
}

.menu-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 12px 0 16px;
}

.menu-title em {
  font-style: italic;
  color: var(--web);
}

.menu-sub {
  max-width: 620px;
  color: var(--muted);
  margin: 0 0 40px;
}

.menu-list {
  border-top: 1px solid var(--hairline);
}

.menu-row {
  --row-accent: var(--web);
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 2.2fr) minmax(0, 1.1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 8px 28px 20px;
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.35s var(--ease);
}

.menu-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--row-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.menu-row:hover::before {
  transform: scaleY(1);
}

.menu-row.menu-cool {
  --row-accent: var(--ai);
}

.menu-row.menu-cool:hover {
  background-color: rgba(170, 165, 255, 0.05);
}

.menu-row.menu-warm:hover {
  background-color: rgba(232, 168, 124, 0.05);
}

.menu-index {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
  color: var(--row-accent);
}

.menu-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.menu-description {
  margin: 0 0 8px;
  color: var(--muted);
  max-width: 52ch;
}

.menu-includes {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.85;
  max-width: 60ch;
}

.menu-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-row .button {
  justify-self: end;
}

.menu-note {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .menu-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 24px 8px 24px 16px;
  }

  .menu-price {
    grid-column: 2;
  }

  .menu-row .button {
    grid-column: 2;
    justify-self: start;
  }
}
