/* =============================================================
   CERTEX Instituto de Certificación — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced-motion
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  --bg:        #0A1220;   /* deep navy, never pure black */
  --bg-2:      #0E1928;
  --bg-3:      #142238;   /* card surface */
  --bg-4:      #1B2C46;   /* hover surface */
  --paper:     #F7F4EA;   /* light alt sections */
  --paper-2:   #EFEADA;
  --ink-paper: #10161F;
  --cream:     #F1EDE2;   /* text on dark, never pure white */
  --cream-2:   #D4CDB9;
  --cream-3:   #8592A3;   /* muted metadata, cool */
  --accent:    #C9A54A;   /* gold — primary */
  --accent-2:  #9C7C33;   /* gold, darker */
  --accent-soft: rgba(201,165,74,0.14);
  --line:      rgba(241,237,226,0.14);
  --line-soft: rgba(241,237,226,0.08);
  --ok:        #6FA97C;

  --serif: "Libre Caslon Text", "Source Serif 4", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1240px;
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 400; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   3. Utilities
   ------------------------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--accent); color: var(--bg);
  border-radius: 8px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-alt { background: var(--bg-2); }
.section-paper { background: var(--paper); color: var(--ink-paper); }
.section-paper h1, .section-paper h2, .section-paper h3 { color: var(--ink-paper); }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.text-mute { color: var(--cream-3); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 5vw, 3.5rem); }

/* -------------------------------------------------------------
   4. Typography
   ------------------------------------------------------------- */
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--cream-2); line-height: 1.6; }
em { font-style: italic; color: var(--accent); font-family: var(--serif); }

/* -------------------------------------------------------------
   5. Components
   ------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95rem 1.7rem; border-radius: 3px;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .35s var(--ease-out), color .35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(201,165,74,0.45); background: #D8B65D; }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost.on-paper { border-color: rgba(16,22,31,0.22); color: var(--ink-paper); }
.btn-ghost.on-paper:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn svg { width: 18px; height: 18px; }

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,18,32,0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; }
.brand-seal { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name strong { color: var(--accent); font-style: italic; }
.nav-links { display: none; align-items: center; gap: 2.1rem; font-size: .9rem; }
.nav-links a { position: relative; padding-block: .3rem; color: var(--cream-2); transition: color .3s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--accent);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { display: none; }
.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: var(--cream); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--cream); transition: transform .3s var(--ease-out); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-mobile {
  position: fixed; inset: 0; z-index: 190; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile a { font-family: var(--serif); font-size: 1.7rem; color: var(--cream); }
.nav-mobile .btn-primary { margin-top: 1rem; }

/* Cards */
.card {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: 6px;
  padding: 2rem; transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .5s var(--ease-soft);
}
.card:hover { border-color: var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,165,74,0.15); }
.card .card-icon { width: 42px; height: 42px; color: var(--accent); margin-bottom: 1.4rem; }
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--cream-3); font-size: .95rem; }

/* Photo placeholder — intentional design block until real photos land */
.ph {
  position: relative; aspect-ratio: var(--ph-ratio, 4/3); border-radius: 4px; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(201,165,74,0.06) 0 2px, transparent 2px 26px),
    linear-gradient(160deg, var(--bg-4), var(--bg-2));
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .8rem;
  padding: 1.4rem;
}
.ph svg { width: 30px; height: 30px; color: var(--accent); opacity: .8; }
.ph span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cream-3); max-width: 22em; line-height: 1.5; }
.ph::after {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(201,165,74,0.18); border-radius: 4px; pointer-events: none;
}

/* Seal / brand mark */
.seal-mark { color: var(--accent); }

/* Stat */
.stat { display: flex; flex-direction: column; gap: .3rem; }
.stat .num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--accent); font-style: italic; }
.stat .lbl { font-size: .85rem; color: var(--cream-3); }

/* Accordion (native details/summary — works with JS disabled) */
.accordion-item {
  border-bottom: 1px solid var(--line); padding-block: 1.2rem;
}
.accordion-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--serif); font-size: 1.15rem;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .a-meta { display: flex; align-items: baseline; gap: 1rem; }
.accordion-item summary .a-name { color: var(--accent); font-style: italic; min-width: 6.5em; }
.accordion-item summary .a-plus {
  width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; transition: transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
.accordion-item summary .a-plus svg { width: 12px; height: 12px; }
.accordion-item[open] summary .a-plus { transform: rotate(45deg); border-color: var(--accent); }
.accordion-item .a-body { padding-top: 1rem; max-width: 62ch; color: var(--cream-3); font-size: .95rem; }

/* Sello tile (grid of details) */
.sello-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: .9rem; }
.sello-tile {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: 6px; padding: 1.2rem 1.4rem;
}
.sello-tile summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  font-family: var(--serif); font-size: 1.02rem;
}
.sello-tile summary::-webkit-details-marker { display: none; }
.sello-tile .a-plus {
  width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; transition: transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
.sello-tile .a-plus svg { width: 11px; height: 11px; }
.sello-tile[open] .a-plus { transform: rotate(45deg); border-color: var(--accent); }
.sello-tile .a-body { padding-top: .8rem; color: var(--cream-3); font-size: .88rem; }
.sello-badge { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }

/* Timeline (methodology) */
.tl { position: relative; }
.tl-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding-bottom: 3rem; position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-num {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.15rem;
  position: relative; z-index: 2; background: var(--bg-2); flex-shrink: 0;
}
.tl-item::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: -1rem; width: 1px; background: var(--line);
}
.tl-item:last-child::before { display: none; }
.tl-body h3 { margin-bottom: .5rem; }
.tl-body p { color: var(--cream-3); max-width: 52ch; font-size: .96rem; }

/* Form */
.form-field { position: relative; margin-bottom: 1.3rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: transparent; border: 1px solid var(--line); border-radius: 4px;
  padding: 1.1rem 1rem .5rem; font: inherit; color: var(--cream); font-size: .95rem;
  transition: border-color .3s var(--ease-out);
}
.form-field select { color-scheme: dark; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field label {
  position: absolute; left: 1rem; top: 1.05rem; color: var(--cream-3); font-size: .95rem; pointer-events: none;
  transition: top .2s var(--ease-out), font-size .2s var(--ease-out), color .2s var(--ease-out);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); outline: none; }
.form-field input:focus + label, .form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label, .form-field textarea:not(:placeholder-shown) + label,
.form-field.has-value label { top: .45rem; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.form-field select + label { top: .45rem; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.form-msg { display: none; padding: .9rem 1rem; border-radius: 4px; font-size: .88rem; margin-top: 1rem; }
.form-msg.ok { display: block; background: rgba(111,169,124,0.14); border: 1px solid rgba(111,169,124,0.35); color: var(--ok); }
.cta-form.is-sending .btn-primary { opacity: .7; pointer-events: none; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 16px 34px -10px rgba(0,0,0,0.55);
  transition: transform .35s var(--ease-bounce);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
.footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1rem; font-weight: 600; }
.footer ul li { margin-bottom: .55rem; }
.footer a { color: var(--cream-2); font-size: .92rem; transition: color .25s var(--ease-out); }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
  font-size: .78rem; color: var(--cream-3);
}
.footer-social { display: flex; gap: .8rem; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.footer-social svg { width: 15px; height: 15px; }

/* Cursor (subtle, desktop only) */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; display: none; mix-blend-mode: difference; opacity: 0; transition: opacity .25s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--cream); border-radius: 50%; }
.cursor-ring { width: 30px; height: 30px; margin: -15px; border: 1px solid var(--cream); border-radius: 50%; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out); }
.cursor.is-interactive .cursor-ring { width: 46px; height: 46px; margin: -23px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center; pointer-events: auto;
  transition: opacity .8s, clip-path 1s;
  animation: splashSafety .01s 4s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-seal { width: 64px; height: 64px; color: var(--accent); animation: sealSpin 2.4s linear infinite; }
@keyframes sealSpin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------
   6. Sections
   ------------------------------------------------------------- */

/* Hero (interior pages) */
.hero-page {
  padding-top: calc(var(--nav-h) + 5rem); padding-bottom: 4rem;
  background: radial-gradient(ellipse 900px 500px at 85% -10%, rgba(201,165,74,0.12), transparent 60%), var(--bg);
}
.hero-page .eyebrow { margin-bottom: 1.3rem; }
.hero-page h1 { max-width: 16ch; }
.hero-page p.lead { margin-top: 1.4rem; max-width: 46ch; }

/* Hero (home) */
.hero-home {
  min-height: 100svh; display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 2rem); padding-bottom: clamp(3rem, 8vw, 6rem);
  position: relative; overflow: hidden;
}
.hero-home .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 1100px 650px at 78% 8%, rgba(201,165,74,0.16), transparent 60%),
    radial-gradient(ellipse 900px 600px at 10% 90%, rgba(201,165,74,0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-home .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(241,237,226,0.025) 0 1px, transparent 1px 64px);
}
.hero-home-inner { position: relative; z-index: 1; width: 100%; }
.hero-home .eyebrow { margin-bottom: 1.6rem; }
.hero-home h1 { max-width: 15ch; margin-bottom: 1.6rem; }
.hero-home p.lead { max-width: 42ch; margin-bottom: 2.4rem; }
.hero-home .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-home .hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 4vw, 3.2rem); border-top: 1px solid var(--line); padding-top: 1.8rem; }

/* Grids */
.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
.grid-3 { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.grid-benefits { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.benefit { display: flex; gap: 1.1rem; }
.benefit .b-icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--accent); }
.benefit h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.benefit p { color: var(--cream-3); font-size: .92rem; }

/* Sedes */
.sedes-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.sede-chip {
  border: 1px solid var(--line-soft); border-radius: 6px; padding: 1.3rem 1.4rem;
  display: flex; align-items: center; gap: .9rem; transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.sede-chip:hover { border-color: var(--accent); background: var(--bg-3); }
.sede-chip svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.sede-chip .s-city { font-family: var(--serif); font-style: italic; display: block; }
.sede-chip .s-tag { font-size: .74rem; color: var(--cream-3); text-transform: uppercase; letter-spacing: .06em; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.insta-tile { aspect-ratio: 1; }
.insta-note {
  margin-top: 1.3rem; font-size: .82rem; color: var(--cream-3);
  border-left: 2px solid var(--accent); padding-left: .9rem;
}

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* Nav tabs (servicios page) */
.tabs-nav {
  position: sticky; top: var(--nav-h); z-index: 90; background: rgba(10,18,32,0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  display: flex; gap: 0; overflow-x: auto;
}
.tabs-nav a {
  padding: 1.1rem 1.3rem; font-size: .88rem; white-space: nowrap; color: var(--cream-3);
  border-bottom: 2px solid transparent; transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.tabs-nav a:hover, .tabs-nav a.is-active { color: var(--cream); border-color: var(--accent); }

/* -------------------------------------------------------------
   8. Responsive
   ------------------------------------------------------------- */
@media (min-width: 540px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
  .grid-benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .sedes-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-home .hero-actions { margin-bottom: 4rem; }

  /* Sticky figure narrative — methodology signature effect */
  .tl-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
  .tl-figure { position: sticky; top: calc(var(--nav-h) + 3rem); height: 60vh; }
}
@media (min-width: 1280px) {
  .container { padding-inline: 2rem; }
}

/* -------------------------------------------------------------
   9. Reduced motion — only gates truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .splash-seal { animation: none; }
  html { scroll-behavior: auto; }
}
