/* ElmerFrancisco.org — main stylesheet */
:root {
  --navy-950: #060f24;
  --navy-900: #0a1a3a;
  --navy-800: #0f2a57;
  --navy-700: #17397a;
  --blue: #2a56c6;
  --red: #c8102e;
  --gold: #e0b04a;
  --gold-l: #f4d98e;
  --gold-d: #a8791a;
  --ivory: #faf8f3;
  --paper: #ffffff;
  --sand: #f2eee5;
  --mist: #eef2f9;
  --ink: #12203c;
  --text: #2b364f;
  --muted: #667189;
  --line: #e5e1d6;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 26, 58, .06), 0 14px 36px -14px rgba(10, 26, 58, .22);
  --shadow-lg: 0 2px 4px rgba(10, 26, 58, .08), 0 30px 60px -20px rgba(10, 26, 58, .35);
  --wrap: 1200px;
  --hdr: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; font-variation-settings: 'opsz' 96; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; z-index: 1000; font-weight: 600; }
.skip-link:focus { left: 8px; }
.ico { flex: none; }
.center { text-align: center; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, 820px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 .98rem/1 var(--sans); padding: 1em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(224, 176, 74, .8); }
.btn--gold:hover { background: var(--gold-l); color: var(--navy-950); }
.btn--navy { background: var(--navy-900); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 26, 58, .7); }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--sm { padding: .8em 1.25em; font-size: .9rem; }
.btn--lg { padding: 1.15em 2em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header__bar { height: var(--hdr); display: flex; align-items: center; gap: 28px; transition: height .3s; }
.site-header.is-solid { background: rgba(250, 248, 243, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(10, 26, 58, .4); }
.site-header.is-solid .site-header__bar { height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__name { font: 500 1.32rem/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand__name b { font-weight: 700; }
.site-header.is-solid .brand { color: var(--ink); }
.site-header.is-solid .brand__mark { color: var(--gold-d); }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: rgba(255, 255, 255, .88); font-weight: 500; font-size: .96rem; transition: background .2s, color .2s; }
.nav__item > a:hover, .nav__item:focus-within > a, .nav__item > a[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; }
.site-header.is-solid .nav__item > a { color: var(--text); }
.site-header.is-solid .nav__item > a:hover, .site-header.is-solid .nav__item:focus-within > a, .site-header.is-solid .nav__item > a[aria-current] { background: var(--sand); color: var(--ink); }
.caret { opacity: .7; transition: transform .2s; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 250px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: .95rem; font-weight: 500; }
.sub a:hover { background: var(--mist); color: var(--navy-700); }
.site-header__cta { margin-left: 4px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; cursor: pointer; padding: 0; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.site-header.is-solid .burger { border-color: var(--line); }
.site-header.is-solid .burger span { background: var(--ink); }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .site-header .brand { color: #fff; }
body.menu-open .site-header .brand__mark { color: var(--gold); }
body.menu-open .burger { border-color: rgba(255, 255, 255, .35); }
body.menu-open .burger span { background: #fff; }

.mobile-menu { position: fixed; inset: 0; z-index: 80; background: linear-gradient(170deg, var(--navy-950), var(--navy-800)); overflow-y: auto; padding: calc(var(--hdr) + 12px) 24px 40px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mm-top { display: block; padding: 14px 0; font: 600 1.9rem/1.1 var(--serif); color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mm-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 8px; }
.mm-sub a { display: block; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .9rem; }
.mobile-menu__social { display: flex; gap: 10px; margin-top: 28px; }
.mobile-menu__social a, .social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background .2s, color .2s, border-color .2s; }
.mobile-menu__social a:hover, .social a:hover { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
body.menu-open { overflow: hidden; }

@media (max-width: 1040px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--hdr) + 56px) 0 110px; min-height: min(100vh, 880px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(900px 520px at 82% 18%, rgba(224, 176, 74, .22), transparent 62%),
  radial-gradient(800px 600px at 8% 95%, rgba(42, 86, 198, .45), transparent 62%),
  linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero__rays { position: absolute; right: -14%; top: 50%; width: min(1000px, 90vw); aspect-ratio: 1; transform: translateY(-50%); color: var(--gold); opacity: .09; animation: spin 240s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .4em; text-wrap: balance; }
.hero h1 em { color: var(--gold); font-weight: 600; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 38em; }
.eyebrow { font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 1.1em; display: inline-flex; align-items: center; gap: .8em; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--gold { color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.cta-row--center { justify-content: center; }
.hero__facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 3.2em 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.hero__facts strong { display: block; font: 600 1.45rem/1.1 var(--serif); color: var(--gold-l); margin-bottom: .3em; }
.hero__facts span { font-size: .86rem; line-height: 1.45; color: rgba(255, 255, 255, .65); display: block; }
.hero__art { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait { position: relative; aspect-ratio: 4/5; border-radius: 999px 999px 28px 28px / 480px 480px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-800); }
.portrait::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); z-index: 2; pointer-events: none; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 24%; }
.hero__art::before { content: ''; position: absolute; inset: -14px -14px 14px 14px; border: 2px solid var(--gold); border-radius: 999px 999px 32px 32px / 500px 500px 32px 32px; opacity: .7; }
.float-card { position: absolute; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.2; z-index: 3; }
.float-card__k { font: 700 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 5px; }
.float-card__v { font: 600 1.02rem/1.2 var(--serif); }
.float-card--a { left: -34px; bottom: 74px; }
.float-card--b { right: -12px; top: 56px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero { padding-bottom: 80px; min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { order: -1; width: min(78%, 340px); }
  .float-card--b { display: none; }
  .float-card--a { left: -8px; bottom: 18px; padding: 9px 14px; }
  .float-card__v { font-size: .92rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .hero__facts li { display: flex; gap: 14px; align-items: baseline; }
  .hero__facts strong { flex: 0 0 8em; margin: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(68px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.section--tint { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }
.section-head h2 { margin-bottom: .35em; }
.section-lede { font-size: 1.15rem; color: var(--muted); margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--navy-700); padding-bottom: 6px; border-bottom: 2px solid var(--gold); }
.link-arrow:hover { color: var(--red); }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3 { grid-template-columns: 1fr; } }
.more { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--navy-700); }
a:hover > .more { color: var(--red); }
.more .ico { transition: transform .2s; }
a:hover > .more .ico { transform: translateX(4px); }

/* Pillars */
.pillar { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--paper); border-radius: var(--r); padding: 32px 30px 28px; text-decoration: none; color: var(--text); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.pillar::after { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--gold), var(--red)); transition: width .4s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.pillar:hover::after { width: 100%; }
.pillar__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-900); color: var(--gold); margin-bottom: 18px; }
.pillar__n { position: absolute; right: 26px; top: 22px; font: 500 2.6rem/1 var(--serif); color: var(--sand); }
.pillar h3 { margin-bottom: .35em; }
.pillar p { color: var(--muted); font-size: 1rem; margin-bottom: 1.2em; }

/* Band / quote */
.band { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; }
.band--navy { background: linear-gradient(150deg, var(--navy-950), var(--navy-800)); color: #fff; }
.band__rays { position: absolute; left: -12%; top: -30%; width: 760px; height: 760px; color: var(--gold); opacity: .07; pointer-events: none; }
.band__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.quote__mark { color: var(--gold); display: block; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 1em; font: 500 clamp(1.7rem, 3.2vw, 2.6rem)/1.22 var(--serif); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.quote__sub { color: rgba(255, 255, 255, .72); font-size: 1.08rem; margin-bottom: 2em; }
.quote__sub em { color: var(--gold-l); }
.band__photo { margin: 0; }
.band__photo img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.band__photo figcaption { margin-top: 12px; font-size: .88rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .band__inner { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; margin: 0 0 44px; padding: 0; position: relative; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ''; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.timeline__row { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 0; padding: 0 0 34px; }
.timeline__row:last-child { padding-bottom: 0; }
.timeline__year { font: 600 1.6rem/1 var(--serif); color: var(--gold-d); padding-right: 30px; text-align: right; padding-top: 4px; }
.timeline__row::before { content: ''; position: absolute; left: 111px; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--gold); }
.timeline__body { padding-left: 38px; }
.timeline__body h3 { margin-bottom: .25em; font-size: 1.3rem; }
.timeline__body p { color: var(--muted); margin: 0; }
@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .timeline__row { grid-template-columns: 1fr; }
  .timeline__row::before { left: 0; }
  .timeline__year { text-align: left; padding: 0 0 6px 36px; }
  .timeline__body { padding-left: 36px; }
}

/* Programs / ventures */
.program, .venture { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; text-decoration: none; color: var(--text); transition: transform .3s, box-shadow .3s; }
a.program:hover, a.venture:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.program__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(145deg, var(--gold-l), var(--gold)); color: var(--navy-950); margin-bottom: 14px; }
.program h3, .venture h3 { margin-bottom: .3em; }
.program p, .venture p { color: var(--muted); font-size: .98rem; margin-bottom: 1.1em; }
.venture__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--mist); color: var(--navy-700); margin-bottom: 12px; }
.venture h3 .ico { display: inline; vertical-align: -2px; color: var(--muted); }

/* Feature (split) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.feature__media img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.feature__copy h2 { margin-bottom: .5em; }
.ticks { list-style: none; margin: 1.4em 0 2em; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.ticks .ico { color: #fff; background: var(--navy-800); border-radius: 50%; padding: 3px; }
.section--feature { background: var(--paper); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Trail */
.trail { background: var(--navy-900); color: #fff; text-align: center; padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.trail::before { content: '“'; position: absolute; left: 50%; top: -60px; transform: translateX(-50%); font: 700 360px/1 var(--serif); color: rgba(255, 255, 255, .04); }
.trail__inner { position: relative; max-width: 860px; }
.trail blockquote { margin: 0 0 18px; font: italic 500 clamp(1.7rem, 3.6vw, 2.8rem)/1.25 var(--serif); text-wrap: balance; }
.trail__by { color: rgba(255, 255, 255, .6); margin-bottom: 2em; }
.trail .eyebrow { justify-content: center; }

/* CTA */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--blue)); color: #fff; padding: clamp(64px, 8vw, 104px) 0; text-align: center; }
.cta__glow { position: absolute; inset: -40% -10% auto auto; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 176, 74, .35), transparent); }
.cta__inner { position: relative; max-width: 720px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .8); font-size: 1.15rem; margin-bottom: 1.8em; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--hdr) + 64px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(800px 420px at 85% 0%, rgba(224, 176, 74, .2), transparent 62%), linear-gradient(160deg, var(--navy-950), var(--navy-800)); }
.page-hero__rays { position: absolute; right: -8%; top: -50%; width: 760px; height: 760px; color: var(--gold); opacity: .08; pointer-events: none; animation: spin2 300s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.page-hero h1 { color: #fff; max-width: 14em; margin-bottom: .3em; text-wrap: balance; }
.page-hero h1 em { color: var(--gold); }
.page-hero .lede { max-width: 40em; margin: 0; }
.page-hero--post h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20em; }
.post-meta { color: rgba(255, 255, 255, .7); margin: 1em 0 0; font-size: .95rem; }

/* ---------- Prose ---------- */
.prose { font-size: 1.1rem; line-height: 1.8; color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { margin-top: 1.6em; }
.prose h4 { font-family: var(--sans); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-700); margin-top: 1.6em; }
.prose img, .prose figure img { border-radius: var(--r-sm); margin: 1.6em auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption, .prose .wp-caption-text { font-size: .9rem; color: var(--muted); text-align: center; margin-top: .6em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--gold); font: italic 500 1.3rem/1.5 var(--serif); color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { font-weight: 500; }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--r-sm); }
.prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; margin: 1.6em 0; font-size: .98rem; }
.prose pre, .prose code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.prose { overflow-wrap: anywhere; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose::after { content: ''; display: table; clear: both; }
.prose .wp-block-gallery, .prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 1.8em 0; }
.prose .gallery-item { margin: 0; } .prose .gallery img { margin: 0; width: 100%; aspect-ratio: 1; object-fit: cover; }
.post-hero { margin: 0 0 2em; } .post-hero img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--line); }
.post-nav a { display: block; padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .2s, box-shadow .2s; }
.post-nav a:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.post-nav small { display: block; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.post-nav span { font: 600 1rem/1.3 var(--serif); }
.post-nav__next { text-align: right; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__next { text-align: left; } }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__media--empty { display: grid; place-items: center; background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); }
.card__mono { width: 64px; color: var(--gold); opacity: .8; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.card__title { font-size: 1.25rem; margin-bottom: .5em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--red); }
.card__excerpt { color: var(--muted); font-size: .96rem; margin: 0; }
.grid--archive .card__body { padding: 16px 18px 20px; }
.grid--archive .card__title { font-size: 1.05rem; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: var(--mist); color: var(--navy-700); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip--btn { font-size: .86rem; text-transform: none; letter-spacing: 0; padding: 10px 18px; background: var(--paper); border: 1px solid var(--line); color: var(--text); cursor: pointer; text-decoration: none; font-weight: 600; transition: all .2s; }
.chip--btn:hover { border-color: var(--gold); color: var(--ink); }
.chip--btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip--btn span { opacity: .6; font-weight: 500; }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 56px 0 0; }
.pager .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 600; color: var(--text); }
.pager a.page-numbers:hover { border-color: var(--gold); }
.pager .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pager .dots { border: 0; background: none; }
.search-form { display: flex; gap: 10px; max-width: 560px; margin-bottom: 40px; }
.search-form input { flex: 1; padding: 14px 20px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 1.1rem; }
.notfound { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; padding: calc(var(--hdr) + 110px) 0 130px; }
.notfound h1 { color: #fff; margin-inline: auto; max-width: 14em; }
.notfound .lede { margin: 0 auto; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__side { position: sticky; top: 96px; display: grid; gap: 22px; }
.about__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 22px; box-shadow: var(--shadow); }
.about__card > img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 60% 25%; border-radius: 12px; margin-bottom: 10px; }
.facts { margin: 0; padding: 8px 10px 14px; }
.facts div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 700 .7rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin-bottom: 5px; }
.facts dd { margin: 0; font-size: .95rem; line-height: 1.4; color: var(--ink); }
.about__card .btn { margin: 4px 0 0; width: calc(100% - 20px); margin-inline: 10px; }
.toc { padding: 0 8px; }
.toc p { font: 700 .7rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 500; }
.toc a:hover, .toc a.is-on { color: var(--ink); border-left-color: var(--gold); }
.bio { padding-bottom: 52px; margin-bottom: 52px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.bio h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.bio p { font-size: 1.08rem; line-height: 1.8; }
.about__figure { margin: 0; }
.about__figure img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.about__figure figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; }
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about__side { position: static; grid-template-columns: 1fr; }
  .about__card { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
  .about__card > img { grid-row: span 2; }
  .toc { display: none; }
}
@media (max-width: 560px) { .about__card { grid-template-columns: 1fr; } .about__card > img { grid-row: auto; max-width: 320px; } }

/* ---------- Vision ---------- */
.vm { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: -90px; position: relative; z-index: 2; }
.vm__card { background: var(--paper); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.vm__card--vision { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #fff; border: 0; }
.vm__text { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.3 var(--serif); margin: 0; color: inherit; }
.vm__text--sm { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--ink); }
.subnav { position: sticky; top: 66px; z-index: 50; background: rgba(250, 248, 243, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-top: 28px; }
.subnav nav { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav a { white-space: nowrap; padding: 9px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--text); }
.subnav a:hover { background: var(--sand); color: var(--ink); }
.planks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.plank { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.section--tint .plank { background: #fff; }
.plank header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.plank__ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: var(--gold); }
.plank h3 { margin: 0; font-size: 1.3rem; }
.plank ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.plank li { position: relative; padding-left: 22px; font-size: .99rem; line-height: 1.55; color: var(--text); }
.plank li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.note { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--r); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.note h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.note p:last-child { margin: 0; }
@media (max-width: 900px) { .vm { grid-template-columns: 1fr; margin-top: -60px; } .planks { grid-template-columns: 1fr; } }

/* ---------- Service split ---------- */
.stack { display: grid; gap: clamp(56px, 8vw, 110px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); background: var(--navy-800); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--art { display: grid; place-items: center; background: radial-gradient(500px 300px at 80% 0%, rgba(224, 176, 74, .3), transparent 60%), linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: var(--gold); }
.split__rays { position: absolute; inset: -20%; opacity: .1; color: var(--gold); }
.split__bigico { position: relative; z-index: 1; }
.split__bigico .ico { stroke-width: 1.1; }
.split__ico { position: absolute; left: 18px; bottom: 18px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy-950); box-shadow: var(--shadow); }
.split--flip .split__ico { left: auto; right: 18px; }
.split__copy h2 { margin-bottom: .45em; }
.split__copy .eyebrow { margin-bottom: .8em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }
.mini-timeline { list-style: none; margin: 1.6em 0 2em; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.mini-timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 0 0 16px 20px; }
.mini-timeline li::before { content: ''; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.mini-timeline strong { font: 600 1.15rem/1.3 var(--serif); color: var(--gold-d); }
.mini-timeline span { font-size: .98rem; color: var(--text); }

/* ---------- Gallery ---------- */
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry__item { display: block; margin: 0 0 16px; border-radius: 14px; overflow: hidden; break-inside: avoid; background: var(--mist); position: relative; }
.masonry__item img { width: 100%; height: auto; transition: transform .6s, filter .3s; }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 15, 36, .94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); margin-top: 14px; font-size: .96rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: var(--gold); color: var(--navy-950); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.contact__list { list-style: none; margin: 1.6em 0; padding: 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list .ico { margin-top: 3px; color: var(--navy-700); background: var(--mist); width: 46px; height: 46px; padding: 11px; border-radius: 14px; flex: none; }
.contact__list strong { display: block; font: 600 1.1rem/1.3 var(--serif); color: var(--ink); }
.contact__list span { color: var(--muted); font-size: .98rem; }
.callout { display: flex; gap: 14px; background: var(--sand); border-radius: var(--r-sm); padding: 18px 20px; margin: 2em 0; align-items: flex-start; }
.callout .ico { color: var(--gold-d); margin-top: 2px; }
.callout p { margin: 0; font-size: .98rem; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social--dark a { border-color: var(--line); color: var(--ink); }
.contact__form { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.ef-form .field { margin-bottom: 20px; }
.ef-form label:not(.check) { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.ef-form input[type=text], .ef-form input[type=email], .ef-form select, .ef-form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--ivory); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.ef-form textarea { resize: vertical; min-height: 140px; }
.ef-form input:focus, .ef-form select:focus, .ef-form textarea:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(42, 86, 198, .15); }
.ef-form .is-bad { border-color: var(--red); }
.ef-form .check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 24px; font-size: .95rem; color: var(--text); cursor: pointer; }
.ef-form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy-800); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form-status.is-ok { background: #e8f6ee; color: #14633a; border: 1px solid #b6e2c7; }
.form-status.is-err { background: #fdebec; color: #8f1226; border: 1px solid #f3c1c7; }
.ef-form.is-sending button[type=submit] { opacity: .7; pointer-events: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 84px 0 28px; }
.site-footer__rays { position: absolute; right: -10%; bottom: -45%; width: 760px; height: 760px; color: var(--gold); opacity: .05; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin: 18px 0 22px; max-width: 30em; font-size: .98rem; }
.footer-grid h3 { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-grid a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .96rem; }
.footer-grid a:hover { color: #fff; }
.footer-bar { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; }
.footer-bar p { margin: 0; }
.footer-bar a { color: rgba(255, 255, 255, .72); }
.site-footer .social a { width: 40px; height: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__rays, .page-hero__rays, .scroll-cue span { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print { .site-header, .mobile-menu, .site-footer, .cta, .scroll-cue { display: none !important; } body { background: #fff; } .page-hero { background: none; color: #000; padding-top: 0; } .page-hero h1 { color: #000; } }
