/* Sam Ayliffe · Astute Financial
   Light coastal theme on Astute navy, gold and white. Engine tokens first,
   then this site's own classes. Nothing here restyles [data-sc-*] mechanics. */

:root {
  --navy: #0D2E55;
  --navy-deep: #081D38;
  --gold: #B49D53;
  --gold-soft: #D4BD7E;
  --mist: #F1F4F8;
  --sand: #F7F4EC;
  --white: #FFFFFF;
  --ink: #101826;
  --ink-soft: #5B6673;
  --line: #DDE3EA;

  --sc-canvas: var(--white);
  --sc-surface: var(--mist);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--gold);
  --sc-accent-ink: var(--white);
  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text: "Figtree", system-ui, sans-serif;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --bar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sc-font-text);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--sc-font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ph { background: rgba(180, 157, 83, 0.16); border-radius: 4px; padding: 0 0.25em; }

/* --------------------------------------------------------------- top bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(13, 46, 85, 0.08);
}
.bar .wrap { display: flex; align-items: center; gap: 28px; }
.bar__logo img { height: 38px; width: auto; }
.bar__logo, .foot__logo { display: inline-flex; align-items: center; text-decoration: none; }
/* "Manly" set beside the Astute wordmark so the office reads as Astute Manly. */
.logo-loc {
  margin-left: 12px; padding-left: 12px; border-left: 1.5px solid var(--gold);
  font-family: var(--sc-font-text); font-weight: 600; font-size: 15px; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  padding-block: 3px;
}
.foot__logo .logo-loc { font-size: 13px; margin-left: 10px; padding-left: 10px; }
.bar__nav { display: flex; gap: 26px; margin-left: auto; }
.bar__nav a {
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--navy);
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color 200ms ease;
}
.bar__nav a:hover, .bar__nav a[aria-current="page"] { border-color: var(--gold); }
.bar__toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 0; cursor: pointer; font-family: inherit;
  transition: background-color 200ms ease, transform 200ms ease;
}
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn svg { width: 16px; height: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 860px) {
  :root { --bar-h: 64px; }
  .bar__logo img { height: 30px; }
  .bar__logo .logo-loc { font-size: 12px; margin-left: 9px; padding-left: 9px; letter-spacing: 0.16em; }
  .bar__cta { display: none; }
  .bar__toggle {
    display: inline-flex; margin-left: auto; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: 0;
    background: var(--mist); color: var(--navy); cursor: pointer;
  }
  .bar__nav {
    position: fixed; inset: var(--bar-h) 0 auto 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--white); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .bar__nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .bar.is-open .bar__nav { opacity: 1; transform: none; pointer-events: auto; }
}

/* ----------------------------------------------- home: sliding panels ---- */
.slides .sc-stage, .slides [data-sc-stage] { background: var(--navy-deep); }
.slides__rail { height: 100%; position: relative; width: max-content; }
.panel {
  position: relative; flex: 0 0 100vw; height: 100%;
  overflow: hidden;
}
.panel__img {
  position: absolute; inset: 0 -12%;
  width: 124%; height: 100%; max-width: none;
  object-fit: cover;
  will-change: transform;
}
.panel::after {
  /* a scrim only under the card, not a full-frame wash */
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to top, rgba(8, 29, 56, 0.42), rgba(8, 29, 56, 0));
  pointer-events: none;
}
.panel__card {
  position: absolute; z-index: 2;
  left: var(--gutter); bottom: clamp(28px, 9vh, 96px);
  width: min(520px, calc(100vw - 2 * var(--gutter)));
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 24px 60px -24px rgba(8, 29, 56, 0.45);
}
.panel__tag {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold);
}
.panel__card h2 { font-size: clamp(30px, 3.6vw, 46px); }
.panel__card p { margin-top: 12px; color: var(--ink-soft); }
.panel__card .btn { margin-top: 22px; }

.panel--hero .panel__card {
  width: min(640px, calc(100vw - 2 * var(--gutter)));
  bottom: auto; top: 50%; translate: 0 -38%;
}
.panel--hero h1 { font-size: clamp(38px, 5.4vw, 72px); }
.panel--hero .hero-sub { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.panel--hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.panel--hero .hero-actions .btn { margin-top: 0; }

/* The signature: Astute's gold swoosh drawn across the whole rail as the
   panels slide, tying each stage of the journey into one line. */
.swoosh {
  position: absolute; z-index: 1; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}
.swoosh path {
  fill: none; stroke: var(--gold-soft); stroke-width: 5; stroke-linecap: round;
  filter: drop-shadow(0 4px 10px rgba(8, 29, 56, 0.35));
}

/* Journey band: a frosted strip under the top bar showing where you are in
   the slides. Navy on frosted white so it reads over sky and shadow alike. */
.journey-band {
  position: absolute; z-index: 3; inset: var(--bar-h) 0 auto 0;
  padding: 12px var(--gutter) 10px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 46, 85, 0.08);
}
.journey { display: flex; gap: 8px; }
.journey span {
  flex: 1; height: 3px; border-radius: 3px; background: rgba(13, 46, 85, 0.14); overflow: hidden;
}
.journey span i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.journey__labels {
  display: flex; gap: 8px; margin-top: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--navy);
}
.journey__labels b { flex: 1; font-weight: 600; opacity: 0.45; transition: opacity 250ms ease; }
.journey__labels b.is-on { opacity: 1; }

@media (max-width: 860px) {
  .panel__card, .panel--hero .panel__card {
    left: 16px; right: 16px; width: auto;
    top: auto; translate: none; bottom: 24px;
  }
  .panel--hero .panel__card { bottom: 32px; }
  .panel__card h2 { font-size: 30px; }
  .panel--hero h1 { font-size: 36px; }
  .panel--hero .hero-sub { font-size: 16px; }
  .journey__labels { display: none; }
  .journey-band { padding-block: 10px; }
  .panel__img { inset: 0 -20%; width: 140%; }
}
@media (prefers-reduced-motion: reduce) {
  .panel { scroll-snap-align: start; }
  .swoosh, .journey-band { display: none; }
}

/* ---------------------------------------------------------- home: steps -- */
.steps { background: var(--mist); padding-block: clamp(72px, 10vw, 140px); }
.steps__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.steps__head h2 { font-size: clamp(34px, 4.4vw, 58px); }
.steps__head p { color: var(--ink-soft); max-width: 46ch; }
.steps__list {
  list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 28px 34px; border-top: 4px solid var(--gold);
}
.step__when { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.step h3 { font-size: 26px; margin-top: 10px; }
.step p { margin-top: 10px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .steps__head, .steps__list { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------- home: meet Sam -- */
.meet { padding-block: clamp(72px, 10vw, 140px); }
.meet .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.headshot {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 20%, rgba(212, 189, 126, 0.35), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: rgba(255, 255, 255, 0.85);
  display: grid; place-items: center; text-align: center;
  font-size: 15px; letter-spacing: 0.04em; padding: 24px;
  margin: 0;
}
.headshot:has(img) { padding: 0; background: var(--mist); box-shadow: 0 30px 60px -30px rgba(8, 29, 56, 0.35); border-bottom: 4px solid var(--gold); }
.headshot img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.meet h2 { font-size: clamp(34px, 4.4vw, 58px); }
.meet p { margin-top: 18px; color: var(--ink-soft); max-width: 52ch; }
.meet .btn { margin-top: 28px; }
.meet__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.meet__facts li { background: var(--mist); color: var(--navy); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
@media (max-width: 860px) {
  .meet .wrap { grid-template-columns: 1fr; }
  .headshot { max-width: 420px; }
}

/* ------------------------------------------------------------- big line -- */
.line {
  background: var(--navy); color: var(--white);
  padding-block: clamp(80px, 12vw, 170px);
  position: relative; overflow: hidden;
}
.line h2 {
  color: var(--white); font-size: clamp(36px, 6vw, 88px); max-width: 16ch;
}
.line h2 em { font-style: italic; color: var(--gold-soft); }
.line__swoosh { position: absolute; right: -4%; top: 50%; width: 52%; translate: 0 -50%; opacity: 0.9; }
.line__swoosh path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
@media (max-width: 860px) { .line__swoosh { width: 90%; right: -30%; top: 86%; opacity: 0.5; } }

/* --------------------------------------------------------------- close --- */
.close { background: var(--sand); padding-block: clamp(72px, 10vw, 130px); }
.close .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.close h2 { font-size: clamp(34px, 4.4vw, 58px); }
.close p { margin-top: 16px; color: var(--ink-soft); max-width: 44ch; }
.close .btn { margin-top: 26px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(13, 46, 85, 0.12); }
.contact-list span { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.contact-list a, .contact-list b { font-weight: 500; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 860px) { .close .wrap { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- footer --- */
.foot { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); padding-block: 48px 40px; font-size: 14px; }
.foot .wrap { display: grid; gap: 24px; }
.foot__top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot__logo { background: var(--white); border-radius: 12px; padding: 10px 14px; }
.foot__logo img { height: 30px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot nav a { color: var(--white); text-decoration: none; }
.foot nav a:hover { color: var(--gold-soft); }
.foot__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px; display: grid; gap: 8px; }

/* ----------------------------------------------------------- sub pages --- */
.page-hero {
  position: relative; height: clamp(420px, 72vh, 720px); overflow: hidden;
  display: flex; align-items: flex-end;
}
.page-hero img { position: absolute; inset: -8% 0 0 0; width: 100%; height: 116%; object-fit: cover; }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(28px, 6vh, 64px); }
.page-hero__card {
  display: inline-block; max-width: min(560px, 100%);
  background: var(--white); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 24px 60px -24px rgba(8, 29, 56, 0.45);
  border-left: 4px solid var(--gold);
}
.page-hero h1 { font-size: clamp(38px, 5vw, 68px); }
.page-hero p { color: var(--ink-soft); margin-top: 12px; font-size: 18px; max-width: 46ch; }

.prose { padding-block: clamp(64px, 9vw, 120px); }
.prose .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.prose h2 { font-size: clamp(30px, 3.6vw, 46px); }
.prose .body > * + * { margin-top: 16px; }
.prose .body p { color: var(--ink-soft); }
@media (max-width: 860px) { .prose .wrap { grid-template-columns: 1fr; } }

.svc { padding-block: clamp(40px, 6vw, 80px); }
.svc .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.svc:nth-of-type(even) .svc__media { order: 2; }
.svc__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc h2 { font-size: clamp(30px, 3.6vw, 46px); }
.svc p { margin-top: 14px; color: var(--ink-soft); max-width: 50ch; }
.svc ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.svc li { padding-left: 28px; position: relative; color: var(--ink); }
.svc li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 16px; height: 2px; background: var(--gold); }
@media (max-width: 860px) {
  .svc .wrap { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc__media { order: 0; }
}

.values { background: var(--mist); padding-block: clamp(64px, 9vw, 120px); }
.values h2 { font-size: clamp(30px, 3.6vw, 46px); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.values__grid div { background: var(--white); border-radius: var(--radius); padding: 28px; }
.values__grid h3 { font-size: 24px; }
.values__grid p { margin-top: 10px; color: var(--ink-soft); }
@media (max-width: 860px) { .values__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; background: var(--white);
  min-height: 48px;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(180, 157, 83, 0.35); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.form small { color: var(--ink-soft); font-size: 13px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

/* ======================================================================
   2026-10-21 refresh (mico conversion patterns, kept in Sam's own look:
   light, navy and gold, Fraunces + Figtree, with Geist Mono for labels).
   ====================================================================== */
:root { --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* small mono labels (proof bar, steps, close card, footer) */
.label {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
}
h2.label { margin: 0; line-height: 1.4; }
/* bracket location tag */
.loc {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold);
}
/* one highlighted phrase per screen */
mark {
  background: linear-gradient(transparent 52%, rgba(212, 189, 126, 0.55) 52%, rgba(212, 189, 126, 0.55) 92%, transparent 92%);
  color: inherit; padding: 0 0.1em;
}

/* --------------------------------------------------- header call pill -- */
.bar__nav { margin-left: auto; }
.bar__cta { display: none; }
.bar__call {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--navy); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background-color 200ms ease;
}
.bar__call:hover { background: var(--navy-deep); }
.bar__call svg { color: var(--gold-soft); flex: none; }
.bar__sheet-call { display: none; }
@media (max-width: 1180px) {
  .bar__call { width: 46px; padding: 0; justify-content: center; }
  .bar__call span { display: none; }
}
@media (max-width: 860px) {
  .bar .wrap { gap: 10px; }
  .bar__toggle { margin-left: 0; }
  .bar__call { margin-left: auto; width: 44px; min-height: 44px; }
  .bar__nav a.bar__sheet-call {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 16px; padding: 0; min-height: 52px; border: 0; border-radius: 999px;
    background: var(--navy); color: var(--white); font-size: 16px; font-weight: 600;
  }
  .bar__sheet-call svg { color: var(--gold-soft); }
}

/* ------------------------------------------------- CTA + explainer line -- */
.cta { margin-top: 26px; }
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__row .btn { margin-top: 0; }
.cta__note { margin-top: 12px; font-size: 14px; color: var(--ink-soft); max-width: 52ch; }
.panel--hero .cta { margin-top: 26px; }
.panel__card .cta { margin-top: 18px; }
.panel__link {
  display: inline-flex; gap: 6px; margin-top: 16px;
  font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.panel__link span { transition: transform 200ms ease; }
.panel__link:hover span { transform: translateX(3px); }
.panel--hero .loc { margin-bottom: 14px; }

/* ----------------------------------------------------- glass proof bar -- */
.proof { position: relative; z-index: 4; margin-top: -54px; padding-bottom: 8px; }
.proof__bar {
  list-style: none; margin: 0; padding: 22px clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(13, 46, 85, 0.1); border-radius: 20px;
  box-shadow: 0 24px 60px -30px rgba(8, 29, 56, 0.45);
}
.proof__bar li { display: grid; gap: 4px; align-content: start; }
.proof__bar li + li { border-left: 1px solid var(--line); padding-left: 20px; }
.proof__bar b { font-weight: 600; color: var(--navy); font-size: 17px; }
.proof__bar a { color: inherit; text-decoration: none; }
.proof__bar a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.proof__bar small { color: var(--ink-soft); font-size: 13px; }
.stars { color: var(--gold); letter-spacing: 1px; }
@media (max-width: 860px) {
  .proof { margin-top: 0; padding-top: 20px; }
  .proof__bar { grid-template-columns: 1fr; gap: 14px; }
  .proof__bar li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
}

/* ------------------------------------------------------------ process -- */
.process { padding-block: clamp(72px, 10vw, 140px); }
.process .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process__side { position: sticky; top: calc(var(--bar-h) + 32px); }
.process__side h2 { font-size: clamp(34px, 4.4vw, 58px); margin-top: 10px; }
.process__side h2 em { font-style: italic; color: var(--gold); }
.process__side p { margin-top: 16px; color: var(--ink-soft); max-width: 44ch; }
.process__img { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.process__list { list-style: none; margin: 0; padding: 0; position: relative; }
.process__list::before {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line);
}
.pstep { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 28px 0; opacity: 0.45; transition: opacity 400ms ease; }
.pstep.is-on, .pstep.is-done { opacity: 1; }
.pstep__n {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line); color: var(--ink-soft);
  font-family: var(--mono); font-size: 15px; font-weight: 500; position: relative; z-index: 1;
  transition: background-color 400ms ease, border-color 400ms ease, color 400ms ease;
}
.pstep.is-on .pstep__n, .pstep.is-done .pstep__n { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.pstep h3 { font-size: clamp(24px, 2.4vw, 30px); padding-top: 10px; }
.pstep p { margin-top: 10px; color: var(--ink-soft); max-width: 46ch; }
@media (max-width: 860px) {
  .process .wrap { grid-template-columns: 1fr; }
  .process__side { position: static; }
  .pstep { grid-template-columns: 48px 1fr; gap: 18px; }
  .pstep__n { width: 48px; height: 48px; }
  .process__list::before { left: 23px; }
}
@media (prefers-reduced-motion: reduce) { .pstep { opacity: 1; } }

.meet .label { margin-bottom: 10px; }
.meet .cta { margin-top: 28px; }
.pull {
  margin: 22px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-family: var(--sc-font-display); font-style: italic; font-size: clamp(20px, 2vw, 24px);
  line-height: 1.4; color: var(--navy); max-width: 40ch;
}
.values .label { margin-bottom: 10px; }
.values__grid .pstep__n { width: 44px; height: 44px; margin-bottom: 18px; background: var(--gold); border-color: var(--gold); color: var(--navy-deep); font-size: 13px; }

/* ------------------------------------------------- closing contact card -- */
.close { background: var(--sand); }
.close .wrap { display: block; }
.close__card {
  max-width: 880px; margin-inline: auto; text-align: center;
  background: var(--white); border-radius: 24px;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
  box-shadow: 0 30px 70px -40px rgba(8, 29, 56, 0.4);
  border-top: 4px solid var(--gold);
}
.close__card h2 { margin-top: 12px; }
.close__card > p { margin-inline: auto; }
.close__card .cta__row { justify-content: center; }
.close__card .cta__note { margin-inline: auto; }
.close__row {
  list-style: none; margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px;
}
.close__row li { display: grid; gap: 4px; justify-items: center; }
.close__row a, .close__row li > span:not(.label) { color: var(--navy); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.close__row a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.close .close__hours { margin: 18px auto 0; color: var(--navy); font-weight: 500; }
.close__hours .label { margin-right: 8px; }

/* ------------------------------------------------------------- footer -- */
.foot { padding-block: 64px 40px; }
.foot .wrap { gap: 36px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr; gap: 40px; }
.foot__brand p { margin-top: 14px; max-width: 42ch; }
.foot__tag { font-family: var(--sc-font-display); font-size: 24px; color: var(--white); line-height: 1.2; margin-top: 22px !important; }
.foot__grid ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.foot__grid a { color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.foot__grid a:hover { color: var(--gold-soft); }
.foot .label { color: var(--gold-soft); }
.foot__legal { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.foot__legal a { color: rgba(255, 255, 255, 0.85); }
.foot__legal .ph { background: rgba(212, 189, 126, 0.25); color: var(--white); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr; gap: 28px; } }

/* --------------------------------------------------------- page heroes -- */
.page-hero__card .cta { margin-top: 22px; }
.jump { position: sticky; top: var(--bar-h); z-index: 20; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.jump a {
  flex: none; text-decoration: none; color: var(--navy); font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; background: var(--mist);
  transition: background-color 200ms ease;
}
.jump a:hover { background: var(--sand); }
.svc { scroll-margin-top: calc(var(--bar-h) + 70px); }
.svc .cta { margin-top: 24px; }

/* -------------------------------------------------------- contact page -- */
.contact-head { background: var(--mist); padding: calc(var(--bar-h) + clamp(48px, 8vw, 110px)) 0 clamp(44px, 6vw, 80px); }
.contact-head h1 { font-size: clamp(40px, 6vw, 80px); }
.contact-head .lead { margin-top: 18px; font-size: 19px; color: var(--ink-soft); max-width: 56ch; }
.contact-head__meta { margin-top: 22px; font-size: 15px; }
.contact-head__meta a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-head__meta a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.dim { color: var(--ink-soft); }
.contact-head__call { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.contact-head__call a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-body { padding-block: clamp(56px, 8vw, 110px); }
.contact-body .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-body__side { position: sticky; top: calc(var(--bar-h) + 32px); }
.form .opt { font-weight: 400; color: var(--ink-soft); }
.pills { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; padding: 0; }
.pills label { display: block; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 500; color: var(--navy); background: var(--white);
  transition: background-color 150ms ease, border-color 150ms ease;
}
.pills input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) {
  .contact-body .wrap { grid-template-columns: 1fr; }
  .contact-body__side { position: static; }
}
/* the explainer line must beat older `.page-hero p`, `.close p`, `.meet p` rules */
.cta p.cta__note { margin-top: 12px; font-size: 14px; color: var(--ink-soft); max-width: 52ch; }
.line h2 { max-width: 14ch; }
.line p { margin-top: 24px; max-width: 52ch; font-size: 18px; color: rgba(255, 255, 255, 0.78); }

/* ------------------------------------- more than just a broker (home) -- */
.more {
  background: var(--navy); color: var(--white); position: relative; overflow: hidden;
  padding-block: clamp(80px, 11vw, 150px); margin-top: clamp(48px, 7vw, 96px);
}
.more .line__swoosh { top: 18%; opacity: 0.55; }
.more .wrap { position: relative; }
.more__head h2 { color: var(--white); font-size: clamp(38px, 6vw, 84px); max-width: 14ch; margin-top: 12px; }
.more__head h2 em { font-style: italic; color: var(--gold-soft); }
.more__head p { margin-top: 22px; max-width: 54ch; font-size: 18px; color: rgba(255, 255, 255, 0.78); }
.more .label { color: var(--gold-soft); }
.more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 72px); }
.pillar {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 30px 28px 32px; border-top: 3px solid var(--gold);
}
.pillar__who { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); }
.pillar h3 { color: var(--white); font-size: 34px; margin-top: 10px; }
.pillar ul, .xcard ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.pillar li, .xcard li { position: relative; padding-left: 26px; }
.pillar li { color: rgba(255, 255, 255, 0.88); }
.pillar li::before, .xcard li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 14px; height: 2px; background: var(--gold); }
.pillar .panel__link { color: var(--white); margin-top: 22px; }
@media (max-width: 960px) { .more__grid { grid-template-columns: 1fr; } }

/* --------------------------------- more than home loans (services page) -- */
.extra { background: var(--mist); padding-block: clamp(72px, 10vw, 140px); margin-top: clamp(40px, 6vw, 80px); }
.extra__head h2 { font-size: clamp(34px, 4.6vw, 62px); margin-top: 10px; max-width: 16ch; }
.extra__head h2 em { font-style: italic; color: var(--gold); }
.extra__head p { margin-top: 16px; color: var(--ink-soft); max-width: 56ch; }
.extra__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 60px); }
.xcard { background: var(--white); border-radius: var(--radius); padding: 30px 28px 32px; border-top: 3px solid var(--gold); scroll-margin-top: calc(var(--bar-h) + 70px); display: flex; flex-direction: column; }
.xcard .pillar__who { color: var(--gold); }
.xcard h3 { font-size: 28px; margin-top: 10px; }
.xcard p { margin-top: 10px; color: var(--ink-soft); }
.xcard .panel__link { margin-top: auto; padding-top: 22px; align-self: flex-start; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.xcard ul { margin-bottom: 4px; }
@media (max-width: 960px) { .extra__grid { grid-template-columns: 1fr; } }
mark { background: linear-gradient(transparent 45%, rgba(212, 189, 126, 0.7) 45%, rgba(212, 189, 126, 0.7) 90%, transparent 90%); }
/* mico · reviews marquee (pairs with assets/js/reviews-marquee.js) */
.mq-rail { overflow: hidden; padding: 6px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.mq-track { display: flex; width: max-content; }
/* gap is repeated as padding-right so both halves are identical widths: seamless at -50% */
.mq-set { display: flex; gap: 24px; padding-right: 24px; }
.mq-tile { flex: none; width: 400px; }
.mq-track.is-running { animation: mq-slide var(--mq-dur, 120s) linear infinite; }
.mq-track.is-running:hover, .mq-track.is-running:focus-within { animation-play-state: paused; }
@keyframes mq-slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 700px) {
  .mq-set { gap: 14px; padding-right: 14px; }
  .mq-tile { width: min(80vw, 340px); }
}
@media (prefers-reduced-motion: reduce) {
  .mq-rail { overflow-x: auto; padding-inline: clamp(20px, 5vw, 72px); -webkit-mask-image: none; mask-image: none; }
}

/* ------------------------------------------------------------- reviews -- */
.reviews { padding-block: clamp(72px, 10vw, 130px) clamp(56px, 7vw, 90px); background: var(--sand); }
.reviews__head { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: clamp(28px, 4vw, 48px); }
.reviews__head h2 { font-size: clamp(34px, 4.4vw, 58px); margin-top: 10px; }
.reviews__head h2 em { font-style: italic; color: var(--gold); }
.reviews__score { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.reviews__score > b { font-family: var(--sc-font-display); font-weight: 500; font-size: 56px; line-height: 1; }
.reviews__score > span { display: grid; gap: 2px; }
.reviews__score .stars { font-size: 18px; }
.reviews__score small { color: var(--ink-soft); font-size: 13px; }
.reviews__score:hover small { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.review {
  background: var(--white); border-radius: var(--radius); padding: 26px 26px 28px;
  box-shadow: 0 18px 40px -30px rgba(8, 29, 56, 0.4); display: flex; flex-direction: column;
}
.review__top { display: flex; align-items: center; gap: 12px; }
.review__top b { display: block; color: var(--navy); font-weight: 600; }
.review__top small { color: var(--ink-soft); font-size: 13px; }
.review__av {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-soft); font-family: var(--sc-font-display); font-size: 19px;
}
.review__stars { margin-top: 14px; color: var(--gold); letter-spacing: 2px; }
.review blockquote { margin: 8px 0 0; color: var(--ink); line-height: 1.6; font-size: 16px; }
.reviews__more { margin-top: 18px; }

/* ------------------------------------------------------- about: profile -- */
.profile-hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(212, 189, 126, 0.18), transparent 50%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: var(--white);
  padding-block: calc(var(--bar-h) + clamp(48px, 7vw, 96px)) clamp(56px, 7vw, 96px);
}
.profile-hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.profile-hero h1 { color: var(--white); font-size: clamp(44px, 6vw, 84px); margin-top: 12px; }
.profile-hero__text > p { margin-top: 14px; font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, 0.78); }
.profile-hero__stats {
  list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.profile-hero__stats b { display: block; font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(30px, 3vw, 42px); color: var(--gold-soft); line-height: 1; }
.profile-hero__stats span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.7); }
.profile-hero__photo {
  margin: 0; justify-self: end; width: min(100%, 420px);
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--white); border-bottom: 5px solid var(--gold);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.6);
}
.profile-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.bio { padding-block: clamp(64px, 9vw, 120px); }
.bio .wrap { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bio__card {
  position: sticky; top: calc(var(--bar-h) + 24px);
  background: var(--mist); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px);
  border-top: 4px solid var(--gold);
}
.bio__name { font-family: var(--sc-font-display); font-size: 28px; color: var(--navy); line-height: 1.1; }
.bio__role { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.bio__facts { margin: 22px 0 0; }
.bio__facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.bio__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.bio__facts dd { margin: 4px 0 0; font-size: 15px; color: var(--navy); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.bio__facts a { color: inherit; text-decoration: none; }
.bio__facts a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.bio__body h2 { font-size: clamp(34px, 4.4vw, 58px); margin-top: 10px; }
.bio__body > p { margin-top: 18px; color: var(--ink-soft); max-width: 60ch; }
.bio__body .cta { margin-top: 32px; }
@media (max-width: 860px) {
  .profile-hero .wrap, .bio .wrap { grid-template-columns: 1fr; }
  .profile-hero__photo { justify-self: start; width: min(100%, 360px); grid-row: 1; }
  .profile-hero__stats { gap: 14px; }
  .bio__card { position: static; }
}

/* --------------------------------------------------------- calculators -- */
.calcs { padding-block: clamp(48px, 7vw, 96px); }
.calc-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--mist); border-radius: 999px; width: fit-content; max-width: 100%; }
.calc-tabs button {
  font: inherit; font-weight: 600; font-size: 15px; color: var(--navy); background: transparent;
  border: 0; border-radius: 999px; padding: 12px 22px; min-height: 44px; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.calc-tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.calc-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.calc { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 32px; align-items: start; }
.calc[hidden] { display: none; }
.calc__form { gap: 18px; }
.calc-hint { font-weight: 400; font-size: 13px; color: var(--ink-soft); margin-top: -2px; }
.calc-in {
  display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  min-height: 52px; padding-inline: 14px; gap: 6px;
}
.calc-in:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(180, 157, 83, 0.35); }
.form .calc-in input { border: 0; box-shadow: none; padding: 12px 0; min-height: 0; flex: 1; min-width: 0; font-size: 17px; font-weight: 500; background: transparent; }
.form .calc-in input:focus { box-shadow: none; }
.calc-in__pre, .calc-in__unit { color: var(--ink-soft); font-weight: 500; font-size: 15px; white-space: nowrap; }
.calc__out {
  position: sticky; top: calc(var(--bar-h) + 24px);
  background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: var(--white);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); border-bottom: 5px solid var(--gold);
  box-shadow: 0 30px 60px -30px rgba(8, 29, 56, 0.5);
}
.calc__out .label { color: var(--gold-soft); }
.calc__big { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(44px, 5.4vw, 68px); line-height: 1.05; margin-top: 10px; color: var(--white); font-variant-numeric: tabular-nums; }
.calc__rows { margin: 24px 0 0; }
.calc__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.calc__rows dt { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.calc__rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.calc__fine { margin-top: 14px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.6); }
.calc__out .cta { margin-top: 24px; }
.calc__out .cta__note { color: rgba(255, 255, 255, 0.6); }
.calc-note { margin-top: clamp(32px, 4vw, 48px); font-size: 13px; color: var(--ink-soft); max-width: 90ch; }
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc__out { position: static; }
  .calc-tabs { border-radius: 18px; }
  .calc-tabs button { flex: 1 1 auto; padding-inline: 14px; }
}
.calc__per { font-family: var(--sc-font-text); font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, 0.65); }
.calc__form .row { align-items: end; }
.foot__grid .social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.foot__grid .social a {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22); color: var(--white);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.foot__grid .social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.foot__grid .social a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------- home: photo hero --- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: flex-end; background: var(--navy-deep);
}
.hero__img { position: absolute; inset: 0; }
.hero__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 52% 55%;
  transform: translate3d(0, var(--hy, 0px), 0) scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 29, 56, 0.5), rgba(8, 29, 56, 0) 55%),
    linear-gradient(to right, rgba(8, 29, 56, 0.28), rgba(8, 29, 56, 0) 60%);
}
/* The signature motion: Astute's gold swoosh draws across Manly as you scroll. */
.hero__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__swoosh path {
  fill: none; stroke: var(--gold-soft); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0.62);
  filter: drop-shadow(0 2px 6px rgba(8, 29, 56, 0.25));
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--bar-h) + 32px); padding-bottom: clamp(32px, 9vh, 96px); }
.hero__card {
  width: min(660px, 100%); background: var(--white); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 44px); border-left: 4px solid var(--gold);
  box-shadow: 0 30px 70px -28px rgba(8, 29, 56, 0.55);
  animation: heroUp 900ms cubic-bezier(.2, .7, .2, 1) both;
}
.hero__card .loc { margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .hero-sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); max-width: 48ch; }
.hero .cta { margin-top: 26px; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------- opening: the A mark --- */
.intro { display: none; }
html.am-intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: var(--navy-deep);
  animation: curtain 1150ms cubic-bezier(.7, 0, .2, 1) 2150ms forwards;
}
.intro__lockup { display: grid; justify-items: center; gap: 22px; margin-top: -4vh; }
.intro .mark { width: clamp(150px, 20vw, 250px); height: auto; overflow: visible; }
.intro .mark__a { fill: var(--white); clip-path: inset(0 100% 0 0); animation: wipe 900ms cubic-bezier(.6, 0, .2, 1) 150ms forwards; }
.intro .mark__swoosh { clip-path: inset(0 100% 0 0); animation: wipe 950ms cubic-bezier(.5, 0, .2, 1) 700ms forwards; }
.intro__word {
  display: flex; align-items: center; gap: 16px; opacity: 0;
  font-family: var(--sc-font-text); font-weight: 600; font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--white);
  animation: wordIn 800ms cubic-bezier(.2, .7, .2, 1) 1250ms forwards;
}
.intro__word i { width: 1.5px; height: 1.3em; background: var(--gold); }
.intro__word b { font-weight: 600; color: var(--gold-soft); }
.intro__edge { position: absolute; left: 0; top: 100%; width: 100%; height: clamp(70px, 10vw, 140px); display: block; }
.intro__fill { fill: var(--navy-deep); }
.intro__line { fill: none; stroke: var(--gold); stroke-width: 4; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(10px); letter-spacing: 0.5em; } to { opacity: 1; transform: none; } }
@keyframes curtain { to { transform: translateY(calc(-100% - 150px)); } }
/* While the mark plays, the page waits behind it, then settles as the curtain lifts. */
html.am-intro .bar { opacity: 0; }
.bar { transition: opacity 500ms ease; }
html.am-intro .hero__card { animation-play-state: paused; }
html.am-intro .hero__img img { animation: settle 1500ms cubic-bezier(.2, .7, .2, 1) 2150ms both; }
@keyframes settle { from { transform: scale(1.14); filter: blur(8px); } to { transform: scale(1.04); filter: none; } }

/* ------------------------------------------------ home: how I help cards -- */
.paths { padding-block: clamp(72px, 10vw, 130px); }
.paths__head { max-width: 760px; }
.paths__head h2 { font-size: clamp(34px, 4.4vw, 58px); margin-top: 10px; }
.paths__head h2 em { font-style: italic; color: var(--gold); }
.paths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(32px, 4vw, 52px); }
.path {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(8, 29, 56, 0.35);
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.path:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 28px 50px -26px rgba(8, 29, 56, 0.45); }
.path:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.path__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.path:hover .path__img img { transform: scale(1.04); }
.path__body { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px); }
.path__body .panel__tag { margin-bottom: 10px; }
.path h3 { font-size: clamp(24px, 2.4vw, 32px); }
.path p { margin-top: 10px; color: var(--ink-soft); }
.path .panel__link { align-self: flex-start; margin-top: auto; padding-top: 18px; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 760px) {
  .paths__grid { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; }
  .hero__card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__card, .hero__img img { animation: none; }
  .hero__swoosh path { stroke-dashoffset: 0; }
}
/* Wide screens: the card sits in the sky, top left, and the photo runs a little
   taller than the hero (anchored at the top) so the Manly waterfront sits below it. */
@media (min-width: 1000px) {
  .hero { align-items: flex-start; }
  .hero__img { bottom: auto; height: 124%; }
  .hero__img img { object-position: 50% 0%; }
  .hero .wrap { padding-top: calc(var(--bar-h) + clamp(28px, 6vh, 64px)); }
  .hero__card { width: min(600px, 46vw); }
  .hero::after {
    background:
      linear-gradient(to bottom, rgba(8, 29, 56, 0.18), rgba(8, 29, 56, 0) 40%),
      linear-gradient(to top, rgba(8, 29, 56, 0.35), rgba(8, 29, 56, 0) 30%);
  }
}
/* Phones: a shorter photo cropped to the waterfront (not the sky), with the card
   overlapping its lower edge so the headline and buttons fit on the first screen. */
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; background: var(--white); }
  .hero__img { display: block; position: relative; height: 44svh; min-height: 290px; }
  .hero__img img { object-position: 50% 72%; }
  .hero::after, .hero__swoosh { height: 44svh; min-height: 290px; bottom: auto; }
  .hero .wrap { margin-top: -64px; padding-top: 0; padding-bottom: 8px; }
  .hero h1 { font-size: clamp(36px, 10vw, 46px); }
}
@media (max-width: 760px) {
  /* on a tall phone photo the line cuts through the sculpture, so it lives in the statement section instead */
  .hero__swoosh { display: none; }
}

/* Section labels: small gold capitals in the text face, with a short gold rule
   in front. Quieter and more premium than the old [ bracket ] code tags. */
.label, .loc, .pillar__who, .bio__facts dt {
  font-family: var(--sc-font-text); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.label, .loc { display: inline-flex; align-items: center; gap: 10px; }
.label::before, .loc::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: 0.8; }
.bio__facts dt { font-size: 11px; }
/* small field labels inside lists and the footer don't need the rule */
.close__row .label::before, .close__hours .label::before, .foot .label::before, .contact-list .label::before { display: none; }
.close__row .label, .close__hours .label, .foot .label { display: inline-block; }
@media (min-width: 1000px) {
  .hero__img { height: 134%; }
  .hero__card { width: min(700px, 52vw); padding: clamp(26px, 2.6vw, 40px); }
  .hero h1 { font-size: clamp(40px, 4.4vw, 66px); }
  .hero .hero-sub { margin-top: 14px; }
  .hero .cta { margin-top: 22px; }
}

/* Gold accents that draw in as they scroll into view. */
.draw-line { display: block; overflow: visible; pointer-events: none; }
.draw-line path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--d, 1); }
.more__sweep { width: min(100%, 980px); height: clamp(70px, 9vw, 130px); margin-top: clamp(28px, 4vw, 48px); }
.more__sweep path { stroke: var(--gold-soft); stroke-width: 4; }
.close__swoosh { width: min(260px, 60%); height: 18px; margin: 10px auto 0; }
.close__swoosh path { stroke-width: 3.5; }

/* "We are more than just a broker." gets its own screen as you scroll down. */
.more { position: relative; overflow: hidden; }
.more__head {
  min-height: calc(100svh - clamp(80px, 12vw, 170px));
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  position: relative;
}
.more__head h2 { font-size: clamp(48px, 8.4vw, 128px); line-height: 0.98; max-width: 12ch; }
.more__head p { font-size: clamp(18px, 1.6vw, 21px); }

/* Tighter statement: no forced full screen, no white gap above it. */
.more { margin-top: 0; padding-block: clamp(72px, 9vw, 120px); }
.more__head { min-height: 0; }
.more__sweep { margin-top: clamp(20px, 3vw, 36px); height: clamp(56px, 7vw, 100px); }
.more__grid { margin-top: clamp(28px, 4vw, 48px); }

/* Tighter rhythm: less dead space between sections, on every page. */
.paths, .process, .meet, .values, .bio, .prose, .calcs { padding-block: clamp(52px, 6.5vw, 92px); }
.more { padding-block: clamp(60px, 7vw, 100px); }
.reviews { padding-block: clamp(52px, 6.5vw, 92px) clamp(40px, 5vw, 70px); }
.close { padding-block: clamp(48px, 6vw, 84px); }
.close__card { padding: clamp(30px, 4.4vw, 56px) clamp(22px, 5vw, 64px); }
.paths__grid { margin-top: clamp(26px, 3.4vw, 42px); }
.path__img { aspect-ratio: 2 / 1; }
.extra { padding-block: clamp(52px, 6.5vw, 92px); margin-top: clamp(28px, 4vw, 56px); }

/* Sava Websites credit (same as Avala): wordmark in the footer's own text colour */
.sava-badge{display:flex;justify-content:center;width:100%;grid-column:1/-1;padding:26px 0 0;box-sizing:border-box}
.sava-badge a{display:inline-flex;align-items:center;color:inherit;opacity:.5;text-decoration:none;transition:opacity .2s}
.sava-badge a:hover,.sava-badge a:focus-visible{opacity:.85}
.sava-badge svg{height:26px;width:auto;display:block}
.foot .sava-badge{padding-top:8px}
