/* =============================================================
   PRESCIENCE FINANCE
   Debt Strategy. Built on Foresight.
   Refined editorial luxury — Navy / Gold / Warm white
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy:        #052149;
  --navy-900:    #03152f;
  --navy-700:    #0a2a55;
  --navy-600:    #123a6e;
  --gold:        #d3af37;
  --gold-soft:   #e4cf86;
  --gold-deep:   #b8952a;

  /* Neutrals */
  --white:       #ffffff;
  --paper:       #faf8f3;   /* warm off-white section */
  --paper-2:     #f4f1e9;
  --ink:         #0a1a30;   /* near-navy body text */
  --ink-soft:    #46566c;   /* muted body */
  --ink-faint:   #7c8aa0;
  --line:        #e7e2d6;   /* hairline on light */
  --line-navy:   rgba(211,175,55,.22);

  /* Semantic */
  --bg:          var(--white);
  --text:        var(--ink);

  /* Type */
  --f-display:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-head:      "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body:      "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.82rem, 0.78rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
  --step-1:  clamp(1.22rem, 1.12rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);
  --step-5:  clamp(3.2rem, 2.2rem + 5vw, 6.5rem);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .6s;

  --shadow-card: 0 1px 2px rgba(5,33,73,.04), 0 12px 32px -16px rgba(5,33,73,.18);
  --shadow-lift: 0 18px 48px -22px rgba(5,33,73,.34);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--navy-900); }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding-block: var(--section-y); }
.center { text-align: center; }

/* Eyebrow / kicker */
.kicker {
  font-family: var(--f-head);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}
.kicker::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}
.kicker--center::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}
.kicker--center { justify-content: center; }

/* Headings */
h1,h2,h3,h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--navy); }
.display {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.serif { font-family: var(--f-display); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--navy); color: var(--white); padding: .7rem 1.2rem; border-radius: 0 0 6px 6px;
  z-index: 2000; transition: top .25s var(--ease);
}
.skip:focus { top: 0; }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding-block: clamp(1rem, 2vw, 1.6rem);
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::after {
  content:""; position:absolute; inset:0;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
  z-index:-1;
}
.site-header.is-scrolled { padding-block: .55rem; }
.site-header.is-scrolled::after { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(5,33,73,.5); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Brand mark (full logo image) */
.brand { display: inline-flex; align-items: center; }
.brand__logo {
  height: clamp(34px, 4.5vw, 44px); width: auto; display: block;
  transition: transform .5s var(--ease-out), height .4s var(--ease);
}
.site-header.is-scrolled .brand__logo { height: clamp(30px, 4vw, 38px); }
.brand:hover .brand__logo { transform: translateY(-1px); }

/* Nav links */
.nav__links { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); }
.nav__link {
  font-family: var(--f-head); font-weight: 500; font-size: .86rem;
  letter-spacing: .04em; color: var(--navy); position: relative; padding-block: .3rem;
}
.nav__link::after {
  content:""; position:absolute; left:0; bottom:-2px; height:1.5px; width:100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold-deep); }

/* Button */
.btn {
  --bg: var(--navy); --fg: var(--white);
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--f-head); font-weight: 600; font-size: .85rem; letter-spacing: .06em;
  padding: .92em 1.6em; border: 1px solid var(--bg); border-radius: 2px;
  background: var(--bg); color: var(--fg); position: relative; overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .35s var(--ease), color .35s var(--ease);
  isolation: isolate;
}
.btn::before {
  content:""; position:absolute; inset:0; z-index:-1; background: var(--gold);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover { color: var(--navy-900); box-shadow: var(--shadow-lift); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--gold); }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--navy-900); }

.btn--gold { --bg: var(--gold); --fg: var(--navy-900); border-color: var(--gold); }
.btn--gold::before { background: var(--navy); }
.btn--gold:hover { color: var(--white); }

.btn--on-navy { --bg: var(--gold); --fg: var(--navy-900); border-color: var(--gold); }
.btn--on-navy::before { background: var(--white); }
.btn--on-navy:hover { color: var(--navy-900); }

.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light::before { background: #fff; }
.btn--ghost-light:hover { color: var(--navy-900); border-color: #fff; }

/* Mobile nav toggle */
.nav__toggle {
  display: none; width: 44px; height: 44px; border: none; background: none;
  position: relative; z-index: 1100;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content:""; position:absolute; left:50%; top:50%; width: 24px; height: 1.5px;
  background: var(--navy); transform: translate(-50%,-50%); transition: .35s var(--ease);
}
.nav__toggle span::before { transform: translate(-50%, -8px); }
.nav__toggle span::after  { transform: translate(-50%,  8px); }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translate(-50%,0) rotate(45deg); background: var(--navy); }
.nav-open .nav__toggle span::after  { transform: translate(-50%,0) rotate(-45deg); background: var(--navy); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 6rem; overflow: hidden; background: var(--navy-900);
}
.hero__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; z-index: 0;
  animation: heroZoom 18s var(--ease-out) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content:""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,21,47,.94) 0%, rgba(3,21,47,.72) 42%, rgba(3,21,47,.30) 100%),
    linear-gradient(0deg, rgba(3,21,47,.85) 0%, rgba(3,21,47,0) 45%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__rule {
  width: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}
.hero__title {
  font-family: var(--f-display);
  font-size: var(--step-5);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
  max-width: 18ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__title .accent { color: var(--gold); font-style: italic; }
.hero__sub {
  margin-top: clamp(1.4rem,3vw,2rem);
  font-size: var(--step-1);
  color: rgba(250,248,243,.85);
  max-width: 32ch;
  font-weight: 300;
}
.hero__cta { margin-top: clamp(2rem, 4vw, 3rem); display: flex; gap: 1rem; flex-wrap: wrap; }

/* Decorative monogram watermark */
.watermark {
  position: absolute; font-family: var(--f-display); font-weight: 600;
  color: var(--navy); opacity: .03; line-height: 1; user-select: none; pointer-events: none;
  font-size: clamp(20rem, 40vw, 46rem); right: -3vw; bottom: -10vh; z-index: 1;
}

/* =============================================================
   MOMENTUM (editorial prose + accent image)
   ============================================================= */
.momentum-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.accent-figure { position: relative; }
.accent-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-card); }
.accent-figure::after { content:""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(211,175,55,.4); border-radius: 3px; pointer-events: none; }
.accent-figure figcaption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  font-family: var(--f-display); font-style: italic; color: #fff; font-size: var(--step-0);
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
@media (max-width: 820px){ .momentum-grid { grid-template-columns: 1fr; } .accent-figure { max-width: 360px; } .accent-figure img { aspect-ratio: 16/10; } }

.prose-block { max-width: 60ch; }
.prose-block p { font-size: var(--step-1); line-height: 1.6; color: var(--ink-soft); font-weight: 300; }
.prose-block p + p { margin-top: 1.5em; }
.prose-block .lead-first::first-letter {
  font-family: var(--f-display); font-size: 3.4em; line-height: .8; float: left;
  padding: .05em .12em 0 0; color: var(--gold-deep); font-weight: 600;
}

/* =============================================================
   STANDARD — three columns
   ============================================================= */
.cols-3 {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: repeat(3, 1fr);
  counter-reset: pillar;
}
.pillar { position: relative; padding-top: 2rem; }
.pillar::before {
  counter-increment: pillar; content: "0" counter(pillar);
  font-family: var(--f-head); font-weight: 600; font-size: .92rem; color: var(--gold-deep);
  letter-spacing: .14em; position: absolute; top: 0; left: 0;
  font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1;
}
.pillar__line { width: 100%; height: 1px; background: var(--line); margin-bottom: 1.4rem; position: relative; }
.pillar__line::after { content:""; position:absolute; left:0; top:0; height:1px; width:0; background: var(--gold); transition: width .9s var(--ease); }
.is-visible .pillar__line::after { width: 38%; }
.pillar h3 { font-size: var(--step-2); font-family: var(--f-display); font-weight: 600; margin-bottom: .8rem; }
.pillar p { color: var(--ink-soft); font-weight: 300; }
.pillar .emph { color: var(--navy); font-style: italic; font-family: var(--f-display); font-size: 1.05em; display:block; margin-top:.8rem; }

/* Values strip */
.values {
  margin-top: clamp(3rem,6vw,5rem); padding: clamp(2rem,4vw,3rem) clamp(1.5rem,4vw,3.5rem);
  background: var(--navy); color: var(--paper); border-radius: 3px; position: relative; overflow: hidden;
}
.values::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 100% 0%, rgba(211,175,55,.16), transparent 60%); }
.values p { position: relative; font-family: var(--f-display); font-size: var(--step-2); font-weight: 500; line-height: 1.35; max-width: 24ch; }
.values .vlist { position: relative; margin-top: 1.4rem; display:flex; gap: 2rem; flex-wrap: wrap; }
.values .vlist span { font-family: var(--f-head); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--gold-soft); display:flex; align-items:center; gap:.6rem; }
.values .vlist span::before { content:""; width:5px; height:5px; background: var(--gold); border-radius:50%; }

/* =============================================================
   IMAGE BAND (full-bleed divider with overlaid line)
   ============================================================= */
.band {
  position: relative; min-height: clamp(260px, 42vw, 460px);
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.band__media {
  position: absolute; inset: -10% 0; width: 100%; height: 120%;
  object-fit: cover; z-index: -2; will-change: transform;
}
.band::after {
  content:""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3,21,47,.85) 0%, rgba(3,21,47,.55) 60%, rgba(3,21,47,.4) 100%);
}
.band__quote {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  color: #fff; font-size: var(--step-3); line-height: 1.25; max-width: 20ch;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.band__quote .accent { color: var(--gold); }
.band__kicker { color: var(--gold-soft); margin-bottom: 1rem; }

/* =============================================================
   PRINCIPAL
   ============================================================= */
.principal { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 3px; overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-900) 100%);
  display: grid; place-items: center;
}
.portrait::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(211,175,55,.4); border-radius: 3px; }
.portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.portrait__ph { text-align:center; color: var(--gold-soft); padding: 2rem; }
.portrait__ph .mono { font-family: var(--f-display); font-size: clamp(4rem,10vw,7rem); color: var(--gold); line-height:1; }
.portrait__ph small { font-family: var(--f-head); letter-spacing:.2em; text-transform:uppercase; font-size:.66rem; opacity:.7; display:block; margin-top:1rem; }

.principal__name { font-family: var(--f-display); font-weight: 600; font-size: var(--step-3); letter-spacing: 0; line-height: 1; }
.principal__title {
  font-family: var(--f-head); font-weight: 600; font-size: .82rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep); margin-top: .7rem;
}
.principal__creds {
  font-family: var(--f-head); font-size: .74rem; letter-spacing: .08em;
  color: var(--ink-faint); margin-top: .9rem; line-height: 1.9;
}
.pquote {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: var(--step-2); line-height: 1.4; color: var(--navy);
  border-left: 2px solid var(--gold); padding-left: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}
.principal__rep { margin-top: 1.6rem; font-size: var(--step--1); color: var(--ink-faint); line-height: 1.8; }

/* =============================================================
   CAPACITY NOTE
   ============================================================= */
.capacity { border-top: 1px solid var(--line); }
.capacity p { font-family: var(--f-display); font-size: var(--step-2); color: var(--navy); max-width: 30ch; font-weight: 500; line-height: 1.35; }
.capacity .meta { font-family: var(--f-body); font-size: var(--step-0); color: var(--ink-soft); font-weight:300; margin-top: 1rem; max-width: 44ch; }

/* =============================================================
   DARK SECTION (advisers hero / generic)
   ============================================================= */
.section--navy { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.section--navy h1,.section--navy h2,.section--navy h3 { color: var(--white); }
.section--navy .kicker { color: var(--gold); }
.section--navy .kicker::before,.section--navy .kicker--center::after { background: var(--gold); }
.section--navy p { color: rgba(250,248,243,.78); }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }

.adviser-hero { min-height: 88svh; display:flex; align-items:center; padding-top: 7rem; }
.adviser-hero .display { font-size: var(--step-4); color: var(--white); max-width: 18ch; }
.adviser-hero .display .accent { color: var(--gold); font-style: italic; }
.adviser-hero p { font-size: var(--step-1); max-width: 46ch; margin-top: 1.6rem; font-weight: 300; }
.glowdot { position:absolute; border-radius:50%; filter: blur(60px); opacity:.5; pointer-events:none; }

/* =============================================================
   SCOPE — boundaries list
   ============================================================= */
.scope-list { list-style: none; padding: 0; display: grid; gap: 0; max-width: 70ch; }
.scope-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: baseline;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line);
}
.scope-list li .term { font-family: var(--f-head); font-weight: 600; color: var(--navy); font-size: var(--step-0); }
.scope-list li .desc { color: var(--ink-soft); font-weight: 300; }
.scope-list .x {
  width: 26px; height: 26px; flex:none; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-deep); align-self: start; margin-top: .15rem;
}
.scope-foot { margin-top: 2rem; font-family: var(--f-display); font-style: italic; font-size: var(--step-1); color: var(--navy); }
.scope-foot .every { color: var(--gold-deep); }

/* =============================================================
   PROCESS STEPS
   ============================================================= */
.steps { display: grid; gap: 0; max-width: 78ch; margin-inline: auto; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem,3vw,2.4rem);
  padding: clamp(1.6rem,3vw,2.4rem) 0; border-top: 1px solid var(--line-navy); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-navy); }
.step__num { font-family: var(--f-head); font-size: clamp(1.8rem,4.5vw,2.7rem); color: var(--gold); line-height: 1; font-weight: 600; letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.step p { color: rgba(250,248,243,.72); font-weight: 300; max-width: 56ch; }
.section--paper .step { border-color: var(--line); }
.section--paper .step p { color: var(--ink-soft); }
.section--paper .step h3 { color: var(--navy); }

/* =============================================================
   AUDIENCE / built for
   ============================================================= */
.builtfor p { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.3; max-width: 24ch; color: var(--navy); font-weight: 500; }
.builtfor .section--navy & { color: var(--white); }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.qual { display: grid; gap: 1.4rem; max-width: 52ch; }
.qual p { font-size: var(--step-1); color: var(--ink-soft); font-weight: 300; line-height: 1.55; position: relative; padding-left: 1.6rem; }
.qual p::before { content:""; position:absolute; left:0; top:.7em; width:.7rem; height:1px; background: var(--gold); }

.details { display: grid; gap: 1rem; margin-top: 2.4rem; }
.details dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.4rem; }
.details dt { font-family: var(--f-head); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); align-self: center; }
.details dd { color: var(--navy); font-weight: 400; }
.details a:hover { color: var(--gold-deep); }

/* Form */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow-card);
}
.section--navy .form-card { background: #06244e; border-color: rgba(211,175,55,.25); }
.field { position: relative; margin-bottom: 1.6rem; }
.field label {
  display:block; font-family: var(--f-head); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .55rem;
}
.field .req { color: var(--gold-deep); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: var(--step-0); color: var(--navy);
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: .85rem 1rem; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(211,175,55,.16);
}
.field .err { display:none; color: #b4232a; font-size: var(--step--1); margin-top: .4rem; }
.field.is-error input, .field.is-error textarea { border-color: #c0392b; }
.field.is-error .err { display: block; }
.form-note { font-size: var(--step--1); color: var(--ink-faint); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-size: var(--step-0); display:none; }
.form-status.ok { display:block; color: var(--gold-deep); font-family: var(--f-display); font-style: italic; font-size: var(--step-1); }
.form-status.bad { display:block; color: #b4232a; }

/* =============================================================
   LEGAL / POLICY PAGE
   ============================================================= */
.legal { padding-top: clamp(8rem, 14vw, 11rem); }
.legal__intro { font-size: var(--step-1); color: var(--ink-soft); font-weight: 300; max-width: 70ch; line-height: 1.6; }
.legal__body { max-width: 72ch; margin-top: clamp(2rem,5vw,3.5rem); }
.legal__body h2 {
  font-family: var(--f-display); font-weight: 600; font-size: var(--step-2);
  color: var(--navy); margin-top: clamp(2.4rem,5vw,3.4rem); margin-bottom: .8rem;
  padding-top: clamp(2.4rem,5vw,3.4rem); border-top: 1px solid var(--line);
}
.legal__body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1.5rem; }
.legal__body h3 {
  font-family: var(--f-head); font-weight: 600; font-size: var(--step-0);
  color: var(--navy); margin-top: 1.8rem; margin-bottom: .5rem;
  letter-spacing: .02em;
}
.legal__body p { color: var(--ink-soft); font-weight: 300; margin-bottom: 1.1rem; }
.legal__body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__body a:hover { color: var(--navy); }
.legal__body ul { margin: 0 0 1.1rem 0; padding-left: 0; list-style: none; }
.legal__body li { color: var(--ink-soft); font-weight: 300; padding-left: 1.4rem; position: relative; margin-bottom: .5rem; }
.legal__body li::before { content:""; position:absolute; left:0; top:.7em; width:.6rem; height:1px; background: var(--gold); }
.legal__updated { font-size: var(--step--1); color: var(--ink-faint); margin-top: 2.5rem; font-style: italic; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: #011c38; color: rgba(250,248,243,.7); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(2rem,5vw,4rem); padding-bottom: 2.5rem; border-bottom: 1px solid rgba(211,175,55,.18); }
.footer-logo { height: clamp(48px, 7vw, 64px); width: auto; display: block; }
.footer-tag { font-family: var(--f-display); font-style: italic; color: var(--gold-soft); font-size: var(--step-1); margin-top: 1.2rem; max-width: 30ch; }
.footer-social {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem;
  font-family: var(--f-head); font-size: .8rem; letter-spacing: .04em;
  color: rgba(250,248,243,.72);
}
.footer-social svg { width: 20px; height: 20px; color: var(--gold); transition: transform .3s var(--ease); }
.footer-social:hover { color: var(--gold-soft); }
.footer-social:hover svg { transform: translateY(-2px); }

/* LinkedIn link in the Principal bio */
.profile-link {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.4rem;
  font-family: var(--f-head); font-weight: 600; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-deep);
}
.profile-link svg { width: 18px; height: 18px; color: currentColor; transition: transform .3s var(--ease); }
.profile-link:hover { color: var(--navy); }
.profile-link:hover svg { transform: translateY(-2px); }
.footer-col h4 { font-family: var(--f-head); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col a, .footer-col p { display:block; color: rgba(250,248,243,.72); font-size: var(--step--1); line-height: 2; font-weight: 300; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-legal { padding-top: 2rem; font-size: .76rem; line-height: 1.8; color: rgba(250,248,243,.5); }
.footer-disclaimer { font-size: .74rem; line-height: 1.75; color: rgba(250,248,243,.42); margin-top: 1.2rem; max-width: 110ch; }
.footer-legal .disc { color: rgba(250,248,243,.38); font-style: italic; }
.footer-bottom { margin-top: 1.4rem; display:flex; justify-content: space-between; gap:1rem; flex-wrap: wrap; font-size:.74rem; color: rgba(250,248,243,.45); }
.footer-bottom a { color: rgba(250,248,243,.7); }
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom .sep { opacity: .4; margin: 0 .5rem; }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay:.08s } .reveal[data-delay="2"]{ transition-delay:.16s }
.reveal[data-delay="3"]{ transition-delay:.24s } .reveal[data-delay="4"]{ transition-delay:.32s }
.reveal[data-delay="5"]{ transition-delay:.40s }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 920px) {
  .cols-3 { grid-template-columns: 1fr; gap: 2.5rem; }
  .principal { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    gap: 2rem; background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform .5s var(--ease-out); padding: 2rem;
  }
  .nav-open .nav__links { transform: none; }
  .nav__link { font-size: 1.3rem; }
  .nav__links .btn { font-size: 1rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .values .vlist { gap: 1rem; }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__rule { width: 120px !important; }
}
