/* Presidium · presidium.group · « Le Fil d'or »
   Ember Pictus, 2026-10-28. Design prototype for Clara Cura's build.
   Brand v3: tokens mirror brand/colour/presidium-tokens.css. No gradients except the logo foil.
   Every animated state is gated behind html.motion: no JS or a failed engine = a complete static page.
   html.gentle (reduced-motion visitors) keeps the calm motion and drops the vestibular kind. */

/* ---------- Fonts (brand/fonts, SIL OFL). Clara: subset to woff2 before launch. ---------- */
@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-MediumItalic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --green: #0E2A23;   /* Bottle Green · ground */
  --navy: #0F1A2B;    /* Midnight Navy · footer only */
  --ink: #15181D;
  --gold: #C2A15F;    /* on dark only · 6.2:1 on green */
  --antique: #7E6131; /* on light only · 5.0:1 on ivory */
  --ivory: #F3EEE3;   /* 13.2:1 on green */
  --paper: #FBF8F2;
  --stone: #DCD6CC;
  --warm: #5C5850;    /* 6.1:1 on ivory */
  --sage: #A9B5AE;    /* 7.2:1 on green (computed 2026-10-28) */
  --rule: #C9B48A;

  --f-display: "Cinzel", "Times New Roman", serif;
  --f-head: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 8px;      /* brand book panels */
  --edge: clamp(240px, 40vh, 460px); /* depth of the overlap: the gold ribbon's S crosses inside it */
  --gutter: clamp(22px, 8vw, 132px);
  --rail: clamp(10px, 3.4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--green); color: var(--ivory); -webkit-text-size-adjust: 100%; }
html.motion:not(.gentle) { scroll-behavior: smooth; }
body {
  position: relative; margin: 0; overflow-x: clip;
  font: 400 1.125rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
::selection { background: var(--gold); color: var(--green); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[data-tone="light"] :focus-visible { outline-color: var(--antique); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ivory); color: var(--green); padding: .7em 1.1em; font-weight: 600; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type roles ---------- */
.eyebrow {
  display: block; margin: 0 0 1.6rem;
  font: 600 1rem/1.3 var(--f-display); letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage);
}
[data-tone="light"] .eyebrow { color: var(--antique); }
.h2 { font: 500 clamp(2.4rem, 4.6vw, 4.6rem)/1.04 var(--f-head); letter-spacing: -.005em; }
.btn {
  display: inline-flex; align-items: center; gap: .9em;
  padding: 1.1em 1.7em; border: 1px solid var(--gold);
  background: var(--gold); color: var(--green); text-decoration: none;
  font: 600 1rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase;
  border-radius: 6px;
  transition: background .5s var(--ease), color .5s var(--ease);
}
.btn:hover { background: transparent; color: var(--gold); }
.link {
  display: inline-flex; align-items: center; gap: .7em; padding: .4em 0;
  font: 600 1rem/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--ivory);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; /* underline rule, not a colour gradient */
  transition: background-size .6s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.arr { display: inline-block; transition: transform .5s var(--ease); }
.link:hover .arr, .btn:hover .arr { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter); min-height: 84px;
  transition: background .7s var(--ease), border-color .7s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: rgba(14, 42, 35, .96); border-bottom-color: rgba(194, 161, 95, .32); }
.brand { display: block; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.brand img { height: 52px; width: auto; } /* 125 px wide: above the 120 px minimum */
.motion .site-header .brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.motion .site-header.show-logo .brand { opacity: 1; transform: none; pointer-events: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.nav a {
  font: 600 1rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--ivory); padding: .5em 0; position: relative;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .nav .nav-opt { display: none; } .brand img { height: 50px; } }

/* ---------- Media plates (still first, video fades in over it) ---------- */
.plate { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.plate > .layer { position: absolute; inset: -8% 0; will-change: transform; }
.plate img, .plate video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate video { opacity: 0; transition: opacity 1.6s var(--ease); }
.plate video.on { opacity: 1; }
.plate .veil { position: absolute; inset: 0; background: var(--green); opacity: .62; }

/* ---------- The line: one stroke of gold ink from the first screen to the seal ---------- */
/* The ink is drawn in page pixels, 1:1: never scaled by the generic svg max-width rule (a classic scrollbar
   would otherwise shrink it by its own width and the ribbon would drift off the seams). */
#ink, #ribbon-edit { position: absolute; top: 0; left: 0; z-index: 40; pointer-events: none; overflow: visible; max-width: none; max-height: none; }
html:not(.ready) #ink, .reduce #ink { display: none; }
/* Headings are written in, left to right, as the reader reaches them. */
.motion .h2, .motion .sheet h2 { clip-path: inset(-25% 102% -35% -6%); transition: clip-path 1.7s var(--ease-io); }
.motion .h2.in, .motion .sheet h2.in { clip-path: inset(-25% -6% -35% -6%); }
/* The section above overlaps the next by --edge and is cut exactly along the gold ribbon (SVG mask, set by JS). */
.edge-host { position: relative; margin-bottom: calc(-1 * var(--edge)); }

/* ================= 1 · HERO (aube) ================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.hero .plate img, .hero .plate video { object-position: 24% 50%; }
/* The dawn clip brightens as the light spreads; the copy side is held dark whatever the frame does. */
.hero .plate .veil { opacity: 1; background: linear-gradient(90deg, rgba(14,42,35,0) 18%, rgba(14,42,35,.6) 40%, rgba(14,42,35,.86) 62%, rgba(14,42,35,.9) 100%); }
.hero-inner { width: 100%; padding: 132px var(--gutter) calc(110px + var(--edge) * .7); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.hero-copy { grid-column: 6 / span 7; }
.hero .eyebrow { color: var(--sage); }
.hero-logo { width: min(520px, 100%); aspect-ratio: 574.1 / 238.5; margin: 0 0 2.6rem -0.4%; }
.hero-logo > * { width: 100%; height: 100%; }
.hero h1 { font: 500 clamp(2.9rem, 5.5vw, 6rem)/1.02 var(--f-head); letter-spacing: -.012em; margin: 0 0 2.6rem; color: var(--ivory); }
.ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ln > span { display: inline-block; }
.hero .lede { max-width: 33em; font-size: 1.1875rem; line-height: 1.6; color: var(--ivory); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.4rem; margin-top: 2.6rem; }
.cue { position: absolute; left: 50%; bottom: calc(7vh - 5px); width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg); border: 1px solid var(--gold); }
.hero.edge-host .cue { display: none; } /* the calligraphic edge is the invitation to scroll */
@media (max-width: 900px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero .plate .veil { opacity: .58; background: var(--green); }
  .hero-inner { padding-top: 120px; }
}

/* hero entrance (time-based, once) */
.motion .hero .plate { opacity: 0; transform: scale(1.06); transition: opacity 1.8s var(--ease), transform 4.5s var(--ease); }
.motion .hero.go .plate { opacity: 1; transform: none; }
.motion .hero .eyebrow { opacity: 0; letter-spacing: .5em; transition: opacity 1.4s var(--ease) 1.5s, letter-spacing 2s var(--ease) 1.5s; }
.motion .hero.go .eyebrow { opacity: 1; letter-spacing: .22em; }
.motion .hero .ln > span { transform: translateY(108%); transition: transform 1.3s var(--ease); }
.motion .hero .ln:nth-child(1) > span { transition-delay: 2.0s; }
.motion .hero .ln:nth-child(2) > span { transition-delay: 2.12s; }
.motion .hero.go .ln > span { transform: none; }
.motion .hero .lede, .motion .hero .actions, .motion .hero .cue { opacity: 0; transform: translateY(18px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.motion .hero .lede { transition-delay: 2.45s; }
.motion .hero .actions { transition-delay: 2.65s; }
.motion .hero .cue { transition-delay: 3s; transform: rotate(45deg) scale(.4); }
.motion .hero.go .lede, .motion .hero.go .actions { opacity: 1; transform: none; }
.motion .hero.go .cue { opacity: 1; transform: rotate(45deg); }
.motion .hero.skip-intro * { transition-delay: 0s !important; transition-duration: .4s !important; }

/* the animated logo: the static <img> stays for no-JS; with motion it waits for the pen */
.logo-anim .p-mask-stroke { fill: none; stroke: #fff; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; }
.motion .hero-logo img, .motion .sig img { opacity: 0; }
.motion .hero-logo.fallback img, .motion .sig.fallback img { opacity: 1; transition: opacity 1.2s var(--ease); }

/* ================= 2 · SITUATIONS ================= */
.situations { position: relative; background: var(--green); isolation: isolate; }
.sit-stage { position: relative; padding: calc(clamp(96px, 14vh, 170px) + var(--edge) * .6) var(--gutter) calc(clamp(96px, 14vh, 170px) + var(--edge) * .6); overflow: hidden; }
.sit-head { position: relative; z-index: 2; max-width: 40rem; }
.sit-head .h2 { color: var(--ivory); }
.situations .plate img, .situations .plate video { object-position: 50% 45%; }
.situations .plate .veil { opacity: .66; }
.track { list-style: none; margin: 3.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; position: relative; z-index: 2; }
/* The four situations: bottle-green glass over the desk, a gold hairline, ivory type. No ornament. */
.tag {
  position: relative; display: flex; align-items: center;
  padding: clamp(28px, 2.6vw, 44px); min-height: 11rem;
  background: rgba(14, 42, 35, .74); color: var(--ivory);
  -webkit-backdrop-filter: blur(14px) saturate(1.05); backdrop-filter: blur(14px) saturate(1.05);
  border: 1px solid rgba(194, 161, 95, .4); border-radius: var(--radius);
}
.tag p { margin: 0; font: 500 clamp(1.6rem, 2.05vw, 2.15rem)/1.24 var(--f-head); color: var(--ivory); }
.sit-close { position: relative; z-index: 2; margin-top: 4.5rem; text-align: left; }
.sit-close p { display: inline-block; margin: 0; font: 600 clamp(2.2rem, 4.6vw, 4.8rem)/1.06 var(--f-head); color: var(--ivory); max-width: 16em; }

/* pinned version (desktop, motion allowed) */
.pin-ok .situations { height: 380vh; }
.pin-ok .sit-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; }
.pin-ok .sit-head { position: absolute; left: var(--gutter); top: max(118px, 15vh, calc(var(--edge) * .75)); opacity: calc(1 - var(--close, 0) * 1.6); transform: translateY(calc(var(--close, 0) * -40px)); }
/* The cards fade out through a mask before they reach the margins, where the line runs. */
.pin-ok .track-win { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent calc(var(--gutter) + 8px), #000 calc(var(--gutter) + 130px), #000 calc(100% - var(--gutter) - 130px), transparent calc(100% - var(--gutter) - 8px));
  mask-image: linear-gradient(90deg, transparent 0, transparent calc(var(--gutter) + 8px), #000 calc(var(--gutter) + 130px), #000 calc(100% - var(--gutter) - 130px), transparent calc(100% - var(--gutter) - 8px)); }
.pin-ok .track-win .tag { pointer-events: auto; }
.pin-ok .track { position: absolute; left: 0; top: max(38vh, calc(var(--edge) * .75 + 190px)); margin: 0; display: flex; align-items: stretch; gap: clamp(24px, 3vw, 48px); grid-template-columns: none; will-change: transform; transform: translate3d(var(--tx, 100vw), 0, 0); }
.pin-ok .tag { flex: 0 0 clamp(300px, 27vw, 420px); min-height: min(30vh, 290px); transition: none; will-change: transform, opacity; }
.pin-ok .sit-close { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; margin: 0; transform: translateY(calc(-50% + (1 - var(--close, 0)) * 60px)); opacity: var(--close, 0); }

/* ================= 3 · OFFER (the three courses) ================= */
.offer { position: relative; background: var(--green); padding: calc(clamp(110px, 16vh, 200px) + var(--edge) * .7) var(--gutter) clamp(100px, 14vh, 170px); overflow: hidden; isolation: isolate; }
.offer::before { /* coursing: the wall the band is cut into */
  content: ""; position: absolute; inset: -20% 0; z-index: -1; opacity: .9;
  background: repeating-linear-gradient(to bottom, transparent 0 131px, rgba(243, 238, 227, .045) 131px 132px);
  transform: translate3d(0, calc(var(--q, .5) * -90px), 0);
}
.offer-head { max-width: 44rem; margin-bottom: clamp(56px, 8vh, 96px); }
.courses { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course { position: relative; padding: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 48px) clamp(40px, 5vw, 64px); }
.course:first-child { padding-left: 0; }
.course .no { display: block; font: 600 1rem/1 var(--f-display); letter-spacing: .2em; color: var(--gold); margin-bottom: 1.6rem; }
.course h3 { font: 600 clamp(1.5rem, 2.2vw, 2.3rem)/1.1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); margin-bottom: 1.4rem; }
.course p { color: var(--ivory); max-width: 26em; }
.joint { position: absolute; background: var(--gold); }
.joint.v { top: 0; bottom: 0; width: 1px; transform-origin: top; transform: scaleY(var(--jv, 1)); }
.joint.v1 { left: 33.333%; } .joint.v2 { left: 66.666%; }
.joint.b { left: 0; right: 0; bottom: 0; height: 1px; transform-origin: right; transform: scaleX(var(--jb, 1)); opacity: .5; }
.offer .more { margin-top: 3.2rem; }
.motion .course > * { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.motion .course.in > * { opacity: 1; transform: none; }
.motion .course.in > *:nth-child(2) { transition-delay: .12s; }
.motion .course.in > *:nth-child(3) { transition-delay: .24s; }
.motion .course:nth-child(2).in > * { transition-delay: .18s; }
.motion .course:nth-child(3).in > * { transition-delay: .36s; }
@media (max-width: 900px) {
  .courses { grid-template-columns: 1fr; }
  .course, .course:first-child { padding: 40px 0 36px; border-top: 1px solid rgba(194, 161, 95, .55); }
  .joint.v { display: none; }
}

/* ================= 4 · METHOD (the path) ================= */
.method { position: relative; background: var(--green); }
.m-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding: clamp(100px, 14vh, 170px) var(--gutter); }
.m-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-height: 78vh; width: 100%; border-radius: var(--radius); }
.m-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 42%; will-change: transform; transform: scale(var(--zoom, 1.04)) translate3d(0, var(--rise, 0px), 0); }
.m-frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(194, 161, 95, .55); border-radius: 4px; pointer-events: none; }
.m-copy .h2 { margin-bottom: 2.6rem; }
.steps { list-style: none; margin: 0 0 2.6rem; padding: 0 0 0 64px; position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: 1px; background: rgba(169, 181, 174, .35); }
.steps::after { content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: 1px; background: var(--gold); transform-origin: top; transform: scaleY(var(--fill, 1)); }
.step { position: relative; padding: .55rem 0 1.25rem; color: var(--ivory); transition: color .6s var(--ease); }
.step .dia { position: absolute; left: -64px; top: .55rem; width: 39px; height: 39px; display: grid; place-items: center; }
.step .dia::before { content: ""; position: absolute; inset: 7px; transform: rotate(45deg); border: 1px solid var(--gold); background: var(--green); transition: background .6s var(--ease); }
.step .dia span { position: relative; font: 600 .8rem/1 var(--f-display); letter-spacing: .04em; color: var(--gold); transition: color .6s var(--ease); }
.step h3 { font: 600 clamp(1.5rem, 2.1vw, 2.15rem)/1.15 var(--f-head); margin-bottom: .25rem; }
.step p { margin: 0; }
@media (max-width: 900px) {
  .m-stage { grid-template-columns: 1fr; }
  .m-frame { aspect-ratio: 16 / 11; }
}
.pin-ok .method { height: 420vh; }
.pin-ok .m-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 96px; padding-bottom: calc(24px + var(--edge) * .72); }
/* The photograph fits the stage above the ribbon's S, never across it. */
.pin-ok .m-frame { height: min(78vh, calc(100vh - 150px - var(--edge) * .72)); width: auto; max-width: 100%; justify-self: center; }
.pin-ok .step { color: var(--sage); }
.pin-ok .step.on { color: var(--ivory); }
.pin-ok .step.on .dia::before { background: var(--gold); }
.pin-ok .step.on .dia span { color: var(--green); }
.pin-ok .step p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s var(--ease); }
.pin-ok .step.on p { max-height: 6em; opacity: 1; }
@media (max-height: 760px) { .pin-ok .m-copy .h2 { font-size: 2.6rem; margin-bottom: 1.4rem; } .pin-ok .step { padding-bottom: .7rem; } }

/* ================= 5 · CHARTER (paper) ================= */
.charter { position: relative; background: var(--ivory); color: var(--ink); padding: calc(clamp(110px, 16vh, 190px) + var(--edge) * .7) var(--gutter); overflow: hidden; isolation: isolate; }
.charter .wm { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 120vw); opacity: .055; transform: translate3d(-50%, calc(-50% + var(--q, .5) * 160px - 80px), 0); }
.sheet { position: relative; max-width: 940px; margin: 0 auto; padding: clamp(52px, 7vw, 104px) clamp(24px, 6.5vw, 96px) clamp(44px, 6vw, 80px); background: var(--paper); border: 1px solid var(--antique); border-radius: var(--radius); }
.sheet::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(126, 97, 49, .55); border-radius: 4px; pointer-events: none; }
.sheet h2 { text-align: center; font: 600 clamp(1.55rem, 2.9vw, 2.55rem)/1.15 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--antique); margin-bottom: clamp(36px, 5vw, 64px); }
.sheet h2 .orn { display: flex; align-items: center; justify-content: center; gap: 22px; }
.sheet h2 .orn::before, .sheet h2 .orn::after { content: ""; flex: 0 1 90px; height: 1px; background: var(--antique); }
.vows { list-style: none; margin: 0; padding: 0; }
.vow { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0 1.2rem; align-items: baseline; padding: 1.35rem 0; border-top: 1px solid var(--rule); }
.vow:last-child { border-bottom: 1px solid var(--rule); }
.vow .no { font: 600 1.05rem/1 var(--f-display); letter-spacing: .14em; color: var(--antique); }
.vow .txt { font: 500 clamp(1.4rem, 2.15vw, 1.95rem)/1.32 var(--f-head); color: var(--ink); }
.vow .txt strong { font-weight: 600; }
.signature { display: flex; justify-content: flex-end; margin-top: clamp(36px, 5vw, 60px); }
.sig { position: relative; width: clamp(110px, 13vw, 160px); aspect-ratio: 261 / 238.5; }
.sig > * { width: 100%; height: 100%; }
.motion .vow .no { opacity: 0; transition: opacity 1s var(--ease); }
.motion .vow .txt { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-io); }
.motion .vow.in .no { opacity: 1; }
.motion .vow.in .txt { clip-path: inset(0 0 0 0); transition-delay: .15s; }
@media (max-width: 600px) { .vow { grid-template-columns: 3rem minmax(0, 1fr); } }

/* ================= 6 · NAME (golden hour) ================= */
.name { position: relative; min-height: 130vh; display: grid; align-content: center; padding: calc(clamp(120px, 18vh, 220px) + var(--edge) * .7) var(--gutter); overflow: hidden; isolation: isolate; }
.name .plate img, .name .plate video { object-position: 40% 50%; }
.name .plate .veil { opacity: .6; }
.word { margin: 0 0 clamp(40px, 7vh, 80px); text-align: center; white-space: nowrap; font: 500 clamp(2.6rem, 8.6vw, 10rem)/1 var(--f-display); color: var(--ivory); letter-spacing: calc(.12em + (1 - var(--q, 1)) * .7em); margin-right: calc(-.12em - (1 - var(--q, 1)) * .7em); opacity: calc(.35 + var(--q, 1) * .65); }
.name-copy { max-width: 46rem; margin: 0 auto; text-align: center; }
.name .def { font: 500 clamp(1.55rem, 2.5vw, 2.3rem)/1.34 var(--f-head); color: var(--ivory); margin-bottom: 1.6rem; }
.name .def em { font-style: italic; }
.name .more { margin-top: 1.6rem; }
.motion .rise { opacity: 0; transform: translateY(30px); transition: opacity 1.3s var(--ease), transform 1.5s var(--ease); }
.motion .rise.in { opacity: 1; transform: none; }
.motion .rise.d1 { transition-delay: .15s; } .motion .rise.d2 { transition-delay: .3s; } .motion .rise.d3 { transition-delay: .45s; }

/* ================= 7 · FOUNDERS ================= */
.founders { position: relative; background: var(--green); padding: calc(clamp(110px, 16vh, 190px) + var(--edge) * .7) var(--gutter); }
.founders-head { text-align: center; margin-bottom: clamp(52px, 8vh, 90px); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: clamp(28px, 7vw, 120px); }
.pair figure { margin: 0; will-change: transform; }
.pair figure:nth-child(2) { margin-top: clamp(0px, 9vw, 120px); }
.portrait { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--green); border: 1px solid rgba(194, 161, 95, .5); border-radius: var(--radius); }
.portrait::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(169, 181, 174, .25); border-radius: 4px; }
.portrait span { font: 500 clamp(2.6rem, 5vw, 4rem)/1 var(--f-display); letter-spacing: .14em; color: rgba(169, 181, 174, .55); }
.pair figcaption { margin-top: 1.4rem; }
.pair .who { display: block; font: 600 clamp(1.6rem, 2.2vw, 2.1rem)/1.15 var(--f-head); color: var(--ivory); }
.pair .role { display: block; margin-top: .45rem; font: 600 1rem/1.3 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.founders .led { max-width: 34rem; margin: clamp(56px, 8vh, 90px) auto 0; text-align: center; font: 500 italic clamp(1.45rem, 2.2vw, 1.95rem)/1.4 var(--f-head); color: var(--ivory); }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr 1fr; gap: 18px; } .pair figure:nth-child(2) { margin-top: 48px; } }

/* ================= 8 · THE DOOR (call) ================= */
.door { position: relative; min-height: 112vh; display: grid; align-items: center; padding: calc(80px + var(--edge) * .7) var(--gutter); overflow: hidden; isolation: isolate; }
.door .plate img, .door .plate video { object-position: 38% 50%; }
.door .plate .veil { opacity: .18; }
.plaque { position: relative; justify-self: end; max-width: 35rem; background: var(--green); padding: clamp(40px, 5vw, 76px); border: 1px solid rgba(194, 161, 95, .4); border-radius: var(--radius); }
.plaque .h2 { color: var(--ivory); margin-bottom: 2.6rem; }
.plaque p { color: var(--ivory); }
.plaque .btn { margin-top: 1.4rem; }
@media (max-width: 900px) {
  .door { align-items: end; }
  .plaque { justify-self: stretch; max-width: none; }
}

/* ================= 9 · FOOTER (night) ================= */
.foot { position: relative; background: var(--navy); color: var(--ivory); padding: calc(clamp(90px, 14vh, 150px) + var(--edge) * .8) var(--gutter) 52px; text-align: center; }
/* The wax seal (presidium-wax-seal.png): it sits above the ink, so the gold ribbon slips under the wax. */
.seal { position: relative; z-index: 41; width: 220px; height: 220px; margin: 0 auto 30px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.seal img { width: 100%; height: 100%; }
.legal { margin: 0; font-size: 1rem; line-height: 2; color: var(--sage); }
.legal a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(243, 238, 227, .35); }
.legal a:hover { border-bottom-color: var(--gold); }
.legal .sep { margin: 0 .55em; color: rgba(169, 181, 174, .6); }
.motion .seal { opacity: 0; transform: scale(.92); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.motion .seal.in { opacity: 1; transform: none; }

/* ================= Contact page ================= */
.page { padding: 170px var(--gutter) clamp(100px, 14vh, 160px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.page h1 { font: 500 clamp(2.6rem, 5vw, 5rem)/1.04 var(--f-head); margin-bottom: 1.6rem; }
.next { margin-top: 3rem; }
.next h2 { font: 600 1rem/1.3 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.4rem; }
.next ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 3rem 1fr; padding: .9rem 0; border-top: 1px solid rgba(194, 161, 95, .35); }
.next li::before { content: counter(n, upper-roman); font: 600 1rem/1.65 var(--f-display); color: var(--gold); }
.form-card { background: var(--ivory); color: var(--ink); padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); }
.field { margin-bottom: 1.5rem; }
.field label { display: block; margin-bottom: .5rem; font: 600 1rem/1.3 var(--f-body); color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--warm); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; font: 400 1.0625rem/1.5 var(--f-body); color: var(--ink);
  background: var(--paper); border: 1px solid #8C877E; border-radius: 4px; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--antique); outline-offset: 1px; border-color: var(--antique); }
.field [aria-invalid="true"] { border-color: #8E2A1E; }
.field .err { display: block; margin-top: .45rem; font-size: 1rem; color: #8E2A1E; }
.field .err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { border-color: var(--green); background: var(--green); color: var(--ivory); }
.form-card .btn:hover { background: transparent; color: var(--green); }
.form-note { margin-top: 1.4rem; font-size: 1rem; color: var(--warm); }
.form-note a { color: var(--antique); }
#form-status { margin: 1.2rem 0 0; font-weight: 600; }
.direct { margin-top: 2rem; }
.direct a { color: var(--ivory); }
@media (max-width: 900px) { .page-grid { grid-template-columns: 1fr; } }

/* ================= Gentle grade (system asks for reduced motion) =================
   Kept: the pen, the thread, fades, the ambient video. Removed: pinning, parallax, zoom, travel. */
html.gentle .hero .plate { transform: none; }
html.gentle .hero .lede, html.gentle .hero .actions,
html.gentle .course > *, html.gentle .rise, html.gentle .seal, html.gentle .site-header .brand { transform: none; }

/* ================= Static fallback (engine failed): a complete, still page ================= */
html.reduce .plate video { display: none; }
