/* ==========================================================================
   Ayden Advisory Group — the public site
   --------------------------------------------------------------------------
   Quiet luxury: navy and ivory, a serif that carries the voice, generous
   whitespace, hairline rules, and motion that is felt rather than noticed.

   Order:  tokens · reset · type · layout · header · footer · components ·
           sections · forms · motion · responsive · print
   ========================================================================== */

@import url("fonts.css");

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — carried over from the firm's existing palette and deepened. */
  --ink:            #050e1a;
  --navy:           #00224a;
  --navy-deep:      #000c2a;
  --navy-soft:      #16375e;
  --slate:          #41505f;
  --slate-light:    #6c7b8b;

  --ivory:          #f4f8fb;
  --cream:          #e8f1f8;
  --sand:           #d6e6f2;

  /* The crest is gold, so the accent is brass rather than another blue.
     Two values: the pale one for hairlines and rules, the deep one wherever
     brass carries text and has to clear 4.5:1 against ivory. */
  --champagne:      #c2a05a;
  --brass:          #8a6a1f;
  --azure:          #1a6ca8;   /* interactive only: links, focus, active */
  --azure-bright:   #2b87c9;

  --paper:          #ffffff;
  --line:           rgba(0, 34, 74, 0.13);
  --line-strong:    rgba(0, 34, 74, 0.24);
  --line-invert:    rgba(197, 219, 233, 0.20);

  --ok:             #1c6b4b;
  --warn:           #8a6415;
  --bad:            #a8322f;

  /* Type */
  --serif:  "Cormorant Garamond", Cormorant, ui-serif, Georgia, "Times New Roman", serif;
  --sans:   Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* A fifth-based scale, fluid between 360px and 1440px. */
  /* Capped so that the longest hero line still sits on one line inside the
     text column at every width the two-column hero is used at. */
  --t-display: clamp(2.6rem, 0.4rem + 6.4vw, 5.75rem);
  --t-h1:      clamp(2.4rem, 1.4rem + 4.4vw, 5rem);
  --t-h2:      clamp(2rem, 1.3rem + 3vw, 3.6rem);
  --t-h3:      clamp(1.45rem, 1.15rem + 1.25vw, 2.1rem);
  --t-h4:      clamp(1.15rem, 1.02rem + 0.55vw, 1.4rem);
  --t-lede:    clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  --t-body:    1rem;
  --t-small:   0.875rem;
  --t-eyebrow: 0.6875rem;

  /* Rhythm */
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --shell:     78rem;
  --shell-narrow: 46rem;
  --section:   clamp(4.5rem, 9vw, 9rem);
  --section-sm: clamp(3rem, 6vw, 5.5rem);

  --radius:    2px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(0, 12, 42, .05), 0 6px 16px -10px rgba(0, 12, 42, .14);
  --shadow-md: 0 2px 4px rgba(0, 12, 42, .05), 0 18px 44px -24px rgba(0, 12, 42, .28);
  --shadow-lg: 0 30px 80px -40px rgba(0, 12, 42, .38);

  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --dur:       .55s;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Focus is visible, always, and never removed — it is the only way a keyboard
   user knows where they are. */
:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
  border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

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

.skip-link {
  position: absolute;
  left: 0; top: 0;
  transform: translateY(-120%);
  z-index: 200;
  background: var(--navy);
  color: var(--ivory);
  padding: .85rem 1.4rem;
  font: 500 var(--t-small)/1 var(--sans);
  letter-spacing: .04em;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Type
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -.018em; }
h4 { font-size: var(--t-h4); letter-spacing: -.01em; line-height: 1.25; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: var(--line-strong); text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--azure); }

strong { font-weight: 600; }
em { font-style: italic; }

.serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brass);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin: 0 0 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--champagne);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: var(--t-lede);
  line-height: 1.72;
  color: var(--slate);
  max-width: 44ch;
}
.lede--wide { max-width: 62ch; }

.muted { color: var(--slate-light); }
.small { font-size: var(--t-small); }

.mono {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-light);
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }
.shell--wide   { max-width: 90rem; }

.section { padding-block: var(--section); position: relative; }
.section--sm { padding-block: var(--section-sm); }
.section--tint { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--dark {
  background: linear-gradient(162deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ivory); }
.section--dark .lede, .section--dark p { color: rgba(232, 241, 248, .76); }
.section--dark .eyebrow { color: rgba(197, 219, 233, .72); }
.section--dark .eyebrow::before { background: rgba(194, 160, 90, .6); }
/* Plain links invert on the dark ground. Buttons and arrow links carry their
   own colour and must keep it — :not() here rather than a later override, so
   a new button variant cannot be caught by this rule by accident. */
.section--dark a:not(.btn):not(.arrow-link) { color: var(--ivory); }
.section--dark .arrow-link { color: rgba(232, 241, 248, .82); }
.section--dark .arrow-link:hover { color: var(--champagne); }

.rule { height: 1px; background: var(--line); border: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--split {
  max-width: none;
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
}
.section-head--split .lede { padding-bottom: .4rem; }

.stack > * + * { margin-top: 1.15em; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: .85rem;
  transition: padding .4s var(--ease), background .4s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: .55rem clamp(1rem, 2.2vw, 1.6rem);
  border-radius: 999px;
  background: rgba(244, 248, 251, .82);
  border: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-stuck { padding-block: .5rem; }
.site-header.is-stuck .site-header__inner {
  background: rgba(255, 255, 255, .9);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--navy);
}
.brand__sub {
  font-family: var(--mono);
  font-size: .5625rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-top: .28rem;
}

.nav { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.5rem); margin-left: auto; }
.nav__link {
  position: relative;
  padding: .5rem .2rem;
  font-size: .875rem;
  font-weight: 450;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 1px;
  background: var(--azure);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--navy); }

.nav__divider { width: 1px; height: 1.35rem; background: var(--line); flex: none; }

.nav__auth { display: flex; align-items: center; gap: .9rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; margin-left: auto;
}
.nav-toggle__bars { position: relative; width: 17px; height: 11px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1px;
  background: var(--navy);
  transition: transform .4s var(--ease), opacity .25s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0 0 0 0;
  z-index: 99;
  background: var(--ivory);
  padding: 6.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: -.02em;
  color: var(--navy);
  text-decoration: none;
}
.mobile-nav__list a .mono { font-size: .625rem; }
.mobile-nav__foot { margin-top: 2.5rem; display: grid; gap: .85rem; }
body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--ivory);
  --btn-bd: var(--navy);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1rem 1.9rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease-out);
}
/* The fill sweeps in from the bottom rather than fading: a small piece of
   deliberate motion, once, on hover. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--azure);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { border-color: var(--azure); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ivory); }

.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--navy); --btn-bd: var(--ivory); }
.btn--light:hover, .btn--light:focus-visible { color: var(--ivory); }

.btn--onDark { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(197,219,233,.4); }

.btn--sm { padding: .7rem 1.25rem; font-size: .625rem; letter-spacing: .15em; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn--danger { --btn-bg: transparent; --btn-fg: var(--bad); --btn-bd: rgba(168,50,47,.35); }
.btn--danger::before { background: var(--bad); }
.btn--danger:hover, .btn--danger:focus-visible { color: #fff; border-color: var(--bad); }

/* A text link that moves its arrow, not its whole self. */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
}
.arrow-link__line {
  display: inline-block;
  width: 1.5rem; height: 1px;
  background: currentColor;
  transition: width .45s var(--ease-out);
}
.arrow-link:hover { color: var(--azure); }
.arrow-link:hover .arrow-link__line { width: 2.5rem; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::after {
  /* A whisper of a grid, not a pattern. */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,34,74,.14) 1px, transparent 0);
  background-size: 34px 34px;
  opacity: .5;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 20%, #000, transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
}
.hero__title {
  font-size: var(--t-display);
  line-height: .96;
  letter-spacing: -.035em;
  margin-bottom: 1.6rem;
}
.hero__title span { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }

.hero__figure { position: relative; }

/* Laid out in flow rather than by absolute positioning. An earlier version
   pinned the mark to the top and the caption to the bottom, which collided on a
   phone as soon as the panel became short. A column that grows with its
   contents cannot overlap itself at any width. */
.hero__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: clamp(21rem, 34vw, 30rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(162deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px solid var(--line-invert);
  border-radius: 2px;
  pointer-events: none;
}
.hero__frame > * { position: relative; z-index: 1; }

.hero__frame-caption {
  margin-top: auto;      /* sits at the foot however tall the panel grows */
  margin-bottom: 0;
  color: rgba(232,241,248,.88);
  font-family: var(--serif);
  font-size: clamp(1.15rem, .9rem + .7vw, 1.5rem);
  line-height: 1.32;
  font-style: italic;
  text-wrap: balance;
}
.hero__frame-mark {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(194,160,90,.85);
}

/* The crest, very large and very faint, as the panel's ground. */
.hero__frame-crest {
  position: absolute;
  right: -2.5rem;
  top: 50%;
  transform: translateY(-52%);
  color: rgba(194, 160, 90, .1);
  pointer-events: none;
}

/* A short register of terms, set as a definition list so it reads correctly
   to a screen reader as well as to the eye. */
.hero__frame-list {
  margin: 0;
  display: grid;
  gap: 0;
}
.hero__frame-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-invert);
}
.hero__frame-list dt {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(197, 219, 233, .5);
}
.hero__frame-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(232, 241, 248, .9);
  text-align: right;
}

/* --------------------------------------------------------------------------
   8. Figures strip
   -------------------------------------------------------------------------- */
.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.figures__item { padding: clamp(1.5rem, 3vw, 2.4rem) clamp(.75rem, 2vw, 1.75rem); }
.figures__item + .figures__item { border-left: 1px solid var(--line); }
.figures__value {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--navy);
  display: block;
}
.figures__label {
  display: block;
  margin-top: .7rem;
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.figures__note {
  margin-top: 1.5rem;
  font-size: .75rem;
  line-height: 1.6;
  color: var(--slate-light);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   9. Cards and lists
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease-out);
}
.card--link { text-decoration: none; display: block; color: inherit; }
.card--link:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Practice — a hairline register rather than a deck of boxes. */
.practice-list { border-top: 1px solid var(--line); }
.practice-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.25fr) 8rem;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding-left .5s var(--ease-out);
}
.practice-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--azure);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease-out);
}
.practice-row:hover { padding-left: 1.5rem; }
.practice-row:hover::before { transform: scaleY(1); }
.practice-row__num {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .18em;
  color: var(--brass);
  padding-top: .55rem;
}
.practice-row__title { font-size: var(--t-h3); margin: 0; }
.practice-row__lede { color: var(--slate); font-size: .9375rem; line-height: 1.7; margin: 0; }
.practice-row__cta { padding-top: .4rem; justify-self: end; }

/* Mandates */
.mandate {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  height: 100%;
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease-out);
}
.mandate:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mandate__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--line);
}
.mandate__metric {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--navy);
  margin: 1.5rem 0 .4rem;
}
.mandate__summary { color: var(--slate); font-size: .9375rem; line-height: 1.72; margin-top: 1rem; }

/* Journal */
.journal-item {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 8rem;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left .5s var(--ease-out);
}
.journal-item:hover { padding-left: 1.25rem; }
.journal-item:first-of-type { border-top: 1px solid var(--line); }
.journal-item__title { font-size: var(--t-h3); margin: 0 0 .5rem; }
.journal-item__stand { color: var(--slate); font-size: .9375rem; line-height: 1.7; margin: 0; }
.journal-item__cta { justify-self: end; padding-top: .35rem; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

/* Text beside the plate. The plate is the narrower column so the reading
   measure stays comfortable. */
.about-split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
}

/* A mission or vision statement: a small label, then the sentence itself set
   in the serif so it reads as a statement rather than as body copy. */
.statement { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.statement:last-of-type { border-bottom: 1px solid var(--line); }
.statement__label {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 .7rem;
}
.statement__text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem);
  line-height: 1.42;
  letter-spacing: -.015em;
  color: var(--navy);
  margin: 0;
  max-width: 34ch;
}

/* The image plate. aspect-ratio with object-fit means a photograph dropped in
   later at any size crops to the same shape rather than changing the layout. */
.plate {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
}
.plate img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.plate::after {
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px solid var(--line-invert);
  border-radius: 2px;
  pointer-events: none;
}
.plate__caption {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2rem);
  right: clamp(1.25rem, 3vw, 2rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem);
  line-height: 1.34;
  color: rgba(232, 241, 248, .9);
  text-shadow: 0 1px 24px rgba(0, 12, 42, .75);
}

/* Core values */
.value-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  height: 100%;
}
.value-card__n {
  display: block;
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .2em;
  color: var(--brass);
  margin-bottom: 1.1rem;
}
.value-card h3 { font-size: var(--t-h4); margin-bottom: .65rem; }
.value-card p { color: var(--slate); font-size: .9375rem; line-height: 1.75; margin: 0; }

/* Advisory expertise — a hairline register, like the practice list but tighter */
.expertise { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.expertise li { border-bottom: 1px solid var(--line); }
.expertise a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(.75rem, 2vw, 2rem);
  align-items: baseline;
  padding: 1.35rem 0;
  text-decoration: none;
  color: inherit;
  transition: padding-left .45s var(--ease-out);
}
.expertise a:hover { padding-left: 1rem; }
.expertise__n {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .18em;
  color: var(--brass);
}
.expertise__title {
  font-family: var(--serif);
  font-size: var(--t-h4);
  letter-spacing: -.015em;
  color: var(--navy);
}
.expertise__lede { color: var(--slate); font-size: .9375rem; line-height: 1.7; }

/* Principles */
.principle { padding-top: 1.75rem; border-top: 1px solid var(--line); }
.principle__n {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .2em;
  color: var(--brass);
  display: block;
  margin-bottom: 1.1rem;
}
.principle h3 { font-size: var(--t-h4); margin-bottom: .6rem; }
.principle p { color: var(--slate); font-size: .9375rem; line-height: 1.72; }

/* Timeline */
.timeline { display: grid; gap: 0; }
.timeline__row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.timeline__row:last-child { border-bottom: 1px solid var(--line); }
.timeline__year {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -.02em;
  color: var(--brass);
  line-height: 1;
  padding-top: .1rem;
}
.timeline__title { font-family: var(--mono); font-size: var(--t-eyebrow); letter-spacing: .2em;
  text-transform: uppercase; color: var(--slate-light); margin: 0 0 .55rem; }
.timeline__body { margin: 0; color: var(--slate); font-size: .9375rem; }

/* Process */
.process { counter-reset: step; }
.process__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  border-top: 1px solid var(--line-invert);
}
.process__row:last-child { border-bottom: 1px solid var(--line-invert); }
.process__step {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--champagne);
  line-height: 1;
  padding-top: .15rem;
}
.process__title { font-size: var(--t-h4); margin: 0 0 .5rem; }

/* Client types */
.client-types { display: flex; flex-wrap: wrap; gap: .5rem 0; list-style: none; margin: 0; padding: 0; }
.client-types li {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  padding-right: 1.4rem;
  margin-right: 1.4rem;
  border-right: 1px solid var(--line);
  line-height: 1.5;
}
.client-types li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

/* Pull quote */
.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -.02em;
  color: var(--navy);
  border-left: 1px solid var(--champagne);
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  margin: clamp(2rem, 4vw, 3rem) 0;
  max-width: 34ch;
}

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: var(--t-h4);
  letter-spacing: -.01em;
  color: var(--navy);
}
.accordion__icon { position: relative; width: 14px; height: 14px; flex: none; margin-top: .45rem; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; background: var(--azure); transition: transform .4s var(--ease-out);
}
.accordion__icon::before { top: 6px; left: 0; width: 14px; height: 1px; }
.accordion__icon::after  { left: 6px; top: 0; width: 1px; height: 14px; }
.accordion__q[aria-expanded="true"] .accordion__icon::after { transform: scaleY(0); }
.accordion__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.accordion__a > div { overflow: hidden; }
.accordion__item.is-open .accordion__a { grid-template-rows: 1fr; }
.accordion__a p { color: var(--slate); max-width: 62ch; padding-bottom: 1.6rem; margin: 0; }

/* Article body */
.article-body { max-width: 38rem; }
.article-body h2 {
  font-size: var(--t-h3);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: .9rem;
}
.article-body p { font-size: 1.0625rem; line-height: 1.78; color: var(--slate); }
.article-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.6em;
  line-height: .78;
  padding: .06em .1em 0 0;
  color: var(--navy);
}
.article-body ul { padding-left: 1.1rem; margin: 0 0 1.4em; }
.article-body li { margin-bottom: .7em; color: var(--slate); line-height: 1.75; }
.article-body li::marker { color: var(--champagne); }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Tag */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate-light);
  white-space: nowrap;
}
.tag--ok   { color: var(--ok);   border-color: rgba(28,107,75,.3);  background: rgba(28,107,75,.06); }
.tag--warn { color: var(--warn); border-color: rgba(138,100,21,.3); background: rgba(138,100,21,.06); }
.tag--bad  { color: var(--bad);  border-color: rgba(168,50,47,.3);  background: rgba(168,50,47,.06); }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: 1.6rem; }
.field__label {
  display: block;
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: .6rem;
}
.field__label .req { color: var(--azure); }

.input, .select, .textarea {
  width: 100%;
  padding: .95rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .35s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--slate-light); opacity: .65; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-bottom-color: var(--azure);
  box-shadow: 0 1px 0 0 var(--azure);
}
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; }
.textarea { resize: vertical; min-height: 7rem; line-height: 1.7; }
.select {
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2341505f' stroke-width='1.2'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .35rem center;
  cursor: pointer;
}
.field--boxed .input, .field--boxed .select, .field--boxed .textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: .8rem .9rem;
  background: var(--paper);
}
.field--boxed .input:focus, .field--boxed .select:focus, .field--boxed .textarea:focus {
  border-color: var(--azure); box-shadow: 0 0 0 3px rgba(26,108,168,.12);
}

.field__error {
  display: block;
  margin-top: .5rem;
  font-size: var(--t-small);
  color: var(--bad);
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-bottom-color: var(--bad); }
.field__hint { display: block; margin-top: .5rem; font-size: var(--t-small); color: var(--slate-light); }

.check {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  margin-bottom: 1.1rem;
  cursor: pointer;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--slate);
}
.check input {
  appearance: none;
  width: 1.15rem; height: 1.15rem;
  margin: .2rem 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  position: relative;
  flex: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid var(--ivory);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}
.check input:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; }

.form-grid { display: grid; gap: 0 clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid--full { grid-column: 1 / -1; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Flash and inline messages */
.flash {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-left-width: 2px;
  border-radius: var(--radius);
  background: var(--paper);
  font-size: .9375rem;
  margin-bottom: 1.75rem;
}
.flash--success { border-left-color: var(--ok);   color: var(--ok); }
.flash--notice  { border-left-color: var(--azure);color: var(--navy); }
.flash--error   { border-left-color: var(--bad);  color: var(--bad); }
.flash__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-top: .55rem; flex: none; }
.flash p { color: inherit; margin: 0; }

.notice-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: .9375rem;
  color: var(--slate);
}
.notice-box h4 { margin-bottom: .5rem; }

/* The NDA panel on the registration page */
.legal-scroll {
  max-height: 20rem;
  overflow-y: auto;
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: .875rem;
  line-height: 1.7;
  color: var(--slate);
  scrollbar-width: thin;
}
.legal-scroll h4 {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.5rem 0 .6rem;
}
.legal-scroll h4:first-child { margin-top: 0; }
.legal-scroll p { margin-bottom: .9em; }

/* --------------------------------------------------------------------------
   11. Legal pages
   -------------------------------------------------------------------------- */
.legal-body { max-width: 42rem; }
.legal-body h2 { font-size: var(--t-h3); margin-top: clamp(2.25rem, 4vw, 3rem); margin-bottom: .75rem; }
.legal-body h3 { font-size: var(--t-h4); margin-top: 2rem; margin-bottom: .55rem; }
.legal-body p, .legal-body li { color: var(--slate); font-size: .9688rem; line-height: 1.78; }
.legal-body ul { padding-left: 1.1rem; }
.legal-body li { margin-bottom: .6em; }
.legal-body li::marker { color: var(--champagne); }
.legal-body dl { margin: 0; }
.legal-body dt { font-weight: 600; color: var(--navy); margin-top: 1.1rem; }
.legal-body dd { margin: .25rem 0 0; color: var(--slate); }

.toc {
  position: sticky;
  top: 7rem;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin-bottom: .7rem; }
.toc a { font-size: .875rem; color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--azure); }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(162deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(232, 241, 248, .72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: .9375rem;
}
.site-footer a { color: rgba(232,241,248,.72); text-decoration: none; transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--ivory); }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.footer__brand .brand__name { color: var(--ivory); }
.footer__brand .brand__sub { color: rgba(197,219,233,.55); }
.footer__blurb { max-width: 34ch; line-height: 1.75; }

.footer__col h3 {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(194,160,90,.8);
  margin-bottom: 1.2rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: .65rem; }

.footer__legalnote {
  border-top: 1px solid var(--line-invert);
  padding-top: 2rem;
  font-size: .75rem;
  line-height: 1.75;
  color: rgba(197,219,233,.5);
  max-width: 78ch;
}
.footer__legalnote strong { color: rgba(232,241,248,.8); font-weight: 500; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid var(--line-invert);
  margin-top: 2rem;
  padding-top: 1.6rem;
  font-size: .8125rem;
  color: rgba(197,219,233,.5);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* --------------------------------------------------------------------------
   13. Motion
   --------------------------------------------------------------------------
   One idea, applied sparingly: content arrives from just below as it enters
   the viewport. Anything more would be decoration.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .about-split { grid-template-columns: 1fr; }
  .plate { max-width: 30rem; }
  .expertise a { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .expertise__lede { grid-column: 2 / -1; }
  .nav, .nav__auth { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 30rem; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-row { grid-template-columns: 3.5rem minmax(0, 1fr) 7rem; }
  .practice-row__lede { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .plate { max-width: none; }
  .expertise a { grid-template-columns: 1fr; gap: .5rem; padding-left: 0 !important; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures__item:nth-child(3), .figures__item:nth-child(4) { border-top: 1px solid var(--line); }
  .figures__item:nth-child(3) { border-left: 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .practice-row { grid-template-columns: 1fr; gap: .75rem; padding-left: 0 !important; }
  .practice-row__num { padding-top: 0; }
  .practice-row__cta { justify-self: start; padding-top: .5rem; }
  .journal-item { grid-template-columns: 1fr; gap: .75rem; padding-left: 0 !important; }
  .journal-item__cta { justify-self: start; }
  .timeline__row, .process__row { grid-template-columns: 1fr; gap: .6rem; }
  .footer__top { grid-template-columns: 1fr; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.3rem; }
  .pullquote { max-width: none; }
  .btn { padding: .95rem 1.5rem; }
}

@media (max-width: 420px) {
  .eyebrow { letter-spacing: .18em; }
  .eyebrow::before { width: 1.25rem; }
  .figures { grid-template-columns: 1fr; }
  .figures__item + .figures__item { border-left: 0; border-top: 1px solid var(--line); }
  .client-types li { border-right: 0; margin-right: 1rem; padding-right: 0; }
}

/* --------------------------------------------------------------------------
   15. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-nav, .btn, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  .reveal { opacity: 1; transform: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
