/* ==========================================================================
   VALE DIGITAL
   Design system: obsidian surfaces, hairline rules, champagne accents.
   ========================================================================== */

:root {
  /* Palette */
  --obsidian: #0c0d0e;
  --obsidian-2: #101113;
  --slate: #17181a;
  --slate-2: #1d1e21;
  --champagne: #c5a880;
  --champagne-bright: #d9c19c;
  --gold: #d4af37;
  --ink: #f9fafb;
  --ink-soft: rgba(249, 250, 251, 0.78);
  --cashmere: #8e9299;
  --cashmere-dim: #61656c;

  /* Hairlines */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-accent: rgba(197, 168, 128, 0.38);
  --line-accent-soft: rgba(197, 168, 128, 0.18);
  --metal-rule: linear-gradient(90deg,
      rgba(197, 168, 128, 0) 0%,
      rgba(197, 168, 128, 0.55) 18%,
      rgba(255, 255, 255, 0.22) 50%,
      rgba(197, 168, 128, 0.4) 82%,
      rgba(197, 168, 128, 0) 100%);

  /* Type */
  --font-display: "General Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
  --section-pad: clamp(96px, 12vw, 176px);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;
  --dur-fast: 0.3s;

  /* Depth */
  --glass: rgba(23, 24, 26, 0.62);
  --shadow-highlight: inset 0 2px 0 0 rgba(255, 255, 255, 0.02);
  /* Shadows use spread = -blur / 2 so they fall straight down and never reach
     past an element's sides, where they would carve dark rings into glows. */
  --shadow-drop:
    0 2px 4px -2px rgba(0, 0, 0, 0.06),
    0 6px 12px -6px rgba(0, 0, 0, 0.08),
    0 14px 28px -14px rgba(0, 0, 0, 0.1),
    0 28px 56px -28px rgba(0, 0, 0, 0.14),
    0 56px 112px -56px rgba(0, 0, 0, 0.2);
  --shadow-ambient: var(--shadow-highlight), var(--shadow-drop);
  --shadow-lift:
    0 4px 8px -4px rgba(0, 0, 0, 0.08),
    0 12px 24px -12px rgba(0, 0, 0, 0.12),
    0 28px 56px -28px rgba(0, 0, 0, 0.18),
    0 56px 112px -56px rgba(0, 0, 0, 0.24),
    0 96px 160px -80px rgba(0, 0, 0, 0.28);
  --glow-champagne:
    0 40px 90px -40px rgba(197, 168, 128, 0.06),
    0 70px 150px -60px rgba(197, 168, 128, 0.07);
  --glow-champagne-lift:
    0 50px 110px -45px rgba(197, 168, 128, 0.08),
    0 90px 180px -70px rgba(197, 168, 128, 0.09);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html.scroll-smooth { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ol, ul, blockquote, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
code { font-family: var(--font-label); font-size: 0.9em; color: var(--champagne-bright); }
strong { font-weight: 500; color: var(--ink); }

::selection { background: rgba(197, 168, 128, 0.28); color: var(--ink); }

:focus-visible {
  outline: 1px solid var(--champagne);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--obsidian);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   Primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}
.mono-label.muted { color: var(--cashmere); }
.mono-label.accent { color: var(--champagne); }


.status-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.12);
  flex: none;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(197, 168, 128, 0.5);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Ambient architectural guides */
body { position: relative; }

.architectural-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.07) 1px, transparent 1.5px);
  background-size: 28px 28px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

main, .site-footer { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 52px;
  padding: 0 26px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition:
    color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.btn-arrow,
.btn-icon {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:hover .btn-icon { transform: translateY(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--obsidian);
  border: 1px solid var(--ink);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #ffffff, #e9e6e0);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px var(--obsidian), 0 0 0 2px var(--line-accent);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: rgba(255, 255, 255, 0.015);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--line-accent);
  background: rgba(197, 168, 128, 0.05);
  color: var(--champagne-bright);
}

.btn-nav {
  height: 38px;
  padding: 0 16px;
  font-size: 11px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn-nav:hover {
  border-color: var(--line-accent);
  color: var(--champagne-bright);
}

.btn-full { width: 100%; }

.text-cta {
  position: relative;
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  padding-bottom: 4px;
}
.text-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.text-cta:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 13, 14, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(12, 13, 14, 0.78);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-monogram {
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
}
.brand-monogram svg { display: block; width: 32px; height: 32px; }
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--ink);
}
.brand-sub { font-weight: 400; color: var(--cashmere); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--cashmere);
  transition: color var(--dur-fast) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--ink); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  position: relative;
}
.hamburger-line {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease), top var(--dur-fast) var(--ease);
}
.hamburger-line:nth-child(1) { top: 15px; }
.hamburger-line:nth-child(2) { top: 22px; }
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) { top: 18px; transform: rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) { top: 18px; transform: rotate(-45deg); }

.mobile-drawer {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(12, 13, 14, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mobile-drawer-inner { padding-top: 24px; padding-bottom: 32px; }
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.mobile-nav-item span {
  font-family: var(--font-label);
  font-size: 11px;
  color: var(--champagne);
  letter-spacing: 0.1em;
}
.mobile-nav-highlight { color: var(--champagne-bright); }

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
}

.section-header-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.section-meta-col {
  grid-column: 1 / span 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}
.section-title-col { grid-column: 5 / span 8; }

.section-header-centered { text-align: center; }
.section-header-centered .section-meta-col {
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  margin-bottom: 24px;
}
.section-header-centered .section-title-col { grid-column: 2 / span 10; }
.section-header-centered .section-lead { margin-left: auto; margin-right: auto; }

.section-emblem {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: clamp(190px, 16vw, 250px);
  margin-top: 32px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
}
.emblem-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  margin-bottom: 4px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 13, 14, 0.6);
}
.emblem-search-icon {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cashmere);
  border-radius: 50%;
}
.emblem-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 4px;
  height: 1px;
  background: var(--cashmere);
  transform: rotate(45deg);
}
.emblem-bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.emblem-result {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.emblem-result:nth-child(3) { opacity: 0.5; }
.emblem-result:nth-child(4) { opacity: 0.25; }
.emblem-mark {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.emblem-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.emblem-result.is-featured {
  border-color: var(--line-accent);
  background: linear-gradient(180deg, rgba(197, 168, 128, 0.08), rgba(197, 168, 128, 0.02));
  box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.04);
}
.is-featured .emblem-mark { background: var(--champagne); }
.is-featured .emblem-bar { background: rgba(249, 250, 251, 0.22); }
.is-featured .emblem-bar:first-child { background: rgba(249, 250, 251, 0.7); }

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.section-lead {
  margin-top: 28px;
  max-width: 620px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--cashmere);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: clamp(56px, 7vw, 112px) 0 clamp(96px, 10vw, 144px);
  overflow: hidden;
}
.hero-ambient-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 1100px;
  max-height: 1100px;
  background: radial-gradient(closest-side, rgba(197, 168, 128, 0.07), rgba(197, 168, 128, 0.02) 45%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, clamp(400px, 35vw, 560px)) minmax(0, 1fr);
  column-gap: clamp(56px, 5.5vw, 100px);
  align-items: center;
}
.hero-section > .container { max-width: 1580px; }
.hero-copy-col { grid-column: 1; position: relative; z-index: 2; }
.hero-stage-col { grid-column: 2; position: relative; padding-right: 6%; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 4.6vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}
.headline-accent {
  display: block;
  margin-top: 0.12em;
  color: transparent;
  background: linear-gradient(100deg, #8e9299 0%, #c9ccd1 38%, #c5a880 72%, #8e9299 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-supporting {
  margin-top: 32px;
  max-width: 500px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--cashmere);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}


/* Hardware stage */
.hardware-stage { position: relative; }

.stage-toggle-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.specimen-switcher {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(23, 24, 26, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.spec-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.5s var(--ease);
}
.specimen-switcher[data-active="ashby"] .spec-thumb { transform: translateX(100%); }
.spec-tab {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 32px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cashmere);
  transition: color 0.4s var(--ease);
}
.spec-tab:hover { color: var(--ink); }
.spec-tab.active,
.spec-tab.active:hover { color: var(--obsidian); }

/* Laptop chassis */
.macbook-chassis {
  position: relative;
  width: 100%;
  transform: perspective(2400px) rotateY(-4deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform 1.2s var(--ease);
}
.hardware-stage:hover .macbook-chassis { transform: perspective(2400px) rotateY(-2deg) rotateX(1deg); }

.macbook-screen-bezel {
  position: relative;
  aspect-ratio: 16 / 10.4;
  padding: 2.1% 1.6% 1.6%;
  border-radius: 18px 18px 6px 6px;
  background:
    linear-gradient(180deg, #050506, #0a0a0b);
  box-shadow:
    0 0 0 1px #2a2b2e,                         /* outer aluminium edge */
    0 0 0 2px #0b0b0c,
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 16px -8px rgba(0, 0, 0, 0.16),
    0 20px 40px -20px rgba(0, 0, 0, 0.22),
    0 40px 80px -40px rgba(0, 0, 0, 0.3),
    0 70px 140px -70px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}
.camera-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15%;
  height: 2.1%;
  min-height: 9px;
  background: #050506;
  border-radius: 0 0 8px 8px;
  z-index: 4;
  display: grid;
  place-items: center;
}
.camera-lens {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3442, #0b0d12 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.screen-glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 28%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 30%);
  border-radius: inherit;
}

.browser-chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 7%;
  min-height: 26px;
  padding: 0 12px;
  background: #1b1c1f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px 6px 0 0;
}
.browser-dots {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 5px;
}
.browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3b3f;
}
.browser-address {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 62%;
  max-width: 62%;
  margin: 0 auto;
  padding: 0 10px;
  border-radius: 4px;
  background: #111214;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-label);
  font-size: clamp(7px, 0.62vw, 10px);
  color: var(--cashmere);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}
.browser-address #mockup-url { overflow: hidden; text-overflow: ellipsis; }
.lock-icon { color: var(--champagne); flex: none; }

/* Specimen sites */
.flagship-viewport {
  --mk-bg: #f4f1ea;
  --mk-ink: #16171a;
  --mk-muted: #6d6a64;
  --mk-line: rgba(22, 23, 26, 0.12);
  --mk-accent: #8a6a3f;
  position: relative;
  z-index: 1;
  height: 93%;
  display: flex;
  flex-direction: column;
  background: var(--mk-bg);
  color: var(--mk-ink);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  container-type: inline-size;
  animation: specimenIn 0.9s var(--ease) both;
}
.flagship-viewport[hidden] { display: none; }
#specimen-ashby {
  --mk-bg: #12171a;
  --mk-ink: #eef0ec;
  --mk-muted: #8d9792;
  --mk-line: rgba(238, 240, 236, 0.1);
  --mk-accent: #c5a880;
}
@keyframes specimenIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqi;
  padding: 2.6cqi 4cqi;
  border-bottom: 1px solid var(--mk-line);
  font-size: 1.35cqi;
}
.mock-brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 1.5cqi;
}
.mock-links { display: flex; gap: 3cqi; color: var(--mk-muted); }
.mock-cta {
  font-family: var(--font-label);
  font-size: 1.15cqi;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mk-muted);
}

.mock-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 4cqi;
  padding: 4.5cqi 4cqi 4cqi;
  min-height: 0;
}
.mock-copy-side { display: flex; flex-direction: column; min-width: 0; }
.mock-kicker {
  font-family: var(--font-label);
  font-size: 1.05cqi;
  letter-spacing: 0.16em;
  color: var(--mk-accent);
}
.mock-title {
  margin-top: 1.8cqi;
  font-family: var(--font-display);
  font-size: 4cqi;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.mock-desc {
  margin-top: 1.8cqi;
  font-size: 1.45cqi;
  line-height: 1.55;
  color: var(--mk-muted);
  max-width: 92%;
}
.mock-btn-row { display: flex; gap: 1.2cqi; margin-top: 2.6cqi; }
.mock-btn-solid,
.mock-btn-ghost {
  font-size: 1.2cqi;
  padding: 1.1cqi 1.8cqi;
  border-radius: 0.3cqi;
  white-space: nowrap;
}
.mock-btn-solid { background: var(--mk-ink); color: var(--mk-bg); }
.mock-btn-ghost { border: 1px solid var(--mk-line); color: var(--mk-ink); }
.mock-metrics {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2cqi;
  padding-top: 2cqi;
  border-top: 1px solid var(--mk-line);
}
.mock-metrics small {
  display: block;
  font-family: var(--font-label);
  font-size: 0.95cqi;
  letter-spacing: 0.16em;
  color: var(--mk-muted);
}
.mock-metrics strong {
  display: block;
  margin-top: 0.5cqi;
  font-size: 1.3cqi;
  font-weight: 500;
  color: var(--mk-ink);
}

.mock-visual-side { min-width: 0; display: flex; }
.mock-art-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mk-line);
  border-radius: 0.4cqi;
  overflow: hidden;
}
.art-architectural-composition {
  position: relative;
  flex: 1;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(255, 236, 205, 0.55), transparent 60%),
    linear-gradient(160deg, #6b4f33 0%, #3d2b1c 55%, #24190f 100%);
  overflow: hidden;
}
.timber-slats {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 4%;
  padding: 0 8%;
}
.timber-slats span {
  flex: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.08) 30%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.4)),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0 2px, rgba(255, 255, 255, 0.02) 2px 7px),
    #8c6a46;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.35);
}
.art-architectural-composition::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55));
}
.topo-theme {
  background:
    radial-gradient(90% 70% at 70% 30%, rgba(197, 168, 128, 0.1), transparent 60%),
    linear-gradient(170deg, #1c2422, #0f1413);
}
.topo-theme::after { background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5)); }
.topo-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.art-overlay-badge {
  position: absolute;
  left: 2cqi;
  bottom: 2cqi;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4cqi;
  padding: 1.2cqi 1.6cqi;
  background: rgba(12, 13, 14, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.3cqi;
  color: #f9fafb;
}
.art-overlay-badge span {
  font-family: var(--font-label);
  font-size: 0.9cqi;
  letter-spacing: 0.16em;
  color: rgba(249, 250, 251, 0.7);
}
.art-overlay-badge strong { font-size: 1.35cqi; font-weight: 500; color: #f9fafb; }

/* Laptop deck */
.macbook-deck {
  position: relative;
  width: 112%;
  margin-left: -6%;
  height: clamp(10px, 1.3vw, 18px);
  border-radius: 2px 2px 14px 14px / 2px 2px 100% 100%;
  background:
    linear-gradient(180deg, #4a4c50 0%, #2a2b2e 22%, #1a1b1d 60%, #0e0e10 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 12px -6px rgba(0, 0, 0, 0.28),
    0 16px 28px -14px rgba(0, 0, 0, 0.34),
    0 32px 56px -28px rgba(0, 0, 0, 0.42);
}
.macbook-lip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14%;
  height: 42%;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #1a1b1d, #2d2e31);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

/* Handheld */
.handheld-chassis {
  position: absolute;
  right: -3%;
  bottom: 40px;
  z-index: 6;
  width: clamp(96px, 15.5%, 150px);
  aspect-ratio: 9 / 19.2;
  padding: 3px;
  border-radius: 13% / 6.2%;
  background: linear-gradient(140deg, #5d5f63 0%, #2c2d30 18%, #1a1b1d 50%, #3b3c40 82%, #6a6c70 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 4px 8px -4px rgba(0, 0, 0, 0.22),
    0 12px 24px -12px rgba(0, 0, 0, 0.28),
    0 28px 48px -24px rgba(0, 0, 0, 0.34),
    0 48px 80px -40px rgba(0, 0, 0, 0.42);
  transform: translateY(0) rotate(0.0001deg);
  transition: transform 1.2s var(--ease);
}
.hardware-stage:hover .handheld-chassis { transform: translateY(-6px); }
.handheld-bezel {
  position: relative;
  height: 100%;
  padding: 5px;
  border-radius: 12% / 5.7%;
  background: #040405;
  overflow: hidden;
}
.handheld-bezel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 35%);
  border-radius: inherit;
  z-index: 3;
}
.dynamic-island {
  position: absolute;
  top: 3.2%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 3.6%;
  border-radius: 99px;
  background: #000;
  z-index: 4;
}
.handheld-screen {
  height: 100%;
  border-radius: 9% / 4.4%;
  padding: 26% 9% 9%;
  display: flex;
  flex-direction: column;
  gap: 8%;
  background: #f4f1ea;
  color: #16171a;
  container-type: inline-size;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.handheld-screen.is-dark { background: #12171a; color: #eef0ec; }
.hh-top { display: flex; flex-direction: column; gap: 3cqi; }
.hh-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 7.4cqi;
  letter-spacing: 0.18em;
}
.hh-headline {
  font-family: var(--font-display);
  font-size: 12cqi;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hh-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(127, 127, 127, 0.25);
}
.hh-row {
  display: flex;
  flex-direction: column;
  gap: 1.5cqi;
  padding: 5cqi 0;
  border-bottom: 1px solid rgba(127, 127, 127, 0.25);
}
.hh-row span {
  font-family: var(--font-label);
  font-size: 5cqi;
  letter-spacing: 0.14em;
  opacity: 0.6;
}
.hh-row strong { font-size: 6.8cqi; font-weight: 500; color: inherit; }
.hh-gold { color: #8a6a3f !important; }
.handheld-screen.is-dark .hh-gold { color: #c5a880 !important; }
.hh-action-pill {
  margin-top: auto;
  padding: 6cqi 0;
  text-align: center;
  font-size: 6.4cqi;
  border-radius: 3cqi;
  background: #16171a;
  color: #f4f1ea;
}
.handheld-screen.is-dark .hh-action-pill { background: #eef0ec; color: #12171a; }


/* --------------------------------------------------------------------------
   2. Value — Pillars
   -------------------------------------------------------------------------- */
.pillars-ledger { position: relative; }

.pillar-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding: clamp(36px, 4vw, 56px) 0;
}
.pillar-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.pillar-row::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--metal-rule);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.pillar-row.is-visible::after { transform: scaleX(1); }
.pillar-row:first-child::after { display: none; }
.pillar-row:last-child { border-bottom: 1px solid var(--line); }

.pillar-index-col {
  grid-column: 1 / span 4;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(197, 168, 128, 0.6);
  transition: color var(--dur) var(--ease);
}
.pillar-row:hover .pillar-num { color: rgba(197, 168, 128, 0.12); }
.pillar-tag {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--cashmere);
}
.pillar-headline-col { grid-column: 5 / span 4; }
.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.pillar-body-col { grid-column: 9 / span 4; }
.pillar-body-col p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cashmere);
}

.closing-anchor-panel {
  position: relative;
  margin-top: clamp(72px, 9vw, 128px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  align-items: end;
}
.anchor-line-left {
  grid-column: 1 / span 4;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, rgba(197, 168, 128, 0), rgba(197, 168, 128, 0.6));
}
.anchor-quote {
  grid-column: 5 / span 8;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.closing-anchor-panel .mono-label { grid-column: 5 / span 8; }

/* --------------------------------------------------------------------------
   3. Process
   -------------------------------------------------------------------------- */
.process-track-wrapper { position: relative; }

.process-progress-bar {
  position: relative;
  height: 28px;
  margin-bottom: 0;
}
.progress-rail {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}
.progress-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--champagne), var(--champagne-bright));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}
.progress-nodes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.p-node {
  position: relative;
  display: flex;
  align-items: center;
}
.p-node span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--obsidian);
  border: 1px solid var(--line-strong);
}
.p-node.is-lit span {
  background: var(--champagne);
  border-color: var(--champagne);
  box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.08);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-left: 1px solid var(--line);
  background: var(--obsidian-2);
}
.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px clamp(20px, 2vw, 32px) 40px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-num {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--champagne);
}
.process-title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.process-desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--cashmere);
}

/* Step illustrations */
.pv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 148px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(197, 168, 128, 0.07), transparent 60%),
    rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition: opacity 0.8s var(--ease), border-color 0.8s var(--ease);
}
.pv-caption {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cashmere);
}

.pv-window {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 82%;
  max-width: 200px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(12, 13, 14, 0.7);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.9);
}
.pv-dots { display: flex; gap: 3px; }
.pv-dots i { width: 4px; height: 4px; border-radius: 50%; background: #3a3b3f; }
.pv-block {
  display: block;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.pv-nav { height: 4px; width: 40%; }
.pv-hero {
  height: 38px;
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.45), rgba(197, 168, 128, 0.12));
  transition-delay: 0.12s;
}
.pv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pv-cols .pv-block { height: 16px; }
.pv-cols .pv-block:nth-child(1) { transition-delay: 0.24s; }
.pv-cols .pv-block:nth-child(2) { transition-delay: 0.32s; }
.pv-cols .pv-block:nth-child(3) { transition-delay: 0.4s; }

.pv-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  background: rgba(12, 13, 14, 0.7);
  font-family: var(--font-label);
  font-size: 12px;
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.05);
}
.pv-lock { width: 12px; height: 12px; color: var(--champagne); flex: none; }
.pv-cursor {
  position: absolute;
  left: 58%;
  top: 46%;
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
}

.pv-decide { gap: 8px; }
.pv-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72%;
  max-width: 170px;
  height: 30px;
  border-radius: 4px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: box-shadow 0.8s var(--ease);
}
.pv-btn-yes { background: var(--champagne); color: var(--obsidian); }
.pv-btn-no { border: 1px solid var(--line-strong); color: var(--cashmere); }
.pv-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12px;
}
.pv-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--champagne);
}
.pv-live { font-weight: 600; color: var(--ink); }
.pv-domain { color: var(--cashmere); }
.pv-uptime { display: flex; gap: 3px; align-items: flex-end; height: 26px; }
.pv-uptime i {
  width: 4px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--champagne), rgba(197, 168, 128, 0.35));
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
/* Cards light up as the progress rail reaches them */
.process-grid.has-progress .process-card:not(.is-lit) .pv { opacity: 0.4; }
.process-grid.has-progress .process-card.is-lit .pv { border-color: var(--line-strong); }
.process-grid.has-progress .process-card:not(.is-lit) .pv-block { transform: scaleX(0); }
.process-grid.has-progress .process-card:not(.is-lit) .pv-cursor { transform: translate(28px, 24px); opacity: 0; }
.process-grid.has-progress .process-card:not(.is-lit) .pv-uptime i { transform: scaleY(0.15); }
.process-card.is-lit .pv-btn-yes { box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.12), 0 8px 24px -8px rgba(197, 168, 128, 0.5); }
.pv-uptime i:nth-child(odd) { transition-delay: 0.05s; }
.pv-uptime i:nth-child(3n) { transition-delay: 0.1s; }
/* --------------------------------------------------------------------------
   4. Stewardship
   -------------------------------------------------------------------------- */
.stewardship-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
.stewardship-intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--header-h) + 48px);
  padding-right: clamp(0px, 3vw, 48px);
}
.stewardship-intro .section-headline { margin-top: 20px; }

.stewardship-grid {
  --cell-pad: clamp(28px, 3vw, 44px);
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.steward-cell {
  display: grid;
  grid-template-columns: minmax(0, 320px);
  align-content: start;
  padding: var(--cell-pad);
}
.steward-cell:nth-child(odd) { justify-content: end; padding-left: 0; border-right: 1px solid var(--line-strong); }
.steward-cell:nth-child(even) { justify-content: start; padding-right: 0; }
.steward-cell:nth-child(-n + 2) { align-content: end; padding-top: 0; border-bottom: 1px solid var(--line-strong); }
.steward-cell:nth-child(n + 3) { padding-bottom: 0; }
.cell-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.cell-desc {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--cashmere);
}

/* --------------------------------------------------------------------------
   5. Pricing
   -------------------------------------------------------------------------- */
.pricing-section {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(197, 168, 128, 0.05), transparent 70%),
    var(--obsidian);
}
.pricing-header {
  max-width: 820px;
  margin: 0 auto clamp(56px, 7vw, 96px);
  text-align: center;
}
.pricing-header .section-headline { margin-top: 20px; }
.pricing-header .section-lead { margin-left: auto; margin-right: auto; }

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 48px);
  background: linear-gradient(180deg, rgba(29, 30, 33, 0.7), rgba(23, 24, 26, 0.55));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-highlight);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pricing-card:hover { border-color: var(--line-strong); }

.pricing-card-preferred {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(30, 30, 31, 0.92), rgba(21, 21, 23, 0.92)) padding-box,
    linear-gradient(160deg, rgba(217, 193, 156, 0.7), rgba(255, 255, 255, 0.12) 35%, rgba(197, 168, 128, 0.18) 65%, rgba(217, 193, 156, 0.55)) border-box;
  border: 1px solid transparent;
}
.pricing-card-preferred:hover { border-color: transparent; }
.preferred-topline {
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne-bright), transparent);
}

.tier-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tier-meta-row .mono-label { font-size: 10px; }
.preferred-badge {
  font-family: var(--font-label);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  padding: 5px 9px;
  border-radius: 2px;
}
.preferred-badge { color: var(--champagne-bright); border: 1px solid var(--line-accent); background: rgba(197, 168, 128, 0.06); }

.tier-meta-row { min-height: 26px; }
.tier-name {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--ink);
}
.tier-price-block {
  display: flex;
  align-items: flex-start;
  margin-top: 18px;
  font-family: var(--font-display);
  line-height: 1;
}
.price-currency {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  color: var(--cashmere);
  margin-top: 0.4em;
  margin-right: 4px;
}
.price-figure {
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 500;
  letter-spacing: -0.055em;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
}
.pricing-card-preferred .price-figure {
  padding-right: 0.08em;
  margin-right: -0.08em;
  background: linear-gradient(180deg, #ffffff 30%, #d9c19c 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-period {
  align-self: flex-end;
  margin-left: 10px;
  margin-bottom: 0.7em;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cashmere);
}
.tier-billing-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cashmere);
}

.pricing-card-divider {
  height: 1px;
  margin: 32px 0;
  background: var(--line);
}
.pricing-card-preferred .pricing-card-divider { background: var(--metal-rule); opacity: 0.6; }

.tier-features { display: flex; flex-direction: column; gap: 14px; }
.tier-features li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.feat-marker {
  flex: none;
  width: 10px;
  height: 1px;
  background: var(--cashmere);
  transform: translateY(-4px);
}
.feat-marker.accent { background: var(--champagne); }

.pricing-card-action { margin-top: auto; padding-top: 40px; }


/* --------------------------------------------------------------------------
   6. FAQ
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
.faq-sidebar {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--header-h) + 48px);
}
.faq-sidebar .section-headline { margin-top: 20px; font-size: clamp(34px, 3.8vw, 54px); }
.faq-cta { margin-top: 32px; }

.faq-accordion {
  grid-column: 6 / span 7;
  border-top: 1px solid var(--line);
}
.faq-item {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.faq-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.faq-item.is-open::after { transform: scaleX(1); opacity: 0.5; }

.faq-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  text-align: left;
}
.faq-q-num {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cashmere-dim);
  transition: color var(--dur-fast) var(--ease);
}
.faq-q-text {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink-soft);
  transition: color var(--dur-fast) var(--ease);
}
.faq-trigger:hover .faq-q-text,
.faq-item.is-open .faq-q-text { color: var(--ink); }
.faq-trigger:hover .faq-q-num,
.faq-item.is-open .faq-q-num { color: var(--champagne); }

.faq-toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease);
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease);
}
.faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-trigger:hover .faq-toggle-icon { border-color: var(--line-accent); }
.faq-item.is-open .faq-toggle-icon { border-color: var(--champagne); }
.faq-item.is-open .faq-toggle-icon::before,
.faq-item.is-open .faq-toggle-icon::after { background: var(--champagne); }
.faq-item.is-open .faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq-panel.is-open { grid-template-rows: 1fr; }
.faq-panel[hidden] { display: none; }
.faq-panel-inner { overflow: hidden; min-height: 0; }
.faq-panel-inner p {
  padding: 0 36px 30px 60px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--cashmere);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.faq-panel.is-open .faq-panel-inner p { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   7. Contact
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--obsidian-2);
}
.contact-lounge-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  align-items: start;
}
.contact-info-col { grid-column: 1 / span 5; padding-right: clamp(0px, 3vw, 40px); }
.contact-info-col .section-headline { margin-top: 20px; }
.contact-form-col { grid-column: 6 / span 7; }

.studio-credentials {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.cred-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cred-row .mono-label { font-size: 10px; }
.cred-val { font-size: 15px; color: var(--ink); }
.cred-link {
  justify-self: start;
  background-image: linear-gradient(var(--champagne), var(--champagne));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease), color var(--dur-fast) var(--ease);
}
.cred-link:hover { background-size: 100% 1px; color: var(--champagne-bright); }

.inquiry-form {
  position: relative;
  padding: clamp(24px, 3.4vw, 48px);
  background: linear-gradient(180deg, rgba(29, 30, 33, 0.72), rgba(23, 24, 26, 0.6));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-ambient);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.inquiry-type { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.type-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 13, 14, 0.6);
}
.type-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.5s var(--ease);
}
.type-switch[data-active="existing"] .type-thumb { transform: translateX(100%); }
.type-option {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cashmere);
  transition: color 0.3s var(--ease);
}
.type-option:hover { color: var(--ink); }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option:has(input:checked),
.type-option:has(input:checked):hover { color: var(--obsidian); }
.type-option:has(input:focus-visible) { outline: 1px solid var(--champagne); outline-offset: 2px; }

.form-row-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.field-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.field-label {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cashmere);
}
.req-marker { color: var(--champagne); }
.opt-marker { color: var(--cashmere-dim); letter-spacing: 0.1em; }

.field-input {
  width: 100%;
  padding: 12px 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.field-input::placeholder { color: var(--cashmere-dim); }
.field-input:hover { border-bottom-color: rgba(255, 255, 255, 0.24); }
.field-input:focus { border-bottom-color: var(--champagne); }
.field-input:focus-visible { outline: none; }
.field-group:focus-within .field-label { color: var(--champagne); }
.field-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field-group.has-error .field-input { border-bottom-color: #c7826f; }
.field-error {
  font-size: 13px;
  color: #d39a89;
}

.form-footer-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status-panel {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--line-accent-soft);
  background: rgba(197, 168, 128, 0.04);
  border-radius: 2px;
}
.form-status-panel p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: clamp(72px, 8vw, 112px) 0 32px;
  border-top: 1px solid var(--line);
  background: var(--obsidian);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--metal-rule);
  opacity: 0.5;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  padding-bottom: clamp(56px, 6vw, 88px);
}
.footer-brand-col { grid-column: 1 / span 4; }
.footer-statement {
  margin-top: 24px;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cashmere);
}
.footer-nav-col { grid-column: 6 / span 3; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li { font-size: 14px; color: var(--cashmere); }
.footer-links a {
  position: relative;
  font-size: 14px;
  color: var(--cashmere);
  transition: color var(--dur-fast) var(--ease);
}
.footer-links a:hover { color: var(--ink); }
.footer-telemetry-col { grid-column: 9 / span 4; }
.tel-indicator { display: inline-flex; align-items: center; gap: 10px; color: var(--champagne); }

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cashmere-dim);
}
.back-to-top { color: var(--cashmere); transition: color var(--dur-fast) var(--ease); }
.back-to-top:hover { color: var(--champagne); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--cashmere); transition: color var(--dur-fast) var(--ease); }
.footer-legal a:hover { color: var(--champagne); }

/* --------------------------------------------------------------------------
   Legal pages (terms.html, privacy.html)
   -------------------------------------------------------------------------- */
.legal-section { padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 10vw, 144px); }
.legal-section > .container { max-width: 820px; }
.legal-header .section-headline { margin-top: 20px; }
.legal-meta { margin-top: 20px; }
.legal-summary {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line-accent);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.015);
  color: var(--cashmere);
  font-size: 15px;
  line-height: 1.7;
}
.legal-toc {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  columns: 2;
  column-gap: 40px;
  counter-reset: toc;
}
.legal-toc li { break-inside: avoid; margin-bottom: 10px; font-size: 14px; counter-increment: toc; }
.legal-toc li::before {
  content: counter(toc, decimal-leading-zero);
  display: inline-block;
  width: 32px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--champagne);
}
.legal-toc a { color: var(--cashmere); transition: color var(--dur-fast) var(--ease); }
.legal-toc a:hover { color: var(--ink); }
.legal-body { margin-top: 24px; counter-reset: clause; }
.legal-body section {
  padding-top: 48px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  counter-increment: clause;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.legal-body h2::before {
  content: counter(clause, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--champagne);
}
.legal-body h3 { margin-top: 28px; font-size: 16px; font-weight: 600; color: var(--ink); }
.legal-body p,
.legal-body li { font-size: 15.5px; line-height: 1.75; color: var(--cashmere); }
.legal-body p { margin-top: 16px; }
.legal-body ul { margin-top: 16px; }
.legal-body li { position: relative; padding-left: 22px; margin-top: 8px; }
.legal-body li::before { content: "—"; position: absolute; left: 0; color: var(--line-strong); }
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-accent); text-underline-offset: 3px; }
.legal-body a:hover { color: var(--champagne-bright); }
@media (max-width: 640px) { .legal-toc { columns: 1; } }

/* --------------------------------------------------------------------------
   Reveal motion
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { --reveal-delay: 1; }
[data-delay="2"] { --reveal-delay: 2; }
[data-delay="3"] { --reveal-delay: 3; }

/* Pricing card tilt: follows the cursor while hovered */
.pricing-cards-grid { position: relative; perspective: 1600px; }
.js .pricing-cards-grid .pricing-card.is-visible {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--lift, 0px));
  transition:
    opacity 0.9s var(--ease),
    transform 0.7s var(--ease),
    border-color var(--dur) var(--ease);
}
.js .pricing-cards-grid .pricing-card.is-tilting {
  --lift: 16px;
  transition:
    transform 0.18s ease-out,
    border-color var(--dur) var(--ease);
}

/* Card shadows live on the grid, not the cards: each tilted card is its own
   stacking context, so a shadow on the card would paint over its neighbour. */
.pricing-cards-grid > .pricing-card { grid-row: 1; grid-column: 1; z-index: 1; }
.pricing-cards-grid > .pricing-card-preferred { grid-column: 2; }
.pricing-cards-grid::before,
.pricing-cards-grid::after {
  content: "";
  grid-row: 1;
  grid-column: 1;
  border-radius: 4px;
  pointer-events: none;
  box-shadow: var(--shadow-drop);
  transition: box-shadow 0.6s var(--ease), opacity 0.9s var(--ease);
}
/* The annual card glows instead of casting a shadow: a black shadow under the
   gold glow reads as dark, light, dark bands. The glow is clipped out of the
   monthly card's area because that card is translucent and would show it. */
.pricing-cards-grid::after {
  grid-column: 2;
  box-shadow: var(--glow-champagne);
  transition-delay: 0s, 90ms;
  clip-path: polygon(
    -600px -600px, calc(100% + 600px) -600px,
    calc(100% + 600px) calc(100% + 600px), -600px calc(100% + 600px),
    -600px 100%, -24px 100%, -24px 0, -600px 0
  );
}
.js .pricing-cards-grid::before,
.js .pricing-cards-grid::after { opacity: 0; }
.js .pricing-cards-grid:has(> .pricing-card:not(.pricing-card-preferred).is-visible)::before,
.js .pricing-cards-grid:has(> .pricing-card-preferred.is-visible)::after { opacity: 1; }
.pricing-cards-grid:has(> .pricing-card:not(.pricing-card-preferred).is-tilting)::before {
  box-shadow: var(--shadow-lift);
}
.pricing-cards-grid:has(> .pricing-card-preferred.is-tilting)::after {
  box-shadow: var(--glow-champagne-lift);
}
/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .mobile-menu-btn { display: inline-block; }

  .hero-grid { padding-left: 0; }
  .hero-copy-col { grid-column: 1 / -1; }
  .hero-stage-col { grid-column: 1 / -1; margin-top: 72px; padding-right: 0; }
  .hero-supporting { max-width: 620px; }
  .macbook-chassis { transform: none; }
  .hardware-stage:hover .macbook-chassis { transform: none; }
  .handheld-chassis { right: 2%; }

  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-progress-bar { display: none; }
  .process-grid { margin-top: 0; }

  .stewardship-intro { grid-column: 1 / -1; position: static; padding-right: 0; margin-bottom: 56px; }
  .stewardship-grid { grid-column: 1 / -1; }

  .faq-sidebar { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .faq-accordion { grid-column: 1 / -1; }

  .contact-info-col, .contact-form-col { grid-column: 1 / -1; padding-right: 0; }
}

@media (max-width: 900px) {
  .section-meta-col { grid-column: 1 / -1; flex-direction: row; gap: 16px; padding-top: 0; margin-bottom: 20px; }
  .section-title-col { grid-column: 1 / -1; }
  .section-emblem { display: none; }

  .pillar-index-col { grid-column: 1 / -1; margin-bottom: 20px; }
  .pillar-headline-col { grid-column: 1 / -1; margin-bottom: 14px; }
  .pillar-body-col { grid-column: 1 / -1; }

  .anchor-line-left { grid-column: 1 / -1; }
  .anchor-quote, .closing-anchor-panel .mono-label { grid-column: 1 / -1; }

  .pricing-cards-grid { grid-template-columns: 1fr; max-width: 560px; }
  .pricing-cards-grid > .pricing-card,
  .pricing-cards-grid::before { grid-row: 2; grid-column: 1; }
  .pricing-cards-grid > .pricing-card-preferred,
  .pricing-cards-grid::after {
    grid-row: 1;
    grid-column: 1;
    clip-path: polygon(
      -600px -600px, calc(100% + 600px) -600px,
      calc(100% + 600px) calc(100% + 600px), 100% calc(100% + 600px),
      100% calc(100% + 24px), 0 calc(100% + 24px), 0 calc(100% + 600px), -600px calc(100% + 600px)
    );
  }

  .footer-brand-col, .footer-nav-col, .footer-telemetry-col { grid-column: 1 / -1; }

}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .btn-nav { display: none; }

  .hero-headline { font-size: clamp(38px, 10.5vw, 52px); }
  .hero-actions .btn { flex: 1 1 100%; }

  .stage-toggle-row { margin-top: 64px; }
  .handheld-chassis { width: 26%; right: 0; bottom: 56px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 0; }
  .process-title { margin-top: 40px; }

  .stewardship-grid { grid-template-columns: 1fr; }
  .steward-cell,
  .steward-cell:nth-child(n) { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .steward-cell:first-child { padding-top: 0; }
  .steward-cell:last-child { padding-bottom: 0; border-bottom: 0; }

  .faq-trigger { grid-template-columns: 30px 1fr 20px; gap: 12px; padding: 22px 0; }
  .faq-panel-inner p { padding: 0 0 26px 42px; }

  .form-row-split { grid-template-columns: 1fr; gap: 0; }
  .form-footer-row .btn { width: 100%; }
  .cred-row { grid-template-columns: 1fr; gap: 6px; }

}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .macbook-chassis,
  .hardware-stage:hover .macbook-chassis,
  .hardware-stage:hover .handheld-chassis { transform: none; }
  .status-dot::after { display: none; }
}
