/* BLACK NEXGEN LLC — corporate site styles */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --black: #0a0a0a;
  --ink: #0f0f0f;
  --coal: #151515;
  --graphite: #1e1e1e;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --mute: #9b9b98;
  --soft: #c8c8c4;
  --white: #f4f4f1;
  --paper: #ecebe7;
  --paper-line: rgba(10, 10, 10, 0.14);
  --text-dark: #141414;
  --text-dark-mute: #55554f;
  --error: #b3261e;
  --error-on-dark: #ff8a80;
  --success: #1f5f3a;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--white); color: var(--black); }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.on-light :focus-visible, .contact :focus-visible { outline-color: var(--text-dark); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--black); padding: 12px 18px; font-size: 14px; font-weight: 500; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.is-solid, .page-plain .site-header { background: rgba(10, 10, 10, 0.92); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.wordmark { display: inline-flex; align-items: center; gap: 14px; line-height: 1; }
.wordmark-mark { width: 30px; height: 30px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--serif); font-size: 15px; letter-spacing: .04em; }
.wordmark-text { display: flex; flex-direction: column; gap: 6px; }
.wordmark-name { font-size: 13px; font-weight: 600; letter-spacing: .34em; }
.wordmark-sub { font-size: 9px; font-weight: 500; letter-spacing: .38em; color: var(--mute); }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-list { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); padding: 8px 0; position: relative; transition: color .2s; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--white); transition: right .35s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--white); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { right: 0; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 500; letter-spacing: .12em; padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.lang-switch a { padding: 8px 6px; color: var(--mute); transition: color .2s; }
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current="true"] { color: var(--white); }
.lang-switch .sep { color: var(--line-strong); }

.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .site-header.is-solid, .page-plain .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 10, 10, 0.97); }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--black); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 32px var(--gutter) 40px; border-top: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: 0; text-transform: none; padding: 18px 0; color: var(--white); }
  .nav-list a::after { display: none; }
  .lang-switch { border-left: 0; padding: 28px 0 0; font-size: 14px; }
  .lang-switch a { padding: 10px 12px 10px 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Shared section elements ---------- */
.section { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.label { display: flex; align-items: center; gap: 16px; margin: 0 0 clamp(28px, 4vw, 48px); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--mute); }
.label .num { font-family: var(--serif); font-size: 15px; letter-spacing: .06em; color: var(--white); }
.label::after { content: ""; flex: 0 0 56px; height: 1px; background: var(--line-strong); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 68px); line-height: 1.06; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.35vw, 18px); color: var(--soft); line-height: 1.75; }

.btn { display: inline-flex; align-items: center; gap: 18px; min-height: 52px; padding: 0 28px; border: 1px solid var(--white); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; background: transparent; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--white); color: var(--black); }
.btn:hover svg { transform: translateX(4px); }
.btn-dark { border-color: var(--text-dark); color: var(--text-dark); }
.btn-dark:hover { background: var(--text-dark); color: var(--white); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; 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: 50% 35%; transform: scale(1.04); animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.1); opacity: .2; } to { transform: scale(1.04); opacity: 1; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.15) 26%, rgba(10,10,10,.25) 50%, rgba(10,10,10,.92) 88%, var(--black) 100%),
  linear-gradient(90deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.2) 60%, rgba(10,10,10,0) 100%); }
.hero-content { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(40px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 16px; margin: 0 0 clamp(24px, 3vw, 36px); font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--soft); }
.eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--soft); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.6vw, 104px); line-height: 1; letter-spacing: -.015em; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { font-style: italic; color: var(--soft); }
.hero-text { max-width: 560px; margin: clamp(24px, 3vw, 36px) 0 clamp(32px, 4vw, 44px); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: var(--soft); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(48px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.hero-foot .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--mute); margin: 0 14px; vertical-align: middle; }
.scroll-cue { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; transition: border-color .3s, background-color .3s; }
.scroll-cue:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.scroll-cue svg { width: 16px; height: 16px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; }
.about-copy { grid-column: 1 / span 7; }
.about-copy .display { max-width: 16ch; margin-bottom: clamp(32px, 4vw, 52px); }
.about-copy .lead { max-width: 58ch; }
.about-copy .statement { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; color: var(--white); border-left: 1px solid var(--line-strong); padding-left: 24px; margin: clamp(32px, 4vw, 44px) 0 0; max-width: 34ch; }
.about-media { grid-column: 9 / span 4; position: relative; }
.about-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-media::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--line); z-index: -1; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(56px, 8vw, 104px) 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 28px 24px 0 0; }
.facts dt { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; }

/* ---------- Approach ---------- */
.approach { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(56px, 8vw, 100px); }
.section-head .display { grid-column: 1 / span 7; max-width: 15ch; }
.section-head .lead { grid-column: 9 / span 4; margin: 0; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; counter-reset: p; }
.principle { position: relative; padding: 36px 0 0; border-top: 1px solid var(--line-strong); }
.principle::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--white); transition: width .8s var(--ease); }
.principle:hover::before, .principle.is-visible::before { width: 64px; }
.principle .roman { display: block; font-family: var(--serif); font-size: 18px; color: var(--mute); margin-bottom: clamp(40px, 6vw, 72px); }
.principle h3 { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 32px); line-height: 1.15; margin-bottom: 18px; }
.principle p { color: var(--soft); font-size: 15.5px; line-height: 1.75; margin: 0; max-width: 38ch; }

/* ---------- Focus ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; }
.focus-media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.focus-media img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.focus-body { grid-column: 7 / span 6; }
.focus-body .display { margin-bottom: 28px; }
.focus-body .lead { margin-bottom: clamp(40px, 5vw, 64px); }
.focus-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.focus-item { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.focus-item .idx { font-family: var(--serif); font-size: 16px; color: var(--mute); padding-top: 6px; }
.focus-item h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.focus-item p { grid-column: 2; margin: 0; color: var(--soft); font-size: 15.5px; line-height: 1.75; max-width: 52ch; }
.note { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 22px 24px; background: var(--coal); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; color: var(--soft); }
.note svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--white); }

/* ---------- Contact (light section) ---------- */
.contact { background: var(--paper); color: var(--text-dark); }
.contact .label { color: var(--text-dark-mute); }
.contact .label .num { color: var(--text-dark); }
.contact .label::after { background: var(--paper-line); }
.contact .lead { color: var(--text-dark-mute); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-info { grid-column: 1 / span 5; }
.contact-info .display { margin-bottom: 28px; }
.contact-info .display .brand-line { display: block; white-space: nowrap; }
@media (max-width: 380px) { .contact-info .display .brand-line { white-space: normal; } }
.contact-info .lead { max-width: 44ch; margin-bottom: clamp(36px, 5vw, 56px); }
.details { margin: 0; border-top: 1px solid var(--paper-line); }
.details div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--paper-line); }
.details dt { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dark-mute); padding-top: 3px; }
.details dd { margin: 0; font-size: 15.5px; line-height: 1.6; }
.details a { border-bottom: 1px solid var(--paper-line); transition: border-color .2s; }
.details a:hover { border-color: var(--text-dark); }
.details address { font-style: normal; }

.form-card { grid-column: 7 / span 6; background: #fff; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--paper-line); }
.form-card h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 8px; }
.form-hint { font-size: 13.5px; color: var(--text-dark-mute); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 24px; position: relative; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dark-mute); margin-bottom: 8px; }
.field label .req { letter-spacing: .06em; text-transform: none; font-weight: 400; color: #8a8a84; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #b9b8b2; background: transparent; padding: 10px 0 12px; font-size: 16px; color: var(--text-dark); border-radius: 0; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--text-dark); box-shadow: 0 1px 0 0 var(--text-dark); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field-error { display: block; min-height: 0; font-size: 13px; color: var(--error); margin-top: 6px; }
.field-error:empty { display: none; }
.counter { position: absolute; right: 0; bottom: -20px; font-size: 11.5px; color: #8a8a84; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 8px 0 6px; font-size: 13.5px; line-height: 1.6; color: var(--text-dark-mute); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--text-dark); }
.consent a { color: var(--text-dark); text-decoration: underline; text-underline-offset: 3px; }
.consent-error { margin: 0 0 8px 32px; }
.sensitive { font-size: 12.5px; color: #77776f; margin: 18px 0 28px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 22px 0 0; padding: 0; font-size: 14.5px; line-height: 1.6; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 16px 18px; background: #eef5f0; border-left: 2px solid var(--success); color: var(--success); }
.form-status.is-error { padding: 16px 18px; background: #fbefee; border-left: 2px solid var(--error); color: var(--error); }
.noscript-note { font-size: 14.5px; padding: 16px 18px; background: #f4f3ef; border-left: 2px solid var(--text-dark); margin-bottom: 24px; }
.noscript-note a { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 0.9fr; gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.footer-brand .wordmark { margin-bottom: 20px; }
.footer-brand p { color: var(--mute); max-width: 30ch; }
.footer-col h2 { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--soft); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; color: var(--soft); line-height: 1.7; }
.disclaimer { margin: 36px 0 0; max-width: 1000px; font-size: 12.5px; line-height: 1.85; color: #8a8a87; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; font-size: 12px; letter-spacing: .06em; color: #777774; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Legal / plain pages ---------- */
.page-plain main { padding-top: var(--header-h); }
.legal { padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); }
.legal-wrap { max-width: 780px; }
.legal h1 { font-family: var(--serif); font-size: clamp(44px, 6vw, 76px); line-height: 1.02; margin-bottom: 20px; }
.legal .updated { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 36px; }
.legal .intro { font-size: 18px; color: var(--soft); line-height: 1.75; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.legal h2 { display: flex; gap: 18px; align-items: baseline; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin-bottom: 16px; }
.legal h2 .n { font-size: 16px; color: var(--mute); min-width: 24px; }
.legal section p { color: var(--soft); line-height: 1.8; margin-left: 42px; }
.legal section p strong { color: var(--white); font-weight: 500; }
.legal .contact-block { margin-left: 42px; padding: 18px 22px; background: var(--coal); border: 1px solid var(--line); color: var(--soft); line-height: 1.8; }
.legal .contact-block a { color: var(--white); border-bottom: 1px solid var(--line-strong); }
.legal a.inline { color: var(--white); border-bottom: 1px solid var(--line-strong); }
.back-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 48px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.back-link:hover { color: var(--white); }
.back-link svg { width: 16px; height: 16px; transform: rotate(180deg); }

.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound h1 { font-family: var(--serif); font-size: clamp(44px, 6vw, 76px); margin-bottom: 16px; }
.notfound p { color: var(--soft); }
.notfound .links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Reveal on scroll (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .principle::before { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-copy, .about-media, .section-head .display, .section-head .lead, .focus-media, .focus-body, .contact-info, .form-card { grid-column: 1 / -1; }
  .about-media { max-width: 520px; }
  .about-media::before { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding-bottom: 24px; }
  .section-head { margin-bottom: 48px; }
  .principles { grid-template-columns: 1fr; gap: 48px; }
  .principle .roman { margin-bottom: 24px; }
  .focus-media { position: static; }
  .focus-media img { aspect-ratio: 16 / 10; }
  .hero-foot .loc { display: none; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .details div { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .focus-item { grid-template-columns: 40px 1fr; }
  .legal section p, .legal .contact-block { margin-left: 0; }
  .wordmark-name { font-size: 12px; letter-spacing: .28em; }
}
@media print {
  .site-header, .hero-media, .form-card, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
}
