/* ============================================================================
   The Psychology of Treasury — public site design system.
   Editorial rebrand: navy / gold, Playfair Display + Inter + DM Mono.
   Serious professional-publishing register (FT / Economist), not a tech-company look.
   ============================================================================ */

/* =====================  FONTS (self-hosted)  =====================
   The ONLY stylesheet the site loads is this file. Fonts are served from /assets/fonts/ (Latin +
   Latin-ext subsets of the Google Fonts builds) so there is no second, external stylesheet and no
   third-party request. The *Fallback families are metric-matched system fonts (size-adjust /
   ascent-override computed against Liberation, which is metric-compatible with Arial / Times /
   Courier New): text set in them occupies the same space as the web font, so when the web font
   arrives nothing reflows — no layout shift ("bump") on load. */
@font-face { font-family:'DM Mono'; font-style:normal; font-weight:400; font-display:swap;
  src:url('/assets/fonts/dm-mono-400-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:'DM Mono'; font-style:normal; font-weight:400; font-display:swap;
  src:url('/assets/fonts/dm-mono-400-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:'DM Mono'; font-style:normal; font-weight:500; font-display:swap;
  src:url('/assets/fonts/dm-mono-500-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:'DM Mono'; font-style:normal; font-weight:500; font-display:swap;
  src:url('/assets/fonts/dm-mono-500-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:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url('/assets/fonts/inter-400-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:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url('/assets/fonts/inter-400-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:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url('/assets/fonts/inter-500-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:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url('/assets/fonts/inter-500-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:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url('/assets/fonts/inter-600-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:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url('/assets/fonts/inter-600-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:'Inter'; font-style:normal; font-weight:700; font-display:swap;
  src:url('/assets/fonts/inter-700-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:'Inter'; font-style:normal; font-weight:700; font-display:swap;
  src:url('/assets/fonts/inter-700-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:'Playfair Display'; font-style:normal; font-weight:600; font-display:swap;
  src:url('/assets/fonts/playfair-display-600-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:'Playfair Display'; font-style:normal; font-weight:600; font-display:swap;
  src:url('/assets/fonts/playfair-display-600-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:'Playfair Display'; font-style:normal; font-weight:700; font-display:swap;
  src:url('/assets/fonts/playfair-display-700-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:'Playfair Display'; font-style:normal; font-weight:700; font-display:swap;
  src:url('/assets/fonts/playfair-display-700-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:'Playfair Display'; font-style:normal; font-weight:800; font-display:swap;
  src:url('/assets/fonts/playfair-display-800-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:'Playfair Display'; font-style:normal; font-weight:800; font-display:swap;
  src:url('/assets/fonts/playfair-display-800-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:'Inter Fallback'; src:local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust:107.16%; ascent-override:90.40%; descent-override:22.51%; line-gap-override:0%; }
@font-face { font-family:'Playfair Fallback'; src:local('Times New Roman'), local('Liberation Serif'), local('Times');
  size-adjust:104.46%; ascent-override:103.58%; descent-override:24.03%; line-gap-override:0%; }
@font-face { font-family:'DM Mono Fallback'; src:local('Courier New'), local('Liberation Mono'), local('Courier');
  size-adjust:99.98%; ascent-override:99.22%; descent-override:31.01%; line-gap-override:0%; }

:root {
  /* Primary */
  --navy:#1A2E4A;        /* headings, header, primary surfaces */
  --navy-deep:#12203A;   /* gradient bottom / deep bands */
  --navy-ink:#142338;    /* darkest */
  --gold:#C9A84C;        /* CTAs, dividers, pull quotes, volume numbers */
  --gold-dark:#B0913A;   /* gold hover */
  --gold-soft:rgba(201,168,76,0.14);
  --white:#FAFAFA;       /* warm page background */

  /* Secondary */
  --slate:#4A5568;       /* body text */
  --slate-light:#6B7688;
  --lightblue:#EFF6FF;   /* section backgrounds for variety */
  --teal:#2C7873;        /* series accent (Vol 6) + interactive */

  --ink:#1F2733;
  --hairline:#E3E1D9;
  --hairline-cool:#DDE3EC;
  --on-navy:#C6D2E2;     /* body text on navy */
  --on-navy-dim:#8FA1B8;

  --font-head:'Playfair Display', 'Playfair Fallback', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:'DM Mono', 'DM Mono Fallback', ui-monospace, 'Courier New', monospace;

  --maxw:1200px;
  --radius:12px;
  --radius-sm:8px;
  --shadow:0 10px 30px rgba(26,46,74,0.12);
  --shadow-soft:0 4px 16px rgba(26,46,74,0.08);
  --nav-h:80px;

  /* volume accents */
  --v1:#C9A84C; --v2:#2C7873; --v3:#1A2E4A; --v4:#7B4FA0; --v5:#A6402F; --v6:#2C7873;
}

* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:var(--font-body);
  background:var(--white);
  color:var(--slate);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img { max-width:100%; display:block; }
a { color:var(--navy); text-decoration:none; }
a:hover { color:var(--gold-dark); }

h1,h2,h3,h4 { font-family:var(--font-head); color:var(--navy); line-height:1.15; font-weight:700; }
h1 { font-size:clamp(40px,6vw,68px); font-weight:800; letter-spacing:-0.01em; }
h2 { font-size:clamp(30px,4.2vw,42px); }
h3 { font-size:24px; }

.container { max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.mono { font-family:var(--font-mono); }

/* eyebrow / kicker */
.eyebrow {
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--gold-dark); font-weight:500; margin-bottom:16px;
}
.on-dark .eyebrow, .sec-navy .eyebrow, .sec-navy-deep .eyebrow, .hero .eyebrow { color:var(--gold); }

.lead { font-size:19px; color:var(--slate); line-height:1.7; max-width:680px; }
.sec-navy .lead, .sec-navy-deep .lead, .hero .lead { color:var(--on-navy); }
.muted { color:var(--slate-light); }

/* ---- skip link ---- */
.skip-link {
  position:absolute; left:-999px; top:0; background:var(--gold); color:var(--navy);
  padding:10px 16px; font-weight:700; z-index:300; border-radius:0 0 6px 0;
}
.skip-link:focus { left:0; }

/* =====================  HEADER / NAV  ===================== */
.site-nav {
  background:var(--navy); position:sticky; top:0; z-index:200;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.site-nav-inner {
  max-width:var(--maxw); margin:0 auto; padding:0 28px; min-height:var(--nav-h);
  display:flex; align-items:center; gap:20px;
}
.brand { color:#fff; margin-right:auto; display:flex; flex-direction:column; justify-content:center; line-height:1.05; }
.brand .series { font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold); margin-bottom:2px; }
.brand .wordmark { font-family:var(--font-head); font-size:clamp(26px, 3.4vw, 32px); font-weight:700; color:#fff; line-height:1.05; }
.brand:hover .wordmark { color:var(--gold); }

.nav-menu { display:flex; align-items:center; gap:4px; list-style:none; }
.nav-menu > li { position:relative; }
.nav-menu > li > a, .nav-menu > li > button {
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-body); font-size:14.5px; font-weight:500; color:var(--on-navy);
  background:none; border:0; cursor:pointer; padding:10px 12px; border-radius:6px;
  text-decoration:none; transition:color .15s, background .15s;
}
.nav-menu > li > a:hover, .nav-menu > li > button:hover,
.nav-menu > li.open > button { color:#fff; background:rgba(255,255,255,0.06); }
.nav-menu > li > a[aria-current="page"] { color:var(--gold); }
.nav-menu .caret { font-size:10px; opacity:0.8; transition:transform .2s; }
.nav-menu > li.open .caret { transform:rotate(180deg); }

/* dropdowns */
.dropdown {
  position:absolute; top:calc(100% + 6px); left:0; min-width:260px;
  background:#fff; border:1px solid var(--hairline-cool); border-radius:var(--radius-sm);
  box-shadow:var(--shadow); padding:8px; list-style:none;
  opacity:0; visibility:hidden; transform:translateY(6px); transition:opacity .16s, transform .16s, visibility .16s;
}
.nav-menu > li:hover .dropdown, .nav-menu > li.open .dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a {
  display:block; padding:10px 12px; border-radius:6px; font-size:14px; color:var(--navy);
  font-weight:500;
}
.dropdown a small { display:block; font-weight:400; color:var(--slate-light); font-size:12px; margin-top:2px; }
.dropdown a:hover { background:var(--lightblue); color:var(--navy); }

.nav-signin { color:#fff !important; font-size:14px; font-weight:500; padding:10px 12px; }
.nav-signin:hover { color:var(--gold) !important; }

.nav-toggle { display:none; background:none; border:0; color:#fff; font-size:26px; cursor:pointer; padding:6px 8px; line-height:1; }

/* =====================  BUTTONS  ===================== */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:15px; line-height:1.2;
  padding:13px 26px; border-radius:var(--radius-sm); border:2px solid transparent;
  cursor:pointer; text-align:center; transition:transform .12s, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform:translateY(-2px); }
.btn-gold { background:var(--gold); color:var(--navy); border-color:var(--gold); }
.btn-gold:hover { background:var(--gold-dark); border-color:var(--gold-dark); color:var(--navy); }
.btn-navy { background:var(--navy); color:#fff; border-color:var(--navy); }
.btn-navy:hover { background:var(--navy-deep); color:#fff; }
.btn-outline { background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-outline:hover { background:var(--navy); color:#fff; }
.btn-ghost { background:transparent; color:#fff; border-color:rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color:#fff; background:rgba(255,255,255,0.08); }
.btn-sm { padding:9px 18px; font-size:13.5px; }
.btn-lg { padding:16px 34px; font-size:16.5px; }
.nav-start { padding:10px 20px; }
.btn-row { display:flex; gap:14px; flex-wrap:wrap; }

/* =====================  SECTIONS  ===================== */
.sec { padding:84px 0; }
.sec-sm { padding:56px 0; }
.sec-white { background:var(--white); }
.sec-lightblue { background:var(--lightblue); }
.sec-navy { background:var(--navy); color:var(--on-navy); }
.sec-navy-deep { background:var(--navy-deep); color:var(--on-navy); }
.sec-navy h1,.sec-navy h2,.sec-navy h3,.sec-navy-deep h1,.sec-navy-deep h2,.sec-navy-deep h3 { color:#fff; }
.sec-head { max-width:760px; margin-bottom:48px; }
.sec-head.center { margin-left:auto; margin-right:auto; text-align:center; }
.divider-gold { width:64px; height:3px; background:var(--gold); border:0; margin:0 0 22px; }
.center .divider-gold { margin-left:auto; margin-right:auto; }

/* =====================  HERO  ===================== */
.hero {
  background:linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:#fff; position:relative; overflow:hidden;
}
.hero::before {
  content:""; position:absolute; width:520px; height:520px; border-radius:50%;
  top:-160px; right:-120px; filter:blur(70px); z-index:0;
  background:radial-gradient(circle, rgba(201,168,76,0.22) 0%, transparent 70%);
  animation:drift 24s ease-in-out infinite;
}
.hero .container { position:relative; z-index:1; padding-top:84px; padding-bottom:84px; }
.hero-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:56px; align-items:center; }
.hero h1 { color:#fff; margin-bottom:22px; }
.hero .hero-sub { font-size:20px; color:var(--on-navy); line-height:1.6; max-width:620px; margin-bottom:34px; }
.hero .hero-sub em { color:var(--gold); font-style:italic; }
.hero-photo {
  border-radius:var(--radius); overflow:hidden; border:1px solid rgba(255,255,255,0.12);
  box-shadow:var(--shadow); aspect-ratio:4/5; background:linear-gradient(160deg,#22385a,#16273f);
  display:flex; align-items:center; justify-content:center; color:var(--on-navy-dim);
  font-family:var(--font-mono); font-size:13px; text-align:center; padding:20px;
}

/* =====================  CARDS / GRID  ===================== */
.grid { display:grid; gap:26px; }
.grid-2 { grid-template-columns:repeat(2,1fr); }
.grid-3 { grid-template-columns:repeat(3,1fr); }
.card {
  background:#fff; border:1px solid var(--hairline); border-radius:var(--radius);
  padding:30px; box-shadow:var(--shadow-soft); display:flex; flex-direction:column;
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.card-link { text-decoration:none; color:inherit; }
.card-link:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--gold); }
.card .card-icon {
  width:52px; height:52px; border-radius:12px; background:var(--gold-soft); color:var(--gold-dark);
  display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:18px;
}
.card h3 { margin-bottom:10px; }
.card p { font-size:15.5px; color:var(--slate); }
.card .card-more { margin-top:auto; padding-top:16px; color:var(--gold-dark); font-weight:600; font-size:14px; }

/* label / tag */
.tag { display:inline-block; font-family:var(--font-mono); font-size:11px; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--slate); background:var(--lightblue); border:1px solid var(--hairline-cool);
  padding:4px 10px; border-radius:20px; }

/* =====================  BOOK SHELF  ===================== */
.shelf { display:grid; grid-template-columns:repeat(6,1fr); gap:18px; align-items:end; }
.book { text-decoration:none; color:inherit; display:block; }
.book .cover {
  aspect-ratio:2/3; border-radius:4px 8px 8px 4px; position:relative; overflow:hidden;
  box-shadow:-6px 8px 20px rgba(26,46,74,0.28); border-left:6px solid rgba(0,0,0,0.22);
  display:flex; flex-direction:column; justify-content:space-between; padding:16px 14px;
  color:#fff; transition:transform .22s, box-shadow .22s;
}
.book:hover .cover { transform:translateY(-8px) rotate(-1deg); box-shadow:-8px 14px 28px rgba(26,46,74,0.38); }
.book .cover .v-num { font-family:var(--font-mono); font-size:12px; letter-spacing:0.1em; opacity:0.85; }
.book .cover .v-title { font-family:var(--font-head); font-weight:700; font-size:16px; line-height:1.2; }
.book .v-caption { margin-top:12px; font-size:12.5px; color:var(--slate); text-align:center; }

/* =====================  PRICING  ===================== */
.pricing { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.tier {
  background:#fff; border:1px solid var(--hairline); border-radius:var(--radius); padding:30px;
  display:flex; flex-direction:column;
}
.tier.featured { border:2px solid var(--gold); box-shadow:var(--shadow); position:relative; }
.tier.featured::before {
  content:"Most popular"; position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--gold); color:var(--navy); font-family:var(--font-mono); font-size:11px;
  letter-spacing:0.08em; text-transform:uppercase; padding:4px 12px; border-radius:20px;
}
.tier h3 { margin-bottom:6px; }
.tier .price { font-family:var(--font-head); font-size:38px; color:var(--navy); font-weight:800; margin:10px 0 4px; }
.tier .price small { font-family:var(--font-body); font-size:14px; color:var(--slate-light); font-weight:400; }
.tier ul { list-style:none; margin:18px 0 24px; }
.tier li { font-size:14.5px; padding:8px 0 8px 26px; position:relative; border-bottom:1px solid var(--hairline); }
.tier li::before { content:"✓"; position:absolute; left:0; color:var(--teal); font-weight:700; }
.tier .btn { margin-top:auto; }

/* =====================  FORMS / EMAIL CAPTURE  ===================== */
.form { display:grid; gap:14px; }
.form-row { display:grid; gap:14px; grid-template-columns:1fr 1fr; }
.field label { display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:6px; }
.field input, .field select, .field textarea {
  width:100%; padding:13px 15px; border:1px solid var(--hairline-cool); border-radius:var(--radius-sm);
  font-family:var(--font-body); font-size:16px; color:var(--ink); background:#fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px var(--gold-soft);
}
.field input:disabled { background:#f2f2ee; cursor:not-allowed; }
.capture {
  background:#fff; border:1px solid var(--hairline); border-radius:var(--radius); padding:28px;
  box-shadow:var(--shadow-soft); max-width:520px;
}
.capture.inline { display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; }
.capture.inline .field { flex:1 1 160px; margin:0; }
.form-note { font-size:12.5px; color:var(--slate-light); }
.form-msg { font-size:14px; margin-top:6px; }
.form-msg.ok { color:var(--teal); font-weight:600; }
.form-msg.err { color:#A6402F; font-weight:600; }

/* =====================  QUOTES / CALLOUT  ===================== */
.pullquote { border-left:3px solid var(--gold); padding:8px 0 8px 22px; }
.pullquote p { font-family:var(--font-head); font-size:21px; font-style:italic; color:var(--navy); line-height:1.4; }
.sec-navy .pullquote p { color:#fff; }
.pullquote cite { display:block; margin-top:12px; font-style:normal; font-family:var(--font-mono); font-size:12.5px; color:var(--slate-light); letter-spacing:0.03em; }
.sec-navy .pullquote cite { color:var(--on-navy-dim); }
.callout { border-left:4px solid var(--gold); background:var(--gold-soft); padding:18px 22px; border-radius:0 10px 10px 0; font-size:14.5px; color:var(--ink); }
.callout strong { color:var(--gold-dark); }
.callout.on-dark { background:rgba(255,255,255,0.06); color:var(--on-navy); }
.callout.on-dark strong { color:var(--gold); }

/* logo strip (institutions) */
.logo-strip { display:flex; flex-wrap:wrap; gap:14px 34px; align-items:center; justify-content:center; }
.logo-strip span {
  font-family:var(--font-head); font-size:19px; color:var(--slate-light); font-weight:700; opacity:0.85;
}

/* media placeholder (photos / screenshots / video) */
.media-ph {
  border:1px dashed var(--hairline-cool); border-radius:var(--radius); background:var(--lightblue);
  display:flex; align-items:center; justify-content:center; text-align:center; padding:28px;
  color:var(--slate-light); font-family:var(--font-mono); font-size:12.5px; min-height:180px;
}

/* =====================  FOOTER  ===================== */
.site-footer { background:var(--navy-ink); color:var(--on-navy-dim); padding:64px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:34px; }
.footer-brand .wordmark { font-family:var(--font-head); font-size:22px; color:#fff; margin-bottom:12px; }
.footer-brand p { font-size:13.5px; line-height:1.65; max-width:300px; }
.footer-col h4 { font-family:var(--font-mono); font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; font-weight:500; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:10px; }
.footer-col a { color:var(--on-navy-dim); font-size:13.5px; }
.footer-col a:hover { color:#fff; }
.footer-legal {
  margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,0.1);
  font-size:12px; color:var(--on-navy-dim); line-height:1.7;
}
.footer-legal a { color:var(--on-navy-dim); text-decoration:underline; }

/* =====================  ANIMATION  =====================
   No entrance animation on page load: the former .reveal slide-up made every page visibly shift
   after first paint. The .reveal / .reveal-N classes remain in the templates as inert hooks. */
@keyframes drift { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,30px) scale(1.12)} }

/* =====================  RESPONSIVE  ===================== */
@media (max-width:960px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-photo { max-width:360px; }
  .grid-3, .pricing { grid-template-columns:1fr; }
  .shelf { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:760px) {
  .nav-toggle { display:block; }
  .nav-menu {
    position:absolute; top:var(--nav-h); left:0; right:0; background:var(--navy);
    flex-direction:column; align-items:stretch; gap:0; padding:8px 20px 20px;
    border-bottom:1px solid rgba(255,255,255,0.1); display:none;
  }
  .nav-menu.open { display:flex; }
  .nav-menu > li { width:100%; }
  .nav-menu > li > a, .nav-menu > li > button { width:100%; justify-content:space-between; padding:13px 8px; }
  .dropdown { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none;
    border:0; background:rgba(255,255,255,0.04); display:none; padding:4px 0 4px 14px; }
  .nav-menu > li.open .dropdown { display:block; }
  .dropdown a { color:var(--on-navy); }
  .dropdown a:hover { background:rgba(255,255,255,0.06); color:#fff; }
  .dropdown a small { color:var(--on-navy-dim); }
  .nav-start { align-self:flex-start; margin-top:8px; }
  .grid-2, .form-row { grid-template-columns:1fr; }
  .shelf { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr; }
  .sec { padding:56px 0; }
}

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

/* =====================  TOOL POPOUT (templates/tool.html)  ===================== */
.tool-page { background:var(--white); }
.tool-topbar { background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:12px 22px; position:sticky; top:0; z-index:50; }
.tool-topbar .tt-brand { font-family:var(--font-head); font-weight:700; font-size:16px; color:#fff; text-decoration:none; }
.tool-topbar .tt-links { display:flex; align-items:center; gap:18px; }
.tool-topbar .tt-badge { font-family:var(--font-mono); font-size:11px; color:var(--gold); letter-spacing:0.08em; }
.tool-topbar .tt-account { color:var(--gold); font-size:13px; text-decoration:none; }
.tool-topbar .tt-signout { color:rgba(255,255,255,0.75); font-size:13px; text-decoration:none; }
.tool-frame { width:100%; height:calc(100vh - 49px); border:0; display:block; }
.tool-wrap { max-width:1100px; margin:0 auto; padding:26px 22px 60px; }
.tool-wrap h1 { font-size:30px; margin-bottom:6px; }
.tool-disclaimer { font-family:var(--font-mono); font-size:12px; color:var(--slate-light); margin-bottom:22px; }

/* ============================================================
   In-tool feedback widget (assets/feedback.js)
   Fixed-position so it floats above the tool iframe on the
   volume pages and the gated tool popout.
   ============================================================ */
.fb-fab {
  position:fixed; right:22px; bottom:22px; z-index:900;
  width:52px; height:52px; border-radius:50%; border:0; cursor:pointer;
  background:var(--navy); color:var(--gold);
  font-family:var(--font-head); font-size:24px; font-weight:700; line-height:1;
  box-shadow:0 6px 20px rgba(26,46,74,0.34);
  transition:transform .16s ease, background .16s ease;
}
.fb-fab:hover { background:var(--navy-deep); transform:translateY(-2px); }
.fb-fab:focus-visible { outline:3px solid var(--gold); outline-offset:3px; }

.fb-overlay {
  position:fixed; inset:0; z-index:950; display:flex; align-items:center; justify-content:center;
  background:rgba(18,32,58,0.55); padding:20px;
}
.fb-overlay[hidden] { display:none; }

.fb-modal {
  background:#fff; border-radius:var(--radius); box-shadow:var(--shadow);
  width:100%; max-width:480px; max-height:90vh; overflow-y:auto; padding:26px 26px 22px;
  font-family:var(--font-body);
}
.fb-title { font-family:var(--font-head); font-size:24px; color:var(--navy); margin:0 0 2px; }
.fb-sub { font-family:var(--font-mono); font-size:12px; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--slate-light); margin:0 0 18px; }
.fb-label { display:block; font-size:13px; font-weight:600; color:var(--navy); margin:0 0 6px; }
.fb-textarea, .fb-input {
  width:100%; font-family:var(--font-body); font-size:15px; color:var(--ink);
  border:1px solid var(--hairline-cool); border-radius:var(--radius-sm); padding:10px 12px;
  margin-bottom:16px; background:#fff;
}
.fb-textarea { resize:vertical; min-height:110px; }
.fb-textarea:focus, .fb-input:focus { outline:2px solid var(--gold); outline-offset:1px; border-color:var(--gold); }

.fb-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:4px; }
.fb-btn { font-family:var(--font-body); font-size:14.5px; font-weight:600; cursor:pointer;
  border-radius:var(--radius-sm); padding:10px 20px; border:1px solid transparent; }
.fb-btn:disabled { opacity:.6; cursor:default; }
.fb-btn-gold { background:var(--gold); color:var(--navy-ink); }
.fb-btn-gold:hover:not(:disabled) { background:var(--gold-dark); }
.fb-btn-ghost { background:transparent; color:var(--slate); border-color:var(--hairline-cool); }
.fb-btn-ghost:hover { background:var(--white); }
.fb-btn:focus-visible { outline:3px solid var(--navy); outline-offset:2px; }

.fb-msg { font-size:13.5px; margin:0 0 8px; min-height:18px; color:var(--slate-light); }
.fb-msg.fb-ok { color:var(--teal); font-weight:600; }
.fb-msg.fb-err { color:#A6402F; font-weight:600; }

@media (max-width:600px) { .fb-fab { right:14px; bottom:14px; width:46px; height:46px; font-size:21px; } }
