/*
  WK Family Private Office — static website
  Palette: Midnight Navy, Heritage Green, Antique Gold, Warm Ivory.
  No external frameworks or tracking scripts.
*/
:root {
  --navy: #081320;
  --navy-soft: #0d1d28;
  --green: #13281f;
  --green-deep: #0b1d17;
  --green-black: #07130f;
  --gold: #b89a5e;
  --gold-light: #d2bd8f;
  --ivory: #f6f3ed;
  --ivory-deep: #ece6da;
  --stone: #d8d3c6;
  --taupe: #5b554b;
  --ink: #171a17;
  --muted: #56584f;
  --white: #ffffff;
  --border: rgba(184, 154, 94, 0.34);
  --shadow: 0 24px 70px rgba(2, 12, 10, 0.16);
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: min(1180px, calc(100vw - 48px));
  --header-h: 86px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--green-black); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--gold); color: var(--green-black); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  padding: 10px 16px; background: var(--ivory); color: var(--green-black);
  border: 1px solid var(--gold); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.narrow { width: min(800px, 100%); }
.eyebrow {
  margin: 0 0 18px; color: var(--gold); font-size: .73rem; font-weight: 650;
  letter-spacing: .25em; line-height: 1.35; text-transform: uppercase;
}
.eyebrow--ink { color: #6c511e; }
.display {
  margin: 0; font-family: var(--serif); font-weight: 400; line-height: .99;
  letter-spacing: -.035em;
}
h1, h2, h3, p { text-wrap: pretty; }
h1 { font-size: clamp(3.2rem, 7vw, 6.9rem); }
h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.45rem, 4.5vw, 4.7rem); line-height: 1.04; letter-spacing: -.025em; }
h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 2.4vw, 2.25rem); line-height: 1.1; }
p { margin: 0; }
.lead { font-size: clamp(1.12rem, 1.8vw, 1.4rem); line-height: 1.62; color: #3b3e39; }
.muted { color: var(--muted); }
.rule { width: 72px; height: 1px; margin: 26px 0; background: var(--gold); }
.gold { color: var(--gold-light); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h); color: var(--ivory);
  background: linear-gradient(180deg, rgba(5, 18, 14, .92), rgba(5, 18, 14, .76));
  border-bottom: 1px solid rgba(184,154,94,.18);
  backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px);
  transition: height .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled { height: 72px; background: rgba(5,18,14,.97); box-shadow: 0 12px 35px rgba(0,0,0,.17); }
.header-inner { width: var(--container); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: max-content; }
.brand__mark { font-family: var(--serif); font-size: 2.35rem; line-height: 1; color: var(--gold-light); letter-spacing: -.055em; }
.brand__name { padding-left: 13px; border-left: 1px solid rgba(184,154,94,.46); font-size: .64rem; letter-spacing: .19em; text-transform: uppercase; line-height: 1.42; color: #e8dfcf; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
.primary-nav a { position: relative; padding: 11px 0; font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(246,243,237,.82); white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--gold); transition: right .3s var(--ease); }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.primary-nav .nav-access { color: var(--gold-light); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 9px; }
.nav-toggle span { display: block; width: 25px; height: 1px; margin: 6px auto; background: var(--gold-light); transition: transform .28s var(--ease), opacity .22s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons and text links */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 25px;
  border: 1px solid var(--gold); background: transparent; color: var(--ivory);
  font-size: .68rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  transition: background .28s var(--ease), color .28s var(--ease), transform .28s var(--ease), border-color .28s var(--ease);
  cursor: pointer;
}
.button:hover, .button:focus-visible { background: var(--gold); color: var(--green-black); transform: translateY(-2px); }
.button--solid { background: var(--gold); color: var(--green-black); }
.button--solid:hover, .button--solid:focus-visible { background: var(--gold-light); border-color: var(--gold-light); }
.button--ink { color: var(--green-black); }
.button[aria-disabled="true"] { opacity: .62; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: inherit; font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.text-link::after { content: "→"; color: var(--gold); font-size: 1.15rem; transition: transform .25s var(--ease); }
.text-link:hover::after, .text-link:focus-visible::after { transform: translateX(5px); }

/* Home hero */
.hero-home {
  position: relative; min-height: min(900px, 100svh); padding: calc(var(--header-h) + 70px) 0 124px;
  display: grid; align-items: center; overflow: hidden; color: var(--ivory);
  background-image: linear-gradient(90deg, rgba(4,17,14,.98) 0%, rgba(4,17,14,.91) 35%, rgba(4,17,14,.42) 66%, rgba(4,17,14,.10) 100%), url('../images/manor-clean2.jpg');
  background-size: cover; background-position: center center;
}
.hero-home::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(3,14,11,.68)); pointer-events: none; }
.hero-home::after { content: ""; position: absolute; inset: 0; opacity: .15; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); }
.hero-home__inner { position: relative; z-index: 2; width: var(--container); margin: auto; }
.hero-home__content { max-width: 710px; }
.hero-home h1 { max-width: 760px; }
.hero-home__lead { max-width: 630px; margin-top: 28px; font-size: clamp(1.08rem, 1.65vw, 1.34rem); line-height: 1.7; color: rgba(246,243,237,.88); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 38px; }
.hero-mantra { position: absolute; z-index: 3; inset: auto 0 0; min-height: 74px; display: grid; place-items: center; padding: 18px 24px; background: rgba(11,29,23,.88); border-top: 1px solid rgba(184,154,94,.25); color: var(--gold-light); text-align: center; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }

/* Sections */
.section { position: relative; padding: clamp(78px, 10vw, 145px) 0; }
.section--ivory { background: var(--ivory); }
.section--stone { background: #e9e4da; }
.section--green { background: var(--green-deep); color: var(--ivory); }
.section--navy { background: var(--navy); color: var(--ivory); }
.section--green .lead, .section--navy .lead { color: rgba(246,243,237,.77); }
.section-heading { max-width: 800px; margin-bottom: 60px; }
.section-heading p:not(.eyebrow) { margin-top: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .78fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.split--top { align-items: start; }
.stack > * + * { margin-top: 22px; }
.declaration {
  position: relative; padding: clamp(34px, 5vw, 58px); color: var(--ivory); background: var(--green-deep);
  border: 1px solid rgba(184,154,94,.3); box-shadow: var(--shadow); overflow: hidden;
}
.declaration::before { content: "WK"; position: absolute; right: -8px; bottom: -48px; font-family: var(--serif); font-size: 10rem; color: rgba(184,154,94,.06); line-height: 1; }
.declaration__mark { width: 74px; height: 74px; margin-bottom: 28px; }
.declaration__title { max-width: 410px; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.2; }
.declaration__list { display: grid; gap: 12px; margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(184,154,94,.25); list-style: none; }
.declaration__list li { display: flex; gap: 11px; color: rgba(246,243,237,.72); font-size: .92rem; }
.declaration__list li::before { content: "—"; color: var(--gold); }

.mandate-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(91,85,75,.18); background: rgba(255,255,255,.25); }
.mandate-card { position: relative; min-height: 330px; padding: 34px 25px 30px; display: flex; flex-direction: column; border-right: 1px solid rgba(91,85,75,.18); transition: background .3s var(--ease), transform .3s var(--ease); }
.mandate-card:last-child { border-right: 0; }
.mandate-card:hover { background: #fffdfa; transform: translateY(-4px); }
.mandate-card__icon { width: 48px; height: 48px; margin-bottom: 26px; }
.mandate-card h3 { font-size: 1.42rem; }
.mandate-card p { margin-top: 16px; color: var(--muted); font-size: .91rem; }
.mandate-card .text-link { margin-top: auto; padding-top: 26px; }

.posture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: rgba(184,154,94,.28); border: 1px solid rgba(184,154,94,.28); }
.posture-card { min-height: 280px; padding: clamp(32px,4vw,50px); background: var(--green-deep); }
.posture-card__number { display: block; margin-bottom: 48px; color: var(--gold); font-family: var(--serif); font-size: 2.5rem; }
.posture-card p { margin-top: 16px; color: rgba(246,243,237,.7); }

.image-text { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 620px; }
.image-text__image { min-height: 500px; background-size: cover; background-position: center; }
.image-text__image--library { background-image: url('../images/library-clean.jpg'); }
.image-text__content { display: flex; align-items: center; padding: clamp(58px, 8vw, 115px); background: var(--navy); color: var(--ivory); }
.image-text__content p:not(.eyebrow) { margin-top: 24px; color: rgba(246,243,237,.72); }
.authorized-note { display: flex; gap: 16px; align-items: center; margin-top: 35px; padding-top: 26px; border-top: 1px solid rgba(184,154,94,.28); color: var(--gold-light); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.authorized-note img { width: 28px; height: 28px; }

.quote-band { padding: clamp(70px, 9vw, 120px) 0; background: var(--green); color: var(--ivory); text-align: center; }
.quote-band blockquote { max-width: 970px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 5.1rem); font-weight: 400; line-height: 1.04; letter-spacing: -.028em; }
.quote-band p { margin-top: 28px; color: var(--gold-light); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }

/* Interior page hero */
.page-main { padding-top: var(--header-h); }
.page-hero {
  position: relative; min-height: 570px; display: flex; align-items: end; overflow: hidden; color: var(--ivory);
  background-image: linear-gradient(90deg, rgba(4,17,14,.96) 0%, rgba(4,17,14,.79) 45%, rgba(4,17,14,.22) 100%), var(--hero-image);
  background-size: cover; background-position: var(--hero-position, center);
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(4,17,14,.46)); }
.page-hero--library { --hero-image: url('../images/library-clean.jpg'); --hero-position: center; }
.page-hero--governance { --hero-image: url('../images/garden.jpg'); --hero-position: center 46%; }
.page-hero--legacy { --hero-image: url('../images/manor-detail.jpg'); --hero-position: center 48%; }
.page-hero--reporting { --hero-image: url('../images/leather.jpg'); --hero-position: center 43%; }
.page-hero--principles { --hero-image: url('../images/column-clean.jpg'); --hero-position: center 35%; }
.page-hero__inner { position: relative; z-index: 2; width: var(--container); margin: auto; padding: 95px 0 86px; }
.page-hero__content { max-width: 820px; }
.page-hero h1 { font-size: clamp(3.3rem, 6.4vw, 6.6rem); }
.page-hero__lead { max-width: 690px; margin-top: 25px; color: rgba(246,243,237,.83); font-size: clamp(1.08rem, 1.8vw, 1.35rem); }

.lead-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px, 9vw, 130px); align-items: start; }
.lead-grid__title { position: sticky; top: 112px; }
.lead-grid__body > * + * { margin-top: 26px; }
.lead-grid__body .lead:first-child { margin-top: 0; }
.notice {
  margin-top: 38px; padding: 28px 30px; border-left: 2px solid var(--gold); background: rgba(184,154,94,.09);
  color: #343630;
}
.notice strong { display: block; margin-bottom: 7px; color: var(--green); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }

.chapter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(184,154,94,.3); border: 1px solid rgba(184,154,94,.3); }
.chapter-card { min-height: 290px; padding: clamp(32px, 5vw, 54px); background: var(--ivory); }
.section--green .chapter-card, .section--navy .chapter-card { background: var(--green-deep); }
.chapter-card__kicker { display: block; margin-bottom: 32px; color: #6c511e; font-family: var(--serif); font-size: 1.35rem; }
.chapter-card p { margin-top: 17px; color: var(--muted); }
.section--green .chapter-card p, .section--navy .chapter-card p { color: rgba(246,243,237,.68); }
.section--green .chapter-card__kicker, .section--navy .chapter-card__kicker { color: var(--gold-light); }

.detail-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(91,85,75,.25); }
.detail-list li { display: grid; grid-template-columns: minmax(180px,.45fr) 1fr; gap: 35px; padding: 28px 0; border-bottom: 1px solid rgba(91,85,75,.22); }
.detail-list strong { color: var(--green); font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.detail-list span { color: var(--muted); }
.section--green .detail-list, .section--navy .detail-list { border-color: rgba(184,154,94,.26); }
.section--green .detail-list li, .section--navy .detail-list li { border-color: rgba(184,154,94,.22); }
.section--green .detail-list strong, .section--navy .detail-list strong { color: var(--gold-light); }
.section--green .detail-list span, .section--navy .detail-list span { color: rgba(246,243,237,.7); }

.process { counter-reset: process; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(184,154,94,.35); border-bottom: 1px solid rgba(184,154,94,.35); }
.process__step { counter-increment: process; min-height: 280px; padding: 35px 26px; border-right: 1px solid rgba(184,154,94,.25); }
.process__step:last-child { border-right: 0; }
.process__step::before { content: "0" counter(process); display: block; margin-bottom: 52px; color: var(--gold); font-family: var(--serif); font-size: 2rem; }
.process__step h3 { font-size: 1.35rem; }
.process__step p { margin-top: 13px; color: var(--muted); font-size: .92rem; }
.section--green .process__step p, .section--navy .process__step p { color: rgba(246,243,237,.68); }

.two-column-list { columns: 2; column-gap: 70px; margin: 35px 0 0; padding: 0; list-style: none; }
.two-column-list li { position: relative; break-inside: avoid; padding: 17px 0 17px 28px; border-bottom: 1px solid rgba(91,85,75,.2); color: #454841; }
.two-column-list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 10px; height: 1px; background: var(--gold); }

.principles-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: rgba(184,154,94,.28); border: 1px solid rgba(184,154,94,.28); }
.principle { min-height: 360px; padding: 38px 28px; background: var(--green-deep); color: var(--ivory); }
.principle img { width: 45px; height: 45px; margin-bottom: 35px; }
.principle p { margin-top: 18px; color: rgba(246,243,237,.66); font-size: .92rem; }

.related { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(184,154,94,.3); }
.related a { min-height: 190px; padding: 45px clamp(28px,5vw,70px); display: flex; flex-direction: column; justify-content: center; background: var(--ivory); transition: background .28s var(--ease); }
.related a + a { border-left: 1px solid rgba(184,154,94,.3); text-align: right; align-items: flex-end; }
.related a:hover { background: #ece6da; }
.related span { color: #6c511e; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.related strong { margin-top: 10px; font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.55rem); font-weight: 400; }

/* Private access */
.access-page { min-height: 100svh; background: var(--green-black); color: var(--ivory); }
.access-main { min-height: 100svh; padding: calc(var(--header-h) + 72px) 0 85px; display: grid; place-items: center; position: relative; overflow: hidden; }
.access-main::before { content: ""; position: absolute; inset: 0 0 0 54%; background: linear-gradient(90deg, var(--green-black), rgba(7,19,15,.15)), url('../images/column-clean.jpg') center 38%/cover no-repeat; opacity: .68; }
.access-shell { position: relative; z-index: 2; width: var(--container); display: grid; grid-template-columns: minmax(0,620px) minmax(260px,390px); gap: clamp(40px,8vw,110px); align-items: end; }
.access-card { padding: clamp(38px,6vw,70px); border: 1px solid rgba(184,154,94,.38); background: rgba(8,19,32,.86); box-shadow: 0 30px 90px rgba(0,0,0,.28); backdrop-filter: blur(15px); }
.access-card__mark { width: 92px; height: 92px; margin-bottom: 34px; }
.access-card h1 { font-size: clamp(3.1rem,6vw,5.5rem); }
.access-card__lead { margin-top: 20px; color: rgba(246,243,237,.72); font-size: 1.08rem; }
.access-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.access-status { margin-top: 24px; padding-top: 21px; border-top: 1px solid rgba(184,154,94,.25); color: rgba(246,243,237,.58); font-size: .86rem; }
.access-security { padding: 32px; border-left: 1px solid var(--gold); background: rgba(7,19,15,.56); }
.access-security img { width: 36px; height: 36px; margin-bottom: 23px; }
.access-security h2 { font-size: 2.15rem; }
.access-security p { margin-top: 16px; color: rgba(246,243,237,.67); }

.modal { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; padding: 24px; background: rgba(2,10,8,.82); }
.modal.is-open { display: grid; }
.modal__panel { width: min(520px,100%); padding: 45px; background: var(--ivory); color: var(--ink); border: 1px solid var(--gold); box-shadow: var(--shadow); }
.modal__panel h2 { font-size: 2.5rem; }
.modal__panel p { margin-top: 17px; color: var(--muted); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.modal__close { color: var(--green-black); }

/* Privacy and 404 */
.text-page { padding: calc(var(--header-h) + 90px) 0 110px; background: var(--ivory); }
.text-page__head { max-width: 820px; padding-bottom: 55px; border-bottom: 1px solid var(--border); }
.text-page__head h1 { color: var(--green-deep); }
.text-page__head p { margin-top: 24px; color: var(--muted); }
.prose { width: min(820px,100%); margin-top: 60px; }
.prose h2 { margin-top: 48px; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 16px; color: #484b44; }
.prose ul { padding-left: 22px; }
.prose a { color: #755a28; text-decoration: underline; text-underline-offset: 4px; }
.error-page { min-height: 100svh; padding: calc(var(--header-h) + 60px) 24px 80px; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, #163228, var(--green-black) 62%); color: var(--ivory); text-align: center; }
.error-page__code { color: var(--gold); font-family: var(--serif); font-size: clamp(6rem,18vw,14rem); line-height: .8; opacity: .85; }
.error-page h1 { margin-top: 28px; font-size: clamp(2.5rem,5vw,5rem); }
.error-page p { max-width: 580px; margin: 22px auto 0; color: rgba(246,243,237,.7); }
.error-page .button { margin-top: 34px; }

/* Footer */
.site-footer { background: var(--green-black); color: var(--ivory); border-top: 1px solid rgba(184,154,94,.26); }
.footer-main { padding: 68px 0 52px; display: grid; grid-template-columns: 1.2fr .9fr 1fr; gap: 50px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 16px; }
.footer-brand img { width: 68px; height: 68px; }
.footer-brand__text strong { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.footer-brand__text span { display: block; margin-top: 3px; color: var(--gold-light); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; }
.footer-statement { color: rgba(246,243,237,.65); }
.footer-contact { justify-self: end; text-align: right; }
.footer-contact span { display: block; margin-bottom: 9px; color: var(--gold); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.footer-contact a { font-family: var(--serif); font-size: 1.22rem; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(184,154,94,.17); }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; color: rgba(246,243,237,.48); font-size: .68rem; letter-spacing: .08em; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-privacy { display: flex; gap: 20px; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Focus */
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --header-h: 76px; --container: min(100% - 38px, 1040px); }
  .nav-toggle { display: block; position: relative; z-index: 130; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 110px max(28px,8vw) 50px; background: var(--green-black); transform: translateX(100%); visibility: hidden;
    transition: transform .42s var(--ease), visibility .42s;
  }
  .nav-open .primary-nav { transform: translateX(0); visibility: visible; }
  .primary-nav a { padding: 15px 0; border-bottom: 1px solid rgba(184,154,94,.19); font-family: var(--serif); font-size: clamp(1.65rem,4vw,2.6rem); letter-spacing: 0; text-transform: none; }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-access { margin-top: 18px; border: 1px solid var(--gold); padding: 13px 18px; text-align: center; font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
  .mandate-grid { grid-template-columns: repeat(3,1fr); }
  .mandate-card:nth-child(3) { border-right: 0; }
  .mandate-card:nth-child(-n+3) { border-bottom: 1px solid rgba(91,85,75,.18); }
  .mandate-card:last-child { grid-column: span 2; }
  .principles-grid { grid-template-columns: repeat(3,1fr); }
  .process { grid-template-columns: repeat(3,1fr); }
  .process__step:nth-child(3) { border-right: 0; }
  .process__step:nth-child(-n+3) { border-bottom: 1px solid rgba(184,154,94,.25); }
  .process__step:nth-child(4) { grid-column: 1 / 2; }
  .process__step:nth-child(5) { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 32px, 760px); }
  .brand__name { display: none; }
  .brand__mark { font-size: 2.1rem; }
  .hero-home { min-height: 820px; padding-top: calc(var(--header-h) + 65px); background-position: 62% center; }
  .hero-home::before { background: linear-gradient(180deg, rgba(4,17,14,.08) 50%, rgba(3,14,11,.9)); }
  .hero-home__content { max-width: 610px; }
  .hero-home h1 { font-size: clamp(3.45rem,12vw,5.5rem); }
  .hero-home__lead { max-width: 520px; }
  .split, .lead-grid { grid-template-columns: 1fr; }
  .lead-grid__title { position: static; }
  .mandate-grid { grid-template-columns: 1fr 1fr; }
  .mandate-card { min-height: 300px; }
  .mandate-card:nth-child(2n) { border-right: 0; }
  .mandate-card:nth-child(3) { border-right: 1px solid rgba(91,85,75,.18); }
  .mandate-card:nth-child(-n+4) { border-bottom: 1px solid rgba(91,85,75,.18); }
  .mandate-card:last-child { grid-column: 1 / -1; }
  .posture-grid { grid-template-columns: 1fr; }
  .posture-card { min-height: 0; }
  .posture-card__number { margin-bottom: 25px; }
  .image-text { grid-template-columns: 1fr; }
  .image-text__image { min-height: 420px; }
  .page-hero { min-height: 520px; }
  .page-hero__inner { padding-bottom: 64px; }
  .chapter-grid { grid-template-columns: 1fr; }
  .detail-list li { grid-template-columns: 1fr; gap: 8px; }
  .process { grid-template-columns: 1fr 1fr; }
  .process__step:nth-child(n) { grid-column: auto; border-right: 1px solid rgba(184,154,94,.25); border-bottom: 1px solid rgba(184,154,94,.25); }
  .process__step:nth-child(2n) { border-right: 0; }
  .process__step:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
  .two-column-list { columns: 1; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principle:last-child { grid-column: 1 / -1; }
  .access-main::before { inset: 0; opacity: .25; }
  .access-shell { grid-template-columns: 1fr; }
  .access-security { max-width: 620px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-contact { justify-self: start; text-align: left; }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 28px); }
  .site-header { height: 70px; }
  .site-header.is-scrolled { height: 66px; }
  .hero-home { min-height: 780px; padding-bottom: 115px; background-position: 67% center; }
  .hero-home h1 { font-size: clamp(3rem,15vw,4.45rem); }
  .hero-home__lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-mantra { min-height: 90px; font-size: .61rem; letter-spacing: .15em; }
  .section { padding: 76px 0; }
  .declaration { padding: 34px 28px; }
  .mandate-grid, .principles-grid { grid-template-columns: 1fr; }
  .mandate-card:nth-child(n), .principle:nth-child(n) { grid-column: auto; border-right: 0; border-bottom: 1px solid rgba(91,85,75,.18); }
  .mandate-card:last-child, .principle:last-child { border-bottom: 0; }
  .mandate-card { min-height: 280px; }
  .image-text__image { min-height: 330px; }
  .image-text__content { padding: 55px 27px; }
  .page-main { padding-top: 70px; }
  .page-hero { min-height: 500px; background-position: 62% center; }
  .page-hero__inner { padding: 70px 0 52px; }
  .page-hero h1 { font-size: clamp(3rem,14vw,4.5rem); }
  .process { grid-template-columns: 1fr; }
  .process__step:nth-child(n) { grid-column: auto; border-right: 0; border-bottom: 1px solid rgba(184,154,94,.25); min-height: 220px; }
  .process__step:last-child { border-bottom: 0; }
  .process__step::before { margin-bottom: 30px; }
  .related { grid-template-columns: 1fr; }
  .related a + a { border-left: 0; border-top: 1px solid rgba(184,154,94,.3); text-align: left; align-items: flex-start; }
  .access-card { padding: 35px 25px; }
  .access-card h1 { font-size: 3.25rem; }
  .access-actions { flex-direction: column; }
  .access-actions .button { width: 100%; }
  .footer-bottom__inner { align-items: flex-start; flex-direction: column; }
  .footer-privacy { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .related { display: none !important; }
  .page-main, .text-page { padding-top: 0; }
  body { color: #000; background: #fff; }
  .page-hero { min-height: auto; padding: 50px 0; background: #fff !important; color: #000; }
  .page-hero::after { display: none; }
  .section { padding: 45px 0; background: #fff !important; color: #000 !important; }
}
