/* =========================================================
   COLD COUNSEL  —  Custody architecture without a single
                    point of failure.

   Palette: ink (vault), paper (cream), gold (antique brass),
            ember (oxblood). Type: Fraunces × IBM Plex.
   ========================================================= */

:root {
  /* Surfaces */
  --ink:        #0B0C0D;
  --ink-2:      #14171A;
  --ink-3:      #1D2126;

  /* On-ink */
  --paper:      #E8E2D5;
  --paper-2:    #B8B2A6;
  --paper-3:    #7A7468;

  /* Accents */
  --gold:       #C9A14A;
  --gold-soft:  #D6B25B;
  --gold-dim:   #8E6B2F;
  --ember:      #7A2A2C;

  /* Rules */
  --rule:        rgba(232, 226, 213, 0.10);
  --rule-strong: rgba(232, 226, 213, 0.22);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans:  "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", "JetBrains Mono", "Menlo", monospace;

  /* Layout */
  --gutter:    clamp(20px, 4vw, 64px);
  --page-max:  1240px;
  --section-y: clamp(96px, 13vw, 200px);

  /* Easing */
  --ease-out:  cubic-bezier(0.2, 0.7, 0.1, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(16px, 0.5vw + 14px, 18px);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* very subtle grain — gives the dark a depth without imagery */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(201, 161, 74, 0.05), transparent 50%);
  background-size: 3px 3px, 100% 100%;
  pointer-events: none;
  z-index: 100;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(180deg,
    rgba(11, 12, 13, 0.86) 0%,
    rgba(11, 12, 13, 0.55) 70%,
    rgba(11, 12, 13, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 50;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-variation-settings: "opsz" 14, "wght" 420;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.logo-mark {
  display: inline-flex;
  color: var(--gold);
  transition: transform 0.6s var(--ease-out), color 0.4s;
}
.logo:hover .logo-mark { transform: rotate(45deg); color: var(--gold-soft); }
.logo-type { letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; font-family: var(--mono); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 36px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.site-nav a:not(.nav-cta):hover { color: var(--paper); }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.site-nav .nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  color: var(--paper);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.site-nav .nav-cta:hover {
  border-color: var(--gold);
  background: rgba(201, 161, 74, 0.08);
  color: var(--gold);
}

@media (max-width: 760px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* =========================================================
   SECTIONS — shared scaffolding
   ========================================================= */

section {
  padding: var(--section-y) var(--gutter);
  max-width: var(--page-max);
  margin: 0 auto;
  position: relative;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  max-width: 240px;
  background: var(--rule);
}
.section-num { color: var(--gold-dim); }

/* Big display headlines */
.display-headline {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 380;
  font-weight: 380;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 64px;
  color: var(--paper);
  max-width: 18ch;
}
.display-headline em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 360;
  color: var(--gold);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  padding-top: clamp(140px, 18vh, 220px);
  padding-bottom: clamp(80px, 12vh, 160px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--paper-2);
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.9s 0.1s var(--ease-out) forwards;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 3s infinite ease-in-out;
}

.hero-headline {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 360;
  font-weight: 360;
  font-size: clamp(44px, 8.4vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0 0 56px;
  max-width: 17ch;
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroReveal 1.1s var(--ease-out) forwards;
}
.hero-headline .line:nth-child(1) > span { animation-delay: 0.18s; }
.hero-headline .line:nth-child(2) > span { animation-delay: 0.30s; }
.hero-headline .line:nth-child(3) > span { animation-delay: 0.42s; }
.hero-headline .line:nth-child(4) > span { animation-delay: 0.54s; }
.hero-headline em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 70, "wght" 340;
  color: var(--gold);
}

.hero-sub {
  max-width: 56ch;
  font-size: clamp(17px, 0.7vw + 14px, 21px);
  line-height: 1.55;
  color: var(--paper-2);
  margin: 0 0 56px;
  opacity: 0;
  animation: fadeUp 0.9s 0.85s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 0.9s 1s var(--ease-out) forwards;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
  opacity: 0;
  animation: fadeUp 0.9s 1.15s var(--ease-out) forwards;
}
.hero-meta .sep { opacity: 0.4; }

.hero-ornament {
  position: absolute;
  right: clamp(-100px, -6vw, -40px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 36vw, 520px);
  opacity: 0.10;
  pointer-events: none;
}
.hero-ornament svg {
  width: 100%;
  height: auto;
  stroke: var(--paper);
  fill: none;
  stroke-width: 0.5;
  animation: slowRotate 120s linear infinite;
  transform-origin: center;
}
.hero-ornament text {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--paper);
  stroke: none;
  letter-spacing: 0.3em;
}

@media (max-width: 760px) {
  .hero-ornament { display: none; }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(201, 161, 74, 0.45);
}
.btn-primary span {
  transition: transform 0.35s var(--ease-out);
}
.btn-primary:hover span { transform: translateX(4px); }
.btn-full { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule-strong);
  transition: color 0.3s, border-color 0.3s;
}
.btn-secondary:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* =========================================================
   THREAT
   ========================================================= */

.threat-body {
  max-width: 68ch;
  font-size: clamp(18px, 0.7vw + 14px, 22px);
  line-height: 1.65;
  color: var(--paper-2);
}
.threat-body p { margin: 0 0 24px; }
.threat-body em {
  font-style: italic;
  font-family: var(--serif);
  font-variation-settings: "opsz" 36, "SOFT" 40, "wght" 420;
  color: var(--paper);
}
.threat-body .threat-lede {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 380;
  font-size: clamp(24px, 1.2vw + 16px, 34px);
  line-height: 1.35;
  color: var(--paper);
  margin: 0 0 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  max-width: 32ch;
  letter-spacing: -0.015em;
}
.threat-body .threat-lede em {
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 70, "wght" 380;
}
.threat-body .emphasis {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 380;
  font-size: clamp(22px, 1vw + 16px, 30px);
  line-height: 1.35;
  color: var(--paper);
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  max-width: 32ch;
}

/* =========================================================
   DEMO  —  the interactive piece
   ========================================================= */

.demo-stage {
  margin-top: 56px;
  padding: clamp(36px, 5vw, 72px);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(201, 161, 74, 0.06), transparent 50%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.demo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.demo-svg {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* phase visibility */
.chain-phase, .mesh-phase { transition: opacity 0.9s var(--ease-out); }
.demo-stage[data-state="0"] .chain-phase,
.demo-stage[data-state="1"] .chain-phase { opacity: 1; }
.demo-stage[data-state="2"] .chain-phase { opacity: 0; pointer-events: none; }
.demo-stage[data-state="0"] .mesh-phase,
.demo-stage[data-state="1"] .mesh-phase { opacity: 0; pointer-events: none; }
.demo-stage[data-state="2"] .mesh-phase { opacity: 1; }

/* Chain styling */
.chain-link {
  stroke: var(--paper-3);
  stroke-width: 1.5;
  transition: stroke 0.8s, stroke-dasharray 0.8s, opacity 0.8s;
}
.demo-stage[data-state="1"] .chain-link-l {
  stroke: var(--ember);
}
.demo-stage[data-state="1"] .chain-link-r {
  stroke: var(--ember);
  stroke-dasharray: 4 12;
  opacity: 0.4;
}
.chain-node circle {
  fill: var(--ink-3);
  stroke: var(--paper-2);
  stroke-width: 1.5;
  transition: fill 0.8s, stroke 0.8s, transform 0.8s var(--ease-out);
  transform-origin: center;
  transform-box: fill-box;
}
.chain-node text {
  fill: var(--paper-3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-anchor: middle;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: fill 0.8s;
}
.demo-stage[data-state="1"] .chain-node[data-node="3"] circle {
  fill: var(--ember);
  stroke: var(--ember);
  transform: scale(1.18);
}
.demo-stage[data-state="1"] .chain-node[data-node="3"] text {
  fill: var(--ember);
}

/* Mesh styling */
.mesh-edge {
  stroke: var(--gold-dim);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.demo-stage[data-state="2"] .mesh-edge { opacity: 0.55; }

.mesh-node circle {
  fill: var(--gold);
  stroke: var(--ink);
  stroke-width: 2;
  transition: fill 0.8s, opacity 0.8s;
}
.demo-stage[data-state="2"] .mesh-node.failed circle {
  fill: var(--paper-3);
  opacity: 0.35;
}

.demo-caption {
  margin-top: 40px;
  position: relative;
  min-height: 5.5em;
  max-width: 56ch;
}
.demo-caption p {
  position: absolute;
  inset: 0;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 40, "wght" 380;
  font-size: clamp(17px, 0.7vw + 13px, 22px);
  line-height: 1.5;
  color: var(--paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.demo-stage[data-state="0"] .demo-caption p[data-state="0"],
.demo-stage[data-state="1"] .demo-caption p[data-state="1"],
.demo-stage[data-state="2"] .demo-caption p[data-state="2"] {
  opacity: 1;
  transform: translateY(0);
}

.demo-controls {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
.demo-step {
  flex: 1;
  background: none;
  border: 0;
  border-top: 2px solid transparent;
  color: var(--paper-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 22px 8px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  margin-top: -1px;
}
.demo-step:hover { color: var(--paper); }
.demo-step[aria-selected="true"] {
  color: var(--gold);
  border-top-color: var(--gold);
}

/* =========================================================
   PLANS
   ========================================================= */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 920px) {
  .plans-grid { grid-template-columns: 1fr; }
}

.plan {
  background: var(--ink);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.4s;
}
.plan:hover { background: var(--ink-2); }

.plan-featured {
  background: var(--ink-2);
}
.plan-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}

.plan header { margin-bottom: 32px; }
.plan-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 18px;
}
.plan-name {
  font-family: var(--serif);
  font-variation-settings: "opsz" 80, "SOFT" 20, "wght" 420;
  font-size: clamp(28px, 1.6vw + 18px, 42px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--paper);
}
.plan-deliverable {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 60, "wght" 380;
  font-size: 17px;
  color: var(--gold);
  margin: 0;
}
.plan-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--paper-2);
  margin: 0 0 16px;
}
.plan-closer {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 60, "wght" 400;
  font-size: 15px;
  color: var(--gold);
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}
.plan-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--rule);
}
.plan-includes li {
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--paper-2);
  position: relative;
  line-height: 1.5;
}
.plan-includes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}
.plan-meta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.plan-meta span:last-child { color: var(--gold); }

/* =========================================================
   METHODOLOGY
   ========================================================= */

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 760px) {
  .method-grid { grid-template-columns: 1fr; }
}
.method-card {
  background: var(--ink);
  padding: clamp(28px, 3.5vw, 48px);
  transition: background 0.4s;
}
.method-card:hover { background: var(--ink-2); }

.method-key {
  font-family: var(--serif);
  font-variation-settings: "opsz" 60, "SOFT" 30, "wght" 460;
  font-size: clamp(20px, 0.8vw + 16px, 26px);
  margin: 0 0 14px;
  color: var(--paper);
  letter-spacing: -0.015em;
}
.method-card p:not(.method-key) {
  font-size: 15px;
  line-height: 1.65;
  color: var(--paper-2);
  margin: 0;
}

/* =========================================================
   COUNSEL
   ========================================================= */

.counsel-body {
  max-width: 68ch;
  font-size: clamp(17px, 0.6vw + 14px, 20px);
  line-height: 1.7;
  color: var(--paper-2);
}
.counsel-body p { margin: 0 0 24px; }

.counsel-stats {
  list-style: none;
  padding: 0;
  margin: 72px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 760px) {
  .counsel-stats { grid-template-columns: 1fr; }
}
.counsel-stats li {
  background: var(--ink);
  padding: 36px clamp(20px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat-num {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 380;
  font-size: clamp(40px, 3.4vw + 18px, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.stat-num sup {
  font-size: 0.45em;
  vertical-align: super;
  font-variation-settings: "opsz" 40, "wght" 400;
  color: var(--paper-2);
  margin-left: 4px;
}
.stat-key {
  font-family: var(--serif);
  font-variation-settings: "opsz" 96, "SOFT" 20, "wght" 400;
  font-size: clamp(28px, 1.4vw + 18px, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
  max-width: 28ch;
  line-height: 1.5;
}

/* =========================================================
   INHERITANCE  —  the quiet moment
   ========================================================= */

.inheritance {
  padding: clamp(140px, 16vw, 220px) var(--gutter);
  text-align: center;
}
.inheritance blockquote {
  margin: 0 auto;
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 380;
  font-size: clamp(24px, 1.3vw + 16px, 40px);
  line-height: 1.35;
  color: var(--paper);
  max-width: 32ch;
  letter-spacing: -0.015em;
  position: relative;
}
.inheritance blockquote em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 70, "wght" 360;
  color: var(--gold);
}
.inheritance blockquote::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 48px;
}
.inheritance blockquote p { margin: 0; }

/* =========================================================
   APPLY
   ========================================================= */

.apply-intro {
  max-width: 56ch;
  font-size: clamp(16px, 0.6vw + 13px, 19px);
  line-height: 1.65;
  color: var(--paper-2);
  margin: 0 0 48px;
}

.apply-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 720px;
  padding: clamp(36px, 4vw, 56px);
  border: 1px solid var(--rule-strong);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(201, 161, 74, 0.08), transparent 55%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.apply-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 100%, rgba(201, 161, 74, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.apply-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 24px 60px -20px rgba(201, 161, 74, 0.30);
}
.apply-card:hover::after { opacity: 1; }

.apply-card-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.apply-card-title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 96, "SOFT" 10, "wght" 400;
  font-size: clamp(28px, 1.6vw + 18px, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.apply-card-arrow {
  color: var(--gold);
  transition: transform 0.4s var(--ease-out);
}
.apply-card:hover .apply-card-arrow { transform: translateX(6px); }
.apply-card-sub {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 50, "wght" 380;
  font-size: clamp(16px, 0.5vw + 14px, 19px);
  line-height: 1.5;
  color: var(--paper-2);
  margin: 0;
}
.apply-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
}

.apply-note {
  margin: 40px 0 0;
  max-width: 56ch;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--paper-3);
}
.apply-note a {
  color: var(--paper-2);
  border-bottom: 1px solid var(--rule-strong);
  transition: color 0.3s, border-color 0.3s;
}
.apply-note a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* =========================================================
   VISION  —  the transformation
   ========================================================= */

.vision-body .emphasis {
  border-top-color: var(--gold-dim);
  color: var(--gold);
}

/* =========================================================
   PATH  —  three-step plan + final CTA
   ========================================================= */

.path-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 80px;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.path-step {
  background: var(--ink);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: clamp(80px, 9vw, 140px) 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  transition: background 0.4s;
}
.path-step:hover { background: var(--ink-2); }
@media (max-width: 600px) {
  .path-step { grid-template-columns: 1fr; gap: 12px; }
}
.path-step-num {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 360;
  font-size: clamp(40px, 4vw + 18px, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.path-step-body { max-width: 56ch; }
.path-step-title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 80, "SOFT" 20, "wght" 420;
  font-size: clamp(22px, 1.2vw + 14px, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--paper);
}
.path-step-body p {
  font-size: clamp(15px, 0.3vw + 14px, 17px);
  line-height: 1.6;
  color: var(--paper-2);
  margin: 0;
}

.path-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 640px;
}
.path-cta-note {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--paper-3);
  margin: 0;
  max-width: 60ch;
}
.path-cta-note a {
  color: var(--paper-2);
  border-bottom: 1px solid var(--rule-strong);
  transition: color 0.3s, border-color 0.3s;
}
.path-cta-note a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.btn-large {
  padding: 22px 40px;
  font-size: 13px;
}
.apply-form {
  display: grid;
  gap: 32px;
  max-width: 640px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.field textarea {
  resize: vertical;
  font-family: var(--sans);
  line-height: 1.55;
}
.select-wrap {
  position: relative;
}
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 32px;
}
.select-chev {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-30%);
  pointer-events: none;
  color: var(--gold);
  font-size: 12px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--paper-3); }

.form-note {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--paper-3);
  margin: 0;
}
.form-note a {
  color: var(--paper-2);
  border-bottom: 1px solid var(--rule-strong);
  transition: color 0.3s, border-color 0.3s;
}
.form-note a:hover { color: var(--gold); border-color: var(--gold); }

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  border-top: 1px solid var(--rule);
  padding: clamp(72px, 9vw, 120px) var(--gutter) 44px;
  max-width: var(--page-max);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 72px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}
.footer-logo .logo-mark { color: var(--gold); }
.footer-logo .logo-type {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 50, "wght" 380;
  font-size: 16px;
  color: var(--paper-2);
  margin: 14px 0 0;
  max-width: 26ch;
  line-height: 1.4;
}
.footer-grid a {
  font-size: 14px;
  color: var(--paper-2);
  transition: color 0.3s;
  width: max-content;
}
.footer-grid a:hover { color: var(--gold); }
.footer-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3);
  margin: 0 0 14px;
}
.footer-legal {
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  color: var(--paper-3);
  letter-spacing: 0.05em;
  max-width: 80ch;
}
.footer-legal p { margin: 0; }

/* =========================================================
   REVEAL ANIMATIONS (scroll-triggered)
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger grid children */
.plans-grid.reveal-group.in-view > * { animation: gridStagger 1s var(--ease-out) both; }
.plans-grid.reveal-group > *:nth-child(1) { animation-delay: 0.05s; }
.plans-grid.reveal-group > *:nth-child(2) { animation-delay: 0.18s; }
.plans-grid.reveal-group > *:nth-child(3) { animation-delay: 0.31s; }
.method-grid.reveal-group.in-view > * { animation: gridStagger 0.9s var(--ease-out) both; }
.method-grid.reveal-group > *:nth-child(1) { animation-delay: 0.05s; }
.method-grid.reveal-group > *:nth-child(2) { animation-delay: 0.13s; }
.method-grid.reveal-group > *:nth-child(3) { animation-delay: 0.21s; }
.method-grid.reveal-group > *:nth-child(4) { animation-delay: 0.29s; }
.method-grid.reveal-group > *:nth-child(5) { animation-delay: 0.37s; }
.method-grid.reveal-group > *:nth-child(6) { animation-delay: 0.45s; }
.method-grid.reveal-group > *:nth-child(7) { animation-delay: 0.53s; }
.method-grid.reveal-group > *:nth-child(8) { animation-delay: 0.61s; }

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

/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes heroReveal {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--gold); }
  50%      { opacity: 0.5; box-shadow: 0 0 4px var(--gold); }
}
@keyframes slowRotate {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-headline .line > span { transform: none; }
  .hero-eyebrow .dot { animation: none; }
}
