/* =================================================================
   Bebensee Capital Holding GmbH
   Light ground, navy & gold accents drawn from the company logo.
   Clean grotesque (Roboto — the logo's own typeface). Reduced, calm,
   generous whitespace; gold appears only as a fine hairline accent.
   ================================================================= */

/* ----------------------------------------------------------------
   0 · Fonts — self-hosted Roboto (no external CDN / Google request)
   Variable woff2 (one file per subset, all weights). Discrete weight
   declarations mirror what Google served (300/400/500/700); the
   unicode-range gates the latin-ext download to glyphs that need it.
   ---------------------------------------------------------------- */
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------------------------------
   1 · Tokens
   ---------------------------------------------------------------- */
:root {
  --paper:      #FBF9F3;   /* warm off-white ground */
  --paper-alt:  #F4EEDC;   /* soft muted gold (champagne) band */

  --navy:       #0A1932;   /* brand navy — headings, header logo, footer */
  --navy-700:   #16243f;

  --body:       #3b4250;   /* body copy */
  --muted:      #5f6773;   /* secondary (AA on both grounds) */

  --line:       #e4e0d4;   /* warm hairline (works on paper + gold) */
  --line-2:     #d8d2c2;
  --field-line: #8a836e;   /* form field outline (3:1 on both grounds) */

  --gold:       #B09140;   /* brand gold — hairline accents */
  --gold-deep:  #6f5b26;   /* deep bronze — small gold text accents (AA on both grounds) */
  --gold-soft:  #c2a458;

  --on-navy:        #e9ebee;
  --on-navy-mut:    #99a1ac;
  --on-navy-faint:  #808998;

  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --maxw: 1140px;
  --measure: 40rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------------
   2 · Reset & base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.72;
  font-weight: 400;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-weight: 500;
  text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: var(--navy); color: var(--paper); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ----------------------------------------------------------------
   3 · Skip link
   ---------------------------------------------------------------- */
.skip-link {
  position: fixed; top: 0.75rem; left: 50%;
  transform: translate(-50%, -180%);
  background: var(--navy); color: #fff;
  padding: 0.6rem 1.1rem; font-size: 0.85rem; letter-spacing: 0.03em;
  z-index: 400; transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ----------------------------------------------------------------
   4 · Layout helpers
   ---------------------------------------------------------------- */
.shell {
  width: 100%; max-width: var(--maxw);
  margin-inline: auto; padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-alt); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: block;
  font-size: 0.95rem; font-weight: 500; color: var(--navy);
}

.lede {
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  line-height: 1.6; color: var(--muted); max-width: var(--measure);
  font-weight: 400;
}

/* ----------------------------------------------------------------
   5 · Header / navigation
   ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 150;
  background: transparent;   /* see-through over the hero … */
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header.is-scrolled {  /* … navy fills in once you scroll */
  background: var(--navy);
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.72);
}
/* gold hairline at the bottom edge — fades in with the navy fill */
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 60%, transparent) 50%, transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.site-header.is-scrolled::after { opacity: 1; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: clamp(0.5rem, 0.9vw, 0.7rem);
}
.brand { display: inline-flex; align-items: center; }
/* identical size & position in both states — only the colour changes */
.brand__logo { width: auto; height: clamp(3rem, 4vw, 3.9rem); }
/* black print lockup while the header is transparent (over the light hero) … */
.brand__logo--ondark { display: none; }
/* … full-colour lockup once the navy bar fills in on scroll */
.site-header.is-scrolled .brand__logo--onlight { display: none; }
.site-header.is-scrolled .brand__logo--ondark { display: block; }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem); }
.nav a {
  position: relative;
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); padding-block: 0.4rem;   /* dark on the light hero */
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
/* once scrolled, the bar is navy → light links */
.site-header.is-scrolled .nav a { color: var(--on-navy-mut); }
.site-header.is-scrolled .nav a:hover,
.site-header.is-scrolled .nav a[aria-current="page"] { color: #fff; }

.nav-toggle {
  display: none; width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--line-2); background: transparent;
  cursor: pointer; position: relative; flex: none;
  transition: border-color 0.4s var(--ease);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 1.1rem; height: 1.5px; background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), background 0.4s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -5px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
/* light once scrolled (navy bar) */
.site-header.is-scrolled .nav-toggle { border-color: rgba(255, 255, 255, 0.22); }
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle span::before,
.site-header.is-scrolled .nav-toggle span::after { background: var(--on-navy); }
/* open state → light X on the navy overlay */
.nav-open .nav-toggle { border-color: rgba(255, 255, 255, 0.22); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(45deg); background: var(--on-navy); }
.nav-open .nav-toggle span::after  { transform: translate(-50%, 0) rotate(-45deg); background: var(--on-navy); }

@media (max-width: 800px) {
  .nav-toggle { display: block; z-index: 160; }
  .nav {
    position: fixed; inset: 0; flex-direction: column;
    justify-content: center; gap: 2rem; background: var(--navy);
    transform: translateY(-100%); transition: transform 0.5s var(--ease); z-index: 155;
  }
  .nav a { font-size: 1.4rem; font-weight: 400; color: var(--on-navy); }
  .nav a:hover { color: #fff; }
  .nav a[aria-current="page"] { border-bottom: 0; color: var(--gold-soft); }
  .nav-open .nav { transform: translateY(0); }
  body.nav-open { overflow: hidden; }
}

/* ----------------------------------------------------------------
   6 · Buttons & inline links
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font); font-weight: 500; font-size: 0.83rem;
  letter-spacing: 0.04em; padding: 0.85rem 1.5rem;
  border: 1px solid var(--navy); color: var(--navy); background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: var(--navy); color: #fff; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-size: 0.9rem; color: var(--navy);
  border-bottom: 1px solid var(--gold); padding-bottom: 0.15rem;
  transition: border-color 0.3s var(--ease);
}
.text-link:hover { border-color: var(--navy); }
.text-link .arrow { transition: transform 0.35s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ----------------------------------------------------------------
   7 · Hero (home)
   ---------------------------------------------------------------- */
.hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero__inner { max-width: 40rem; }
.hero .eyebrow { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.7rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.022em;
}
.hero__intro {
  margin-top: 2rem; max-width: 38rem;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem);
  line-height: 1.62; color: var(--muted);
}
.hero__actions { margin-top: 2.75rem; display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }

/* Hero visual — portrait of the Geschäftsführer */
.hero__visual { width: 100%; max-width: 24rem; margin-inline: auto; }
.hero__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.hero__caption { margin-top: 0.9rem; font-size: 0.95rem; line-height: 1.4; color: var(--muted); }
.hero__caption strong { font-weight: 500; color: var(--navy); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 3rem); }
  .hero__visual { max-width: 20rem; }
}

/* ----------------------------------------------------------------
   8 · Section heading block
   ---------------------------------------------------------------- */
.section-head { display: grid; gap: 1.25rem; max-width: 44rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
.section-head h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); font-weight: 500; letter-spacing: -0.02em; }

/* ----------------------------------------------------------------
   9 · Business fields (Geschäftsfelder)
   ---------------------------------------------------------------- */
.fields { border-top: 1px solid var(--line); }
.field {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3.5rem); align-items: baseline;
  padding-block: clamp(2rem, 3.5vw, 3rem); border-bottom: 1px solid var(--line);
}
.field__title { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); font-weight: 500; line-height: 1.2; color: var(--navy); }
.field__body { color: var(--body); font-size: 1rem; line-height: 1.7; }
.field__body .aside { display: block; margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 720px) {
  .field { grid-template-columns: 1fr; gap: 0.7rem; padding-block: 2rem; }
}

/* ----------------------------------------------------------------
   10 · Prose (about copy, legal pages)
   ---------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose--wide { max-width: none; }
.prose > * + * { margin-top: 1.3rem; }
.prose .intro { font-size: 1.2rem; line-height: 1.6; color: var(--navy-700); font-weight: 400; }
.prose h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); font-weight: 500;
  margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.08rem; font-weight: 600; margin-top: 1.9rem; color: var(--navy); }
.prose h4 { font-size: 1rem; font-weight: 600; margin-top: 1.5rem; color: var(--navy-700); }
.prose p, .prose li { color: var(--body); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a { color: var(--navy); border-bottom: 1px solid var(--gold); transition: border-color 0.3s var(--ease); }
.prose a:hover { border-color: var(--navy); }
.prose ul { padding-left: 1.1rem; display: grid; gap: 0.5rem; }

.placeholder { color: var(--muted); font-style: italic; border-bottom: 1px dotted var(--line-2); }
.note { border-left: 2px solid var(--gold); padding: 0.4rem 0 0.4rem 1.4rem; font-size: 0.95rem; color: var(--muted); }

/* ----------------------------------------------------------------
   11 · Values (Wofür die Holding steht)
   ---------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 6vw, 5rem); }
.value { display: grid; align-content: start; gap: 0.7rem; padding-top: 1.6rem; border-top: 1px solid var(--line-2); }
.value h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); font-weight: 500; }
.value p { color: var(--body); font-size: 0.98rem; line-height: 1.68; }
.value p a { color: var(--gold-deep); font-weight: 600; border-bottom: 1px solid var(--gold); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.value p a:hover { color: var(--navy); border-color: var(--navy); }
@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; gap: 0; }
  .value { padding-block: 1.6rem 0; }
}

/* ----------------------------------------------------------------
   12 · Contact
   ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-card { display: grid; gap: 2rem; }
.contact-row { display: grid; gap: 0.4rem; }
.contact-row dt { font-size: 0.88rem; color: var(--gold-deep); font-weight: 500; }
.contact-row dd { font-size: 1.18rem; font-weight: 400; color: var(--navy); line-height: 1.5; }
.contact-row dd a { border-bottom: 1px solid var(--gold); transition: border-color 0.3s var(--ease); }
.contact-row dd a:hover { border-color: var(--navy); }
.contact-aside { padding-top: 1.8rem; border-top: 1px solid var(--line); }
.contact-row dd.contact-note { font-size: 1rem; font-weight: 400; color: var(--muted); line-height: 1.65; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Contact form — POSTs JSON to the n8n webhook (progressive enhancement) */
.contact-form { display: grid; gap: 1.4rem; }
.form-row { display: grid; gap: 0.5rem; }
.form-row label { font-size: 0.88rem; color: var(--gold-deep); font-weight: 500; }
.form-optional { color: var(--muted); font-weight: 400; }
.contact-form input,
.contact-form textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--navy);
  background: var(--paper); border: 1px solid var(--field-line);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent);
}
.contact-form textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.contact-form input:user-invalid,
.contact-form textarea:user-invalid { border-color: #b3473c; }

/* honeypot — kept in the DOM for bots, removed from view & a11y tree */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; margin-top: 0.3rem; }
.contact-form button[disabled] { opacity: 0.55; cursor: progress; }
.form-status { font-size: 0.9rem; color: var(--muted); margin: 0; }
.form-status.is-error { color: #a3382f; }
.form-status.is-success { color: var(--gold-deep); }
.form-note { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.form-note a { color: var(--navy); border-bottom: 1px solid var(--gold); transition: border-color 0.3s var(--ease); }
.form-note a:hover { border-color: var(--navy); }

/* Success modal (native <dialog>) */
.modal {
  margin: auto; padding: 0; border: none;
  width: calc(100% - 2.5rem); max-width: 30rem;
  background: var(--paper); color: var(--body);
  box-shadow: 0 40px 90px -40px rgba(10, 25, 50, 0.6);
}
.modal::backdrop { background: rgba(10, 25, 50, 0.55); }
.modal__body { display: grid; gap: 1.1rem; justify-items: start; padding: clamp(2rem, 5vw, 3rem); }
.modal__rule { width: 2.5rem; height: 1px; background: var(--gold); }
.modal h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; }
.modal p { color: var(--muted); }
.modal .btn { margin-top: 0.5rem; }
.modal[open] { animation: modal-in 0.32s var(--ease); }
.modal[open]::backdrop { animation: modal-fade 0.32s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
@keyframes modal-fade { from { opacity: 0; } }

/* ----------------------------------------------------------------
   13 · Closing statement
   ---------------------------------------------------------------- */
.statement { text-align: center; display: grid; gap: 1.6rem; justify-items: center; }
.statement__rule { width: 3rem; height: 1px; background: var(--gold); }
.statement p {
  font-size: clamp(1.35rem, 1.1rem + 1.3vw, 2rem); font-weight: 300;
  line-height: 1.35; color: var(--navy); max-width: 24ch; letter-spacing: -0.01em;
}
.statement p strong { font-weight: 500; }

/* ----------------------------------------------------------------
   14 · Page hero (inner pages)
   ---------------------------------------------------------------- */
.page-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}
.page-hero + .section { padding-top: clamp(2.5rem, 5vw, 3.75rem); }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); font-weight: 300; letter-spacing: -0.02em; max-width: 20ch; }
.page-hero .lede { margin-top: 1.4rem; }

/* ----------------------------------------------------------------
   15 · Footer (navy)
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--navy); color: var(--on-navy-mut);
  padding-block: clamp(3.5rem, 6vw, 5rem) clamp(1.75rem, 3vw, 2.5rem);
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.75rem 3rem;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { display: inline-block; flex: none; }
.footer-logo img { height: clamp(6.5rem, 9vw, 8.5rem); width: auto; }
.footer-desc { font-size: 0.95rem; line-height: 1.65; max-width: 30rem; text-align: right; color: var(--on-navy-mut); }
@media (max-width: 640px) { .footer-desc { text-align: left; } }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 2rem; padding-top: clamp(1.5rem, 3vw, 1.9rem); font-size: 0.82rem;
}
.footer-copy { color: var(--on-navy-faint); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.footer-legal a { color: var(--on-navy-mut); transition: color 0.3s var(--ease); }
.footer-legal a:hover { color: var(--on-navy); }

/* ----------------------------------------------------------------
   16 · Reveal (subtle, JS-gated)
   ---------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

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