/* =========================================================
   Joven Gill Mortgages — design tokens
   Ink navy + warm paper, brass used sparingly as an accent.
   ========================================================= */
:root {
  /* Color */
  --ink: #0b1f3a;          /* primary navy — headings, buttons, bands */
  --ink-2: #132b4f;        /* raised navy surfaces */
  --ink-3: #1d3a66;        /* hover on navy */
  --paper: #f8f6f1;        /* page background */
  --surface: #ffffff;      /* cards */
  --mist: #e9eef5;         /* navy tint — icon wells, chips */
  --line: #e4ded2;         /* borders on paper */
  --line-ink: rgba(255, 255, 255, 0.12);
  --text: #0b1f3a;
  --muted: #4b5567;        /* body copy, 7:1 on paper */
  --muted-ink: #b9c4d6;    /* body copy on navy, 8:1 */
  --brass: #c8a56a;        /* decorative only (stars, rules) */
  --brass-text: #8a6a33;   /* brass for small text, 4.6:1 on paper */
  --success: #1f7a4d;
  --danger: #b42318;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --accent: #2b5797;       /* highlight words on light (6.6:1 on paper) */
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Oswald", "Arial Narrow", sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Shape + depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 1px 1px rgba(11, 31, 58, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(11, 31, 58, 0.14), 0 2px 6px rgba(11, 31, 58, 0.05);
  --shadow-lg: 0 24px 60px -20px rgba(11, 31, 58, 0.28);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 260ms;

  --container: 1200px;
  --header-h: 76px;

  /* Z-index scale */
  --z-header: 50;
  --z-drawer: 60;
  --z-mobile-cta: 40;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--ink-3); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .band :focus-visible, .site-footer :focus-visible, .contact :focus-visible { outline-color: var(--brass); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }
.icon-lg { width: 24px; height: 24px; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
@media (max-width: 480px) { .container { padding: 0 var(--s-4); } }

section { position: relative; }
.section { padding: var(--s-9) 0; }
@media (max-width: 768px) { .section { padding: var(--s-7) 0; } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-text);
}
.eyebrow .roof { width: 22px; height: 11px; color: var(--brass); }
.on-ink .eyebrow { color: var(--brass); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.h3 { font-size: 22px; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 62ch; }
.on-ink .lead { color: var(--muted-ink); }
.accent { color: var(--accent); }
.on-ink .accent { color: var(--brass); }

.section-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split {
  max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: var(--s-5);
}
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 15.5px; letter-spacing: 0.005em; line-height: 1.2;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  touch-action: manipulation; white-space: nowrap;
}
.btn:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .icon-sm { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .icon-sm.arrow { transform: translateX(3px); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: #cfd6e2; }
.btn-ghost:hover { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--mist); --btn-bd: var(--mist); --btn-fg: var(--ink); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.35); }
.btn-outline-light:hover { --btn-bg: rgba(255,255,255,0.08); --btn-bd: #fff; --btn-fg: #fff; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  color: var(--ink); padding: 6px 0; border-bottom: 1.5px solid transparent;
  transition: border-color var(--t-fast), gap var(--t-fast) var(--ease-out);
}
.link-arrow:hover { border-color: currentColor; gap: 12px; }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--ink); color: var(--muted-ink); font-size: 13.5px;
}
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 40px; }
.utility-group { display: flex; align-items: center; gap: var(--s-5); }
.utility a { display: inline-flex; align-items: center; gap: 8px; transition: color var(--t-fast); padding: 6px 0; }
.utility a:hover { color: #fff; }
.utility .pin { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .utility .hide-sm { display: none; } }
@media (max-width: 560px) { .utility { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(248, 246, 241, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 31, 58, 0.35); }
.site-header .container { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 46px; height: 41px; background: var(--ink);
  -webkit-mask: url("../assets/img/jg-mark.png") center / contain no-repeat;
          mask: url("../assets/img/jg-mark.png") center / contain no-repeat;
}
.brand-word { display: grid; line-height: 1; font-family: var(--font-mark); text-transform: uppercase; }
.brand-word strong { font-weight: 500; font-size: 21px; letter-spacing: 0.2em; }
.brand-word span {
  display: flex; align-items: center; gap: 6px; margin-top: 5px;
  font-size: 10.5px; letter-spacing: 0.34em; font-weight: 500; color: var(--muted);
}
.brand-word span::before, .brand-word span::after { content: ""; height: 1px; width: 14px; background: currentColor; opacity: 0.7; }
.brand.on-ink .brand-mark { background: #fff; }
.brand.on-ink .brand-word { color: #fff; }
.brand.on-ink .brand-word span { color: var(--muted-ink); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #2b3a52; white-space: nowrap;
  background: none; border: 0; transition: background var(--t-fast), color var(--t-fast);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(11, 31, 58, 0.06); color: var(--ink); }
.nav-link.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav-link .icon-sm { transition: transform var(--t-fast); }
.nav-link[aria-expanded="true"] .icon-sm { transform: rotate(180deg); }

.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 340px;
  translate: -50% 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast) var(--ease-out), visibility var(--t-fast);
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; transition: background var(--t-fast); }
.menu a:hover { background: var(--paper); }
.menu .well { width: 40px; height: 40px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; color: var(--ink); }
.menu strong { display: block; font-size: 15px; }
.menu small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); place-items: center; margin-left: auto;
}

@media (max-width: 1140px) {
  .header-cta .btn-ghost { display: none; }
  .nav-link { padding: 10px 11px; }
}
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
}

/* Drawer (mobile nav) */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(6, 16, 31, 0.5); opacity: 0; transition: opacity var(--t-med); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 100%);
  background: var(--paper); padding: var(--s-5); overflow-y: auto;
  transform: translateX(100%); transition: transform var(--t-med) var(--ease-out);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line);
}
.drawer .drawer-sub a { font-size: 16px; font-weight: 500; color: var(--muted); padding: 12px 4px 12px 16px; }
.drawer-actions { display: grid; gap: 10px; margin-top: auto; }

/* ---------- Hero ---------- */
.hero { padding: var(--s-7) 0 var(--s-8); overflow: hidden; }
.hero::before {
  /* soft navy wash behind the start card */
  content: ""; position: absolute; right: -10%; top: -10%; width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(29, 58, 102, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s-8); align-items: center; }
.hero-copy { display: grid; gap: var(--s-5); }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-text); }
.hero-kicker span { color: var(--brass); }

.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.05; }
.hero h1 .underline { position: relative; display: inline-block; white-space: nowrap; }
.hero h1 .underline svg { position: absolute; left: -2%; bottom: -0.16em; width: 104%; height: 0.32em; color: var(--brass); overflow: visible; }
.hero h1 .underline path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s 0.5s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.proof { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--brass); }
.stars .icon-sm { width: 17px; height: 17px; }
.proof strong { color: var(--ink); }
.proof .dot { width: 4px; height: 4px; border-radius: 50%; background: #b7bfcc; }

/* Start-here card: a house with Joven inside */
.start-card { position: relative; width: min(440px, 100%); justify-self: end; color: var(--ink); filter: drop-shadow(0 28px 40px rgba(11, 31, 58, 0.22)); }
.start-roof { display: block; width: 100%; height: 56px; margin-bottom: -1px; }
.start-body {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  border-radius: 0 0 var(--r-xl) var(--r-xl); padding: 8px var(--s-5) var(--s-5);
}
.start-body::after {
  content: ""; position: absolute; right: -50px; bottom: -40px; width: 220px; height: 196px; background: rgba(255, 255, 255, 0.04);
  -webkit-mask: url("../assets/img/jg-mark.png") center / contain no-repeat; mask: url("../assets/img/jg-mark.png") center / contain no-repeat; pointer-events: none;
}
.start-head { display: flex; align-items: center; gap: 14px; }
.start-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 3px solid var(--brass); flex: none; }
.start-head strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.start-head span { display: block; font-size: 14px; color: var(--muted-ink); }
.start-q { margin: var(--s-5) 0 var(--s-3); font-size: 15px; font-weight: 600; color: var(--muted-ink); }
.start-list { display: grid; gap: 8px; position: relative; z-index: 1; }
.start-item {
  display: grid; grid-template-columns: 40px 1fr 20px; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-ink);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.start-item:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); transform: translateX(3px); }
.start-item .well { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; }
.start-item strong { display: block; font-size: 16px; line-height: 1.25; }
.start-item small { display: block; font-size: 13.5px; color: var(--muted-ink); }
.start-item .go { color: var(--muted-ink); }
.start-item.is-primary { background: #fff; color: var(--ink); border-color: #fff; }
.start-item.is-primary .well { background: var(--mist); color: var(--ink); }
.start-item.is-primary small, .start-item.is-primary .go { color: var(--muted); }
.start-item.is-primary:hover { background: var(--mist); border-color: var(--mist); }
.start-call { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-4); font-size: 14.5px; font-weight: 600; color: var(--muted-ink); padding: 6px 0; position: relative; z-index: 1; }
.start-call:hover { color: #fff; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .start-card { justify-self: start; width: min(520px, 100%); }
  .hero::before { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: var(--s-5); }
  .start-body { padding: 4px var(--s-4) var(--s-4); }
  .start-roof { height: 40px; }
}

/* ---------- Trust band (navy) ---------- */
.band { background: var(--ink); color: #fff; position: relative; }
.band-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: var(--s-6) var(--s-5); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stat + .stat { border-left: 1px solid var(--line-ink); }
.stat .num { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stat .num .brass { color: var(--brass); }
.stat .lbl { font-size: 14.5px; color: var(--muted-ink); line-height: 1.35; }
@media (max-width: 900px) {
  .band-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-ink); }
}
@media (max-width: 420px) { .stat { padding: var(--s-5) var(--s-4); } }

/* ---------- Lenders marquee ---------- */
.lenders { padding: var(--s-7) 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.lenders-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.lenders-head p { font-size: 15px; color: var(--muted); }
.lenders-head p strong { color: var(--ink); }
.marquee-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; font-weight: 600;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: var(--s-8); width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-track li { display: grid; place-items: center; height: 56px; flex: none; }
.marquee-track img {
  max-height: 40px; width: auto; max-width: 150px; object-fit: contain;
  filter: grayscale(1) contrast(1.05); opacity: 0.6;
  transition: filter var(--t-med), opacity var(--t-med);
}
.marquee-track img.tall { max-height: 50px; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(calc(-50% - var(--s-8) / 2)); } }

/* ---------- How I help ---------- */
.compare { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-5); align-items: stretch; }
.compare-card { border-radius: var(--r-lg); padding: var(--s-6); border: 1px solid var(--line); background: var(--surface); }
.compare-card h3 { font-size: 19px; margin-bottom: var(--s-5); display: flex; align-items: center; gap: 10px; }
.compare-card li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.compare-card li:first-child { border-top: 0; }
.compare-card .mk { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.compare-card.bank { background: transparent; }
.compare-card.bank h3 { color: var(--muted); }
.compare-card.bank li { color: var(--muted); }
.compare-card.bank .mk { background: #eceae4; color: #7b8494; }
.compare-card.joven { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.compare-card.joven::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 196px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-mask: url("../assets/img/jg-mark.png") center / contain no-repeat;
          mask: url("../assets/img/jg-mark.png") center / contain no-repeat;
  pointer-events: none;
}
.compare-card.joven li { border-color: var(--line-ink); }
.compare-card.joven li span { color: #dfe6f0; }
.compare-card.joven li strong { color: #fff; }
.compare-card.joven .mk { background: var(--brass); color: var(--ink); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* Monthly Mortgage Tracker */
.tracker {
  margin-top: var(--s-7); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8); align-items: center;
  padding: var(--s-7); border-radius: var(--r-xl); background: var(--mist);
}
.tracker-copy { display: grid; gap: var(--s-4); justify-items: start; }
.tracker-copy h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.tracker-copy > p { color: var(--muted); max-width: 56ch; }
.tracker-copy h3 { max-width: 20ch; }
.tracker-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 4px 0 8px; }
.tracker-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 600; }
.tracker-list .icon-sm { color: var(--success); margin-top: 4px; }
.tracker-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tracker-cta span { font-size: 14.5px; font-weight: 600; color: var(--muted); }
.report { margin: 0; display: grid; gap: 12px; }
.report-label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.report-mail {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.report-mail .mail-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.report-mail strong { display: block; font-size: 14.5px; }
.report-mail small { display: block; font-size: 13px; color: var(--muted); }
.mail-new { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--accent); }
.report-card {
  background: var(--surface); border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-lg); display: grid; gap: var(--s-4); border: 1px solid var(--line);
}
.report-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.report-title { font-weight: 800; font-size: 16px; color: var(--ink); }
.equity-bar { height: 12px; border-radius: 999px; background: #e3e8f0; overflow: hidden; }
.equity-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ink), var(--accent)); }
.equity-legend { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-top: -8px; }
.equity-legend span { display: inline-flex; align-items: center; gap: 6px; }
.equity-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-equity { background: var(--accent); }
.dot-rest { background: #c9d2df; }
.report-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { padding: 14px 16px; border-radius: 14px; background: var(--paper); display: grid; gap: 2px; }
.tile small { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.tile strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile strong.good { color: var(--accent); }
.tile em { font-style: normal; font-size: 12px; color: #7b8698; }
.report-renewal { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: 14px; color: #2b3a52; line-height: 1.45; }
.report-renewal .icon-sm { color: var(--accent); margin-top: 2px; }
.report-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed #d3d9e3; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.report-note .icon-sm { margin-top: 2px; flex: none; }
@media (max-width: 960px) {
  .tracker { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-5); }
}
@media (max-width: 560px) { .tracker-list { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-7); }
.pillar { display: grid; gap: 10px; padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.pillar .n { font-family: var(--font-display); font-size: 15px; color: var(--brass-text); font-weight: 600; letter-spacing: 0.04em; }
.pillar p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { background: var(--surface); border-block: 1px solid var(--line); }
.svc-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); align-items: start; }
.svc-intro { display: grid; gap: var(--s-4); justify-items: start; position: sticky; top: calc(var(--header-h) + 40px); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 56px 1fr 44px; gap: var(--s-4); align-items: center;
  padding: var(--s-5) var(--s-3); border-radius: var(--r-md);
  transition: background var(--t-fast), padding var(--t-med) var(--ease-out);
}
.svc-num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--brass-text); letter-spacing: 0.04em; }
.svc-text strong { display: block; font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 23px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.svc-text span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 4px; max-width: 54ch; }
.svc-go {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #cfd6e2; color: var(--ink);
  display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.svc-row:hover { background: var(--paper); padding-left: var(--s-5); }
.svc-row:hover .svc-go { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(45deg); }
@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; gap: var(--s-6); }
  .svc-intro { position: static; }
}
@media (max-width: 560px) {
  .svc-row { grid-template-columns: 36px 1fr 40px; gap: 12px; padding: var(--s-4) 4px; }
  .svc-row:hover { padding-left: 4px; }
  .svc-go { width: 40px; height: 40px; }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, #c9c1b0 0 6px, transparent 6px 12px);
}
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step .badge {
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 8px;
  position: relative; z-index: 1;
}
.step:last-child .badge { background: var(--ink); color: #fff; }
.step h3 { font-size: 19px; font-weight: 700; }
.step p { color: var(--muted); font-size: 16px; }
.step .time { font-size: 13px; font-weight: 700; color: var(--brass-text); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--s-7); }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Calculators ---------- */
.calc-section { background: var(--ink); color: #fff; overflow: hidden; }
.calc-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(200, 165, 106, 0.12), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(29, 58, 102, 0.8), transparent 70%);
  pointer-events: none;
}
.calc-section .container { position: relative; }
.calc-section .h2 { color: #fff; }

.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-ink); margin-bottom: var(--s-6); flex-wrap: wrap; }
.tab {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0; background: transparent;
  color: var(--muted-ink); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--t-fast), color var(--t-fast);
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); }

.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
.calc[hidden] { display: none; }
.calc-inputs { padding: var(--s-7); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-5); align-content: start; }
.calc-inputs .full { grid-column: 1 / -1; }
.calc-results { background: var(--paper); padding: var(--s-7); display: flex; flex-direction: column; gap: var(--s-5); border-left: 1px solid var(--line); }
.result-main { display: grid; gap: 4px; }
.result-main .lbl { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.result-main .val { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.result-main .per { font-size: 15px; color: var(--muted); }
.result-rows { display: grid; }
.result-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.result-rows dt { color: var(--muted); }
.result-rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.calc-note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.calc-results .btn { margin-top: auto; }
.notice {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
  background: #fdf3e2; color: #6b4a12; font-size: 14px; line-height: 1.45;
}
.notice[hidden] { display: none; }
.notice.ok { background: #e7f4ec; color: #17583a; }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc-results { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; border-radius: 16px; width: 100%; }
  .tab { border-radius: 12px; flex-direction: column; gap: 4px; padding: 10px 6px; font-size: 13px; text-align: center; }
  .calc-inputs, .calc-results { padding: var(--s-5); }
  .calc-inputs { grid-template-columns: 1fr; }
}

/* ---------- Form fields (shared) ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field > .label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.field .hint { font-size: 13.5px; color: var(--muted); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .affix { position: absolute; color: var(--muted); font-weight: 600; pointer-events: none; font-size: 16px; }
.input-wrap .affix.pre { left: 16px; }
.input-wrap .affix.post { right: 16px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid #d6dbe4; background: var(--surface); font-size: 16px; font-variant-numeric: tabular-nums;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.input:hover { border-color: #b3bccb; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29, 58, 102, 0.14); }
.input-wrap .input.has-pre { padding-left: 32px; }
.input-wrap .input.has-post { padding-right: 44px; }
select.input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
textarea.input { min-height: 120px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.error-msg { font-size: 13.5px; color: var(--danger); font-weight: 600; }
.error-msg:empty { display: none; }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; min-height: 44px; padding-top: 10px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.req { color: var(--danger); }

/* ---------- About ---------- */
/* ---------- Reviews ---------- */
.reviews { background: var(--surface); border-block: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); align-items: start; }
@media (max-width: 1100px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
.review {
  display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5);
  border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); position: relative;
}
.review .qmark { position: absolute; top: 14px; right: 22px; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: rgba(200, 165, 106, 0.35); pointer-events: none; }
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: #26344b; }
.review blockquote p + p { margin-top: 12px; }
.review .body { position: relative; max-height: 11.2em; overflow: hidden; transition: max-height var(--t-med) var(--ease-out); }
.review .body::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3.5em;
  background: linear-gradient(transparent, var(--paper)); transition: opacity var(--t-med);
}
.review.is-open .body { max-height: 60em; }
.review.is-open .body::after { opacity: 0; }
.review.fits .body::after { display: none; }
.review.fits .more { display: none; }
.review .more { align-self: flex-start; background: none; border: 0; padding: 8px 0; font-weight: 700; font-size: 14.5px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.review .more .icon-sm { transition: transform var(--t-fast); }
.review.is-open .more .icon-sm { transform: rotate(180deg); }
.review footer { display: flex; align-items: center; gap: 12px; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.review footer strong { display: block; font-size: 15.5px; }
.review footer small { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.g-dot { width: 14px; height: 14px; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } .review { padding: var(--s-5); } }

/* ---------- Resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.res {
  display: flex; flex-direction: column; gap: 10px; padding: var(--s-5); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.res:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.res .kind { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-text); display: flex; align-items: center; gap: 8px; }
.res h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.res p { color: var(--muted); font-size: 15px; flex: 1; }
.res .link-arrow { font-size: 14.5px; }
@media (max-width: 1000px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .res-grid { grid-template-columns: 1fr; } }

.checklist-wrap { margin-top: var(--s-5); border-radius: var(--r-lg); background: var(--mist); }
.checklist-wrap summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; font-weight: 700; font-size: 17px; min-height: 56px;
}
.checklist-wrap summary::-webkit-details-marker { display: none; }
.checklist-wrap summary > span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.checklist-wrap .plus { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #b9c3d3; display: grid; place-items: center; transition: transform var(--t-med) var(--ease-out); }
.checklist-wrap[open] .plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.checklist {
  margin-top: 0; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-7);
  padding: var(--s-7); border-radius: var(--r-xl); background: var(--mist);
}
.checklist h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; margin: 12px 0; }
.checklist > div > p { color: var(--muted); margin-bottom: var(--s-5); }
.checklist-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); }
.checklist-cols h4 { font-size: 15px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.checklist-cols li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 6px 0; font-size: 15px; color: #2b3a52; line-height: 1.45; }
.checklist-cols li .icon-sm { color: var(--success); margin-top: 3px; }
@media (max-width: 900px) { .checklist { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5); } }
@media (max-width: 560px) { .checklist-cols { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--s-4); }
.faq-aside .card { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; margin-top: var(--s-4); }
.faq-aside .card p { color: var(--muted); font-size: 15.5px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: 22px 4px; font-size: 18px; font-weight: 700; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #cfd6e2; flex: none;
  display: grid; place-items: center; transition: transform var(--t-med) var(--ease-out), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.faq-item summary:hover .plus { border-color: var(--ink); }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item .answer { padding: 0 56px 24px 4px; color: var(--muted); font-size: 16.5px; }
.faq-item .answer p + p { margin-top: 10px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .faq-aside { position: static; }
  .faq-item .answer { padding-right: 4px; }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: -120px; top: -80px; width: 520px; height: 462px;
  background: rgba(255, 255, 255, 0.035);
  -webkit-mask: url("../assets/img/jg-mark.png") center / contain no-repeat;
          mask: url("../assets/img/jg-mark.png") center / contain no-repeat;
  pointer-events: none;
}
.contact .container { position: relative; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-8); align-items: start; }
.contact .h2 { color: #fff; }
.contact-list { display: grid; gap: 12px; margin-top: var(--s-6); }
.contact-list a {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 18px 14px 14px; border-radius: var(--r-md); border: 1px solid var(--line-ink);
  background: rgba(255, 255, 255, 0.03); transition: background var(--t-fast), border-color var(--t-fast);
}
.contact-list a:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.28); }
.contact-list .well { width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; }
.contact-list strong { display: block; font-size: 16px; }
.contact-list small { display: block; font-size: 14px; color: var(--muted-ink); }
.contact-list .corner { color: var(--muted-ink); }

.form-card { background: var(--surface); color: var(--text); border-radius: var(--r-xl); padding: var(--s-7); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
.form-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.form-card > p { color: var(--muted); margin: 6px 0 var(--s-5); font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
.form-status { font-size: 15px; font-weight: 600; padding: 12px 14px; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.ok { background: #e7f4ec; color: #17583a; }
.form-status.err { background: #fdecea; color: #8c1d13; }
.fine { font-size: 13px; color: var(--muted); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: spin 0.8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-7); } }
@media (max-width: 560px) { .form-card { padding: var(--s-5); } .form-grid { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.start-meet { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--brass); padding: 4px 0; }
.start-meet:hover { color: #fff; }
.start-meet .icon-sm { transition: transform var(--t-fast) var(--ease-out); }
.start-meet:hover .icon-sm { transform: translateX(3px); }

.about-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--s-8); align-items: center; }
.about-hero-copy { display: grid; gap: var(--s-4); justify-items: start; }
.about-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; }
.about-photo-house {
  margin: 0; aspect-ratio: 4 / 5; background: #eceae6; width: min(400px, 100%); justify-self: end;
  clip-path: polygon(50% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
}
.about-photo-house img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.creds .icon-sm { color: var(--brass-text); }

.about-alt { background: var(--surface); border-block: 1px solid var(--line); }
.about-pull { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.8vw, 22px) !important; line-height: 1.45; color: var(--ink) !important; padding-left: var(--s-5); border-left: 3px solid var(--brass); }
.about-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); align-items: start; }
.about-split > div:first-child { display: grid; gap: var(--s-3); }
.about-prose { display: grid; gap: var(--s-4); }
.about-prose p { font-size: 18px; color: var(--muted); max-width: 62ch; }
.approach-points { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: var(--s-2); }
.approach-points li { display: flex; align-items: center; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 17px; }
.approach-points span { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--brass-text); width: 28px; }
.life-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8); align-items: center; }
.life-copy { display: grid; gap: var(--s-4); justify-items: start; }
.life-copy p { font-size: 18px; color: var(--muted); max-width: 52ch; }
.life-photo { margin: 0; justify-self: end; width: min(420px, 100%); aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #dfe7f1; }
.life-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 900px) { .life-grid { grid-template-columns: 1fr; gap: var(--s-6); } .life-photo { justify-self: start; } }
.interests { display: flex; flex-wrap: wrap; gap: 10px; }
.interests li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--mist); font-weight: 700; font-size: 15.5px; }
.interests .icon { color: var(--accent); }
@media (max-width: 900px) {
  .about-hero-grid, .about-split { grid-template-columns: 1fr; gap: var(--s-6); }
  .about-photo-house { justify-self: start; width: min(340px, 100%); }
}

/* ---------- Sub-pages ---------- */
.subpage > .section:first-child { padding-top: var(--s-8); }
.cta-band { background: var(--ink); color: #fff; padding: var(--s-7) 0; border-top: 1px solid var(--line-ink); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 2.6vw, 32px); }
.cta-band p { color: var(--muted-ink); margin-top: 6px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #07162b; color: var(--muted-ink); padding: var(--s-8) 0 var(--s-6); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); padding-bottom: var(--s-7); border-bottom: 1px solid var(--line-ink); }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer-grid li a { display: inline-block; padding: 6px 0; transition: color var(--t-fast); }
.footer-grid li a:hover { color: #fff; }
.footer-about p { margin-top: var(--s-4); max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: var(--s-5); }
.socials a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-ink); display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast); }
.socials a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.legal { display: grid; gap: 12px; padding-top: var(--s-5); font-size: 13.5px; line-height: 1.6; color: #8e9bb0; }
.legal-row { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: var(--z-mobile-cta);
  display: none; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(140%); transition: transform var(--t-med) var(--ease-out);
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 48px; padding: 10px 14px; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  .site-footer { padding-bottom: 110px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 300ms; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .hero h1 .underline path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: var(--s-5); }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-toggle { display: none; }
}
