/* ==========================================================================
   Helisium — Organisme de formation
   Design system premium : marine profond, or champagne, ivoire
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --ink-950: #060b16;
  --navy-900: #0a1324;
  --navy-850: #0d182d;
  --navy-800: #111d35;
  --navy-700: #1a2945;
  --navy-600: #263a5e;
  --navy-400: #5c6f93;
  --gold-700: #8c6a35;
  --gold-600: #a07e45;
  --gold-500: #b8945a;
  --gold-400: #cfae78;
  --gold-300: #e3cb9c;
  --gold-100: #f4ecdc;
  --ivory: #faf7f1;
  --sand: #f2ebdd;
  --ink: #141b2b;
  --muted: #5a6476;
  --muted-light: #9aa6bd;
  --line: rgba(17, 29, 53, .1);
  --line-light: rgba(255, 255, 255, .1);
  --success: #2f7d5b;

  --gold-grad: linear-gradient(120deg, #f3e3bf 0%, #cfae78 30%, #a9844a 60%, #e8d2a4 100%);
  --gold-grad-soft: linear-gradient(135deg, rgba(227,203,156,.7), rgba(184,148,90,.15) 40%, rgba(184,148,90,.05) 60%, rgba(227,203,156,.5));

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(10, 19, 36, .05), 0 4px 14px rgba(10, 19, 36, .04);
  --shadow: 0 24px 48px -24px rgba(10, 19, 36, .25);
  --shadow-lg: 0 50px 100px -30px rgba(6, 11, 22, .55);
  --container: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 50C240 5 480 5 720 50s480 45 720 0V100H0z'/%3E%3C/svg%3E");
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink);
  background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-400); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.012em; color: var(--navy-800); font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
p { margin: 0 0 1em; }
.accent { font-style: italic; font-weight: 300; color: var(--gold-500); }
.accent, .accent .wi { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.section--white { background: #fff; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--navy-900); color: var(--muted-light); isolation: isolate; }
.section--dark h2, .section--dark h3 { color: #fff; }
.grain::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .06; pointer-events: none; z-index: 0; mix-blend-mode: overlay; }
.section > .container { position: relative; z-index: 1; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 300; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold-400); }
.lead { font-size: clamp(1.1rem, 1.35vw, 1.24rem); line-height: 1.7; color: var(--muted); max-width: 60ch; }
.section--dark .lead, .hero .lead { color: var(--muted-light); }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.split-head { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.section-head.split-head .lead { margin: 0; }

/* Golden thread (fil conducteur entre les sections) ----------------------- */
.thread { display: flex; flex-direction: column; align-items: center; margin: 0 auto 34px; width: 14px; }
.thread::before { content: ""; width: 1px; height: 72px; background: linear-gradient(var(--gold-400) 0%, var(--gold-500) 100%); transform-origin: top; transform: scaleY(0); transition: transform 1s var(--ease); }
.thread::after { content: ""; width: 9px; height: 9px; margin-top: 4px; border: 1px solid var(--gold-500); transform: rotate(45deg) scale(0); transition: transform .6s var(--ease) .7s, background .6s .9s; }
.thread.is-visible::before { transform: scaleY(1); }
.thread.is-visible::after { transform: rotate(45deg) scale(1); background: var(--gold-400); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; isolation: isolate;
  padding: 17px 30px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-weight: 700; font-size: .96rem; letter-spacing: .01em;
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .4s var(--ease), border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--gold-grad); background-size: 200% 100%; color: var(--navy-900); box-shadow: 0 14px 34px -14px rgba(184,148,90,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 20px 44px -14px rgba(184,148,90,.95), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--dark { background: var(--navy-800); color: #fff; box-shadow: 0 14px 30px -16px rgba(10,19,36,.7); }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.btn--outline { border-color: rgba(17,29,53,.25); color: var(--navy-800); }
.btn--outline:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-800); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link-arrow:hover span { background-size: 100% 1px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Loader ---------------------------------------------------------------- */
.loader { display: none; }
.is-loading .loader {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: var(--navy-900);
  animation: loaderOut .9s var(--ease-in-out) 1.5s forwards;
}
.loader-inner { display: grid; justify-items: center; gap: 30px; }
.loader .logo-svg { width: min(340px, 70vw); height: auto; color: #fff; overflow: visible; }
.loader .hl-dark { animation: fadeUp .9s var(--ease) .1s both; }
.loader .hl-e rect { transform-box: fill-box; transform-origin: left; animation: barIn .8s var(--ease) both; }
.loader .hl-e rect:nth-child(1) { animation-delay: .2s; } .loader .hl-e rect:nth-child(2) { animation-delay: .3s; } .loader .hl-e rect:nth-child(3) { animation-delay: .4s; }
.loader .hl-arrow { animation: arrowIn 1s var(--ease) .55s both; }
.loader .hl-tag { animation: fadeUp .8s var(--ease) .8s both; }
.loader-bar { width: 160px; height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader-bar::after { content: ""; display: block; height: 100%; background: var(--gold-grad); transform-origin: left; animation: bar 1.3s var(--ease-in-out) .1s both; }
@keyframes barIn { from { transform: scaleX(0); } }
@keyframes arrowIn { from { opacity: 0; transform: translate(-40px, 50px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes loaderOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes bar { from { transform: scaleX(0); } }

/* Progress + back to top ------------------------------------------------ */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy-800); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s, transform .5s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--gold-400); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); }
.to-top .arrow { width: 18px; height: 18px; }

/* Header ---------------------------------------------------------------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 150; view-transition-name: site-header; pointer-events: none; }
.header-inner {
  pointer-events: auto; width: min(100% - 24px, 1280px); margin-inline: auto; height: 70px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(10,19,36,.25); backdrop-filter: blur(16px) saturate(140%);
  transition: background .5s, height .5s var(--ease), box-shadow .5s, border-color .5s, width .6s var(--ease);
}
.site-header.is-scrolled .header-inner { background: rgba(10,19,36,.82); height: 62px; box-shadow: 0 20px 50px -20px rgba(6,11,22,.6); border-color: rgba(207,174,120,.18); width: min(100% - 24px, 1180px); }
.logo { display: inline-flex; align-items: center; color: #fff; }
.logo-svg { height: 30px; width: auto; overflow: visible; }
.logo .hl-arrow { transition: transform .7s var(--ease); }
.logo:hover .hl-arrow { transform: translate(6px, -8px); }
.logo .hl-e rect { transform-box: fill-box; transform-origin: left; transition: transform .6s var(--ease); }
.logo:hover .hl-e rect:nth-child(2) { transform: scaleX(1.13); }
.logo--footer .logo-svg { height: 92px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { position: relative; padding: 10px 16px; font-weight: 600; font-size: .93rem; color: rgba(255,255,255,.72); transition: color .3s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--gold-400); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { margin-left: 12px; padding: 13px 22px; font-size: .9rem; }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before { position: absolute; left: 14px; width: 18px; height: 1.5px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle span { top: 23px; transform: rotate(45deg); }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(-90deg); }

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: var(--muted-light); }
.hero h1 { color: #fff; }
.hero--home { min-height: 100svh; display: flex; align-items: center; padding: 150px 0 120px; }
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: .9; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 50%; top: 5%; background: radial-gradient(circle, rgba(184,148,90,.42), transparent 65%); }
.aurora i:nth-child(2) { width: 50vw; height: 50vw; left: -5%; top: 40%; background: radial-gradient(circle, rgba(38,58,94,.95), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 70%; top: 55%; background: radial-gradient(circle, rgba(92,111,147,.45), transparent 65%); animation-duration: 18s; animation-delay: -10s; }
@keyframes drift { 33% { transform: translate(6vw, -4vh) scale(1.1); } 66% { transform: translate(-4vw, 6vh) scale(.92); } 100% { transform: translate(3vw, 2vh) scale(1.05); } }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 10%, transparent 75%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; margin-bottom: 30px; border-radius: 999px; border: 1px solid rgba(207,174,120,.25); background: rgba(207,174,120,.06); font-size: .85rem; color: #e8dcc4; }
.hero-kicker b { font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; background: var(--gold-grad); color: var(--navy-900); }
.hero .lead { margin-top: 26px; }
.hero .btn-row { margin-top: 42px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); margin-top: 64px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.09); }
.hero-facts div { min-width: 110px; }
.hero-facts strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 3.4vw, 3rem); color: #fff; line-height: 1; margin-bottom: 8px; letter-spacing: -.03em; }
.hero-facts strong em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-facts > div > span { font-size: .84rem; color: var(--muted-light); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(rgba(207,174,120,0), var(--gold-400)); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 110%; } }

/* Hero visual: glass card + seal */
.hero-visual { position: relative; perspective: 1400px; }
.glass-card {
  position: relative; padding: 36px; border-radius: var(--radius-lg); color: #d3dae7;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.12);
  transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease);
}
.glass-card::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--angle, 0deg), rgba(207,174,120,.0), rgba(207,174,120,.85), rgba(255,255,255,.15), rgba(207,174,120,0) 40%, rgba(207,174,120,0) 60%, rgba(207,174,120,.6), rgba(207,174,120,0)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: borderSpin 8s linear infinite; pointer-events: none; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes borderSpin { to { --angle: 360deg; } }
.glass-card .tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.glass-card h3 { color: #fff; font-size: 1.55rem; margin: 14px 0 6px; }
.glass-card .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.glass-card .meta span { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #e3e8f1; }
.glass-card ul { list-style: none; padding: 22px 0 0; margin: 0 0 28px; display: grid; gap: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.glass-card li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.glass-card li svg { width: 20px; height: 20px; flex: none; color: var(--gold-400); margin-top: 3px; }
.glass-card > * { transform: translateZ(30px); }
.floating-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255,255,255,.96); color: var(--navy-800); box-shadow: 0 30px 60px -20px rgba(6,11,22,.6); font-size: .86rem; font-weight: 700; line-height: 1.3;
  animation: float 7s ease-in-out infinite;
}
.floating-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.floating-chip .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); }
.floating-chip .ico svg { width: 20px; height: 20px; }
.chip-1 { top: -28px; left: -36px; }
.chip-2 { bottom: -34px; right: -26px; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }

.seal { position: absolute; width: 128px; height: 128px; right: -34px; top: -54px; z-index: 3; }
.seal svg.ring-text { width: 100%; height: 100%; animation: rotate 26s linear infinite; }
.seal .core { position: absolute; inset: 30px; border-radius: 50%; background: var(--navy-900); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(207,174,120,.4), 0 18px 40px -10px rgba(0,0,0,.6); }
.seal .core svg { width: 44px; height: 44px; }
.seal text { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 3.2px; fill: var(--gold-300); }
@keyframes rotate { to { transform: rotate(360deg); } }

/* Page hero (inner pages) */
.hero--page { padding: 190px 0 120px; min-height: 72svh; display: flex; align-items: flex-end; }
.hero--page h1 { max-width: 16ch; font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { width: 5px; height: 5px; border: 1px solid var(--gold-500); transform: rotate(45deg); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-chip { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.hero-chip .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(207,174,120,.12); color: var(--gold-400); }
.hero-chip .ico svg { width: 18px; height: 18px; }
.hero-chip small { display: block; font-size: .72rem; color: var(--muted-light); line-height: 1.2; }
.hero-chip strong { color: #fff; font-size: .92rem; font-weight: 700; }

/* Wave dividers (transitions animées entre sections) --------------------- */
.divider { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 7vw, 100px); pointer-events: none; z-index: 2; }
.divider--top { top: -1px; bottom: auto; transform: scaleY(-1); }
.divider span { position: absolute; inset: 0; background: var(--to, var(--ivory)); -webkit-mask: var(--wave) repeat-x; mask: var(--wave) repeat-x; -webkit-mask-size: 1440px 100%; mask-size: 1440px 100%; -webkit-mask-position: calc(var(--shift, 0) * 1px) 0; mask-position: calc(var(--shift, 0) * 1px) 0; will-change: mask-position; }
.divider span:first-child { background: var(--gold-grad); opacity: .45; --shift: var(--shift-a); transform: translateY(-12%); }
.divider span:last-child { --shift: var(--shift-b); }

/* Marquee ribbons -------------------------------------------------------- */
.ribbons { position: relative; height: 190px; overflow: hidden; background: var(--ivory); margin-top: -1px; }
.ribbon { position: absolute; left: -5%; width: 110%; padding: 18px 0; display: flex; overflow: hidden; }
.ribbon--gold { top: 38px; background: var(--gold-grad); color: var(--navy-900); transform: rotate(-2.2deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(140,106,53,.6); }
.ribbon--navy { top: 64px; background: var(--navy-800); color: #e4d3b0; transform: rotate(2deg); }
.marquee-track { display: flex; flex: none; gap: 0; animation: marquee 38s linear infinite; }
.ribbon--navy .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.6rem); white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-size: .7em; opacity: .7; }
.ribbons:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Care chain route (animation signature) --------------------------------- */
.route { position: relative; margin: 20px 0 0; padding: 70px 0 0; }
.route-track { position: relative; height: 2px; margin: 0 7%; background: repeating-linear-gradient(90deg, rgba(17,29,53,.22) 0 6px, transparent 6px 12px); }
.route-trail { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; animation: trail 8s var(--ease-in-out) infinite; }
.route-runner { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--navy-800); display: grid; place-items: center; color: var(--gold-400); box-shadow: 0 0 0 6px rgba(184,148,90,.18), 0 14px 30px -8px rgba(10,19,36,.6); animation: runner 8s var(--ease-in-out) infinite; z-index: 3; }
.route-runner svg { width: 22px; height: 22px; }
@keyframes runner { 0% { left: 0; opacity: 0; } 5% { opacity: 1; } 90% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes trail { 0% { transform: scaleX(0); opacity: 1; } 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.route-stops { position: absolute; inset: 0 7%; }
.stop { position: absolute; top: 0; transform: translate(-50%, -50%); }
.stop .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold-500); position: relative; animation: stopHit 8s var(--ease-in-out) infinite; animation-delay: var(--d); }
.stop .dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--gold-400); opacity: 0; animation: ping 8s var(--ease) infinite; animation-delay: var(--d); }
@keyframes stopHit { 0%, 100% { background: var(--ivory); transform: scale(1); } 3% { background: var(--gold-400); transform: scale(1.35); } 12%, 96% { background: var(--gold-400); transform: scale(1); } }
@keyframes ping { 0% { opacity: .9; transform: scale(.6); } 12% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; } }
.stop-label { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; text-align: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.route-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.route-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.route-card .k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.route-card h3 { font-size: 1.4rem; margin: 10px 0 8px; }
.route-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Pillars — sticky stacking cards ---------------------------------------- */
.stack { display: grid; gap: 36px; }
.stack-card {
  position: sticky; top: calc(120px + var(--i) * 26px); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; min-height: 420px;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 -20px 60px -30px rgba(10,19,36,.25);
  transform-origin: center top; transform: scale(var(--s, 1)); transition: transform .1s linear;
}
.stack-card .content { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; }
.stack-card .num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .2em; color: var(--gold-600); }
.stack-card h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 18px 0 16px; }
.stack-card p { color: var(--muted); max-width: 44ch; }
.stack-card ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card ul li { font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); color: var(--navy-700); }
.stack-card .art { position: relative; background: var(--navy-900); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.stack-card .art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(184,148,90,.35), transparent 55%); z-index: -1; }
.stack-card .art::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .07; mix-blend-mode: overlay; }
.stack-card:nth-child(2) .art { background: var(--navy-800); }
.stack-card:nth-child(3) .art { background: var(--navy-700); }
.art-rings { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.art-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(207,174,120,.25); animation: pulseRing 4s var(--ease) infinite; }
.art-rings i:nth-child(2) { inset: 30px; animation-delay: .6s; }
.art-rings i:nth-child(3) { inset: 60px; animation-delay: 1.2s; }
@keyframes pulseRing { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .5; } }
.art-rings .core { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 30px 60px -20px rgba(184,148,90,.7); transform: rotate(-6deg); }
.art-rings .core svg { width: 44px; height: 44px; }
.art .big-num { position: absolute; right: 26px; bottom: -20px; font-family: var(--font-display); font-weight: 300; font-size: 9rem; line-height: 1; color: rgba(255,255,255,.05); }

/* Spotlight cards -------------------------------------------------------- */
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(207,174,120,.16), transparent 45%); }
.spot:hover::before { opacity: 1; }
.gborder { border: 1px solid transparent !important; background: linear-gradient(var(--card-bg, #fff), var(--card-bg, #fff)) padding-box, var(--gold-grad-soft) border-box !important; }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ivory); color: var(--gold-600); margin-bottom: 26px; border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, color .4s; }
.card:hover .ico { transform: rotate(-8deg) scale(1.06); background: var(--navy-800); color: var(--gold-400); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card .idx { position: absolute; top: 26px; right: 28px; font-family: var(--font-mono); font-size: .72rem; color: var(--gold-600); letter-spacing: .12em; }
.section--dark .card { --card-bg: var(--navy-850); background: var(--navy-850); border-color: var(--line-light); }
.section--dark .card p { color: var(--muted-light); }
.section--dark .card .ico { background: rgba(207,174,120,.08); color: var(--gold-400); border-color: rgba(207,174,120,.18); }
.section--dark .card:hover .ico { background: var(--gold-grad); color: var(--navy-900); }

/* Formation showcase ---------------------------------------------------- */
.showcase { display: grid; grid-template-columns: 1.2fr .8fr; border-radius: var(--radius-lg); overflow: hidden; --card-bg: var(--navy-850); background: var(--navy-850); box-shadow: var(--shadow-lg); }
.showcase .body { padding: clamp(36px, 5vw, 64px); }
.showcase .body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; margin: 18px 0 18px; }
.showcase .side { position: relative; padding: clamp(36px, 5vw, 56px); background: linear-gradient(170deg, rgba(184,148,90,.16), rgba(184,148,90,.02)); border-left: 1px solid var(--line-light); display: flex; flex-direction: column; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(207,174,120,.3); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(207,174,120,.2); animation: blink 2s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(207,174,120,0); } }
.facts { list-style: none; padding: 0; margin: 0 0 32px; }
.facts li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: .95rem; }
.facts li span:first-child { color: var(--muted-light); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.facts li span:last-child { color: #fff; font-weight: 600; text-align: right; }
.showcase .side .btn-row { margin-top: auto; flex-direction: column; align-items: stretch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tags span { font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-light); color: #d6dcea; }

.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c6a35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .check-list li, .showcase .check-list li { color: #d6dcea; }
.section--dark .check-list li::before, .showcase .check-list li::before { background-color: rgba(207,174,120,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3cb9c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* Split ---------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.split--top { align-items: start; }
.panel { position: relative; border-radius: var(--radius-lg); background: #fff; padding: clamp(30px, 4vw, 52px); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Process line --------------------------------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-line { position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line); }
.process-line::after { content: ""; position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); transition: transform 2s var(--ease-in-out) .3s; }
.process.is-visible .process-line::after { transform: scaleX(1); }
.step { position: relative; text-align: center; }
.step .n { position: relative; z-index: 1; width: 62px; height: 62px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-800); transition: background .6s, color .6s, border-color .6s, transform .6s var(--ease); transition-delay: calc(.4s + var(--i, 0) * .45s); }
.process.is-visible .step .n { background: var(--navy-800); color: var(--gold-400); border-color: var(--navy-800); transform: scale(1.05); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }
.section--dark .step .n { background: var(--navy-850); border-color: var(--line-light); color: #fff; }
.section--dark .process.is-visible .step .n { background: var(--gold-grad); color: var(--navy-900); }
.section--dark .process-line { background: var(--line-light); }
.section--dark .step p { color: var(--muted-light); }

/* Trust / guarantees ---------------------------------------------------- */
.trust-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 100px); align-items: start; }
.trust-aside { position: sticky; top: 130px; }
.seal--static { position: relative; right: auto; top: auto; width: 150px; height: 150px; margin-bottom: 36px; }
.seal--static .core { inset: 36px; }
.guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.guarantee { position: relative; padding: 30px 28px; border-radius: var(--radius); --card-bg: var(--navy-850); background: var(--navy-850); border: 1px solid var(--line-light); transition: transform .6s var(--ease); }
.guarantee:hover { transform: translateY(-4px); }
.guarantee .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(207,174,120,.1); color: var(--gold-400); margin-bottom: 20px; }
.guarantee .ico svg { width: 22px; height: 22px; }
.guarantee h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 0; }
.guarantee p { margin: 0; font-size: .94rem; color: var(--muted-light); }
.refs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: clamp(64px, 8vw, 100px); border-radius: var(--radius); overflow: hidden; background: var(--line-light); border: 1px solid var(--line-light); }
.ref { padding: 30px 16px; text-align: center; background: var(--navy-900); transition: background .4s; }
.ref:hover { background: var(--navy-850); }
.ref strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: #fff; margin-bottom: 6px; }
.ref span { font-size: .76rem; color: var(--muted-light); line-height: 1.4; display: block; }

/* Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 5vw, 4.4rem); color: var(--navy-800); line-height: 1; margin-bottom: 14px; letter-spacing: -.04em; }
.stat strong sup { font-size: .4em; margin-left: 4px; color: var(--gold-500); font-weight: 400; }
.stat > span { color: var(--muted); font-size: .94rem; display: block; max-width: 24ch; }

/* FAQ ------------------------------------------------------------------ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--navy-800); transition: color .3s; }
.faq summary:hover { color: var(--gold-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: background .4s, border-color .4s, transform .6s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--navy-800); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .4s; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--navy-800); border-color: var(--navy-800); transform: rotate(180deg); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--gold-400); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 64px 28px 0; margin: 0; color: var(--muted); }

/* CTA final ------------------------------------------------------------- */
.cta-final { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(56px, 8vw, 120px) clamp(28px, 6vw, 96px); background: var(--navy-900); color: var(--muted-light); text-align: center; }
.cta-final::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .07; mix-blend-mode: overlay; z-index: -1; pointer-events: none; }
.cta-final .orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(207,174,120,.16); transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
.cta-final .orbit:nth-of-type(1) { width: 520px; height: 520px; }
.cta-final .orbit:nth-of-type(2) { width: 820px; height: 820px; }
.cta-final .orbit:nth-of-type(3) { width: 1120px; height: 1120px; }
.cta-final .orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 16px 4px rgba(207,174,120,.6); }
.cta-final .orbit { animation: rotate 30s linear infinite; }
.cta-final .orbit:nth-of-type(2) { animation-duration: 46s; animation-direction: reverse; }
.cta-final .orbit:nth-of-type(3) { animation-duration: 70s; }
.cta-final .glow { position: absolute; left: 50%; top: 0; width: 70%; height: 60%; transform: translateX(-50%); background: radial-gradient(ellipse at top, rgba(184,148,90,.35), transparent 70%); z-index: -1; }
.cta-final h2 { color: #fff; max-width: 18ch; margin: 0 auto 22px; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.cta-final p { max-width: 54ch; margin: 0 auto; font-size: 1.12rem; }
.cta-final .btn-row { justify-content: center; margin-top: 44px; }
.cta-final .assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; font-size: .86rem; }
.cta-final .assure span { display: inline-flex; gap: 8px; align-items: center; }
.cta-final .assure svg { width: 16px; height: 16px; color: var(--gold-400); }

/* Formation page -------------------------------------------------------- */
.subnav { position: sticky; top: 96px; z-index: 60; display: flex; justify-content: center; margin: -34px 0 0; pointer-events: none; }
.subnav-inner { pointer-events: auto; display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { padding: 10px 18px; border-radius: 999px; font-size: .86rem; font-weight: 700; color: var(--muted); white-space: nowrap; transition: background .4s, color .4s; }
.subnav a:hover { color: var(--navy-800); }
.subnav a.is-active { background: var(--navy-800); color: #fff; }

.objectives { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; counter-reset: obj; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-light); }
.objectives li { counter-increment: obj; display: flex; gap: 24px; align-items: baseline; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line-light); color: #dfe4ee; font-size: 1.05rem; }
.objectives li:nth-child(odd) { border-right: 1px solid var(--line-light); }
.objectives li:nth-child(even) { padding-left: 28px; }
.objectives li::before { content: counter(obj, decimal-leading-zero); font-family: var(--font-mono); font-size: .8rem; color: var(--gold-400); letter-spacing: .1em; }

.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.module { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.module[open] { border-color: rgba(184,148,90,.5); box-shadow: var(--shadow); }
.module summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 22px 24px; cursor: pointer; }
.module summary::-webkit-details-marker { display: none; }
.module .num { font-family: var(--font-mono); font-size: .8rem; color: var(--gold-600); min-width: 26px; letter-spacing: .06em; }
.module .title { flex: 1; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-800); line-height: 1.3; }
.module .plus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .6s var(--ease), background .4s, border-color .4s; }
.module .plus svg { width: 14px; height: 14px; color: var(--navy-800); transition: color .4s; }
.module[open] .plus { transform: rotate(135deg); background: var(--navy-800); border-color: var(--navy-800); }
.module[open] .plus svg { color: var(--gold-400); }
.module .answer { overflow: hidden; }
.module ul { margin: 0; padding: 0 28px 24px 68px; color: var(--muted); font-size: .96rem; display: grid; gap: 8px; }
.module ul li::marker { color: var(--gold-500); }
.module-group-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 30px 0 6px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-600); }
.module-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.module-group-title:first-child { margin-top: 0; }

.pack-wrap { position: relative; }
.pack-diagram { width: 100%; height: auto; }
.pack-diagram .layer { opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transform-box: fill-box; transform-origin: center; }
.pack-diagram .l-outer { transform: scale(.92); }
.pack-diagram .l-second { transform: scale(.85); transition-delay: .35s; }
.pack-diagram .l-abs { transition-delay: .7s; }
.pack-diagram .l-tube { transform: translateY(-40px); transition-delay: .95s; }
.pack-diagram .l-label { transform: rotate(-90deg) scale(.4); transition-delay: 1.3s; }
.pack-diagram .l-callouts { transition-delay: 1.6s; }
.is-visible .pack-diagram .layer { opacity: 1; transform: none; }
.legend { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.legend > div { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.legend b { font-family: var(--font-mono); font-weight: 500; font-size: .8rem; color: var(--gold-600); padding-top: 3px; }
.legend strong { display: block; color: var(--navy-800); font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin-bottom: 2px; }
.legend span { color: var(--muted); font-size: .95rem; }

.tabs { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 48px; box-shadow: var(--shadow-sm); }
.tab-indicator { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--navy-800); transition: transform .6s var(--ease), width .6s var(--ease); z-index: 0; }
.tab { position: relative; z-index: 1; border: 0; background: transparent; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .93rem; color: var(--muted); cursor: pointer; transition: color .4s; }
.tab[aria-selected="true"] { color: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering .slot { animation: slotIn .7s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes slotIn { from { opacity: 0; transform: translateX(-20px); } }

.timeline { position: relative; display: grid; gap: 0; padding-left: 48px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline-progress { position: absolute; left: 11px; top: 10px; width: 1px; height: calc((100% - 20px) * var(--tp, 0)); background: var(--gold-grad); }
.slot { position: relative; display: grid; grid-template-columns: 110px 1.2fr 1fr; gap: 28px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.slot::before { content: ""; position: absolute; left: -43px; top: 33px; width: 13px; height: 13px; border-radius: 50%; background: var(--ivory); border: 1.5px solid var(--gold-500); transition: background .4s, transform .4s var(--ease); }
.slot.is-passed::before { background: var(--gold-400); transform: scale(1.15); }
.slot .dur { font-family: var(--font-display); font-weight: 300; font-size: 1.6rem; color: var(--gold-600); line-height: 1.1; letter-spacing: -.02em; }
.slot h3 { font-size: 1.3rem; margin-bottom: 6px; }
.slot p { margin: 0; color: var(--muted); font-size: .96rem; }
.slot .method { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.slot .method span { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-700); }
.day-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.day-summary h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.day-summary .total { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }

/* Forms ---------------------------------------------------------------- */
.form-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.form-aside { position: sticky; top: 120px; }
.form-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px); border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: -140px; z-index: 3; }
.form-card::before { content: ""; position: absolute; left: 40px; right: 40px; top: -1px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: grid; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .86rem; font-weight: 700; color: var(--navy-800); }
.req { color: var(--gold-600); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid rgba(17,29,53,.14); background: var(--ivory); font-size: 1rem; transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(17,29,53,.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 5px rgba(184,148,90,.14); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c0573f; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(17,29,53,.14); background: var(--ivory); font-size: .92rem; font-weight: 600; cursor: pointer; transition: all .35s var(--ease); }
.choice span:hover { border-color: var(--navy-600); }
.choice input:checked + span { border-color: var(--navy-800); background: var(--navy-800); color: #fff; box-shadow: 0 10px 20px -10px rgba(10,19,36,.6); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(184,148,90,.3); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .87rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy-800); flex: none; }
.form-note { font-size: .82rem; color: var(--muted); margin: 16px 0 0; }
.form-success { display: none; text-align: center; padding: 36px 0; }
.form-success .ico { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 20px 40px -14px rgba(184,148,90,.8); animation: pop .8s var(--ease) both; }
.form-success .ico svg { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
.steps-v { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; }
.steps-v li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.steps-v li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 1px; background: linear-gradient(var(--gold-400), rgba(207,174,120,.1)); }
.steps-v .n { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); font-family: var(--font-display); font-size: 1.1rem; }
.steps-v h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin: 10px 0 4px; letter-spacing: 0; }
.steps-v p { margin: 0; color: var(--muted); font-size: .93rem; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.contact-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.contact-list .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.contact-list strong { color: var(--navy-800); }
.reassure { display: grid; gap: 14px; margin-top: 30px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-size: .93rem; }
.reassure div { display: flex; gap: 12px; align-items: center; }
.reassure svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; }

/* Prose ---------------------------------------------------------------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.8rem; margin-top: 2em; }
.prose p, .prose li { color: var(--muted); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.todo { background: #fff3d6; border-bottom: 1px dashed var(--gold-500); padding: 0 4px; color: var(--navy-800); }

/* Footer --------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-950); color: var(--muted-light); padding: 110px 0 0; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .05; mix-blend-mode: overlay; z-index: -1; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.footer-top h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding: 64px 0; }
.site-footer .logo { margin-bottom: 24px; }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer ul a { position: relative; transition: color .3s; }
.site-footer ul a:hover { color: #fff; }
.footer-motto { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.footer-motto span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em; color: var(--gold-300); padding: 7px 12px; border: 1px solid rgba(207,174,120,.25); border-radius: 999px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line-light); font-size: .84rem; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.wordmark { font-family: var(--font-body); font-weight: 800; font-size: clamp(3.6rem, 15.5vw, 15.5rem); line-height: .8; letter-spacing: -.03em; text-align: center; white-space: nowrap; margin: 10px 0 -0.06em; background: linear-gradient(180deg, rgba(207,174,120,.35), rgba(207,174,120,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; transform: translateY(calc(30% - var(--wm, 0) * 30%)); }

.mobile-cta { display: none; }

/* Reveal system --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal--scale { transform: translateY(40px) scale(.96); }
.reveal--clip { opacity: 1; transform: none; clip-path: inset(12% 6% 12% 6% round 40px); transition: clip-path 1.4s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--clip.is-visible { clip-path: inset(0 0 0 0 round 0); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
[data-split] .wi { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--wd, 0s) + var(--i) * 55ms); }
[data-split].is-visible .wi { transform: none; }
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.stagger.is-visible > * { opacity: 1; transform: none; }

/* Page transitions (navigation entre pages) */
::view-transition-old(root) { animation: vtOut .45s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vtIn .7s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-24px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(30px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .stagger > *, [data-split] .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .route-runner { display: none; }
  .route-trail { transform: scaleX(1); }
  .is-loading .loader { display: none; }
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid, .split, .form-shell, .showcase, .trust-grid, .faq-grid { grid-template-columns: 1fr; }
  .section-head.split-head { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { max-width: 560px; margin-top: 30px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .refs { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-aside, .trust-aside { position: static; }
  .form-card { margin-top: 0; }
  .showcase .side { border-left: 0; border-top: 1px solid var(--line-light); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 100px 28px 40px;
    background: var(--navy-900); clip-path: circle(0 at calc(100% - 50px) 50px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
  }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 2.4rem; color: #fff; padding: 6px 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold-400); }
  .nav-open .nav a { opacity: 1 !important; transform: none !important; }
  .nav-open .nav a:nth-child(1) { transition-delay: .25s; } .nav-open .nav a:nth-child(2) { transition-delay: .32s; }
  .nav-open .nav a:nth-child(3) { transition-delay: .39s; } .nav-open .nav a:nth-child(4) { transition-delay: .46s; }
  .nav .btn { margin: 26px 0 0; opacity: 0; transition: opacity .6s .55s; }
  .site-header .logo, .nav-toggle { position: relative; z-index: 2; }
  .stack-card { grid-template-columns: 1fr; position: relative; top: auto; transform: none !important; }
  .stack-card .art { min-height: 240px; order: -1; }
  .cards-3, .route-cards, .guarantees { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .process-line { display: none; }
  .modules, .objectives { grid-template-columns: 1fr; }
  .objectives li { border-right: 0 !important; padding-left: 0 !important; }
  .slot { grid-template-columns: 1fr; gap: 8px; }
  .chip-1 { left: -8px; } .chip-2 { right: -8px; } .seal { right: -10px; }
  .route { padding: 0; margin-top: 10px; }
  .route-track { height: 300px; width: 2px; margin: 0 0 0 24px; background: repeating-linear-gradient(180deg, rgba(17,29,53,.22) 0 6px, transparent 6px 12px); }
  .route-trail { transform-origin: top; animation-name: trailV; }
  .route-runner { left: 50% !important; animation-name: runnerV; }
  .route-stops { inset: 0; }
  .stop { left: 50% !important; top: var(--pos); }
  .stop-label { bottom: auto; left: 34px; top: 50%; transform: translateY(-50%); }
  @keyframes runnerV { 0% { top: 0; opacity: 0; } 5% { opacity: 1; } 90% { top: 100%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
  @keyframes trailV { 0% { transform: scaleY(0); opacity: 1; } 90% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }
  .mobile-cta { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; padding: 8px; border-radius: 999px; background: rgba(10,19,36,.9); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); border: 1px solid rgba(207,174,120,.2); transform: translateY(160%); transition: transform .6s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { flex: 1; padding: 14px 16px; font-size: .9rem; }
  .to-top { bottom: 92px; right: 16px; width: 48px; height: 48px; }
  .site-footer { padding-bottom: 80px; }
  .subnav { top: 92px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero--home { padding: 130px 0 100px; }
  .hero--page { padding: 150px 0 90px; min-height: 0; }
  .cards-4, .form-grid, .footer-grid, .guarantees { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px; }
  .refs { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
  .module ul { padding-left: 48px; }
  .glass-card { padding: 28px 22px; }
  .floating-chip { display: none; }
  .ribbons { height: 150px; }
  .ribbon--gold { top: 28px; } .ribbon--navy { top: 52px; }
  .faq .answer p { padding-right: 0; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   Photos
   ========================================================================== */
.hero-photo { position: absolute; inset: 0 0 0 36%; z-index: -2; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(0deg, transparent 0%, #000 30%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.75) contrast(1.05); transform: scale(1.06); animation: kenburns 24s ease-in-out infinite alternate; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,19,36,.35) 0%, rgba(10,19,36,.15) 50%, var(--navy-900) 100%); }
@keyframes kenburns { to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero--page .hero-photo { inset: 0 0 0 30%; }
.hero--page .hero-photo img { opacity: .3; }

.route-card { overflow: hidden; padding: 0 0 30px; }
.route-card .k, .route-card h3, .route-card p { padding: 0 30px; display: block; }
.route-card .k { margin-top: 24px; }
.rc-media, .card-media, .post-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.rc-media img, .card-media img, .post-media img, .featured-media img, .image-band img, .trust-photo img, .ps-photo img, .article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.route-card:hover .rc-media img, .card--photo:hover .card-media img, .post-card:hover .post-media img, .featured:hover .featured-media img { transform: scale(1.06); }
.card--photo { padding: 0 0 30px; overflow: hidden; }
.card--photo .card-media { aspect-ratio: 4 / 3; margin-bottom: 26px; }
.card--photo > .ico { position: relative; margin: -53px 0 18px 26px; z-index: 2; background: #fff; box-shadow: var(--shadow-sm); }
.card--photo h3, .card--photo p { padding: 0 28px; }
.card--photo .idx { z-index: 2; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

.art-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; filter: saturate(.7); transition: transform 1.4s var(--ease); }
.stack-card:hover .art-photo { transform: scale(1.05); }
.stack-card .art::before { z-index: -1; background: linear-gradient(160deg, rgba(10,19,36,.35), rgba(10,19,36,.85)), radial-gradient(circle at 70% 30%, rgba(184,148,90,.35), transparent 55%); }

.image-band { position: relative; margin: 0 0 clamp(56px, 7vw, 96px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); }
.image-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 36px 28px; color: #fff; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.5rem); background: linear-gradient(transparent, rgba(10,19,36,.85)); }
.trust-photo { margin: 36px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.photo-stack { position: relative; }
.ps-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo-stack .panel { position: relative; margin: -120px 0 0 clamp(20px, 8%, 80px); z-index: 2; }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card.is-hidden { display: none; }
.post-link { display: flex; flex-direction: column; height: 100%; }
.post-cat { position: absolute; left: 16px; top: 16px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(10,19,36,.78); color: var(--gold-300); backdrop-filter: blur(8px); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.post-body h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 10px; }
.post-body p { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.post-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.post-meta .link-arrow { font-size: .88rem; }
.section--dark .post-card { background: var(--navy-850); border-color: var(--line-light); }

.featured { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); color: var(--muted-light); box-shadow: var(--shadow-lg); margin-bottom: 56px; }
.featured-media { overflow: hidden; min-height: 360px; }
.featured-body { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 20px 0 14px; }
.featured-body .post-meta { color: var(--muted-light); margin-top: 26px; }
.featured-body .link-arrow { color: var(--gold-300); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .86rem; color: var(--muted); cursor: pointer; transition: all .35s var(--ease); }
.chip:hover { color: var(--navy-800); border-color: var(--navy-600); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* Article ---------------------------------------------------------------- */
.hero--article { min-height: 0; padding: 180px 0 130px; }
.hero--article h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 30px; font-size: .88rem; color: var(--muted-light); }
.am-author { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.am-author svg { width: 30px; height: 30px; border-radius: 8px; background: var(--navy-700); padding: 3px; }
.article-section { padding-top: clamp(40px, 5vw, 64px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.article-aside { grid-column: 2; grid-row: 1; position: sticky; top: 110px; display: grid; gap: 20px; }
.article { grid-column: 1; grid-row: 1; min-width: 0; }
.toc-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.toc-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin: 0 0 14px; }
.toc { list-style: none; counter-reset: toc; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { position: relative; display: flex; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 10px; font-size: .9rem; line-height: 1.4; color: var(--muted); transition: background .3s, color .3s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: .72rem; color: var(--gold-600); padding-top: 2px; }
.toc a::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--gold-500); transform: scaleY(0); transition: transform .4s var(--ease); }
.toc a:hover { color: var(--navy-800); background: var(--ivory); }
.toc a.is-active { color: var(--navy-800); background: var(--sand); font-weight: 600; }
.toc a.is-active::after { transform: scaleY(1); }
.aside-cta { position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius); background: var(--navy-900); color: var(--muted-light); }
.aside-cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(184,148,90,.35), transparent 70%); }
.aside-cta .ac-title { position: relative; color: #fff; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; margin: 16px 0 14px; }
.aside-cta ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .9rem; }
.aside-cta li { display: flex; gap: 10px; align-items: center; }
.aside-cta li svg { width: 16px; height: 16px; color: var(--gold-400); }
.ac-link { display: block; text-align: center; margin-top: 14px; font-size: .86rem; color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.article-cover { margin: 0 0 40px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.keypoints { position: relative; padding: 30px 32px; margin-bottom: 44px; border-radius: var(--radius); background: linear-gradient(135deg, var(--gold-100), #fff 70%); border: 1px solid rgba(184,148,90,.35); }
.kp-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.kp-title svg { width: 18px; height: 18px; }
.keypoints ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.keypoints li::marker { color: var(--gold-500); }
.prose-article { font-size: 1.08rem; line-height: 1.8; color: #2a3346; }
.prose-article > p:first-child { font-size: 1.2rem; color: var(--ink); }
.prose-article h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2em 0 .7em; scroll-margin-top: 110px; }
.prose-article h2::before { content: ""; display: block; width: 36px; height: 2px; margin-bottom: 18px; background: var(--gold-grad); }
.prose-article ul, .prose-article ol { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 1.2em; }
.prose-article li::marker { color: var(--gold-600); }
.prose-article a { color: var(--navy-800); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose-article a:hover { color: var(--gold-700); }
.prose-article table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6em 0; font-size: .94rem; line-height: 1.5; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; display: block; overflow-x: auto; }
.prose-article thead th { background: var(--navy-800); color: #fff; font-weight: 700; text-align: left; padding: 14px 16px; white-space: nowrap; }
.prose-article td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose-article tbody tr:nth-child(even) td { background: var(--ivory); }
.prose-article td:first-child { font-weight: 700; color: var(--navy-800); }
.cta-inline { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin: 2.4em 0; padding: 30px; border-radius: var(--radius); background: var(--navy-900); color: var(--muted-light); box-shadow: var(--shadow); }
.ci-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); }
.ci-icon svg { width: 26px; height: 26px; }
.ci-kicker { margin: 0 0 6px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
.ci-title { margin: 0 0 8px; color: #fff; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.ci-text { margin: 0; font-size: .95rem; }
.ci-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.ci-actions .link-arrow { color: var(--gold-300); }
.prose-article .cta-inline a { text-decoration: none; }
.article-faq { margin-top: 64px; }
.article-faq h2, .sources h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); scroll-margin-top: 110px; }
.sources { margin-top: 56px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.sources h2 { font-size: 1.4rem; }
.sources ul { padding-left: 20px; display: grid; gap: 8px; font-size: .94rem; }
.sources a { text-decoration: underline; text-underline-offset: 3px; }
.disclaimer { margin: 18px 0 0; font-size: .85rem; color: var(--muted); font-style: italic; }
.author-box { display: flex; gap: 20px; align-items: center; margin-top: 32px; padding: 26px 28px; border-radius: var(--radius); background: var(--sand); }
.ab-mark { width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--navy-900); display: grid; place-items: center; }
.ab-mark svg { width: 42px; height: 42px; }
.ab-name { margin: 0 0 4px; font-weight: 800; color: var(--navy-800); }
.author-box p:last-child { margin: 0; font-size: .92rem; color: var(--muted); }

@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 0; aspect-ratio: 16 / 9; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { grid-column: 1; grid-row: auto; position: static; order: -1; }
  .article { grid-column: 1; grid-row: auto; }
  .article-aside .aside-cta { display: none; }
  .hero-photo { inset: 0; }
  .hero-photo img { opacity: .22; }
}
@media (max-width: 900px) {
  .photo-stack .panel { margin: -60px 12px 0; }
  .image-band { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .cta-inline { grid-template-columns: 1fr; padding: 24px; }
  .keypoints { padding: 24px 22px; }
  .hero--article { padding: 140px 0 100px; }
}
