/* =============================================================
   Defensa Jurídica Especializada — styles.css
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --navy-950: #06111c;
  --navy-900: #0a1a29;
  --navy-800: #102638;
  --navy-700: #183449;
  --ink: #15293a;
  --ink-soft: #4a5a68;
  --gold: #b8975a;
  --gold-light: #d8bf88;
  --gold-deep: #8f7139;
  --ivory: #f7f2e7;
  --paper: #fbf9f4;
  --paper-2: #f3eee3;
  --line: rgba(184, 151, 90, .32);
  --line-soft: rgba(21, 41, 58, .1);
  --line-dark: rgba(247, 242, 231, .12);

  --serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --sans: "Manrope", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1240px;
  --header-h: 84px;
  --radius: 4px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-lg: 0 30px 80px -30px rgba(6, 17, 28, .45);
  --shadow-md: 0 18px 40px -22px rgba(6, 17, 28, .35);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { 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; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

@view-transition { navigation: auto; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--gold); color: var(--navy-950); font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 11vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--dark { background: var(--navy-900); color: var(--ivory); }
.section--paper2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }

.display { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.04; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead, .on-dark .lead, .page-hero .lead, .cta-band .lead { color: rgba(247, 242, 231, .8); }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }

.section-head { display: grid; gap: 1.4rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }

.rule { height: 1px; background: var(--line); border: 0; }

/* =============================================================
   4. Components
   ============================================================= */
/* Buttons */
.btn {
  --bg: var(--gold); --fg: var(--navy-950);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 54px; padding: .95rem 1.7rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy-950); transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--gold-light); border-color: var(--navy-950); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ivory); border-color: rgba(247, 242, 231, .38); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--navy-950); border-color: var(--ivory); }
.btn--dark { --bg: var(--navy-900); --fg: var(--ivory); }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover { color: var(--navy-950); border-color: var(--gold); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--outline::before { background: var(--navy-900); }
.btn--outline:hover { color: var(--ivory); border-color: var(--navy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); padding-bottom: .35rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out), gap .4s var(--ease-out);
}
.link-arrow:hover { gap: 1rem; background-size: 40% 1px; }
.section--dark .link-arrow, .on-dark .link-arrow { color: var(--gold-light); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--ivory);
  transition: background .5s var(--ease-out), box-shadow .5s var(--ease-out), height .4s var(--ease-out), color .4s var(--ease-out);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 191, 136, .35), transparent);
  opacity: 1; transition: opacity .4s;
}
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(6, 17, 28, .94);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6);
}
@supports (backdrop-filter: blur(14px)) {
  .site-header.is-scrolled { background: rgba(6, 17, 28, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .9rem; flex: none; }
.brand img { width: 50px; height: auto; transition: width .4s var(--ease-out); }
.site-header.is-scrolled .brand img { width: 44px; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: .01em; }
.brand-text span { font-size: .62rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.4rem); }
.nav a:not(.btn) {
  position: relative; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247, 242, 231, .82); padding-block: .4rem; transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: .65rem 1.25rem; font-size: .74rem; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid rgba(247, 242, 231, .25); border-radius: var(--radius);
}
.menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: background .3s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-950); color: var(--ivory);
  display: grid; align-content: center; gap: 2.5rem; padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-out), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
.mobile-menu ul { display: grid; gap: .4rem; }
.mobile-menu a.mm-link { display: flex; align-items: baseline; gap: 1rem; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.15; }
.mobile-menu a.mm-link small { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; color: var(--gold); }
.mobile-menu a[aria-current="page"] { color: var(--gold-light); }
.mobile-menu .mm-foot { display: grid; gap: .4rem; font-size: .9rem; color: rgba(247, 242, 231, .65); border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.menu-open { overflow: hidden; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: clamp(1rem, 2.4vw, 1.75rem); bottom: clamp(1rem, 2.4vw, 1.75rem); z-index: 80;
  display: inline-flex; align-items: center; gap: .7rem;
  min-height: 56px; padding: .5rem 1.25rem .5rem .55rem;
  background: var(--navy-900); color: var(--ivory);
  border: 1px solid rgba(216, 191, 136, .4); border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .45s var(--ease-out), background .3s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--navy-800); }
.wa-float .wa-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #1f8f5f; }
.wa-float .wa-icon svg { width: 22px; height: 22px; fill: #fff; }
.wa-float .wa-label { display: none; }

/* Cards */
.card-area {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-soft);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.card-area:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.card-area .media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--navy-800); }
.card-area .media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.9); }
.card-area:hover .media img { transform: scale(1.08); filter: saturate(1); }
.card-area .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 17, 28, .55)); }
.card-area .letter {
  position: absolute; left: 1.4rem; bottom: 1rem; z-index: 2;
  font-family: var(--serif); font-size: 4.2rem; line-height: 1; color: var(--ivory); font-style: italic;
}
.card-area .body { display: grid; align-content: start; gap: .9rem; padding: 1.8rem 1.8rem 2rem; }
.card-area .kicker { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.card-area h3 { font-size: 1.9rem; }
.card-area p { color: var(--ink-soft); font-size: .98rem; }
.card-area .link-arrow { margin-top: .6rem; justify-self: start; }

/* Stats */
.stats { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.stat { padding: 1.8rem 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: .3rem; }
.stat strong { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; color: var(--gold-light); }
.stat strong small { font-size: .45em; letter-spacing: .02em; color: var(--ivory); margin-left: .3rem; }
.stat > span { font-size: .92rem; color: rgba(247, 242, 231, .72); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding-block: 1.35rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.marquee-group span { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); font-style: italic; color: var(--ink); white-space: nowrap; }
.marquee-group i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Forms */
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: .95rem 1.05rem; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 151, 90, .15); }
.form-note { font-size: .85rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.form-status { font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form-status.is-ok { color: #2f6b4f; }
.form-status.is-error { color: #a23b2c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.contact-list span, .footer-col a { overflow-wrap: anywhere; }

/* Penal coverage */
.coverage { display: grid; gap: .9rem; padding: 1.4rem 1.5rem; border: 1px solid var(--line); background: var(--paper); }
.coverage small { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.coverage ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.coverage li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border: 1px solid var(--line); font-size: .9rem; }
.coverage li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.coverage p { font-size: .88rem; color: var(--ink-soft); }
.section--dark .coverage, .on-dark .coverage, .coverage.on-dark { background: transparent; border-color: var(--line-dark); }
.section--dark .coverage small, .coverage.on-dark small { color: var(--gold-light); }
.section--dark .coverage li, .coverage.on-dark li { border-color: rgba(216, 191, 136, .3); color: rgba(247, 242, 231, .88); }
.contact-card .coverage, .contact-card .coverage li { color: rgba(247, 242, 231, .88); }
.section--dark .coverage p { color: rgba(247, 242, 231, .65); }

/* =============================================================
   5. Sections
   ============================================================= */
/* Hero (home) */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  background: var(--navy-950); color: var(--ivory); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: heroZoom 18s var(--ease-soft) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 17, 28, .55) 0%, rgba(6, 17, 28, 0) 22%),
    linear-gradient(0deg, rgba(6, 17, 28, .96) 0%, rgba(6, 17, 28, .55) 40%, rgba(6, 17, 28, .1) 75%);
}
.hero-content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 7vw, 5rem); display: grid; gap: 1.6rem; }
.hero h1 { max-width: 13ch; }
.hero .lead { color: rgba(247, 242, 231, .8); max-width: 54ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-top: .6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.hero-meta a { display: inline-flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--gold-light); }
.hero-meta a svg { width: 16px; height: 16px; }
.hero-meta p { font-size: .88rem; color: rgba(247, 242, 231, .62); max-width: 52ch; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 7rem; display: none;
  writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(247, 242, 231, .55);
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 60px; margin: 1rem auto 0; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.4s var(--ease-out) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative; min-height: 72vh; min-height: 72svh;
  display: grid; align-items: end;
  background: var(--navy-950); color: var(--ivory); overflow: hidden; isolation: isolate;
}
.page-hero .hero-media img { object-position: 60% 50%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 17, 28, .6) 0%, rgba(6, 17, 28, 0) 30%),
    linear-gradient(0deg, rgba(6, 17, 28, .95) 0%, rgba(6, 17, 28, .5) 45%, rgba(6, 17, 28, .15) 80%);
}
.page-hero .hero-content { gap: 1.3rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); max-width: 16ch; }
.academia-logo { width: clamp(110px, 12vw, 160px); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.breadcrumb { display: flex; gap: .6rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 242, 231, .55); }
.breadcrumb a:hover { color: var(--gold-light); }

/* Intro / city */
.city { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.city-figure { position: relative; }
.city-figure .frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.city-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.city-figure::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--line); z-index: -1; }
.city-figure figcaption { margin-top: 1rem; font-size: .76rem; color: var(--ink-soft); }
.city-figure figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.city-badge {
  position: absolute; right: -1px; bottom: -1px; background: var(--navy-900); color: var(--ivory);
  padding: 1.2rem 1.4rem; display: grid; gap: .2rem; max-width: 260px;
}
.city-badge small { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.city-badge span { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }

.pillars { display: grid; gap: 0; margin-top: 2.4rem; border-top: 1px solid var(--line-soft); }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line-soft); }
.pillar strong { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500; line-height: 1; color: var(--gold-deep); min-width: 5.5ch; }
.pillar div { display: grid; gap: .15rem; }
.pillar b { font-weight: 700; font-size: 1rem; }
.pillar span { color: var(--ink-soft); font-size: .95rem; }

/* Areas grid */
.areas { display: grid; gap: 1.5rem; }

/* Founder */
.founder { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.founder-portrait { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.founder-portrait .frame { position: relative; overflow: hidden; aspect-ratio: 900 / 1117; background: var(--navy-800); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder-portrait::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid rgba(216, 191, 136, .4); z-index: -1; }
.founder-portrait { isolation: isolate; }
.founder-sign {
  position: absolute; left: -1px; bottom: 2rem; background: var(--gold); color: var(--navy-950);
  padding: 1rem 1.3rem; display: grid; gap: .1rem;
}
.founder-sign strong { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; font-weight: 600; }
.founder-sign span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.founder-copy { display: grid; gap: 1.6rem; }
.founder-quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; font-style: italic; color: var(--ivory); padding-left: 1.6rem; border-left: 1px solid var(--gold); }
.creds { display: grid; gap: .7rem; }
.creds li { display: flex; gap: .9rem; align-items: baseline; color: rgba(247, 242, 231, .82); }
.creds li::before { content: ""; width: 6px; height: 6px; flex: none; transform: rotate(45deg) translateY(-2px); background: var(--gold); }
.section:not(.section--dark) .creds li { color: var(--ink); }

/* Timeline */
.timeline { display: grid; gap: 0; position: relative; }
.tl-item { position: relative; display: grid; align-content: start; gap: .5rem; padding: 1.8rem 0 1.8rem 2.2rem; border-left: 1px solid var(--line); }
.tl-item::before { content: ""; position: absolute; left: -6px; top: 2.25rem; width: 11px; height: 11px; transform: rotate(45deg); background: var(--paper); border: 1px solid var(--gold); }
.section--dark .tl-item::before { background: var(--navy-900); }
.tl-item.is-current::before { background: var(--gold); }
.tl-year { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.section--dark .tl-year { color: var(--gold-light); }
.tl-item h3 { font-size: 1.7rem; }
.tl-item p { color: var(--ink-soft); }
.section--dark .tl-item p { color: rgba(247, 242, 231, .7); }

/* Process */
.process { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.step { background: var(--paper); padding: 2.2rem 2rem 2.4rem; display: grid; gap: .9rem; align-content: start; transition: background .5s var(--ease-out); }
.step:hover { background: #fff; }
.step-num { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--gold); font-style: italic; }
.step h3 { font-size: 1.6rem; }
.step p { color: var(--ink-soft); font-size: .97rem; }

/* Articles */
.articles { display: grid; gap: 1.5rem; }
.article {
  position: relative; display: grid; gap: 1rem; align-content: start;
  padding: 2.2rem 2rem 2.2rem; background: var(--paper); border: 1px solid var(--line-soft);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.article::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .7s var(--ease-out); }
.article:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.article:hover::before { width: 100%; }
.article .tag { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.article h3 { font-size: 1.75rem; }
.article p { color: var(--ink-soft); font-size: .97rem; }
.article .link-arrow { justify-self: start; margin-top: .4rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: var(--ivory); }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 17, 28, .97) 0%, rgba(6, 17, 28, .8) 55%, rgba(6, 17, 28, .55) 100%); }
.cta-grid { display: grid; gap: 3rem; align-items: center; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 2.4rem 1fr; gap: .2rem 1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line-dark); transition: padding .4s var(--ease-out); }
.contact-list a:hover { padding-left: .5rem; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold-light); grid-row: span 2; }
.contact-list small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 242, 231, .55); font-weight: 700; }
.contact-list span { font-size: 1.02rem; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(247, 242, 231, .72); padding-top: clamp(4rem, 8vw, 6rem); }
.footer-grid { display: grid; gap: 2.8rem; padding-bottom: 3.5rem; }
.footer-brand { display: grid; gap: 1.3rem; max-width: 340px; }
.footer-brand img { width: 120px; }
.footer-brand p { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--ivory); line-height: 1.35; }
.footer-col { display: grid; gap: .9rem; align-content: start; }
.footer-col h4 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .3rem; }
.footer-col a, .footer-col p { font-size: .95rem; line-height: 1.6; transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-block: 1.6rem 2rem; border-top: 1px solid var(--line-dark); font-size: .8rem; color: rgba(247, 242, 231, .5); }

/* Services page */
.area-tabs { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.area-tab { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.5rem 1.6rem; background: var(--paper); transition: background .4s var(--ease-out), color .4s; }
.area-tab:hover { background: var(--navy-900); color: var(--ivory); }
.area-tab b { font-family: var(--serif); font-size: 2.4rem; font-style: italic; color: var(--gold); line-height: 1; font-weight: 500; }
.area-tab strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.area-tab span { font-size: .9rem; color: var(--ink-soft); transition: color .4s; }
.area-tab:hover span { color: rgba(247, 242, 231, .7); }
.area-tab svg { width: 20px; height: 20px; color: var(--gold); }

.area-block { padding-top: clamp(4rem, 8vw, 6.5rem); }
.area-block + .area-block { border-top: 1px solid var(--line-soft); margin-top: clamp(4rem, 8vw, 6.5rem); }
.area-head { display: grid; gap: 1.2rem; margin-bottom: 3rem; }
.area-head .count { font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }

.service-list { display: grid; gap: 1.25rem; }
.service {
  display: grid; background: var(--paper); border: 1px solid var(--line-soft); overflow: hidden;
  transition: box-shadow .6s var(--ease-out), border-color .4s;
}
.service:hover, .service[open] { box-shadow: var(--shadow-md); border-color: var(--line); }
.service-main { display: grid; }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service:hover .service-media img { transform: scale(1.05); }
.service-num { position: absolute; left: 1rem; top: 1rem; background: var(--navy-950); color: var(--gold-light); font-family: var(--serif); font-size: 1.15rem; font-style: italic; padding: .35rem .8rem; }
.service-body { display: grid; gap: 1rem; align-content: start; padding: 1.9rem 1.8rem 2rem; }
.service-body h3 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); }
.service-body > p { color: var(--ink-soft); }
.service details { border-top: 1px solid var(--line-soft); }
.service summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0 .2rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.service summary::-webkit-details-marker { display: none; }
.service summary .plus { position: relative; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; flex: none; transition: transform .5s var(--ease-out), background .3s; }
.service summary .plus::before, .service summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--gold-deep); transform: translate(-50%, -50%); }
.service summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease-out); }
.service details[open] summary .plus { transform: rotate(180deg); background: var(--paper-2); }
.service details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.scope { display: grid; gap: .7rem; padding: 1.1rem 0 .4rem; }
.scope li { display: flex; gap: .85rem; align-items: baseline; font-size: .96rem; }
.scope li::before { content: ""; width: 6px; height: 6px; flex: none; transform: rotate(45deg) translateY(-2px); background: var(--gold); }
.service .link-arrow { justify-self: start; margin-top: .4rem; }
.service .btn { justify-self: start; margin-top: .4rem; }
.service-sub { font-family: var(--serif); font-size: 1.2rem; font-style: italic; line-height: 1.35; color: var(--gold-deep); margin-top: -.4rem; }
.service-note { margin-top: .4rem; padding: .9rem 1.1rem; border-left: 2px solid var(--gold); background: var(--paper-2); font-size: .92rem; color: var(--ink); }
.service[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* Services for lawyers (home) */
.peers { display: grid; gap: 1.5rem; }
.peer { display: grid; background: var(--paper); border: 1px solid var(--line-soft); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s; }
.peer:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.peer .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.peer .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.peer:hover .media img { transform: scale(1.05); }
.peer .body { display: grid; gap: .9rem; align-content: start; padding: 1.9rem 1.8rem 2.1rem; }
.peer .kicker { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.peer h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.peer p { color: var(--ink-soft); }
.peer .link-arrow { justify-self: start; margin-top: .4rem; }

/* About page */
.formation { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.formation li { background: var(--navy-900); padding: 1.6rem 1.6rem; display: grid; gap: .5rem; transition: background .4s; }
.formation li:hover { background: var(--navy-800); }
.formation b { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.25; color: var(--ivory); }
.formation span { font-size: .85rem; color: rgba(247, 242, 231, .6); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .5rem 1rem; border: 1px solid var(--line); font-size: .88rem; background: var(--paper); }
.institutions { display: flex; flex-wrap: wrap; gap: .6rem 2rem; font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--ink); }

/* Blog page */
.videos { display: grid; gap: 1.5rem; }
.video { display: grid; gap: 1rem; }
.video .embed { position: relative; aspect-ratio: 16 / 9; background: var(--navy-950); border: 1px solid var(--line-dark); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact page */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.contact-card { background: var(--navy-900); color: var(--ivory); padding: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.6rem; }
.contact-card h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.form-card { background: #fff; border: 1px solid var(--line-soft); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow-md); display: grid; gap: 1.6rem; }
.warning { display: flex; gap: .8rem; padding: 1rem 1.1rem; border-left: 2px solid var(--gold); background: rgba(184, 151, 90, .08); font-size: .88rem; color: rgba(247, 242, 231, .8); }
.office { display: grid; gap: 2.5rem; align-items: center; }
.office-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.office-img img { width: 100%; height: 100%; object-fit: cover; }
.map { position: relative; aspect-ratio: 16 / 9; min-height: 340px; border: 1px solid var(--line-soft); background: var(--paper-2); filter: grayscale(.35) contrast(1.05); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Digital card */
.vcard-page { min-height: 100vh; min-height: 100svh; background: radial-gradient(120% 80% at 50% 0%, var(--navy-800) 0%, var(--navy-950) 60%); color: var(--ivory); display: grid; place-items: center; padding: 2rem 1rem 3rem; }
.vcard { width: 100%; max-width: 460px; display: grid; gap: 1.6rem; }
.vcard-back { justify-self: start; display: inline-flex; gap: .5rem; align-items: center; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 242, 231, .6); }
.vcard-back:hover { color: var(--gold-light); }
.vcard-main { position: relative; overflow: hidden; border: 1px solid rgba(216, 191, 136, .35); background: linear-gradient(160deg, rgba(24, 52, 73, .9), rgba(6, 17, 28, .95)); padding: 2.4rem 2rem 2rem; display: grid; gap: 1.2rem; text-align: center; justify-items: center; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.vcard-main::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(216, 191, 136, .15); pointer-events: none; }
.vcard-main img { width: 128px; }
.vcard-main .eyebrow::before { display: none; }
.vcard-main h1 { font-size: 2.4rem; line-height: 1.05; }
.vcard-main .role { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; display: grid; gap: .3rem; }
.vcard-main .bio { color: rgba(247, 242, 231, .72); font-size: .95rem; }
.vcard-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.vcard-actions .btn { padding-inline: 1rem; }
.vcard-actions .btn:first-child { grid-column: span 2; }
.vcard-info { display: grid; border-top: 1px solid var(--line-dark); }
.vcard-info a, .vcard-info div { display: grid; gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.vcard-info small { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.vcard .chips li { background: transparent; border-color: rgba(216, 191, 136, .3); color: rgba(247, 242, 231, .85); }
.vcard-links { display: grid; gap: .8rem; justify-items: center; }

/* Quote band */
.quote-band { text-align: center; }
.quote-band blockquote { max-width: 980px; margin-inline: auto; display: grid; gap: 1.6rem; justify-items: center; }
.quote-band blockquote p { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.2; font-style: italic; color: var(--ivory); }
.quote-band blockquote p em { color: var(--gold-light); }
.quote-band cite { font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.quote-mark { font-family: var(--serif); font-size: 5rem; line-height: .5; color: var(--gold); }

/* Mission / vision / values */
.mv { display: grid; gap: 1.5rem; }
.mv-card { padding: 2.2rem 2rem; border: 1px solid var(--line-soft); background: var(--paper); display: grid; gap: 1rem; align-content: start; }
.mv-card h3 { font-size: 1.9rem; }
.mv-card p { color: var(--ink-soft); }
.values { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.value { background: var(--navy-900); padding: 2rem 1.8rem; display: grid; gap: .7rem; align-content: start; transition: background .4s; }
.value:hover { background: var(--navy-800); }
.value b { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--gold-light); line-height: 1.1; }
.value span { color: rgba(247, 242, 231, .74); font-size: .96rem; }

/* Practice lines */
.lines { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.line-item { background: var(--paper); padding: 1.9rem 1.7rem; display: grid; gap: .7rem; align-content: start; }
.line-item small { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.line-item b { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.2; }
.line-item p { color: var(--ink-soft); font-size: .95rem; }
.line-item.is-main { background: var(--navy-900); color: var(--ivory); }
.line-item.is-main small { color: var(--gold-light); }
.line-item.is-main p { color: rgba(247, 242, 231, .74); }

/* Filters + article index */
.filters { display: none; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.js .filters { display: flex; }
.filter { padding: .6rem 1.1rem; border: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--navy-900); color: var(--gold-light); border-color: var(--navy-900); }
.pub-group { display: grid; gap: 0; margin-bottom: 3rem; }
.pub-group[hidden] { display: none; }
.pub-group h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); padding-bottom: 1rem; border-bottom: 1px solid var(--gold); margin-bottom: .4rem; }
.pub { display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem 1.2rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft); transition: padding .4s var(--ease-out), background .4s; }
.pub:hover { padding-left: .6rem; background: linear-gradient(90deg, rgba(184, 151, 90, .08), transparent 60%); }
.pub-num { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--gold-deep); }
.pub-title { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3; color: var(--ink); }
.pub-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .8rem; color: var(--ink-soft); }
.pub-meta .go { color: var(--gold-deep); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; display: inline-flex; gap: .4rem; align-items: center; }
.editorial-note { font-size: .88rem; color: var(--ink-soft); padding: 1.1rem 1.3rem; border-left: 2px solid var(--gold); background: var(--paper-2); }

/* Courses */
.course-group { display: grid; gap: 1.6rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-soft); }
.course-group:first-child { border-top: 0; padding-top: 0; }
.course-head { display: grid; gap: .8rem; align-content: start; }
.course-head .count { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.course-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.course-head p { color: var(--ink-soft); }
.courses { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); align-content: start; }
.course { display: grid; grid-template-columns: 2.8rem 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; background: var(--paper); transition: background .4s var(--ease-out), color .4s; }
.course:hover { background: var(--navy-900); color: var(--ivory); }
.course-n { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--gold-deep); }
.course:hover .course-n { color: var(--gold-light); }
.course-t { font-family: var(--serif); font-size: 1.32rem; line-height: 1.25; }
.course svg { width: 18px; height: 18px; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s var(--ease-out); }
.course:hover svg { opacity: 1; transform: none; }
.formats { display: grid; gap: 1.5rem; }

/* =============================================================
   6. Effects (reveals)
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js .img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js .img-reveal.is-revealed { clip-path: inset(0 0 0 0); }

.hero-content > * { animation: heroIn 1.2s var(--ease-out) both; }
.hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-content > *:nth-child(3) { animation-delay: .24s; }
.hero-content > *:nth-child(4) { animation-delay: .36s; }
.hero-content > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* =============================================================
   7. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .wa-float .wa-label { display: inline; }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .areas { grid-template-columns: repeat(3, 1fr); }
  .articles { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .stat { border-bottom: 0; border-left: 1px solid var(--line-dark); padding: .6rem 1.6rem; }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .area-tabs { grid-template-columns: repeat(3, 1fr); }
  .formation { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-main { grid-template-columns: minmax(260px, 38%) 1fr; }
  .service-media { aspect-ratio: auto; min-height: 100%; }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .mv { grid-template-columns: repeat(3, 1fr); }
  .peers { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .lines { grid-template-columns: repeat(2, 1fr); }
  .formats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
  .hero-scroll { display: block; }
  .city { grid-template-columns: 1fr 1.05fr; }
  .founder { grid-template-columns: .9fr 1.1fr; }
  .founder-portrait { justify-self: start; }
  .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 4rem; max-width: none; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .cta-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; }
  .office { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .timeline--h { grid-template-columns: repeat(3, 1fr); }
  .timeline--h .tl-item { border-left: 0; border-top: 1px solid var(--line); padding: 2.2rem 2rem 0 0; }
  .timeline--h .tl-item::before { left: 0; top: -6px; }
  .formation { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .lines { grid-template-columns: repeat(4, 1fr); }
  .course-group { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .course-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .nav ul { gap: clamp(1.1rem, 1.8vw, 2rem); }
}
@media (min-width: 1280px) {
  .hero-content { padding-bottom: 6rem; }
}

/* =============================================================
   8. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .marquee-track { animation-duration: 140s; }
  .hero-scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}
