/* ============================================================
   Ariane Bibas — Residential Mortgage + Design
   Warm editorial palette drawn from arianebibas.com,
   structure modeled on a full-service loan-officer site.
   ============================================================ */

:root {
  /* Header bar height: everything that sits under or beside the sticky header reads this. */
  --nav-h: 164px;
  --bg: #FAFAFA;
  --bg-alt: #EEEEEE;
  --card: #FFFFFF;
  --ink: #1F1D1A;
  --ink-soft: #57534B;
  --ink-faint: #6E6B62;
  --line: #DFDFDF;
  --brass: #846D1F;
  --brass-dark: #715A14;
  --brass-tint: #ECECEC;
  --bronze: #A26A1F;
  --bronze-tint: #F1E4CE;
  --gold: #A8863A;
  --gold-dark: #86692C;
  --gold-tint: #E8E8E8;
  --champagne: #E4CE9F;        /* brand gold: "and made possible." in the hero, the logo, nav numbers and Book a Call */
  --champagne-hover: #EFDDB6;
  --navy: #1E4066;
  --navy-dark: #15304F;
  --blue: #2C5B9E;
  --blue-tint: #E9EFF7;
  --dark: #081B33;
  --dark-2: #0F294E;
  --cream: #F3EFE7;
  --cream-soft: #CFC9BC;
  --grey-cool: #E9E9E9;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 29, 26, 0.08);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--nav-h) + 1px); }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-dark); text-decoration: none; }
a:hover { color: var(--brass); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
h3 { font-size: 1.45rem; }
.kicker {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--brass);
  margin-bottom: 10px;
}
.cta-dark .kicker, .page-hero .kicker { color: #E4CE9F; }
.kicker-logo { height: clamp(120px, 14vw, 168px); width: auto; display: block; margin: 0 0 14px 0; }
.kicker-logo-row { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.kicker-logo-row .kicker-logo { margin-bottom: 0; }
.kicker-photo-frame {
  display: block; height: clamp(120px, 14vw, 168px); width: clamp(120px, 14vw, 168px);
  border-radius: 0; overflow: hidden; flex: 0 0 auto;
  border: 2px solid var(--card); box-shadow: var(--shadow);
}
.kicker-photo-frame img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transform: scale(1.4); transform-origin: 50% 29%;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; text-wrap: pretty; }
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); }
#programs .section-head { max-width: none; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
}
.btn-primary { background: var(--brass-dark); color: #fff; }
.btn-primary:hover { background: var(--brass); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--cream); background: var(--navy); }
.btn-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-outline-strong { border-width: 2.5px; border-color: var(--navy-dark); color: var(--navy-dark); background: rgba(21, 48, 79, 0.08); }
.btn-outline-strong:hover { background: var(--navy-dark); color: var(--cream); }
.btn-solid-blue { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-solid-blue:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-bronze { background: var(--brass-dark); color: #fff; border-color: var(--brass-dark); }
.btn-bronze:hover { background: var(--brass); color: #fff; border-color: var(--brass); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: var(--cream-soft); color: var(--cream); background: rgba(24, 22, 18, 0.4); backdrop-filter: blur(3px); }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }
.btn-blue-gold { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-blue-gold:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* The "Loan Calculator" hero button is gold with a dark blue outline,
   wherever it appears, and darkens further on hover. */
.btn.btn-calc {
  background: var(--cream-soft); color: var(--navy); border: 2.5px solid var(--navy);
  padding: 10.5px 22.5px; font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn.btn-calc:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sticky mobile call/book bar ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 680px) {
  :root { --nav-h: 96px; }
}
@media (max-width: 680px) {
  body { padding-bottom: calc(55px + env(safe-area-inset-bottom, 0px)); }   /* the bar's own height, so no white strip shows under the footer */
  body.nav-open .mobile-cta-bar { display: none; }
  .mobile-cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.14);
  }
  .mobile-cta-bar a {
    flex: 1 1 50%; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 10px; font-family: var(--sans); font-size: 0.92rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
  }
  .mobile-cta-bar svg { flex: 0 0 auto; }
  .mobile-cta-bar .mobile-cta-call { background: var(--dark); color: var(--cream); }
  .mobile-cta-bar .mobile-cta-book { background: var(--brass-dark); color: #fff; }
}

/* ---------- Ariane Bibas brand (in nav) ---------- */
.nav-brand { position: relative; display: flex; align-items: center; gap: 12px; flex: 0 0 auto; text-decoration: none; }
/* The boxed "ariane bibas" logo, filling most of the header height. */
.nav-brand-mark { position: relative; display: block; width: 120px; height: 120px; flex: 0 0 auto; }
.nav-brand-mark img {
  position: absolute; inset: 0; height: 100%; width: 100%;
  object-fit: contain; object-position: center; transition: opacity 0.35s ease;
}
.nav-brand .brand-cream { opacity: 0; }
.site-header .nav-brand .brand-dark { opacity: 0; }
.site-header .nav-brand .brand-cream { opacity: 1; }
/* Portrait beside the logo, the same square size, as the heroes once showed them. */
.nav-brand-photo {
  display: block; flex: 0 0 auto; overflow: hidden;
  width: 120px; height: 120px;
  border: 2px solid var(--ink); transition: border-color 0.35s ease;
}
.site-header .nav-brand-photo { border-color: var(--cream); }
.nav-brand-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.nav-brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; transition: color 0.35s ease;
}
.site-header .nav-brand-name { color: var(--cream); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }

/* ---------- Header ---------- */
.site-header {
  transition: background 0.35s ease, border-color 0.35s ease;
}
/* Over the homepage photo: a soft dark fade behind the bar so the cream links stay legible. */
.site-header {
  background: linear-gradient(180deg, rgba(18, 16, 13, 0.62) 0%, rgba(18, 16, 13, 0.32) 65%, rgba(18, 16, 13, 0) 100%); border-bottom: 0; backdrop-filter: none;
}
.site-header .nav-links a:not(.btn) { color: rgba(247, 244, 237, 0.92); }
.site-header .nav-links a:not(.btn):hover { color: #fff; }
.site-header .nav-toggle { color: var(--cream); }
.site-header .nav-links a.btn-outline {
  border-width: 2px; border-color: var(--navy-dark); color: #fff;
  background: var(--navy-dark);
}
.site-header .nav-links a.btn-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
/* The frosted bar lives on ::before (not the header itself) so the fade below can blur the page too. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(249, 249, 249, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity 0.35s ease;
}
.site-header::before { opacity: 0; }
/* Once scrolling, the bar's bottom edge becomes a soft fade instead of a hard line, so the page
   dissolves into it as it slides up underneath. */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 64px; pointer-events: none;
  background: rgba(249, 249, 249, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
  opacity: 0; transition: opacity 0.3s ease;
}
.site-header.scrolled { border-bottom-color: transparent; }
.site-header.scrolled::after { opacity: 1; }
.nav {
  display: flex; align-items: center; gap: 20px;
  height: var(--nav-h); padding-top: 22px;
  max-width: var(--maxw);
}
.nav-links { margin-left: auto; }
/* ---------- Site search ---------- */
.nav-search-toggle {
  background: none; border: 0; display: flex; align-items: center; padding: 4px;
  color: var(--ink-soft); cursor: pointer;
}
.nav-search-toggle:hover { color: var(--ink); }
.site-header .nav-search-toggle { color: rgba(247, 244, 237, 0.92); }
.site-header .nav-search-toggle:hover { color: #fff; }
.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(18, 16, 13, 0.55); backdrop-filter: blur(2px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 20px 20px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: 100%; max-width: 640px; max-height: 78vh;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
}
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.search-input-row svg { flex: 0 0 auto; color: var(--ink-faint); }
#site-search-input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none;
  font-family: var(--sans); font-size: 1.05rem; color: var(--ink);
}
.search-close { border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--ink-faint); cursor: pointer; padding: 2px 6px; }
.search-close:hover { color: var(--ink); }
.search-results { overflow-y: auto; padding: 8px; flex: 1 1 auto; min-height: 0; }
.search-footer {
  flex: 0 0 auto; padding: 14px 22px; border-top: 1px solid var(--line);
  font-size: 0.92rem; color: var(--ink-soft); text-align: center;
}
.search-footer a { color: var(--brass-dark); font-weight: 700; }
.search-footer a:hover { color: var(--brass); }
.search-result { display: block; padding: 12px 14px; border-radius: 10px; }
.search-result:hover { background: var(--bg-alt); }
.search-result .sr-cat {
  display: block; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 4px;
}
.search-result .sr-title { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.search-result .sr-snippet { display: block; font-size: 0.92rem; color: var(--ink-soft); }
.search-result mark { background: var(--brass-tint); color: var(--brass-dark); border-radius: 3px; padding: 0 1px; }
.search-empty { padding: 34px 14px; text-align: center; color: var(--ink-faint); font-size: 0.92rem; }
.bio-lic {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass-dark); margin-top: 14px;
}
.about-cta { margin-top: 24px; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; flex-wrap: nowrap; }
.nav-links a {
  font-size: 1.08rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  letter-spacing: 0.02em;
}
.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { color: var(--ink); }
.nav-links a.nav-hot { color: var(--navy-dark); font-weight: 700; }
.site-header .nav-links a.nav-hot:not(.btn) { color: #E4CE9F; }
.nav-links a:not(.btn) { position: relative; padding-bottom: 4px; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav-links a:not(.btn):hover::after, .nav-links a.active:not(.btn)::after { transform: scaleX(1); }
.nav-links .btn { padding: 10px 22px; font-size: 0.92rem; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-outline { color: var(--cream); }
.nav-links a.btn-outline:hover { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ---------- Nav dropdowns (Loans / Resources) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none; border: 0; padding: 0 0 4px; margin: 0; cursor: pointer;
  font-family: var(--sans); font-size: 1.08rem; font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.02em; white-space: nowrap; position: relative;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-dropdown-toggle::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active { color: var(--ink); }
.nav-dropdown-toggle:hover::after, .nav-dropdown-toggle.active::after { transform: scaleX(1); }
.nav-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown.open .nav-caret { transform: rotate(225deg) translate(0, 1px); }
.nav-dropdown-menu {
  list-style: none; margin: 0; padding: 10px; z-index: 60;
  position: absolute; top: 100%; left: 50%; min-width: 190px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); margin-top: 12px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 1.02rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-dropdown-menu a.active { color: var(--brass-dark); font-weight: 700; }
/* The three most-used calculators, listed by name under "Loan Calculators" */
.nav-dropdown-menu a.nav-sub { padding-left: 30px; font-size: 0.95rem; }
.nav-dropdown-menu a.nav-sub::before { content: "– "; color: var(--brass); }
.nav-dropdown-menu a.nav-hot { color: var(--navy-dark); font-weight: 700; }
@media (min-width: 1101px) {
  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
  }
}
.site-header .nav-dropdown-toggle { color: rgba(247, 244, 237, 0.92); }
.site-header .nav-dropdown-toggle:hover,
.site-header .nav-dropdown-toggle.active { color: #fff; }
.site-header .nav-links .nav-dropdown-menu a:not(.btn) { color: var(--ink-soft); }
.site-header .nav-links .nav-dropdown-menu a:not(.btn):hover { background: var(--bg-alt); color: var(--ink); }
.site-header .nav-links .nav-dropdown-menu a.nav-hot { color: var(--navy-dark); }

/* ---------- Hero ---------- */
.hero-inner { max-width: 760px; will-change: transform, opacity; }
.hero .btn-row { flex-wrap: nowrap; }
.hero .btn { padding: 12px 20px; font-size: 0.92rem; letter-spacing: 0.1em; white-space: nowrap; }
.hero-creds {
  display: block; text-align: left;
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  margin: 0 0 6px;
}
.hero-creds:last-of-type { margin-bottom: 0; }
/* Licence numbers stay whole, so a narrow screen breaks the line before them instead. */
.hero-creds .org { white-space: nowrap; }
/* NAR mark rules: REALTOR in caps with the registered symbol shown. */
.hero-creds .reg { font-size: 0.62em; letter-spacing: normal; vertical-align: 0.5em; }
.hero .lede .reg { font-size: 0.6em; vertical-align: 0.45em; }
.hero-creds .sep { opacity: 0.5; }
/* Her own mark, large, with the name and all three roles listed beside it. */
.hero-identity { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; }
.hero-identity-media { display: none; }
/* The five disciplines, listed under the firm name. */
.hero-disciplines { list-style: none; margin: 0; padding: 0; }
/* Same label style as the firm name above (so the two read as one unit), in cream, each led by a short bronze dash. */
.hero-disciplines li {
  position: relative; padding-left: 30px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247, 244, 237, 0.92); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); line-height: 1.5; margin: 0 0 7px;
}
.hero-disciplines li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 16px; height: 1px; background: #E4CE9F; }
.hero-disciplines li:last-child { margin-bottom: 0; }

/* Intro: Ariane's photo large beside her story, licences at the end of it. */
.about-grid.about-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; }
.about-feature .about-photo-big { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 5; }
.about-feature .about-photo-big img { object-position: center; }
.about-licenses { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.about-licenses li { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 6px; }
.about-licenses strong { color: var(--ink); }
.about-licenses .reg, .about-text .reg { font-size: 0.6em; vertical-align: 0.5em; }

/* Whatever your situation: one large card per team, each with its own photo and button. */
.service-kicker { display: block; color: var(--brass); font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: 0.04em; margin-bottom: 12px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1120px; margin: 0 auto; }
.service-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.service-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 30px 32px 32px; }
.service-team { font-size: 0.92rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.service-card h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.1; margin-bottom: 14px; }
.service-card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; margin: 0 0 24px; flex: 1; }
.service-card .btn { align-self: flex-start; padding: 11px 20px; font-size: 0.92rem; }
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .service-body { padding: 24px 24px 26px; }
  .about-grid.about-feature { grid-template-columns: 1fr; }
  .about-feature .about-photo-big { grid-column: 1; grid-row: auto; max-width: 520px; }
}
@media (max-width: 680px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card h3 { font-size: 1.9rem; }
  .about-feature .about-photo-big { max-width: none; }
}
.hero-logo { display: block; height: clamp(120px, 14vw, 168px); width: auto; flex: 0 0 auto; }
.hero-identity-text { min-width: 0; }
.hero-name {
  display: block; font-family: var(--sans);
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: #E4CE9F;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); margin-bottom: 18px;
}
/* Top-aligned so the logo sits just under the C2 Financial mark in the header. */
.hero { position: relative; min-height: 86vh; margin-top: calc(-1 * var(--nav-h) - 6px); padding-top: calc(var(--nav-h) + 16px); padding-bottom: 48px; display: flex; align-items: flex-start; color: var(--cream); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { position: absolute; top: -6%; left: 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; transform-origin: center center; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .photo-hero-bg { animation: none; }
}
@media (min-width: 681px) {
  .hero-bg img[src*="newport-dining-final"] { height: 100%; top: 0; object-position: 0% center; }
}
@media (max-width: 680px) {
  .hero .btn-row { flex-wrap: wrap; }
  .hero .btn { white-space: normal; }
  .analysis-banner .btn-row { flex-wrap: wrap; }
  .analysis-banner .btn { white-space: normal; }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,16,13,0.92) 0%, rgba(18,16,13,0.6) 18%, rgba(18,16,13,0) 42%),
    linear-gradient(90deg, rgba(24,22,18,0.94) 0%, rgba(24,22,18,0.78) 40%, rgba(24,22,18,0) 70%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 24px; padding-bottom: 70px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 em { font-style: italic; color: #E4CE9F; }
.hero h1.hero-lead { margin-bottom: 26px; }
.hero .lede { color: rgba(247, 244, 237, 0.86); font-size: 1.12rem; font-style: italic; line-height: 1.7; max-width: 600px; margin: 26px 0 36px; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.hero .kicker { -webkit-text-stroke: 0; color: #E4CE9F; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.3em; margin-bottom: 10px; }

/* ---------- Pillars (three licenses) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; box-shadow: var(--shadow);
}
.pillar .num {
  font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--brass);
  display: block; margin-bottom: 14px;
}
.pillar:nth-child(2) .num { color: var(--blue); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Who I help ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#equity .help-grid { grid-template-columns: repeat(2, 1fr); }
.help-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.help-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.help-card p { font-size: 0.93rem; color: var(--ink-soft); }
.card-link { display: inline-block; margin-top: 12px; font-size: 0.92rem; font-weight: 700; color: var(--brass-dark); }

.help-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.help-pill {
  cursor: pointer;
  padding: 15px 28px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.02em; color: var(--ink);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.help-pill:hover {
  color: #fff; background: var(--brass-dark); border-color: var(--brass-dark);
  box-shadow: 0 4px 14px rgba(133, 102, 52, 0.35);
}
.help-pill.active {
  color: #fff; background: var(--brass-dark); border-color: var(--brass-dark);
  box-shadow: 0 4px 14px rgba(133, 102, 52, 0.35);
}
.help-panel { display: none; }
.help-panel.active { display: block; animation: help-panel-in 0.35s ease; }
@keyframes help-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Programs ---------- */
.bg-alt { background: var(--bg-alt); }
.bg-brass { background: var(--brass-tint); }
.bg-cool { background: var(--grey-cool); }
.bg-dark { background: var(--dark); color: var(--cream); }
.bg-dark .kicker { color: #E4CE9F; }
.bg-dark h2 { color: #fff; }
.bg-dark .section-head p { color: rgba(243, 239, 231, 0.75); }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program {
  background: var(--card); border: 2px solid var(--brass); border-radius: var(--radius);
  padding: 27px 23px; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.program { display: flex; flex-direction: column; color: inherit; }
.program:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: 0 0 0 4px var(--brass-tint), var(--shadow);
  background: linear-gradient(0deg, rgba(133, 102, 52, 0.07), rgba(133, 102, 52, 0.07)), var(--card);
}
.program .learn { display: block; margin-top: auto; padding-top: 16px; font-size: 0.92rem; font-weight: 700; color: var(--brass-dark); transition: color 0.2s ease; }
.program-thumb {
  display: block; margin: -28px -24px 18px; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 7;
}
.program-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85); transition: transform 0.4s ease, filter 0.4s ease;
}
.program:hover .program-thumb img { transform: scale(1.05); filter: saturate(1.1); }
.program-thumb img[src*="reverse"] { object-position: 50% 18%; }
.programs-xref { margin-top: 30px; font-size: 0.92rem; color: var(--ink-soft); line-height: 2.2; }
.programs-xref .chip { margin-left: 6px; }
.program.hot { border-top: 3px solid var(--brass); }
.program .badge {
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brass-dark); background: var(--brass-tint); border-radius: 20px;
  padding: 4px 11px; display: inline-block; margin-bottom: 12px;
}
.program h3 { font-size: 1.55rem; margin-bottom: 8px; font-weight: 700; transition: color 0.2s ease; }
.program p { font-size: 0.92rem; color: var(--ink-soft); transition: color 0.2s ease; }
.program-more {
  border-style: dashed; border-color: var(--line); background: var(--card);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 380px 1fr; column-gap: 64px; align-items: stretch; }
.about-sidebar { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 24px; align-self: start; }
.about-kicker-row { display: flex; flex-direction: row; align-items: flex-start; gap: 24px; }
.about-kicker-logo { height: clamp(90px, 10.5vw, 126px); width: auto; display: block; flex-shrink: 0; }
.about-id { display: flex; flex-direction: column; }
.about-name {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: 2.1rem; letter-spacing: 0.03em; color: var(--ink); margin-bottom: 8px;
}
.about-id .bio-lic { font-size: 1.02rem; line-height: 1.5; margin-top: 0; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; will-change: transform; }
.about-text { grid-column: 2; grid-row: 1; max-width: 700px; }
.about-text .kicker.about-tagline { font-size: clamp(2.6rem, 4.4vw, 3.9rem); font-style: normal; font-weight: 700; margin-bottom: 10px; }
.about-text h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; margin-bottom: 22px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }


/* ---------- Calculators ---------- */
#calculators .section-head { max-width: none; }
.calc-shell {
  background: var(--card); border: 1px solid var(--line); border-top: none;
  border-radius: var(--radius); box-shadow: 0 22px 60px rgba(31, 29, 26, 0.14); overflow: hidden;
  position: relative;
}
.calc-shell::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; z-index: 1;
  background: var(--brass);
}
.calc-tabs { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.calc-tab {
  flex: 0 1 auto; padding: 13px 20px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.05em; color: var(--ink-soft);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.calc-tab:hover { color: var(--gold-dark); background: var(--gold-tint); border-color: var(--gold); }
.tab-badge {
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--gold-dark); border-radius: 20px;
  padding: 2px 8px; margin-left: 7px; vertical-align: middle;
}
.calc-tab.active {
  /* #8F7030: the gold, deepened just enough for white text to pass 4.5:1 */
  color: #fff; background: #8F7030; border-color: #8F7030;
  box-shadow: 0 4px 14px rgba(184, 149, 46, 0.4);
}
.calc-tab.active .tab-badge { background: #fff; color: var(--gold-dark); }
.calc-panel { display: none; padding: 40px; }
.calc-panel.active { display: block; }
.calc-panel-head { margin-bottom: 28px; max-width: 720px; }
.calc-panel-head h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 6px; }
.calc-panel-head p { font-size: 0.93rem; color: var(--ink-soft); }
.calc-panel-body { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.calc-fields label { display: block; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); margin: 16px 0 6px; }
.calc-fields label:first-child { margin-top: 0; }
.field-hint { font-size: 0.92rem; color: var(--ink-faint); line-height: 1.4; margin: -2px 0 6px; }
.calc-warning {
  display: inline-block; margin-top: 12px; padding: 8px 14px; border-radius: 8px;
  background: var(--brass-tint); border: 1px solid var(--brass); color: var(--brass-dark);
  font-weight: 600; font-size: 0.92rem; line-height: 1.4;
}
.calc-checkbox { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); margin: 16px 0 6px; cursor: pointer; }
.calc-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brass-dark); cursor: pointer; }
.slider-row { display: flex; align-items: center; gap: 14px; }
.slider-row input[type="number"] { flex: 0 0 130px; width: 130px; }
.slider-row input[type="range"] { flex: 1; margin: 0; }
.slider-row .num-affix { position: relative; flex: 0 0 130px; width: 130px; }
.slider-row .num-affix input { width: 100%; }
.num-affix.dollar input { padding-left: 22px; }
.num-affix.dollar::before {
  content: "$"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--ink-soft); font-size: 0.95rem; pointer-events: none;
}
.num-affix.percent input { padding-right: 24px; }
.num-affix.percent::after {
  content: "%"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  color: var(--ink-soft); font-size: 0.95rem; pointer-events: none;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: var(--line); border-radius: 2px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brass-dark); border: 2px solid var(--card);
  box-shadow: 0 1px 4px rgba(31, 29, 26, 0.3); cursor: pointer;
}
input[type="range"]::-moz-range-track { height: 4px; background: var(--line); border-radius: 2px; }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--brass-dark);
  border: 2px solid var(--card); box-shadow: 0 1px 4px rgba(31, 29, 26, 0.3); cursor: pointer;
}
input[type="range"]:focus { outline: none; }
input[type="range"]:focus::-webkit-slider-thumb { outline: 2px solid var(--brass); outline-offset: 2px; }
.calc-fields input, .calc-fields select {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: var(--sans);
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink);
}
.calc-fields input:focus, .calc-fields select:focus { outline: 2px solid var(--brass); border-color: var(--brass); }
.calc-result { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; align-self: start; }
.calc-result .big { font-family: var(--serif); font-size: 2.6rem; color: var(--brass-dark); line-height: 1.1; }
.calc-result .big-label { font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.calc-result table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 0.92rem; }
.calc-result td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.calc-result td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.calc-note { font-size: 0.92rem; color: var(--ink-faint); margin-top: 18px; line-height: 1.5; }
.calc-note-link {
  background: none; border: 0; padding: 0; font: inherit; font-size: inherit;
  color: var(--brass-dark); font-weight: 700; cursor: pointer; text-decoration: underline;
}
.calc-note-link:hover { color: var(--brass); }

.calc-disclaimer, .programs-disclaimer {
  margin-top: 20px; font-size: 0.92rem; line-height: 1.65;
  color: var(--ink-faint); max-width: 980px;
  border-left: 3px solid var(--brass); padding-left: 16px; border-radius: 4px;
}

/* ---------- Amortization schedule ---------- */
/* ---------- Tax savings calculator ---------- */
.tax-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.tax-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.tax-stats span { display: block; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.tax-stats strong { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.tax-highlight { background: #EAF1E6; border: 1px solid #C9DCC0; border-radius: 10px; padding: 20px; margin-top: 20px; }
.tax-highlight .big-label { color: #3F6B37; }
.tax-highlight .big { color: #2F5233; }
.tax-highlight p { font-size: 0.92rem; color: #3F6B37; margin-top: 4px; }

.amort { margin-top: 18px; }
.amort summary { cursor: pointer; font-size: 0.92rem; font-weight: 600; color: var(--brass-dark); }
.amort-wrap { max-height: 260px; overflow: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; }
.amort-wrap table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.amort-wrap th, .amort-wrap td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.amort-wrap th:first-child, .amort-wrap td:first-child { text-align: left; }
.amort-wrap thead th { position: sticky; top: 0; background: var(--bg-alt); font-weight: 600; color: var(--ink-soft); }
.calc-subhead { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 28px 0 4px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc-fields > .calc-subhead:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cm-compare-label { margin-top: 24px; }
.cm-compare { max-height: none; margin-top: 8px; }
.cm-compare tr.cm-current td { font-weight: 700; color: var(--ink); background: var(--bg); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 2px solid var(--cream-soft); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink);
}
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.4rem; color: var(--brass); transition: transform 0.25s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { color: var(--ink-soft); padding-bottom: 24px; max-width: 720px; }
.faq-a p a { font-weight: 700; }

/* ---------- Resources teaser ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: block; color: inherit;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.resource-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.resource-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.resource-card:hover .thumb img { transform: scale(1.07); }
.resource-card:hover .thumb img[src*="ladera"] { transform: scale(1.6); }
.resource-card .body { padding: 24px; }
.resource-card .cat { font-size: 0.92rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.resource-card:nth-child(2) .cat { color: var(--navy); }
.resource-card h3 { font-size: 1.25rem; margin: 8px 0; }
.resource-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Photo hero backdrop ---------- */
.photo-hero, .analysis-banner { position: relative; overflow: hidden; }
.photo-hero-bg { position: absolute; inset: 0; }
.photo-hero-bg img { position: absolute; top: -6%; left: 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.photo-hero-tall { width: 100%; min-height: 760px; }
.photo-hero-tall .photo-hero-bg img { top: 0; height: 100%; object-fit: cover; object-position: center; }
/* Real Estate: the renovation film plays silently on a loop as the hero background */
.photo-hero-bg .hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.photo-hero-bg img[src*="couple-hero"] { object-position: 96% top; left: auto; right: 0; max-width: 1900px; }
.photo-hero-bg img[src*="blog-hero"] { object-position: 88% 40%; }
.photo-hero-bg img[src*="brooklyn-ph"] { top: 0; height: 100%; object-position: center bottom; }
.photo-hero-bg img[src*="guides-hero"] { object-position: center 100%; transform-origin: center bottom; scale: 1.2; }
.photo-hero-bg img[src*="blueprint-hero"] { object-position: center bottom; }
.photo-hero-bg img[src*="laguna-coastline"] { object-position: center 65%; }
.photo-hero-bg img[src*="construction-flipped"] { top: -2.5%; left: -1%; width: 104%; height: 105%; object-position: center top; }
.photo-hero-bg img[src*="ariane-house-hero"] { object-position: 70% 15%; }
.photo-hero-bg img[src*="ladera-ranch-aerial"] { object-position: center 85%; transform-origin: center bottom; transform: scale(1) !important; }
.photo-hero-bg img[src*="glossary-hero"] { object-position: center bottom; }
/* Loan Services: on wide screens the hero grows with the photo so heads at the top are never cut off. */
.photo-hero-tall:has(img[src*="glossary-hero"]) { min-height: max(760px, 44vw); }
.photo-hero-tall .photo-hero-bg img[src*="glossary-hero"] { object-position: center 20%; }
.photo-hero-bg:has(img[src*="glossary-hero"]) { transform-origin: center 70%; }
@media (min-width: 681px) {
  /* Container matches the source photo's own aspect ratio (1282x596), so
     object-fit: cover needs zero cropping on any edge above ~1420px wide --
     the whole photo, including Ariane at the door on the right, is fully
     visible. Below that, min-height keeps the overlaid heading/lede/badge
     block from overlapping itself, which reintroduces a little (much
     smaller than before) side-crop -- an unavoidable trade-off against a
     photo this much wider than the hero box is tall. The site-wide
     oversize/shift hack is disabled here so the starting frame is exactly
     the full photo; the standard hero-zoom animation is kept for the same
     slow parallax-style motion every other hero photo has. */
  /* Loan Services set the standard here; see .photo-hero-tall above. */
}
@media (min-width: 681px) {
  .photo-hero-bg { transform-origin: center center; }
  .photo-hero-bg:has(img[src*="brooklyn-ph"]) { transform-origin: center 55%; }
}
@media (max-width: 680px) {
  /* All page-hero photo banners: show the full photo above the text
     instead of cropping it as a background — nothing in the image
     gets cut off or covered by the headline. */
  .page-hero.photo-hero-tall { aspect-ratio: unset; min-height: 0; padding: 0; }
  .photo-hero-tall .photo-hero-bg { position: static; }
  .photo-hero-tall .photo-hero-bg img { position: static; width: 100%; height: auto; object-fit: initial; object-position: initial; }
  .photo-hero-tall .photo-hero-bg img[src*="couple-hero"] { aspect-ratio: 2128 / 912; object-fit: cover; object-position: 85% top; }
  .photo-hero-tall .photo-hero-bg::after { content: none; }
  .photo-hero-tall .photo-hero-bg .hero-video { position: static; display: block; height: auto; aspect-ratio: 16 / 9; }
  .photo-hero-tall .wrap { padding-top: 32px; padding-bottom: 48px; }
}
@media (min-width: 681px) {
  .photo-hero-tall .wrap { position: relative; }
  .photo-hero-tall .hero-lic-block { margin-top: 26px; }
  .photo-hero-tall .hero-lic-badges { margin-bottom: 14px; }
  .photo-hero-tall .hero-lic { line-height: 1.7; }
  .photo-hero-tall .hero-lic-block + .btn-row { margin-top: 24px !important; }
  .photo-hero-tall .hero-lic { margin-top: 0; }
}
.photo-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18, 16, 13, 0.93) 0%, rgba(18, 16, 13, 0.82) 55%, rgba(18, 16, 13, 0.55) 100%);
}
.analysis-banner .photo-hero-bg::after {
  background: linear-gradient(100deg, rgba(18, 16, 13, 0.93) 0%, rgba(18, 16, 13, 0.85) 45%, rgba(18, 16, 13, 0.45) 65%, rgba(18, 16, 13, 0.05) 100%);
}
.photo-hero-tall .photo-hero-bg::after {
  background: linear-gradient(100deg, rgba(18, 16, 13, 0.92) 0%, rgba(18, 16, 13, 0.8) 32%, rgba(18, 16, 13, 0.35) 48%, rgba(18, 16, 13, 0) 60%);
}
.photo-hero-bg:has(img[src*="glossary-hero"])::after {
  background: linear-gradient(100deg, rgba(18, 16, 13, 0.78) 0%, rgba(18, 16, 13, 0.65) 35%, rgba(18, 16, 13, 0.3) 50%, rgba(18, 16, 13, 0) 62%);
}
.photo-hero .wrap, .analysis-banner .wrap { position: relative; z-index: 2; will-change: transform, opacity; }

/* ---------- Analysis banner ---------- */
.analysis-banner {
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--cream); padding: 84px 0;
}
.analysis-banner h2 { color: #fff; margin-bottom: 18px; }
.analysis-banner .kicker { color: #E4CE9F; }
.analysis-banner .lede { color: rgba(247, 244, 237, 0.9); margin-bottom: 32px; max-width: 720px; }
.analysis-banner .btn-row { flex-wrap: nowrap; }
.analysis-banner .btn-calc {
  padding: 15.5px 32.5px; font-size: 0.92rem;
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.analysis-banner .btn-calc:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Dark CTA ---------- */
.cta-dark { background: var(--dark); color: var(--cream); text-align: center; }
.cta-dark h2 { color: #fff; }
.cta-dark .lede { color: rgba(243,239,231,0.8); margin: 18px auto 34px; }
.cta-dark .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--cream-soft); padding: 70px 0 40px; border-top: 1px solid var(--dark-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 36px; margin-bottom: 48px; }
.site-footer h4, .site-footer .footer-h {
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer a {
  color: var(--cream-soft); display: inline-block;
  padding: 4px 12px; margin: -4px -12px;
  border-radius: 999px; border: 1px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.site-footer a:hover { color: #fff; background: #000; border-color: #fff; }
.footer-brand .name { font-family: var(--serif); font-size: 1.5rem; color: #fff; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; display: block; }
.footer-brand .tag { font-size: 0.92rem; font-weight: 700; letter-spacing: 0.62em; text-transform: uppercase; color: #E4CE9F; display: block; margin: 3px 0 16px; }
.footer-brand p { font-size: 0.92rem; }
.footer-mark { height: 110px; width: auto; display: block; margin-bottom: 14px; }
.footer-title { font-size: 0.92rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #E4CE9F; display: block; margin: 4px 0 16px; }
/* Contact column: one email per side of the business, each under a small gold label. */
.footer-contact li { margin-bottom: 18px; }
.footer-contact-label {
  display: block; margin-bottom: 6px;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #E4CE9F;
}
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin: 22px 0 6px; }
.footer-logos img, .footer-logos a { flex: 0 0 auto; }
.footer-logos img { height: 30px; width: auto; opacity: 0.95; }
.footer-logos img.eho { height: 42px; }
.footer-logos img.nmls { height: 38px; }
.footer-logos img.csr { height: 34px; }
/* Design credit: the one place on a mortgage site that sells her design practice,
   so it sits above the legal fine print rather than inside it. */
.design-credit {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin: 8px 0 30px; padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.design-credit-mark { width: 62px; height: 62px; flex: 0 0 auto; object-fit: contain; }
.design-credit p { flex: 1 1 320px; margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--cream); }
.design-credit p strong { color: #fff; }
.design-credit .btn { flex: 0 0 auto; padding: 10px 18px; font-size: 0.92rem; white-space: nowrap; }
/* .site-footer a would otherwise repaint this cream-on-cream. */
.site-footer .design-credit .btn { color: var(--ink); margin: 0; border-color: transparent; }
.site-footer .design-credit .btn:hover { color: var(--ink); background: #fff; border-color: transparent; }
@media (max-width: 680px) {
  .design-credit { gap: 16px; padding: 20px; }
  .design-credit-mark { width: 52px; height: 52px; }
  .design-credit p { flex-basis: 100%; font-size: 0.92rem; }
  .design-credit .btn { width: 100%; text-align: center; }
}
.compliance .license-line {
  font-size: 1.02rem; color: var(--cream); line-height: 1.8; margin-bottom: 18px;
}
.compliance .license-line strong {
  color: #fff; font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.04em;
}
.compliance .license-line .lic {
  color: #E4CE9F; font-weight: 700; letter-spacing: 0.05em;
}
.compliance {
  position: relative; padding-top: 30px;
  font-size: 0.92rem; line-height: 1.75; color: #C6C0B2;
}
.compliance::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 600px; max-width: 100%; height: 1px; background: var(--dark-2);
}
.compliance p { margin-bottom: 10px; }
.compliance .replace { color: #E4CE9F; }

/* ---------- Inner-page hero ---------- */
.page-hero { background: var(--dark); color: var(--cream); padding: 90px 0 70px; }
/* These heroes carry a full-size logo and portrait, so they run tighter top and bottom. */
.page-hero.photo-hero-tall { padding-top: 72px; padding-bottom: 36px; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
.page-hero .lede { color: rgba(243,239,231,0.85); margin-top: 16px; }
.photo-hero-tall .lede { max-width: 440px; }
.page-hero .kicker { color: #E4CE9F; }
.hero-lic-block { margin-top: 40px; }
.hero-lic-badges { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.hero-lic-logo { display: block; height: 224px; width: auto; margin-bottom: 0; }
.hero-lic-photo-frame {
  display: block; height: 224px; width: 224px; margin-bottom: 0;
  border-radius: 0; overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.hero-lic-photo {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
}
.hero-lic {
  display: block; margin-top: 20px; font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; line-height: 1.8;
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  text-wrap: pretty;
}
.hero-lic-block .hero-lic { margin-top: 0; }
.hero-lic.article-lic {
  color: var(--ink-faint); text-shadow: none; text-transform: none;
  letter-spacing: 0.04em; font-weight: 600; margin: -8px 0 20px;
}
.lic-sep { display: none; }
.hero-lic-title { display: block; }

/* ---------- Glossary primer ---------- */
.primer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.primer-card {
  background: var(--card); border: 2px solid var(--brass); border-radius: var(--radius);
  padding: 28px 26px;
}
.primer-card h3 { font-size: 1.55rem; margin-bottom: 6px; font-weight: 700; }
.primer-card > p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 14px; min-height: 44px; }
.facts { list-style: none; margin-bottom: 16px; }
.facts li {
  font-size: 0.92rem; color: var(--ink); padding: 7px 0;
  border-bottom: 1px dashed var(--line); line-height: 1.45;
}
.facts li span {
  display: block; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass-dark);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; font-size: 0.92rem; font-weight: 700; cursor: pointer;
  background: var(--brass-tint); color: var(--brass-dark);
  padding: 5px 13px; border-radius: 999px; transition: background 0.15s, color 0.15s;
}
.chip:hover { background: var(--brass); color: #fff; }
.chip-tooltip {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(4px);
  width: max-content; max-width: min(280px, calc(100vw - 48px));
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow); padding: 12px 14px;
  font-size: 0.92rem; font-weight: 400; line-height: 1.5; text-align: left;
  letter-spacing: normal; text-transform: none; white-space: normal;
  opacity: 0; pointer-events: none; z-index: 300;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.chip-tooltip::after {
  content: ""; position: absolute; top: 100%; left: calc(50% - var(--tip-shift, 0px)); transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--card);
}
.chip:hover .chip-tooltip, .chip:focus-within .chip-tooltip, .chip.open .chip-tooltip {
  opacity: 1; pointer-events: auto; transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(0);
}
.chip-tooltip-link {
  display: block; margin-top: 8px; font-size: 0.92rem; font-weight: 700; color: var(--brass-dark);
}
.chip-tooltip-link:hover { color: var(--brass); }
.cat-pills {
  position: sticky; top: calc(var(--nav-h) + 1px); z-index: 91;
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px;
  margin: 0; padding: 14px 2px;
  background: var(--bg-alt);
}
.cat-pills .pill {
  flex: 0 0 auto; line-height: 1;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 600; cursor: pointer;
  background: var(--card); color: var(--ink-soft); border: 1px solid var(--line);
  padding: 10px 20px; border-radius: 999px; transition: all 0.15s;
}
.cat-pills .pill:hover { border-color: var(--brass); color: var(--brass-dark); }
.cat-pills .pill.on { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.term-card:hover, .primer-card:hover {
  border-color: var(--brass);
  box-shadow: 0 0 0 4px var(--brass-tint), var(--shadow);
  background: linear-gradient(0deg, rgba(133, 102, 52, 0.07), rgba(133, 102, 52, 0.07)), var(--card);
  transform: translateY(-4px);
  transition: all 0.2s ease;
}
.term-card.focused, .primer-card.focused {
  border-color: var(--brass);
  box-shadow: 0 0 0 4px var(--brass-tint), var(--shadow);
  background: linear-gradient(0deg, rgba(133, 102, 52, 0.05), rgba(133, 102, 52, 0.05)), var(--card);
  animation: focus-pulse 1.6s ease 2;
}
@keyframes focus-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--brass-tint), var(--shadow); }
  50% { box-shadow: 0 0 0 9px var(--brass-tint), var(--shadow); }
}
.term-card mark { background: #F3E3B8; color: var(--ink); padding: 0 2px; border-radius: 3px; }
.term-aka { font-size: 0.92rem; color: var(--ink-faint); margin-top: 8px; }
.term-aka span { font-weight: 600; color: var(--brass-dark); }
.term-ex {
  margin-top: 12px; padding: 14px 18px; font-size: 0.92rem; line-height: 1.6;
  background: var(--bg-alt); border-left: 3px solid var(--brass); border-radius: 8px;
  color: var(--ink-soft);
}
.term-ex strong { color: var(--brass-dark); }
#glossary-go { padding: 13px 28px; }
@media (max-width: 980px) { .primer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .primer-grid { grid-template-columns: 1fr; } }

/* ---------- Glossary ---------- */
.glossary-controls { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.glossary-controls input, .glossary-controls select {
  padding: 13px 16px; font-size: 0.95rem; font-family: var(--sans);
  border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink);
}
.glossary-controls input { flex: 1; min-width: 240px; }
.letter-nav {
  position: sticky; top: 149px; z-index: 90;
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px;
  margin: 0 0 40px; padding: 14px 2px;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.letter-nav a {
  flex: 0 0 auto;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 6px; font-size: 0.92rem; font-weight: 600;
  color: var(--ink-soft); background: var(--card);
}
.letter-nav a.on:hover { border-color: var(--brass); color: var(--brass-dark); }
.letter-nav a.off { opacity: 0.3; pointer-events: none; }
.glossary-letter, .term-card { scroll-margin-top: calc(var(--nav-h) + 129px); }
.glossary-letter { font-family: var(--serif); font-size: 2.2rem; color: var(--brass); border-bottom: 1px solid var(--line); margin: 44px 0 20px; padding-bottom: 6px; }
.term-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 14px; }
.term-card h3 { font-size: 1.25rem; display: inline; }
.term-card .cat-pill {
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass-dark); background: var(--brass-tint); border-radius: 20px; padding: 3px 10px;
  margin-left: 10px; vertical-align: middle; white-space: nowrap;
}
.term-card p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px; }

/* ---------- Guides ---------- */
.guide-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; overflow: hidden; }
.guide-head { width: 100%; background: none; border: 0; text-align: left; cursor: pointer; padding: 28px 60px 28px 30px; position: relative; }
.guide-head h3 { font-size: 1.45rem; margin-bottom: 4px; }
.guide-head .sub { color: var(--ink-soft); font-size: 0.93rem; font-family: var(--sans); text-wrap: balance; }
.guide-head .cat-pill {
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass-dark); background: var(--brass-tint); border-radius: 20px; padding: 3px 10px;
  display: inline-block; margin-bottom: 10px; font-family: var(--sans);
}
.guide-head::after {
  content: "+"; position: absolute; right: 28px; top: 34px;
  font-size: 1.5rem; color: var(--brass); transition: transform 0.25s;
}
.guide-card.open .guide-head::after { transform: rotate(45deg); }
.guide-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.guide-body-inner { padding: 0 30px 30px; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; }
.guide-body h3 { font-size: 1.35rem; margin: 24px 0 10px; color: var(--ink); }
.guide-body ul, .guide-body ol { padding-left: 22px; margin: 8px 0; }
.guide-body li { margin-bottom: 8px; }
.guide-body p { margin-bottom: 12px; }

/* ---------- Blog ---------- */
.post-list .post-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 22px; color: inherit; transition: transform 0.2s, box-shadow 0.2s;
}
.post-list .post-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.post-row .thumb { height: 100%; min-height: 200px; overflow: hidden; }
.post-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.thumb img[src*="ladera"] { object-position: center 80%; transform-origin: center bottom; transform: scale(1.5); }
.post-list .post-row:hover .thumb img { transform: scale(1.07); }
.post-list .post-row:hover .thumb img[src*="ladera"] { transform: scale(1.6); }
.post-row .body { padding: 26px 30px 26px 0; }
.post-row .meta { font-size: 0.92rem; color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase; text-wrap: balance; }
.post-row h3 { font-size: 1.55rem; font-weight: 700; margin: 8px 0; }
.post-row p { color: var(--ink-soft); font-size: 0.95rem; text-wrap: pretty; }

/* Article pages */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { font-size: 0.92rem; color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; text-wrap: pretty; }
.article h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 24px; }
.article h2 { font-size: 1.7rem; margin: 36px 0 14px; }
.article p { color: var(--ink-soft); margin-bottom: 16px; }
.article ul, .article ol { padding-left: 24px; color: var(--ink-soft); margin-bottom: 16px; }
.article li { margin-bottom: 8px; }
.article .hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 34px; }
.article .hero-img img { width: 100%; height: auto; will-change: transform; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.before-after figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.before-after img { width: 100%; height: 100%; object-fit: cover; }
.before-after figcaption {
  position: absolute; top: 12px; left: 12px; padding: 5px 12px;
  font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(20, 18, 14, 0.55); border-radius: 100px;
  backdrop-filter: blur(2px);
}
.article .caption { font-size: 0.92rem; color: var(--ink-faint); margin-top: -6px; margin-bottom: 26px; text-wrap: pretty; }
@media (max-width: 560px) {
  .before-after { grid-template-columns: 1fr; }
}

/* ---------- Loan Analysis quiz ---------- */
.quiz-shell {
  max-width: 780px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--brass);
  box-shadow: 0 22px 60px rgba(31, 29, 26, 0.12); padding: 46px 50px 50px;
}
.quiz-progress { display: flex; gap: 8px; margin-bottom: 30px; }
.quiz-progress .dot { width: 34px; height: 4px; background: var(--line); transition: background 0.3s; }
.quiz-progress .dot.done { background: var(--brass); }
.quiz-progress .dot.now { background: var(--ink); }
.quiz-count { font-size: 0.92rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 10px; }
.quiz-q { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 26px; }
.quiz-q em { color: var(--brass-dark); }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opt {
  text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; cursor: pointer; font-family: var(--sans);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
@media (hover: hover) { .quiz-opt:hover { border-color: var(--brass); background: var(--brass-tint); transform: translateX(4px); } }
.quiz-opt.picked { border-color: var(--brass); background: var(--brass-tint); }
.quiz-opt strong { display: block; font-size: 1.02rem; color: var(--ink); }
.quiz-opt span { display: block; font-size: 0.92rem; color: var(--ink-faint); margin-top: 3px; }
.quiz-back { background: none; border: 0; color: var(--brass-dark); font-weight: 600; font-size: 0.92rem; cursor: pointer; margin-top: 22px; padding: 4px 0; }
.quiz-recap { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 24px; }
.quiz-recap-label { font-size: 0.92rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 10px; }
.quiz-recap-list { display: grid; gap: 8px; }
.quiz-recap-list li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.92rem; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.quiz-recap-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.quiz-recap-list li span { color: var(--ink-faint); }
.quiz-why { color: var(--ink-soft); margin-bottom: 14px; font-size: 1.05rem; }
.quiz-power {
  background: var(--bg-alt); border-left: 3px solid var(--brass); border-radius: 10px;
  padding: 18px 22px; margin: 18px 0;
}
.quiz-power span { display: block; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-dark); }
.quiz-power strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--ink); margin: 4px 0; }
.quiz-power em { display: block; font-size: 0.92rem; color: var(--ink-faint); font-style: normal; line-height: 1.5; }
.quiz-alt { color: var(--ink-faint); font-size: 0.92rem; margin-bottom: 8px; }
.quiz-h3 { font-family: var(--serif); font-size: 1.3rem; margin: 26px 0 12px; }
.quiz-steps-list { padding-left: 22px; color: var(--ink-soft); }
.quiz-steps-list li { margin-bottom: 8px; }
.quiz-tools { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.quiz-tools a { font-weight: 600; font-size: 0.92rem; }
.prequal {
  margin-top: 30px; padding: 28px; background: var(--brass-tint); border-radius: 12px;
  border-left: 3px solid var(--brass);
}
.prequal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 18px; }
.prequal-grid input {
  padding: 13px 14px; font-size: 0.98rem; font-family: var(--sans);
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.prequal-grid input:focus { outline: 2px solid var(--brass); }
@media (max-width: 680px) { .quiz-shell { padding: 30px 22px 36px; } .prequal-grid { grid-template-columns: 1fr; } }

/* ---------- Calculator lead capture ---------- */
.calc-panel-body > .calc-note, .calc-panel-body > .calc-lead { grid-column: 1 / -1; }
.calc-panel-body > .calc-note { margin-top: 4px; }
.calc-lead { margin-top: 28px; }
.calc-lead .lc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.prequal .pq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lc-consent-row { align-items: flex-start; font-weight: 400; font-size: 0.92rem; line-height: 1.5; gap: 10px; margin: 14px 0; }
.lc-consent-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.lc-note.error { color: #A23B3B; }
.lc-note.success { color: #3F6B37; font-weight: 600; }
.calc-lead .lc-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Split-word headline entrance ---------- */
.split-headline .w { display: inline-block; opacity: 0; transform: translateX(-16px); }
.reveal.visible .split-headline .w,
.reveal.visible.split-headline .w {
  opacity: 1; transform: none;
  transition: opacity 0.6s cubic-bezier(0.22,0.7,0.3,1), transform 0.6s cubic-bezier(0.22,0.7,0.3,1);
  transition-delay: var(--stagger, 0s);
}
.hero .split-headline .w,
.page-hero .split-headline .w {
  animation: wordIn 0.6s cubic-bezier(0.22,0.7,0.3,1) both;
  animation-delay: calc(var(--stagger, 0s) + 0.15s);
}
@keyframes wordIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .split-headline .w { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ---------- Path to Closing steps ---------- */
.path-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.path-rail {
  grid-column: 1 / -1; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
  margin-bottom: 4px;
}
.path-rail::before {
  content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 50%;
  height: 2px; background: rgba(239, 239, 239, 0.25); transform: translateY(-50%); z-index: 0;
}
.bg-alt .path-rail::before {
  background: var(--line);
}
.path-dot {
  position: relative; z-index: 1; width: 54px; height: 54px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--brass); color: var(--cream);
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
  box-shadow: var(--shadow);
}
.path-step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.path-step .step-label {
  display: block; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 14px;
}
.path-step h3 { margin-bottom: 12px; }
.path-step p { color: var(--ink-soft); font-size: 0.97rem; }
/* Pin the Apply Now link to the same bottom edge across every card in the
   row, regardless of how much text sits above it in each one. */
.path-step .card-link { margin-top: auto; padding-top: 16px; }
.path-steps .path-step:nth-child(2) { transition-delay: 0s; }
.path-steps .path-step:nth-child(3) { transition-delay: 0.12s; }
.path-steps .path-step:nth-child(4) { transition-delay: 0.24s; }
.path-steps .path-step:nth-child(5) { transition-delay: 0.36s; }
.path-recap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.path-recap-label {
  text-align: center; font-weight: 700; font-size: 0.95rem; color: var(--ink);
}
.path-details { margin-top: 28px; text-align: center; }
.path-details-summary {
  cursor: pointer; list-style: none; user-select: none;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-dark);
}
.path-details-summary::-webkit-details-marker { display: none; }
/* Hairline plus: two 1px drafting lines (not a text glyph), like the marks beside the hero disciplines. */
.path-details-summary::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 16px no-repeat;
  transition: transform 0.3s ease;
}
.path-details-summary:hover::before { transform: rotate(90deg); }
.path-details[open] .path-details-summary::before {
  background: linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat;
}
.path-details-summary:hover { color: var(--brass); }
.path-steps-details { margin-top: 30px; text-align: left; }
.engagement-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; margin-top: 8px; }
.engagement-track p { color: var(--ink-soft); margin: 14px 0 24px; }
.engagement-track ul { padding-left: 20px; margin: 4px 0 20px; }
.engagement-track ul li { margin-bottom: 10px; color: var(--ink-soft); }
.engage-steps { display: grid; gap: 16px; margin-bottom: 20px; }
/* Flat-grid variant: intro copy, then each Step N pair, then each closing
   link, all placed directly as siblings in the same 2-column grid as
   .engagement-tracks -- so a row's height matches its taller cell instead of
   two independently-flowing columns drifting out of alignment. */
.engagement-track-intro p { color: var(--ink-soft); margin: 14px 0 0; }
.engagement-tracks > .card-link { align-self: start; }
@media (max-width: 980px) {
  .engagement-tracks { grid-template-columns: 1fr; gap: 40px; }
  /* Regroup the flat 2-column grid back into two complete, coherent blocks
     once stacked to one column -- otherwise the two tracks' rows would
     interleave in DOM order (intro A, intro B, step 1 A, step 1 B, ...). */
  .engagement-tracks > :nth-child(1) { order: 1; }
  .engagement-tracks > :nth-child(3) { order: 2; }
  .engagement-tracks > :nth-child(5) { order: 3; }
  .engagement-tracks > :nth-child(7) { order: 4; }
  .engagement-tracks > :nth-child(9) { order: 5; }
  .engagement-tracks > :nth-child(2) { order: 6; }
  .engagement-tracks > :nth-child(4) { order: 7; }
  .engagement-tracks > :nth-child(6) { order: 8; }
  .engagement-tracks > :nth-child(8) { order: 9; }
  .engagement-tracks > :nth-child(10) { order: 10; }
}
@media (max-width: 980px) {
  .path-steps { grid-template-columns: 1fr 1fr; }
  .path-steps .path-rail { display: none; }
}
@media (max-width: 680px) {
  .path-steps { grid-template-columns: 1fr; }
  .path-recap { gap: 10px; }
  .path-recap .path-dot { width: 40px; height: 40px; font-size: 1rem; }
  .path-recap-label { font-size: 0.92rem; line-height: 1.25; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .pillars, .help-grid, .resource-grid { grid-template-columns: 1fr 1fr; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-sidebar, .about-text { grid-column: 1; grid-row: auto; }
  .about-sidebar { max-width: 420px; margin-top: 0; }
  .calc-panel-body { grid-template-columns: 1fr; }
  .tax-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 4px 24px 14px; gap: 0;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  /* Compact menu: each link is one slim row with a hairline divider, no big gaps. */
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li:last-child { border-bottom: 0; padding-top: 10px; }
  .nav-links > li > a:not(.btn), .nav-links .nav-dropdown-toggle { display: flex; padding: 10px 0; font-size: 1.05rem; line-height: 1.3; }
  .nav-links a:not(.btn)::after, .nav-links .nav-dropdown-toggle::after { display: none; }
  .nav-links a.active:not(.btn) { color: var(--brass-dark); font-weight: 600; }
  .nav-links .btn { display: block; text-align: center; padding: 10px 20px; line-height: 1.3; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header .nav-links.open a:not(.btn) { color: var(--ink-soft); }
  .site-header .nav-links.open .nav-dropdown-toggle { color: var(--ink-soft); }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 0 0 4px; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; margin: 10px 0 0; padding: 0 0 0 16px;
    background: none; border: 0; box-shadow: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; }
  .nav-dropdown-menu a { padding: 0; }
  .nav-dropdown-menu a.nav-sub { padding-left: 16px; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .pillars, .help-grid, .resource-grid, .programs-grid { grid-template-columns: 1fr; }
  #equity .help-grid { grid-template-columns: 1fr; }
  .post-list .post-row { grid-template-columns: 1fr; }
  .post-row .body { padding: 0 26px 26px; }
  /* Phone hero, top to bottom: the dining room as a wide band under a slim header, then
     Ariane's logo and portrait stacked on the left with her name and titles to the right,
     then the headline, paragraph and buttons — all on the navy panel. The header's logo
     and portrait are hidden on phones because they live here instead. */
  :root { --nav-h: 64px; }
  .nav { padding-top: 0; }
  .site-header.over-hero .nav-brand { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; margin-top: calc(-1 * var(--nav-h) - 6px); padding: 0 0 48px; background: var(--dark); }
  /* .wrap and .hero-inner become transparent so the identity row can sit above the photo band */
  .hero .wrap, .hero-inner { display: contents; }
  .hero-inner > * { margin-left: 24px; margin-right: 24px; }
  .hero-identity { order: -1; }
  /* Headline leads, right under the menu bar, ahead of the logo-and-disciplines row */
  .hero-inner .split-headline.hero-lead { order: -2; margin: 0; padding: calc(var(--nav-h) + 18px) 24px 0; background: var(--dark); }
  .hero-inner .split-headline.hero-lead + .hero-identity { padding-top: 18px; }
  .hero-bg { order: 0; display: block; position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; margin: 0; }
  .hero-inner .split-headline { order: 1; margin: 22px 24px 0; }
  .hero-inner .lede { order: 2; }
  .hero-inner .btn-row { order: 3; }
  .hero-bg img { top: -15%; height: 130%; object-position: 40% center; }
  .photo-hero-bg img { top: -15%; height: 130%; }
  .hero-bg::after { display: none; }
  .hero-identity { display: flex; align-items: center; gap: 20px; margin: 0; padding: calc(var(--nav-h) + 14px) 24px 22px; background: var(--dark); }
  .hero-identity-media { display: flex; flex-direction: row; gap: 10px; flex: 0 0 auto; }
  .hero-logo { display: block; height: 104px; width: auto; }
  .hero-portrait { display: block; width: 80px; height: 80px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.55); }
  .hero-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hero-identity-text { min-width: 0; }
  .hero-name { display: none; }
  .hero-disciplines li { font-size: 0.88rem; letter-spacing: 0.06em; line-height: 1.3; margin-bottom: 7px; white-space: normal; padding-left: 24px; }
  .hero-disciplines li::before { width: 12px; top: 0.62em; }
  .hero-creds { font-size: 0.92rem; letter-spacing: 0.05em; line-height: 1.45; margin-bottom: 4px; }
  .hero-creds:last-of-type { margin-bottom: 0; }
  /* Too narrow for role and licence on one line, so drop the licence to its own line
     rather than let the separator dangle at the end of the first one. */
  .hero-creds .sep { display: none; }
  .hero-creds .org { display: block; }
  .hero h1 { font-size: 2.5rem; }
}
/* Very narrow phones (iPhone SE and similar): the words drop beneath the headshot-and-logo pair. */
@media (max-width: 360px) {
  .hero-identity { flex-wrap: wrap; gap: 12px 14px; }
  .hero-identity-text { flex: 1 1 100%; }
}

/* ---------- Mobile readiness (2026-09-14 audit) ---------- */
/* Off-screen decor (hidden term tooltips, zoomed hero photos) must never let the page scroll sideways.
   `clip` rather than `hidden` so the sticky glossary bars and header keep working. */
html, body { overflow-x: clip; }

@media (max-width: 1100px) {
  /* Hamburger: 44px tap target without shifting the layout */
  .nav-toggle { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; margin-right: -10px; }
  /* Open menu: every row starts at the same left edge; the two buttons span the full width */
  .nav-links { align-items: stretch; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: inline-block; }
  .nav-links .nav-search-toggle { padding: 8px 12px; margin: 0 0 0 -12px; }
  .site-header .nav-links.open .nav-search-toggle { color: var(--ink-soft); }
  .nav-links .btn { display: block; text-align: center; }
}

@media (max-width: 680px) {
  /* iPhones zoom the page when a focused field is under 16px */
  .calc-fields input, .calc-fields select,
  .glossary-controls input, .glossary-controls select,
  .prequal-grid input, .calc-lead input:not([type="checkbox"]),
  .search-input-row input { font-size: 16px; }

  /* Hero: shorter paragraph so the buttons land on the first screen */
  .hero .lede { font-size: 1.05rem; margin: 14px 24px 22px; }

  /* Buttons: slightly tighter so labels like "Browse All Loan Programs →" fit on one line */
  .btn { padding: 11px 20px; letter-spacing: 0.08em; }

  /* Calculators: fields were 41px wider than their column and ran into the card edge */
  .calc-panel { padding: 28px 20px; }
  .calc-panel-body { gap: 28px; }
  .calc-panel-body > * { min-width: 0; }
  .slider-row input[type="number"], .slider-row .num-affix { flex: 0 0 112px; width: 112px; }
  .calc-result table, .amort-wrap table { display: block; overflow-x: auto; }
  .cm-compare table { display: table; font-size: 0.8rem; }
  .cm-compare th, .cm-compare td { padding: 7px 5px; }

  /* Tap targets */
  .letter-nav { gap: 8px; }
  .letter-nav a { width: 40px; height: 40px; }
  .glossary-letter, .term-card { scroll-margin-top: 219px; }
  .chip { padding: 8px 14px; }
  .card-link { padding: 8px 0; margin-top: 4px; }
}

/* ---------- Design services page ---------- */
/* This hero's photo is 1800x1201 — much squarer than the 2128x912 banners the other
   heroes use — so at the shared 730px height most of the room was being cropped away.
   Matching the photo's own proportion shows it nearly whole, capped so it cannot
   swallow a large screen. */
#design-hero .photo-hero-bg img { object-position: center 55%; }

/* The page is carried by photographs, so the sections sit tighter than the site default. */
.page-design .section { padding: 54px 0; }
.page-design .section-head { margin-bottom: 30px; }
.page-design .section-head p { margin-top: 12px; }
.page-design .film-band { padding-top: 40px; padding-bottom: 20px; }
.page-design #portfolio { padding-top: 34px; }
.page-design .design-disclosure { margin-top: 26px; }
/* Portfolio tiles: image-led, title over the photo, the way her own portfolio reads. */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.portfolio-tile { position: relative; margin: 0; border-radius: 14px; overflow: hidden; }
.portfolio-tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-tile:hover img { transform: scale(1.06); }
.portfolio-tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(180deg, rgba(8, 27, 51, 0) 0%, rgba(8, 27, 51, 0.78) 100%);
}
/* Clean photos until you hover. Only where a pointer can hover — on a phone there
   is no hover, so the titles stay visible or the projects would have no names. */
@media (hover: hover) {
  .portfolio-tile figcaption { opacity: 0; transition: opacity 0.28s ease; }
  .portfolio-tile:hover figcaption,
  .portfolio-tile:focus-within figcaption { opacity: 1; }
}
.pt-title {
  color: #fff; font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
@media (max-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.ba-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ba-shot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; }
.ba-shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ba-shot figcaption { position: absolute; left: 16px; bottom: 16px; }
.ba-tag {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(8, 27, 51, 0.82); color: var(--cream);
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.ba-tag-after { background: var(--brass-dark); color: #fff; }
/* Interactive before/after: drag anywhere on the photo; the before shot is clipped at --pos. */
#before-after h2 em { font-style: italic; color: #E4CE9F; }
.ba-slider { position: relative; max-width: 1080px; margin: 0 auto; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; user-select: none; touch-action: pan-y; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag-left, .ba-tag-right { position: absolute; bottom: 16px; z-index: 2; pointer-events: none; }
.ba-tag-left { left: 16px; }
.ba-tag-right { right: 16px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); }
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--navy-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; line-height: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); border: 3px solid #E4CE9F;
}
.ba-slider input.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; z-index: 3; background: none; -webkit-appearance: none; appearance: none; }
.ba-slider input.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; cursor: ew-resize; }
.ba-slider input.ba-range::-moz-range-thumb { width: 60px; height: 100vh; border: 0; cursor: ew-resize; }
.ba-slider:focus-within .ba-knob { outline: 3px solid #E4CE9F; outline-offset: 3px; }
.ba-hint { text-align: center; margin-top: 16px; color: rgba(243, 239, 231, 0.65); font-size: 0.95rem; letter-spacing: 0.04em; }
/* Portfolio tiles open a gallery. */
.portfolio-tile[data-gallery] { cursor: zoom-in; }
.portfolio-tile[data-gallery]:focus-visible,
.portfolio-tile:has(.pt-open:focus-visible) { outline: 3px solid var(--brass); outline-offset: 3px; }
/* The tile's photo sits inside a real <button> — reset it so the tile looks exactly as before */
.pt-open { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; cursor: zoom-in; }
.pt-open:focus-visible { outline: none; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(10, 14, 22, 0.94); opacity: 0; transition: opacity 0.25s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: min(1400px, 100%); }
.lb-img { display: block; max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lb-cap { margin-top: 14px; color: var(--cream); font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: pre; }
.lb-close, .lb-prev, .lb-next { flex: 0 0 auto; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.22); }
.lb-prev, .lb-next { width: 52px; height: 52px; font-size: 2.2rem; line-height: 1; padding-bottom: 4px; }
.lb-close { position: fixed; top: 18px; right: 18px; z-index: 3; width: 54px; height: 54px; font-size: 2.2rem; line-height: 1; background: rgba(10, 12, 18, 0.85) !important; border: 2px solid rgba(255, 255, 255, 0.85) !important; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); }
.lb-img { cursor: zoom-out; }
.lightbox { cursor: zoom-out; }
.lb-prev, .lb-next { cursor: pointer; }
.lightbox.lb-single .lb-prev, .lightbox.lb-single .lb-next { visibility: hidden; }
html.lb-open { overflow: hidden; }
/* Arrows stay pinned to the same spot on screen for every photo, whatever its size, so the
   hand never has to move; a generous invisible hit area around each means a near-miss still counts. */
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); z-index: 2; width: 60px; height: 60px; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev::after, .lb-next::after { content: ""; position: absolute; inset: -60px -24px; }
.lightbox { padding-left: 108px; padding-right: 108px; }
@media (max-width: 680px) {
  .lightbox { padding: 60px 8px 24px; gap: 4px; }
  .lightbox { padding-left: 52px; padding-right: 52px; }
  .lb-prev, .lb-next { width: 42px; height: 42px; font-size: 1.8rem; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .lb-prev::after, .lb-next::after { inset: -50px -6px; }
  .ba-knob { width: 44px; height: 44px; font-size: 1.2rem; }
  .ba-tag-left, .ba-tag-right { bottom: 10px; }
  .ba-tag-left { left: 10px; } .ba-tag-right { right: 10px; }
}

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-shot { margin: 0; border-radius: 14px; overflow: hidden; }
.work-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.work-shot:hover img { transform: scale(1.05); }
.work-wide { grid-column: span 2; }
.work-wide img { aspect-ratio: 16 / 9; }

.design-disclosure {
  max-width: 800px; margin: 36px auto 0; text-align: center;
  font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft);
}

@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .ba-pair { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-wide { grid-column: auto; }
  .work-wide img { aspect-ratio: 4 / 3; }
}

/* ---------- Featured film (design services) ---------- */
/* Plays inline in the page, held narrower than the text column so it reads as a
   piece of work rather than a full-bleed banner. Tighter above than a normal
   section, so it sits close under the hero. */
.film-band { padding-top: 46px; }
.film-band .section-head { margin-bottom: 30px; }
.film-frame { position: relative; max-width: 820px; margin: 0 auto; border-radius: 16px; overflow: hidden; line-height: 0; }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
/* Design/Build: the film runs edge to edge across the page. */
.film-frame.film-bleed { max-width: none; border-radius: 0; }
.film-sound {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--navy);
  font-family: var(--sans); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); transition: background 0.2s ease, transform 0.2s ease;
}
.film-sound:hover { background: #fff; transform: translateY(-1px); }
.film-sound.is-on { background: var(--navy); color: var(--cream); }
@media (max-width: 680px) {
  .film-sound { top: 10px; right: 10px; padding: 8px 13px; font-size: 0.92rem; }
}

/* ---------- Web design page ---------- */
/* Hero: text and portrait on the left, this site's own homepage in a browser frame on the
   right — the one sample shown publicly, since client sites are not advertised. */
.web-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
#web-hero { padding-top: 44px; }
.web-kicker { display: block; font-family: var(--sans); font-style: normal; font-weight: 700; text-transform: uppercase; color: #E4CE9F; font-size: 0.95rem; letter-spacing: 0.3em; margin-bottom: 18px; }
.page-hero h1.web-lead { font-size: clamp(2.4rem, 3.7vw, 3.7rem); line-height: 1.08; margin-bottom: 22px; }
@media (min-width: 981px) { .page-hero h1.web-lead { white-space: nowrap; } }
.web-lead em { font-style: italic; color: #E4CE9F; }
.browser-mock { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.browser-bar { display: flex; gap: 7px; padding: 11px 14px; background: #E8E8E8; }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #CFC8BB; }
.browser-mock img { display: block; width: 100%; height: auto; }
.browser-mock figcaption {
  padding: 12px 16px; background: var(--dark-2); color: var(--cream-soft);
  font-size: 0.92rem; letter-spacing: 0.04em; text-align: center;
}
.bg-dark .design-disclosure { color: rgba(243, 239, 231, 0.62); }
@media (max-width: 980px) {
  .web-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Moving blue background: "Whatever your situation" ---------- */
/* Soft blurred blue glows that drift, plus fine wavy lines flowing slowly across the
   lower left, in the site's blue. Sits behind the cards; pauses for reduced motion. */
.path-fx { position: relative; overflow: hidden; isolation: isolate; }
.path-fx > .wrap { position: relative; z-index: 1; }
.path-fx-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.path-fx-glow {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  will-change: transform;
}
.path-fx-glow.g1 {
  width: 520px; height: 420px; left: -160px; top: -120px;
  background: radial-gradient(circle at 40% 40%, #6f8ff0 0%, #9fc3ff 45%, rgba(159,195,255,0) 72%);
  animation: path-glow-a 18s ease-in-out infinite alternate;
}
.path-fx-glow.g2 {
  width: 460px; height: 380px; right: -140px; bottom: -140px;
  background: radial-gradient(circle at 60% 60%, #2c5b9e 0%, #7fa6e6 45%, rgba(127,166,230,0) 72%);
  opacity: 0.35;
  animation: path-glow-b 22s ease-in-out infinite alternate;
}
@keyframes path-glow-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes path-glow-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-110px, -60px) scale(0.95); } }
/* Live silk ribbons across the whole section (js/silk-waves.js), soft blue on the light background. */
.silk-canvas.silk-light { color: #2c5b9e; opacity: 0.17; }
/* From today to closing day: Ariane's Arapaho floor plan, traced from her CAD export, drawn in white
   behind the steps. The SVG animates itself (lines draw in, hold, fade, redraw every 16s). */
.bp-host { position: relative; overflow: hidden; isolation: isolate; }
.bp-host > .wrap { position: relative; z-index: 1; }
.bp-sheet {
  position: absolute; z-index: 0; pointer-events: none; inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
/* One copy of the plan, enlarged to fill the full width (cropped top and bottom) so it never repeats. */
.bp-plan { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: brightness(0) invert(1); }
@media (max-width: 680px) { .bp-sheet { opacity: 0.12; } }
/* Light sections: the same plan in its original blueprint blue on a faint blue grid. */
.bp-light .bp-sheet {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(44, 91, 158, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 91, 158, 0.28) 1px, transparent 1px);
}
.bp-light .bp-plan { filter: none; }
@media (max-width: 680px) { .bp-light .bp-sheet { opacity: 0.16; } }
@media (max-width: 680px) {
  .path-fx-glow.g1 { width: 340px; height: 300px; left: -140px; top: -90px; }
  .path-fx-glow.g2 { width: 300px; height: 260px; right: -120px; bottom: -100px; }
}
@media (prefers-reduced-motion: reduce) {
  .path-fx-glow { animation: none; }
}

/* ---------- Web Design hero: live silk lines (js/silk-waves.js) ---------- */
/* Same idea as the "Whatever your situation" waves, but the lines run the full height on the
   far left, fold gently into each other like draped fabric, and fade out toward the image.
   The mask sits on a still wrapper so the fade stays put while the lines flow beneath it. */
.web-fx .path-fx-glow.g1 { opacity: 0.35; }
.web-fx .path-fx-glow.g2 { opacity: 0.25; }
.fabric-mask {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 22%, transparent 60%);
          mask-image: linear-gradient(90deg, #000 0%, #000 22%, transparent 60%);
}
.silk-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; color: #9fc3ff; opacity: 0.34; }
@media (max-width: 680px) {
  .fabric-mask { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 85%); mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 85%); }
}
/* Web Design: SEO & AEO, the metrics every client gets. */
.seo-report { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.seo-report-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin: 0 0 16px; text-align: center; }
.seo-metrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.seo-metrics li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.95rem; }
.seo-metrics li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brass); font-weight: 700; }
@media (max-width: 980px) { .seo-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .seo-metrics { grid-template-columns: 1fr; } .seo-report { padding: 24px 22px; } }

/* ---------- Live site previews (see main.js) ---------- */
/* The real homepage at desktop size (1440×900), scaled to fit the frame. The saved picture
   underneath shows until the live page has loaded. */
.live-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.live-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-shot iframe {
  position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0;
  transform: scale(var(--s, 0.4)); transform-origin: 0 0; pointer-events: none;
  opacity: 0; transition: opacity 0.5s ease;
}
.live-shot.is-live iframe { opacity: 1; }
html.in-preview { overflow: hidden; }
html.in-preview .c2chat-launcher, html.in-preview .c2chat-panel, html.in-preview .mobile-cta-bar { display: none !important; }

/* "Whatever your situation": still, with a soft golden ombre (cream at the top warming to champagne gold). */
.gold-ombre { background: linear-gradient(180deg, #F9F9F9 0%, #EFEFEF 55%, #E3E3E3 100%); }
/* Web Design teaser on the homepage: dark blue so it reads as its own section after the calculators. */
#web-design-teaser .programs-disclaimer { color: rgba(243, 239, 231, 0.62); }
#web-design-teaser .split-headline { color: #fff; }

/* ---------- Homepage calculators: graph paper with self-drawing growth curves ---------- */
/* Faint grid plus gold and blue curves (equity building, a balance paying down, value
   compounding) that draw in, hold, fade and redraw. The SVG animates itself. */
.growth-layer {
  background-image:
    linear-gradient(rgba(44, 91, 158, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 91, 158, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 55%, #000 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 85% 80% at 50% 55%, #000 45%, transparent 100%);
}
.growth-curves { position: absolute; left: 0; right: 0; bottom: 6%; width: 100%; height: 78%; opacity: 0.38; }
@media (max-width: 680px) { .growth-curves { height: 60%; opacity: 0.3; } }

/* ---------- Homepage Design card: Ariane's plan crossfades into the finished room ---------- */
/* Same Orange County living room — the drawing, then the built result, on a slow loop. */
.service-img-swap { position: relative; }
.service-img-swap .swap-plan { position: absolute; inset: 0; background: #fff; animation: plan-swap 12s ease-in-out infinite; }
@keyframes plan-swap { 0%, 30% { opacity: 1; } 42%, 88% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .service-img-swap .swap-plan { animation: none; opacity: 0; } }

/* ---------- Homepage calculators: a live-looking preview instead of picking calculators for people ---------- */
.calc-teaser { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.calc-teaser-shot { display: block; color: inherit; }
.calc-teaser-shot .browser-mock { box-shadow: 0 24px 60px rgba(20, 30, 50, 0.22); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.calc-teaser-shot:hover .browser-mock { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(20, 30, 50, 0.3); }
.calc-teaser-text p { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 24px; }
@media (max-width: 900px) { .calc-teaser { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   Accessibility (WCAG 2.2 AA)
   ============================================================ */
/* Screen-reader-only text */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* Skip link: hidden until a keyboard user tabs to it */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 2000;
  padding: 12px 20px; border-radius: 8px;
  background: var(--dark); color: var(--cream); font-weight: 700; font-size: 0.95rem;
  transform: translateY(-160%); transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; color: var(--cream); }
main:focus, .quiz-q:focus { outline: none; }
/* The <nav> landmark wrapper must not change the header layout */
.nav-main { display: contents; }
/* Footer column headings are <h2> for document structure but keep the small-caps label look */
.site-footer .footer-h { font-family: var(--sans); line-height: 1.65; letter-spacing: 0.22em; text-wrap: wrap; }

/* Visible keyboard focus everywhere: brass ring on light areas, cream ring on dark areas */
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.site-header :focus-visible,
.site-footer :focus-visible, .bg-dark :focus-visible, .cta-dark :focus-visible,
.page-hero :focus-visible, .hero :focus-visible, .analysis-banner :focus-visible,
.lightbox :focus-visible, .mobile-cta-bar :focus-visible, .c2chat-header :focus-visible { outline-color: var(--cream); }
.site-header .nav-links.open :focus-visible,
.site-header .nav-dropdown-menu :focus-visible { outline-color: var(--brass); }
/* Search field: the input itself has no outline, so ring the whole input row */
.search-input-row:focus-within { box-shadow: inset 0 0 0 3px var(--brass); }

/* Links inside running text are underlined, not told apart by color alone */
main :is(p, li) a:not([class]), .compliance a {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}

/* Photo heroes: text over photos keeps at least 4.5:1 (3:1 for the big headline) —
   the lede is fully opaque cream and the dark wash under the text column reaches a little further. */
.photo-hero-tall .lede { color: var(--cream); }
@media (min-width: 681px) {
  /* --col-end = right edge of the hero text column (max 440px wide inside the 1160px wrap) */
  .photo-hero-tall .photo-hero-bg::after {
    --col-end: calc(max(24px, (100% - 1160px) / 2 + 24px) + 440px);
    background: linear-gradient(100deg, rgba(18, 16, 13, 0.92) 0%, rgba(18, 16, 13, 0.82) var(--col-end), rgba(18, 16, 13, 0.4) calc(var(--col-end) + 140px), rgba(18, 16, 13, 0) calc(var(--col-end) + 300px));
  }
  .photo-hero-tall .photo-hero-bg:has(img[src*="glossary-hero"])::after {
    background: linear-gradient(100deg, rgba(18, 16, 13, 0.86) 0%, rgba(18, 16, 13, 0.8) var(--col-end), rgba(18, 16, 13, 0.35) calc(var(--col-end) + 140px), rgba(18, 16, 13, 0) calc(var(--col-end) + 300px));
  }
  /* Design's headline is long and runs out over the bright windows */
  #design-hero .photo-hero-bg::after {
    background: linear-gradient(100deg, rgba(18, 16, 13, 0.92) 0%, rgba(18, 16, 13, 0.82) var(--col-end), rgba(18, 16, 13, 0.6) calc(var(--col-end) + 160px), rgba(18, 16, 13, 0.4) calc(var(--col-end) + 300px), rgba(18, 16, 13, 0) calc(var(--col-end) + 480px));
  }
}

/* Real Estate hero film: pause / play control */
.hero-video-toggle {
  /* top-right: bottom-right would sit under the fixed "Ask a question" chat button */
  position: absolute; right: 24px; top: 24px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 16, 13, 0.55); color: var(--cream);
  border: 1px solid rgba(239, 239, 239, 0.55); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.hero-video-toggle:hover { background: rgba(18, 16, 13, 0.8); }
.hero-video-toggle svg { width: 16px; height: 16px; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle[aria-pressed="true"] .icon-play { display: block; }
.hero-video-toggle[aria-pressed="true"] .icon-pause { display: none; }
@media (max-width: 680px) {
  /* On phones the film sits above the text at 16:9 and drifts up to ~33px with scroll —
     keep the control on the film's right side, clear of that drift (takes no extra space) */
  .hero-video-toggle { position: relative; right: auto; top: auto; margin: -89px 12px 45px auto; }
}

/* Reduced motion: no entrances, pulses, zooms or smooth scrolling */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  .term-card.focused, .primer-card.focused { animation: none; }
  .help-panel.active { animation: none; }
  .hero-bg img, .photo-hero-bg, .photo-hero-bg img { animation: none !important; }
  .portfolio-tile img, .portfolio-tile:hover img { transition: none; transform: none; }
}

/* ---------- Footer: faint blueprint behind the dark blue ---------- */
/* A still, cream-lined copy of Ariane's Arapaho floor plan on the right, over faint
   graph-paper lines across the whole footer. Sits behind all footer content. */
.site-footer { position: relative; isolation: isolate; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("../images/01-logos-and-badges/blueprint-footer.svg"),
    linear-gradient(rgba(239, 239, 239, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 239, 239, 0.035) 1px, transparent 1px);
  background-size: min(40%, 560px) auto, 36px 36px, 36px 36px;
  background-position: right -3% top 30px, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
}
@media (max-width: 680px) {
  .site-footer::before { background-size: 78% auto, 28px 28px, 28px 28px; background-position: right -24% top 20px, 0 0, 0 0; }
}

/* ---------- Homepage contact: phone and the two emails, by service ---------- */
.contact-ways { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; margin: 36px auto 0; padding: 0; }
.contact-ways li { text-align: center; }
.contact-ways span { display: block; font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase; color: #E4CE9F; margin-bottom: 4px; }
.contact-ways a { color: var(--cream); font-size: 1.08rem; text-decoration: underline; text-underline-offset: 4px; }
.contact-ways a:hover { color: #fff; }

/* ---------- Headlines appear whole (no word-by-word build) ---------- */
/* The section's own gentle fade/drift still plays; the words no longer arrive one at a time. */
.split-headline .w { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }

/* ---------- Footer: diagonal blue ombre, blueprint fading out ---------- */
/* Deep navy in the top-left easing to a softer blue in the bottom-right; the blueprint and
   graph paper dissolve diagonally so they never end on a hard edge. */
.site-footer { background: linear-gradient(135deg, #08132a 0%, #0d1f3d 38%, #17345f 72%, #24497c 100%); }
.site-footer::before {
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 100% 0%, #000 15%, rgba(0, 0, 0, 0.45) 45%, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 85% at 100% 0%, #000 15%, rgba(0, 0, 0, 0.45) 45%, transparent 75%);
}

/* ---------- Phones: compact logo on inner pages ---------- */
@media (max-width: 680px) {
  .site-header:not(.over-hero) .nav-brand-mark { width: 52px; height: 52px; }
}
/* Blog hero photo has a dark edge in the image itself — crop a little wider */
.photo-hero-bg img[src*="construction-flipped"] { left: -3% !important; width: 106% !important; max-width: none !important; }

/* ---------- Step numbers as an architectural grid line ---------- */
/* A hairline running the full width of the page, with each step marked by a drafting-style
   grid bubble (thin ring, number inside) and a short tick through the line — like the column
   grid on a construction drawing. */
.path-rail { margin-bottom: 10px; }
.path-rail::before {
  left: 50%; right: auto; width: 100vw; height: 1px; transform: translate(-50%, -50%);
  background: rgba(239, 239, 239, 0.45);
}
.bg-alt .path-rail::before, .section:not(.bg-dark):not(.cta-dark) .path-rail::before { background: rgba(21, 48, 79, 0.35); }
.path-dot {
  width: 46px; height: 46px; background: var(--dark); color: #E4CE9F;
  border: 1px solid #E4CE9F; box-shadow: none;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.08em;
}
.path-dot::before, .path-dot::after {
  content: ""; position: absolute; left: 50%; width: 1px; height: 14px; background: currentColor; opacity: 0.7;
}
.path-dot::before { bottom: 100%; }
.path-dot::after { top: 100%; }
.section:not(.bg-dark):not(.cta-dark) .path-dot { background: var(--bg); color: var(--navy-dark); border-color: var(--navy-dark); }
.bg-alt .path-dot { background: var(--bg-alt) !important; }

/* ---------- Inner pages: hero photo runs up behind the nav (like the homepage) ---------- */
/* js/main.js gives the header .over-hero on wider screens, so the bar starts dark over the
   photo and turns light on scroll. The hero is pulled up by the nav's height and padded back. */
@media (min-width: 681px) {
  .page-hero.under-nav { margin-top: calc(-1 * var(--nav-h) - 6px); padding-top: calc(var(--nav-h) + 96px); }
  .page-hero.photo-hero-tall.under-nav { padding-top: calc(var(--nav-h) + 78px); min-height: calc(760px + var(--nav-h)); }
  .photo-hero-tall.under-nav:has(img[src*="glossary-hero"]) { min-height: calc(max(760px, 44vw) + var(--nav-h)); }
  #web-hero.under-nav { padding-top: calc(var(--nav-h) + 50px); }
}

/* ---------- Real Estate hero: a gentler, more gradual dark fade on the left ---------- */
.photo-hero-tall .photo-hero-bg:has(.hero-video)::after {
  background: linear-gradient(100deg, rgba(18, 16, 13, 0.72) 0%, rgba(18, 16, 13, 0.6) 22%, rgba(18, 16, 13, 0.42) 40%, rgba(18, 16, 13, 0.22) 56%, rgba(18, 16, 13, 0.08) 70%, rgba(18, 16, 13, 0) 84%);
}
#real-estate-hero h1, #real-estate-hero .lede, #real-estate-hero .hero-lic { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }

/* ---------- Homepage calculators: eases in from the section above; meets the navy below with a clean edge ---------- */
#calculators {
  background: linear-gradient(180deg, var(--bg-alt) 0, var(--bg) 220px);
}
#calculators .growth-layer {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 92%), radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 92%), radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 100%);
          mask-composite: intersect;
}

/* ---------- Design page: "Drawn in-house" construction-document sheets ---------- */
.drawings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 8px; }
.drawing-sheet { margin: 0; }
.drawing-sheet .pt-open { display: block; width: 100%; padding: 0; border: 1px solid rgba(21, 48, 79, 0.18); background: #fff; cursor: zoom-in; }
.drawing-sheet img { display: block; width: 100%; height: auto; }
.drawing-sheet figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(21, 48, 79, 0.25); }
.drawing-sheet .sheet-no { font-size: 0.92rem; font-weight: 600; letter-spacing: 0.14em; color: var(--navy-dark); }
.drawing-sheet .sheet-title { font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) { .drawings-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   Architectural refresh (2026-10-03)
   Quiet, drawn-not-decorated: square corners, hairlines instead of shadows,
   one label style, three button looks, and a drawing-sheet title block over
   each main section. Same navy / cream / brass palette.
   ============================================================ */
:root {
  --hair: rgba(21, 48, 79, 0.14);
  --hair-strong: rgba(21, 48, 79, 0.32);
  --hair-dark: rgba(239, 239, 239, 0.28);
  --label: rgba(21, 48, 79, 0.8);   /* navy-dark at ~80% — 6:1 on the cream backgrounds */
  --label-dark: #E4CE9F;
  --radius: 2px;
  --shadow: none;
}

/* ---------- Buttons: three looks ---------- */
.btn {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3;
  padding: 14px 26px; border-radius: 2px; border: 1px solid transparent;
  box-shadow: none; transform: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* (a) Primary — navy fill, cream text; hover turns it into the ghost. */
.btn-primary, .btn-solid-blue, .btn-bronze, .btn-outline,
.analysis-banner .btn-calc {
  background: var(--navy-dark); color: var(--cream); border-color: var(--navy-dark);
}
.btn-primary:hover, .btn-solid-blue:hover, .btn-bronze:hover, .btn-outline:hover,
.analysis-banner .btn-calc:hover,
.service-card:hover .btn-solid-blue {
  background: transparent; color: var(--navy-dark); border-color: var(--navy-dark);
}
/* (a) Primary on dark — cream fill, navy text. */
.btn-light, .btn-blue-gold, .btn.btn-calc,
:is(.bg-dark, .cta-dark, .hero, .page-hero) :is(.btn-primary, .btn-solid-blue, .btn-bronze, .btn-outline) {
  background: var(--cream); color: var(--navy-dark); border-color: var(--cream);
  padding: 14px 26px; font-size: 0.78rem;
}
.btn-light:hover, .btn-blue-gold:hover, .btn.btn-calc:hover,
:is(.bg-dark, .cta-dark, .hero, .page-hero) :is(.btn-primary, .btn-solid-blue, .btn-bronze, .btn-outline):hover {
  background: transparent; color: var(--cream); border-color: var(--cream);
}
/* (b) Ghost — transparent with a 1px line in the text color. */
.btn-outline-strong { background: transparent; color: var(--navy-dark); border: 1px solid currentColor; }
.btn-outline-strong:hover { background: var(--navy-dark); color: var(--cream); border-color: var(--navy-dark); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1px solid currentColor; }
.btn-outline-light:hover { background: var(--cream); color: var(--navy-dark); border-color: var(--cream); }
/* Size overrides from older rules all collapse to the one size. */
.hero .btn, .service-card .btn, .nav-links .btn, .analysis-banner .btn-calc { padding: 14px 26px; font-size: 0.78rem; letter-spacing: 0.14em; }
.service-card .btn { padding: 12px 22px; }
#glossary-go { padding: 14px 26px; }
/* Header "Book a Call": navy primary everywhere; over a photo it gets a faint cream edge so it reads. */
.nav-links .btn { padding: 11px 20px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--cream); }
.nav-links a.btn-primary { background: var(--navy-dark); border-color: var(--navy-dark); }
.nav-links a.btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.site-header .nav-links a.btn-primary { border-color: rgba(239, 239, 239, 0.55); }
@media (max-width: 1100px) {
  .site-header .nav-links.open a.btn-primary { border-color: var(--navy-dark); }
}
@media (max-width: 680px) {
  .btn, .hero .btn, .btn.btn-calc, .btn-light, .btn-outline-light { padding: 13px 20px; letter-spacing: 0.12em; }
}
/* (c) Text link with an arrow. */
.card-link, .program .learn {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; color: var(--brass-dark);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
  text-decoration-color: rgba(113, 90, 20, 0.45);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.card-link:hover, .program:hover .learn { color: var(--navy-dark); text-decoration-color: currentColor; }

/* ---------- One label style ---------- */
.kicker, .service-kicker, .about-text .kicker.about-tagline, .web-kicker,
.hero .kicker, .page-hero .kicker {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1.4; color: var(--label); margin-bottom: 14px; -webkit-text-stroke: 0;
}
/* "Meet Ariane." introduces the founder, so it reads a step larger than the other labels. */
.about-text .kicker.about-tagline { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; text-transform: none; margin-bottom: 14px; }
:is(.bg-dark, .cta-dark, .hero, .page-hero, .analysis-banner) .kicker, .web-kicker { color: var(--label-dark); }
/* Smaller labels on cards, tags and footers follow the same voice. */
.service-team, .resource-card .cat, .path-step .step-label, .facts li span,
.quiz-count, .quiz-recap-label, .quiz-power span, .seo-report-title,
.search-result .sr-cat, .path-details-summary, .calc-result .big-label, .tax-stats span {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-dark);
}
.resource-card:nth-child(2) .cat { color: var(--brass-dark); }
.calc-result .big-label, .tax-stats span { color: var(--ink-faint); }
.footer-contact-label, .footer-title, .contact-ways span {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em;
}
.site-footer h4, .site-footer .footer-h { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; }
.post-row .meta, .article .meta { font-size: 0.78rem; letter-spacing: 0.14em; }
/* Badges and category tags: hairline-framed labels, no pills. */
.program .badge, .term-card .cat-pill, .guide-head .cat-pill {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em;
  color: var(--brass-dark); background: transparent; border: 1px solid rgba(113, 90, 20, 0.35);
  border-radius: 2px; padding: 3px 9px;
}
.ba-tag, .before-after figcaption {
  border-radius: 2px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; padding: 6px 12px;
}
.ba-tag-after { background: rgba(21, 48, 79, 0.88); color: var(--cream); }
.pt-title { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; }
/* "New" on calculator tabs: kept for screen readers, hidden on screen. */
.tab-badge {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.calc-tab { position: relative; }

/* ---------- Chips, pills and tabs: square, hairline, navy when chosen ---------- */
.chip {
  border-radius: 2px; background: transparent; border: 1px solid rgba(113, 90, 20, 0.35);
  font-weight: 500; color: var(--brass-dark);
}
.chip:hover { background: var(--brass-dark); color: #fff; border-color: var(--brass-dark); }
.chip-tooltip { border-radius: 2px; box-shadow: none; border-color: var(--hair-strong); }
.help-pill, .cat-pills .pill, .calc-tab {
  border-radius: 2px; border: 1px solid var(--hair-strong); box-shadow: none;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
}
.help-pill:hover, .calc-tab:hover, .cat-pills .pill:hover {
  background: var(--card); color: var(--navy-dark); border-color: var(--navy-dark); box-shadow: none;
}
.help-pill.active, .calc-tab.active, .cat-pills .pill.on {
  background: var(--navy-dark); color: var(--cream); border-color: var(--navy-dark); box-shadow: none;
}
.letter-nav a { border-radius: 2px; }
.letter-nav a.on:hover { border-color: var(--navy-dark); color: var(--navy-dark); }

/* ---------- Cards: hairline frames, square corners, no lift ---------- */
.service-card, .program, .help-card, .path-step, .resource-card, .guide-card, .term-card,
.primer-card, .pillar, .calc-shell, .quiz-shell, .quiz-opt, .quiz-recap, .post-list .post-row,
.seo-report, .tax-stats div, .search-panel, .nav-dropdown-menu, .engagement-track {
  border-radius: 2px; box-shadow: none; border: 1px solid var(--hair);
}
.engagement-track { border: 0; }
.program.hot { border-top: 1px solid var(--hair); }
.program-more { border-style: dashed; border-color: var(--hair-strong); }
.calc-shell { border-top: 1px solid var(--hair); }
.calc-shell::before { height: 1px; background: var(--brass); opacity: 0.6; }
.quiz-shell { border-top: 1px solid var(--hair); }
.calc-result, .tax-highlight, .prequal, .quiz-power, .term-ex, .calc-warning, .amort-wrap,
.calc-fields input, .calc-fields select, .glossary-controls input, .glossary-controls select,
.prequal-grid input, .search-result, .nav-dropdown-menu a, .skip-link {
  border-radius: 2px;
}
.prequal, .quiz-power, .term-ex { border-left-width: 1px; }
.calc-disclaimer, .programs-disclaimer { border-left-width: 1px; border-radius: 0; }
/* Hover: the frame darkens a touch. Nothing moves, nothing grows. */
.service-card:hover, .program:hover, .resource-card:hover, .post-list .post-row:hover,
.term-card:hover, .primer-card:hover {
  transform: none; box-shadow: none; border-color: var(--hair-strong); background: var(--card); transition: border-color 0.2s ease;
}
.term-card.focused, .primer-card.focused {
  animation: none; box-shadow: inset 0 0 0 1px var(--navy-dark); border-color: var(--navy-dark);
  background: linear-gradient(0deg, rgba(21, 48, 79, 0.04), rgba(21, 48, 79, 0.04)), var(--card);
}
@media (hover: hover) { .quiz-opt:hover { transform: none; border-color: var(--navy-dark); background: var(--card); } }
.quiz-opt.picked { border-color: var(--navy-dark); background: rgba(21, 48, 79, 0.05); }
/* Card pictures hold still. */
.service-card:hover .service-img img, .program:hover .program-thumb img,
.resource-card:hover .thumb img, .post-list .post-row:hover .thumb img,
.portfolio-tile:hover img, .work-shot:hover img { transform: none; }
.program:hover .program-thumb img { filter: saturate(0.85); }
.resource-card:hover .thumb img[src*="ladera"], .post-list .post-row:hover .thumb img[src*="ladera"] { transform: scale(1.5); }
.program-thumb { border-radius: 0; }
/* Photographs and drawings: crisp, square, a thin frame at most. */
.portfolio-tile, .ba-shot, .work-shot, .film-frame, .about-photo, .article .hero-img,
.before-after figure, .ba-slider, .browser-mock, .lb-img, .kicker-photo-frame {
  border-radius: 2px; box-shadow: none;
}
.browser-mock { border: 1px solid var(--hair); }
.bg-dark .browser-mock, .page-hero .browser-mock { border-color: rgba(239, 239, 239, 0.18); }
.calc-teaser-shot .browser-mock, .calc-teaser-shot:hover .browser-mock { box-shadow: none; transform: none; }
.calc-teaser-shot:hover .browser-mock { border-color: var(--hair-strong); }
.film-sound {
  border-radius: 2px; box-shadow: none; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em;
  border: 1px solid var(--hair-strong);
}
.film-sound:hover { transform: none; }
/* FAQ: a single hairline between questions. */
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:first-child { border-top: 1px solid var(--hair); }

/* ---------- Motion: opacity-only reveals ---------- */
.reveal { transform: none; transition: opacity 0.8s ease; }
.help-panel.active { animation: help-panel-fade 0.35s ease; }
@keyframes help-panel-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Calculators teaser: fade into navy only where navy follows ---------- */
#calculators { background: linear-gradient(180deg, var(--bg-alt) 0, var(--bg) 220px); }
#calculators.bg-alt { background: var(--bg-alt); }
#calculators:has(+ .bg-dark) {
  background: linear-gradient(180deg, var(--bg-alt) 0, var(--bg) 220px);
}

/* ---------- Phone call bar: appears once the hero has scrolled away ---------- */
@media (max-width: 680px) {
  .mobile-cta-bar {
    box-shadow: none; border-top: 1px solid var(--hair-strong); background: var(--bg);
    transform: translateY(100%); visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  body.cta-bar-on .mobile-cta-bar { transform: none; visibility: visible; transition: transform 0.3s ease, visibility 0s; }
  .mobile-cta-bar a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; padding: 15px 10px; }
  .mobile-cta-bar .mobile-cta-call { background: var(--navy-dark); color: var(--cream); }
  .mobile-cta-bar .mobile-cta-book { background: var(--bg); color: var(--navy-dark); }
  .mobile-cta-bar .mobile-cta-book:focus-visible { outline-color: var(--navy-dark); }
}
@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  .mobile-cta-bar, body.cta-bar-on .mobile-cta-bar { transition: none; }
}

/* ---------- Footer partner logos: one tidy row, one height, one baseline ---------- */
.footer-logos { align-items: flex-end; gap: 14px 18px; }
.footer-logos a { display: block; padding: 0; margin: 0; border: 0; border-radius: 0; line-height: 0; }
.footer-logos a:hover { background: none; border-color: transparent; opacity: 0.8; }
.footer-logos img, .footer-logos img.eho, .footer-logos img.nmls, .footer-logos img.csr { height: 28px; width: auto; }
/* Wide screens: the row runs past the narrow brand column into the empty space beneath
   the Services links, so all four marks sit on one line. */
@media (min-width: 981px) { .footer-logos { flex-wrap: nowrap; width: max-content; position: relative; z-index: 1; } }
.site-footer a { border-radius: 2px; }

/* ---------- Drawings (Design page) in the same system ---------- */
.drawing-sheet .pt-open { border-color: var(--hair-strong); border-radius: 0; }
.drawing-sheet figcaption { border-top-color: var(--hair-strong); }
.drawing-sheet .sheet-no, .drawing-sheet .sheet-title { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; }
.drawing-sheet .sheet-no { color: var(--navy-dark); }

/* Loan Finder hero: Brooklyn dining room looking out over the city */
.photo-hero-bg img[src*="brooklyn-ph-08"] { object-position: center 45%; }

/* ---------- Phones: crisp header edge (no fade washing out the dark hero text) ---------- */
@media (max-width: 680px) {
  .site-header::after { display: none; }
  .site-header::before { background: var(--bg); }
  .site-header.scrolled { border-bottom: 1px solid var(--line); }
  /* Homepage: the logo appears in the bar once the page starts scrolling */
  .site-header.over-hero.scrolled .nav-brand { display: flex; }
  .site-header.over-hero.scrolled .nav-brand-mark { width: 52px; height: 52px; }
}
/* Phones: the hero photo band clips its own parallax drift so it never slides over the heading */
@media (max-width: 680px) { .photo-hero-tall .photo-hero-bg { overflow: hidden; } }
/* Phones: room under the hero headline so the descenders of "Design" and "life" aren't
   painted over by the dark identity band that follows it */
@media (max-width: 680px) {
  .hero-inner .split-headline.hero-lead { padding-bottom: 0.22em; }
  .hero-inner .split-headline.hero-lead + .hero-identity { padding-top: 10px; }
}

/* Hero areas of expertise: small outlined square "grid points" instead of dashes */
.hero-disciplines li::before { width: 7px; height: 7px; top: 0.5em; background: none; border: 1px solid #E4CE9F; box-sizing: border-box; }
@media (max-width: 680px) { .hero-disciplines li::before { width: 6px; height: 6px; top: 0.48em; } }

/* Hero areas of expertise: a hairline architectural plus (crosshair) instead of the square */
.hero-disciplines li::before, .hero-disciplines li::after {
  content: ""; position: absolute; border: 0; background: #E4CE9F; box-sizing: content-box;
}
.hero-disciplines li::before { left: 0; top: 0.72em; width: 11px; height: 1px; }
.hero-disciplines li::after  { left: 5px; top: calc(0.72em - 5px); width: 1px; height: 11px; }
@media (max-width: 680px) {
  .hero-disciplines li::before { top: 0.66em; width: 9px; height: 1px; }
  .hero-disciplines li::after  { left: 4px; top: calc(0.66em - 4px); width: 1px; height: 9px; }
}

/* Hero areas of expertise link to their pages — quiet until hovered */
.hero-disciplines a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.3s ease, color 0.2s ease; padding-bottom: 2px; }
.hero-disciplines a:hover, .hero-disciplines a:focus-visible { color: #fff; background-size: 100% 1px; }
.hero-disciplines li:has(a:hover)::before, .hero-disciplines li:has(a:hover)::after { background: #fff; }
.hero-disciplines a::after { content: ""; position: absolute; inset: -6px 0; } /* comfortable tap target */
.hero .hero-disciplines li a { text-decoration: none; }

/* ---------- Phones: inner-page heroes follow the homepage order ---------- */
/* Title first on navy right under the menu bar, then the photo band, then intro, licence
   line and buttons — no empty band above the photo. */
@media (max-width: 680px) {
  .page-hero.photo-hero-tall, .page-hero.photo-hero-tall.under-nav { padding: 0 !important; min-height: 0 !important; display: flex; flex-direction: column; }
  .page-hero.photo-hero-tall > .wrap { display: contents; }
  .page-hero.photo-hero-tall > .wrap > * { order: 2; margin-left: 24px; margin-right: 24px; }
  .page-hero.photo-hero-tall > .wrap > h1 { order: 0; margin-top: 0; margin-bottom: 0; padding: 30px 0 24px; }
  .page-hero.photo-hero-tall > .photo-hero-bg { order: 1; }
  .page-hero.photo-hero-tall > .wrap > .lede { margin-top: 26px; }
  .page-hero.photo-hero-tall > .wrap > :last-child { margin-bottom: 44px; }
}
@media (max-width: 680px) {
  /* Fixed photo frame; the image/video is 130% tall inside it so the scroll drift never shows an edge */
  .page-hero.photo-hero-tall > .photo-hero-bg { position: relative !important; aspect-ratio: 16 / 10; overflow: hidden; }
  .page-hero.photo-hero-tall > .photo-hero-bg > img,
  .page-hero.photo-hero-tall > .photo-hero-bg > .hero-video { position: absolute !important; left: 0; top: -15% !important; width: 100% !important; height: 130% !important; max-width: none !important; object-fit: cover !important; aspect-ratio: auto !important; }
}
@media (max-width: 680px) {
  /* Pause button rides in the photo band (order 1), bottom-right corner */
  .page-hero.photo-hero-tall > .hero-video-toggle { order: 1; position: relative !important; top: auto !important; bottom: auto !important; right: auto !important; left: auto !important; align-self: flex-end; margin: -56px 12px 12px 0; z-index: 3; }
}
@media (max-width: 680px) { .page-hero.photo-hero-tall > .photo-hero-bg > img[src*="construction-flipped"] { left: 0 !important; width: 100% !important; } }
/* Blog hero: Brooklyn living room with the spiral stair */
.photo-hero-bg img[src*="brooklyn-ph-10"] { object-position: center 55%; }
/* Before/after slider inside an article (light background) */
.article .ba-slider { margin: 28px 0 10px; }
.ba-hint.ba-hint-light { color: var(--ink-soft); }

/* Page titles: second line in gold italic, like the homepage hero */
.page-hero h1 em { font-style: italic; color: #E4CE9F; }
.article h1 em, main > .article h1 em { font-style: italic; color: var(--brass-dark, #715A14); }
/* Drawn in-house: smaller sheet previews, four across */
.drawings-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.drawing-sheet .sheet-title { font-size: 0.78rem; }
@media (max-width: 1000px) { .drawings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .drawings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } .drawing-sheet figcaption { flex-direction: column; gap: 2px; } }
/* Lightbox never enlarges drawings beyond their small native size */
.lightbox .lb-img[src*="park-city-"][src*="plan"], .lightbox .lb-img[src*="park-city-"][src*="elevations"], .lightbox .lb-img[src*="park-city-"][src*="details"] { max-width: min(100%, 800px); }
.drawing-sheet .sheet-no { white-space: nowrap; }

/* ---------- Portfolio: clean photos, project name as a caption underneath ---------- */
.portfolio-tile { overflow: visible; border-radius: 0; }
.portfolio-tile .pt-open { overflow: hidden; }
.portfolio-tile figcaption {
  position: static !important; inset: auto; opacity: 1 !important; background: none !important;
  padding: 10px 0 0; margin-top: 0; border-top: 1px solid rgba(21, 48, 79, 0.22);
}
.portfolio-tile .pt-title { color: var(--navy-dark); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.portfolio-tile .pt-open img { transition: filter 0.3s ease; }
@media (hover: hover) {
  .portfolio-tile:hover .pt-open img { filter: brightness(1.06); }
  .portfolio-tile:hover .pt-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
}
.portfolio-grid { row-gap: 28px; }
@media (max-width: 760px) { .portfolio-grid { row-gap: 22px; } .portfolio-tile figcaption { padding-top: 8px; } .portfolio-tile .pt-title { font-size: 0.72rem; letter-spacing: 0.12em; } }
.portfolio-tile figcaption { line-height: 1.35; } .portfolio-tile .pt-title { display: block; line-height: 1.35; }


/* ---------- Homepage Design card: three-step story on an 18s loop ----------
   rug plan → fireplace elevation draws itself → the finished room (rug and fireplace) */
.service-img-swap .swap-photo { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.service-img-swap .swap-plan { animation: card-plan 18s ease-in-out infinite; }
.service-img-swap .swap-elev { position: absolute; inset: 0; background: #F5F5F5; display: flex; align-items: center; justify-content: center; padding: 5% 9%; opacity: 0; animation: card-elev 18s ease-in-out infinite; }
.service-img-swap .swap-elev img { width: 100%; height: 100%; object-fit: contain; }
@keyframes card-plan { 0%, 27% { opacity: 1; } 33%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes card-elev { 0%, 30% { opacity: 0; } 33%, 60% { opacity: 1; } 66%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .service-img-swap .swap-elev { animation: none; opacity: 0; } }
.service-img img[src*="card-financing-meeting"] { object-position: center 18%; }

/* ---------- Nav: solid navy on every page, at the top and while scrolling ---------- */
/* The bar is the site's dark navy with cream links; on wider screens a soft navy fade
   below it lets the page dissolve into the bar as it scrolls underneath. */
.site-header, .site-header.scrolled { background: var(--dark); border-bottom-color: transparent; }
.site-header::before { opacity: 0; }
.site-header::after {
  background: linear-gradient(180deg, var(--dark) 0%, rgba(8, 27, 51, 0.55) 45%, rgba(8, 27, 51, 0) 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  -webkit-mask-image: none; mask-image: none;
  height: 64px; opacity: 1;
}
@media (max-width: 680px) {
  .site-header.scrolled { border-bottom: 0; }
}
/* The current page's link stays readable on the navy bar. */
@media (min-width: 681px) { .site-header .nav-links > li > a.active:not(.btn) { color: #fff; } }

/* Desktop: at the top of a page with a hero photo, that photo shows behind the logo and
   menu under a soft charcoal shade. Once you scroll (or on pages without a hero photo) the
   bar becomes dark smoked glass that takes on the colors behind it, with no navy and no fade. */
@media (min-width: 681px) {
  .site-header.over-hero:not(.scrolled) {
    background: linear-gradient(180deg, rgba(18, 16, 13, 0.62) 0%, rgba(18, 16, 13, 0.32) 65%, rgba(18, 16, 13, 0) 100%);
    border-bottom: 0;
  }
  .site-header.scrolled, .site-header:not(.over-hero) { background: transparent; border-bottom: 0; }
  .site-header.scrolled::before, .site-header:not(.over-hero)::before {
    background: var(--nav-glass, rgba(22, 20, 17, 0.93)); transition: background-color 0.3s ease;
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
    opacity: 1;
  }
  .site-header::after, .site-header.scrolled::after { opacity: 0; }
}


/* Gold phrase inside a headline (e.g. "let's find your next step together.") */
.gold-text { color: #E4CE9F; }

/* ---------- All page heroes use the Real Estate hero's soft, even wash ---------- */
/* A diagonal shade, darkest behind the text on the left, that eases out gradually across the
   photo — no hard dark column — with a soft shadow under the text so it stays readable. */
@media (min-width: 681px) {
  .photo-hero-tall .photo-hero-bg::after,
  .photo-hero-tall .photo-hero-bg:has(img[src*="glossary-hero"])::after,
  #design-hero .photo-hero-bg::after {
    background: linear-gradient(100deg, rgba(18, 16, 13, 0.86) 0%, rgba(18, 16, 13, 0.78) 24%, rgba(18, 16, 13, 0.6) 40%, rgba(18, 16, 13, 0.34) 56%, rgba(18, 16, 13, 0.12) 70%, rgba(18, 16, 13, 0) 84%) !important;
  }
  .photo-hero-tall h1, .photo-hero-tall .lede, .photo-hero-tall .hero-lic { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
}
@media (min-width: 681px) {
  #analysis-hero .photo-hero-bg::after { background: linear-gradient(100deg, rgba(18, 16, 13, 0.88) 0%, rgba(18, 16, 13, 0.8) 24%, rgba(18, 16, 13, 0.62) 42%, rgba(18, 16, 13, 0.36) 58%, rgba(18, 16, 13, 0.12) 72%, rgba(18, 16, 13, 0) 86%) !important; }
}

/* ---------- Hero photos: slow push-in restored (with the scroll parallax) ---------- */
@keyframes hero-zoom { from { scale: 1; } to { scale: 1.12; } }
.hero-bg img { animation: hero-zoom 22s ease-out forwards; transform-origin: center center; }
@media (min-width: 681px) {
  .photo-hero-bg { animation: hero-zoom 24s ease-out forwards; transform-origin: center center; will-change: transform; }
  .photo-hero-bg:has(img[src*="brooklyn-ph"]) { transform-origin: center 55%; }
}
@media (prefers-reduced-motion: reduce) { .hero-bg img, .photo-hero-bg { animation: none; } }

/* Hairline arrow on buttons: a 1px drafting-style arrow in the button's own text color,
   used in place of the typed "→". Nudges forward on hover. */
.hl-arrow {
  display: inline-block; width: 22px; height: 10px; margin-left: 12px; vertical-align: 0.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M0 5h21M16.5.5 21 5l-4.5 4.5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M0 5h21M16.5.5 21 5l-4.5 4.5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s ease;
}
.btn:hover .hl-arrow { transform: translateX(4px); }
/* Financing hero: full family photo, framed so the woman at the door stays in view */
#whoihelp-hero .photo-hero-bg img { object-position: 62% 55% !important; }
#whoihelp-hero .photo-hero-bg { transform-origin: 70% 60%; }
.hero-disciplines .hd-sep { margin: 0 0.35em; opacity: 0.7; }
@media (max-width: 680px) { .hero-disciplines .hd-sep { display: none; } .hero-disciplines a[href*="#seo-aeo"] { display: block; } }

/* ---------- Web Design: SEO & AEO, on navy with a live search → AI answer demo ---------- */
.seo-x-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.seo-x h2 em { color: #E4CE9F; font-style: italic; }
.seo-x-lede { color: rgba(243, 239, 231, 0.82); margin: 18px 0 30px; max-width: 520px; }
.seo-x-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(228, 206, 159, 0.35); }
.seo-x-list li { display: grid; grid-template-columns: 54px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid rgba(228, 206, 159, 0.2); }
.seo-x-no { font-size: 0.82rem; letter-spacing: 0.14em; color: #E4CE9F; padding-top: 5px; }
.seo-x-list h3 { color: #fff; font-size: 1.3rem; margin: 0 0 6px; }
.seo-x-list p { color: rgba(243, 239, 231, 0.75); margin: 0; font-size: 0.98rem; }
.seo-x-demo { margin: 0; padding: 28px; border: 1px solid rgba(228, 206, 159, 0.35); background: rgba(255, 255, 255, 0.03); }
.seo-x-label { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #E4CE9F; margin-bottom: 10px; }
.seo-x-query { background: #F5F5F5; color: #1c1b19; padding: 14px 16px; font-size: 0.98rem; min-height: 1.6em; display: flex; align-items: center; }
.seo-x-caret { display: inline-block; width: 1px; height: 1.1em; background: #1c1b19; margin-left: 2px; animation: seo-blink 1s steps(1) infinite; }
@keyframes seo-blink { 50% { opacity: 0; } }
.seo-x-result, .seo-x-ai { opacity: 0; transform: translateY(8px); transition: opacity 0.6s ease, transform 0.6s ease; }
.seo-x-demo.is-done .seo-x-result, .seo-x-demo.is-done .seo-x-ai { opacity: 1; transform: none; }
.seo-x-demo.is-done .seo-x-ai { transition-delay: 0.7s; }
.seo-x-result { margin-top: 12px; padding: 14px 16px; border-left: 2px solid #E4CE9F; background: rgba(255, 255, 255, 0.05); }
.seo-x-url { display: block; font-size: 0.8rem; color: rgba(243, 239, 231, 0.6); }
.seo-x-title { display: block; color: #fff; font-family: var(--serif); font-size: 1.2rem; margin: 2px 0 4px; }
.seo-x-snip { display: block; font-size: 0.9rem; color: rgba(243, 239, 231, 0.72); }
.seo-x-ai { margin-top: 24px; }
.seo-x-answer { margin: 0; padding: 16px; background: rgba(228, 206, 159, 0.08); border: 1px solid rgba(228, 206, 159, 0.25); color: rgba(243, 239, 231, 0.9); font-size: 0.96rem; }
.seo-x-answer strong { color: #E4CE9F; font-weight: 600; }
.seo-x-demo figcaption { margin-top: 16px; font-size: 0.8rem; color: rgba(243, 239, 231, 0.55); }
.seo-x-report { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(228, 206, 159, 0.35); }
.seo-x-report-title { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #E4CE9F; margin: 0 0 22px; }
.seo-x-report ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 40px; }
.seo-x-report li { display: flex; align-items: center; gap: 16px; color: rgba(243, 239, 231, 0.88); font-size: 0.98rem; }
.seo-x-report svg { flex: 0 0 96px; width: 96px; height: 26px; }
.seo-x-report polyline { fill: none; stroke: #E4CE9F; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s ease; }
.seo-x-report.visible polyline { stroke-dashoffset: 0; }
.seo-care-note { margin: 28px 0 0; font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .seo-x-grid { grid-template-columns: 1fr; gap: 40px; } .seo-x-report ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .seo-x-report ul { grid-template-columns: 1fr; } .seo-x-demo { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .seo-x-report polyline { stroke-dashoffset: 0; transition: none; } .seo-x-caret { animation: none; } }
.hero-disciplines a { position: relative; } /* tap zone hugs each link, so two links on one line each get their own hover */

/* Photo protection: photos can't be dragged out, and a long-press on a phone doesn't offer "Save image". */
img, video { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }


/* Branding page: the four services sit in one row on wide screens */
@media (min-width: 1100px) { #branding-services .help-grid { grid-template-columns: repeat(4, 1fr); } }

/* Homepage hero: each discipline's hairline + turns a quarter turn when its link is hovered,
   like the See Full Details toggle. Both strokes share the plus's center, so they spin together. */
.hero-disciplines li::before, .hero-disciplines li::after { transition: none; }
/* Only the hovered line animates; leaving snaps back instantly (a turned + looks identical), so
   just one + is ever seen spinning. */
.hero-disciplines li:has(a:hover)::before, .hero-disciplines li:has(a:hover)::after,
.hero-disciplines li:has(a:focus-visible)::before, .hero-disciplines li:has(a:focus-visible)::after { transform: rotate(90deg); transition: transform 0.2s ease-out, background-color 0.12s ease-out; }
/* Hover zones stop short of the next line, so two lines are never hovered at once. */
.hero-disciplines a::after { inset: -3px 0; }

/* ---------- Rent vs. Buy chart ---------- */
.rb-chart { margin: 22px 0 0; }
.rb-chart-title { font-size: 0.92rem; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.rb-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 6px; padding: 0; font-size: 0.88rem; color: var(--ink-soft); }
.rb-legend li { display: flex; align-items: center; gap: 8px; }
.rb-key { display: inline-block; width: 16px; height: 2px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.rb-legend .rb-key { margin-right: 0; }
.rb-key-rent { background: #2C5B9E; }
.rb-key-own { background: #A8863A; }
.rb-plot { position: relative; }
#rb-svg { display: block; width: 100%; height: auto; overflow: visible; }
.rb-grid { stroke: rgba(21, 48, 79, 0.1); stroke-width: 1; }
.rb-ax { font-size: 11px; fill: var(--ink-soft); font-family: var(--sans); }
.rb-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rb-rent { stroke: #2C5B9E; }
.rb-own { stroke: #A8863A; }
.rb-be { stroke: rgba(21, 48, 79, 0.35); stroke-width: 1; stroke-dasharray: 3 3; }
.rb-be-t { font-size: 10.5px; }
.rb-cross { stroke: rgba(21, 48, 79, 0.35); stroke-width: 1; }
.rb-dot { stroke: #fff; stroke-width: 2; }
.rb-rent-d { fill: #2C5B9E; }
.rb-own-d { fill: #A8863A; }
#rb-hit { cursor: crosshair; touch-action: pan-y; }
.rb-tip { position: absolute; top: -6px; transform: translateY(-100%); background: #fff; border: 1px solid rgba(21, 48, 79, 0.18); padding: 8px 10px; font-size: 0.82rem; color: var(--ink); pointer-events: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(20, 30, 50, 0.12); }
.rb-tip strong { display: block; margin-bottom: 2px; }
.rb-tip span { display: block; color: var(--ink-soft); }
.rb-tip .rb-key { width: 10px; }
.rb-table { margin-top: 10px; font-size: 0.86rem; }
.rb-table summary { cursor: pointer; color: var(--brass-dark); }
.rb-table table { margin-top: 8px; width: 100%; }
/* Design page founder section: editorial layout. One text column; the portrait (tall, 4:5)
   floats at the left and the bio wraps around it; the materials palette is a small inset at the right. */
.principal-wrap { max-width: 980px; margin-left: auto; margin-right: auto; }
.principal-wrap .about-text, .principal-wrap .about-text p { max-width: none; }
.principal-photo { float: left; width: 280px; margin: 6px 36px 18px 0; } /* width set by main.js to match "Ariane Bibas" above */
.principal-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 680px) { .principal-photo { width: 46%; margin-right: 18px; } }
/* Materials palette: a small editorial inset that the bio text wraps around. */
.principal-palette { float: right; width: 210px; margin: 6px 0 14px 28px; }
.principal-palette img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.principal-palette figcaption { margin-top: 8px; font-size: 0.76rem; line-height: 1.45; color: var(--ink-soft); }
.principal-palette figcaption span { color: var(--ink-faint); font-style: italic; }
:is(#principal, #about) .about-licenses { clear: both; }
@media (max-width: 680px) { .principal-palette { width: 44%; margin-left: 18px; } }

/* Card and tile photo drift (main.js): photos are enlarged slightly so moving them inside
   their frames never reveals an edge. Uses the separate translate/scale properties so the
   existing hover zoom (transform) still works on top. */
.px-drift { scale: 1.14; will-change: translate; }
.thumb img[src*="ladera"].px-drift { scale: 1; } /* already enlarged 1.5x */

/* Design page founder bio: one text size and color throughout (intro, body and credentials match). */
:is(#principal, #about) .about-text p.lede, :is(#principal, #about) .about-licenses li { font-size: inherit; line-height: inherit; }

/* Design page founder heading: "Ariane Bibas Design (ABD)" in italic, with Design in gold. */
.abd-title em { font-style: italic; }
.abd-title .abd-gold { color: var(--brass); }
.about-licenses .lic-name strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; }

/* Homepage: name under Ariane's portrait */
.about-feature .about-figure { grid-column: 1; grid-row: 1; margin: 0; }
.about-figure .about-photo-big { grid-column: auto; grid-row: auto; }
.about-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(21, 48, 79, 0.22); }
.about-caption-name { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.about-caption-role { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 980px) { .about-feature .about-figure { grid-row: auto; max-width: 520px; } }
@media (max-width: 680px) { .about-feature .about-figure { max-width: none; } }
.about-licenses-name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 26px 0 -4px; }
.about-text .about-licenses-name { color: #1c1b19 !important; font-size: 1.45rem; font-weight: 600; }
/* Design page: Ariane's name, bold, first under the credentials line */
:is(#principal, #about) .about-licenses .lic-name strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: #1c1b19; letter-spacing: 0; }
:is(#principal, #about) .about-licenses .lic-name { margin-bottom: 6px; }
/* Design page: "Ariane Bibas Design" title matches the page title size and spans above the text */
#principal .abd-title { font-size: var(--design-title-size); line-height: 1.06; margin: 6px 0 28px; clear: both; }

/* Design page: the hero title and the "Ariane Bibas Design" heading share one size. */
:root { --design-title-size: clamp(2.4rem, 4.5vw, 3.6rem); }
#design-hero h1 { font-size: var(--design-title-size); }

/* ---------- Calculator usability pass ---------- */
/* Phones: one "Choose a calculator" dropdown replaces the row of tab buttons (js/main.js builds it). */
.calc-picker { display: none; }
.calc-picker label {
  display: block; margin-bottom: 8px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}
.calc-picker select {
  width: 100%; padding: 13px 42px 13px 14px; font-family: var(--sans); font-size: 16px; font-weight: 500;
  color: var(--ink); border: 1px solid var(--hair-strong); border-radius: 2px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315304F' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.calc-picker select:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
/* Phones: a slim bar pinned under the header repeats the open calculator's main result. */
.calc-sticky { display: none; }
@media (max-width: 720px) {
  .calc-tabs { display: none; }
  .calc-picker { display: block; padding: 20px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
  .calc-shell { overflow: clip; } /* "hidden" would stop the result bar from sticking */
  .calc-panel { padding-top: 0; }
  .calc-sticky {
    display: flex; align-items: baseline; gap: 6px; position: sticky; top: var(--nav-h); z-index: 5;
    margin: 0 -40px 28px; padding: 10px 40px; background: var(--navy-dark); color: var(--cream);
    font-size: 0.9rem; line-height: 1.3; white-space: nowrap;
  }
  .calc-sticky-label { flex: 0 0 auto; color: rgba(243, 239, 231, 0.78); }
  .calc-sticky-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: #fff; }
  /* the soft fade under the header would sit on top of the result bar */
  body:has(.calc-sticky) .site-header::after { display: none; }
}
@media (max-width: 680px) {
  .calc-sticky { margin: 0 -20px 22px; padding: 10px 20px; }
}

/* Missing or out-of-range entries */
.calc-alert { margin-top: 8px; font-size: 0.92rem; font-weight: 600; color: #A23B3B; line-height: 1.4; }
.calc-fields input[aria-invalid="true"] { border-color: #A23B3B; outline-color: #A23B3B; }

/* Hints sitting under a slider row get a little air instead of butting against it */
.calc-fields .slider-row + .field-hint { margin-top: 8px; }
.calc-fields label + .field-hint { margin-top: -2px; }

/* Tax savings: the headline result leads the panel */
.tax-highlight.tax-highlight-top { margin-top: 0; margin-bottom: 20px; }

/* FHA vs. Conventional: Item | Conventional | FHA */
.calc-result .fc-table { table-layout: fixed; }
.fc-table th, .fc-table td {
  padding: 9px 0 9px 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top;
}
.fc-table thead th {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint);
}
.fc-table thead th:first-child, .fc-table th[scope="row"] { text-align: left; padding-left: 0; width: 40%; }
.fc-table th[scope="row"] { font-weight: 400; color: var(--ink-soft); }
.calc-result .fc-table td { font-weight: 600; color: var(--ink); }
.fc-sub { display: block; font-size: 0.82rem; color: var(--ink-faint); }
.calc-result .fc-table td.fc-best { background: var(--brass-tint); box-shadow: inset 0 -2px 0 var(--brass); padding-right: 6px; }
.fc-ltv-hint { margin-top: 12px; }
@media (max-width: 680px) {
  .calc-result .fc-table { display: table; font-size: 0.8rem; }
  .fc-table th, .fc-table td { padding-left: 6px; }
  .fc-table thead th:first-child, .fc-table th[scope="row"] { width: 34%; }
  .fc-table thead th { font-size: 0.66rem; letter-spacing: 0.06em; }
  .fc-sub { font-size: 0.74rem; }
}

/* Lead forms: visible labels above each field; a larger, regular-weight consent box */
.pq-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pq-field label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); }
.pq-optional { font-weight: 400; color: var(--ink-faint); }
.lc-consent-row { font-weight: 400; }
.lc-consent-row input[type="checkbox"] { width: 24px; height: 24px; margin-top: 0; }

/* Loan Finder results: "Your answers" folds away below the recommendation */
details.quiz-recap { margin: 6px 0 24px; padding: 0; }
details.quiz-recap > summary { cursor: pointer; margin: 0; padding: 14px 20px; list-style-position: inside; }
details.quiz-recap[open] > summary { border-bottom: 1px solid var(--line); }
details.quiz-recap .quiz-recap-list { padding: 14px 20px 16px; }
.quiz-power + .quiz-why { margin-top: 4px; }

/* Loan Finder hero: a jump straight to the questions, on phones only */
.quiz-jump-row { display: none; }
@media (max-width: 680px) {
  .quiz-jump-row { display: block; margin: 14px 0 18px; }
}
/* Notes on the tinted lead-form panel: one step darker so they clear 4.5:1 contrast */
.prequal .calc-note:not(.error):not(.success) { color: var(--ink-soft); }

/* ---------- Card hover: every highlightable card flips to navy with light text ---------- */
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card) {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover {
  background: var(--navy-dark); border-color: var(--navy-dark); color: rgba(247, 244, 237, 0.86);
}
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover :is(h2, h3, h4, strong, li, a:not(.chip):not(.btn)) { color: #fff; }
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover :is(p, .meta, .term-def, .term-ex) { color: rgba(247, 244, 237, 0.82); }
/* gold labels (e.g. DOWN PAYMENT, 03 · FINANCING TEAM, categories, "Learn more") turn champagne */
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover :is(li > span, .service-team, .cat, .learn, .kicker, .term-cat) { color: #E4CE9F; }
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover :is(li, ul) { border-color: rgba(244, 244, 244, 0.22); }
:is(.term-card, .primer-card):hover .chip { color: #E4CE9F; border-color: rgba(228, 206, 159, 0.6); background: transparent; }
:is(.term-card, .primer-card):hover .chip:hover { background: #E4CE9F; color: var(--navy-dark); }
/* the button inside a card turns cream so it still reads as a button on navy */
.service-card:hover .btn { background: var(--cream); color: var(--navy-dark); border-color: var(--cream); }

/* Navy cards: nothing keeps its dark day-time color — all text goes light, then labels go champagne. */
:where(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover :where(*:not(.btn):not(.chip)) { color: inherit; }
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover :is(h2, h3, h4) { color: #fff; }
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover :is(a:not(.btn):not(.chip), strong, b, [class*="alias"], [class*="aka"]) { color: #F2DFB4; }
/* Navy cards: every small label, tag and badge in bright champagne so it reads on navy. */
:is(.service-card, .program, .resource-card, .post-list .post-row, .term-card, .primer-card):hover :is(.cat-pill, .badge, li > span, .service-team, .cat, .learn, .kicker, .term-cat, .meta) {
  color: #F2DFB4; border-color: rgba(242, 223, 180, 0.7);
}
.term-card:hover .term-ex { background: rgba(255, 255, 255, 0.08); border-color: #F2DFB4; color: rgba(247, 244, 237, 0.9); }
.term-card:hover .term-ex :is(strong, b) { color: #F2DFB4; }
.term-card:hover .term-aka, .term-card:hover .term-aka span { color: #F2DFB4; }

/* "From today to move-in day": the four step cards share rows, so the labels, titles
   (Plan, Find, Finance, Build & Move In), text and links line up across the cards even
   when a label wraps to two lines. */
@supports (grid-template-rows: subgrid) {
  .path-steps .path-step { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .path-steps .path-step .step-label { align-self: start; }
  .path-steps .path-step .card-link { align-self: start; margin-top: 0; }
}

/* Homepage About: the name sits right on top of the credentials line, like a signature block. */
.about-text .about-licenses-name { margin: 30px 0 0; line-height: 1.2; }
.about-text .about-licenses-name + .about-licenses { margin-top: 10px; padding-top: 14px; }

/* Homepage hero: a lighter shade at the very top, so the photo shows behind the logo and menu
   (the menu keeps a soft text shadow so it stays readable). */
@media (min-width: 681px) {
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(18,16,13,0.5) 0%, rgba(18,16,13,0.28) 18%, rgba(18,16,13,0) 40%),
      linear-gradient(90deg, rgba(24,22,18,0.94) 0%, rgba(24,22,18,0.78) 40%, rgba(24,22,18,0) 70%);
  }
  .site-header.over-hero:not(.scrolled) { background: linear-gradient(180deg, rgba(18, 16, 13, 0.32) 0%, rgba(18, 16, 13, 0.14) 65%, rgba(18, 16, 13, 0) 100%); }
  .site-header.over-hero:not(.scrolled) .nav-links > li > :is(a, button) { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
}
/* Homepage Meet Ariane: headline in the site's standard section style, gold italic second half */
#about .about-text h2.about-head { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 700; line-height: 1.08; margin-bottom: 24px; }
#about .about-text h2.about-head em { display: block; font-style: italic; color: var(--brass-dark); }
.calc-teaser-text .lf-note { font-size: 0.92rem; color: var(--ink-soft); margin: 18px 0 0; }

/* Browse Loans (main.js), every screen size: loan names only, each with a hairline plus;
   a tap or click opens that loan's details. Compact, so browsers can hone in on one loan.
   Cards line up at the top, so opening one never stretches its neighbours. */
.intro-more { display: none; }
.primer-grid { gap: 12px; align-items: start; }
.primer-card { padding: 0; }
.primer-card h3 { margin: 0; font-size: 1.35rem; }
.primer-toggle {
  all: unset; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; box-sizing: border-box; padding: 18px 22px; cursor: pointer;
}
.primer-toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.primer-toggle::after {
  content: ""; flex-shrink: 0; width: 16px; height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 16px no-repeat;
}
.primer-card.open .primer-toggle::after { background: linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat; }
.primer-card:not(.open) > :not(h3) { display: none; }
.primer-card.open > :not(h3) { margin-left: 22px; margin-right: 22px; }
.primer-card.open { padding-bottom: 20px; }
.primer-card > p { min-height: 0; }
@media (max-width: 680px) {
  .primer-grid { gap: 10px; }
  .primer-card h3 { font-size: 1.3rem; }
  .primer-toggle { padding: 18px 20px; }
  .primer-card.open > :not(h3) { margin-left: 20px; margin-right: 20px; }

  .intro-clamp:not(.expanded) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .intro-more {
    all: unset; display: inline-block; margin-top: 8px; cursor: pointer;
    font-family: var(--sans); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--brass-dark);
    text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
  }
}

/* Homepage: Meet Ariane on a warm stone tone so it reads apart from the team section below */
#about { background: #E7E7E7; }
#about .about-caption { border-top-color: rgba(21, 48, 79, 0.28); }

/* ---------- Hero photos on phones: full width, trimmed from the top ---------- */
/* Each phone hero frame takes its own photo's proportions plus 18% (js/main.js adds
   .fullw and sets aspect-ratio), so the whole width of every photo shows. The photo
   sits 12% above the frame: the trim comes mostly off the top (ceiling / sky), with a
   little spare at the bottom for the scroll drift (main.js moves it at most 5.5%). */
@media (max-width: 680px) {
  .page-hero.photo-hero-tall > .photo-hero-bg.fullw > img,
  .hero .hero-bg.fullw > img {
    top: -12% !important; left: 0 !important; width: 100% !important; height: auto !important;
    max-width: none !important; object-fit: fill !important; object-position: initial !important;
    aspect-ratio: auto !important; scale: none !important;
  }
}

/* ---------- Mortgage Glossary on phones: term names only, tap the plus to open ---------- */
/* Same pattern as Browse Loans (js/glossary.js adds .term-toggle and .open).
   Above phone width every definition shows and the name is plain text. */
.term-toggle { all: unset; display: inline; }
/* All screen sizes now: only the term shows, with a plus; click to open the definition. */
@media all {
  .term-card { padding: 0; margin-bottom: 10px; }
  .term-card h3 { display: block; margin: 0; font-size: 1.3rem; }
  .term-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    width: 100%; box-sizing: border-box; padding: 18px 20px; cursor: pointer;
  }
  .term-toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
  .term-toggle::after {
    content: ""; flex-shrink: 0; width: 16px; height: 16px;
    background:
      linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat,
      linear-gradient(currentColor, currentColor) center / 1px 16px no-repeat;
  }
  .term-card.open .term-toggle::after { background: linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat; }
  .term-card:not(.open) > :not(h3) { display: none; }
  .term-card.open > :not(h3) { margin-left: 20px; margin-right: 20px; }
  .term-card.open > .cat-pill { display: inline-block; margin-top: 0; }
  .term-card.open { padding-bottom: 20px; }
}

/* ---------- Section headlines: bold italic, black with a gold ending ---------- */
/* Every section headline matches the "Ariane Bibas Design" title on the Design page:
   bold italic serif, the opening words in black and the closing phrase (<em>) in gold.
   On dark sections the gold is the lighter champagne so it stays readable. */
h2.split-headline { font-weight: 700; font-style: italic; }
h2.split-headline em { font-style: italic; color: var(--brass); }
:is(.cta-dark, .bg-dark, #web-design-teaser, .seo-x, #before-after, .analysis-banner) h2.split-headline em,
h2.split-headline .gold-text { color: #E4CE9F; }

/* Browse Loans: the last box invites people to ask about anything not listed. */
.primer-card-more { background: var(--brass-tint); border-color: var(--brass); }
.primer-card-more h3 { font-style: italic; color: var(--brass-dark); }
.primer-card-more .btn-row { margin-top: 4px; gap: 10px; }
.primer-card-more:hover .btn-solid-blue { background: var(--cream); color: var(--navy-dark); border-color: var(--cream); }
.primer-card-more:hover .btn-outline-strong { background: transparent; color: var(--cream); border-color: var(--cream); }

/* ============================================================
   Gallery refinements (2026-10-05)
   Geometric uppercase labels (Jost), slower opacity-only fades,
   staggered grids that drift gently (js/frame-drift.js), and quiet
   circle-arrow links for secondary actions.
   ============================================================ */
:root { --label-font: "Jost", "Futura", "Century Gothic", var(--sans); }

/* ---------- Labels, menu and buttons: Jost, uppercase, tracked ---------- */
.kicker, .service-kicker, .about-text .kicker.about-tagline, .web-kicker,
.hero .kicker, .page-hero .kicker, .analysis-banner .kicker,
.service-team, .resource-card .cat, .path-step .step-label, .facts li span,
.quiz-count, .quiz-recap-label, .quiz-power span, .seo-report-title,
.search-result .sr-cat, .path-details-summary, .calc-result .big-label, .tax-stats span,
.footer-contact-label, .footer-title, .contact-ways span,
.site-footer h4, .site-footer .footer-h, .post-row .meta, .article .meta,
.program .badge, .term-card .cat-pill, .guide-head .cat-pill,
.ba-tag, .before-after figcaption, .pt-title, .drawing-sheet .sheet-no, .drawing-sheet .sheet-title,
.hero-name, .hero-disciplines li, .btn {
  font-family: var(--label-font); font-weight: 500; text-transform: uppercase;
}
.kicker, .service-kicker, .about-text .kicker.about-tagline, .web-kicker,
.hero .kicker, .page-hero .kicker, .analysis-banner .kicker {
  font-size: 0.8rem; letter-spacing: 0.16em; line-height: 1.4; margin-bottom: 14px;
}
/* "Meet Ariane." joins the other labels: small, uppercase, tracked. */
.about-text .kicker.about-tagline { font-style: normal; }
.service-team, .resource-card .cat, .path-step .step-label, .path-details-summary,
.site-footer h4, .site-footer .footer-h { letter-spacing: 0.16em; }
.hero-name { font-weight: 500; letter-spacing: 0.22em; }
.hero-disciplines li { font-weight: 400; }
.btn { letter-spacing: 0.14em; }
/* Desktop menu: Jost uppercase, kept on one line. */
@media (min-width: 1101px) {
  .nav-links > li > a:not(.btn), .nav-links .nav-dropdown-toggle {
    font-family: var(--label-font); font-size: 0.84rem; font-weight: 500;
    letter-spacing: 0.13em; text-transform: uppercase;
  }
  .nav-links a.nav-hot:not(.btn) { font-weight: 500; }
}

/* ---------- Softer, slower fades: opacity only ---------- */
.reveal { transform: none; transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { transform: none; }
.split-headline .w { transform: none; }
.reveal.visible .split-headline .w,
.reveal.visible.split-headline .w {
  transform: none; transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--stagger, 0s);
}
.hero .split-headline .w,
.page-hero .split-headline .w { animation: wordFade 1s cubic-bezier(0.4, 0, 0.2, 1) both; animation-delay: calc(var(--stagger, 0s) + 0.15s); }
@keyframes wordFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
}

/* ---------- Staggered grids: alternate columns sit lower (desktop) ---------- */
/* The lowered frames keep their full height (equal negative bottom margin), and the
   grid gains the same room at the bottom so nothing overlaps what follows. */
@media (min-width: 1101px) {
  .portfolio-grid, .drawings-grid { padding-bottom: 40px; }
  .portfolio-grid > :nth-child(4n+2), .portfolio-grid > :nth-child(4n+4),
  .drawings-grid > :nth-child(4n+2), .drawings-grid > :nth-child(4n+4) { margin-top: 40px; margin-bottom: -40px; }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .portfolio-grid { padding-bottom: 40px; }
  .portfolio-grid > :nth-child(3n+2) { margin-top: 40px; margin-bottom: -40px; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  .drawings-grid { padding-bottom: 40px; }
  .drawings-grid > :nth-child(4n+2), .drawings-grid > :nth-child(4n+4) { margin-top: 40px; margin-bottom: -40px; }
}
@media (max-width: 759px), (prefers-reduced-motion: reduce) {
  .portfolio-tile, .drawing-sheet, .resource-grid .resource-card { translate: none; }
}

/* ---------- Circle-arrow links: quiet secondary actions ---------- */
.circle-link, .card-link.circle-link, .learn.circle-link {
  position: relative; display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 54px 0 0; margin-top: 16px;
  font-family: var(--label-font); font-size: 0.8rem; font-weight: 500; line-height: 1.35;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-dark); text-decoration: none;
  transition: color 0.25s ease;
}
/* Inside cards the link sits on the card's bottom edge, sized to its words. */
.learn.circle-link, .path-step .card-link.circle-link { margin-top: auto; align-self: flex-start; }
.learn.circle-link { display: inline-flex; padding-top: 0; }
.program .learn.circle-link { margin-top: auto; }
.program > p, .path-step > p { margin-bottom: 18px; }
.circle-link::before {
  content: ""; position: absolute; right: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px;
  box-sizing: border-box; border: 1px solid currentColor; border-radius: 50%;
  background: transparent; transition: background-color 0.3s ease;
}
.circle-link::after {
  content: ""; position: absolute; right: 13px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s ease;
}
.circle-link:hover, .card-link.circle-link:hover { color: var(--navy-dark); text-decoration: none; }
.circle-link:hover::before, .program:hover .learn.circle-link::before,
.circle-link:focus-visible::before, .program:focus-visible .learn.circle-link::before {
  background: rgba(21, 48, 79, 0.1);
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.circle-link:hover::after, .program:hover .learn.circle-link::after { transform: translate(1px, -1px); }
.circle-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
:is(.bg-dark, .cta-dark, .hero, .page-hero, .analysis-banner) .circle-link:not(.card-link):not(.learn) { color: var(--cream); }
@media (prefers-reduced-motion: reduce) {
  .circle-link::before, .circle-link::after { transition: none; }
}

/* Drawing sheets sit on one straight line — no stagger, no drift */
.drawings-grid > .drawing-sheet { margin-top: 0 !important; margin-bottom: 0 !important; translate: none !important; transform: none !important; }
.drawings-grid { align-items: start; }

/* Card headings are always bold (step cards, help cards, program cards) */
.path-step h3, .help-card h3, .program h3, .engagement-track h3 { font-weight: 700; }
/* Every step card ends with a "Contact Ariane" next step, aligned to the card bottom */
.path-step .step-cta { margin-top: auto; padding-top: 20px; }

/* ---------- Heroes fit on one screen (desktop) ---------- */
@media (min-width: 981px) {
  /* Page heroes: exactly one screen tall, tighter spacing */
  .page-hero.photo-hero-tall.under-nav,
  .photo-hero-tall.under-nav:has(img[src*="glossary-hero"]) { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 40px; }
  .page-hero h1 { font-size: min(clamp(2.4rem, 4.5vw, 3.6rem), 7.2vh); }
  .page-hero .lede { margin-top: 12px; }
  .photo-hero-tall .lede { max-width: 560px; }
  /* Licence block: small portrait beside the three licence lines */
  .photo-hero-tall .hero-lic-block { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
  .photo-hero-tall .hero-lic-badges { margin-bottom: 0 !important; }
  .photo-hero-tall .hero-lic-photo-frame { width: 104px; height: 104px; }
  .photo-hero-tall .hero-lic { margin-top: 0; line-height: 1.75; }
  .photo-hero-tall .hero-lic-block + .btn-row { margin-top: 22px !important; }
  /* Homepage hero: headline and spacing scale with screen height */
  .hero { min-height: 100vh; min-height: 100svh; padding-bottom: 36px; }
  .hero h1.hero-lead { font-size: min(clamp(2.8rem, 6vw, 5.2rem), 9vh); margin-bottom: 18px; }
  .hero-inner { max-width: 820px; }
  .hero .lede { margin-bottom: 22px; }
}
@media (min-width: 981px) {
  .hero .lede { max-width: 760px; font-size: min(1.12rem, 2.4vh); }
  .hero-disciplines li { margin-bottom: 4px; }
  .hero h1.hero-lead { margin-bottom: 14px; }
  .hero-identity { margin-bottom: 20px; }
}

/* ---------- Selected Projects: one long row of large photographs (Northworks-style) ----------
   The row starts in line with the page text and runs off the right edge of the screen, so
   there is always another project peeking in. Arrows (or a trackpad / swipe) move through it. */
.rail-shell { position: relative; margin-inline: calc(50% - 50vw); --tile-h: min(76vh, 860px); }
/* Edge to edge: exactly three photos fill the screen width, no margin on either side. */
.portfolio-rail {
  --rail-pad: 0px;
  display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad);
  padding: 0 var(--rail-pad) 4px; scrollbar-width: none; scroll-behavior: smooth;
}
.portfolio-rail::-webkit-scrollbar { display: none; }
.portfolio-rail:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; }
.portfolio-rail .portfolio-tile {
  flex: 0 0 auto; width: calc((100% - 12px) / 3); height: var(--tile-h);
  scroll-snap-align: start; position: relative; overflow: hidden; border-radius: 0; translate: none !important;
}
.portfolio-rail .portfolio-tile .pt-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.portfolio-rail .portfolio-tile img {
  width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1) !important;
}
.portfolio-rail .portfolio-tile figcaption {
  position: absolute !important; inset: auto 0 0 0; border-top: 0; pointer-events: none;
  padding: 120px 28px 26px !important; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.55) 100%) !important;
}
.portfolio-rail .pt-place { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.08rem; color: rgba(255,255,255,0.88); }
.portfolio-rail .portfolio-tile .pt-title {
  font-family: "Jost", "Futura", sans-serif; color: #fff; font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  font-weight: 500; letter-spacing: 0.06em; line-height: 1.15; text-decoration: none !important;
}
.portfolio-rail .pt-view { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1rem; color: rgba(255,255,255,0.9); margin-top: 10px; }
.portfolio-rail .pt-view::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); margin-left: 10px; vertical-align: middle; }
@media (hover: hover) {
  .portfolio-rail .portfolio-tile:hover img { transform: scale(1.04); filter: none; }
  .portfolio-rail .portfolio-tile:hover .pt-view { text-decoration: underline; text-underline-offset: 4px; }
}
.rail-arrow {
  position: absolute; top: calc(var(--tile-h, min(76vh, 860px)) / 2); z-index: 2; translate: 0 -50%;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,0.82); border: 1px solid rgba(21,48,79,0.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .35s ease, background .25s ease;
}
.rail-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--navy-dark); stroke-width: 1.4; }
.rail-arrow:hover { background: #fff; }
.rail-arrow:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.rail-next { right: 28px; }
.rail-prev { left: 28px; }
@media (min-width: 761px) and (max-width: 1100px) { .portfolio-rail .portfolio-tile { width: calc((100% - 6px) / 2); } }
.rail-arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .rail-shell { --tile-h: 120vw; }
  .portfolio-rail .portfolio-tile { width: 100%; }
  .portfolio-rail .portfolio-tile figcaption { padding: 80px 18px 18px !important; }
  .rail-arrow { width: 48px; height: 48px; }
  .rail-next { right: 12px; } .rail-prev { left: 12px; }
}
@media (prefers-reduced-motion: reduce) { .portfolio-rail { scroll-behavior: auto; } }

/* ---------- Articles: three cards on one straight line, taller photos to draw readers in ---------- */
.resource-grid { align-items: stretch; }
.resource-grid > .resource-card { margin-top: 0 !important; margin-bottom: 0 !important; translate: none !important; }
@media (min-width: 981px) {
  .resource-card .thumb { aspect-ratio: 4 / 3.4; }
  .resource-card .body { padding: 28px 28px 32px; }
  .resource-card h3 { font-size: 1.5rem; line-height: 1.2; }
  .resource-card p { font-size: 1rem; }
}

/* ---------- Slim bar (Northworks-style), desktop ----------
   A thin bar with the "ariane bibas" wordmark instead of the tall boxed logo. On the
   homepage there is no bar over the opening photo at all; it slides in once the hero has
   scrolled away (the + links in the hero lead to every team in the meantime). */
.nav-wordmark { display: none; }
@media (min-width: 981px) {
  :root { --nav-h: 60px; }
  .nav { height: var(--nav-h); padding-top: 0; }
  .site-header .nav-brand-mark { display: none; }
  .site-header .nav-wordmark {
    display: block; font-family: "Jost", "Futura", sans-serif; font-weight: 400;
    font-size: 1.22rem; letter-spacing: 0.34em; text-transform: lowercase; line-height: 1;
    color: var(--cream); white-space: nowrap;
  }
  .site-header { transition: transform 0.45s cubic-bezier(.2,.7,.2,1), opacity 0.35s ease, background 0.35s ease; }
  .site-header.nav-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
  .site-header .nav-links .nav-dropdown-menu { margin-top: 0; }
}
/* Book a Call: gold instead of navy, everywhere it appears in the bar */
.nav-links a.btn-primary, .site-header .nav-links a.btn-primary {
  background: #C2A266; border-color: #C2A266; color: #14120E;
}
.nav-links a.btn-primary:hover, .site-header .nav-links a.btn-primary:hover {
  background: #D6BC86; border-color: #D6BC86; color: #14120E;
}
@media (max-width: 980px) {
  .site-header .nav-links.open a.btn-primary { background: #C2A266; border-color: #C2A266; color: #14120E; }
}
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
@media (min-width: 981px) { .site-header.nav-hidden:focus-within { transform: none; opacity: 1; pointer-events: auto; } }
@media (min-width: 981px) {
  .site-header .nav-links a.btn-primary { padding-top: 9px; padding-bottom: 9px; }
  .page-hero.photo-hero-tall.under-nav,
  .photo-hero-tall.under-nav:has(img[src*="glossary-hero"]) { padding-top: calc(var(--nav-h) + 56px); }
}

/* ---------- Homepage, desktop: the boxed logo large at top left; words sit low ----------
   With no menu bar over the opening photo, the logo carries the brand on its own. The
   headline and text are anchored to the bottom so they cover less of the dining table. */
.hero-mark { display: none; }
@media (min-width: 981px) {
  .hero-inner > .hero-mark { display: block; height: min(245px, 27vh); width: auto; margin: 0 0 26px; }
  .hero { align-items: flex-end; }
  .hero h1.hero-lead { font-size: min(clamp(2.6rem, 5.4vw, 4.8rem), 8vh); }
}

/* Slim bar logo: the small "ab" coin, then the name beside it */
.nav-boxmark { display: none; }
@media (min-width: 981px) {
  .site-header .nav-brand { gap: 14px; }
  .site-header .nav-boxmark {
    display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto;
  }
  .site-header .nav-boxmark img { width: 44px; height: 44px; display: block; }
  /* Homepage: no space wasted under the words, so they sit low and clear the logo */
  .hero > .wrap { padding-bottom: 0; }
}

/* ---------- Send a Message: the closing section on every page (Northworks-style) ----------
   Light grey-blue band; the four teams as a square photo grid on the left, a quiet
   underlined form on the right, and the round Submit whose arrow turns to point the way. */
.contact-band { background: #E1E1E1; color: var(--navy-dark); padding: 76px 0; }
.cb-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.cb-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cb-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.cb-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.cb-tile[href*="real-estate"] img { object-position: 60% 50%; }
.cb-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,0.5) 100%); }
.cb-tile span {
  position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff;
  font-family: var(--label-font); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.cb-tile:hover img { transform: scale(1.05); }
.cb-tile:focus-visible { outline: 2px solid var(--navy-dark); outline-offset: 3px; }
.contact-band .kicker { color: var(--label); }
.contact-band h2.split-headline { color: var(--navy-dark); font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.08; margin: 10px 0 12px; text-align: left; }
.contact-band h2.split-headline em { color: var(--brass); }
.cb-lede { color: var(--ink-soft); font-size: 1.02rem; max-width: 600px; margin: 0 0 22px; }
.cb-form { display: grid; gap: 16px; }
.cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.cb-field { display: grid; gap: 2px; }
.cb-field > span { font-family: var(--label-font); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.cb-field > span i { font-style: normal; text-transform: none; letter-spacing: 0.02em; opacity: 0.8; }
.cb-field :is(input, select, textarea) {
  font: inherit; font-size: 1rem; color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid rgba(21, 48, 79, 0.38); border-radius: 0; padding: 8px 0; resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cb-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315304F' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 11px no-repeat; padding-right: 20px; }
.cb-field :is(input, select, textarea):focus { outline: none; border-bottom-color: var(--navy-dark); box-shadow: 0 1px 0 var(--navy-dark); }
.cb-field :is(input, textarea)[aria-invalid="true"] { border-bottom-color: #A3341F; box-shadow: 0 1px 0 #A3341F; }
.cb-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.74rem; line-height: 1.5; color: var(--ink-soft); }
.cb-consent input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--navy-dark); }
.cb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cb-actions { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; margin-top: 4px; }
.cb-status { margin: 0; font-size: 0.95rem; color: var(--navy-dark); }
.cb-status.is-error { color: #A3341F; }

/* Submit: the word, then an arrow inside a thin circle. On hover the arrow swings from
   pointing up-and-out to pointing straight ahead and reaches past the circle, which draws in. */
.submit-circle {
  position: relative; display: inline-flex; align-items: center; gap: 16px; cursor: pointer;
  background: none; border: 0; padding: 22px 6px 22px 0; color: var(--navy-dark);
  font-family: var(--label-font); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.submit-circle .sc-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.submit-circle .sc-ring {
  position: absolute; right: -19px; top: 50%; width: 72px; height: 72px; margin-top: -36px;
  border: 1px solid rgba(21, 48, 79, 0.35); border-radius: 50%; pointer-events: none;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease;
}
.submit-circle:hover .sc-arrow, .submit-circle:focus-visible .sc-arrow { transform: translateX(7px) rotate(45deg); }
.submit-circle:hover .sc-ring, .submit-circle:focus-visible .sc-ring { transform: translateX(-8px) scale(0.76); border-color: var(--navy-dark); }
.submit-circle:focus-visible { outline: 2px solid var(--navy-dark); outline-offset: 6px; }
.submit-circle[disabled] { opacity: 0.55; cursor: wait; }

.cb-ways { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 36px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(21, 48, 79, 0.18); }
.cb-ways span { display: block; font-family: var(--label-font); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); margin-bottom: 2px; }
.cb-ways a:not(.circle-link) { color: var(--navy-dark); font-size: 0.98rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cb-ways .circle-link { color: var(--navy-dark); }
@media (max-width: 980px) {
  .cb-grid { grid-template-columns: 1fr; gap: 36px; }
  .cb-mosaic { order: 2; grid-template-columns: repeat(4, 1fr); }
  .cb-tile span { left: 8px; bottom: 8px; font-size: 0.62rem; letter-spacing: 0.1em; }
}
@media (max-width: 600px) {
  .contact-band { padding: 56px 0; }
  .cb-row { grid-template-columns: 1fr; }
  .cb-mosaic { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .submit-circle .sc-arrow, .submit-circle .sc-ring, .cb-tile img { transition: none; }
}

/* Every diagonal arrow turns to point straight ahead on hover */
.circle-link::before { transition: background-color 0.3s ease, transform 0.5s cubic-bezier(.2,.7,.2,1); }
.circle-link::after { transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.circle-link:hover::after, .circle-link:focus-visible::after, .program:hover .learn.circle-link::after { transform: translateX(3px) rotate(45deg); }
.ne-arrow { display: inline-block; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
a:hover > .ne-arrow, a:focus-visible > .ne-arrow { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .ne-arrow { transition: none; }
}
.cb-consent[hidden] { display: none; }
.contact-band { padding: 64px 0; }
@media (min-width: 981px) {
  .cb-grid { align-items: stretch; }
  .cb-mosaic { grid-template-rows: 1fr 1fr; }
  .cb-mosaic .cb-tile { aspect-ratio: auto; min-height: 180px; }
}
.submit-circle { gap: 26px; }
.submit-circle:hover .sc-ring, .submit-circle:focus-visible .sc-ring { transform: translateX(-3px) scale(0.76); }

/* Homepage hero: lighter, airier shade behind the words; one quiet Book a Call */
@media (min-width: 981px) {
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(18,16,13,0.18) 0%, rgba(18,16,13,0) 30%),
      linear-gradient(90deg, rgba(24,22,18,0.74) 0%, rgba(24,22,18,0.54) 38%, rgba(24,22,18,0) 66%);
  }
  .hero .hero-lead, .hero .hero-name, .hero-disciplines a { text-shadow: 0 1px 14px rgba(0,0,0,0.35); }
}
.hero .submit-circle.hero-cta { color: var(--cream); margin-top: 18px; padding-top: 18px; padding-bottom: 18px; text-decoration: none; }
.hero .hero-cta .sc-ring { border-color: rgba(239, 239, 239, 0.55); }
.hero .hero-cta:hover .sc-ring, .hero .hero-cta:focus-visible .sc-ring { border-color: var(--cream); }
.hero .hero-cta:focus-visible { outline-color: var(--cream); }
.hero .submit-circle.hero-cta { gap: 34px; align-self: flex-start; width: auto; }

/* ---------- Staggered fade-up reveal (Northworks-style) ----------
   When the project row scrolls into view, the photos appear slowly one after another from
   left to right: each fades in while rising about 80px, then settles onto the common line.
   It replays each time the row comes back on screen (js/project-rail.js). */
.js-stagger .portfolio-rail .portfolio-tile {
  opacity: 0; transform: translateY(80px);
  transition: opacity 0s, transform 0s;
}
.js-stagger .portfolio-rail.is-in .portfolio-tile {
  opacity: 1; transform: none;
  transition: opacity 1.8s ease, transform 2.4s cubic-bezier(.16,.84,.3,1);
  transition-delay: calc(var(--i, 0) * 450ms);
}
.js-stagger .portfolio-rail.is-settled .portfolio-tile { transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .js-stagger .portfolio-rail .portfolio-tile { opacity: 1; transform: none; transition: none; }
}
/* Hero team links: heavier and solid white so they read clearly over the photo */
.hero .hero-disciplines li { font-weight: 600; color: #fff; }
.hero .hero-disciplines li::before, .hero .hero-disciplines li::after { height: 1.5px; }
.hero .hero-disciplines li::after { width: 1.5px; height: 11px; }
.hero .hero-disciplines a { text-shadow: 0 1px 10px rgba(0,0,0,0.55); }

/* ---------- Lines that were fading out: stronger hairlines site-wide ---------- */
:root { --line: #C8C0B0; --hair: rgba(21, 48, 79, 0.28); }
:is(#principal, #about) .about-licenses, .about-licenses { border-top: 1.5px solid rgba(21, 48, 79, 0.35); }
.cb-ways { border-top-color: rgba(21, 48, 79, 0.32); }
.cb-field :is(input, select, textarea) { border-bottom-color: rgba(21, 48, 79, 0.5); }

/* ---------- Inner-page heroes, desktop: the boxed logo above the words, and the words
   sitting low on a full-screen photo, the same composition as the homepage ---------- */
.page-mark { display: none; }
@media (min-width: 981px) {
  .page-hero.under-nav { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding-bottom: 44px !important; }
  .page-hero.under-nav > .wrap { width: 100%; }
  .page-mark { display: block; height: min(150px, 16vh); width: auto; margin: 0 0 22px; }
  #web-hero.under-nav { padding-top: calc(var(--nav-h) + 40px); }
  #web-hero .web-hero-grid { align-items: end; }
}

/* Hero calls to action everywhere: the round-arrow link (arrow turns forward on hover) */
.page-hero .submit-circle.hero-cta { color: var(--cream); padding-top: 16px; padding-bottom: 16px; gap: 34px; text-decoration: none; }
.page-hero .hero-cta .sc-ring { border-color: rgba(239, 239, 239, 0.55); }
.page-hero .hero-cta:hover .sc-ring, .page-hero .hero-cta:focus-visible .sc-ring { border-color: var(--cream); }
.page-hero .hero-cta:focus-visible { outline-color: var(--cream); }
.page-hero .btn-row:has(.hero-cta) { gap: 8px 64px; align-items: center; }
@media (min-width: 981px) { .page-hero.under-nav { padding-bottom: 30px !important; } }

/* Web Design hero: the website preview starts level with the logo, and the silk waves and
   their glow are mirrored so the light sits top right, away from the words. */
@media (min-width: 981px) {
  #web-hero .web-hero-grid { align-items: start; }
  #web-hero .browser-mock { margin-top: 0; }
}
#web-hero .path-fx-layer { transform: scaleX(-1); }

/* ---------- Circle-arrow buttons on phones: small, tight, still ---------- */
/* No hover motion on phones (a tap left it half-animated). A small 1px circle sits
   centered on a diagonal arrow drawn at 1px, close to the word. */
@media (max-width: 680px) {
  .submit-circle { gap: 22px; padding: 10px 6px 10px 0; font-size: 0.95rem; }
  .submit-circle .sc-arrow { width: 16px; height: 16px; stroke-width: 1.5; transition: none; }
  .submit-circle .sc-ring { width: 36px; height: 36px; margin-top: -18px; right: -4px; border-width: 1px; transition: none; }
  .submit-circle:hover .sc-arrow, .submit-circle:focus-visible .sc-arrow,
  .submit-circle:hover .sc-ring, .submit-circle:focus-visible .sc-ring { transform: none; }
  .hero .submit-circle.hero-cta, .page-hero .submit-circle.hero-cta { gap: 22px; margin-top: 0; padding-top: 10px; padding-bottom: 10px; }
  .page-hero .btn-row:has(.hero-cta), .hero .btn-row:has(.hero-cta) { gap: 6px 36px; }
}

/* Web Design hero: the three circle-arrow links sit in one row under the words and the
   preview, spaced so the circles never touch. The silk waves reach further toward the
   centre before fading, and stay faintly visible behind the words. */
#web-hero .web-hero-ctas { grid-column: 1 / -1; margin-top: 0; gap: 12px 56px; }
#web-hero .web-hero-ctas .circle-link { color: var(--cream); margin-top: 0; }
#web-hero .web-hero-ctas .circle-link:hover { color: #fff; }
#web-hero .fabric-mask {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, rgba(0,0,0,0.45) 78%, rgba(0,0,0,0.15) 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 45%, rgba(0,0,0,0.45) 78%, rgba(0,0,0,0.15) 100%);
}
@media (max-width: 680px) {
  #web-hero .web-hero-ctas { gap: 6px 36px; }
}

/* Contact band: warm grey, with the big boxed logo on the left (Northworks-style) in place of
   the photo mosaic. Submit uses the same small circle-arrow as Book a Call. */
.cb-mark { display: flex; align-items: center; justify-content: center; }
.cb-mark img { display: block; width: min(100%, 380px); height: auto; }
.cb-submit { background: none; border: 0; cursor: pointer; margin-top: 0; }
.cb-submit[disabled] { opacity: 0.55; cursor: wait; }
.cb-submit:focus-visible { outline: 2px solid var(--navy-dark); outline-offset: 6px; }
@media (max-width: 980px) {
  .cb-mark { order: 2; justify-content: flex-start; }
  .cb-mark img { width: 200px; }
}

/* Branding, Web & Print page: tighter. Shorter gaps between sections, a one-line
   "every website" note under the services, and a compact FAQ at the end. */
#web-hero ~ .section { padding-top: 48px !important; padding-bottom: 48px !important; }
#web-hero ~ .section .section-head { margin-bottom: 28px; }
#seo-care .section-head { margin-bottom: 0; }
#seo-care .seo-care-note { margin-top: 14px; }
.web-includes { max-width: 860px; margin: 28px auto 0; text-align: center; color: var(--ink-soft); font-size: 0.98rem; }
.web-includes strong { color: var(--navy-dark); }
#web-faq .design-disclosure { max-width: 820px; margin: 36px auto 0; }
@media (max-width: 680px) { #web-hero ~ .section { padding-top: 36px !important; padding-bottom: 36px !important; } }

/* ---------- Send a Message sits inside the footer ----------
   One navy block with the blueprint: the message form on top (logo in the left third,
   form from one-third across), a hairline, then the footer links. The footer's own logo
   is hidden since the one beside the form already signs it. */
.site-footer:has(> .contact-band) { padding-top: 0; }
.site-footer:has(> .contact-band) .footer-mark { display: none; }
.site-footer > .contact-band { background: transparent; color: var(--cream); padding: 80px 0 0; }
.site-footer > .contact-band .cb-grid {
  grid-template-columns: 1fr 2fr; align-items: start; gap: 48px;
  padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid rgba(239, 239, 239, 0.24);
}
.site-footer .cb-mark { justify-content: flex-start; padding-top: 6px; }
.site-footer .cb-mark img { width: 190px; }
.site-footer .contact-band .kicker, .site-footer .cb-field > span, .site-footer .cb-ways span { color: #E4CE9F; }
.site-footer .contact-band h2.split-headline { color: var(--cream); }
.site-footer .contact-band h2.split-headline em { color: #E4CE9F; }
.site-footer .cb-lede, .site-footer .cb-consent { color: rgba(243, 239, 231, 0.78); }
.site-footer .cb-field :is(input, select, textarea) { color: var(--cream); border-bottom-color: rgba(239, 239, 239, 0.4); }
.site-footer .cb-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F3EFE7' stroke-width='1.2'/%3E%3C/svg%3E"); }
.site-footer .cb-field select option { color: var(--ink); }
.site-footer .cb-field :is(input, select, textarea):focus { border-bottom-color: var(--cream); box-shadow: 0 1px 0 var(--cream); }
.site-footer .cb-status { color: var(--cream); }
.site-footer .cb-status.is-error { color: #F2B8A8; }
.site-footer .cb-ways { border-top-color: rgba(239, 239, 239, 0.18); }
.site-footer .contact-band a, .site-footer .contact-band a:hover { background: none; border-color: transparent; }
.site-footer .cb-ways a:not(.circle-link) { color: var(--cream); }
.site-footer .contact-band .circle-link, .site-footer .contact-band .circle-link:hover { color: var(--cream); }
.site-footer .cb-submit:focus-visible { outline-color: var(--cream); }
.site-footer .cb-consent input { accent-color: #E4CE9F; }
@media (max-width: 980px) {
  .site-footer > .contact-band .cb-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .cb-mark { order: 0; }
  .site-footer .cb-mark img { width: 130px; }
}
@media (max-width: 680px) {
  .site-footer > .contact-band { padding-top: 56px; }
  .site-footer > .contact-band .cb-grid { padding-bottom: 44px; margin-bottom: 44px; }
}
.site-footer .contact-band .circle-link { padding: 0 54px 0 0; border: 0; }
.site-footer .contact-band a { margin: 0; border-radius: 0; }
.site-footer .cb-ways a:not(.circle-link) { padding: 0; }
.site-footer .contact-band .circle-link { margin-top: 0; }

/* Footer message area, compact: form starts close to the logo, tighter rows top to bottom */
.site-footer > .contact-band { padding-top: 52px; }
.site-footer > .contact-band .cb-grid { padding-bottom: 40px; margin-bottom: 40px; }
@media (min-width: 981px) {
  .site-footer > .contact-band .cb-grid { grid-template-columns: 190px minmax(0, 860px); gap: 64px; }
}
.site-footer .contact-band h2.split-headline { margin: 6px 0 8px; }
.site-footer .cb-lede { margin-bottom: 12px; }
.site-footer .cb-form, .site-footer .cb-row { row-gap: 8px; }
.site-footer .cb-field :is(input, select, textarea) { padding: 5px 0; }
.site-footer .cb-field textarea { min-height: 0; height: 3.2em; }
.site-footer .cb-ways { margin-top: 18px; padding-top: 14px; gap: 10px 32px; }

/* Web Design hero has no photo to anchor the bottom, so its content sits centred, a touch high */
@media (min-width: 981px) {
  #web-hero.under-nav { justify-content: center; padding-bottom: 72px !important; }
}
.hero-lic-photo[src*="ariane-face"] { object-position: 50% 50%; }

/* Inner-page heroes, desktop: everything starts at the same spot, the logo a third of the way
   down the screen, with the title, short intro, licence photo and buttons stacked below it.
   (Branding keeps its own centred layout, since it has no photo behind it.) */
@media (min-width: 981px) {
  .page-hero.under-nav:not(#web-hero) { justify-content: flex-start; padding-top: 33vh; padding-top: 33svh; }
}

/* The arrow turn also shows when the computer is set to reduce motion (it just snaps instead
   of gliding), and hovering a whole linked card turns the arrow inside it. */
a:hover .circle-link::after, a:hover .sc-arrow { transform: translateX(3px) rotate(45deg); }
@media (max-width: 680px) { a:hover .circle-link::after, a:hover .sc-arrow { transform: none; } }
/* Loan Finder hero: the jump to the questions shows on every screen size */
.quiz-jump-row.quiz-jump-all { display: block; margin: 18px 0 0; }

/* ---------- Branding page: brand storyboard ----------
   Eight small boards that tell how the Ariane Bibas brand was pulled together, laid out
   like a brand-guidelines book: mark, palette, type, photo overlay, stationery, signage,
   social, website. Every board is drawn in HTML and scales with its card (cqw units). */
.sb-head { max-width: 640px; margin: 8px 0 26px; }
.sb-head h3.split-headline { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; margin: 8px 0 8px; color: var(--navy-dark); }
.sb-head h3.split-headline em { color: var(--brass); }
.sb-head p { margin: 0; color: var(--ink-soft); }
.storyboard { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.sb-card { margin: 0; }
.sb-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; container-type: inline-size; background: #fff; box-shadow: 0 1px 0 rgba(21,48,79,0.08), 0 14px 30px -18px rgba(21,48,79,0.45); }
.sb-art img { display: block; }
.sb-cap { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding-top: 14px; border-top: 0; }
.sb-no { grid-row: span 2; font-family: var(--label-font); font-size: 0.78rem; letter-spacing: 0.12em; color: var(--brass); padding-top: 3px; }
.sb-cap h4 { margin: 0 0 4px; font-family: var(--label-font); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-dark); }
.sb-cap p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); }

/* 01 mark */
.sb-mark { background: #F8F8F8; }
.sb-rule { position: absolute; left: 6cqw; right: 6cqw; top: 5cqw; padding-bottom: 1.6cqw; border-bottom: 1px solid rgba(21,48,79,0.35); font-family: var(--label-font); font-size: 2.6cqw; letter-spacing: 0.08em; color: var(--navy-dark); }
.sb-rule b { color: var(--brass); font-weight: 400; }
.sb-mark img { position: absolute; width: 30cqw; height: auto; left: 50%; top: 54%; transform: translate(-50%, -50%); }
.sb-arc { position: absolute; width: 60cqw; height: 60cqw; left: -30cqw; bottom: -34cqw; border-radius: 50%; background: radial-gradient(circle at 60% 35%, #fff, #E4E4E4); box-shadow: 0 0 0 9cqw rgba(228, 228, 228,0.55); }

/* 02 palette */
.sb-palette { display: flex; }
.sb-palette > span { flex: 1; background: var(--c); position: relative; }
.sb-palette i { position: absolute; left: 0; right: 0; bottom: 5cqw; text-align: center; font-style: normal; font-family: var(--label-font); font-size: 2.4cqw; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); }
.sb-palette .lt i { color: var(--navy-dark); }

/* 03 type */
.sb-type { background: #15304F; color: var(--cream); display: flex; align-items: center; gap: 6%; padding: 0 8%; }
.sb-aa { font-family: var(--serif); font-size: 30cqw; line-height: 1; font-style: italic; color: #E4CE9F; }
.sb-type-list { display: grid; gap: 2.4cqw; border-left: 1px solid rgba(239, 239, 239,0.3); padding-left: 5cqw; }
.sb-type-list em { font-family: var(--serif); font-size: 5.4cqw; }
.sb-type-list b { font-family: var(--label-font); font-weight: 500; font-size: 2.8cqw; letter-spacing: 0.16em; }
.sb-type-list small { font-family: var(--sans); font-size: 3cqw; opacity: 0.8; }

/* 04 photo + overlay */
.sb-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,48,79,0.94) 0%, rgba(21,48,79,0.7) 42%, rgba(21,48,79,0) 78%); }
.sb-photo-copy { position: absolute; z-index: 1; left: 7cqw; top: 50%; transform: translateY(-50%); display: grid; gap: 4cqw; color: var(--cream); font-family: var(--serif); font-size: 6.4cqw; line-height: 1.08; }
.sb-photo-copy img { width: 14cqw; height: auto; }
.sb-photo-copy em { color: #E4CE9F; }

/* 05 stationery */
.sb-stationery { background: #E1E1E1; }
.sb-bc { position: absolute; width: 36cqw; height: 21cqw; left: 8cqw; box-shadow: 0 2cqw 4cqw -2cqw rgba(0,0,0,0.35); }
.sb-bc img { height: auto; }
.sb-bc-dark { top: 12cqw; background: #15304F; display: grid; place-items: center; }
.sb-bc-dark img { width: 10cqw; }
.sb-bc-light { top: 40cqw; background: #fff; border-right: 1.6cqw solid #15304F; padding: 3cqw; }
.sb-bc-light img { width: 7cqw; margin-bottom: 3cqw; }
.sb-bc-light b { display: block; font-family: var(--serif); font-size: 3.2cqw; color: var(--navy-dark); font-weight: 600; }
.sb-bc-light small { display: block; font-family: var(--label-font); font-size: 1.9cqw; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.sb-letter { position: absolute; right: 9cqw; top: 8cqw; bottom: 8cqw; width: 34cqw; background: #fff; border-bottom: 1.2cqw solid #15304F; padding: 4cqw; box-shadow: 0 2cqw 4cqw -2cqw rgba(0,0,0,0.35); display: flex; flex-direction: column; gap: 2cqw; }
.sb-letter img { width: 8cqw; height: auto; margin: 0 0 4cqw auto; }
.sb-letter i { display: block; height: 1cqw; background: rgba(21,48,79,0.16); }
.sb-letter i.short { width: 60%; }

/* 06 signage */
.sb-sign { background: linear-gradient(180deg, #EEF0F2 0 78%, #D6D6D6 78%); display: flex; justify-content: center; align-items: flex-end; gap: 7%; padding-bottom: 6%; }
.sb-roll { position: relative; width: 26cqw; height: 58cqw; overflow: hidden; border-top: 1.4cqw solid #B9BCC0; box-shadow: 0 2cqw 4cqw -2cqw rgba(0,0,0,0.4); display: flex; flex-direction: column; padding: 4cqw 3.4cqw; gap: 6cqw; font-family: var(--serif); font-size: 4.3cqw; line-height: 1.08; }
.sb-roll img { height: auto; }
.sb-roll-dark { background: #15304F; color: var(--cream); }
.sb-roll-dark::after { content: ""; position: absolute; width: 50cqw; height: 50cqw; border-radius: 50%; right: -30cqw; bottom: -22cqw; background: rgba(132,109,31,0.35); }
.sb-roll-dark img { width: 11cqw; }
.sb-roll-dark em { color: #E4CE9F; }
.sb-roll-photo { background: #F8F8F8; color: var(--navy-dark); }
.sb-roll-photo .sb-roll-logo { width: 11cqw; }
.sb-roll-photo em { color: var(--brass); }
.sb-roll-img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44%; object-fit: cover; clip-path: ellipse(90% 100% at 50% 100%); }

/* 07 social */
.sb-social { background: #EFEFEF; display: grid; place-items: center; }
.sb-phone { width: 36cqw; height: 66cqw; margin-top: 12cqw; border: 1.6cqw solid #1B1B1B; border-bottom: 0; border-radius: 6cqw 6cqw 0 0; background: #fff; padding: 5cqw 2.4cqw 0; display: flex; flex-direction: column; gap: 2cqw; }
.sb-post-head { display: flex; align-items: center; gap: 2cqw; font-family: var(--sans); font-size: 2.4cqw; color: #222; }
.sb-post-head img { width: 5.4cqw; height: auto; }
.sb-post { position: relative; aspect-ratio: 1; background: #15304F; overflow: hidden; color: var(--cream); font-family: var(--serif); font-size: 3.6cqw; line-height: 1.08; padding: 3cqw; }
.sb-post img { position: absolute; width: 22cqw; height: 22cqw; right: -5cqw; bottom: -5cqw; border-radius: 50%; object-fit: cover; }
.sb-post em { color: #E4CE9F; }
.sb-post > span { position: relative; }

/* 08 website */
.sb-web { background: #15304F; display: grid; place-items: center; }
.sb-web::before { content: ""; position: absolute; width: 70cqw; height: 70cqw; border-radius: 50%; left: -26cqw; top: -30cqw; border: 1px solid rgba(228,206,159,0.35); }
.sb-browser { position: relative; width: 78cqw; background: #E9E9E9; padding: 4cqw 0 0; box-shadow: 0 3cqw 6cqw -3cqw rgba(0,0,0,0.5); }
.sb-browser i { position: absolute; top: 1.4cqw; left: 2cqw; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #C9C3B8; }
.sb-browser i:nth-child(2) { left: 4.4cqw; } .sb-browser i:nth-child(3) { left: 6.8cqw; }
.sb-browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

@media (max-width: 1100px) { .storyboard { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  /* Phones: the boards scroll sideways like a film strip */
  .storyboard { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-right: -16px; padding-right: 16px; padding-bottom: 6px; }
  .sb-card { scroll-snap-align: start; }
}

/* ---------- Loan Finder: the questions in a card over the hero photo (computers) ---------- */
@media (min-width: 981px) {
  .lf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: end; }
  #quiz-home.is-empty { display: none; }
  .quiz-shell.in-hero {
    max-width: none; margin: 0; padding: 26px 28px 24px; color: var(--ink);
    background: rgba(249, 249, 249, 0.96); border: 0; border-top: 3px solid var(--brass);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .quiz-shell.in-hero .quiz-progress { margin-bottom: 16px; gap: 6px; }
  .quiz-shell.in-hero .quiz-progress .dot { width: 26px; }
  .quiz-shell.in-hero .quiz-count { font-size: 0.74rem; margin-bottom: 4px; }
  .quiz-shell.in-hero .quiz-q { font-size: 1.55rem; margin-bottom: 14px; color: var(--ink); }
  .quiz-shell.in-hero .quiz-opts { gap: 6px; }
  .quiz-shell.in-hero .quiz-opt { padding: 9px 14px; border-radius: 2px; }
  .quiz-shell.in-hero .quiz-opt strong { font-size: 0.94rem; }
  .quiz-shell.in-hero .quiz-opt span { font-size: 0.8rem; margin-top: 1px; }
  .quiz-shell.in-hero .quiz-back { margin-top: 12px; }
  /* the jump link is for phones, where the questions sit below the photo */
  #analysis-hero .quiz-jump-row { display: none; }
}
@media (min-width: 981px) and (max-height: 820px) {
  .quiz-shell.in-hero .quiz-opt span { display: none; }
  .quiz-shell.in-hero .quiz-opt { padding: 8px 14px; }
}

/* Loan Finder hero card, dark glass: smoked translucent panel, hairline edges, cream type,
   and each answer a quiet row whose arrow turns forward on hover. */
@media (min-width: 981px) {
  .quiz-shell.in-hero {
    background: rgba(16, 15, 13, 0.52); color: var(--cream);
    border: 1px solid rgba(239, 239, 239, 0.16); border-top: 1px solid rgba(239, 239, 239, 0.16);
    border-radius: 2px; padding: 30px 30px 26px;
    -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  }
  .quiz-shell.in-hero .quiz-progress .dot { height: 2px; background: rgba(239, 239, 239, 0.22); }
  .quiz-shell.in-hero .quiz-progress .dot.done { background: #D9BF86; }
  .quiz-shell.in-hero .quiz-progress .dot.now { background: var(--cream); }
  .quiz-shell.in-hero .quiz-count { color: #E4CE9F; font-family: var(--label-font); font-weight: 500; letter-spacing: 0.18em; }
  .quiz-shell.in-hero .quiz-q { color: #fff; font-weight: 500; font-size: 1.7rem; }
  .quiz-shell.in-hero .quiz-opts { gap: 0; border-top: 1px solid rgba(239, 239, 239, 0.16); }
  .quiz-shell.in-hero .quiz-opt {
    position: relative; background: transparent; border: 0; border-bottom: 1px solid rgba(239, 239, 239, 0.16);
    border-radius: 0; padding: 11px 44px 11px 4px; transform: none;
    transition: background-color 0.25s ease, padding-left 0.35s cubic-bezier(.2,.7,.2,1);
  }
  .quiz-shell.in-hero .quiz-opt strong { color: var(--cream); font-weight: 500; font-size: 0.98rem; }
  .quiz-shell.in-hero .quiz-opt span { color: rgba(243, 239, 231, 0.62); }
  .quiz-shell.in-hero .quiz-opt::after {
    content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
    background: #E4CE9F;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  }
  .quiz-shell.in-hero .quiz-opt:hover, .quiz-shell.in-hero .quiz-opt:focus-visible, .quiz-shell.in-hero .quiz-opt.picked {
    background: rgba(239, 239, 239, 0.08); padding-left: 14px; border-color: rgba(239, 239, 239, 0.16); transform: none;
  }
  .quiz-shell.in-hero .quiz-opt:hover::after, .quiz-shell.in-hero .quiz-opt:focus-visible::after { transform: translateX(3px) rotate(45deg); }
  .quiz-shell.in-hero .quiz-opt:focus-visible { outline: 2px solid #E4CE9F; outline-offset: -2px; }
  .quiz-shell.in-hero .quiz-back { color: #E4CE9F; font-family: var(--label-font); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
}
@media (min-width: 981px) {
  .quiz-shell.in-hero { background: rgba(16, 15, 13, 0.68); }
  .quiz-shell.in-hero .quiz-opt span { color: rgba(243, 239, 231, 0.72); }
}
/* Loan Finder: words start at the same spot as every other page (logo a third of the way
   down); the question card starts level with the logo and is narrower. */
@media (min-width: 981px) {
  .lf-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: start; gap: 64px; }
}
@media (min-width: 981px) { .quiz-shell.in-hero .quiz-opt span { display: none; } .quiz-shell.in-hero .quiz-opt { padding-top: 12px; padding-bottom: 12px; } }
/* Loan Finder: questions live below the photo on every screen; the hero links down to them */
#analysis-hero .quiz-jump-row.quiz-jump-all { display: block; margin: 18px 0 0; }
/* A round-arrow link that leads further down the page: the arrow points down, and nudges down on hover */
.submit-circle.sc-down .sc-arrow { transform: rotate(135deg); }
.submit-circle.sc-down:hover .sc-arrow, .submit-circle.sc-down:focus-visible .sc-arrow { transform: translateY(5px) rotate(135deg); }

/* ---------- Web Design hero: a laptop showing this site, scrolling, with two of its pages
   floating out behind it like presentation sheets ---------- */
.device-scene { margin: 0; }
.ds-stage { position: relative; aspect-ratio: 1.22; }
.ds-sheet {
  position: absolute; overflow: hidden; background: #fff; border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: ds-float 9s ease-in-out infinite;
}
.ds-sheet img { display: block; width: 100%; height: auto; }
.ds-sheet-back { top: 0; left: 26%; width: 56%; rotate: 2deg; animation-delay: -3s; }
.ds-sheet-left { top: 27%; left: 0; width: 54%; rotate: -2.5deg; z-index: 2; animation-delay: -6s; }
.ds-laptop { position: absolute; right: 2%; bottom: 9%; width: 66%; z-index: 3; }
.ds-screen {
  position: relative; background: #141416; padding: 2.4% 2.4% 3%; border-radius: 12px 12px 4px 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 20px 50px rgba(0, 0, 0, 0.5);
}
.ds-screen::before { /* camera notch */
  content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 2.2%; translate: -50% 0;
  background: #141416; border-radius: 0 0 6px 6px; z-index: 2;
}
.ds-scroll { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: var(--dark); }
.ds-scroll img { display: block; width: 100%; height: auto; animation: ds-scroll 46s cubic-bezier(.45,0,.55,1) infinite alternate; }
.ds-base {
  position: relative; left: -9%; width: 118%; height: 0; padding-bottom: 4.2%;
  background: linear-gradient(180deg, #e9e9ec 0%, #c9c9ce 55%, #9d9da3 100%);
  border-radius: 2px 2px 14px 14px; box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35);
}
.ds-base::before { /* opening notch */
  content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 30%; translate: -50% 0;
  background: #b5b5ba; border-radius: 0 0 8px 8px;
}
.ds-floor {
  position: absolute; right: -2%; bottom: 3%; width: 76%; height: 7%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(6px);
}
.device-scene figcaption { margin-top: 10px; text-align: center; color: rgba(243, 239, 231, 0.75); font-size: 0.9rem; }
@keyframes ds-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(-86.8%); } }
@keyframes ds-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) {
  .ds-sheet, .ds-scroll img { animation: none; }
}

/* ---------- Web Design hero scene, square and straight (replaces the tilted version):
   one page standing behind, one page in front at the left, and a laptop at the right
   with the keyboard deck in view, this site scrolling on its screen ---------- */
.ds-stage { position: relative; aspect-ratio: 1.39; }
.ds-sheet { animation: none !important; rotate: none !important; border-radius: 2px; box-shadow: 0 26px 50px rgba(0, 0, 0, 0.42); }
.ds-sheet-back { top: 0; left: 22%; width: 51%; z-index: 1; }
.ds-sheet-left { top: 25%; left: 0; width: 51%; z-index: 3; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.ds-laptop { position: absolute; left: 43.5%; top: 34%; width: 56.5%; right: auto; bottom: auto; z-index: 2; }
.ds-lid {
  margin: 0 5.5%; background: #1d1d20; padding: 2.2% 2.2% 2.6%; border-radius: 10px 10px 0 0;
  box-shadow: 0 0 0 1.5px #8d8d93 inset, 0 0 0 1px rgba(0, 0, 0, 0.6);
  position: relative;
}
.ds-lid::before { content: ""; position: absolute; top: 2.2%; left: 50%; width: 12%; height: 3.4%; translate: -50% 0; background: #1d1d20; border-radius: 0 0 5px 5px; z-index: 2; }
.ds-lid .ds-scroll { aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); border-radius: 0; }
.ds-deck {
  position: relative; display: block; height: 0; padding-bottom: 24%;
  background: linear-gradient(180deg, #5b5b60 0%, #5b5b60 3%, #e6e6ea 4%, #d7d7dc 55%, #c3c3c9 88%, #9c9ca2 100%);
  clip-path: polygon(5.5% 0, 94.5% 0, 100% 86%, 99% 100%, 1% 100%, 0 86%);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));
}
.ds-keys {
  position: absolute; left: 15%; right: 15%; top: 13%; height: 30%;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(100% / 18 - 1px), #c9c9ce calc(100% / 18 - 1px) calc(100% / 18)),
    repeating-linear-gradient(180deg, transparent 0 calc(100% / 6 - 1px), #c9c9ce calc(100% / 6 - 1px) calc(100% / 6)),
    #3a3a3e;
  clip-path: polygon(1.5% 0, 98.5% 0, 100% 100%, 0 100%);
  border-radius: 2px;
}
.ds-pad { position: absolute; left: 37%; width: 26%; top: 50%; height: 30%; background: #cfcfd4; border-radius: 4px; box-shadow: 0 0 0 1px #b4b4ba inset; }
.ds-floor { position: absolute; z-index: 0; filter: blur(14px); background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 68%); }
.ds-floor-l { left: 4%; top: 64%; width: 46%; height: 12%; }
.ds-floor-r { left: 44%; top: 92%; width: 58%; height: 10%; }
.device-scene .ds-floor:not(.ds-floor-l):not(.ds-floor-r) { display: none; }

/* Laptop, front view like a product photo: black glass screen in a slim aluminium edge,
   a faint glass reflection, and a thin aluminium base with the opening scoop. */
.ds-lid {
  margin: 0 4%; background: #0c0c0e; padding: 2% 2% 2.6%; border-radius: 14px 14px 2px 2px;
  box-shadow: 0 0 0 1px #9a9aa0, 0 0 0 2px #2a2a2e, 0 24px 50px rgba(0, 0, 0, 0.45);
}
.ds-lid::before { top: 0; height: 2.6%; width: 11%; background: #0c0c0e; border-radius: 0 0 6px 6px; }
.ds-lid::after { /* glass reflection */
  content: ""; position: absolute; inset: 2% 2% 2.6%; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 38%, rgba(255,255,255,0) 39%);
}
.ds-deck {
  height: auto; padding-bottom: 0; aspect-ratio: 100 / 3.4; clip-path: none; filter: none;
  background: linear-gradient(180deg, #f2f2f4 0%, #d8d8dc 30%, #bdbdc2 70%, #8e8e94 100%);
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 12px 18px rgba(0, 0, 0, 0.45);
}
.ds-deck::before { /* thumb scoop */
  content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 42%; translate: -50% 0;
  background: linear-gradient(180deg, #a9a9ae, #c9c9ce); border-radius: 0 0 10px 10px;
}
.ds-keys, .ds-pad { display: none; }
.ds-laptop { top: 30%; }
.ds-floor-r { top: 86%; }
.device-scene figcaption { margin-top: -13%; position: relative; z-index: 4; }

/* Branding page: the brass monogram opens the Brand Story — image left, heading right.
   Its soft edges dissolve into the stone section so the letters seem to stand on the page. */
.sb-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; margin: 26px 0 40px; }
.sb-hero-img { margin: 0; }
.sb-hero-img img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
.sb-hero .sb-head { margin: 0; max-width: 480px; }
.sb-hero .sb-head h3.split-headline { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.sb-hero .sb-head p + p { margin-top: 12px; }
@media (max-width: 860px) {
  .sb-hero { grid-template-columns: 1fr; gap: 22px; }
}

/* Brass monogram band, grey studio version: the photo runs the full width of the screen and
   the Brand Story heading sits in its open grey space on the right, so there is no seam
   between the photo's grey and the page. */
.sb-hero {
  position: relative; display: block; margin: 30px calc(50% - 50vw) 44px; background: #DADADA; overflow: hidden;
}
.sb-hero-img img {
  width: 100%; height: clamp(380px, 46vw, 720px); object-fit: cover; object-position: 30% 55%;
  -webkit-mask-image: none; mask-image: none;
}
.sb-hero .sb-head {
  position: absolute; top: 50%; translate: 0 -50%; max-width: 420px;
  left: max(58%, calc(50% + 120px)); right: 24px;
}
.sb-hero .sb-head h3.split-headline { color: var(--navy-dark); }
.sb-hero .sb-head p { color: #3f3c38; }
@media (max-width: 860px) {
  .sb-hero-img img { height: 64vw; object-position: 32% 55%; }
  .sb-hero .sb-head { position: static; translate: none; max-width: none; padding: 22px 24px 30px; }
}
@media (min-width: 861px) {
  .sb-hero { background: #DCDCDC; }
  .sb-hero-img img {
    width: 72vw; height: auto; object-fit: initial;
    -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
            mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
  }
  .sb-hero .sb-head { left: max(64vw, calc(50% + 170px)); max-width: 400px; }
}
/* Brass monogram at half size: the letters sit within the page column on the left, their
   photo edges fading into the band's grey all round; the heading stays on the right. */
@media (min-width: 861px) {
  .sb-hero {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
    padding: 36px max(24px, calc((100vw - var(--maxw)) / 2 + 24px));
  }
  .sb-hero-img img {
    width: 36vw; max-width: 100%;
    -webkit-mask-image: radial-gradient(ellipse 70% 72% at 45% 52%, #000 55%, transparent 100%);
            mask-image: radial-gradient(ellipse 70% 72% at 45% 52%, #000 55%, transparent 100%);
  }
  .sb-hero .sb-head { position: static; translate: none; left: auto; right: auto; max-width: 440px; }
}
@media (min-width: 861px) {
  .sb-hero { background: #D8D8D8; }
  .sb-hero-img img {
    -webkit-mask-image: radial-gradient(closest-side at 46% 50%, #000 70%, transparent 100%);
            mask-image: radial-gradient(closest-side at 46% 50%, #000 70%, transparent 100%);
  }
}
/* The monogram photo's backdrop is now evened out to the band's exact grey, so no fade is needed */
.sb-hero { background: #D8D8D8; }
.sb-hero-img img { -webkit-mask-image: none !important; mask-image: none !important; }
.sb-hero-img img {
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 82%, transparent 100%) !important;
          mask-image: radial-gradient(closest-side at 50% 50%, #000 82%, transparent 100%) !important;
}

/* ---------- Brand Story as guideline slides (Caplinx-style): two large slides per row,
   each opens full screen; the old drawn cards are retired. ---------- */
.storyboard.sb-slides { grid-template-columns: repeat(2, 1fr); gap: 44px 36px; }
.sb-slide { margin: 0; }
.sb-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.sb-open img { display: block; width: 100%; height: auto; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px rgba(21,48,79,.14); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
@media (hover: hover) { .sb-open:hover img { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 26px 50px rgba(21,48,79,.2); } }
.sb-open:focus-visible { outline: 2px solid var(--navy-dark); outline-offset: 4px; }
.sb-slides .sb-cap { padding-top: 16px; }
@media (max-width: 680px) {
  .storyboard.sb-slides { grid-template-columns: none; grid-auto-columns: 88%; }
  .sb-slide { scroll-snap-align: start; }
}

/* Branding "What We Design" section: one flat grey from the heading, behind the brass
   monogram and down through the guideline slides — the monogram photo's backdrop is the
   same grey, so there is no seam anywhere. */
#branding-services.bg-alt { background: #D8D8D8; }
#branding-services .sb-hero { background: transparent; margin-top: 10px; margin-bottom: 30px; }

/* Brand boards: the first two show; the other six open on request */
.sb-slides.is-collapsed > li:nth-child(n+3) { display: none; }
.sb-more-row { display: flex; justify-content: center; margin: -12px 0 10px; }
.sb-more.is-open .sc-arrow { transform: rotate(-45deg); }
.sb-more.is-open:hover .sc-arrow, .sb-more.is-open:focus-visible .sc-arrow { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 680px) { .sb-slides.is-collapsed > li:nth-child(n+3) { display: block; } .sb-more-row { display: none; } }
.sb-more-row { margin: 0 0 56px; }
/* Down arrows are drawn pointing down (not a rotated diagonal), so they sit dead centre in the circle */
.submit-circle.sc-down .sc-arrow { transform: none; }
.submit-circle.sc-down:hover .sc-arrow, .submit-circle.sc-down:focus-visible .sc-arrow { transform: translateY(3px); }
.sb-more.is-open .sc-arrow { transform: rotate(180deg); }
.sb-more.is-open:hover .sc-arrow, .sb-more.is-open:focus-visible .sc-arrow { transform: translateY(-3px) rotate(180deg); }

/* ---------- Circle-arrow links: the arrow now sits INSIDE the circle element, centred by
   the layout itself, so up, down and diagonal arrows are dead centre in every browser.
   The circle line is drawn by ::before, so it can draw in on hover without moving the arrow. */
.submit-circle .sc-ring {
  position: relative; right: auto; top: auto; flex: 0 0 auto;
  display: grid; place-items: center; width: 72px; height: 72px;
  margin: -25px -25px -25px -25px; border: 0 none; border-radius: 50%;
  transform: none !important; background: none;
}
.submit-circle .sc-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid; border-color: inherit;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.submit-circle:hover .sc-ring::before, .submit-circle:focus-visible .sc-ring::before { transform: translateX(-3px) scale(0.76); }
@media (max-width: 680px) {
  .submit-circle .sc-ring { width: 36px; height: 36px; margin: -10px; }
  .submit-circle:hover .sc-ring::before, .submit-circle:focus-visible .sc-ring::before { transform: none; }
  .submit-circle .sc-ring::before { transition: none; }
}
@media (prefers-reduced-motion: reduce) { .submit-circle .sc-ring::before { transition: none; } }
@media (min-width: 681px) { .submit-circle .sc-ring { margin-left: -8px; } }
/* Brand Story lead: the Logo Rationale board beside the heading */
.sb-hero-slide img { -webkit-mask-image: none !important; mask-image: none !important; width: 100% !important; max-width: none !important; height: auto !important; }
@media (min-width: 861px) { .sb-hero { grid-template-columns: 1.25fr 1fr !important; } }
.sb-hero-slide img { box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px rgba(21,48,79,.14); }
/* Brand boards fully folded until "See All Brand Boards" is pressed (all screen sizes) */
.sb-slides.is-collapsed { display: none !important; }
.sb-more-row { display: flex !important; margin: 4px 0 56px; }

/* ---------- SEO & AEO: a sample monthly report (illustration) — paper card on the navy ---------- */
.seo-sample { margin: 44px 0 0; background: #F5F5F5; color: var(--ink); padding: 30px 32px 22px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.ss-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(21,48,79,.22); }
.ss-kicker { font-family: var(--label-font); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.ss-title { margin: 4px 0 0; font-family: var(--serif); font-size: 1.6rem; color: var(--navy-dark); line-height: 1.1; }
.ss-period { font-family: var(--label-font); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.ss-tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(21,48,79,.22); }
.ss-tile { padding: 20px 18px 18px; border-left: 1px solid rgba(21,48,79,.16); display: flex; flex-direction: column; gap: 4px; }
.ss-tile:first-child { border-left: 0; padding-left: 0; }
.ss-tile span { font-size: .82rem; color: var(--ink-soft); }
.ss-tile strong { font-family: var(--serif); font-weight: 500; font-size: 2.8rem; line-height: 1; color: var(--navy-dark); }
.ss-tile em { font-style: normal; font-size: .82rem; color: #2F6B4F; display: inline-flex; align-items: center; gap: 4px; }
.ss-tile em svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ss-tile:last-child em { color: var(--ink-soft); }
.ss-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; padding: 22px 0 6px; }
.ss-panel-title { font-family: var(--label-font); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-dark); margin: 0 0 14px; }
.ss-funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ss-funnel li {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: var(--w); min-width: 240px; margin: 0 auto; padding: 12px 14px; color: #fff; font-size: .86rem;
}
.ss-funnel li:nth-child(1) { background: #4F6E93; } .ss-funnel li:nth-child(2) { background: #36577E; }
.ss-funnel li:nth-child(3) { background: #23446B; } .ss-funnel li:nth-child(4) { background: var(--dark); }
.ss-funnel b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ss-kw { width: 100%; border-collapse: collapse; font-size: .86rem; }
.ss-kw th, .ss-kw td { text-align: left; padding: 9px 6px; border-bottom: 1px solid rgba(21,48,79,.14); font-weight: 400; }
.ss-kw thead th { font-family: var(--label-font); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 0; }
.ss-kw tbody th { color: var(--ink); }
.ss-kw .kw-was { color: var(--ink-soft); font-variant-numeric: tabular-nums; width: 64px; }
.ss-kw .kw-now { width: 42%; }
.ss-kw .kw-now { display: flex; align-items: center; gap: 10px; }
.kw-bar { flex: 1; height: 6px; background: rgba(21,48,79,.12); position: relative; }
.kw-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--navy-dark); }
.ss-kw .kw-now b { font-weight: 600; color: var(--navy-dark); font-variant-numeric: tabular-nums; width: 28px; text-align: right; }
.seo-sample figcaption { margin-top: 14px; font-size: .76rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .ss-tiles { grid-template-columns: 1fr 1fr; }
  .ss-tile:nth-child(3) { border-left: 0; padding-left: 0; }
  .ss-tile:nth-child(n+3) { border-top: 1px solid rgba(21,48,79,.16); }
  .ss-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .seo-sample { padding: 22px 18px 16px; margin-left: -8px; margin-right: -8px; }
  .ss-head { flex-direction: column; align-items: flex-start; }
  .ss-funnel li { min-width: 0; width: max(var(--w), 70%); }
  .ss-tile strong { font-size: 2.2rem; }
}
.ss-kw .kw-now { display: table-cell; }
.kw-cell { display: flex; align-items: center; gap: 10px; }
.ss-funnel li span { white-space: nowrap; }
@media (max-width: 560px) { .ss-funnel li { width: max(var(--w), 84%); font-size: .8rem; padding: 10px 12px; } .ss-funnel li span { white-space: normal; } }
/* What We Design: warm paper background, so the grey Logo Rationale board reads as a board */
#branding-services.bg-alt { background: #F1F1F1; }
#branding-services .sb-hero, #branding-services .sb-hero-img { background: transparent !important; }
#branding-services .sb-hero-slide img { box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 50px rgba(21,48,79,.16); }
#branding-services .sb-hero { overflow: visible !important; }

/* ---------- What We Design: four image-led service tiles ----------
   Each tile is a tall photo of the work with a navy panel; on hover the photo drifts up,
   the panel rises to reveal the line, a brass rule draws across and the arrow turns. */
.svc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.svc-tile { position: relative; display: block; aspect-ratio: 3 / 4.3; overflow: hidden; background: var(--dark); color: #fff; text-decoration: none; isolation: isolate; }
.svc-img { position: absolute; inset: 0; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.svc-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,27,51,0) 30%, rgba(8,27,51,.55) 55%, rgba(8,27,51,.96) 78%); transition: opacity .5s ease; }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 8px;
  transform: translateY(calc(100% - 118px)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-no { font-family: var(--label-font); font-size: .74rem; letter-spacing: .2em; color: #E4CE9F; position: relative; padding-bottom: 10px; }
.svc-no::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 1px; background: #E4CE9F; transition: width .6s cubic-bezier(.2,.7,.2,1); }
.svc-t { font-family: var(--serif); font-size: 1.65rem; line-height: 1.08; color: #fff; }
.svc-d { font-size: .92rem; line-height: 1.55; color: rgba(243,239,231,.86); opacity: 0; transition: opacity .45s ease .1s; }
.svc-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; font-family: var(--label-font); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #E4CE9F; opacity: 0; transition: opacity .45s ease .15s; }
.svc-go { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(228,206,159,.7); border-radius: 50%; }
.svc-go svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) {
  .svc-tile:hover .svc-img img, .svc-tile:focus-visible .svc-img img { transform: scale(1.06) translateY(-3%); }
  .svc-tile:hover .svc-body, .svc-tile:focus-visible .svc-body { transform: none; }
  .svc-tile:hover .svc-d, .svc-tile:hover .svc-cta, .svc-tile:focus-visible .svc-d, .svc-tile:focus-visible .svc-cta { opacity: 1; }
  .svc-tile:hover .svc-no::after, .svc-tile:focus-visible .svc-no::after { width: 100%; }
  .svc-tile:hover .svc-go svg, .svc-tile:focus-visible .svc-go svg { transform: rotate(45deg); }
}
@media (hover: none) { .svc-body { transform: none; } .svc-d, .svc-cta { opacity: 1; } .svc-tile::before { background: linear-gradient(180deg, rgba(8,27,51,0) 15%, rgba(8,27,51,.7) 45%, rgba(8,27,51,.97) 70%); } }
.svc-tile:focus-visible { outline: 2px solid var(--navy-dark); outline-offset: 4px; }
@media (max-width: 1100px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-tiles { grid-template-columns: 1fr; } .svc-tile { aspect-ratio: 4 / 4.6; } }
@media (prefers-reduced-motion: reduce) { .svc-img img, .svc-body, .svc-d, .svc-cta, .svc-no::after, .svc-go svg { transition: none; } }

/* "Every website" promise: one slim line of gold-ticked points */
.web-promise { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 30px; margin: 34px auto 0; padding: 18px 26px; border-top: 1px solid rgba(21,48,79,.2); border-bottom: 1px solid rgba(21,48,79,.2); max-width: 1000px; }
.web-promise li { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); }
.web-promise b { font-family: var(--label-font); font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.web-promise i { width: 14px; height: 9px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg) translateY(-2px); }

/* Round-arrow buttons: no box after a mouse click, only for keyboard focus */
.submit-circle:focus:not(:focus-visible) { outline: none; }
.svc-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8,27,51,.82); opacity: 0; transition: opacity .5s ease; }
@media (hover: hover) { .svc-tile:hover::after, .svc-tile:focus-visible::after { opacity: 1; } }
.svc-body { transform: translateY(calc(100% - 150px)); }
.svc-t { min-height: 2.16em; display: flex; align-items: flex-end; }
/* Service tiles: the way in is always visible — the "View" link shows at rest, the
   description joins it on hover */
.svc-cta { opacity: 1 !important; }
.svc-body { transform: translateY(calc(100% - 196px)); }
.svc-tile { cursor: zoom-in; }
.svc-tile[data-seo] { cursor: pointer; }

@media (min-width: 681px) {
  .term-toggle { padding: 20px 26px; }
  .term-card.open > :not(h3) { margin-left: 26px; margin-right: 26px; }
  .term-card.open { padding-bottom: 24px; }
  .term-toggle::after { width: 18px; height: 18px; background-size: 18px 1.5px, 1.5px 18px; transition: transform .3s ease; }
  .term-card.open .term-toggle::after { background-size: 18px 1.5px; }
}
/* Glossary plus spins a quarter turn on hover, like the hero's + links */
.term-toggle::after { transition: transform 0.25s ease-out; }
@media (hover: hover) {
  .term-toggle:hover::after, .term-toggle:focus-visible::after { transform: rotate(90deg); }
  .term-card.open .term-toggle:hover::after { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) { .term-toggle::after { transition: none; } }

/* Privacy policy page */
.privacy-page { padding-top: calc(var(--nav-h) + 56px); }
.privacy-wrap { max-width: 760px; }
.privacy-wrap h1.split-headline { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 8px 0 6px; }
.privacy-date { color: var(--ink-soft); font-size: .9rem; margin-bottom: 26px; }
.privacy-wrap h2 { font-family: var(--serif); font-size: 1.45rem; color: var(--navy-dark); margin: 34px 0 10px; font-style: normal; font-weight: 600; }
.privacy-wrap p, .privacy-wrap li { color: var(--ink); line-height: 1.7; }
.privacy-wrap ul { padding-left: 20px; display: grid; gap: 8px; }
.privacy-wrap a { color: var(--navy-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-privacy { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-header .nav-wordmark { letter-spacing: 0.2em; }

/* ===================== Homepage restructure (preview.html) ===================== */
.hero .hero-sub { color: rgba(243,239,231,.92); font-size: clamp(1.05rem, 1.5vw, 1.3rem); margin: 4px 0 18px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-inner > .hero-disciplines { margin-bottom: 8px; }
/* Choose your path */
.pick-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pick-tile { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--dark); color: #fff; text-decoration: none; isolation: isolate; }
.pick-img, .pick-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-img img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.pick-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,27,51,.05) 25%, rgba(8,27,51,.6) 55%, rgba(8,27,51,.95) 82%); }
.pick-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.pick-k { font-family: var(--label-font); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: #E4CE9F; }
.pick-t { font-family: var(--serif); font-size: 1.8rem; line-height: 1.08; }
.pick-d { font-size: .95rem; line-height: 1.5; color: rgba(243,239,231,.86); }
.pick-go { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; font-family: var(--label-font); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #E4CE9F; }
.pick-go .sc-ring { position: relative; width: 36px; height: 36px; margin: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(228,206,159,.7); }
.pick-go .sc-ring::before { display: none; }
.pick-go .sc-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .pick-tile:hover .pick-img img { transform: scale(1.05); } .pick-tile:hover .pick-go .sc-arrow { transform: rotate(45deg); } }
.pick-tile:focus-visible { outline: 2px solid var(--navy-dark); outline-offset: 4px; }
/* Two studios, two licenses */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.duo-label { font-size: .86rem; color: var(--ink-soft); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(21,48,79,.25); }
.duo-label span { display: block; font-family: var(--label-font); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.duo-cards { display: grid; gap: 18px; }
.duo-card { display: grid; grid-template-columns: 38% 1fr; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .3s ease; }
.duo-card:hover { box-shadow: 0 18px 40px rgba(21,48,79,.14); }
.duo-img { position: relative; overflow: hidden; min-height: 210px; }
.duo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.duo-body h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--navy-dark); font-weight: 600; }
.duo-body p { font-size: .93rem; line-height: 1.55; color: var(--ink-soft); }
.duo-lic { font-size: .76rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 8px; }
.duo-body .circle-link { margin-top: auto; align-self: flex-start; color: var(--navy-dark); }
/* Stories */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story { background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.story img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.story-body { padding: 22px 22px 24px; }
.story-tags { font-family: var(--label-font); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.story h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--navy-dark); margin-bottom: 8px; font-weight: 600; }
.story p:not(.story-tags) { font-size: .93rem; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 980px) {
  .pick-tiles, .story-grid { grid-template-columns: 1fr; }
  .pick-tile { aspect-ratio: 4 / 3.4; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .duo-card { grid-template-columns: 1fr; } .duo-img { min-height: 180px; } }

/* ---------- Preview: four-area strip right under the hero (Wealthsimple-style) ---------- */
.area-strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.area-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.area { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 26px 22px; text-decoration: none; color: inherit; border-left: 1px solid var(--line); transition: background .3s ease; }
.area:first-child { border-left: 0; }
.area-ico { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(21,48,79,.25); border-radius: 50%; transition: transform .5s cubic-bezier(.2,.7,.2,1), background .3s ease; }
.area-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--navy-dark); stroke-width: 1.4; stroke-linejoin: round; }
.area-t { font-family: var(--label-font); font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-dark); }
.area-d { font-size: .86rem; color: var(--ink-soft); line-height: 1.4; }
@media (hover: hover) { .area:hover { background: #fff; } .area:hover .area-ico { transform: rotate(-8deg) scale(1.06); background: var(--gold-tint); } }
@media (max-width: 980px) { .area-row { grid-template-columns: 1fr 1fr; } .area:nth-child(3) { border-left: 0; } .area:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .area { padding: 18px 12px; grid-template-columns: 1fr; } .area-ico { grid-row: auto; margin-bottom: 8px; } }

/* ---------- Preview: alternating feature rows ---------- */
.feat { padding: 70px 0; }
.feat-design { background: #F0F0F0; } .feat-web { background: #E9EEF3; } .feat-fin { background: #ECECEC; } .feat-re { background: #EEF1EC; }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feat-flip .feat-copy { order: 2; }
.feat-k { font-family: var(--label-font); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.feat-h { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.04; color: var(--navy-dark); margin: 12px 0 16px; }
.feat-h em { color: var(--brass); }
.feat-copy p { font-size: 1.05rem; line-height: 1.65; color: var(--ink-soft); max-width: 520px; }
.feat-lic { font-size: .8rem !important; margin-top: 12px; }
.feat-cta { margin-top: 14px; }
.feat-photo { margin: 0; aspect-ratio: 4/3.2; overflow: hidden; box-shadow: 0 30px 60px rgba(21,48,79,.18); }
.feat-photo img, .feat-photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-visual:not(.feat-photo) { display: grid; place-items: center; }
/* phone mockup */
.phone-mock { width: 290px; aspect-ratio: 290 / 600; background: #111; border-radius: 44px; padding: 11px; box-shadow: 0 0 0 1.5px #5d5d62, 0 40px 70px rgba(21,48,79,.28); position: relative; }
.phone-mock::before { content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 14px; background: #111; z-index: 3; }
.pm-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; }
.pm-scroll { width: 100%; display: block; animation: pm-scroll 40s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes pm-scroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-100% + 578px)); } }
.pm-app { background: linear-gradient(180deg, #0f2440, #15304F); color: #fff; padding: 58px 22px 20px; display: flex; flex-direction: column; }
.pm-top { display: flex; align-items: center; gap: 10px; font-family: var(--label-font); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #E4CE9F; margin-bottom: 26px; }
.pm-top img { width: 26px; filter: invert(1) sepia(.4) saturate(2) hue-rotate(5deg); }
.pm-k { font-size: .78rem; color: rgba(243,239,231,.7); margin: 0; }
.pm-big { font-family: var(--serif); font-size: 3rem; line-height: 1.05; margin: 2px 0 16px; font-variant-numeric: tabular-nums; }
.pm-mid { font-family: var(--serif); font-size: 1.9rem; color: #E4CE9F; margin: 2px 0 14px; font-variant-numeric: tabular-nums; }
.pm-bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; margin: 4px 0 16px; padding-bottom: 6px; border-bottom: 1px solid rgba(239, 239, 239,.18); }
.pm-bars i { flex: 1; height: 50%; background: linear-gradient(180deg, #E4CE9F, #A8863A); border-radius: 2px 2px 0 0; transition: height .9s cubic-bezier(.2,.7,.2,1); }
.pm-row { display: flex; justify-content: space-between; font-size: .84rem; padding: 9px 0; border-bottom: 1px solid rgba(239, 239, 239,.12); color: rgba(243,239,231,.8); }
.pm-row b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.pm-note { margin-top: auto; font-size: .62rem; color: rgba(243,239,231,.55); line-height: 1.4; }
@media (max-width: 980px) {
  .feat-row { grid-template-columns: 1fr; gap: 36px; }
  .feat-flip .feat-copy { order: 0; }
  .phone-mock { width: 250px; }
  @keyframes pm-scroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-100% + 495px)); } }
}
@media (prefers-reduced-motion: reduce) { .pm-scroll { animation: none; } .pm-bars i { transition: none; } }

/* ---------- Preview: the spinning "ab" coin beside the numbers ----------
   Champagne-gold coin in the Wealthsimple manner: pale polished face, a raised rim with a beaded
   (reeded) ring just inside it, the ab mark embossed with a light edge and a shadow edge, and a
   specular highlight that sweeps across as it turns. js/home-preview.js drives the spin: it idles
   slowly, whips round when the mouse passes, and coasts back down. */
#calculators { position: relative; }
#calculators .section-head { max-width: 760px; }
.coin-wrap { position: absolute; right: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); top: 36px; width: 180px; height: 180px; perspective: 900px; z-index: 2; }
.coin-hit { position: absolute; inset: -56px; }
.coin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--tx, 6deg)) rotateY(var(--a, 0deg)); }
.coin-edge { position: absolute; inset: 0; border-radius: 50%; background: #BE9A66; transform: translateZ(var(--z)); }
.coin-face { position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden; transform: translateZ(6px); overflow: hidden; filter: brightness(var(--bright, 1));
  background: radial-gradient(circle at 38% 30%, #FBFBFB 0%, #F8EAD3 28%, #ECD6B4 56%, #DDBF95 80%, #CDA87A 100%);
  box-shadow: inset 0 0 0 2px #C9A273, inset 0 0 0 4px #F2F2F2, inset 0 0 0 6px #B48C58, inset 0 0 0 7px #F4E1C3, inset 0 10px 24px rgba(255,255,255,.35), inset 0 -14px 26px rgba(150,110,60,.25); }
.coin-back { transform: rotateY(180deg) translateZ(6px); }
.cf-bead { position: absolute; inset: 9%; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, #F8F8F8 0deg 2.4deg, #B08852 2.4deg 4.6deg, transparent 4.6deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 7px), #000 calc(50% - 6px), #000 calc(50% - 1px), transparent 50%);
          mask: radial-gradient(circle, transparent calc(50% - 7px), #000 calc(50% - 6px), #000 calc(50% - 1px), transparent 50%); }
.cf-mark { position: absolute; left: 22%; top: 22%; width: 56%; height: 56%; }
.cf-mark i { position: absolute; inset: 0; display: block; -webkit-mask: url(../images/01-logos-and-badges/ab-mark.png) center / contain no-repeat; mask: url(../images/01-logos-and-badges/ab-mark.png) center / contain no-repeat; }
.cf-mark .ml-dark { background: #8F6A36; transform: translate(2.5px, 2.5px); }
.cf-mark .ml-light { background: #FDFDFD; transform: translate(-1.5px, -1.5px); }
.cf-mark .ml-fill { background: linear-gradient(var(--ga, 115deg), #C4A071 0%, #DCC094 calc(var(--gp, 50%) - 22%), #FFF4DE var(--gp, 50%), #D8BA8C calc(var(--gp, 50%) + 22%), #BB9462 100%); }
.cf-gloss { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; opacity: var(--go, .6);
  background: linear-gradient(var(--ga, 115deg), transparent calc(var(--gp, 50%) - 24%), rgba(255,255,255,.85) var(--gp, 50%), transparent calc(var(--gp, 50%) + 18%)); }
.coin-shadow { position: absolute; left: 15%; right: 15%; bottom: -34px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(21,48,79,.34), rgba(21,48,79,0) 70%); transform: scaleX(var(--sx, 1)); }
@media (max-width: 980px) { .coin-wrap { top: 18px; right: 20px; width: 84px; height: 84px; } .coin-hit { inset: -24px; } .cf-bead { -webkit-mask: radial-gradient(circle, transparent calc(50% - 4px), #000 calc(50% - 3px), #000 calc(50% - 1px), transparent 50%); mask: radial-gradient(circle, transparent calc(50% - 4px), #000 calc(50% - 3px), #000 calc(50% - 1px), transparent 50%); } .cf-mark .ml-dark { transform: translate(1px, 1px); } .cf-mark .ml-light { transform: translate(-1px, -1px); } .coin-shadow { bottom: -16px; height: 10px; } #calculators .section-head { padding-right: 90px; } }
@media (prefers-reduced-motion: reduce) { .coin { transform: rotateX(6deg); } }
/* Calculator links as the round-arrow pair */
.sc-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 18px 0 14px; }
.sc-row .submit-circle { display: inline-flex; width: auto; padding: 10px 6px 10px 0; }

/* Preview: the name lands, big, on a hairline at the very bottom, then the fine print */
.footer-wordmark { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 36px); margin: 56px 0 30px; padding-top: 40px; border-top: 1px solid rgba(239, 239, 239,.28); }
.footer-wordmark img { height: clamp(48px, 7vw, 110px); width: auto; }
.footer-wordmark span { font-family: "Jost", "Futura", sans-serif; font-weight: 300; text-transform: lowercase; color: var(--cream); font-size: clamp(2.6rem, 9vw, 8.4rem); letter-spacing: .18em; line-height: 1; white-space: nowrap; }
.footer-wordmark { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease, transform 1.2s cubic-bezier(.16,.84,.3,1); }
.footer-wordmark.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .footer-wordmark { opacity: 1; transform: none; transition: none; } }
/* Footer wordmark: the "ab" sits in its square box, sized to the height of the letters beside it */
.footer-wordmark { font-size: clamp(2.6rem, 9vw, 8.4rem); gap: .34em; }
.footer-wordmark .fw-box { display: grid; place-items: center; width: .86em; height: .86em; box-sizing: border-box; border: .022em solid var(--cream); flex: 0 0 auto; }
.footer-wordmark .fw-box img { width: .56em; height: .56em; }
.footer-wordmark .fw-name { font-size: 1em; letter-spacing: .2em; }
.footer-wordmark .fw-box img { width: .74em; height: .74em; }
/* Preview: the website phone scrolls like a real phone — on its own in steps, or under your mouse */
.pm-screen.pm-live { overflow-y: auto; scrollbar-width: none; cursor: grab; }
.pm-screen.pm-live::-webkit-scrollbar { display: none; }
.pm-screen.pm-live.is-dragging { cursor: grabbing; }
.pm-screen.pm-live .pm-scroll { animation: none; user-select: none; -webkit-user-drag: none; }
.pm-screen.pm-live:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; }

/* ---------- Preview: the hero breathes — photo, headline and one line, words big and low ---------- */
.hero-breathe .hero-inner { max-width: 1040px; }
.hero-breathe h1.hero-lead { font-size: min(clamp(3.2rem, 7.4vw, 6.8rem), 13.5vh); margin-bottom: 16px; }
.hero-breathe .hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.5rem); margin: 0; }
@media (min-width: 981px) { .hero-breathe { align-items: flex-end; } .hero-breathe > .wrap { padding-bottom: 0; } }
@media (max-width: 680px) {
  .hero-breathe .hero-sub { order: -2; margin: 0 24px; padding: 14px 0 22px; background: var(--dark); font-size: 1rem; }
  .hero-breathe { padding-bottom: 0; }
}

/* ---------- Preview: the four areas as a giant stacked list under the hero ---------- */
.areas-stack { background: var(--bg); padding: 72px 0 56px; }
.as-head { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: end; margin-bottom: 36px; }
.as-mark { width: clamp(120px, 14vw, 200px); height: auto; display: block; }
.as-intro { max-width: 560px; font-size: 1.12rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 10px; }
.as-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(21,48,79,.3); }
.as-row a { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 28px; padding: 30px 0 28px; border-bottom: 1px solid rgba(21,48,79,.3); text-decoration: none; color: inherit; }
.as-no { font-family: var(--label-font); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); align-self: start; padding-top: .9em; }
.as-no i { display: block; font-style: normal; color: var(--ink-soft); letter-spacing: .16em; font-size: .68rem; margin-top: 6px; }
.as-name { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 8.6vw, 8.2rem); line-height: .96; letter-spacing: -.01em; color: var(--navy-dark); transition: color .45s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.as-desc { display: block; margin-top: 12px; font-size: 1.05rem; color: var(--ink-soft); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.as-row .sc-ring { position: relative; width: 72px; height: 72px; margin: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(21,48,79,.4); color: var(--navy-dark); }
.as-row .sc-ring::before { display: none; }
.as-row .sc-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) {
  .as-row a:hover .as-name { color: var(--brass); transform: translateX(16px); }
  .as-row a:hover .as-desc { transform: translateX(16px); }
  .as-row a:hover .sc-arrow { transform: rotate(45deg); }
  .as-row a:hover .sc-ring { background: var(--gold-tint); }
}
.as-row a:focus-visible { outline: 2px solid var(--navy-dark); outline-offset: 6px; }
/* rows rise in one after another as you scroll */
.as-row.reveal { transform: translateY(48px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.16,.84,.3,1); }
.as-row.reveal:nth-child(2) { transition-delay: .08s; } .as-row.reveal:nth-child(3) { transition-delay: .16s; } .as-row.reveal:nth-child(4) { transition-delay: .24s; }
.as-cta { margin: 26px 0 0; }
.as-cta .submit-circle { color: var(--navy-dark); }
@media (max-width: 980px) {
  .as-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .as-row a { grid-template-columns: 1fr auto; gap: 16px; padding: 24px 0 22px; }
  .as-no { grid-column: 1 / -1; padding-top: 0; display: flex; gap: 10px; align-items: baseline; }
  .as-no i { margin-top: 0; }
  .as-row .sc-ring { width: 52px; height: 52px; }
  .as-row .sc-arrow { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .as-name, .as-desc, .as-row .sc-arrow { transition: none; } }
.as-row a, .as-row a span { text-decoration: none !important; }
.as-cta { margin-top: 40px; }

/* ---------- Preview phones: titanium edge with a light catch, glass sheen, glowing drifting backdrop ---------- */
.phone-stage { position: relative; display: grid; place-items: center; width: 100%; min-height: 680px; isolation: isolate; }
/* Behind each phone: one flat, soft-coloured panel (Wealthsimple style), no blur, no drift */
.phone-stage::before { content: ""; position: absolute; inset: 0; border-radius: 28px; z-index: 0; pointer-events: none; background: #D9E4F0; }
.phone-stage-fin::before { background: #E0E0E0; }
.phone-stage .phone-mock { position: relative; z-index: 1; background: linear-gradient(160deg, #26262a 0%, #0e0e10 45%, #1d1d20 100%); box-shadow: 0 0 0 1px #46464c, 0 50px 90px rgba(21,48,79,.35), 0 10px 30px rgba(0,0,0,.25); }
/* the polished edge: a thin gradient ring that reads as light catching the metal */
.phone-stage .phone-mock::after { content: ""; position: absolute; inset: -2px; border-radius: 46px; padding: 2px; pointer-events: none; z-index: 4;
  background: linear-gradient(155deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.25) 18%, rgba(255,255,255,.06) 40%, rgba(255,255,255,.04) 60%, rgba(255,255,255,.55) 82%, rgba(255,255,255,.9) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* glass sheen across the screen */
.pm-sheen { position: absolute; inset: 11px; border-radius: 34px; pointer-events: none; z-index: 3;
  background: linear-gradient(118deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.08) 22%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 70%, rgba(255,255,255,.05) 100%); }
.pm-screen.pm-live { cursor: grab; }
@media (max-width: 980px) { .phone-stage { min-height: 560px; } }
.phone-stage .phone-mock::after { inset: -3px; padding: 3px; border-radius: 47px;
  background: linear-gradient(155deg, #ffffff 0%, rgba(255,255,255,.35) 16%, rgba(255,255,255,.08) 38%, rgba(255,255,255,.05) 60%, rgba(255,255,255,.65) 82%, #ffffff 100%); }

/* ---------- Preview: pinned hero — the next section slides up and covers it ---------- */
.hero-breathe { position: sticky; top: 0; z-index: 0; }
.areas-stack { position: relative; z-index: 1; box-shadow: 0 -30px 60px rgba(0,0,0,.18); }
.hero-breathe h1.hero-lead, .hero-breathe .hero-sub { will-change: transform, opacity; }

/* ---------- Preview: the four chapters (Design, Financing, Real Estate, Brand & Web) ----------
   Each discipline is introduced the way an MC introduces the next act: the backdrop fills the
   screen, one giant word sits low on it, and both stay pinned while you scroll. Over the last
   stretch of the pin the word grows, blurs and fades (js/home-preview.js), then the chapter body
   arrives on cream carrying the same numbered marker so you always know where you are. */
.chapter { position: relative; background: var(--bg); }
.ch-pin { height: 175svh; position: relative; }
.ch-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #0e1a2b; }
.ch-media { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.ch-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,51,.28) 0%, rgba(8,27,51,.04) 38%, rgba(8,27,51,.14) 62%, rgba(8,27,51,.7) 100%); }
.ch-title { position: absolute; left: 0; right: 0; top: clamp(84px, 12vh, 140px); color: #fff; text-align: center; will-change: transform, opacity, filter; }
.ch-title .wrap { transform-origin: 50% 50%; }
.ch-k { display: block; font-family: var(--label-font); font-size: .86rem; letter-spacing: .26em; text-transform: uppercase; color: #fff; margin-bottom: 14px; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.ch-word { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(4.4rem, 15vw, 15rem); line-height: .86; letter-spacing: -.015em; color: #fff; text-shadow: 0 10px 50px rgba(0,0,0,.28); }
.ch-word em { font-style: italic; font-weight: 600; color: #E4CE9F; }
/* The tagline is its own element, pinned bottom-centre, so the travelling word never runs into it */
.ch-tag { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 96px); margin: 0 auto; padding: 0 24px; text-align: center; font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(1.45rem, 2.4vw, 2.3rem); line-height: 1.25; color: #fff; max-width: 30ch; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.ch-body { position: relative; z-index: 2; background: var(--bg); padding: clamp(56px, 8vh, 96px) 0 90px; box-shadow: 0 -40px 80px rgba(0,0,0,.22); }
.ch-design .ch-body { background: #F0F0F0; } .ch-fin .ch-body { background: #ECECEC; } .ch-re .ch-body { background: #EEF1EC; } .ch-web .ch-body { background: #E9EEF3; }
.scene-points { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid rgba(21,48,79,.28); align-self: start; }
.scene-points li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(21,48,79,.2); font-size: .98rem; color: var(--ink-soft); }
.scene-points b { font-family: var(--label-font); font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-dark); padding-top: 3px; }
@media (max-width: 980px) { .ch-pin { height: 150svh; } .ch-word { font-size: clamp(3.6rem, 19vw, 7rem); } .ch-title { top: 92px; } .ch-tag { bottom: 104px; font-size: 1.35rem; } .ch-body { padding: 48px 0 64px; } }
@media (prefers-reduced-motion: reduce) { .hero-breathe { position: relative; } .ch-pin { height: auto; } .ch-stick { position: relative; height: 80svh; } .ch-media { transform: none !important; } .ch-title .wrap { transform: none !important; opacity: 1 !important; filter: none !important; } }
.pin-wrap { position: relative; }

/* ---------- Preview hero: logo back on the picture, headline on one line, plain four-name sub-line ---------- */
.hero-breathe .hero-mark { display: block; width: clamp(150px, 16vw, 240px); height: auto; margin: 0 0 26px; will-change: transform, opacity; filter: drop-shadow(0 2px 14px rgba(0,0,0,.35)); }
.hero-breathe .hero-inner { max-width: none; }
@media (min-width: 981px) { .hero-breathe h1.hero-lead { white-space: nowrap; font-size: min(4.5rem, 4.75vw, 11vh); letter-spacing: -.01em; } }
.hero-breathe .hero-sub { display: flex; flex-direction: column; gap: 8px; color: #fff; }
.hero-breathe .hs-list { font-family: var(--label-font); font-weight: 500; font-size: clamp(1rem, 1.35vw, 1.25rem); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero-breathe .hs-line { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.2; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
@media (max-width: 980px) {
  .hero-breathe .hero-mark { order: -3; margin: 0 24px; padding-top: calc(var(--nav-h) + 22px); width: 150px; background: var(--dark); filter: none; box-sizing: content-box; }
  .hero-inner.hero-inner .split-headline.hero-lead { padding-top: 16px; }
  .hero-breathe .hero-sub { gap: 6px; }
}
/* Preview hero: dark shade along the bottom so the four-name line stays readable on the right,
   where the side shade has faded out (04 Brand & Web sits over the bright part of the photo). */
@media (min-width: 981px) {
  .hero-breathe .hero-bg::after {
    background:
      radial-gradient(ellipse 46% 42% at 56% 12%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 100%),
      linear-gradient(0deg, rgba(18,16,13,0.82) 0%, rgba(18,16,13,0.55) 16%, rgba(18,16,13,0) 40%),
      linear-gradient(180deg, rgba(18,16,13,0.14) 0%, rgba(18,16,13,0) 11%),
      linear-gradient(68deg, rgba(24,22,18,0.74) 0%, rgba(24,22,18,0.56) 24%, rgba(24,22,18,0.22) 42%, rgba(24,22,18,0) 56%);
  }
}

/* ---------- Preview list: 3D gold plus signs, big italic sub-lines, arrows beside the words ---------- */
.as-row a { grid-template-columns: 96px 1fr; gap: 36px; }
.as-plus { width: 76px; height: 76px; perspective: 520px; align-self: center; justify-self: start; }
.as-plus i { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
/* two gold bars, bevelled with a light top edge and a stepped dark extrusion, so the plus reads as a solid object */
.as-plus i::before, .as-plus i::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 3px;
  background: linear-gradient(135deg, #F6E7C1 0%, #D7B978 32%, #B9955A 60%, #846D1F 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(90,70,20,.5), 2px 2px 0 #7A651F, 4px 4px 0 #655216, 6px 6px 0 #4F4010, 10px 12px 18px rgba(21,48,79,.35); }
.as-plus i::before { width: 100%; height: 24%; transform: translate(-50%, -50%); }
.as-plus i::after { width: 24%; height: 100%; transform: translate(-50%, -50%); }
.as-line { display: flex; align-items: center; gap: 28px; }
.as-desc { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.2; color: var(--brass); margin-top: 10px; }
@media (hover: hover) {
  .as-row a:hover .as-plus i { transform: rotateZ(180deg) rotateY(28deg); }   /* the vault wheel turns */
  .as-row a:hover .as-name, .as-row a:hover .as-desc { transform: none; }
}
@media (max-width: 980px) {
  .as-row a { grid-template-columns: 48px 1fr; gap: 18px; }
  .as-plus { width: 40px; height: 40px; }
  .as-plus i::before, .as-plus i::after { box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 1px 1px 0 #7A651F, 2px 2px 0 #655216, 4px 5px 10px rgba(21,48,79,.3); }
  .as-line { gap: 14px; }
  .as-desc { font-size: 1.2rem; }
}

.hero-breathe h1.hero-lead { max-width: none; }

/* ---------- Preview: Meet Ariane, one wide scene ---------- */
.meet { position: relative; min-height: 100svh; display: flex; align-items: center; color: #F3EFE7; background: #081B33; overflow: hidden; isolation: isolate; }
.meet-bg { position: absolute; inset: 0; z-index: 0; }
/* the sharp part of her sofa portrait runs top to bottom on the right, its left edge fading into the navy (no blurred fill) */
.meet-bg img { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: 64%; object-fit: contain; object-position: right center; display: block; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 48%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 48%); }
/* a navy wash that is deep on the left (under the words) and clears over her portrait */
.meet-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,27,51,.9) 0%, rgba(8,27,51,.8) 36%, rgba(8,27,51,.58) 54%, rgba(8,27,51,.26) 66%, rgba(8,27,51,0) 80%); }
.meet-inner { position: relative; z-index: 1; width: 100%; padding-top: clamp(80px, 11vh, 130px); padding-bottom: clamp(60px, 9vh, 110px); max-width: var(--maxw); }
.meet-head { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; max-width: 760px; }
.meet-mark { width: clamp(120px, 11vw, 168px); height: auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.35)); }
.meet-name { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4.2vw, 4rem); line-height: 1.05; color: #fff; letter-spacing: -.005em; }
.meet-name em { font-style: italic; color: #E4CE9F; }
.meet-k { display: flex; align-items: center; gap: 14px; margin: 14px 0 10px; font-family: var(--label-font); font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: #E4CE9F; }
.meet-rule { width: 44px; height: 1px; background: #E4CE9F; }
.meet-cred { margin: 0; font-size: .98rem; line-height: 1.5; color: rgba(243,239,231,.86); max-width: 56ch; }
.meet-quote { margin: clamp(40px, 7vh, 80px) 0 0; padding: 0; max-width: 820px; }
.mq-open { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .95; color: #E4CE9F; }
.mq-body { margin: 22px 0 0 clamp(0px, 6vw, 110px); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1.18; color: rgba(243,239,231,.92); max-width: 20ch; }
.meet-lic { margin: clamp(36px, 6vh, 64px) 0 0; font-size: .78rem; line-height: 1.5; color: rgba(243,239,231,.62); max-width: 70ch; }
.meet-more { padding: 64px 0 72px; background: var(--bg); }
.meet-more-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.meet-more .lede { font-size: 1.2rem; }
@media (max-width: 980px) {
  .meet { min-height: 0; display: block; }
  .meet-bg { position: relative; height: 72vw; max-height: 520px; }
  .meet-bg img { position: static; width: 100%; height: 100%; object-position: 55% 18%; -webkit-mask-image: none; mask-image: none; }
  .meet-bg::after { background: linear-gradient(180deg, rgba(8,27,51,0) 55%, rgba(8,27,51,.9) 100%); }
  .meet-inner { margin-top: -64px; padding-top: 0; padding-bottom: 56px; }
  .meet-head { grid-template-columns: 1fr; gap: 18px; }
  .meet-mark { width: 104px; }
  .mq-body { margin-left: 0; max-width: none; }
  .meet-more-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 980px) { section#about.meet { background: #081B33 !important; } }


/* ---- preview v2: the Yes Ladder fixes ---- */
.hero-more { display:inline-block; margin-top:22px; color:#E4CE9F; text-decoration:none; font: 500 0.78rem/1 Inter, sans-serif; letter-spacing:0.14em; text-transform:uppercase; border-bottom:1px solid rgba(228,206,159,.5); padding-bottom:6px; }
.hero-more:hover { color:#fff; border-color:#fff; }
.hero-sub-v2 { max-width: 560px; }
.proof-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:38px; }
.proof-grid > div { text-align:center; padding:26px 12px; border-top:1px solid rgba(21,48,79,.18); }
.proof-grid b { display:block; font: 500 2.6rem/1 "Cormorant Garamond", serif; color: var(--navy, #15304F); }
.proof-grid span { display:block; margin-top:8px; font: 500 0.74rem/1.4 Inter, sans-serif; letter-spacing:0.12em; text-transform:uppercase; color: var(--ink-soft, #5a5a5a); }
.proof-note { margin-top:34px; border:1px dashed rgba(21,48,79,.4); border-radius:12px; padding:18px 22px; color: var(--ink-soft,#5a5a5a); font-size:0.95rem; }
.proof-note b { color: var(--navy,#15304F); }
.compliance-more { margin-top:14px; }
.compliance-more summary { cursor:pointer; list-style:none; display:inline-flex; align-items:center; gap:10px; font: 500 0.74rem/1 Inter, sans-serif; letter-spacing:0.14em; text-transform:uppercase; color:#E4CE9F; padding:8px 0; }
.compliance-more summary::-webkit-details-marker { display:none; }
.compliance-more summary::after { content:"+"; font-size:1rem; }
.compliance-more[open] summary::after { content:"–"; }
@media (max-width: 760px) { .proof-grid { grid-template-columns:repeat(2,1fr); gap:14px; } }

/* ---------- Preview, round 3: hero scrolls away while the words and logo rise ahead of it ---------- */
.hero-breathe { position: relative; }
@media (min-width: 981px) { .hero-breathe h1.hero-lead { white-space: normal; font-size: min(clamp(3.2rem, 6.2vw, 6rem), 11.5vh); line-height: .98; } }
.hero-breathe h1.hero-lead em { display: block; }   /* "and made possible." on its own line */

/* The Meet scene now follows the hero directly */
.pin-wrap .meet { z-index: 1; box-shadow: 0 -30px 60px rgba(0,0,0,.18); }
.meet-more .kicker { display: block; margin-bottom: 14px; }

/* The big list: logo centred at the top, no intro sentence, no dividing lines */
.as-head { display: block; text-align: center; margin-bottom: 40px; }
.as-mark { margin: 0 auto; width: clamp(140px, 15vw, 210px); }
.as-intro { display: none; }
.as-list { border-top: 0; }
.as-row a { border-bottom: 0; padding: 22px 0; }
/* The plus: a solid gold plus with real thickness (stacked edge layers + front and back faces).
   js/home-preview.js turns each one slowly; hovering the row spins it up like a vault wheel.
   The light is computed from the angle: a highlight band crosses the face and the face brightens
   as it squares up to the light, darkening as it turns away. */
.as-plus { align-self: start; perspective: 700px;
  font-size: clamp(3rem, 8.6vw, 8.2rem);                 /* same size as the name, so em = the name's em */
  margin-top: calc(.48em - 38px); }                      /* centre on the capital letter's mid-height */
.p3 { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(14deg) rotateY(-10deg) rotateZ(var(--pa, 0deg)); }   /* tilted a touch so its thickness shows; turns flat around its centre */
.p3-edge { position: absolute; inset: 0; background: linear-gradient(180deg, #A9843A, #6E5418);
  -webkit-mask: url(../images/01-logos-and-badges/plus-mask.svg) center / 100% 100% no-repeat; mask: url(../images/01-logos-and-badges/plus-mask.svg) center / 100% 100% no-repeat;
  transform: translateZ(var(--z)); }
.p3-face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; backface-visibility: hidden;
  transform: translateZ(3px); filter: brightness(var(--pb, 1)) drop-shadow(0 1px 0 rgba(60,45,10,.25)); }
.p3-back { transform: rotateY(180deg) translateZ(3px); }
.p3-sweep { mix-blend-mode: screen; }
@media (max-width: 980px) { .as-plus { font-size: 3rem; margin-top: calc(.48em - 20px); } }
/* Book a Call under the list: ring sits beside the label, not on top of it */
.as-cta .submit-circle { padding: 10px 0; gap: 22px; }
.as-cta .submit-circle .sc-ring { position: relative; right: auto; top: auto; margin: 0; width: 64px; height: 64px; display: grid; place-items: center; }
.as-cta .submit-circle .sc-ring::before { display: none; }
.as-cta .submit-circle:hover .sc-ring { transform: scale(.86); }

/* Coin: lives in the right column of the calculators teaser, ticks out at the rim, no bobbing */
.calc-teaser-text .coin-wrap { position: relative; right: auto; top: auto; margin: 0 0 56px; }
.cf-bead { inset: 4.5%;
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 9px), #000 calc(100% - 8px), #000 calc(100% - 1px), transparent 100%);
          mask: radial-gradient(circle closest-side, transparent calc(100% - 9px), #000 calc(100% - 8px), #000 calc(100% - 1px), transparent 100%); }
@media (max-width: 980px) {
  .cf-bead { -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px), #000 calc(100% - 1px), transparent 100%);
                     mask: radial-gradient(circle closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px), #000 calc(100% - 1px), transparent 100%); }
  #calculators .section-head { padding-right: 0; }
  .calc-teaser-text .coin-wrap { margin-bottom: 36px; }
}

/* Footer wordmark: bigger square, smaller tighter name, always inside the page margins */
.footer-wordmark { font-size: min(7rem, 7.2vw); gap: .34em; max-width: 100%; }
.footer-wordmark .fw-box { width: 1.3em; height: 1.3em; border-width: .026em; }
.footer-wordmark .fw-box img { width: .76em; height: auto; }
.footer-wordmark .fw-name { font-size: .74em; letter-spacing: .13em; }
.footer-wordmark .fw-box { border: 0; border-radius: 50%; }   /* the round logo with "ariane bibas" under the ab carries its own ring (Ariane, Oct 26) */
.footer-wordmark .fw-box img { width: 100%; height: 100%; }
/* Footer sign-off, all white and all clickable (Ariane, Oct 26): the round logo, the name, and under the name the four
   disciplines again, 01-04 as in the hero, so the page closes the way it opened */
.footer-wordmark { display: grid; grid-template-columns: auto auto; grid-template-areas: "box name" "box list"; justify-content: center; align-items: center; column-gap: .34em; row-gap: 0; }
.footer-wordmark .fw-box { grid-area: box; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.footer-wordmark .fw-box:hover, .footer-wordmark .fw-box:focus-visible { transform: scale(1.04); }
.footer-wordmark .fw-name { grid-area: name; align-self: end; font-family: "Jost", "Futura", sans-serif; font-weight: 300; text-transform: lowercase; font-size: .74em; letter-spacing: .13em; line-height: 1; white-space: nowrap; color: #FFFFFF; text-decoration: none; }
.footer-wordmark .fw-list span { font-family: inherit; font-weight: inherit; font-size: inherit; letter-spacing: inherit; line-height: inherit; text-transform: inherit; white-space: nowrap; }
.footer-wordmark .fw-list { grid-area: list; align-self: start; margin: .5rem 0 0 .2em; font-family: var(--label-font); font-weight: 500; font-size: clamp(.82rem, 1.05vw, 1.1rem); letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; color: #FFFFFF; }
.footer-wordmark .fw-list .dsep { margin: 0 .5em; opacity: .6; }
.footer-wordmark .fw-list .dn { color: #E4CE9F; opacity: 1; }   /* 01-04 in gold, as in the hero */
.footer-wordmark .fw-list a.dp { color: #FFFFFF; text-decoration: none; transition: color .25s ease; }
.footer-wordmark .fw-list a.dp:hover, .footer-wordmark .fw-list a.dp:focus-visible { color: var(--champagne); }
.footer-wordmark .fw-list a.dp:hover .dn, .footer-wordmark .fw-list a.dp:focus-visible .dn { color: var(--champagne); opacity: 1; }
/* The name spans the same width as the four disciplines under it, and the round logo stands as tall as both together */
@media (min-width: 761px) {
  .footer-wordmark { column-gap: min(30px, 2.4vw); }
  .footer-wordmark .fw-box { width: min(212px, 12.6vw); height: min(212px, 12.6vw); }
  .footer-wordmark .fw-name { font-size: min(134px, 7.95vw); letter-spacing: .14em; margin-right: -.14em; }
  .footer-wordmark .fw-list { font-size: min(.96rem, 1.07vw); letter-spacing: .16em; margin: .7em 0 0 .3em; white-space: nowrap; }
  .footer-wordmark .fw-list { display: flex; justify-content: space-between; align-items: baseline; margin-right: .22em; }   /* spread so the last letter of Branding ends under the s of bibas (Ariane, Oct 26) */
}
@media (max-width: 760px) {
  .footer-wordmark { grid-template-columns: auto; grid-template-areas: "box" "name" "list"; justify-items: center; justify-content: stretch; row-gap: 16px; font-size: 3rem; }
  .footer-wordmark .fw-box { width: 128px; height: 128px; }
  .footer-wordmark .fw-name { font-size: 2.1rem; letter-spacing: .14em; }
  .footer-wordmark .fw-list { margin: 0; justify-content: center; column-gap: 1.6em; font-size: .78rem; letter-spacing: .12em; }
}
.mq-body { max-width: 26ch; }   /* the portrait is smaller now, so the quote can breathe */
.as-cta .submit-circle .sc-ring { border: 1px solid rgba(21,48,79,.35); border-radius: 50%; }
.as-cta { margin-top: 56px; padding-top: 0; }

/* ======================= Preview, round 4: Manteca-style grounding ======================= */
/* Meet Ariane: the scene holds still for a stretch while her name, quote and licence line rise in over it */
@media (min-width: 761px) {
  .meet-pin { position: relative; height: 220svh; }   /* one screen to dock, then a 1.2-screen hold, as on Manteca */
  .meet-pin > .meet { position: sticky; top: 0; height: 100svh; min-height: 0; }
  .meet-live .meet-pin :is(.mq-open, .mq-body, .meet-lic) { opacity: 0; will-change: transform, opacity; }   /* only the quote lines rise in; the name block is there from the start */   /* hidden until the scene settles, then each rises in */
}
@media (prefers-reduced-motion: reduce) { .meet-pin { height: auto; } .meet-pin > .meet { position: relative; height: auto; min-height: 100svh; } }

/* The overview band carries on from Meet's navy: the heading drifts up as it arrives (Manteca "Our services") */
.areas-dark { background: #081B33; color: #F3EFE7; box-shadow: none; padding: clamp(72px, 12vh, 140px) 0 clamp(64px, 10vh, 120px); }
.areas-dark .as-head { text-align: left; margin-bottom: clamp(40px, 7vh, 72px); }
.as-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 7.6vw, 7.6rem); line-height: .95; letter-spacing: -.02em; color: #fff; will-change: transform; }
.as-title em { font-style: italic; color: #E4CE9F; }
.as-ground { margin: 22px 0 0; font-family: var(--label-font); font-size: clamp(.9rem, 1.2vw, 1.1rem); letter-spacing: .2em; text-transform: uppercase; color: rgba(243,239,231,.86); }
.areas-dark .as-name { color: #F3EFE7; }
.areas-dark .as-desc { color: #E4CE9F; }
.areas-dark .as-row .sc-ring { border-color: rgba(239, 239, 239,.45); color: #F3EFE7; }
@media (hover: hover) { .areas-dark .as-row a:hover .as-name { color: #E4CE9F; } .areas-dark .as-row a:hover .sc-ring { background: rgba(228,206,159,.14); } }
.areas-dark .p3-face { filter: brightness(calc(var(--pb, 1) * 1.08)) drop-shadow(0 2px 6px rgba(0,0,0,.4)); }

/* The tour: photos scroll up the left half; the cream right half holds still and swaps to the discipline in view */
.tour { --hdr: 60px; --h: calc(100svh - var(--hdr)); position: relative; background: var(--bg); }
.tour-stage { position: sticky; top: var(--hdr); height: var(--h); z-index: 2; pointer-events: none; }
.tour-shots { margin-top: calc(-1 * var(--h)); width: 50%; }
.tour-shot { position: relative; height: var(--h); overflow: hidden; background: #0e1a2b; scroll-margin-top: var(--hdr); }
.tour-shot img, .tour-shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,51,.6) 0%, rgba(8,27,51,0) 30%, rgba(8,27,51,0) 58%, rgba(8,27,51,.72) 100%); }
.ts-name { display: none; }
.tour-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background: var(--bg); pointer-events: auto; }
.tour-info { position: absolute; top: 50%; left: clamp(36px, 5.5vw, 96px); right: clamp(24px, 4vw, 72px); max-width: 560px; display: flex; flex-direction: column; align-items: flex-start;
  opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 18px)); transition: opacity .18s ease, transform .3s ease, visibility 0s .18s; }
.tour-info[data-on] { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .45s ease .2s, transform .6s cubic-bezier(.2,.8,.2,1) .2s, visibility 0s 0s; }
.ti-k { margin: 0 0 14px; font-family: var(--label-font); font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.ti-h { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.1vw, 3.1rem); line-height: 1.05; color: var(--navy-dark); }
.ti-h em { font-style: italic; color: var(--brass); }
.ti-p { margin: 16px 0 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft); }
.ti-links { list-style: none; margin: clamp(18px, 3vh, 28px) 0 0; padding: 0; width: 100%; border-top: 1px solid rgba(21,48,79,.16); }
.ti-links li { border-bottom: 1px solid rgba(21,48,79,.16); }
.ti-links a { display: flex; align-items: center; gap: 14px; min-height: clamp(40px, 5.4vh, 50px); font-size: 1rem; color: var(--navy-dark); text-decoration: none; transition: color .2s, padding .25s; }
.ti-links a::before { content: ""; width: 14px; height: 1.5px; background: var(--brass); flex: none; }
.ti-links a::after { content: "\2192"; margin-left: auto; color: rgba(21,48,79,.35); transition: color .2s; }
.ti-links a:hover { color: var(--brass); padding-left: 6px; } .ti-links a:hover::after { color: var(--brass); }
.ti-lic { margin: 14px 0 0; font-size: .76rem; line-height: 1.5; color: var(--ink-soft); }
.ti-cta { margin-top: clamp(8px, 2vh, 18px); padding-top: 14px; padding-bottom: 14px; }
/* the discipline's name, large on the photo */
.tour-titles { position: absolute; left: 0; width: 50%; bottom: clamp(26px, 5vh, 60px); height: 1.05em; font-size: clamp(3.6rem, 6.6vw, 7.6rem); }
.tour-title { position: absolute; left: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); right: 24px; bottom: 0; margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1em; line-height: .98; letter-spacing: -.02em; color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(40px); transition: opacity .18s ease, transform .3s ease; }
.tour-title[data-on] { opacity: 1; transform: none; transition: opacity .45s ease .2s, transform .7s cubic-bezier(.2,.8,.2,1) .2s; }
/* numbered rail along the top of the photo, a gold line filling as you go */
.tour-rail { --row: 34px; position: absolute; top: clamp(24px, 5vh, 52px); left: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); pointer-events: auto; color: #fff; }
.tr-head { margin: 0 0 12px; display: flex; gap: 12px; align-items: baseline; font-family: var(--label-font); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #E4CE9F; }
.tr-head b { font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.tr-list { position: relative; padding-left: 18px; }
.tr-track { position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.3); }
.tr-track i { position: absolute; left: 0; top: 0; width: 1px; height: calc((var(--i) + 1) / 4 * 100%); background: #E4CE9F; transition: height .6s cubic-bezier(.2,.8,.2,1); }
.tr-list a { display: flex; align-items: center; gap: 10px; height: var(--row); font-family: var(--label-font); font-size: .92rem; letter-spacing: .06em; color: rgba(255,255,255,.78); text-decoration: none; text-shadow: 0 1px 10px rgba(0,0,0,.4); transition: color .25s; }
.tr-list a small { font-size: .7rem; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.tr-list a[data-on] { color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.25rem; letter-spacing: 0; }
.tr-list a[data-on] small { color: #E4CE9F; font-family: var(--label-font); font-style: normal; }
.tr-list a:hover { color: #E4CE9F; }
.tour-after { background: var(--bg); padding: 36px 0 8px; }
@media (max-height: 760px) and (min-width: 861px) { .ti-p { display: none; } }

/* Phones and small tablets: no holding still; each photo is followed by its own words */
@media (max-width: 860px) {
  .tour { display: flex; flex-direction: column; }
  .tour-stage, .tour-panel, .tour-shots { display: contents; }
  .tour-titles, .tour-rail { display: none; }
  .tour-shot { height: 62vw; min-height: 300px; }
  .tour-shot[data-i="0"] { order: 0; } .tour-info[data-i="0"] { order: 1; }
  .tour-shot[data-i="1"] { order: 2; } .tour-info[data-i="1"] { order: 3; }
  .tour-shot[data-i="2"] { order: 4; } .tour-info[data-i="2"] { order: 5; }
  .tour-shot[data-i="3"] { order: 6; } .tour-info[data-i="3"] { order: 7; }
  .tour-info, .tour-info[data-on] { position: relative; top: auto; left: auto; right: auto; max-width: none; opacity: 1; visibility: visible; transform: none; transition: none; padding: 30px 24px 48px; }
  .ts-name { display: block; position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 1; margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 12vw, 3.6rem); line-height: 1; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
  .ts-name small { display: block; margin-bottom: 6px; font-family: var(--label-font); font-style: normal; font-size: .72rem; letter-spacing: .2em; color: #E4CE9F; }
}
@media (prefers-reduced-motion: reduce) { .tour-info, .tour-title { transition: none; } }

/* The overview band: an ombre from light champagne gold to deep bronze, sliding slowly across as you scroll */
.areas-dark { --gx: 0%; background: linear-gradient(100deg, #F6ECD2 0%, #E9D29C 22%, #D2AF68 44%, #B48A44 64%, #8C6626 82%, #5E4314 100%);
  background-size: 170% 100%; background-position: var(--gx) 50%; color: var(--navy-dark); }
.areas-dark .as-title { color: var(--navy-dark); }
.areas-dark .as-title em { color: #6E4F17; }
.areas-dark .as-ground { color: var(--navy-dark); }
.areas-dark .as-name { color: var(--navy-dark); }
.areas-dark .as-desc { color: #4A3610; }
.areas-dark .as-row .sc-ring { border-color: rgba(21,48,79,.55); color: var(--navy-dark); }
@media (hover: hover) { .areas-dark .as-row a:hover .as-name { color: #3E2C0C; } .areas-dark .as-row a:hover .sc-ring { background: rgba(248, 248, 248,.3); } }
.areas-dark .p3-face { filter: brightness(var(--pb, 1)) drop-shadow(0 3px 5px rgba(60,40,8,.45)); }
.areas-dark .p3-edge { background: linear-gradient(180deg, #8C6A26, #4E3A10); }
/* plus on the gold band: richer polished gold that stands off the background */
#plusGold stop:nth-child(1) { stop-color: #FFF0C2; } #plusGold stop:nth-child(2) { stop-color: #E0B550; } #plusGold stop:nth-child(3) { stop-color: #8A5F14; }
.areas-dark .p3-face { filter: saturate(1.25) brightness(var(--pb, 1)) drop-shadow(0 4px 6px rgba(50,32,4,.55)) drop-shadow(0 0 1px rgba(40,26,2,.6)); }
/* Meet, pinned: keep the whole block clear of the nav */
@media (min-width: 761px) {
  .meet-pin .meet-inner { padding-top: calc(var(--hdr, 60px) + 3vh); padding-bottom: 4vh; }
  .meet-pin .mq-open { font-size: clamp(2.8rem, 5vw, 5.4rem); }
  .meet-pin .mq-body { font-size: clamp(1.4rem, 2.3vw, 2.4rem); margin-top: 14px; }
  .meet-pin .meet-quote { margin-top: 4vh; }
  .meet-pin .meet-lic { margin-top: 4vh; }
}
.ti-links a, .tr-list a { text-decoration: none !important; }
.tr-list a { font-size: 1rem; } .tr-head { font-size: .8rem; }
.tour-shot::after { background: linear-gradient(180deg, rgba(8,27,51,.82) 0%, rgba(8,27,51,.45) 22%, rgba(8,27,51,0) 40%, rgba(8,27,51,0) 58%, rgba(8,27,51,.72) 100%); }
@media (max-width: 860px) { .tour-shot::after { background: linear-gradient(180deg, rgba(8,27,51,0) 50%, rgba(8,27,51,.7) 100%); } }
/* Overview band, lighter: white light on the left warming to a soft champagne glow on the right */
.areas-dark { background: linear-gradient(100deg, #FFFFFF 0%, #FBFBFB 30%, #F1F1F1 58%, #F0E3C6 82%, #E6D2A6 100%); background-size: 170% 100%; background-position: var(--gx) 50%; }
.areas-dark .as-title em { color: var(--brass); }
.areas-dark .as-desc { color: var(--brass); }
.areas-dark .as-row .sc-ring { border-color: rgba(21,48,79,.35); }
.areas-dark .p3-face { filter: saturate(1.2) brightness(var(--pb, 1)) drop-shadow(0 4px 6px rgba(80,60,20,.28)); }
@media (hover: hover) { .areas-dark .as-row a:hover .as-name { color: var(--brass); } .areas-dark .as-row a:hover .sc-ring { background: var(--gold-tint); } }

/* ---------- Preview: bigger, bolder type throughout ---------- */
html.pv-big { font-size: 118.75%; }
html.pv-big body { font-size: 19px; font-weight: 500; color: #16140F; --ink-soft: #3E3A33; --ink-faint: #514D45; }
html.pv-big p, html.pv-big li { font-weight: 500; }
html.pv-big h1, html.pv-big h2, html.pv-big h3, html.pv-big .ti-h, html.pv-big .as-title { font-weight: 600; }
html.pv-big .tr-head, html.pv-big .tr-list a, html.pv-big .ti-k { font-weight: 500; }
/* tour rail on the photo */
html.pv-big .tr-head { font-size: .95rem; color: #F0DDB2; }
html.pv-big .tr-list a { font-size: 1.3rem; color: rgba(255,255,255,.92); text-shadow: 0 1px 14px rgba(0,0,0,.55); }
html.pv-big .tr-list a small { font-size: .85rem; color: rgba(255,255,255,.8); }
html.pv-big .tr-list a[data-on] { font-size: 1.75rem; font-weight: 600; }
html.pv-big .tr-track { width: 2px; } html.pv-big .tr-track i { width: 2px; }
/* tour words on the right */
html.pv-big .ti-k { font-size: .9rem; }
html.pv-big .ti-p { font-size: 1.12rem; }
html.pv-big .ti-links a { font-size: 1.12rem; font-weight: 500; }
html.pv-big .ti-lic { font-size: .85rem; }
html.pv-big .tour-rail { --row: 48px; }
html.pv-big .tr-head { text-shadow: none; }
@media (min-width: 761px) { html.pv-big .meet-k { white-space: nowrap; letter-spacing: .16em; } }
html.pv-big .tour-shot#t-web img { object-position: 80% 70%; }
@media (min-width: 861px) { html.pv-big .tour-shot::after { background: linear-gradient(180deg, rgba(8,20,36,.88) 0%, rgba(8,20,36,.66) 26%, rgba(8,20,36,.18) 46%, rgba(8,20,36,0) 58%, rgba(8,27,51,.72) 100%); } }
html.pv-big .tr-list a, html.pv-big .tr-head { text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 18px rgba(0,0,0,.55); }
/* Condensed overview: names smaller, rows closer, less empty band */
html.pv-big .areas-dark { padding: clamp(56px, 8vh, 96px) 0 clamp(48px, 7vh, 80px); }
html.pv-big .areas-dark .as-head { margin-bottom: clamp(24px, 4vh, 44px); }
html.pv-big .as-title { font-size: clamp(2.5rem, 5.2vw, 5rem); }
html.pv-big .as-name { font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1; }
html.pv-big .as-desc { font-size: clamp(1.05rem, 1.45vw, 1.4rem); margin-top: 6px; }
html.pv-big .as-row a { grid-template-columns: 64px 1fr; gap: 28px; padding: 14px 0; }
html.pv-big .as-plus { width: 52px; height: 52px; font-size: clamp(2.2rem, 4.6vw, 4.4rem); margin-top: calc(.5em - 26px); }
html.pv-big .as-line { gap: 20px; }
html.pv-big .as-row .sc-ring { width: 54px; height: 54px; }
html.pv-big .as-row .sc-arrow { width: 18px; height: 18px; }
@media (max-width: 980px) {
  html.pv-big .as-row a { grid-template-columns: 36px 1fr; gap: 14px; padding: 10px 0; }
  html.pv-big .as-plus { width: 34px; height: 34px; font-size: 2.2rem; margin-top: calc(.5em - 17px); }
  html.pv-big .as-row .sc-ring { width: 40px; height: 40px; }
  html.pv-big .as-desc { font-size: 1rem; }
}
@media (max-width: 760px) { html.pv-big .areas-dark .as-head { margin-bottom: 18px; } html.pv-big .as-ground { margin-top: 14px; font-size: .82rem; } }

/* Overview v2: heading left, numbered rows right; each row = oversized number + photo (gold plus as its corner mark) + name */
html.pv-big .areas-dark .as-row a { grid-template-columns: auto clamp(64px, 7vw, 108px) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 26px); align-items: center; padding: clamp(10px, 1.4vh, 16px) 0; }
.as-num { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 5.6vw, 5.6rem); line-height: .8; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; color: #C3A35A; transition: color .4s ease; }
.as-pic { position: relative; display: block; aspect-ratio: 1; }
.as-pic img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 10px 24px rgba(21,48,79,.16); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
html.pv-big .as-pic .as-plus { position: absolute; left: -15px; top: -15px; z-index: 1; width: 30px; height: 30px; margin: 0; font-size: 1rem; }
html.pv-big .as-name { font-size: clamp(2rem, 3.5vw, 3.5rem); }
html.pv-big .as-desc { font-size: clamp(1rem, 1.2vw, 1.2rem); }
@media (hover: hover) { .as-row a:hover .as-num { color: var(--brass); } .as-row a:hover .as-pic img { transform: scale(1.04); } }
@media (min-width: 1100px) {
  html.pv-big .areas-dark > .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(40px, 4vw, 72px); align-items: center; }
  html.pv-big .areas-dark .as-head { margin: 0; }
  html.pv-big .as-title { font-size: clamp(3rem, 4.4vw, 4.6rem); }
  html.pv-big .as-ground { line-height: 1.9; }
}
@media (max-width: 980px) {
  html.pv-big .areas-dark .as-row a { grid-template-columns: auto 72px minmax(0, 1fr); gap: 14px; padding: 8px 0; }
  html.pv-big .as-pic .as-plus { width: 22px; height: 22px; left: -11px; top: -11px; }
}
@media (max-width: 480px) {
  .as-num { font-size: 2.4rem; }
  html.pv-big .areas-dark .as-row a { grid-template-columns: auto 60px minmax(0, 1fr); gap: 12px; }
  html.pv-big .as-name { font-size: 1.85rem; }
  html.pv-big .as-line { gap: 12px; }
  html.pv-big .as-row .sc-ring { width: 34px; height: 34px; }
  html.pv-big .as-desc { font-size: .95rem; }
}
@media (min-width: 1100px) {
  html.pv-big .areas-dark > .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  html.pv-big .as-title { font-size: clamp(2.6rem, 3.5vw, 3.9rem); }
  html.pv-big .as-title em { display: block; white-space: nowrap; }
}
@media (max-width: 480px) {
  .as-num { font-size: 2.1rem; }
  html.pv-big .areas-dark .as-row a { grid-template-columns: auto 56px minmax(0, 1fr); gap: 11px; }
  html.pv-big .as-name { font-size: 1.6rem; white-space: nowrap; }
  html.pv-big .areas-dark .as-head { margin-bottom: 10px; }
}
.as-row.reveal.visible { transform: none; }
/* Discipline numbers travel with the names everywhere: 01 Design, 02 Financing, 03 Real Estate, 04 Brand & Web */
.dn { margin-right: .45em; font-weight: 600; letter-spacing: .04em; font-variant-numeric: lining-nums tabular-nums; opacity: .7; }
.hero-breathe .hs-list .dn { color: #E4CE9F; opacity: 1; }
.tour-title small { display: block; margin-bottom: .1em; font-family: var(--label-font); font-style: normal; font-weight: 500; font-size: .2em; letter-spacing: .2em; color: #E4CE9F; }
.tour-titles { height: 1.35em; }
.dp { white-space: nowrap; }
@media (max-width: 760px) {
  .dlist { display: grid !important; grid-template-columns: auto auto; justify-content: start; column-gap: 1.4em; row-gap: .35em; }
  .dlist .dsep { display: none; }
  .meet-k .meet-rule { align-self: flex-start; margin-top: .6em; }
}
@media (max-width: 760px) {
  .hero-breathe .hs-list.dlist { font-size: .8rem; letter-spacing: .12em; column-gap: 1.2em; }
  .meet-k .dlist { font-size: .74rem; letter-spacing: .12em; column-gap: 1.2em; }
  .meet-k .meet-rule { display: none; }
}
@media (max-width: 350px) { .hero-breathe .hs-list.dlist, .meet-k .dlist { font-size: .7rem; letter-spacing: .08em; column-gap: 1em; } }
.nav-n { margin-right: .4em; font-size: .78em; font-weight: 600; letter-spacing: .04em; color: #C9AE6E; font-variant-numeric: lining-nums tabular-nums; }
.card-link .dn, .story-tags .dn { opacity: 1; }
/* Preview nav: a little wider and tighter so the numbered items and Book a Call fit on laptops */
html.pv-big .site-header .wrap.nav { max-width: 1400px; }
html.pv-big .nav-links { gap: clamp(12px, 1.2vw, 20px); }
html.pv-big .nav-links > li > a, html.pv-big .nav-links .nav-dropdown-toggle { font-size: clamp(12px, .9vw, 14px); letter-spacing: .1em; }
html.pv-big .site-header .nav-links a.btn { font-size: clamp(12.5px, .95vw, 14.5px); letter-spacing: .12em; padding-left: 16px; padding-right: 16px; }
.nav-links > li > a > .nav-n { margin-right: .75em; }

/* ---------- Coin v2: real gold, not a graphic ----------
   Same design (rim, denticle ring, embossed ab). Rendering changes: deeper yellow gold with true metal
   contrast, an anisotropic sheen that turns with the coin, lathe rings and grain on the field, a
   bevelled raised rim, fine gold denticles, and a crisp emboss on the mark. */
.coin-edge { background: linear-gradient(90deg, #4E3A0E 0%, #8C6A22 22%, #D9B961 48%, #A47F2C 70%, #4E3A0E 100%); }
.coin-face {
  background:
    url(../images/01-logos-and-badges/coin-grain.svg) 0 0 / 120px 120px,
    repeating-radial-gradient(circle at 50% 50%, rgba(255,240,200,.06) 0 1px, rgba(40,28,4,.05) 1px 2.2px),
    conic-gradient(from var(--ga, 115deg) at 50% 50%, #7A5A19 0deg, #B88F35 40deg, #E6C873 75deg, #C29A3E 105deg, #6E5115 150deg, #9C772A 200deg, #DDBD66 250deg, #A7822F 290deg, #7A5A19 360deg);
  background-blend-mode: overlay, normal, normal;
  box-shadow: inset 0 0 0 1px rgba(40,28,4,.85), inset 0 0 18px rgba(40,28,4,.35);
}
.coin-face::after { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 6.5%; pointer-events: none;
  background: conic-gradient(from calc(var(--ga, 115deg) + 180deg), #F4DD97, #A7812D 18%, #5C4410 34%, #8F6C22 50%, #E9CD7E 66%, #B48D36 82%, #F4DD97);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  box-shadow: inset 0 0 0 1px rgba(255,236,170,.35); }
.coin-face::before { content: ""; position: absolute; inset: 6.5%; border-radius: 50%; pointer-events: none; z-index: 1;
  box-shadow: 0 0 0 1px rgba(46,32,4,.7), inset 0 2px 3px rgba(40,28,4,.45), inset 0 -1px 2px rgba(255,236,170,.25); }
.cf-bead { inset: 8.5%; opacity: .9;
  background: repeating-conic-gradient(from 0deg, #EBCF80 0deg 1.4deg, #5E4512 1.4deg 3deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 6px), #000 calc(100% - 5px), #000 calc(100% - 1px), transparent 100%);
          mask: radial-gradient(circle closest-side, transparent calc(100% - 6px), #000 calc(100% - 5px), #000 calc(100% - 1px), transparent 100%); }
.cf-mark .ml-dark { background: rgba(36,24,2,.8); transform: translate(1.6px, 2px); filter: blur(.6px); }
.cf-mark .ml-light { background: rgba(255,238,178,.9); transform: translate(-1px, -1.2px); }
.cf-mark .ml-fill { background: linear-gradient(var(--ga, 115deg), #8E6B22 0%, #C9A44C calc(var(--gp, 50%) - 26%), #F6E2A0 var(--gp, 50%), #C29B42 calc(var(--gp, 50%) + 24%), #7E5E1A 100%); }
.cf-gloss { mix-blend-mode: soft-light; opacity: calc(var(--go, .6) * .9);
  background: linear-gradient(var(--ga, 115deg), transparent calc(var(--gp, 50%) - 20%), rgba(255,246,214,.9) var(--gp, 50%), transparent calc(var(--gp, 50%) + 16%)); }
.coin-shadow { background: radial-gradient(ellipse at center, rgba(40,30,10,.38), rgba(40,30,10,0) 70%); }
@media (max-width: 980px) {
  .cf-bead { -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px), #000 calc(100% - .5px), transparent 100%);
                     mask: radial-gradient(circle closest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px), #000 calc(100% - .5px), transparent 100%); }
  .cf-mark .ml-dark { transform: translate(.8px, 1px); }
}
.coin-face { filter: brightness(var(--bright, 1)) saturate(.8) sepia(.12) contrast(1.04); }
.coin-edge { filter: saturate(.8) sepia(.12); }

/* ---------- Preview: "From today to move-in day" flip cards ----------
   Front: the discipline (number + name) large at the top, the step word oversized at the
   bottom, and a round + button. Tap or click turns the card over to the explanation and link. */
.path-dot { font-weight: 600; font-size: 1rem; }
.path-dot.pd-two { width: 58px; height: 58px; font-size: .8rem; letter-spacing: .04em; }
.path-dot.pd-two i { font-style: normal; margin: 0 .18em; opacity: .8; }
.path-steps .path-step.fc {
  display: block; grid-row: auto; padding: 0; border: 0; background: none; box-shadow: none;
  perspective: 1600px;
}
.fc-in {
  display: grid; height: 100%; min-height: 400px;
  transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.fc.is-flipped .fc-in { transform: rotateY(180deg); }
.fc-face {
  grid-area: 1 / 1; position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border: 1px solid var(--hair); border-radius: 2px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.fc-front { background: #FFFFFF; cursor: pointer; }
.fc-back { background: #EEEEEE; transform: rotateY(180deg); }
.fc-label { display: flex; flex-direction: column; gap: 6px; }
.fc-n {
  font-family: var(--serif); font-weight: 600; line-height: .9; color: #A8873A;
  font-size: clamp(2.6rem, 3.4vw, 3.4rem); letter-spacing: .01em;
}
.fc-name {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  font-size: 1.12rem; letter-spacing: .14em; line-height: 1.3; color: #6E5512;
}
.fc-role { font-size: .86rem; font-weight: 500; letter-spacing: .08em; color: var(--ink-soft); }
.fc-role .reg { font-size: .7em; vertical-align: super; }
.fc-front .fc-verb {
  margin: auto 0 0; padding: 22px 64px 0 0; border-top: 1px solid rgba(168,135,58,.45);
  font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: clamp(2.7rem, 3.6vw, 3.7rem); color: var(--navy-dark);
}
.fc-front .fc-label + .fc-verb { margin-top: auto; }
.fc-front .fc-label { margin-bottom: 40px; }
.fc-back .fc-label { flex-direction: row; align-items: baseline; gap: 12px; }
.fc-back .fc-n { font-size: 1.9rem; }
.fc-back .fc-name { font-size: .95rem; }
.fc-back .fc-verb {
  display: block; margin: 16px 0 14px; font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: 2rem; line-height: 1.05; color: var(--navy-dark);
}
.fc-back p { color: var(--ink); margin-bottom: 22px; }
.fc-back .card-link.circle-link { margin-top: auto; }
.fc-btn {
  position: absolute; right: 26px; bottom: 26px; width: 52px; height: 52px; padding: 0;
  border: 0; background: none; cursor: pointer; color: var(--navy-dark);
}
.fc-btn .sc-ring {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(21,48,79,.4); border-radius: 50%;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s;
}
.fc-plus { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.fc-front:hover .fc-btn .sc-ring, .fc-btn:focus-visible .sc-ring { border-color: var(--navy-dark); background: var(--navy-dark); color: #F3EFE7; }
.fc-front:hover .fc-plus, .fc-btn:focus-visible .fc-plus { transform: rotate(90deg); }
.fc-close { top: 22px; bottom: auto; right: 22px; width: 44px; height: 44px; }
.fc-close .fc-plus { transform: rotate(45deg); }
.fc-close:hover .sc-ring { background: var(--navy-dark); border-color: var(--navy-dark); color: #F3EFE7; }
.fc-back .fc-label { padding-right: 52px; }
@media (max-width: 1100px) { .fc-in { min-height: 360px; } }
@media (max-width: 640px) {
  .fc-in { min-height: 300px; }
  .fc-face { padding: 28px 24px 24px; }
  .fc-front .fc-label { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-in { transition: none; }
}
@media (min-width: 981px) { .path-steps:has(.fc), .path-steps:has(.fc) .path-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) and (min-width: 681px) { .path-steps:has(.fc) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fc-n { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.path-dot.pd-two { width: 66px; height: 66px; font-size: .78rem; }
.fc-front .fc-verb { padding-right: 0; font-size: clamp(2.4rem, 3.1vw, 3.3rem); }
.fc-front .fc-btn { top: 26px; bottom: auto; }
.fc-front .fc-label { padding-right: 58px; }
.fc-back .fc-label { flex-direction: column; align-items: flex-start; gap: 4px; }
.fc-back .fc-verb { margin-top: 12px; }
.fc-in { min-height: 370px; }
@media (max-width: 640px) { .fc-in { min-height: 250px; } }

/* ---------- Overview v3: no heading, no photos. Each row = number · gold plus · small line icon · name with its
   one-line subtext, arrow ring at the far right. The plus and icon are centred on the name's capital letter.
   The plus holds still until the row is hovered (js/home-preview.js). Each row carries its own soft bar on hover. */
html.pv-big .areas-dark .as-head { display: none; }
@media (min-width: 1100px) { html.pv-big .areas-dark > .wrap { display: block; max-width: 1240px; } }
html.pv-big .areas-dark .as-row a { --nm: clamp(2rem, 3.4vw, 3.4rem); grid-template-columns: auto auto auto minmax(0, 1fr); gap: clamp(14px, 1.6vw, 24px); align-items: start;
  padding: clamp(14px, 1.8vh, 20px) clamp(18px, 2vw, 28px); margin: 0 calc(-1 * clamp(18px, 2vw, 28px)); border-radius: 10px; transition: background .4s ease, box-shadow .4s ease; }
html.pv-big .as-name { font-size: var(--nm); line-height: 1; }
html.pv-big .as-num, html.pv-big .as-plus, html.pv-big .as-ico { height: var(--nm); display: grid; place-items: center; box-sizing: border-box; }
html.pv-big .as-num { font-size: calc(var(--nm) * 1.5); line-height: 1; padding: 0; transform: translateY(-.03em); min-width: 2ch; }
html.pv-big .areas-dark .as-plus { position: static; width: calc(var(--nm) * .5); height: var(--nm); margin: 0; font-size: 1rem; align-self: start; }
html.pv-big .as-plus .p3 { width: calc(var(--nm) * .5); height: calc(var(--nm) * .5); }
html.pv-big .as-ico { width: calc(var(--nm) * .78); color: var(--navy-dark); transition: color .4s ease; }
html.pv-big .as-ico svg { width: 100%; height: calc(var(--nm) * .78); display: block; }
html.pv-big .as-line { justify-content: space-between; gap: 24px; }
html.pv-big .as-desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
@media (hover: hover) {
  html.pv-big .areas-dark .as-row a:hover { background: rgba(255,255,255,.72); box-shadow: 0 14px 34px rgba(21,48,79,.08), 0 1px 0 rgba(255,255,255,.9) inset; }
  html.pv-big .as-row a:hover .as-ico { color: var(--brass); }
}
html.pv-big .as-row a:focus-visible { background: rgba(255,255,255,.72); outline-offset: 0; }
@media (max-width: 980px) {
  html.pv-big .areas-dark .as-row a { --nm: 1.85rem; grid-template-columns: auto auto auto minmax(0, 1fr); gap: 12px; padding: 12px 14px; margin: 0 -14px; }
  html.pv-big .as-desc { white-space: normal; }
}
@media (max-width: 480px) {
  html.pv-big .areas-dark .as-row a { --nm: min(1.6rem, 6.4vw); gap: 10px; }   /* scales with the screen so "Branding & Web" and its arrow fit */
  html.pv-big .as-name { font-size: var(--nm); }
  html.pv-big .as-line { gap: 10px; }
}

/* ---------- Tour: photos on the left, words on the right. The "Four disciplines" rail is gone; the number above the
   big name on the photo is much larger. */
@media (min-width: 861px) {
  html.pv-big .tour-rail { display: none; }     /* the four-name list is gone: the number and name on the photo say where you are */
  html.pv-big .tour-titles { display: none; }   /* the name no longer sits in the fixed layer at the bottom... */
  /* ...it sits in the upper-left of each photo and scrolls away with it; the next photo brings its own */
  html.pv-big .ts-name { display: block; position: absolute; z-index: 1; top: clamp(24px, 5vh, 52px); left: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); right: 24px; margin: 0;
    font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3.6rem, 6.6vw, 7.6rem); line-height: .98; letter-spacing: -.02em; color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.25); }
  html.pv-big .ts-name small { display: block; margin-bottom: .04em; font-family: var(--label-font); font-style: normal; font-weight: 500; font-size: .5em; letter-spacing: .08em; color: #E4CE9F; }
}

/* ---------- Preview: Meet Ariane, light version — plain white that fades into the portrait, no colour in the fade; the bronze and the blue live in the words ---------- */
.meet { background: #FFFFFF; color: var(--navy-dark); }
.meet-bg::after { background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 34%, rgba(255,255,255,.6) 44%, rgba(255,255,255,0) 54%); }
/* the photo's own fade is short, finished over the curtain well before her hair */
.meet-bg img { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 20%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 20%); }
.meet-mark { filter: none; }
.meet-name { color: var(--navy-dark); }
.meet-name em { color: var(--brass); }
.meet-k { color: var(--brass-dark); }
.meet-rule { background: var(--brass); }
.meet-cred { color: var(--ink-soft); }
.mq-open { color: var(--brass); }
.mq-body { color: var(--navy-dark); }
.meet-lic { color: var(--ink-faint); }
.pin-wrap .meet { box-shadow: 0 -30px 60px rgba(0,0,0,.08); }
@media (max-width: 980px) {
  section#about.meet { background: #FFFFFF !important; }
  .meet-bg::after { background: linear-gradient(180deg, rgba(255,255,255,0) 55%, #FFFFFF 100%); }
}
/* Tour names: far left of the photo on one line. Each name holds near the top of the screen while its photo scrolls
   up beneath it, so it travels down the photo, then leaves with the photo's bottom edge as the next name arrives. */
@media (min-width: 861px) {
  html.pv-big .tour-shot { overflow: clip; }
  html.pv-big .tour-shot img, html.pv-big .tour-shot video { z-index: 0; }
  html.pv-big .tour-shot::after { z-index: 0; }
  html.pv-big .ts-name { position: sticky; top: calc(var(--hdr) + clamp(24px, 5vh, 52px)); left: auto; right: auto; z-index: 1;
    margin: 0; padding: clamp(24px, 5vh, 52px) clamp(20px, 2.6vw, 44px) 0; white-space: nowrap; font-size: clamp(3.4rem, 6.2vw, 7.2rem); }
}

/* Meet Ariane: her title on its own line under the name, the four disciplines beneath it, credentials stacked one per line */
.meet-role { display: flex; align-items: center; gap: 14px; margin: 16px 0 6px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.2; color: var(--brass); }
.meet-k { margin: 0 0 16px; }
ul.meet-cred { list-style: none; padding: 0; margin: 0; max-width: none; }
ul.meet-cred li { font-size: .96rem; line-height: 1.5; padding: 3px 0; }
/* Meet Ariane: the quote set heavier and darker so it reads clearly over the light fade */
.meet .mq-open { font-weight: 700; }
.meet .mq-body { font-weight: 700; color: #0E2240; }
@media (min-width: 981px) { .meet .meet-lic { max-width: 520px; } }   /* keep the licence line on the white, clear of the portrait */
html.pv-big .tour-shot#t-web img { object-position: 80% 100%; }   /* bus stop anchored at its bottom edge: the top is cropped instead */
/* Meet Ariane header: the name runs flush left on its own line, the logo drops down beside the title and credentials */
@media (min-width: 981px) {
  .meet .meet-head { grid-template-columns: auto 1fr; column-gap: 34px; row-gap: 0; align-items: start; }
  .meet .meet-head > div { display: contents; }
  .meet .meet-name { grid-column: 1 / -1; grid-row: 1; margin-bottom: clamp(14px, 2.4vh, 24px); white-space: nowrap; }
  .meet .meet-mark { grid-column: 1; grid-row: 2 / span 2; align-self: start; margin-top: 4px; }
  .meet .meet-role { grid-column: 2; grid-row: 2; margin-top: 0; }
  .meet .meet-cred { grid-column: 2; grid-row: 3; }
}

/* ---------- Overview v4 (Wealthsimple pattern): the four names big and stacked as one centred block, a small brass
   number tucked beside each name, a bigger gold plus before it — pluses and numbers line up in two straight columns.
   The line icon (far left) and the one-line subtext with its arrow (far right) stay hidden until the row is hovered
   or focused, when the row lifts onto a white card. The section uses a wider container so there is room for both.
   Phones keep the compact rows. ---------- */
@media (min-width: 981px) {
  html.pv-big .areas-dark { padding: clamp(48px, 7vh, 88px) 0 clamp(40px, 6vh, 72px); }
  html.pv-big .areas-dark > .wrap { display: block; max-width: min(1360px, 100vw - 64px); }
  html.pv-big .areas-dark .as-row a {
    --nm: clamp(2.8rem, 5.4vw, 5.8rem);
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto auto auto auto minmax(0, 1fr); grid-template-areas: "l ico plus num name desc ring r";  /* icon, subtext and arrow hug the word block; the empty outer tracks centre the whole thing */
    align-items: center; column-gap: clamp(12px, 1.2vw, 20px);
    padding: clamp(14px, 2.2vh, 26px) clamp(24px, 2.4vw, 40px); margin: 0; border-radius: 18px;
  }
  html.pv-big .areas-dark .as-row .as-main, html.pv-big .areas-dark .as-row .as-line { display: contents; }
  html.pv-big .areas-dark .as-row .as-ico { grid-area: ico; justify-self: end; margin-right: 8px; width: calc(var(--nm) * .66); height: auto; opacity: 0; transform: translateX(-14px); transition: opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1), color .4s ease; }
  html.pv-big .areas-dark .as-row .as-ico svg { height: calc(var(--nm) * .66); }
  html.pv-big .areas-dark .as-row .as-plus { grid-area: plus; width: calc(var(--nm) * .6); height: calc(var(--nm) * .6); align-self: center; }
  html.pv-big .areas-dark .as-row .as-plus .p3 { width: calc(var(--nm) * .6); height: calc(var(--nm) * .6); }
  html.pv-big .areas-dark .as-row .as-num { grid-area: num; height: auto; min-width: 2ch; font-size: calc(var(--nm) * .24); font-weight: 600; letter-spacing: .06em; color: var(--brass); align-self: center; margin-top: 0; transform: translateY(calc(var(--nm) * -.27)); }
  /* every name gets the same column width (the longest, "Design Studio") so the block stays one straight stack */
  html.pv-big .areas-dark .as-row .as-name { grid-area: name; font-size: var(--nm); font-weight: 500; line-height: 1; letter-spacing: -.015em; white-space: nowrap; min-width: 6.3em; text-align: left; }
  /* subtext and arrow share the right-hand track as one group, pinned to its far edge */
  html.pv-big .areas-dark .as-row .as-desc { grid-area: desc; justify-self: start; align-self: center; text-align: left; white-space: normal; width: 19ch; margin: 0 0 0 14px; font-size: clamp(.95rem, 1.05vw, 1.1rem); line-height: 1.35; opacity: 0; transform: translateX(14px); transition: opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  html.pv-big .areas-dark .as-row .sc-ring { grid-area: ring; justify-self: start; align-self: center; width: 52px; height: 52px; opacity: 0; transition: opacity .45s ease, background .4s ease; }
  html.pv-big .areas-dark .as-row a:hover, html.pv-big .areas-dark .as-row a:focus-visible { background: #FFFFFF; box-shadow: 0 18px 44px rgba(21,48,79,.10); }
  html.pv-big .areas-dark .as-row a:hover .as-ico, html.pv-big .areas-dark .as-row a:focus-visible .as-ico,
  html.pv-big .areas-dark .as-row a:hover .as-desc, html.pv-big .areas-dark .as-row a:focus-visible .as-desc { opacity: 1; transform: none; }
  html.pv-big .areas-dark .as-row a:hover .sc-ring, html.pv-big .areas-dark .as-row a:focus-visible .sc-ring { opacity: 1; }
  html.pv-big .areas-dark .as-row a:hover .as-name, html.pv-big .areas-dark .as-row a:focus-visible .as-name { color: var(--navy-dark); }
}
@media (min-width: 981px) and (prefers-reduced-motion: reduce) {
  html.pv-big .areas-dark .as-row .as-ico, html.pv-big .areas-dark .as-row .as-desc, html.pv-big .areas-dark .as-row .sc-ring { transition: none; }
}

/* ---------- Preview typography: thinner and more architectural. All running text, lists and small print set in Jost
   (geometric, Futura-like) at a light weight instead of medium-weight Inter; serif headings one step lighter. ---------- */
html.pv-big body { font-family: var(--label-font); font-weight: 400; letter-spacing: .01em; }
html.pv-big p, html.pv-big li, html.pv-big dd, html.pv-big td, html.pv-big label, html.pv-big input, html.pv-big textarea, html.pv-big button { font-weight: 400; }
html.pv-big .ti-body, html.pv-big .lede, html.pv-big .mq-body ~ p, html.pv-big .meet-cred li, html.pv-big .meet-lic { font-weight: 300; }
html.pv-big h1, html.pv-big h2, html.pv-big h3, html.pv-big .ti-h, html.pv-big .as-title, html.pv-big .tour-title { font-weight: 500; }
html.pv-big strong, html.pv-big b { font-weight: 500; }

/* ---------- Refined plus: flat polished gold, slimmer arms. No tilt, no extruded dark sides, no outlines, no grain,
   no heavy shadow — just a quiet champagne-to-brass gradient with the light sweep that turns with it. ---------- */
html.pv-big .p3 { transform: rotateZ(var(--pa, 0deg)); }
html.pv-big .p3-edge { display: none; }
html.pv-big .areas-dark .p3-face { filter: brightness(var(--pb, 1)) drop-shadow(0 1px 1px rgba(60,45,10,.10)); }
html.pv-big .p3-face use { display: none; }
html.pv-big .p3-face rect[filter] { filter: none; }
html.pv-big .p3-sweep { opacity: .55; }
html.pv-big #plusGold stop:nth-of-type(1) { stop-color: #EDDFB4; }
html.pv-big #plusGold stop:nth-of-type(2) { stop-color: #CFAE63; }
html.pv-big #plusGold stop:nth-of-type(3) { stop-color: #A4843F; }
/* Brand champagne gold (the "and made possible." gold): nav numbers and the Book a Call button */
.nav-n { color: var(--champagne); }
.hero-breathe h1.hero-lead em { color: var(--champagne); }
.nav-links a.btn-primary, .site-header .nav-links a.btn-primary { background: var(--champagne); border-color: var(--champagne); color: #14120E; }
.nav-links a.btn-primary:hover, .site-header .nav-links a.btn-primary:hover { background: var(--champagne-hover); border-color: var(--champagne-hover); color: #14120E; }
.meet .meet-role { font-weight: 700; }   /* "Principal & Owner" a step bolder */
/* Discipline list arrow: shows pointing diagonally when the row is hovered; turns to point right only when the circle itself is hovered */
@media (hover: hover) {
  .as-row a:hover .sc-arrow { transform: none; }
  .as-row a .sc-ring:hover .sc-arrow { transform: rotate(45deg); }
}
/* Meet Ariane credentials: a fuller weight and navy ink so they hold their own beside the name and quote */
html.pv-big .meet ul.meet-cred li { font-weight: 500; font-size: clamp(1rem, 1.15vw, 1.12rem); color: var(--navy-dark); letter-spacing: .01em; padding: 4px 0; }
/* Meet Ariane: "Ariane Bibas" in the same bold as "I'm the one"; "Principal & Owner" much larger */
.meet .meet-name { font-weight: 700; }
.meet .meet-role { font-size: clamp(1.7rem, 2.5vw, 2.4rem); margin-bottom: 2px; }

/* ---------- Overview band, flipped: navy ombre background (deep navy at the left warming to a lighter blue at the right,
   still sliding slowly with the scroll), names in white, numbers, icons and subtext in champagne gold.
   The hover card becomes a soft frosted pane instead of a white card. */
html.pv-big .areas-dark { background: linear-gradient(100deg, #061527 0%, #081B33 26%, #0F294E 56%, #1E4066 82%, #2C5B9E 100%); background-size: 170% 100%; background-position: var(--gx) 50%; color: #fff; }
html.pv-big .areas-dark .as-row .as-name { color: #FFFFFF; }
html.pv-big .areas-dark .as-row .as-num { color: var(--champagne); }
html.pv-big .areas-dark .as-row .as-ico { color: var(--champagne); }
html.pv-big .areas-dark .as-row .as-desc { color: var(--champagne); }
html.pv-big .areas-dark .as-row .sc-ring { border-color: rgba(255,255,255,.5); color: #FFFFFF; }
@media (hover: hover) {
  html.pv-big .areas-dark .as-row a:hover, html.pv-big .areas-dark .as-row a:focus-visible { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(228,206,159,.28), 0 18px 44px rgba(0,0,0,.22); }
  html.pv-big .areas-dark .as-row a:hover .as-name, html.pv-big .areas-dark .as-row a:focus-visible .as-name { color: #FFFFFF; }
  html.pv-big .areas-dark .as-row a:hover .sc-ring { background: rgba(228,206,159,.16); }
  html.pv-big .areas-dark .as-row a:hover .as-ico { color: var(--champagne); }
}
html.pv-big .areas-dark .p3-face { filter: brightness(var(--pb, 1)) drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

/* ---------- Meet Ariane v3: balanced on the Manteca pattern — no logo, smaller top, lighter curlier quote ---------- */
@media (min-width: 981px) {
  .meet .meet-mark { display: none; }
  .meet .meet-head { display: block; max-width: 720px; }
  .meet .meet-head > div { display: block; }
  .meet .meet-name { font-weight: 500; font-size: clamp(2.2rem, 3.4vw, 3.3rem); letter-spacing: -.01em; margin-bottom: 10px; white-space: nowrap; }
  .meet .meet-role { font-family: var(--label-font); font-style: normal; font-weight: 500; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-dark); gap: 14px; margin: 0 0 14px; }
  .meet .meet-rule { width: 48px; height: 1px; background: var(--brass); }
  html.pv-big .meet ul.meet-cred { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .55em; row-gap: 2px; }
  html.pv-big .meet ul.meet-cred li { font-weight: 400; font-size: .98rem; color: var(--ink-soft); letter-spacing: .005em; padding: 0; }
  html.pv-big .meet ul.meet-cred li:not(:last-child)::after { content: "\00B7"; margin-left: .55em; color: var(--brass); }
  .meet-pin .meet-quote { margin-top: clamp(40px, 7vh, 72px); max-width: 760px; }
  .meet-pin .meet .mq-open { font-weight: 500; font-size: clamp(3.2rem, 6vw, 6rem); line-height: .95; letter-spacing: -.01em; }
  .meet-pin .meet .mq-body { font-weight: 400; font-size: clamp(1.5rem, 2.35vw, 2.4rem); line-height: 1.22; margin: 18px 0 0 clamp(60px, 6.5vw, 120px); max-width: 24ch; color: var(--navy-dark); }
}


/* ---------- Scroll zoom: photos in the tour panels and story cards grow gently as they pass through the screen ---------- */
.tour-shot img, .story img { transform: scale(var(--z, 1)); transform-origin: center center; will-change: transform; }
.story { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .tour-shot img, .story img { transform: none; } }
.tour-shot#t-web img { transform-origin: 80% 100%; }   /* bus stop: zoom grows upward so the curb and road stay in view */

/* ---------- Discipline dial v2: one continuous band of polished gold, the four names engraved on it, a single medallion ---------- */
.as-dial { position: relative; }
.as-dial::before { content: ""; position: absolute; inset: 9.4%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #173A68 0%, #0C2547 58%, #061527 100%); box-shadow: inset 0 0 36px rgba(0,0,0,.55); }
.as-dial::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 16px 40px rgba(0,0,0,.5); z-index: -1; }
.as-dial .d-ring, .as-dial .d-core { position: absolute; border-radius: 50%; pointer-events: none; }
.as-dial .d-ring { inset: 0;
  background:
    radial-gradient(circle closest-side, rgba(0,0,0,0) 81.2%, rgba(40,25,5,.55) 82.2%, rgba(0,0,0,0) 86%, rgba(255,255,255,0) 94.6%, rgba(250, 250, 250,.32) 97.2%, rgba(40,25,5,.5) 99%, rgba(0,0,0,0) 99.6%),
    conic-gradient(from 18deg, #7B5B1E 0deg, #C9A45A 28deg, #F6E6BC 52deg, #D8B66C 78deg, #8B6926 118deg, #B9933F 158deg, #F2E0AF 188deg, #C5A155 214deg, #7B5B1E 252deg, #AA8531 288deg, #E8D191 324deg, #7B5B1E 360deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 81.6%, #000 82.2%, #000 99.2%, transparent 99.7%); mask: radial-gradient(circle closest-side, transparent 81.6%, #000 82.2%, #000 99.2%, transparent 99.7%); }
.as-dial .d-core { left: 30%; top: 30%; width: 40%; height: 40%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 52%),
    conic-gradient(from 210deg, #8B6926 0deg, #D8B66C 40deg, #F6E6BC 70deg, #C9A45A 110deg, #7B5B1E 160deg, #B9933F 200deg, #F2E0AF 240deg, #C5A155 280deg, #8B6926 320deg, #8B6926 360deg);
  box-shadow: 0 6px 16px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,242,205,.45), inset 0 -3px 8px rgba(70,48,8,.45); }
.as-dial .ab-dial { position: relative; z-index: 1; }
.ab-dial .d-label { font-family: "Jost", "Futura", sans-serif; font-size: 13.4px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; fill: #2A1C05; fill-opacity: .66; dominant-baseline: central; transition: fill-opacity .8s ease; }
.ab-dial .d-n { font-weight: 500; letter-spacing: 1.5px; }
.ab-dial .d-seg { filter: none; }
.ab-dial .d-seg.on .d-label { fill-opacity: 1; }
.ab-dial .d-logo-main { color: #1A1206; }
.ab-dial .d-pointer path { filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }

/* ---------- Gold AB dial film behind the four-discipline band (Grok Imagine render of Ariane's dial, Cartier-style light
   sweep, played forward then back so it loops without a jump). The dial sits to the right; a navy wash on the left keeps
   the white names crisp; the list rides on the left over the darker side. */
html.pv-big .areas-dark { position: relative; overflow: hidden; isolation: isolate; background: #050B16; }
.as-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2;
  transform: translateX(18%) scale(1.12); }
html.pv-big .areas-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,11,22,.92) 0%, rgba(5,11,22,.78) 34%, rgba(5,11,22,.25) 62%, rgba(5,11,22,0) 80%),
              linear-gradient(180deg, rgba(5,11,22,.55) 0%, rgba(5,11,22,0) 22%, rgba(5,11,22,0) 78%, rgba(5,11,22,.6) 100%); }
@media (min-width: 981px) {
  html.pv-big .areas-dark .as-row a { grid-template-columns: 0 auto auto auto auto auto auto minmax(0, 1fr); }
  html.pv-big .areas-dark .as-row .as-name { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
  html.pv-big .areas-dark .as-row a:hover, html.pv-big .areas-dark .as-row a:focus-visible { background: rgba(5,11,22,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}
@media (max-width: 980px) {
  .as-bg { transform: none; object-position: 62% 50%; opacity: .55; }
  html.pv-big .areas-dark::before { background: linear-gradient(180deg, rgba(5,11,22,.7), rgba(5,11,22,.55)); }
}
@media (min-width: 981px) {
  html.pv-big .areas-dark { min-height: 100svh; display: flex; align-items: center; }
  html.pv-big .areas-dark > .wrap { width: 100%; }
  .as-bg { transform: translateX(14%); }
}
@media (min-width: 981px) { .as-bg { transform: none; object-position: 0% 50%; } }   /* dial nudged right by the framing, no edge */

/* ---------- Discipline list: the sub-brand marks (ab design, ab finance, ab real estate, ab branding) in place of the line icons ---------- */
html.pv-big .areas-dark .as-ico { width: calc(var(--nm) * 1.08); margin-right: 2px; color: #E4CE9F; }
html.pv-big .areas-dark .as-ico svg { display: block; width: 100%; height: auto; overflow: visible; stroke: none; }
/* Marks and descriptions read at a glance (Ariane, Oct 26): each sub-brand mark stands a little taller than the name,
   and the description on the right grows to a readable size in a slightly wider column */
@media (min-width: 981px) {
  html.pv-big .areas-dark .as-row .as-ico { width: calc(var(--nm) * 1.25); margin-right: 14px; }
  html.pv-big .areas-dark .as-row .as-ico svg { width: 100%; height: calc(var(--nm) * 1.25); filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
  html.pv-big .areas-dark .as-row .as-desc { width: 24ch; margin-left: 22px; font-size: clamp(1.15rem, 1.5vw, 1.6rem); line-height: 1.3; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
}

/* ---------- Path cards v2: a photo across the top of each card, and the cards hover over the ground in perspective ---------- */
.path-steps .path-step.fc { position: relative; perspective: 1500px; overflow: visible; }
.path-steps .path-step.fc::before { content: ""; position: absolute; left: 7%; right: 7%; bottom: -38px; height: 44px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,0) 72%); filter: blur(7px);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s; pointer-events: none; }
.fc-in { min-height: 500px; transform: rotateX(7deg); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.fc.is-flipped .fc-in { transform: rotateX(7deg) rotateY(180deg); }
@media (hover: hover) {
  .fc:hover .fc-in { transform: rotateX(3deg) translateY(-14px); }
  .fc.is-flipped:hover .fc-in { transform: rotateX(3deg) translateY(-14px) rotateY(180deg); }
  .fc:hover::before { transform: scaleX(.9); opacity: .65; }
}
.fc-face { border: 0; border-radius: 16px; overflow: hidden;
  box-shadow: 0 34px 50px -22px rgba(0,0,0,.7), 0 10px 22px -10px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.6); }
.fc-front { padding: 0; }
.fc-photo { display: block; position: relative; flex: 0 0 auto; height: 52%; min-height: 220px; overflow: hidden; }
.fc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.fc:hover .fc-photo img { transform: scale(1.05); }
.fc-front .fc-label { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; padding: 22px 28px 0; }
.fc-front .fc-n { font-size: 1.7rem; }
.fc-front .fc-name { font-size: .92rem; letter-spacing: .16em; }
.fc-front .fc-role { flex-basis: 100%; }
.fc-front .fc-verb { margin: auto 28px 26px; padding: 16px 64px 0 0; font-size: clamp(2.2rem, 2.8vw, 3rem); }
.fc-front .fc-btn { top: auto; bottom: 22px; right: 22px; }
.fc-back { padding: 30px 28px 28px; }
@keyframes fc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.path-steps .path-step.fc { animation: fc-float 6.5s ease-in-out infinite; }
.path-steps .path-step.fc:nth-child(3) { animation-delay: -1.6s; }
.path-steps .path-step.fc:nth-child(4) { animation-delay: -3.2s; }
.path-steps .path-step.fc:nth-child(5) { animation-delay: -4.8s; }
@media (max-width: 1100px) { .fc-in { min-height: 440px; } }
@media (max-width: 640px) { .fc-in { min-height: 420px; } .fc-photo { height: 48%; min-height: 180px; } }
@media (prefers-reduced-motion: reduce) { .path-steps .path-step.fc { animation: none; } .fc-in, .fc.is-flipped .fc-in { transform: none; } .fc.is-flipped .fc-in { transform: rotateY(180deg); } }
.path-steps .path-step.fc:nth-child(5) .fc-front .fc-verb { font-size: clamp(1.8rem, 2.1vw, 2.3rem); }
.path-steps .path-step.fc:nth-child(2) .fc-photo img { transform: scale(1.18); }
.path-steps .path-step.fc:nth-child(2):hover .fc-photo img { transform: scale(1.24); }
/* Choreography for the list over the film: as each row rises in, a warm gold light blooms on its name and settles, one row after another */
@keyframes asGlow { 0% { text-shadow: 0 0 0 rgba(243,221,166,0); } 40% { text-shadow: 0 0 26px rgba(243,221,166,.85), 0 0 6px rgba(243,221,166,.6); } 100% { text-shadow: 0 2px 18px rgba(0,0,0,.55); } }
html.pv-big .areas-dark .as-row.reveal.visible .as-name { animation: asGlow 2.4s ease-out both; }
html.pv-big .areas-dark .as-row.reveal.visible:nth-child(2) .as-name { animation-delay: .35s; }
html.pv-big .areas-dark .as-row.reveal.visible:nth-child(3) .as-name { animation-delay: .7s; }
html.pv-big .areas-dark .as-row.reveal.visible:nth-child(4) .as-name { animation-delay: 1.05s; }
@media (prefers-reduced-motion: reduce) { html.pv-big .areas-dark .as-row.reveal.visible .as-name { animation: none; } }
/* Park City plan on the Plan card, cropped to the rooms; each card carries its discipline mark */
.path-steps .path-step.fc:nth-child(2) .fc-photo img { object-position: 46% 54%; transform: scale(1.6); }
.path-steps .path-step.fc:nth-child(2):hover .fc-photo img { transform: scale(1.66); }
.fc-front { --ph: clamp(200px, 23vw, 260px); }
.fc-photo { height: var(--ph); min-height: 0; }
.fc-front .fc-marks { position: absolute; right: 20px; top: calc(var(--ph) - 30px); display: flex; gap: 8px; margin: 0; color: var(--brass-dark); }
.fc-front .fc-marks svg { display: block; width: 60px; height: 60px; padding: 5px; box-sizing: border-box; background: #FFFFFF; border-radius: 50%; overflow: visible; box-shadow: 0 8px 18px rgba(0,0,0,.28); }
.fc-front .fc-label { padding-right: 84px; }
.path-steps .path-step.fc:nth-child(5) .fc-front .fc-marks svg { width: 54px; height: 54px; }
.path-steps .path-step.fc:nth-child(5) .fc-front .fc-label { padding-right: 120px; }

/* ---------- Path cards v3: still (no float, no tilt), bigger marks, the rule and the big word on one line across all four ---------- */
.path-steps .path-step.fc { animation: none; perspective: none; }
.path-steps .path-step.fc::before { content: none; }
.fc-in { transform: none; }
.fc.is-flipped .fc-in { transform: rotateY(180deg); }
@media (hover: hover) {
  .fc:hover .fc-in { transform: translateY(-8px); }
  .fc.is-flipped:hover .fc-in { transform: translateY(-8px) rotateY(180deg); }
}
.fc-face { box-shadow: 0 22px 40px -18px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.18); }
.fc-front .fc-marks { right: 18px; top: calc(var(--ph) - 46px); }
.fc-front .fc-marks svg { width: 92px; height: 92px; padding: 7px; }
.path-steps .path-step.fc:nth-child(5) .fc-front .fc-marks svg { width: 92px; height: 92px; }
.fc-front .fc-label { padding-right: 112px; }
.path-steps .path-step.fc:nth-child(5) .fc-front .fc-label { padding-right: 112px; }
/* the big word gets the same two-line box on every card, so its rule and its baseline line up across the row */
.fc-front .fc-verb { display: flex; align-items: flex-end; height: calc(2em + 16px); box-sizing: border-box; margin: auto 28px 26px; padding: 16px 64px 0 0; font-size: clamp(2rem, 2.5vw, 2.7rem); line-height: 1; }
.path-steps .path-step.fc:nth-child(5) .fc-front .fc-verb { font-size: clamp(2rem, 2.5vw, 2.7rem); }
.fc-front .fc-btn { bottom: 24px; }

/* ---------- Landing hero is now the gold dial film (the gateway to the four disciplines); the dining room moved to
   the Design Studio panel. The film fills the hero; the existing hero shade keeps the headline crisp. The discipline
   band below returns to its navy gradient so the film is not shown twice. */
.hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
@media (max-width: 980px) { .hero-film video { position: absolute; inset: 0; height: 100%; object-position: 50% 50%; } }
html.pv-big .areas-dark { background: linear-gradient(100deg, #061527 0%, #081B33 26%, #0F294E 56%, #1E4066 82%, #2C5B9E 100%); background-size: 170% 100%; background-position: var(--gx) 50%; min-height: 0; }
html.pv-big .areas-dark::before { display: none; }
@media (min-width: 981px) { html.pv-big .areas-dark .as-row a { grid-template-columns: minmax(0, 1fr) auto auto auto auto auto auto minmax(0, 1fr); } }
/* Landing hero over the film: the logo sits to the left of the headline, with the 01-04 list beneath the headline,
   all grouped at the bottom so the film has the rest of the screen */
@media (min-width: 981px) {
  .hero-breathe .hero-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(24px, 2.6vw, 44px); align-items: center; }
  .hero-breathe .hero-inner > .hero-mark { grid-column: 1; grid-row: 1; width: auto; height: calc(min(clamp(3.2rem, 6.2vw, 6rem), 11.5vh) * 1.96); margin: 0; }
  .hero-breathe .hero-inner > h1.hero-lead { grid-column: 2; grid-row: 1; margin-bottom: 0; }
  .hero-breathe .hero-inner > .hero-sub { grid-column: 2; grid-row: 2; margin-top: 18px; }
}
@media (min-width: 981px) { .hero-breathe .hero-inner > .hero-sub .hs-list { font-size: clamp(.9rem, 1.1vw, 1.08rem); letter-spacing: .15em; } }   /* list clears the Ask a Question button */
@media (min-width: 981px) and (max-width: 1200px) { .hero-breathe .hero-inner > .hero-sub .hs-list { max-width: 30em; } }   /* narrow laptops: two rows, clear of the button */
/* card photos fade into the white of the card, like the Meet Ariane portrait, instead of a hard edge */
.fc-photo { overflow: visible; }
.fc-photo img { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 80%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 80%, rgba(0,0,0,0) 100%); }

/* ---------- Discipline band: a blueprint elevation of Ariane's Park City, Utah residence (Grok Imagine, from the
   project photo) sits behind the list in fine champagne line work, and draws itself in from left to right as the
   band arrives. */
html.pv-big .areas-dark { position: relative; isolation: isolate; overflow: hidden; }
.as-blueprint { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(../images/02-homepage/park-city-blueprint.jpg) 78% 50% / cover no-repeat; mix-blend-mode: screen; opacity: .6;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 55%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 3.2s cubic-bezier(.45,0,.2,1), mask-position 3.2s cubic-bezier(.45,0,.2,1); }
.as-blueprint.is-drawn { -webkit-mask-position: 0 0; mask-position: 0 0; }
@media (max-width: 980px) { .as-blueprint { background-position: 70% 50%; opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .as-blueprint { transition: none; -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* ---------- Discipline band v3: darker navy ombre; the Park City elevation is now traced line work that draws itself
   in, left to right, across the whole band; lines kept faint so the four names stay in front ---------- */
html.pv-big .areas-dark { background: linear-gradient(100deg, #03080F 0%, #061324 28%, #0A1E3B 58%, #0F2C55 84%, #153A6E 100%); background-size: 170% 100%; background-position: var(--gx) 50%; }
.as-blueprint { background: none; mix-blend-mode: normal; opacity: 1; -webkit-mask-image: none; mask-image: none; transition: none;
  display: flex; align-items: center; justify-content: center; padding: 2% 0; }
.as-blueprint .bp-draw { width: 104%; height: 100%; max-width: none; opacity: .4; }
.as-blueprint .bp-draw path { fill: none; stroke: #D9BE7C; stroke-width: 1.15; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1) var(--d, 0s); }
.as-blueprint.is-drawn .bp-draw path { stroke-dashoffset: 0; }
@media (max-width: 980px) { .as-blueprint .bp-draw { width: 160%; opacity: .32; } }
@media (prefers-reduced-motion: reduce) { .as-blueprint .bp-draw path { transition: none; stroke-dashoffset: 0; } }

/* ---------- Tour v3: wider, shorter photos that fade into the cream like the Meet portrait; smaller text; each
   photo drifts with the scroll and zooms in slowly once seen, as the old hero did ---------- */
@media (min-width: 861px) {
  html.pv-big .tour { --h: calc(80svh - var(--hdr)); }
  html.pv-big .tour-shots { width: 70%; }
  html.pv-big .tour-panel { width: 38%; background: transparent; }
  html.pv-big .tour-shot { background: transparent;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 64%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(90deg, #000 0%, #000 64%, rgba(0,0,0,0) 100%); }
  html.pv-big .tour-shot img, html.pv-big .tour-shot video { top: -8%; height: 116%; translate: 0 var(--py, 0px); transform: none; will-change: translate, scale; }
  html.pv-big .tour-shot.is-seen img { animation: hero-zoom 20s ease-out forwards; }
  html.pv-big .tour-shot#t-web img { transform-origin: 80% 100%; }
  html.pv-big .tour-info { max-width: 480px; left: clamp(28px, 4vw, 64px); right: clamp(20px, 3vw, 56px); }
  html.pv-big .ti-k { font-size: .76rem; margin-bottom: 10px; }
  html.pv-big .ti-h { font-size: clamp(1.6rem, 2.2vw, 2.3rem); line-height: 1.08; }
  html.pv-big .ti-p { font-size: .98rem; line-height: 1.55; margin-top: 12px; }
  html.pv-big .ti-links { margin-top: clamp(14px, 2.4vh, 22px); }
  html.pv-big .ti-links a { font-size: .92rem; min-height: clamp(34px, 4.4vh, 42px); gap: 12px; }
  html.pv-big .ti-cta { margin-top: clamp(6px, 1.6vh, 14px); padding-top: 10px; padding-bottom: 10px; }
  html.pv-big .ti-cta .sc-label { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { html.pv-big .tour-shot.is-seen img { animation: none; } html.pv-big .tour-shot img, html.pv-big .tour-shot video { translate: none; } }

/* ---------- Discipline band v4: the elevation as a refined light-grey line drawing (the clean CAD lines, not a trace),
   revealed left to right as the band arrives ---------- */
.as-blueprint { display: block; padding: 0; background: url(../images/02-homepage/park-city-elevation-lines.png) 50% 50% / 104% auto no-repeat; opacity: .45;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 55%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 3.4s cubic-bezier(.45,0,.2,1), mask-position 3.4s cubic-bezier(.45,0,.2,1); }
.as-blueprint.is-drawn { -webkit-mask-position: 0 0; mask-position: 0 0; }
@media (max-width: 980px) { .as-blueprint { background-size: 170% auto; opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .as-blueprint { transition: none; -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* ---------- Meet Ariane: the longer quote sized to fit the pinned screen ---------- */
@media (min-width: 981px) {
  .meet-pin .meet-inner { padding-top: calc(var(--hdr, 60px) + 2vh); padding-bottom: 2vh; }
  .meet-pin .meet .mq-open { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
  .meet-pin .meet .mq-body { font-size: clamp(1.15rem, 1.7vw, 1.75rem); line-height: 1.26; max-width: 30ch; margin: 12px 0 0 clamp(40px, 5vw, 90px); }
  .meet-pin .meet-quote { margin-top: clamp(20px, 3.5vh, 40px); }
  .meet-pin .meet-lic { margin-top: clamp(14px, 2.5vh, 28px); }
}
@media (min-width: 981px) and (max-height: 800px) {
  .meet-pin .meet .mq-open { font-size: clamp(2.2rem, 3.8vw, 3.6rem); }
  .meet-pin .meet .mq-body { font-size: clamp(1.05rem, 1.5vw, 1.5rem); }
  .meet-pin .meet-quote { margin-top: 16px; }
}

/* ---------- Tour v4: the photo runs the full width, anchored on the right, and fades on its left into the cream of
   the page; the number, the name and the write-up all sit on the left, stacked. Cream (not navy) so the section
   breaks cleanly from the dark band above instead of bleeding into it. ---------- */
@media (min-width: 861px) {
  html.pv-big .tour { --h: calc(100svh - var(--hdr)); --tx: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); background: var(--bg); }
  html.pv-big .tour-shots { width: 100%; }
  html.pv-big .tour-shot { background: transparent; -webkit-mask-image: none; mask-image: none; }
  html.pv-big .tour-shot img, html.pv-big .tour-shot video { object-position: 100% 50%; transform-origin: 100% 50%;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,.55) 42%, #000 58%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,.55) 42%, #000 58%); }
  html.pv-big .tour-shot#t-web img { object-position: 100% 100%; transform-origin: 100% 100%; }
  html.pv-big .tour-shot::after { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, #000 60%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, #000 60%); }
  html.pv-big .ts-name { color: var(--navy-dark); text-shadow: none; padding-left: var(--tx); }
  html.pv-big .ts-name small { color: var(--brass); }
  html.pv-big .tour-panel { left: 0; right: auto; width: 52%; background: transparent; }
  html.pv-big .tour-info { top: calc(clamp(24px, 5vh, 52px) * 2 + clamp(3.4rem, 6.2vw, 7.2rem) * 1.6 + 12px); left: var(--tx); right: auto; width: min(470px, 40vw); max-width: none; transform: translateY(18px); }
  html.pv-big .tour-info[data-on] { transform: none; }
}
@media (min-width: 861px) {
  /* clean cream on the left: the photo only starts past the write-up */
  html.pv-big .tour-shot img, html.pv-big .tour-shot video {
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,.5) 54%, #000 66%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,.5) 54%, #000 66%); }
  html.pv-big .tour-shot::after { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 46%, #000 68%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 46%, #000 68%); }
  /* the number and name live in the fixed layer with the write-up, crossfading in place, not scrolling through it */
  html.pv-big .ts-name { display: none; }
  html.pv-big .tour-titles { display: block; top: clamp(24px, 5vh, 52px); bottom: auto; left: 0; width: 52%; height: 1.4em; font-size: clamp(3.4rem, 6.2vw, 7.2rem); pointer-events: none; }
  html.pv-big .tour-title { left: var(--tx); right: auto; top: 0; bottom: auto; color: var(--navy-dark); text-shadow: none; white-space: nowrap; }
  html.pv-big .tour-title small { color: var(--brass); font-weight: 500; font-size: .5em; letter-spacing: .08em; margin-bottom: .04em; }
  html.pv-big .tour-info { top: calc(clamp(24px, 5vh, 52px) + clamp(3.4rem, 6.2vw, 7.2rem) * 1.4 + 18px); }
}

/* ---------- Landing: the 01-04 line links to the four pages; the logo spans the headline and that line together ---------- */
.hero-breathe .hs-list a.dp { color: inherit; text-decoration: none; transition: color .25s ease; }
.hero-breathe .hs-list a.dp:hover, .hero-breathe .hs-list a.dp:focus-visible { color: var(--champagne); }
.hero-breathe .hs-list a.dp:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }
@media (min-width: 981px) {
  .hero-breathe .hero-inner > .hero-mark { grid-row: 1 / 3; align-self: start; height: var(--mark-h, calc(min(clamp(3.2rem, 6.2vw, 6rem), 11.5vh) * 1.96)); width: auto; }
}
@media (min-width: 981px) {
  /* room for the full-height logo beside a two-line headline: the hero block may run wider than the page column */
  .hero-breathe .hero-inner { width: calc(100vw - max(24px, (100vw - var(--maxw)) / 2 + 24px) - 24px); max-width: none; }
}
.path-steps .fc-back { cursor: pointer; }   /* the whole back turns the card over */

/* ---------- Tour v5: every photo shown whole, at its own shape, in the right-hand column; the write-up holds still
   on the left, centred on the photo beside it. Number and name said once ("01 Design Studio"). No masks, no crops. ---------- */
.tour5 .ti-name { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.4rem, 3.4vw, 3.4rem); line-height: 1.05; color: var(--navy-dark); }
.tour5 .ti-num { display: inline-block; margin-right: .4em; vertical-align: .9em; font-family: var(--label-font); font-style: normal; font-weight: 500; font-size: .32em; letter-spacing: .12em; color: var(--brass); }
.tour5 .ti-role { margin: 10px 0 0; font-family: var(--label-font); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.tour5 .ti-role .reg { font-size: .7em; vertical-align: super; }
html.pv-big .tour5 .ti-h { margin-top: 20px; font-size: clamp(1.5rem, 1.9vw, 1.9rem); font-weight: 500; line-height: 1.15; }
html.pv-big .tour5 .ti-p { display: block; max-width: 38ch; margin-top: 14px; font-size: 1rem; line-height: 1.6; }
html.pv-big .tour5 .ti-links { margin-top: 24px; }
html.pv-big .tour5 .ti-links a { min-height: 38px; font-size: .95rem; }
html.pv-big .tour5 .ti-lic { margin-top: 14px; font-size: .8rem; }
html.pv-big .tour5 .ti-cta { margin-top: 18px; padding-top: 8px; padding-bottom: 8px; }
.tour5 .tour-shot::after { display: none; }
html.pv-big .tour5 .tour-shot img, html.pv-big .tour5 .tour-shot video {
  position: static; inset: auto; display: block; width: 100%; height: auto; object-fit: contain;
  -webkit-mask-image: none; mask-image: none; transform: none; translate: none; animation: none; will-change: auto; }
@media (min-width: 861px) {
  html.pv-big .tour5 { --tx: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(40px, 5vw, 96px);
    padding: 0 var(--tx); background: var(--bg); }
  html.pv-big .tour5 .tour-stage { grid-column: 1; grid-row: 1; align-self: start; position: sticky; top: var(--hdr); height: var(--h); pointer-events: auto; z-index: 1; }
  html.pv-big .tour5 .tour-panel { position: relative; inset: auto; width: 100%; height: 100%; background: transparent; }
  html.pv-big .tour5 .tour-info { top: 50%; left: 0; right: 0; width: auto; max-width: none; transform: translateY(calc(-50% + 18px)); }
  html.pv-big .tour5 .tour-info[data-on] { transform: translateY(-50%); }
  html.pv-big .tour5 .tour-shots { grid-column: 2; grid-row: 1; margin: 0; width: auto; }
  html.pv-big .tour5 .tour-shot { height: auto; min-height: var(--h); display: flex; align-items: center; justify-content: center;
    overflow: visible; background: transparent; -webkit-mask-image: none; mask-image: none; }
  html.pv-big .tour5 .tour-shot img, html.pv-big .tour5 .tour-shot video { width: auto; max-width: 100%; max-height: calc(var(--h) - 2 * clamp(32px, 6vh, 64px)); }
}
@media (min-width: 861px) and (max-height: 820px) {
  html.pv-big .tour5 .ti-name { font-size: clamp(2.2rem, 3vw, 2.9rem); }
  html.pv-big .tour5 .ti-h { font-size: 1.45rem; margin-top: 14px; }
  html.pv-big .tour5 .ti-p { font-size: .94rem; }
  html.pv-big .tour5 .ti-links { margin-top: 18px; }
  html.pv-big .tour5 .ti-links a { min-height: 32px; }
}
@media (max-width: 860px) {
  html.pv-big .tour5 .tour-shot { height: auto; min-height: 0; background: transparent; overflow: visible; }
  html.pv-big .tour5 .tour-shot:not([data-i="0"]) { margin-top: 24px; border-top: 1px solid rgba(21,48,79,.14); padding-top: 48px; }
  html.pv-big .tour5 .tour-info { padding: 20px 24px 24px; }
  html.pv-big .tour5 .tour-shot img, html.pv-big .tour5 .tour-shot video { padding: 0 24px; box-sizing: border-box; }
  .tour5 .ti-name { font-size: 2.2rem; }
}
@media (min-width: 861px) {
  html.pv-big .tour5 { --tx: max(32px, calc((100vw - 1560px) / 2)); grid-template-columns: minmax(380px, 4fr) 7fr; column-gap: clamp(40px, 5vw, 88px); }
}
.tour5 .ti-num { font-size: .44em; letter-spacing: .1em; vertical-align: .7em; }
/* footer logo: no inherited link padding inside the round box, so the mark stays a true circle */
.footer-wordmark .fw-box { padding: 0; }
.path-steps .path-step.fc:nth-child(5) .fc-photo img { object-position: 50% 22%; }   /* phone close-up: keep the whole phone in frame when the card is wide */

/* ---------- Tour v6: full bleed, like the hero. Each photo edge to edge and full height, slow zoom and drift;
   the number and name set huge in white over the picture, the write-up in white and champagne on a dark gradient. ---------- */
@media (min-width: 861px) {
  html.pv-big .tour5 { display: block; padding: 0; background: #0E1A2B; }
  html.pv-big .tour5 .tour-stage { position: sticky; top: var(--hdr); height: var(--h); width: 100%; z-index: 2; pointer-events: none; }
  html.pv-big .tour5 .tour-panel { position: absolute; top: 0; bottom: 0; left: 0; width: 58%; height: auto; background: transparent; pointer-events: auto; }
  html.pv-big .tour5 .tour-info { left: var(--tx); right: auto; top: 50%; width: min(600px, 46vw); max-width: none; }
  html.pv-big .tour5 .tour-shots { display: block; margin-top: calc(-1 * var(--h)); width: 100%; }
  html.pv-big .tour5 .tour-shot { position: relative; height: var(--h); min-height: 0; display: block; overflow: clip; background: #0E1A2B; padding: 0; }
  html.pv-big .tour5 .tour-shot img, html.pv-big .tour5 .tour-shot video { position: absolute; inset: auto; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; max-height: none; padding: 0;
    object-fit: cover; object-position: 50% 50%; translate: 0 var(--py, 0px); transform-origin: 50% 50%; will-change: translate, scale; }
  html.pv-big .tour5 .tour-shot.is-seen img { animation: hero-zoom 20s ease-out forwards; }
  html.pv-big .tour5 .tour-shot#t-web img { object-position: 80% 100%; transform-origin: 80% 100%; }
  html.pv-big .tour5 .tour-shot::after { content: ""; display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(4,10,20,.86) 0%, rgba(4,10,20,.68) 34%, rgba(4,10,20,.24) 60%, rgba(4,10,20,0) 80%), linear-gradient(0deg, rgba(4,10,20,.55) 0%, rgba(4,10,20,0) 30%); }
  /* editorial type, white on the photo */
  html.pv-big .tour5 .ti-name { font-size: clamp(4rem, 7vw, 7.4rem); line-height: .95; letter-spacing: -.02em; color: #FFFFFF; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
  html.pv-big .tour5 .ti-num { display: block; margin: 0 0 .4em; vertical-align: baseline; font-size: .2em; letter-spacing: .3em; color: var(--champagne); }
  html.pv-big .tour5 .ti-role { color: var(--champagne); }
  html.pv-big .tour5 .ti-h { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); font-size: clamp(1.4rem, 1.8vw, 1.9rem); font-weight: 400; color: #FFFFFF; }
  html.pv-big .tour5 .ti-h em { color: var(--champagne); }
  html.pv-big .tour5 .ti-p { color: rgba(243,239,231,.86); max-width: 46ch; }
  html.pv-big .tour5 .ti-links { margin-top: 20px; border-top-color: rgba(255,255,255,.22); }
  html.pv-big .tour5 .ti-links li { border-bottom-color: rgba(255,255,255,.22); }
  html.pv-big .tour5 .ti-links a { color: #FFFFFF; }
  html.pv-big .tour5 .ti-links a::before { background: var(--champagne); }
  html.pv-big .tour5 .ti-links a::after { color: rgba(255,255,255,.5); }
  html.pv-big .tour5 .ti-links a:hover { color: var(--champagne); }
  html.pv-big .tour5 .ti-lic { color: rgba(243,239,231,.7); }
  html.pv-big .tour5 .ti-cta { color: #FFFFFF; }
  html.pv-big .tour5 .ti-cta .sc-ring { border-color: rgba(255,255,255,.6); }
  html.pv-big .tour5 .ti-cta:hover .sc-ring, html.pv-big .tour5 .ti-cta:focus-visible .sc-ring { border-color: #FFFFFF; }
}
@media (min-width: 861px) and (max-height: 780px) {
  html.pv-big .tour5 .ti-name { font-size: clamp(3rem, 5.4vw, 5.4rem); }
  html.pv-big .tour5 .ti-p { display: block; font-size: .92rem; max-width: 42ch; }
  html.pv-big .tour5 .ti-links a { min-height: 32px; }
}
@media (min-width: 861px) {
  html.pv-big .tour5 .tour-shot { isolation: isolate; }
  html.pv-big .tour5 .tour-shot img, html.pv-big .tour5 .tour-shot video { z-index: 0; }
  html.pv-big .tour5 .tour-shot::after { z-index: 1; }
  html.pv-big .tour5 .tour-info { left: max(40px, calc((100vw - var(--maxw)) / 2 + 24px)); }
}
@media (min-width: 861px) { html.pv-big .tour5 .tour-shot::after { -webkit-mask-image: none; mask-image: none; } }

/* ---------- Discipline band v5: the Park City elevation as a real blueprint sheet lying on a walnut table (Grok Imagine),
   photographed at an angle; a navy shade on the left keeps the four names crisp ---------- */
html.pv-big .areas-dark .as-blueprint {
  background: linear-gradient(90deg, rgba(4,12,26,.82) 0%, rgba(4,12,26,.6) 38%, rgba(4,12,26,.2) 70%, rgba(4,12,26,.35) 100%),
              url(../images/02-homepage/park-city-blueprint-table.jpg) 50% 50% / cover no-repeat;
  opacity: 0; -webkit-mask-image: none; mask-image: none; transition: opacity 1.6s ease; }
html.pv-big .areas-dark .as-blueprint.is-drawn { opacity: 1; }
@media (max-width: 980px) { html.pv-big .areas-dark .as-blueprint { background-size: auto, cover; background-position: 0 0, 50% 50%; opacity: 0; } html.pv-big .areas-dark .as-blueprint.is-drawn { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.pv-big .areas-dark .as-blueprint { opacity: 1; transition: none; } }

/* ---------- Footer links, modern hover (Ariane, Oct 26): no black box or outline. Text links turn champagne and a
   hairline underline glides in from the left; the big wordmark warms to gold with a soft glow; logos lift slightly. */
.site-footer a { padding: 0; margin: 0; border: 0; border-radius: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .3s ease, background-size .45s cubic-bezier(.2,.7,.2,1), transform .4s cubic-bezier(.2,.7,.2,1), text-shadow .4s ease; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--champagne); background-color: transparent; background-size: 100% 1px; border-color: transparent; }
.site-footer a:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }
.site-footer a:has(img), .site-footer a.btn, .site-footer a.submit-circle, .footer-wordmark a { background-image: none; }
.site-footer a:has(img):hover { transform: translateY(-2px); }
.footer-wordmark .fw-name { transition: color .5s ease, text-shadow .6s ease; }
.footer-wordmark .fw-name:hover { color: #F6E7C4; text-shadow: 0 0 28px rgba(228,206,159,.45); }
.footer-wordmark .fw-list a.dp { background: linear-gradient(var(--champagne), var(--champagne)) 0 100% / 0 1px no-repeat; padding-bottom: 3px; }
.footer-wordmark .fw-list a.dp:hover, .footer-wordmark .fw-list a.dp:focus-visible { background-size: 100% 1px; }

/* ---------- Breathers: a white pause between the full-screen scenes, one line and a call to action ---------- */
.breather { position: relative; z-index: 1; background: #FFFFFF; padding: clamp(64px, 11vh, 120px) 0; text-align: center; }
.br-inner { display: flex; flex-direction: column; align-items: center; }
.br-rule { display: block; width: 56px; height: 1px; background: var(--brass); margin-bottom: clamp(22px, 3.4vh, 32px); }
.br-line { margin: 0; max-width: 26ch; font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.15; color: var(--navy-dark); }
.br-line em { font-style: italic; color: var(--brass); }
.breather .br-cta { margin-top: clamp(20px, 3vh, 30px); }
@media (max-width: 640px) { .breather { padding: 56px 0; } .br-line { font-size: 1.7rem; } }

/* Discipline band over the sunny studio photo: shade only behind the names, the light and the title block stay bright */
html.pv-big .areas-dark .as-blueprint {
  background: linear-gradient(90deg, rgba(6,16,34,.8) 0%, rgba(6,16,34,.62) 30%, rgba(6,16,34,.18) 55%, rgba(6,16,34,0) 72%),
              url(../images/02-homepage/park-city-blueprint-table.jpg?v=2) 50% 50% / cover no-repeat; }
@media (max-width: 980px) { html.pv-big .areas-dark .as-blueprint { background: linear-gradient(rgba(6,16,34,.62), rgba(6,16,34,.62)), url(../images/02-homepage/park-city-blueprint-table.jpg?v=2) 62% 50% / cover no-repeat; } }

/* ---------- Parallax on every picture (Oct 26): the picture is a touch larger than its frame and drifts by --py
   (set in js/home-preview.js) as it passes through the screen; `translate`/`scale` compose with the zooms ---------- */
html.pv-big .areas-dark .as-blueprint { translate: 0 var(--py, 0px); scale: 1.14; will-change: translate; }
html.pv-big .meet-bg img { translate: 0 var(--py, 0px); scale: 1.08; will-change: translate; }
html.pv-big .story img { translate: 0 var(--py, 0px); scale: 1.1; will-change: translate; }
html.pv-big .fc-photo img { translate: 0 var(--py, 0px); scale: 1.1; will-change: translate; }
html.pv-big .hero-film video { translate: 0 var(--py, 0px); scale: 1.06; will-change: translate; }
@media (prefers-reduced-motion: reduce) {
  html.pv-big .areas-dark .as-blueprint, html.pv-big .meet-bg img, html.pv-big .story img, html.pv-big .fc-photo img, html.pv-big .hero-film video { translate: none; scale: none; }
}

/* ---------- Tour: write-ups fade with their own photo (driven by scroll, see home-preview.js); a thin navy seam between photos ---------- */
@media (min-width: 861px) {
  html.pv-big .tour5 .tour-info, html.pv-big .tour5 .tour-info[data-on] { transition: none; }
  html.pv-big .tour5 .tour-shot + .tour-shot { margin-top: 18px; }
}

/* ---------- Site-wide fold (Oct 26): inner pages share the landing page's hero fold, labels, round-arrow calls to
   action and navy ombre bands. Scoped to body.pg-inner and the hero's .pg-hero class so nothing here touches
   preview.html. The hero markup is the landing hero's (.hero.hero-breathe + .hero-inner): photo fills the screen,
   the white coin sits left of a two-line headline (second line italic champagne), the page's own "01 Design/Build"
   kicker and a short tagline sit beneath, then one or two round-arrow links; the block is grouped at the bottom. */
.pg-hero .hero-inner { position: relative; z-index: 2; }
.pg-hero .hs-list .dn { color: var(--champagne); opacity: 1; }
.pg-hero .hs-list .reg { font-size: .6em; vertical-align: .55em; letter-spacing: 0; }
.pg-hero .hs-line { font-weight: 500; color: rgba(255,255,255,.92); max-width: 34ch; }
.pg-hero .hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 56px; margin-top: 10px; }
.pg-hero .hero-cta-row .hero-cta { margin-top: 0; }
.pg-hero .hero-cta-row .hero-cta .sc-ring { border-color: rgba(255,255,255,.55); }
.pg-hero .hero-cta-row .hero-cta:hover .sc-ring, .pg-hero .hero-cta-row .hero-cta:focus-visible .sc-ring { border-color: #FFFFFF; }
.pg-hero .hero-lic { margin-top: 14px; font-family: var(--label-font); font-size: .78rem; font-weight: 500; letter-spacing: .16em; line-height: 1.7; color: rgba(255,255,255,.78); }
@media (min-width: 981px) {
  .pg-hero .hero-inner > .hero-cta-row { grid-column: 2; grid-row: 3; }
  .pg-hero .hero-inner > .hero-lic { grid-column: 2; grid-row: 4; }
  .pg-hero h1.hero-lead { font-size: min(clamp(3rem, 5.6vw, 5.4rem), 10.5vh); }
  .pg-hero .hero-inner > .hero-mark { --mark-h: calc(min(clamp(3rem, 5.6vw, 5.4rem), 10.5vh) * 1.96); }
  .pg-hero .hero-inner > .hero-sub { margin-top: 14px; }
  .pg-hero .hero-inner { max-width: min(1180px, calc(100vw - 300px)); }   /* clear of the Ask a Question button */
  #design-hero.pg-hero h1.hero-lead { font-size: min(clamp(3rem, 5.6vw, 5.4rem), 10.5vh); }   /* overrides the old #design-hero title size */
}
@media (max-width: 980px) {
  #design-hero.pg-hero h1.hero-lead { font-size: 2.5rem; }
}
@media (max-width: 680px) {
  .pg-hero .hero-cta-row { margin: 22px 24px 0; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 36px; }
  .pg-hero .hero-lic { margin: 0 24px; padding-bottom: 32px; }
  .pg-hero .hero-lic + .hero-cta-row, .pg-hero .hero-cta-row:has(+ .hero-lic) { padding-bottom: 0; }
  .pg-hero .hero-sub .hs-line { font-size: 1.1rem; }
}

/* Labels and kickers: Jost, uppercase, wide tracking; brass on light, champagne on dark. */
.pg-inner .kicker, .pg-inner .section-head .kicker { font-family: var(--label-font); font-size: .8rem; font-weight: 500; letter-spacing: .22em; color: var(--brass-dark); }
.pg-inner :is(.bg-dark, .cta-dark, .analysis-banner) .kicker { color: var(--champagne); }
/* Section headlines: Cormorant 500, upright; the emphasised phrase italic 600 (brass on light, champagne on dark). */
.pg-inner .section h2.split-headline, .pg-inner .analysis-banner h2.split-headline { font-weight: 500; font-style: normal; letter-spacing: -.01em; }
.pg-inner .section h2.split-headline em, .pg-inner .analysis-banner h2.split-headline em { font-style: italic; font-weight: 600; }
/* Dark bands: the navy ombre, white names, champagne accents. */
.pg-inner .bg-dark, .pg-inner .cta-dark, .pg-inner .analysis-banner {
  background: linear-gradient(100deg, #061527 0%, #081B33 26%, #0F294E 56%, #1E4066 82%, #2C5B9E 100%); color: #F3EFE7; }
.pg-inner :is(.bg-dark, .cta-dark, .analysis-banner) h2.split-headline em { color: var(--champagne); }
/* Round-arrow links on light and on dark. */
.pg-inner .btn-row:has(.submit-circle) { gap: 8px 52px; align-items: center; }
.pg-inner .section .submit-circle { padding-top: 12px; padding-bottom: 12px; text-decoration: none; }
.pg-inner :is(.bg-dark, .cta-dark, .analysis-banner) .submit-circle { color: #FFFFFF; }
.pg-inner :is(.bg-dark, .cta-dark, .analysis-banner) .submit-circle .sc-ring { border-color: rgba(255,255,255,.55); }
.pg-inner :is(.bg-dark, .cta-dark, .analysis-banner) .submit-circle:hover .sc-ring,
.pg-inner :is(.bg-dark, .cta-dark, .analysis-banner) .submit-circle:focus-visible .sc-ring { border-color: #FFFFFF; }
.pg-inner :is(.bg-dark, .cta-dark, .analysis-banner) .submit-circle:focus-visible { outline-color: #FFFFFF; }
/* Content arrives whole with its section: no fade-in text. */
.pg-inner .reveal { opacity: 1; transform: none; transition: none; }
/* Meet-style introduction (the landing page's Meet Ariane header) where a page introduces her. */
.pg-inner .meet-head { display: block; max-width: none; }
.pg-inner .meet-name { font-weight: 500; font-size: clamp(2.2rem, 3.4vw, 3.3rem); letter-spacing: -.01em; margin: 0 0 10px; color: var(--navy-dark); }
.pg-inner .meet-name em { color: var(--brass); }
.pg-inner .meet-role { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-family: var(--label-font); font-style: normal; font-weight: 500; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-dark); }
.pg-inner .meet-role .meet-rule { width: 48px; height: 1px; background: var(--brass); }
@media (min-width: 861px) { html.pv-big .tour5 { background: #FFFFFF; } }   /* the seam between photos reads white, not navy */
/* Financing hero: the family at the door stays in frame; the kicker's dot sits lightly between number-name and role. */
#whoihelp-hero .hero-bg img { object-position: 62% 55%; }
.pg-hero .hs-list .dsep { margin: 0 .35em; opacity: .55; }
.pg-hero .hero-lic .hero-lic-title { display: inline; }
.pg-hero .hero-lic .hero-lic-title::after { content: "\00A0\00B7\00A0"; }
.pg-hero .hero-lic .lic-sep { display: inline; }

/* Real Estate hero film inside the landing-style hero: fills the frame like the photos do; the pause control sits
   top right, under the menu bar, clear of the words and of the Ask a Question button. */
.pg-hero .hero-bg > video { position: absolute; top: -6%; left: 0; width: 100%; height: 112%; object-fit: cover; }
.pg-hero > .hero-video-toggle { position: absolute; top: calc(var(--nav-h) + 18px); right: 24px; bottom: auto; left: auto; margin: 0; }
@media (max-width: 680px) {
  .pg-hero .hero-bg > video { top: -15%; height: 130%; }
  .pg-hero > .hero-video-toggle { top: calc(var(--nav-h) + 14px); right: 16px; }
}
.pg-hero .hero-lic .reg { font-size: .7em; vertical-align: .4em; letter-spacing: 0; }
/* Privacy Policy (a text page): title in the landing serif, brass italic second word, label kicker above. */
.pg-inner .privacy-wrap h1.split-headline { font-weight: 500; letter-spacing: -.01em; margin: 6px 0 8px; }
.pg-inner .privacy-wrap h1.split-headline em { font-style: italic; font-weight: 600; color: var(--brass); }
.pg-inner .privacy-wrap .kicker { margin-bottom: 10px; }
.pg-inner .privacy-wrap h2 { font-weight: 500; font-size: 1.6rem; }

/* ---------- Page heroes, all alike: the white coin beside one huge name, one kicker and one short line, round-arrow links ---------- */
.hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#web-hero.pg-hero { padding-top: 0; }
.pg-hero h1.hero-lead em { display: inline; }
@media (min-width: 981px) {
  .pg-hero h1.hero-lead, #design-hero.pg-hero h1.hero-lead { font-size: min(clamp(4rem, 8vw, 8.6rem), 15.5vh); line-height: .95; white-space: nowrap; }
  .pg-hero .hero-inner > .hero-mark { --mark-h: calc(min(clamp(4rem, 8vw, 8.6rem), 15.5vh) * .95 + 14px + 2.6em); }   /* fallback; main.js measures the exact block */
  .pg-hero .hero-inner > .hero-sub { margin-top: 12px; }
}
@media (max-width: 980px) { .pg-hero h1.hero-lead, #design-hero.pg-hero h1.hero-lead { font-size: clamp(2.8rem, 11vw, 4rem); line-height: 1; } }
.web-showcase { background: var(--dark); padding: 48px 0 56px; }
.web-showcase .device-scene { max-width: 900px; margin: 0 auto; }
/* page heroes with no line beneath the name: the coin matches the headline alone (fallback; main.js measures it) */
@media (min-width: 981px) { .pg-hero .hero-inner > .hero-mark { --mark-h: calc(min(clamp(4rem, 8vw, 8.6rem), 15.5vh) * .95); } .pg-hero .hero-inner > .hero-cta-row { margin-top: 26px; } }

/* ---------- Discipline band v7 (Ariane, Oct 26): the blueprint angles to the LEFT. The scene is mirrored and a freshly
   rendered sheet (crisp title block, ab logo, line drawing) is laid into it at double resolution, so it stays legible. ---------- */
html.pv-big .areas-dark .as-blueprint {
  background: linear-gradient(90deg, rgba(6,16,34,.8) 0%, rgba(6,16,34,.62) 30%, rgba(6,16,34,.18) 55%, rgba(6,16,34,0) 72%),
              url(../images/02-homepage/park-city-blueprint-left.jpg) 100% 40% / 140% auto no-repeat; }
@media (max-width: 980px) { html.pv-big .areas-dark .as-blueprint { background: linear-gradient(rgba(6,16,34,.62), rgba(6,16,34,.62)), url(../images/02-homepage/park-city-blueprint-left.jpg) 72% 50% / cover no-repeat; } }

/* Design/Build hero: the ab DESIGN coin spans the name and the links beneath it, like the landing logo spans its 01-04 line */
@media (min-width: 981px) {
  .pg-hero .hero-inner > .hero-mark[data-span="cta"] { grid-row: 1 / 3; align-self: start; --mark-h: calc(min(clamp(4rem, 8vw, 8.6rem), 15.5vh) * .95 + 26px + 84px); }
  .pg-hero .hero-inner > .hero-mark[data-span="cta"] ~ .hero-cta-row { grid-column: 2; grid-row: 2; }
}

/* ---------- QA pass (Oct 26) ---------- */
/* Menus open on hover and on keyboard focus as well as on click */
@media (min-width: 1101px) {
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
}
/* The round arrow turns only when the ring itself is hovered (or the link is focused), not on the label or a whole card */
.submit-circle:hover .sc-arrow, a:hover .sc-arrow, .as-row a:hover .sc-arrow { transform: none; }
.submit-circle .sc-ring:hover .sc-arrow, .sc-ring:hover .sc-arrow, .submit-circle:focus-visible .sc-arrow { transform: translateX(7px) rotate(45deg); }
.program:hover .learn.circle-link::after, a:hover .circle-link::after { transform: none; }
.circle-link:hover::after, .circle-link:focus-visible::after { transform: translate(1px, -1px); }
/* Licence line never splits "CA DRE #02225025" on phones */
.nowrap { white-space: nowrap; }
/* Inner-page heroes: a firmer navy shade under the headline band so white type reads on bright photos */
html.pv-big .pg-hero .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,11,22,.38) 0%, rgba(5,11,22,.04) 28%, rgba(5,11,22,.06) 48%, rgba(5,11,22,.62) 74%, rgba(5,11,22,.86) 100%); }
/* 404 page */
.nf { min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; background: var(--dark); color: var(--cream); padding: clamp(64px, 12vh, 140px) 0; }
.nf-inner { max-width: 820px; }
.nf-k { margin: 0 0 18px; font-family: var(--label-font); font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); }
.nf-k .dn { color: var(--champagne); opacity: 1; }
.nf-h { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1; color: #fff; }
.nf-h em { font-style: italic; color: var(--champagne); }
.nf-p { margin: 22px 0 0; max-width: 46ch; color: rgba(243,239,231,.84); }
.nf-list { margin: 28px 0 0; font-family: var(--label-font); font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; }
.nf-list a { color: #fff; text-decoration: none; } .nf-list a:hover { color: var(--champagne); } .nf-list .dn { color: var(--champagne); opacity: 1; } .nf-list .dsep { margin: 0 .5em; opacity: .6; }
.nf-cta { margin-top: 34px; color: #fff; } .nf-cta .sc-ring { border-color: rgba(255,255,255,.5); color: #fff; }
/* the ring must be hoverable in its own right for the arrow to turn on ring hover */
.submit-circle .sc-ring, .as-row .sc-ring, .circle-link { pointer-events: auto; }

/* ---------- Branding page: the "How It Works" steps are the same flip cards as the landing page.
   No discipline coin on these fronts, so the label needs no room for one; the Build photo is cropped to the laptop and phone. ---------- */
#process .fc-front .fc-label { padding-right: 0; }
#process .fc-photo img[src*="svc-web"] { object-position: center 18%; }
#process .fc-photo img[src*="web-sheet-portfolio"] { object-position: center top; }


/* ---------- Branding: the live phone, full bleed. The whole section is a warm room photo (a table in window light);
   a cream wash on the left keeps the copy readable, the phone stands over the table on the right, and a slow band of
   window light crosses the section. Swap the room by replacing the one image named below. ---------- */
.phone-live-section {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(64px, 10vh, 120px) 0;
  background:
    linear-gradient(90deg, rgba(242, 242, 242,.97) 0%, rgba(242, 242, 242,.9) 34%, rgba(242, 242, 242,.35) 58%, rgba(242, 242, 242,0) 78%),
    url("../images/04-brand-and-web/phone-scene-room.jpg") center 60% / cover no-repeat,
    #E7E7E7;
}
.phone-live-section .phone-stage {
  position: static; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px;
  max-width: 1120px; min-height: 0; margin: 0 auto; padding: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible;
}
.phone-live-section .phone-stage::before, .phone-live-section .phone-stage::after { content: none; }
.ps-light { position: absolute; top: -20%; bottom: -20%; left: -40%; width: 40%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(250, 250, 250,0) 0%, rgba(250, 250, 250,.38) 48%, rgba(250, 250, 250,0) 100%);
  transform: skewX(-14deg); animation: ps-light 12s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes ps-light { 0%, 22% { left: -50%; } 78%, 100% { left: 110%; } }
.ps-copy { position: relative; z-index: 1; max-width: 480px; }
.ps-copy .kicker { display: block; margin-bottom: 14px; }
.ps-copy h2 { margin: 0 0 20px; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.05; }
.ps-copy p { margin: 0 0 28px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }
.phone-live-section .phone-mock { position: relative; z-index: 1; justify-self: center;
  box-shadow: 0 0 0 1px #46464c, 0 60px 90px -20px rgba(40,26,8,.55), 0 14px 30px rgba(0,0,0,.28); }
@media (max-width: 980px) {
  .phone-live-section { background:
    linear-gradient(180deg, rgba(242, 242, 242,.96) 0%, rgba(242, 242, 242,.88) 42%, rgba(242, 242, 242,.2) 70%, rgba(242, 242, 242,0) 100%),
    url("../images/04-brand-and-web/phone-scene-room.jpg") 62% center / cover no-repeat, #E7E7E7; }
  .phone-live-section .phone-stage { grid-template-columns: 1fr; gap: 40px; padding: 0 8px; text-align: center; }
  .ps-copy { max-width: 560px; margin: 0 auto; }
  .ps-copy .circle-link { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .ps-light { animation: none; } }
.pm-screen.pm-live .pm-scroll { height: auto; }

/* Branding page: the SEO & AEO offer carries its own call to action */
.seo-x-cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.seo-x-cta .submit-circle, .seo-x-cta .circle-link { color: var(--cream); }

/* ---------- Real Estate: Selling section (Oct 27) ---------- */
.re-sell { background: var(--bg); }
.re-sell-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.re-sell-photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.re-sell-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.re-sell-k { margin: 0 0 14px; font-family: var(--label-font); font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.re-sell-k .dn { color: var(--brass); opacity: 1; }
.re-sell-text .split-headline { margin: 0; }
.re-sell-lede { margin: 18px 0 0; max-width: 46ch; color: var(--ink-soft); }
.re-sell-steps { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 1px solid rgba(21,48,79,.16); }
.re-sell-steps li { padding: 14px 0; border-bottom: 1px solid rgba(21,48,79,.16); color: var(--ink-soft); line-height: 1.5; }
.re-sell-steps .dn { color: var(--brass); opacity: 1; margin-right: .7em; }
.re-sell-steps strong { color: var(--navy-dark); font-weight: 600; margin-right: .3em; }
@media (max-width: 860px) { .re-sell-grid { grid-template-columns: 1fr; } .re-sell-photo { aspect-ratio: 3 / 2; } }

/* ---------- Financing page tidy (Oct 27): lighter, landing-style cards and tabs ---------- */
/* engagement steps: hairline rows instead of white boxes */
.pg-inner #engagement .path-step { background: transparent; border: 0; border-top: 1px solid rgba(21,48,79,.16); border-radius: 0; box-shadow: none; padding: 22px 0 6px; }
.pg-inner #engagement .path-step h3 { margin-top: 6px; }
.pg-inner #engagement .engagement-tracks > .card-link { margin-top: 6px; }
.engagement-cta { display: flex; justify-content: center; margin-top: clamp(32px, 5vh, 56px); }
/* story tabs: quiet text tabs with a gold underline, not boxed buttons */
.pg-inner .help-pills { gap: 6px 28px; border-bottom: 1px solid rgba(21,48,79,.14); padding-bottom: 0; }
.pg-inner .help-pill { background: none !important; border: 0 !important; border-radius: 0; box-shadow: none; color: var(--ink-soft) !important; padding: 10px 0 12px; font-family: var(--label-font); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid transparent !important; margin-bottom: -1px; }
.pg-inner .help-pill:hover { color: var(--navy-dark) !important; }
.pg-inner .help-pill.active { color: var(--navy-dark) !important; border-bottom-color: var(--brass) !important; }
/* loan option and story cards: hairline frames, no heavy white boxes */
.pg-inner .programs-grid .program, .pg-inner .help-panel .program { background: transparent; border: 0; border-top: 1px solid rgba(21,48,79,.18); border-radius: 0; box-shadow: none; padding: 20px 4px 18px 0; }
.pg-inner .programs-grid .program:hover, .pg-inner .help-panel .program:hover { background: transparent; transform: none; border-top-color: var(--brass); }
.pg-inner .programs-grid { gap: 8px 40px; }
.pg-inner .help-card { background: transparent; border: 0; border-top: 1px solid rgba(21,48,79,.18); border-radius: 0; box-shadow: none; padding: 20px 4px 18px 0; }
.pg-inner .help-grid { gap: 8px 40px; }
/* Real Estate pre-qualification block: same numbered hairline list as Selling */
#calculators .section-head .re-sell-k { margin-bottom: 12px; }
#calculators .re-pq-steps { margin: 0 0 26px; }
#calculators .calc-teaser-text .btn-row { gap: 12px 36px; flex-wrap: wrap; }

/* Branding phone section (Oct 27): the white floor plan on the table replaces the room photo */
.phone-live-section { background:
    linear-gradient(90deg, rgba(242, 242, 242,.96) 0%, rgba(242, 242, 242,.86) 32%, rgba(242, 242, 242,.25) 56%, rgba(242, 242, 242,0) 74%),
    url("../images/04-brand-and-web/phone-scene-plan.jpg?v=4") 11% calc(46% + var(--py, 0px)) / max(125%, 1700px) auto no-repeat, #E7E7E7; }
@media (max-width: 980px) { .phone-live-section { background:
    linear-gradient(180deg, rgba(242, 242, 242,.96) 0%, rgba(242, 242, 242,.88) 42%, rgba(242, 242, 242,.2) 70%, rgba(242, 242, 242,0) 100%),
    url("../images/04-brand-and-web/phone-scene-plan.jpg?v=4") 40% center / cover no-repeat, #E7E7E7; } }
/* Branding phone section: the moving band of window light, warmer and wider so it reads over the cream (Oct 27) */
.phone-live-section .ps-light { width: 55%; left: -60%; z-index: 0; mix-blend-mode: soft-light;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,.95) 52%, rgba(255,255,255,0) 100%);
  animation: ps-light2 14s cubic-bezier(.45,0,.25,1) infinite; }
.phone-live-section .ps-light::after { content: ""; position: absolute; inset: 0; mix-blend-mode: screen;
  background: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.2) 50%, rgba(255,255,255,0) 70%); }
@keyframes ps-light2 { 0%, 12% { left: -60%; } 88%, 100% { left: 110%; } }
@media (prefers-reduced-motion: reduce) { .phone-live-section .ps-light { animation: none; left: 30%; opacity: .5; } }

/* ---------- Page heroes line up across every page: pages without a licence line reserve its space, so the coin,
   the name and the links sit at the same height everywhere ---------- */
@media (min-width: 981px) {
  .pg-hero .hero-inner:not(:has(> .hero-lic)) { padding-bottom: calc(14px + .78rem * 1.7); }
}
/* ---------- Top menu: smaller, lighter and more widely spaced (the logo is unchanged) ---------- */
@media (min-width: 981px) {
  html.pv-big .nav-links > li > a, html.pv-big .nav-links .nav-dropdown-toggle { font-size: clamp(11px, .76vw, 12.5px); letter-spacing: .18em; font-weight: 400; }
  html.pv-big .site-header .nav-links a.btn { font-size: clamp(11px, .8vw, 12.5px); letter-spacing: .16em; }
}

/* ---------- Branding: website showcase v2 (Oct 27) — editorial copy, then Ariane's laptop-on-table photo with the live
   homepage on its screen (screenshot overlaid by percentage, so it stays sharp), soft glass glare on the screen ---------- */
.web-showcase.ws2 { background: var(--bg); padding: clamp(72px, 11vh, 130px) 0 clamp(64px, 9vh, 110px); }
.ws2-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.ws2-k { margin: 0 0 14px; font-family: var(--label-font); font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.ws2-k .dn { color: var(--brass); opacity: 1; }
.ws2-intro .split-headline { margin: 0; }
.ws2-lede { margin: 20px 0 0; max-width: 50ch; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.ws2-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(21,48,79,.16); }
.ws2-points li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(21,48,79,.16); color: var(--ink-soft); line-height: 1.55; }
.ws2-points .dn { color: var(--brass); opacity: 1; font-size: .95rem; padding-top: 2px; }
.ws2-points strong { color: var(--navy-dark); font-weight: 600; margin-right: .25em; }
.ws2-scene { position: relative; margin: clamp(40px, 7vh, 72px) 0 0; aspect-ratio: 1792 / 1008; overflow: hidden; }
.ws2-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ws2-screen { position: absolute; left: 34.82%; top: 37.5%; width: 30.53%; height: 31.94%; overflow: hidden; background: #0b1424; }
.ws2-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.ws2-glare { position: absolute; left: 34.82%; top: 37.5%; width: 30.53%; height: 31.94%; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06) 100%); }
.ws2-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(28px, 4vh, 44px); }
.ws2-proof { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.7rem); color: var(--navy-dark); }
@media (max-width: 860px) {
  .ws2-head { grid-template-columns: 1fr; gap: 32px; }
  .ws2-scene { margin-left: -24px; margin-right: -24px; }
  .ws2-foot { justify-content: flex-start; }
}
/* website showcase v3: the laptop photo runs full bleed, zoomed in with a soft window; the homepage film plays on its screen */
.ws2-scene { margin: clamp(40px, 7vh, 72px) 0 0; aspect-ratio: 2400 / 1348; width: 100%; max-height: 92svh; }
.ws2-screen { left: 27.1%; top: 22.3%; width: 46.05%; height: 48.75%; background: #050b16; }
.ws2-screen video, .ws2-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws2-screen video { object-position: 62% 50%; }
.ws2-glare { left: 27.1%; top: 22.3%; width: 46.05%; height: 48.75%; }
.web-showcase.ws2 { padding-bottom: clamp(48px, 7vh, 80px); }
@media (max-width: 860px) { .ws2-scene { margin-left: 0; margin-right: 0; } }

/* ---------- Meet Ariane on deep navy: the portrait fades into navy on the left; name, quote and credentials in white
   and champagne ---------- */
.meet, section#about.meet { background: #081B33 !important; color: #F3EFE7; }
.meet-bg::after { background: linear-gradient(90deg, #081B33 0%, #081B33 34%, rgba(8,27,51,.62) 44%, rgba(8,27,51,0) 56%); }
.meet .meet-name { color: #FFFFFF; }
.meet .meet-name em { color: var(--champagne); }
.meet .meet-role { color: var(--champagne); }
.meet .meet-rule { background: var(--champagne); }
html.pv-big .meet ul.meet-cred li, .meet .meet-cred { color: rgba(243,239,231,.86); }
html.pv-big .meet ul.meet-cred li:not(:last-child)::after { color: var(--champagne); }
.meet .mq-open, .meet-pin .meet .mq-open { color: var(--champagne); }
.meet .mq-body, .meet-pin .meet .mq-body { color: #F3EFE7; }
.meet .meet-lic { color: rgba(243,239,231,.6); }
.pin-wrap .meet { box-shadow: 0 -30px 60px rgba(0,0,0,.25); }
@media (max-width: 980px) { .meet-bg::after { background: linear-gradient(180deg, rgba(8,27,51,0) 55%, #081B33 100%); } }
@media (max-width: 980px) { .meet-bg img { width: 100% !important; max-width: none !important; object-fit: cover; } }
@media (max-width: 980px) { .meet-bg img { -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,0) 100%) !important; } }

/* ---------- Branding laptop scene v3: Ariane's original sharp photo (natural focus, no faked blur); the screen is
   measured to the photo's own screen to the pixel (626-1167 x 379-698 of 1792x1008), the live hero fills it at its
   exact proportions with the logo whole; a huge headline sits over the window above the laptop ---------- */
.ws2-scene { aspect-ratio: 1792 / 1008; max-height: none; }
.ws2-screen, .ws2-glare { left: 34.88%; top: 37.55%; width: 30.30%; height: 31.85%; }
.ws2-screen { background: #050b16; border-radius: 1px; }
.ws2-screen video { object-fit: cover; object-position: 62% 50%; }
.ws2-screen img { object-fit: fill; }
.ws2-scene::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 46%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 248, 248,.9) 0%, rgba(248, 248, 248,.72) 45%, rgba(248, 248, 248,0) 100%); }
.ws2-big { position: absolute; left: 0; right: 0; top: 4.5%; z-index: 2; margin: 0; text-align: center;
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6.4vw, 7.6rem); line-height: .95; letter-spacing: -.015em; color: var(--navy-dark); }
.ws2-big em { display: inline; margin-left: .25em; font-style: italic; color: var(--brass); }
@media (max-width: 860px) { .ws2-big { top: 3%; font-size: clamp(1.9rem, 8.4vw, 3rem); } .ws2-big em { display: block; margin-left: 0; } }
.ws2-screen, .ws2-glare { left: 34.77%; top: 37.30%; width: 30.58%; height: 32.34%; }   /* 3px past the photo's screen on every side, into the black bezel, so no white edge shows */
.ws2-big { top: 7%; }

/* ---------- Branding: How It Works cards tidied (Oct 27) — every card the same: photo contained in a fixed frame
   (no spill, no parallax inside the card), one-line label, rule and big word on one shared line ---------- */
#process .fc-front { --ph: clamp(230px, 22vw, 290px); }
#process .fc-photo { height: var(--ph); overflow: hidden; }
#process .fc-photo img { width: 100%; height: 100%; object-fit: cover; translate: none; scale: none; transform: none !important;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,0) 100%); }
#process .fc-photo img[src*="card-financing-meeting"] { object-position: 62% 18%; }
#process .fc-photo img[src*="web-sheet-portfolio"] { object-position: center top; }
#process .fc-photo img[src*="process-laptop"] { object-position: center 62%; }
#process .fc-photo img[src*="process-phone"] { object-position: center 6%; }
#process .fc-front .fc-label { display: flex; align-items: baseline; gap: .55em; flex-wrap: nowrap; white-space: nowrap; min-height: 0; margin-top: 22px; }
#process .fc-front .fc-name { font-size: clamp(.74rem, .85vw, .86rem); letter-spacing: .16em; white-space: nowrap; }
#process .fc-front .fc-name .nowrap { white-space: nowrap; }
@media (max-width: 1100px) { #process .fc-front .fc-name { letter-spacing: .1em; } }
/* the photo, screen and glare live in .ws2-frame so the screen stays locked to the photo; the headline sits over it on
   desktop and above it on phones */
.ws2-scene { aspect-ratio: auto; overflow: visible; }
.ws2-frame { position: relative; aspect-ratio: 1792 / 1008; overflow: hidden; }
.ws2-frame::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 46%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 248, 248,.9) 0%, rgba(248, 248, 248,.72) 45%, rgba(248, 248, 248,0) 100%); }
.ws2-scene::before { display: none; }
.ws2-big { z-index: 3; }
@media (max-width: 860px) {
  .ws2-big { position: static; padding: 0 24px 18px; font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .ws2-frame::before { display: none; }
}
/* Start Your Site sits on the laptop photo, bottom centre over the table (proof line removed, Oct 27) */
.ws2-cta { position: absolute; left: 50%; bottom: 1.8%; z-index: 3; transform: translateX(-50%); color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.ws2-cta .sc-ring { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(10,14,20,.18); }
.ws2-cta { white-space: nowrap; }
@media (max-width: 860px) { .ws2-cta { position: static; transform: none; order: 9; align-self: center; margin: 18px auto 0; color: var(--navy-dark); text-shadow: none; } .ws2-cta .sc-ring { border-color: rgba(21,48,79,.4); color: var(--navy-dark); background: none; } }
@media (max-width: 860px) {
  .ws2-scene { display: flex; flex-direction: column; }
  .ws2-scene > .ws2-big { order: 1; } .ws2-scene > .ws2-frame { order: 2; }
  .ws2-scene > .ws2-cta { order: 3; position: static !important; transform: none !important; align-self: center; margin: 20px auto 0; }
}

/* Homepage discipline band (Oct 27): the real A120 sheet on the table, same photo as the Branding page; a deep navy
   wash keeps the white names readable while the drawing and title block show through on the right */
html.pv-big .areas-dark .as-blueprint {
  background: linear-gradient(90deg, rgba(6,16,34,.88) 0%, rgba(6,16,34,.78) 40%, rgba(6,16,34,.5) 68%, rgba(6,16,34,.35) 100%),
              url(../images/02-homepage/park-city-a120-on-table.jpg?v=1) 70% 62% / cover no-repeat; }
@media (max-width: 980px) { html.pv-big .areas-dark .as-blueprint { background: linear-gradient(rgba(6,16,34,.72), rgba(6,16,34,.72)), url(../images/02-homepage/park-city-a120-on-table.jpg?v=1) 70% 50% / cover no-repeat; } }

/* ---------- Homepage tour: navy chapter cards between the photos (Oct 27). Each announces the next discipline with
   a faint drafting grid, a moving scan line and a title that sinks through the card as you scroll (parallax), handing
   off to the next photo. Link rows under each write-up are shortened to hug the words. ---------- */
.tour-chap { position: relative; height: 70svh; min-height: 420px; overflow: hidden; background: #061224; color: #fff; isolation: isolate; z-index: 3; }
.tc-grid { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(228,206,159,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(228,206,159,.07) 1px, transparent 1px),
                    linear-gradient(rgba(228,206,159,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(228,206,159,.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, rgba(0,0,0,.6) 45%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, rgba(0,0,0,.6) 45%, transparent 80%); }
.tc-scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 0; background: linear-gradient(90deg, transparent, rgba(228,206,159,.9) 30%, #fff 50%, rgba(228,206,159,.9) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(228,206,159,.35); animation: tc-scan 5.5s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes tc-scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.tc-in { position: absolute; left: 0; right: 0; top: 50%; padding: 0 max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); transform: translateY(calc(-50% + var(--tc, 0px))); will-change: transform; }
.tc-n { display: block; font-family: var(--label-font); font-size: .95rem; letter-spacing: .32em; color: var(--champagne); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.tc-name { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 8vw, 8rem); line-height: .95; letter-spacing: -.02em; }
.tc-line { display: block; margin-top: 18px; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.8rem); color: rgba(243,239,231,.86); }
.tc-line em { color: var(--champagne); font-style: italic; }
.tc-rule { display: block; height: 1px; margin-top: 30px; width: min(520px, 60vw); background: linear-gradient(90deg, var(--champagne), rgba(228,206,159,0));
  transform-origin: left; transform: scaleX(var(--tr, 0)); }
@media (prefers-reduced-motion: reduce) { .tc-scan { animation: none; opacity: 0; } .tc-in { transform: translateY(-50%); } .tc-rule { transform: none; } }
@media (min-width: 861px) { html.pv-big .tour5 .tour-shot + .tour-chap, html.pv-big .tour5 .tour-chap + .tour-shot { margin-top: 0; } }
/* write-up link rows hug the words instead of running across the photo */
html.pv-big .tour5 .ti-links { width: auto; max-width: 400px; display: inline-block; min-width: 300px; }
html.pv-big .tour5 .ti-links a { gap: 12px; }
html.pv-big .tour5 .ti-links a::after { margin-left: 14px; }
html.pv-big .tour5 .ti-h { max-width: 520px; }
html.pv-big .tour5 .ti-h, html.pv-big .tour5 .ti-name + .ti-role + .ti-h { border-top-width: 1px; }
html.pv-big .tour5 .tour-info .ti-h { border-image: linear-gradient(90deg, rgba(255,255,255,.3), rgba(255,255,255,.3)) 1; width: fit-content; min-width: 300px; }
html.pv-big .tour5 .ti-links { width: 340px; min-width: 0; max-width: 100%; }
html.pv-big .tour5 .ti-links a::after { margin-left: auto; }
html.pv-big .tour5 .tour-info .ti-h { width: auto; max-width: 520px; }
@media (max-width: 860px) { .tour-chap { display: none; } }
/* chapter cards v2: one title only. It is styled exactly like the write-up title, rides with the card, locks at the
   write-up title's spot and cross-fades into it as the photo arrives (js/home-preview.js) */
.tour-chap { overflow: visible; }
.tc-grid, .tc-scan { clip-path: inset(0); }
.tc-grid { overflow: hidden; }
.tc-in { top: 0; padding: 0; left: var(--tcx, 0px); right: auto; transform: translateY(var(--tcy, 30svh)); opacity: var(--tco, 1); z-index: 4; }
.tc-n { margin: 0 0 .4em; }
.tc-name { white-space: nowrap; }

/* ---------- How It Works: 01 framed on Ariane and her client (the man is out of frame); 03 Test is the live laptop
   (homepage film playing under crisp page text, zoomed so it reads); 04 Go Live is the phone with the site scrolling
   on its screen ---------- */
#process .fc-photo { position: relative; }
#process .fc-photo img[src*="card-financing-meeting"] { object-position: 33% 30%; }
#process .pc-lap, #process .pc-ph { position: absolute; display: block; }
#process .pc-lap { width: 300%; aspect-ratio: 1792 / 1008; left: 50%; top: 50%; transform: translate(-50.03%, -53.5%); }
#process .pc-ph { width: 100%; aspect-ratio: 1218 / 1320; left: 0; top: 0; }
#process .fc-photo .pc-lap img.pc-lap-photo, #process .fc-photo .pc-ph img.pc-ph-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
#process .pc-lap-screen { position: absolute; left: 34.77%; top: 37.30%; width: 30.58%; height: 32.34%; overflow: hidden; background: #050b16; }
#process .pc-lap-screen video, #process .fc-photo .pc-lap-screen img { position: absolute; inset: 0; width: 100%; height: 100%; }
#process .pc-lap-screen video { object-fit: cover; object-position: 62% 50%; }
#process .fc-photo .pc-lap-screen img { object-fit: fill; }
#process .pc-ph-screen { position: absolute; left: 28.0%; top: 6.15%; width: 44.15%; height: 87.7%; overflow: hidden; border-radius: 7.5% / 3.5%; background: #081B33; }
#process .fc-photo .pc-ph-screen img { position: absolute; left: 0; top: 0; width: 100%; height: auto; object-fit: initial; animation: pc-scroll 34s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes pc-scroll { 0%, 7% { transform: translateY(0); } 93%, 100% { transform: translateY(-81.7%); } }

@media (prefers-reduced-motion: reduce) { #process .fc-photo .pc-ph-screen img { animation: none; } }
@keyframes pc-scroll2 { 0%, 7% { translate: 0 0; } 93%, 100% { translate: 0 -80.8%; } }
#process .fc-photo .pc-ph-screen img { animation: pc-scroll2 34s cubic-bezier(.45,0,.55,1) infinite alternate; }
/* the hero's own shade sits between the film and the page text on both laptop screens, so the headline reads */
.ws2-screen video, #process .pc-lap-screen video { z-index: 0; }
.ws2-screen::after, #process .pc-lap-screen::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(18,16,13,.86) 0%, rgba(18,16,13,.6) 22%, rgba(18,16,13,0) 50%), linear-gradient(90deg, rgba(18,16,13,.55) 0%, rgba(18,16,13,0) 60%); }
.ws2-screen img, #process .fc-photo .pc-lap-screen img { z-index: 2; }
@media (prefers-reduced-motion: reduce) { #process .fc-photo .pc-ph-screen img { animation: none; } }
@media (max-width: 860px) { #process .fc-photo img[src*="card-financing-meeting"] { position: relative; width: 135%; max-width: none; left: -8%; object-position: 33% 30%; } }

/* ---------- Homepage tour, cleaned up (Oct 27): slim static navy bands (number and a gold rule, no travelling title);
   photos a little taller so each write-up has time to read without meeting a band; brighter, 1px-heavier lines and
   arrows; licence lines break before the company name; the bus stop shows its roof sign ---------- */
@media (min-width: 861px) {
  .tour-chap { height: 30svh; min-height: 220px; overflow: hidden; }
  .tc-in { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%) !important; opacity: 1 !important; padding: 0 max(40px, calc((100vw - var(--maxw)) / 2 + 24px)); }
  .tc-n { margin: 0 0 18px; font-size: 1rem; letter-spacing: .32em; color: var(--champagne); }
  .tc-in .tc-rule { display: block; width: min(420px, 50vw); height: 1px; margin: 0; background: linear-gradient(90deg, var(--champagne), rgba(228,206,159,0)); transform: none; }
  html.pv-big .tour5 .tour-shot { height: calc(var(--h) * 1.3); }
  html.pv-big .tour5 .ti-links { border-top: 2px solid rgba(255,255,255,.4); }
  html.pv-big .tour5 .ti-links li { border-bottom: 2px solid rgba(255,255,255,.4); }
  html.pv-big .tour5 .ti-links a::before { height: 2px; }
  html.pv-big .tour5 .ti-links a::after { color: rgba(255,255,255,.9); font-weight: 600; }
  html.pv-big .tour5 .tour-info .ti-h { border-top: 2px solid rgba(255,255,255,.4); border-image: none; }
  html.pv-big .tour5 .ti-cta .sc-ring { border-width: 2px; border-color: rgba(255,255,255,.75); }
  html.pv-big .tour5 .tour-shot#t-web img { object-position: 70% 30%; transform-origin: 70% 30%; }
}
.ti-lic .nw { white-space: nowrap; }
@media (max-width: 860px) { .ti-lic .nw { white-space: normal; } }
@media (min-width: 861px) { html.pv-big .tour5 .tour-shot#t-web img { object-position: 70% 62%; transform-origin: 70% 62%; } }
@media (min-width: 861px) { html.pv-big .tour5 .tour-shot#t-web img { left: 18%; width: 100%; object-position: 50% 62%; transform-origin: 50% 62%; } html.pv-big .tour5 .tour-shot#t-web { background: #0c1a12; } html.pv-big .tour5 .tour-shot#t-web::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 26%; z-index: 0; background: linear-gradient(90deg, #0b1410 60%, rgba(11,20,16,0)); } }
@media (min-width: 861px) { html.pv-big .tour5 .tour-shot#t-web img { left: auto; right: 0; top: 50%; height: auto; width: 74%; aspect-ratio: 1536 / 1280; translate: 0 calc(-50% + var(--py, 0px)); object-fit: cover; object-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 22%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 22%); } html.pv-big .tour5 .tour-shot#t-web::before { display: none; } html.pv-big .tour5 .tour-shot#t-web { background: #0b1410; } }

/* ---------- Tour bands carry the name (Oct 27, v3): number and name start centred in the navy band and travel down
   to become the write-up's title; the write-up's own number and title are hidden on desktop so there is only one ---------- */
@media (min-width: 861px) {
  .tour-chap { height: 36svh; min-height: 260px; overflow: visible; }
  .tc-grid, .tc-scan { clip-path: inset(0); }
  .tc-in { position: absolute; top: 0; left: var(--tcx, 0px) !important; right: auto; padding: 0 !important; transform: translateY(var(--tcy, 10svh)) !important; opacity: var(--tco, 1) !important; z-index: 4; pointer-events: none; }
  .tc-n { display: block; margin: 0 0 .4em; color: var(--champagne); }
  .tc-name { display: block; white-space: nowrap; color: #FFFFFF; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
  html.pv-big .tour5 .tour-info .ti-num, html.pv-big .tour5 .tour-info .ti-name { visibility: hidden; }
}
/* the drafting grid in the navy bands, made legible: major lines every 120px, fine lines every 24px, champagne */
.tc-grid { opacity: 1 !important;
  background-image: linear-gradient(rgba(228,206,159,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(228,206,159,.22) 1px, transparent 1px),
                    linear-gradient(rgba(228,206,159,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(228,206,159,.09) 1px, transparent 1px) !important;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, rgba(0,0,0,.75) 55%, rgba(0,0,0,.25) 100%) !important; mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, rgba(0,0,0,.75) 55%, rgba(0,0,0,.25) 100%) !important; }
/* How It Works: each card zoomed out a step so you can tell what it is (Oct 27) — shorter photo frame, laptop at
   a wider crop, phone re-shot with more of the table around it */
#process .fc-front { --ph: clamp(190px, 15vw, 215px); }
#process .fc-in { min-height: 0; }
#process .fc-front .fc-verb { margin-top: 28px; }
#process .pc-lap { width: 185%; transform: translate(-50%, -52%); }
#process .pc-ph { width: 100%; aspect-ratio: 1.2634; top: 50%; transform: translateY(-50%); }
#process .pc-ph-screen { left: 34.76%; top: 8.48%; width: 30.48%; height: 83.05%; border-radius: 9% / 4.2%; }
#process .fc-photo img[src*="card-financing-meeting"] { object-position: 40% 32%; }

/* ---------- Branding SEO & AEO tile, live (Oct 27): a query types itself, results settle with "Your business" climbing to
   #1, "Named in AI answers" checks, and the visitors line draws; then the next query. js/web-seo-live.js ---------- */
.seo-live { container-type: inline-size; background: radial-gradient(120% 70% at 70% 0%, #183a66 0%, #0d2444 45%, #071428 100%); color: #F3EFE7; font-family: var(--label-font); }
.seo-live > span { position: absolute; }
.sl-k { left: 6.6cqw; top: 6cqw; font-size: 2.9cqw; letter-spacing: .28em; text-transform: uppercase; color: var(--champagne); }
.sl-s { right: 6.6cqw; top: 6.3cqw; font-size: 2.3cqw; letter-spacing: .24em; text-transform: uppercase; color: rgba(243,239,231,.45); }
.sl-bar { left: 6.6cqw; right: 6.6cqw; top: 13cqw; height: 10cqw; border-radius: 5cqw; background: #fff; color: #14243b; display: flex; align-items: center; gap: 2.4cqw; padding: 0 3.6cqw; font-size: 3.9cqw; box-shadow: 0 1.6cqw 4cqw rgba(0,0,0,.35); }
.sl-bar svg { width: 3.8cqw; height: 3.8cqw; flex: none; }
.sl-q { white-space: nowrap; overflow: hidden; }
.sl-caret { width: 1.5px; height: 4.6cqw; background: #14243b; animation: sl-blink 1s steps(1) infinite; }
@keyframes sl-blink { 50% { opacity: 0; } }
.sl-res { left: 6.6cqw; right: 6.6cqw; top: 26.5cqw; height: 36cqw; }
.sl-r { position: absolute; left: 0; right: 0; height: 10.4cqw; display: flex; align-items: center; gap: 2.6cqw; padding: 0 3cqw; border-radius: 1.6cqw; font-size: 3.5cqw;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(243,239,231,.6); opacity: 0;
  transition: top .9s cubic-bezier(.2,.8,.2,1), opacity .5s ease, background .6s ease, border-color .6s ease, color .6s ease; }
.sl-r b { width: 4cqw; font-weight: 600; }
.sl-r i { flex: 1; height: 1.2cqw; border-radius: .6cqw; background: rgba(255,255,255,.14); }
.sl-c1 i { flex: .7; } .sl-c2 i { flex: .45; }
.seo-live .sl-r { top: calc(var(--pos, 0) * 12cqw); }
.seo-live.is-results .sl-r { opacity: 1; }
.seo-live.is-top .sl-you { background: rgba(228,206,159,.16); border-color: rgba(228,206,159,.7); color: #fff; }
.seo-live.is-top .sl-you b { color: var(--champagne); }
.seo-live.is-top .sl-you i { background: linear-gradient(90deg, var(--champagne), rgba(228,206,159,.25)); }
.sl-ai { left: 6.6cqw; right: 6.6cqw; top: 64cqw; height: 9cqw; border-radius: 4.5cqw; background: rgba(255,255,255,.95); color: #14243b; display: flex; align-items: center; gap: 2.4cqw; padding: 0 3.4cqw; font-size: 3.5cqw; font-weight: 500;
  opacity: 0; transform: translateY(2cqw); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.sl-dot { width: 4.6cqw; height: 4.6cqw; border-radius: 50%; background: conic-gradient(#0a1b33, #2c5b9e, #E4CE9F, #0a1b33); flex: none; }
.sl-ai b { margin-left: auto; color: #8a6f22; font-size: 4.4cqw; opacity: 0; transform: scale(.4); transition: opacity .4s ease .35s, transform .5s cubic-bezier(.3,1.6,.5,1) .35s; }
.seo-live.is-ai .sl-ai { opacity: 1; transform: none; } .seo-live.is-ai .sl-ai b { opacity: 1; transform: none; }
.sl-chart { left: 6.6cqw; right: 6.6cqw; top: 76.5cqw; height: 18cqw; border-radius: 2cqw; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.sl-ct { position: absolute; left: 3cqw; top: 2.2cqw; font-size: 2.5cqw; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,239,231,.7); }
.sl-chart svg { position: absolute; left: 3cqw; right: 3cqw; bottom: 2.4cqw; width: calc(100% - 6cqw); height: 9cqw; overflow: visible; }
.sl-line { fill: none; stroke: var(--champagne); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1); }
.seo-live.is-ai .sl-line { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .sl-caret { animation: none; } .sl-r, .sl-ai, .sl-ai b, .sl-line { transition: none; } }
.sl-r { height: 8.6cqw; font-size: 3.3cqw; }
.seo-live .sl-r { top: calc(var(--pos, 0) * 9.8cqw); }
.sl-res { top: 25.5cqw; height: 28cqw; }
.sl-ai { top: 55cqw; height: 8.4cqw; }
.sl-chart { display: none; }

/* ---------- Branding tiles, Oct 27 (b): Websites tile is live (the whole laptop with the homepage film playing),
   the navy fade is lighter and starts lower, and How It Works 04 shows the phone beside the A120 title block, scrolling ---------- */
.web-live { container-type: inline-size; overflow: hidden; background: #2a2018; }
.wl-stage { position: absolute; width: 235cqw; aspect-ratio: 1792 / 1008; left: 50%; top: -26cqw; transform: translateX(-50%); }
.wl-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wl-screen { position: absolute; left: 34.77%; top: 37.30%; width: 30.58%; height: 32.34%; overflow: hidden; background: #050b16; }
.wl-screen video, .wl-screen img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wl-screen video { object-fit: cover; object-position: 62% 50%; }
.wl-screen img { object-fit: fill; }
.svc-tile:hover .web-live .wl-stage, .svc-tile:focus-visible .web-live .wl-stage { transform: translateX(-50%) scale(1.04); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.svc-tile::before { background: linear-gradient(180deg, rgba(8,27,51,0) 46%, rgba(8,27,51,.38) 62%, rgba(8,27,51,.9) 82%); }
@media (hover: none) { .svc-tile::before { background: linear-gradient(180deg, rgba(8,27,51,0) 38%, rgba(8,27,51,.5) 56%, rgba(8,27,51,.94) 76%); } }
#process .pc-ph-screen { left: 8.22%; top: 9.51%; width: 29.71%; height: 80.89%; }
#process .fc-photo .pc-ph-screen img { animation-duration: 16s; }

/* Real Estate: 01 Buying — the front-door film pinned full bleed; the text panel scrolls up over it (Oct 27) */
.re-buy { position: relative; }
.re-buy-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; }
.re-buy-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.re-buy-cover { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 -24px 60px rgba(8,27,51,.18); }
.re-buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.re-buy .re-sell-steps { margin-top: 0; }
@media (max-width: 860px) { .re-buy-pin { height: 70vh; height: 70svh; } .re-buy-grid { grid-template-columns: 1fr; gap: 8px; } .re-buy .re-sell-steps { margin-top: 18px; } }

/* Real Estate: 02 Pre-qualification — the table meeting photo beside the heading (Oct 27) */
.re-pq-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: 56px; }
.re-pq-head .section-head { margin-bottom: 0; }
.re-pq-photo { margin: 0; overflow: hidden; aspect-ratio: 1280 / 800; }
.re-pq-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .re-pq-head { grid-template-columns: 1fr; margin-bottom: 40px; } }

/* Real Estate: 03 Selling — heading and intro across the top, vacant vs furnished slider full bleed, steps in a row (Oct 27) */
.re-sell-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.re-sell-head .re-sell-lede { margin: 0; max-width: 52ch; }
.re-stage .ba-slider { max-width: none; margin: 0; border-radius: 0; width: 100%; height: clamp(420px, 82vh, 980px); aspect-ratio: auto; box-shadow: none; }
.re-stage .ba-hint { margin-top: 14px; }
.re-sell-steps.re-sell-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin: clamp(36px, 4vw, 56px) 0 30px; border-top: 0; }
.re-sell-row li { border-top: 1px solid rgba(21,48,79,.16); border-bottom: 0; padding: 18px 0 0; }
.re-sell-row .dn { display: block; margin: 0 0 8px; }
.re-sell-row strong { display: block; margin: 0 0 6px; }
@media (max-width: 980px) { .re-sell-steps.re-sell-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); } }
@media (max-width: 860px) { .re-sell-head { grid-template-columns: 1fr; gap: 18px; } .re-stage .ba-slider { height: auto; aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .re-sell-steps.re-sell-row { grid-template-columns: 1fr; gap: 20px; } }

/* Loan Finder (Who I Help): deep-blue ombre band so the white question card floats between
   the light sections above and below. A soft champagne glow drifts slowly across the blue. */
#quiz-home {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, #0E2238 0%, var(--navy-dark) 38%, var(--navy) 72%, #2C5A86 100%);
}
#quiz-home::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 42% at 18% 22%, rgba(228, 206, 159, 0.20), transparent 70%),
    radial-gradient(42% 46% at 84% 78%, rgba(120, 170, 220, 0.22), transparent 70%);
  animation: quiz-glow 18s ease-in-out infinite alternate;
}
@keyframes quiz-glow { to { transform: translate(6%, -5%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { #quiz-home::before { animation: none; } }
#quiz-home .section-head h2 { color: #fff; }
#quiz-home .section-head h2.split-headline em { color: var(--champagne); }
#quiz-home .section-head p { color: rgba(243, 239, 231, 0.78); }
#quiz-home .quiz-shell { border-color: transparent; box-shadow: 0 30px 80px rgba(5, 14, 26, 0.45); }

/* Real Estate › Pre-qualification: deep-blue band (same ombre as the Loan Finder). Selling below stays white,
   so the page alternates: white One Agent / Buying, blue Pre-qualification, white Selling, beige close, navy footer. */
#calculators.re-pq { background: linear-gradient(160deg, #0E2238 0%, var(--navy-dark) 38%, var(--navy) 72%, #2C5A86 100%); color: var(--cream); }
.re-pq h2 { color: #fff; }
.re-pq h2.split-headline em, .re-pq .re-sell-k, .re-pq .re-sell-k .dn, .re-pq .re-sell-steps .dn { color: var(--champagne); }
.re-pq .section-head p:not(.re-sell-k), .re-pq .re-sell-steps li { color: rgba(243, 239, 231, 0.78); }
.re-pq .re-sell-steps, .re-pq .re-sell-steps li { border-color: rgba(239, 239, 239, 0.22); }
.re-pq .re-sell-steps strong { color: #fff; }
.re-pq .submit-circle { color: #fff; }
.re-pq .submit-circle .sc-ring { border-color: rgba(255, 255, 255, 0.55); }
.re-pq .programs-disclaimer { color: rgba(243, 239, 231, 0.62); }
.re-pq .calc-teaser-shot .browser-mock, .re-pq .re-pq-photo { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }

/* Design/Build hero, light and airy (Oct 27): the full room shows (no push-in zoom), the navy wash is gone from the
   top and middle, and only a soft shade sits low on the left behind the coin, the name and the links. */
@media (min-width: 981px) {
  #design-hero .hero-bg img { animation: none; scale: 1; filter: brightness(1.06) saturate(1.04); }
  html.pv-big #design-hero.pg-hero .hero-bg::after {
    background:
      radial-gradient(ellipse 62% 46% at 30% 92%, rgba(5,11,22,.5) 0%, rgba(5,11,22,.22) 55%, rgba(5,11,22,0) 100%),
      linear-gradient(180deg, rgba(5,11,22,.16) 0%, rgba(5,11,22,0) 12%, rgba(5,11,22,0) 58%, rgba(5,11,22,.34) 100%);
  }
  #design-hero h1.hero-lead { text-shadow: 0 2px 24px rgba(5,11,22,.45), 0 1px 3px rgba(5,11,22,.3); }
  #design-hero .hero-cta-row .sc-label { text-shadow: 0 1px 12px rgba(5,11,22,.6); }
  #design-hero .hero-mark { filter: drop-shadow(0 2px 16px rgba(5,11,22,.45)); }
}

/* ---------- Flip cards everywhere (Oct 27): the How It Works look from the Branding page as one shared component.
   Front: photo fading into the white card, a small label, the title and a round + button. A tap turns the card over
   to the cream back with the details and the link; the back (or its ×) turns it back. Both faces share one grid
   cell, so a card is as tall as its longer side and every card in a row lines up. */
.flip { perspective: 1600px; min-width: 0; }
.flip-in { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.flip.is-flipped .flip-in { transform: rotateY(180deg); }
@media (hover: hover) {
  .flip:hover .flip-in { transform: translateY(-8px); }
  .flip.is-flipped:hover .flip-in { transform: translateY(-8px) rotateY(180deg); }
}
.flip-face { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 16px; background: #FFFFFF;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 22px 40px -20px rgba(8,27,51,.5), 0 2px 8px rgba(8,27,51,.12); }
.flip-front { cursor: pointer; overflow: hidden; }
.flip-photo { display: block; flex: 1 0 auto; min-height: clamp(170px, 15vw, 210px); position: relative; overflow: hidden; }
.flip-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0,0,0,.55) 82%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0,0,0,.55) 82%, rgba(0,0,0,0) 100%); }
.flip:hover .flip-photo img { transform: scale(1.05); }
.flip-k { display: block; font-family: var(--label-font); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); }
.flip-front .flip-k { margin: 14px 26px 0; }
.flip-front .flip-title { margin: 16px 92px 30px 26px; min-height: 2.3em; font-size: clamp(1.3rem, 1.55vw, 1.6rem); line-height: 1.15; font-weight: 500; color: var(--navy-dark); }
.flip-front .flip-k + .flip-title { margin-top: 6px; }
.flip-btn { position: absolute; right: 22px; bottom: 22px; width: 52px; height: 52px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--navy-dark); }
.flip-btn .sc-ring { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(21,48,79,.4); border-radius: 50%;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s; }
.flip-front:hover .flip-btn .sc-ring, .flip-btn:focus-visible .sc-ring { border-color: var(--navy-dark); background: var(--navy-dark); color: #F3EFE7; }
.flip-front:hover .fc-plus, .flip-btn:focus-visible .fc-plus { transform: rotate(90deg); }
.flip-back { background: #EEEEEE; transform: rotateY(180deg); padding: 26px 26px 24px; cursor: pointer; }
.flip-back .flip-k { padding-right: 56px; margin-bottom: 6px; }
.flip-back-title { margin: 0 56px 12px 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; color: var(--navy-dark); }
.flip-back .flip-k + .flip-back-title { margin-top: 0; }
.flip-back > p { font-size: .95rem; color: var(--ink); margin: 0 0 14px; }
.flip-back > .card-link, .flip-back > .circle-link { margin-top: auto; padding-top: 10px; }
.flip-back .facts { margin-bottom: 14px; }
.flip-back .facts li { border-bottom-color: rgba(21,48,79,.16); }
.flip-back .chips { margin-bottom: 8px; }
.flip-back .chip { background: rgba(255,255,255,.7); }
.flip-back .btn-row { margin-top: auto; }
.flip-close { top: 18px; bottom: auto; right: 18px; width: 44px; height: 44px; }
.flip-close .fc-plus { transform: rotate(45deg); }
.flip-close:hover .sc-ring { background: var(--navy-dark); border-color: var(--navy-dark); color: #F3EFE7; }
@media (prefers-reduced-motion: reduce) { .flip-in { transition: none; } .flip:hover .flip-in { transform: none; } .flip.is-flipped .flip-in, .flip.is-flipped:hover .flip-in { transform: rotateY(180deg); } }
/* the grids that hold them: equal rows, a little more air for the shadows */
.help-grid, .primer-grid, .flip-grid { align-items: stretch; gap: 28px; }
.pg-inner .flip-grid, .pg-inner .help-grid { gap: 28px; }
.engagement-tracks { row-gap: 28px; }
.engagement-tracks > .flip { align-self: stretch; }

/* ============ Design/Build: "Meet Ariane" editorial spreads ============
   One serif (Cormorant) for display, one sans (Jost) at one size for reading. */
.ed-principal { background: var(--bg); }
.ed-wrap { max-width: 1120px; margin: 0 auto; }
.ed-spread { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
.ed-spread + .ed-spread { margin-top: clamp(80px, 12vw, 150px); }
.ed-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--label-font); font-weight: 500; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-dark); }
.ed-rule { display: inline-block; width: 44px; height: 1px; background: var(--brass); }
.ed-body { font-family: var(--label-font); font-weight: 400; font-size: 1.06rem; line-height: 1.75; color: var(--ink-soft); margin: 0 0 18px; max-width: 58ch; }

/* Spread 1: portrait + introduction */
.ed-intro { grid-template-columns: 5fr 7fr; align-items: start; }
.ed-portrait { margin: 0; }
.ed-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center; }
.ed-title { margin: 0 0 22px; font-family: var(--serif); font-weight: 500; font-style: normal; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.01em; color: var(--navy-dark); }
.ed-title em { font-style: italic; color: var(--brass); }
.ed-dek { margin: 0 0 30px; padding-bottom: 28px; border-bottom: 1px solid var(--hair, var(--line)); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.35; color: var(--ink); max-width: 30ch; }
.ed-drop::first-letter { float: left; font-family: var(--serif); font-weight: 500; font-size: 4.1em; line-height: .82; margin: 6px 12px 0 0; color: var(--navy-dark); }
.ed-creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--hair-strong, var(--line)); }
.ed-creds dt { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.2; color: var(--navy-dark); margin-bottom: 6px; }
.ed-creds dd { margin: 0; font-family: var(--label-font); font-size: .88rem; line-height: 1.5; color: var(--ink-faint); }

/* Spread 2: material board */
.ed-board { grid-template-columns: 6fr 5fr; }
.ed-board-img { margin: 0; }
.ed-board-img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ed-board-img figcaption { margin-top: 12px; font-family: var(--label-font); font-size: .82rem; letter-spacing: .02em; color: var(--ink-faint); }
.ed-board-img figcaption span { font-style: italic; }
.ed-head { margin: 0 0 24px; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; color: var(--navy-dark); }
.ed-head em { display: block; font-style: italic; color: var(--brass); }
.ed-uses { list-style: none; margin: 8px 0 26px; padding: 0; border-top: 1px solid var(--hair, var(--line)); }
.ed-uses li { padding: 14px 0; border-bottom: 1px solid var(--hair, var(--line)); font-family: var(--label-font); font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }
.ed-uses strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin-bottom: 2px; }
.ed-coda { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1.35; color: var(--navy-dark); }

/* Spread 3: the pull quote */
.ed-quote { display: block; margin-left: auto; margin-right: auto; max-width: 900px; text-align: center; padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--hair-strong, var(--line)); border-bottom: 1px solid var(--hair-strong, var(--line)); }
.ed-quote blockquote { margin: 0; padding: 0; }
.ed-quote-main { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: 1; letter-spacing: -.015em; color: var(--navy-dark); text-wrap: balance; }
.ed-quote-more { margin: 24px auto 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.35; color: var(--brass); max-width: 34ch; text-wrap: balance; }
.ed-quote figcaption { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 26px 0 0; font-family: var(--label-font); font-weight: 500; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-dark); }
.ed-quote figcaption::before, .ed-quote figcaption::after { content: ""; width: 32px; height: 1px; background: var(--brass); }
.ed-quote-body { margin: 34px auto 0; text-align: center; }

@media (max-width: 860px) {
  .ed-intro, .ed-board { grid-template-columns: 1fr; }
  .ed-portrait { max-width: 420px; }
  .ed-creds { grid-template-columns: 1fr; gap: 14px; }
  .ed-quote figcaption::before, .ed-quote figcaption::after { width: 20px; }
}
/* Meet Ariane: the portrait runs off the left edge of the page, shown whole (not trimmed to a tall crop),
   the words beside it on the right. The material board fills the full width behind its words, with a soft
   cream wash on the right so the text reads. */
.ed-intro, .ed-board { width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; }
.ed-intro { grid-template-columns: 1fr 1fr; align-items: center; }
.ed-intro .ed-portrait { max-width: none; }
.ed-intro .ed-portrait img { aspect-ratio: auto; height: auto; object-fit: initial; }
.ed-intro-text { padding-right: max(24px, calc((100vw - 1120px) / 2 + 24px)); }
.ed-board { position: relative; display: block; padding: clamp(72px, 9vw, 130px) 0; overflow: hidden; }
.ed-board-img { position: absolute; inset: 0; }
.ed-board-img .ed-board-frame { position: absolute; inset: 0; }
.ed-board-img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 30% center; }
.ed-board-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(249, 249, 249,0) 22%, rgba(249, 249, 249,.82) 50%, rgba(249, 249, 249,.94) 100%); }
.ed-board-img figcaption { position: absolute; z-index: 1; left: 24px; bottom: 18px; margin: 0; padding: 4px 10px; background: rgba(249, 249, 249,.85); }
.ed-board-text { position: relative; z-index: 1; max-width: 560px; margin-left: auto; margin-right: max(24px, calc((100vw - 1120px) / 2 + 24px)); }
@media (max-width: 860px) {
  .ed-intro { grid-template-columns: 1fr; }
  .ed-intro-text { padding: 0 24px; }
  .ed-board { padding: 0 0 8px; }
  .ed-board-img { position: relative; inset: auto; aspect-ratio: 1 / 1; margin-bottom: 36px; }
  .ed-board-img::after { display: none; }
  .ed-board-text { max-width: none; margin: 0; padding: 0 24px; }
}
/* loan cards: the one-line description sits on the front under the name */
.flip-front .flip-title:has(+ .flip-sum) { min-height: 0; margin-bottom: 8px; }
.flip-sum { margin: 0 92px 28px 26px; font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.flip-photo img[src*="card-ariane"] { object-position: 72% 40%; }
.flip-photo img[src*="card-couple"] { object-position: 70% 50%; }
#process .engagement-tracks { margin-bottom: 40px; }
.flip .flip-back .flip-back-title { font-size: clamp(1.25rem, 1.4vw, 1.45rem); font-weight: 500; }

/* Parallax on every picture, site-wide (Oct 27 audit; main.js drives it). Frames that did not clip yet now do, the
   before/after photos get spare height to slide in, and the laptop scene moves photo and screen as one piece. */
.principal-photo { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.principal-photo img { box-shadow: none; }
.ed-portrait, .ed-board-frame { display: block; overflow: hidden; }
.ba-slider .ba-img { top: -6%; height: 112%; }
.ws2-drift { position: absolute; inset: 0; display: block; }
.film-frame video, .re-pq-photo img, .ba-img, .wl-stage, #process .pc-lap, .drawing-sheet .pt-open, .sb-open, .browser-mock { will-change: translate; }

/* Loan program cards (Oct 27): every card is the same size, with the same 4:3 photo. The front is just the photo, the
   label and the name; the one-line summary moved to the back, above the facts. The back no longer sets the card's
   height: a turned-over card grows to fit its details (main.js), and only that card grows. */
.primer-grid:has(> .flip-loan) { align-items: start; }
.flip-loan .flip-in { position: relative; transition: transform .8s cubic-bezier(.2,.7,.2,1), min-height .5s ease; }
.flip-loan .flip-photo { flex: 0 0 auto; aspect-ratio: 4 / 3; min-height: 0; }
.flip-loan .flip-back { position: absolute; top: 0; left: 0; right: 0; min-height: 100%; }
.flip-back .flip-back-sum { margin: 0 0 12px; font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }

/* Material board, take 3: the photo fills the screen and holds still while the words drift down over it
   and fade (main.js sets each line's opacity and drift). No wash over the picture, so the board stays the star. */
.ed-board { position: relative; display: block; height: 340vh; padding: 0; overflow: visible; }
.ed-board-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ed-board .ed-board-img { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; }
.ed-board .ed-board-img::after { display: none; }
.ed-board .ed-board-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }   /* centered: the words sit over the greenery and the navy pillow, clear of the brass */
.ed-board .ed-board-img figcaption { position: absolute; z-index: 2; left: 24px; bottom: 18px; margin: 0; padding: 4px 10px; background: rgba(249, 249, 249,.85); }
.ed-board-words { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ed-drift { position: absolute; top: 50%; right: max(24px, calc((100vw - 1120px) / 2 + 24px)); width: min(520px, calc(100vw - 48px)); margin: 0;
  opacity: 0; transform: translateY(-50%); will-change: transform, opacity;
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.08; color: var(--navy-dark);
  text-shadow: 0 0 28px rgba(249, 249, 249,.95), 0 0 60px rgba(249, 249, 249,.8); }
.ed-drift em { font-style: italic; color: var(--brass-dark); }
.ed-drift .ed-kicker { margin-bottom: 20px; text-shadow: none; }
.ed-board.ed-static { height: auto; }
.ed-board.ed-static .ed-board-stage { position: relative; }
.ed-board.ed-static .ed-drift:first-child { opacity: 1; }
@media (max-width: 860px) {
  .ed-board .ed-board-img { position: absolute; inset: 0; margin: 0; }
  .ed-drift { top: 58%; font-size: clamp(2rem, 8.5vw, 2.6rem); }
}
/* Cream words with a soft navy shade that comes and goes with each line, so they read over light and dark materials */
.ed-drift { color: #F9F9F9; text-shadow: 0 2px 18px rgba(8,27,51,.55), 0 1px 3px rgba(8,27,51,.4); }
.ed-drift::before { content: ""; position: absolute; inset: -70px -90px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(8,27,51,.5), rgba(8,27,51,.25) 55%, rgba(8,27,51,0)); }
.ed-drift em { color: var(--champagne); }
.ed-drift .ed-kicker { color: var(--champagne); }
.ed-drift .ed-rule { background: var(--champagne); }
.flip-btn.flip-close:focus-visible .fc-plus { transform: rotate(135deg); }   /* the close button stays an x when focused */

/* No white haze on card photos (Oct 27): the photos end crisply at the card instead of fading into it. The frames
   clip now that nothing fades, so the parallax drift never shows past the photo's edge. */
.flip-photo img, .fc-photo img, #process .fc-photo img { -webkit-mask-image: none; mask-image: none; }
.fc-photo { overflow: hidden; }
#process .fc-photo img { translate: none !important; }   /* How It Works photos hold still in their frames (no drift gap at the top) */
.flip-photo img[src*="card-nonqm"] { scale: 1; translate: none !important; object-position: 50% 0; }   /* Non-QM couple: shown whole, top to bottom, so their heads are never cut off */
.flip-photo img[src*="card-couple"] { scale: 1; translate: none !important; object-position: 86% 0; }   /* First-time buyers couple: zoomed out, full height, both of them in frame */
.flip-photo img[src*="card-disaster"] { scale: 1.5; transform-origin: 22% 62%; }   /* Disaster Recovery: closer in on the homeowner, chimney beside him */
#loan-dpa .flip-photo img { scale: 1; translate: none !important; object-position: 80% 0; }   /* Down Payment Assistance couple: zoomed out, shown top to bottom so their heads clear the edge */
#loan-fha .flip-photo img { scale: 1; translate: none !important; object-position: 50% 0; }   /* FHA family on the steps: shown whole, keys and heads in frame */
#loan-jumbo .flip-photo img { scale: 1.3; transform-origin: 50% 78%; }   /* Jumbo: closer on the Park City house, less sky */
#loan-va .flip-photo img { scale: 1; translate: none !important; object-position: 70% 0; }   /* VA family: zoomed out, shown top to bottom so his cap is never cut off */
/* Words centered on the board; a soft navy shade across the top of the photo for legibility */
.ed-drift { left: 50%; right: auto; width: min(760px, calc(100vw - 48px)); margin-left: calc(min(760px, calc(100vw - 48px)) / -2); text-align: center; }
.ed-drift .ed-kicker { justify-content: center; }
.ed-board .ed-board-img::after { display: block; content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,27,51,.5) 0%, rgba(8,27,51,.22) 28%, rgba(8,27,51,0) 55%); }
@media (max-width: 860px) { .ed-drift { top: 50%; } }
.ed-quote .ed-quote-cta { margin-top: 28px; justify-content: center; }
/* "How do we pay for this?" scene: the quote starts in a white graph-paper breather, sticks while the table photo rises
   under it at full width, then leaves with the photo. --c (0 → 1, set by main.js) is how much of the quote the photo is
   under; it turns the words white and the caption champagne. */
.pay-scene { --B: clamp(340px, 50svh, 500px); --P: 100svh; --c: 0; position: relative; display: block; width: 100vw; margin: 0 0 0 calc(50% - 50vw) !important; }
.pay-breather { height: var(--B);
  background-color: #FFFFFF;
  background-image: linear-gradient(rgba(168,134,58,.32) 1px, transparent 1px), linear-gradient(90deg, rgba(168,134,58,.32) 1px, transparent 1px),
                    linear-gradient(rgba(21,48,79,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(21,48,79,.07) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: center top; }
.pay-track { position: absolute; z-index: 2; inset: 0 0 auto 0; height: calc(var(--B) + var(--P) * .4 + var(--I, 300px)); pointer-events: none; }
.ed-quote.pay-quote { position: sticky; top: calc(var(--hdr, 60px) + 11svh); max-width: 1000px; margin: 0 auto; padding: clamp(48px, 8svh, 96px) 24px 0; border: 0; }
.pay-quote .ed-quote-main { white-space: nowrap; font-size: clamp(2rem, 5.6vw, 5.4rem); color: color-mix(in srgb, #FFFFFF calc(var(--c) * 100%), var(--navy-dark)); text-shadow: 0 2px 26px rgba(8,27,51, calc(var(--c) * .45)); }
.pay-quote figcaption { color: color-mix(in srgb, var(--champagne) calc(var(--c) * 100%), var(--brass-dark)); }
.pay-quote figcaption::before, .pay-quote figcaption::after { background: color-mix(in srgb, var(--champagne) calc(var(--c) * 100%), var(--brass)); }
.pay-photo { position: relative; height: var(--P); overflow: hidden; background: #2a2a2a; }
.pay-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.pay-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,27,51,.74) 0%, rgba(8,27,51,.58) 38%, rgba(8,27,51,.18) 62%, rgba(8,27,51,0) 78%); }
/* The finished house, a white print right under the quote and moving with it (the plan on the table became this):
   it lifts and fades in as the photo arrives under the words (--c); clicking opens the Park City gallery. --I is the
   room it takes, added to the quote's track so the words still leave with the photo at the same spot. */
.pay-inset { display: block; position: relative; margin: clamp(26px, 4svh, 40px) auto 0; pointer-events: auto;
  width: clamp(230px, 22vw, 320px); padding: 8px 8px 0; border: 0; background: #FFFFFF; cursor: pointer; text-align: left;
  box-shadow: 0 22px 48px rgba(8,27,51,.38); opacity: var(--c); translate: 0 calc((1 - var(--c)) * 24px); transition: box-shadow .3s; }
.pay-inset:hover { box-shadow: 0 28px 60px rgba(8,27,51,.5); }
.pay-inset img { display: block; width: 100%; height: auto; aspect-ratio: 1019 / 679; object-fit: cover; }
.pay-inset-cap { display: block; padding: 10px 2px 11px; font-family: var(--label-font); font-weight: 500; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--navy-dark); }
.ed-quote.pay-after { margin-top: 0; padding: clamp(56px, 7vw, 88px) 0 0; border: 0; }
.pay-after .ed-quote-body { margin-top: 0; }
@media (max-width: 680px) {
  .pay-scene { --B: 46svh; --P: 78svh; --I: 260px; }
  .pay-quote .ed-quote-main { font-size: 8.2vw; }
  .pay-photo img { object-position: 58% 62%; }
  .pay-inset { width: 66vw; }
  .pay-inset-cap { font-size: .62rem; letter-spacing: .14em; line-height: 1.5; white-space: normal; }   /* wraps inside the card instead of running out of it */
}
@media (min-width: 861px) { .ed-drift { top: 33%; } }   /* words ride over the blue pillow, level with the middle of the plant */
#foundation .fc-photo img[src*="process-phone-title"] { object-position: 12% 30%; }   /* homepage 04 card: the phone from the Branding page stays in frame */
#branding-services.bg-alt { background: #F2F2F2; }   /* What I Design: neutral light grey, the brand boards crisp white on it */
#branding-services .sb-open, #branding-services .sb-hero-img img { background: #FFFFFF; }

/* Phone and laptop cards (Oct 27): the phone stands centered on the Park City floor plan and its screen scrolls slowly
   through the live homepage (homepage 04 card, Branding Go Live); the Branding laptop is zoomed out a step and its
   screen scrolls through the homepage too. The screens are background images, so the card photos' zoom and drift
   rules never touch them. */
.fc-photo .cp-bg { object-position: 50% 62%; }
.cp-scene { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cp-phone { position: relative; display: block; height: 84%; aspect-ratio: 9 / 19; border-radius: 15% / 7%; background: #111317;
  box-shadow: 0 0 0 1px #4a4a50, 0 22px 34px -10px rgba(40,26,8,.6), 0 6px 14px rgba(0,0,0,.28); }
.cp-phone::after { content: ""; position: absolute; z-index: 2; top: 3.2%; left: 50%; width: 30%; height: 3%; transform: translateX(-50%); border-radius: 99px; background: #0a0b0d; }
.cp-screen, .lap-scroll { display: block; position: absolute; background-repeat: no-repeat; background-size: 100% auto; background-position: 50% 0;
  animation: cp-scroll 30s cubic-bezier(.45,0,.55,1) infinite alternate; }
.cp-screen { inset: 3.6% 4.2%; border-radius: 12% / 5.6%; background-color: #081B33; background-image: url("../images/04-brand-and-web/card-scroll-phone.jpg"); }
.lap-scroll { inset: 0; z-index: 2; background-color: #081B33; background-image: url("../images/04-brand-and-web/card-scroll-laptop.jpg"); animation-duration: 24s; }
@keyframes cp-scroll { 0%, 6% { background-position: 50% 0%; } 94%, 100% { background-position: 50% 100%; } }
@media (prefers-reduced-motion: reduce) { .cp-screen, .lap-scroll { animation: none; } }
#process .pc-lap { width: 150%; }

/* Step card backs (homepage and Branding How It Works) are navy with light text */
.fc-back { background: linear-gradient(160deg, #081B33 0%, #0F294E 70%, #15355F 100%); color: #F3EFE7; }
.fc-back .fc-verb, .fc-back p, .fc-back .fc-name { color: #F3EFE7; }
.fc-back .fc-n { color: var(--champagne); }
.fc-back a, .fc-back .card-link, .fc-back .circle-link { color: #F3EFE7; }
.fc-back .sc-ring { border-color: rgba(243,239,231,.55); color: #F3EFE7; }
.fc-back .fc-close:hover .sc-ring, .fc-back .fc-close:focus-visible .sc-ring, .fc-back a:hover .sc-ring { background: #F3EFE7; border-color: #F3EFE7; color: #081B33; }
.fc-back .circle-link:hover, .fc-back .card-link.circle-link:hover { color: var(--champagne); }
.fc-back { box-shadow: 0 0 0 1px rgba(228,206,159,.28), 0 24px 50px rgba(0,0,0,.28); }   /* a fine champagne edge so the navy back reads on the navy homepage band */

/* Homepage step cards (Oct 27): bigger logo badges so the small words read; the gold line drops to sit just above
   the big word; "Design/Build" sized to clear the + button; the Real Estate card plays the courtyard gate film; the
   first two photos drift further with the scroll (data-drift in index.html), enlarged so no edge shows. */
#foundation .fc-front .fc-marks { right: 16px; top: calc(var(--ph) - 56px); }
#foundation .fc-front .fc-marks svg, #foundation .path-steps .path-step.fc:nth-child(5) .fc-front .fc-marks svg { width: 112px; height: 112px; padding: 8px; }
#foundation .fc-front .fc-label, #foundation .path-steps .path-step.fc:nth-child(5) .fc-front .fc-label { padding-right: 132px; }
#foundation .fc-front .fc-verb { height: auto; padding-top: 14px; }
#foundation .fc-front .fc-role { flex-basis: calc(100% + 104px); margin-right: -104px; }   /* the role line sits below the badge, so it can run the full width */
.fc-photo video { display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 80%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 80%, rgba(0,0,0,0) 100%); }
#foundation .fc-photo img[data-drift].px-drift { scale: 1.3; }

/* Loan Finder: a house builds itself behind the questions (Oct 27). Fine champagne lines draw one stage per answer:
   ground, foundation and sun, walls, roof and chimney, windows, door, shrubs and the tree, then the walkway, fence
   and a wisp of chimney smoke; at the results the windows, door and sun glow warm. Computers only (the card fills
   the width on smaller screens); still for anyone who prefers reduced motion. */
#quiz-home { --hw: clamp(260px, 25vw, 400px); }
#quiz-home > .wrap { position: relative; z-index: 1; }
.lf-build, .lf-ground { display: none; }
@media (min-width: 1100px) {
  .lf-build { display: block; position: absolute; bottom: 0; z-index: 0; width: var(--hw); height: auto; overflow: visible; pointer-events: none; }
  .lf-house { right: max(16px, 2.5vw); }
  .lf-yard { left: max(16px, 2.5vw); }
  .lf-ground { display: block; position: absolute; left: 0; right: 0; bottom: calc(var(--hw) * .1); z-index: 0; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, rgba(228,206,159,0) 0%, rgba(228,206,159,.5) 12%, rgba(228,206,159,.5) 88%, rgba(228,206,159,0) 100%);
    transform: scaleX(0); transform-origin: 50% 50%; transition: transform 2.4s cubic-bezier(.4,0,.2,1); }
  #quiz-home.lf-seen .lf-ground { transform: none; }
}
.lf-build [pathLength] { fill: none; stroke: rgba(228,206,159,.62); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1) var(--d, 0s); }
#quiz-home.lf-seen.b1 .s1, #quiz-home.lf-seen.b2 .s2, #quiz-home.lf-seen.b3 .s3, #quiz-home.lf-seen.b4 .s4,
#quiz-home.lf-seen.b5 .s5, #quiz-home.lf-seen.b6 .s6, #quiz-home.lf-seen.b7 .s7 { stroke-dashoffset: 0; }
.lf-build .glow { fill: rgba(240,206,130,.42); stroke: none; opacity: 0; filter: blur(3px); transition: opacity 2.2s ease .4s; }
.lf-build .g-sun { fill: rgba(240,206,130,.22); filter: blur(10px); }
#quiz-home.b8 .lf-build .glow { opacity: 1; }
.lf-build .smoke { fill: none; stroke: rgba(228,206,159,.4); stroke-width: 1.4; stroke-linecap: round; opacity: 0; }
#quiz-home.lf-seen.b7 .lf-build .smoke { animation: lf-smoke 5s ease-in-out infinite; }
@keyframes lf-smoke { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-22px); } }
@media (prefers-reduced-motion: reduce) {
  .lf-build [pathLength], .lf-ground, .lf-build .glow { transition: none; }
  #quiz-home.lf-seen.b7 .lf-build .smoke { animation: none; opacity: .5; }
}

/* Branding phone: the band of window light now catches the glass. A glint sweeps across the phone's screen, timed to
   pass over it as the room's light band reaches the phone (same 14s cycle as .ps-light). */
.phone-live-section .pm-sheen { overflow: hidden; }
.phone-live-section .pm-sheen::after { content: ""; position: absolute; top: -15%; bottom: -15%; left: -90%; width: 70%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 25%, rgba(255,255,255,.42) 47%, rgba(255,255,255,.6) 52%, rgba(255,255,255,.1) 72%, rgba(255,255,255,0) 100%);
  transform: skewX(-14deg); animation: pm-glare 14s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes pm-glare { 0%, 50% { left: -90%; } 72%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .phone-live-section .pm-sheen::after { animation: none; left: 10%; opacity: .5; } }

/* Meet Ariane (Design/Build), tidied (Oct 27): back inside the page margins like every other section; the portrait sits
   in a clean 4:5 frame whose top and bottom line up with the text beside it; the name stays on one line; fewer words. */
.ed-intro { width: auto; margin-left: 0; margin-right: 0; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; gap: clamp(36px, 5vw, 72px); }
.ed-intro .ed-portrait { max-width: none; aspect-ratio: 4 / 5; align-self: start; }
.ed-intro .ed-portrait img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 30%; }
.ed-intro-text { padding: 0; align-self: center; }
.ed-intro .ed-title { font-size: clamp(2.4rem, 3.6vw, 3.6rem); white-space: nowrap; margin-bottom: 18px; }
.ed-intro .ed-dek { max-width: none; font-size: clamp(1.25rem, 1.6vw, 1.5rem); margin-bottom: 24px; padding-bottom: 22px; }
.ed-intro .ed-creds { margin-top: 26px; }
@media (max-width: 980px) {
  .ed-intro { grid-template-columns: 1fr; }
  .ed-intro .ed-portrait { height: auto; max-width: 460px; }
  .ed-intro-text { padding: 0; }
  .ed-intro .ed-title { white-space: normal; }
}

/* Design/Build panel (Ariane, Oct 27): no sub-links, so the write-up gets the room. A deeper shade behind the words
   and a soft shadow on the type keep it crisp over the busy dining-room photo. */
@media (min-width: 861px) {
  html.pv-big .tour5 .tour-shot#t-design::after {
    background: linear-gradient(90deg, rgba(4,10,20,.92) 0%, rgba(4,10,20,.82) 38%, rgba(4,10,20,.4) 62%, rgba(4,10,20,0) 82%), linear-gradient(0deg, rgba(4,10,20,.55) 0%, rgba(4,10,20,0) 30%); }
  html.pv-big .tour5 .tour-info[data-i="0"] .ti-h { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
  html.pv-big .tour5 .tour-info[data-i="0"] .ti-p { margin-top: 18px; max-width: 40ch; font-size: 1.12rem; line-height: 1.65; color: #FFFFFF; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
  html.pv-big .tour5 .tour-info[data-i="0"] .ti-cta { margin-top: 32px; }
}

/* FAQ answers that list examples (Ariane, Oct 27: the "Four Phone Calls" stories folded into the first FAQ) */
.faq-a p:has(+ ul) { padding-bottom: 12px; }
.faq-a ul { margin: 0; padding: 0 0 24px 1.1em; max-width: 720px; color: var(--ink-soft); }
.faq-a li { margin: 0 0 10px; line-height: 1.6; }
.faq-a li::marker { color: var(--brass); }
.faq-a li strong { color: var(--navy-dark); font-weight: 500; }

/* Branding: "Hire Our Marketing Agency!" goes straight to the four service cards; the ten
   brand boards are hidden and open full screen from the cards. */
#branding-services .section-head { margin-bottom: 34px; }
/* More breathing room between the phone section above and "Brand to Search, Handled." */
.page-design #branding-services { padding-top: 104px; }
@media (max-width: 760px) { .page-design #branding-services { padding-top: 72px; } }
/* How It Works on the blue background with the silk-wave lines drifting across it. */
#process .fabric-mask {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.35) 75%, rgba(0,0,0,0.15) 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.35) 75%, rgba(0,0,0,0.15) 100%);
}
#sb-slides[hidden] { display: none !important; }

/* Loan Finder: silk-wave lines flow across the whole blue band from the moment it opens, and
   the house and garden sit up beside the question card (not at the bottom) so the drawing is
   in view while each answer adds to it. */
#quiz-home .silk-canvas { color: #9fc3ff; opacity: 0.3; }
@media (min-width: 1100px) {
  #quiz-home { --lf-top: 330px; }
  #quiz-home .lf-build { top: var(--lf-top); bottom: auto; }
  #quiz-home .lf-ground { top: calc(var(--lf-top) + var(--hw) * 380 / 420); bottom: auto; }
}
/* Loan Finder clean-up: no full-width ground line across the band, and pieces of the house
   that haven't been drawn yet stay fully hidden (their rounded ends showed as specks). */
#quiz-home .lf-ground { display: none !important; }
.lf-build [pathLength] { opacity: 0; }
#quiz-home.lf-seen.b1 .s1, #quiz-home.lf-seen.b2 .s2, #quiz-home.lf-seen.b3 .s3, #quiz-home.lf-seen.b4 .s4,
#quiz-home.lf-seen.b5 .s5, #quiz-home.lf-seen.b6 .s6, #quiz-home.lf-seen.b7 .s7 { opacity: 1; }
.flip-photo img[src*="card-dscr-guests"] { scale: 1; translate: none !important; object-position: 60% 0; }   /* DSCR / Investor guests: zoomed out, top of the photo kept so his head is never cut off */

/* Homepage four disciplines on phones: more breathing room between each photo and its words. */
@media (max-width: 860px) {
  html.pv-big .tour5 .tour-info { padding-top: 44px; }
}

/* Desktop nav: the menus open on hover (or keyboard focus), since a click on the top word now
   opens its main page. An invisible bridge covers the gap so the menu stays open on the way down. */
@media (min-width: 1101px) and (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
  }
  .nav-dropdown:hover .nav-caret { transform: rotate(225deg) translate(0, 1px); }
  .nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
}

/* ============ Phone quality pass (2026-10-27) ============ */
/* Branding "Hire Our Marketing Agency" tiles on phones: there is no hover on a touchscreen, so
   the whole panel shows at rest: number, title, the full description and the "View" link
   (they were cut off mid-sentence with the link hidden below the tile). */
@media (max-width: 860px), (hover: none) {
  html.pv-big .svc-body { transform: none; }
  html.pv-big .svc-d, html.pv-big .svc-cta { opacity: 1; }
}
@media (max-width: 560px) {
  html.pv-big .svc-tile { aspect-ratio: 3 / 4.3; }
  html.pv-big .svc-tile::before { background: linear-gradient(180deg, rgba(8,27,51,0) 22%, rgba(8,27,51,.82) 40%, rgba(8,27,51,.97) 54%); }
}

/* Loan calculators on phones: the result box and the "Get these results by email" box each
   had their own wide padding inside the calculator's padding, squeezing the words into a
   narrow column; the big result ("Conventional Loan") also ran past its box. */
@media (max-width: 560px) {
  html.pv-big .calc-result { padding: 22px 18px; }
  html.pv-big .prequal.calc-lead { padding: 24px 18px; }
  html.pv-big .calc-result .big { font-size: clamp(1.75rem, 8.4vw, 2.3rem); overflow-wrap: break-word; }
}

/* Glossary on phones: the A–Z strip now sits right under the category strip (a band of
   scrolling terms showed through the gap between the two pinned bars). */
@media (max-width: 860px) {
  html.pv-big .letter-nav { top: calc(var(--nav-h) + 65px); }
}

/* Footer contact on phones: the two email addresses get the full width so they no longer
   run into (or past) the right edge of the screen. */
@media (max-width: 560px) {
  html.pv-big .footer-grid > div:has(> .footer-contact) { grid-column: 1 / -1; }
}

/* "Send a message" block on phones: the Book a Call link's round arrow sat lower than its
   words; now the words and the circle share one centre line, like Submit above it. */
@media (max-width: 860px) {
  html.pv-big .cb-ways .circle-link { display: inline-flex; align-items: center; }
}

/* Financing "Try the Loan Finder" / "Learn About Renovation Loans" on phones: the round arrow
   sits right after the words (it was pushed to the far right edge of the screen). */
@media (max-width: 860px) {
  html.pv-big .engagement-tracks > .card-link { justify-self: start; }
}

/* Design/Build "Financing Your Renovation" link on phones: one line, arrow right after it
   (it wrapped onto two centred lines with the circle stranded at the screen edge). */
@media (max-width: 560px) {
  html.pv-big .ed-quote-cta .sc-label { white-space: nowrap; font-size: clamp(13px, 3.9vw, 16px); }
}

/* Phone menu: Design/Build, Financing, Branding and Resources use the same typeface and
   weight as Home, Real Estate and About (they showed in a thinner, different font). */
@media (max-width: 1100px) {
  html.pv-big .nav-links .nav-dropdown-toggle { font-family: var(--label-font); font-weight: 500; }
}

/* Loan cards (back side) on phones: a tapped glossary chip kept white text on a white chip,
   so the word vanished; it now fills brass with white text as intended. */
@media (max-width: 860px) {
  .flip-back .chip:hover, .flip-back .chip.open, .flip-back .chip:focus-within { background: var(--brass-dark); color: #fff; border-color: var(--brass-dark); }
}

/* Real Estate "Buying" film on phones: the frame starts below the header and is shorter and
   wider, so the family's and Ariane's heads are no longer hidden under the header and more
   of the group stays in the picture. */
@media (max-width: 860px) {
  html.pv-big .re-buy-pin { top: var(--nav-h); height: 78vw; max-height: 60svh; }
}

/* 404 page on small phones: the text column was wider than the screen, so the right-hand
   words ("Financing", "Branding") ran off the edge; it now fits inside the side margins. */
@media (max-width: 560px) {
  html.pv-big .nf-inner { min-width: 0; width: 100%; }
  html.pv-big .nf-list.dlist { font-size: clamp(.74rem, 3.7vw, .9rem); letter-spacing: .12em; column-gap: 1.2em; }
}

/* ---------- Meet Ariane: four titles, each its own topic with a gold rule; its detail (degree, license) in white beneath ---------- */
.meet .meet-role { display: block; }
.meet-roles { list-style: none; margin: 0; padding: 0; }
.meet-roles li { display: flex; align-items: flex-start; gap: 14px; padding: 0; margin: 0 0 18px; }
.meet-roles li:last-child { margin-bottom: 0; }
.meet-roles .meet-rule { flex: none; width: 32px; margin-top: .62em; }
.meet-roles .meet-no { display: block; margin-top: 5px; font-family: var(--label-font); font-style: normal; font-weight: 400; font-size: .92rem; letter-spacing: .02em; text-transform: none; line-height: 1.45; color: rgba(243,239,231,.86); }
@media (max-width: 980px) {
  .meet .meet-role { font-size: clamp(1.15rem, 3.6vw, 1.45rem); }
  .meet-roles .meet-no { font-size: .66em; }
}
.meet-roles .nw { white-space: nowrap; }
/* Top menu one point smaller on narrower laptops so "Branding & Web" and Book a Call fit */
@media (min-width: 1101px) and (max-width: 1440px) {
  html.pv-big .nav-links > li > a, html.pv-big .nav-links .nav-dropdown-toggle { font-size: 10px; }
}
/* Phones: the 2x2 discipline list a touch smaller so "04 Branding & Web" fits its column */
@media (max-width: 520px) { .hero-breathe .hs-list.dlist, .meet-k .dlist { font-size: .72rem; letter-spacing: .08em; column-gap: 1em; } }
@media (max-width: 350px) { .hero-breathe .hs-list.dlist, .meet-k .dlist { font-size: .66rem; letter-spacing: .06em; column-gap: .9em; } }
@media (max-width: 520px) { .footer-wordmark .fw-list { font-size: .72rem; letter-spacing: .08em; column-gap: 1em; } }

/* ---------- Path cards (01-04): number and topic sit lower and read clearer; cards get a thick, premium edge ---------- */
.fc-front .fc-label { padding-top: 38px; row-gap: 8px; }
.fc-front .fc-name { font-size: 1.02rem; font-weight: 700; letter-spacing: .13em; color: #5A4410; }
.fc-front .fc-role { color: var(--navy-dark); }
.fc-face {
  box-shadow:
    inset 0 0 0 1px rgba(194,162,102,.55),          /* fine gold edge */
    0 1px 0 #EFE9DC, 0 2px 0 #E6DECB, 0 3px 0 #DCD2BA, 0 4px 0 #D1C4A6, 0 5px 0 #C2A266,   /* card-stock thickness, gilt at the base */
    0 28px 46px -18px rgba(0,0,0,.65), 0 3px 10px rgba(0,0,0,.2);
}
.fc-face::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(194,162,102,.35); border-radius: 10px; pointer-events: none; z-index: 3; }
@media (max-width: 640px) { .fc-front .fc-label { padding-top: 30px; } }

/* Homepage path cards: 01 shows the plans on a table in the room; 04 shows the live site on the laptop in the clean room */
html.pv-big #foundation .fc-photo img.fc-room { object-position: 38% 50%; scale: 1; translate: none; transform: none; }
html.pv-big #foundation .fc:hover .fc-photo img.fc-room { transform: scale(1.04); }   /* whole room in view: plants, plans and table */
.fc-photo .fc-web { position: absolute; inset: 0; display: block; }
.fc-photo .fc-web .wl-stage { width: 165cqw; top: -12cqw; }
@media (max-width: 640px) { .fc-photo .fc-web .wl-stage { width: 112cqw; top: 0; left: calc(50% - 6cqw); } }   /* phones: laptop whole, to the left of the coin */

/* ---------- Branding & Web "Hire Our Agency" tiles become cards like the homepage 01-04 cards: picture on top, white
   panel below with a clear gold number, bronze topic, description and link; card-stock edge and fine gold frame ---------- */
html.pv-big .svc-tiles { gap: 24px; align-items: stretch; }
html.pv-big .svc-tile { aspect-ratio: auto; display: flex; flex-direction: column; background: #FFFFFF; color: var(--navy-dark); border-radius: 16px; overflow: hidden; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(194,162,102,.55), 0 1px 0 #EFE9DC, 0 2px 0 #E6DECB, 0 3px 0 #DCD2BA, 0 4px 0 #D1C4A6, 0 5px 0 #C2A266,
    0 26px 40px -22px rgba(8,27,51,.45), 0 3px 10px rgba(8,27,51,.1);
  transition: transform .5s cubic-bezier(.2,.7,.2,1); }
html.pv-big .svc-tile::before { content: none; }
html.pv-big .svc-tile::after { inset: 9px; background: none; opacity: 1; border: 1px solid rgba(194,162,102,.4); border-radius: 10px; pointer-events: none; z-index: 3; }
html.pv-big .svc-img { position: relative; inset: auto; flex: none; aspect-ratio: 1 / 1; overflow: hidden; }
html.pv-big .svc-img.web-live .wl-stage { width: 180cqw; top: -4cqw; }
html.pv-big .svc-body { position: relative; inset: auto; transform: none; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 26px; background: #FFFFFF; }
html.pv-big .svc-no { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: 0; color: #A8873A; padding: 0; font-variant-numeric: lining-nums; }
html.pv-big .svc-no::after { content: none; }
html.pv-big .svc-t { min-height: 0; display: block; font-family: var(--label-font); font-size: 1rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; line-height: 1.35; color: #5A4410; }
html.pv-big .svc-d { opacity: 1; font-size: .95rem; line-height: 1.55; color: var(--ink-soft); }
html.pv-big .svc-cta { opacity: 1; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(194,162,102,.45); justify-content: space-between; color: var(--navy-dark); font-weight: 500; }
html.pv-big .svc-go { border-color: rgba(21,48,79,.35); flex: none; }
@media (hover: hover) {
  html.pv-big .svc-tile:hover, html.pv-big .svc-tile:focus-visible { transform: translateY(-8px); }
  html.pv-big .svc-tile:hover .svc-go, html.pv-big .svc-tile:focus-visible .svc-go { background: var(--navy-dark); border-color: var(--navy-dark); color: #F3EFE7; }
}
html.pv-big .svc-cta { font-size: .72rem; letter-spacing: .08em; gap: 10px; text-wrap: balance; }
html.pv-big .svc-cta > :first-child, html.pv-big .svc-cta { min-width: 0; }

/* Laptop photo: the armchair at the far left of the photo ends ~23% across. Every crop of it starts past that,
   so no sliver of the chair shows at the edge (Branding "Websites" card, How It Works "Test", homepage 04) */
html.pv-big .svc-img.web-live .wl-stage { width: 205cqw; top: -12cqw; }
#process .pc-lap { width: 205%; transform: translate(-50%, -61.5%); }
.fc-photo .fc-web .wl-stage { width: 205cqw; top: -12cqw; left: 50%; }
@media (max-width: 640px) { .fc-photo .fc-web .wl-stage { width: 205cqw; top: -36cqw; left: 50%; } }

/* ---------- Branding "How It Works": a timeline instead of cards (the service cards sit right above). Each step
   sits under its gold number on the navy silk: label, one-word verb, one sentence; one call to action below ---------- */
.path-steps.tl { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 0; }
.tl-step { text-align: center; padding: 26px 0 0; }
.tl-step .tl-n { display: none; }
.tl-step .tl-name { margin: 0 0 12px; font-family: var(--label-font); font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); }
.tl-step .tl-verb { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 3.2vw, 3.2rem); line-height: 1; color: #FFFFFF; }
.tl-step .tl-d { margin: 0 auto; max-width: 27ch; font-size: 1rem; line-height: 1.65; color: rgba(243,239,231,.84); }
.tl-cta { display: flex; justify-content: center; margin-top: clamp(44px, 5vw, 64px); }
.tl-cta .submit-circle { color: #F3EFE7; }
@media (max-width: 980px) {
  .path-steps.tl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .tl-step { padding-top: 0; }
  .tl-step .tl-n { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 18px; border: 1px solid var(--champagne); border-radius: 50%; font-family: var(--label-font); font-size: 1rem; font-weight: 600; letter-spacing: .06em; color: #F3EFE7; }
}
@media (max-width: 680px) {
  .path-steps.tl { grid-template-columns: 1fr; row-gap: 44px; }
}
.path-steps.tl .path-step.tl-step, .path-steps.tl .path-step.tl-step:hover { background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.path-steps.tl .path-step.tl-step h3.tl-verb { font-weight: 500; }
.path-steps.tl .path-step.tl-step > p.tl-d { color: rgba(243,239,231,.84); margin-bottom: 0; }
.path-steps.tl .path-step.tl-step > p.tl-name { color: var(--champagne); }
/* Branding "Websites" card: closer on the laptop and lower in the room, so the table fills more and the window less */
html.pv-big .svc-img.web-live .wl-stage { width: 240cqw; top: -35cqw; }
/* Websites card hover: the laptop photo and its screen zoom together (the whole stage scales), never each on its own */
html.pv-big .svc-tile .svc-img.web-live img, html.pv-big .svc-tile:hover .svc-img.web-live img, html.pv-big .svc-tile:focus-visible .svc-img.web-live img { transform: none; }
/* SEO & AEO: monthly care shown as a gold badge, a bigger headline, and Mark's quote */
.seo-x-badge { display: inline-block; margin-bottom: 20px; padding: 9px 18px; border: 1px solid var(--champagne); border-radius: 999px; font-family: var(--label-font); font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }
#seo-aeo .seo-x-copy .split-headline { font-size: clamp(2.9rem, 5.6vw, 5rem); line-height: 1.02; }
.seo-x-quote { position: relative; margin: 6px 0 38px; padding: 30px 32px 28px; max-width: 560px; background: rgba(243,239,231,.05); border: 1px solid rgba(214,190,140,.45); border-radius: 14px; }
.seo-x-quote::before { content: "\201C"; position: absolute; top: 2px; right: 24px; font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--champagne); opacity: .55; pointer-events: none; }
.seo-x-stars { display: flex; gap: 6px; margin-bottom: 16px; }
.seo-x-stars svg { width: 24px; height: 24px; fill: var(--champagne); }
.seo-x-quote p { margin: 0 0 16px; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.5vw, 2.15rem); line-height: 1.28; color: #F3EFE7; }
.seo-x-quote footer { font-family: var(--label-font); font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); }
@media (max-width: 760px) { .seo-x-quote { padding: 24px 22px 22px; } .seo-x-stars svg { width: 20px; height: 20px; } }
/* Mark's quote: its own centered, full-width feature between the SEO intro and the report */
#seo-aeo .seo-x-quote { margin: clamp(56px, 7vw, 88px) auto clamp(48px, 6vw, 72px); max-width: 940px; padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 64px); text-align: center; }
#seo-aeo .seo-x-quote::before { content: none; }
#seo-aeo .seo-x-stars { justify-content: center; gap: 10px; margin-bottom: 22px; }
#seo-aeo .seo-x-stars svg { width: 34px; height: 34px; }
#seo-aeo .seo-x-quote p { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.22; margin-bottom: 22px; text-wrap: balance; }
#seo-aeo .seo-x-quote footer { font-size: .9rem; }
@media (max-width: 760px) { #seo-aeo .seo-x-stars svg { width: 26px; height: 26px; } }

/* Branding, "Your website is your front door": a welcoming front-door photo sits above the
   three points, tying the home to the website idea. */

/* Branding, SEO & AEO: free diagnostic offer beside a sample report card graded A–F */
.seo-diag { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin: 72px 0 0; padding-top: 56px; border-top: 1px solid rgba(228, 206, 159, 0.35); }
.seo-diag-h { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.12; color: #F3EFE7; margin: 0 0 22px; text-wrap: balance; }
.seo-diag-h em { color: var(--champagne); }
.seo-diag-copy p { color: rgba(243, 239, 231, 0.86); font-size: 1.04rem; line-height: 1.65; margin: 0 0 16px; }
.seo-diag-copy .btn-row { margin-top: 26px; }
.diag-card { margin: 0; background: #fff; color: var(--ink); padding: 28px 30px 20px; border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.diag-overall { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.diag-overall span { font-family: var(--label-font); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.diag-overall b { width: 64px; height: 64px; font-size: 2.2rem; }
.diag-list { list-style: none; margin: 0; padding: 0; }
.diag-list li { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(21,48,79,.12); }
.diag-list li strong { display: block; font-size: .95rem; color: var(--navy-dark); font-weight: 600; }
.diag-list li span { display: block; font-size: .85rem; line-height: 1.45; color: var(--ink-soft); margin-top: 2px; }
.diag-card b[class^="g-"] { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1; color: #fff; }
.diag-card .g-f { background: #B3261E; }
.diag-card .g-d { background: #D2691E; }
.diag-card .g-c { background: #C9A227; }
.diag-card .g-b { background: #3F7D5C; }
.diag-card figcaption { margin-top: 14px; font-size: .76rem; color: var(--ink-soft); }
@media (max-width: 900px) { .seo-diag { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .diag-card { padding: 22px 18px 16px; margin: 0 -8px; } .diag-list li { gap: 12px; } }
@media (max-width: 560px) { .diag-card .ss-head { flex-direction: row; align-items: flex-end; } .diag-card .ss-title { font-size: 1.35rem; } .diag-overall b { width: 52px; height: 52px; font-size: 1.8rem; } }

/* Free diagnostic: the sample card reads as a private website report (score ring, what's working, opportunities, free-report offer) */
.seo-diag:has(.rpt) { grid-template-columns: .82fr 1.18fr; align-items: start; }
.seo-diag:has(.rpt) .seo-diag-copy { position: sticky; top: calc(var(--nav-h) + 24px); }
.diag-card.rpt { padding: 30px 34px 22px; background: #FCFBF8; border-top: 4px solid var(--champagne); }
.rpt-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(21,48,79,.14); }
.rpt-conf { font-family: var(--label-font); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.rpt-hero { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 22px 0 20px; }
.rpt-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.4vw, 2.15rem); line-height: 1.08; color: var(--navy-dark); text-wrap: balance; }
.rpt-title em, .rpt-h em, .rpt-offer-h em { color: var(--brass); }
.rpt-sub { margin: 10px 0 0; font-size: .86rem; line-height: 1.5; color: var(--ink-soft); }
.rpt-score { position: relative; flex: 0 0 auto; width: 158px; height: 158px; border-radius: 50%; background: var(--navy-dark); box-shadow: 0 10px 26px rgba(21,48,79,.3), inset 0 0 0 4px #FCFBF8, inset 0 0 0 5px rgba(228,206,159,.6); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rpt-score svg { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); transform: rotate(-90deg); }
.rpt-score circle { fill: none; stroke-width: 4; }
.rs-track { stroke: rgba(255,255,255,.14); }
.rs-arc { stroke: var(--champagne); stroke-linecap: round; }
.rs-num { font-family: var(--serif); font-weight: 500; font-size: 2.5rem; line-height: .9; color: #fff; }
.rs-cap { font-family: var(--label-font); font-size: .46rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 3px; }
.rs-tag { margin-top: 5px; padding: 2px 9px; border-radius: 999px; background: var(--champagne); color: var(--navy-dark); font-size: .54rem; font-weight: 600; letter-spacing: .02em; line-height: 1.5; }
.rpt-h { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.15; color: var(--navy-dark); }
.rpt-h svg { display: inline-block; vertical-align: middle; margin-left: 4px; width: 18px; height: 18px; fill: none; stroke: var(--brass); stroke-width: 2; }
.rpt-ok { background: #fff; border: 1px solid rgba(21,48,79,.12); border-radius: 10px; padding: 16px 20px 14px; margin-bottom: 22px; box-shadow: 0 4px 14px rgba(21,48,79,.05); }
.rpt-ok ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 5px; }
.rpt-ok li { font-size: .88rem; line-height: 1.45; color: var(--ink); }
.rpt-ok li::marker { color: var(--brass); }
.rpt-opps { list-style: none; counter-reset: opp; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rpt-opps li { counter-increment: opp; background: #fff; border: 1px solid rgba(21,48,79,.12); border-radius: 10px; padding: 14px 16px 14px 48px; position: relative; box-shadow: 0 4px 14px rgba(21,48,79,.05); }
.rpt-opps li::before { content: counter(opp); position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-dark); color: var(--champagne); font-family: var(--serif); font-weight: 600; font-size: .95rem; line-height: 1; display: grid; place-items: center; }
.rpt-opps strong { display: block; font-size: .9rem; font-weight: 600; color: var(--navy-dark); line-height: 1.3; }
.rpt-opps span { display: block; font-size: .8rem; line-height: 1.45; color: var(--ink-soft); margin: 4px 0 8px; }
.rpt-opps i { font-style: normal; display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 4px; background: var(--bronze-tint); color: #6B4A12; }
.rpt-offer { position: relative; background: var(--cream); border: 1px solid rgba(132,109,31,.28); border-left: 4px solid var(--navy-dark); border-radius: 10px; padding: 22px 24px 22px; }
.rpt-offer-h { margin: 0 0 8px; padding-right: 160px; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.1; color: var(--navy-dark); }
.rpt-offer p:not(.rpt-offer-h) { margin: 0 0 16px; font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.rpt-stamp { position: absolute; top: -18px; right: 16px; transform: rotate(5deg); padding: 9px 14px; border: 1.5px solid var(--brass); outline: 1px solid var(--brass); outline-offset: 3px; border-radius: 6px; background: #FCFBF8; color: var(--brass); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(21,48,79,.14); }
.rpt-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 999px; background: var(--navy-dark); color: #fff; font-family: var(--label-font); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.rpt-btn:hover, .rpt-btn:focus-visible { background: var(--dark); color: var(--champagne); }
@media (max-width: 1100px) { .seo-diag:has(.rpt) { grid-template-columns: 1fr; } .seo-diag:has(.rpt) .seo-diag-copy { position: static; } }
@media (max-width: 560px) {
  .diag-card.rpt { padding: 22px 18px 16px; }
  .rpt-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .rpt-hero { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .rpt-score { width: 140px; height: 140px; } .rs-num { font-size: 2.2rem; }
  .rpt-opps { grid-template-columns: 1fr; }
  .rpt-h { font-size: 1.25rem; } .rpt-ok .rpt-h { white-space: nowrap; }
  .rpt-offer { padding: 34px 18px 18px; } .rpt-offer-h { padding-right: 0; font-size: 1.4rem; }
}

/* ---------- Branding "Your website is your front door": the door photo fills the band behind the words
   (full bleed, drifting as you scroll); navy shade on the left and along the bottom keeps the words legible ---------- */
#web-showcase:has(.ws2-door-band) { padding-top: 0 !important; }
.ws2-door-band { position: relative; background: var(--dark); color: #fff; }
.ws2-door-stage { position: relative; overflow: hidden; isolation: isolate; display: flex; min-height: min(100svh, 980px); }
.ws2-door-bg { position: absolute; inset: 0 -14% 0 0; z-index: -2; overflow: hidden; }
.ws2-door-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ws2-door-bg img.px-drift { scale: 1.12; }
.ws2-door-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,27,51,.92) 0%, rgba(8,27,51,.8) 32%, rgba(8,27,51,.3) 50%, rgba(8,27,51,0) 62%),
              linear-gradient(0deg, rgba(8,27,51,.94) 0%, rgba(8,27,51,.7) 20%, rgba(8,27,51,0) 42%); }
.ws2-door-stage > .wrap { display: flex; width: 100%; }
.ws2-door-band .ws2-head { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 56px; width: 100%; padding: clamp(96px, 14vh, 150px) 0 clamp(40px, 6vh, 64px); }
.ws2-door-band .ws2-intro { max-width: 520px; }
.ws2-door-band .ws2-k, .ws2-door-band .ws2-k .dn { color: var(--champagne); }
.ws2-door-band .split-headline { color: #fff; }
.ws2-door-band .split-headline em { color: var(--champagne); }
.ws2-door-band .ws2-lede { color: rgba(255,255,255,.84); }
.ws2-door-band .ws2-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); border-top: 0; }
.ws2-door-band .ws2-points li { border-top: 1px solid rgba(255,255,255,.3); border-bottom: 0; padding: 18px 0 0; color: rgba(255,255,255,.8); }
.ws2-door-band .ws2-points .dn { color: var(--champagne); }
.ws2-door-band .ws2-points strong { color: #fff; }
@media (max-width: 860px) {
  .ws2-door-stage { min-height: 0; }
  .ws2-door-stage::before { display: none; }
  .ws2-door-bg { inset: 0 0 auto 0; height: 78svh; }
  .ws2-door-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,51,0) 0%, rgba(8,27,51,.1) 32%, rgba(8,27,51,.78) 52%, rgba(8,27,51,.96) 63%, var(--dark) 72%); }
  .ws2-door-band .ws2-head { gap: 28px; padding: 50svh 0 48px; }
  .ws2-door-band .ws2-points { grid-template-columns: 1fr; }
  .ws2-door-band .ws2-points li { padding: 16px 0; }
}

/* Desktop: the door scene pins like Meet Ariane. The door holds the screen and slowly pushes in while the
   paragraph and the three points rise in one after another (main.js); the headline is there from the start. */
@media (min-width: 861px) {
  html.door-live .ws2-door-band { height: 240svh; }
  html.door-live .ws2-door-stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
  html.door-live .ws2-door-band :is(.ws2-lede, .ws2-points li) { opacity: 0; will-change: transform, opacity; }
  .ws2-door-bg img { transform-origin: 50% 42%; }
}
@media (min-width: 861px) and (max-height: 820px) {
  .ws2-door-band .ws2-head { padding: calc(var(--hdr, 60px) + 5vh) 0 5vh; gap: 28px; }
  .ws2-door-band .split-headline { font-size: clamp(2.4rem, 7.4vh, 4rem); }
  .ws2-door-band .ws2-lede { margin-top: 14px; font-size: 1rem; line-height: 1.6; }
}

/* White graph-paper breather above the door, like the homepage's "01 Design/Build" band: "04 Websites / Your website is
   your front door" sits in it at full size, rides up with it, then stops exactly where the door scene's headline sits while
   the photo slides up underneath (main.js); it turns white and champagne only where the photo is under it. */
.ws2-door-intro { position: relative; z-index: 3; display: flex; align-items: center; height: clamp(240px, 34svh, 340px);
  background-color: #FFFFFF;
  background-image: linear-gradient(rgba(168,134,58,.32) 1px, transparent 1px), linear-gradient(90deg, rgba(168,134,58,.32) 1px, transparent 1px),
                    linear-gradient(rgba(21,48,79,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(21,48,79,.07) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: center top; }
.ws2-door-intro .wrap { width: 100%; }
.ws2-door-tag { will-change: transform; }
.ws2-door-title { margin: 0; max-width: 520px; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.2vw, 3.8rem); line-height: 1.06; letter-spacing: -.01em; color: var(--navy-dark); }
.ws2-door-title em { display: block; font-style: italic; font-weight: 600; color: var(--brass); }
.ws2-door-band h2.ws2-h-ghost em { display: block; }
html.door-live .ws2-door-band :is(.ws2-h-ghost, .ws2-k-ghost) { visibility: hidden; }
@media (max-width: 860px) {
  .ws2-door-intro { height: auto; padding: 64px 0 56px; }
  .ws2-door-title { font-size: clamp(2.4rem, 10.5vw, 3.4rem); }
  .ws2-door-band :is(.ws2-h-ghost, .ws2-k-ghost) { display: none; }
}
.ws2-door-tag .ws2-k .dn { color: inherit; }

/* Real Estate staging slider: "Unfurnished" and "Furnished" set editorially above the photo, a gold-ruled cue between
   them, and a bigger handle with a soft gold halo that sweeps once on its own (portfolio-lightbox.js) until touched. */
.ba-heads { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px); margin-bottom: clamp(18px, 3vh, 28px); }
.ba-head { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1; color: var(--navy-dark); }
.ba-head em { font-style: italic; font-weight: 600; color: var(--brass); }
.ba-cue { display: flex; align-items: center; gap: 18px; margin: 0; }
.ba-cue-rule { flex: 1; height: 1px; background: var(--gold); opacity: .6; }
.ba-cue-text { font-family: var(--label-font); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.re-stage .ba-knob { width: 68px; height: 68px; font-size: 1.7rem; border-width: 2px; }
.re-stage .ba-handle { width: 2px; margin-left: -1px; }
.ba-nudge .ba-knob::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid #E4CE9F; animation: ba-halo 2.2s ease-out infinite; pointer-events: none; }
.ba-nudge.ba-touched .ba-knob::after { animation: none; opacity: 0; }
@keyframes ba-halo { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ba-nudge .ba-knob::after { animation: none; opacity: .7; } }
@media (max-width: 860px) {
  .ba-heads { grid-template-columns: 1fr auto; gap: 10px 12px; }
  .ba-head { font-size: clamp(1.6rem, 7.4vw, 2.1rem); }
  .ba-cue { grid-column: 1 / -1; order: 3; gap: 12px; }
  .ba-cue-text { font-size: .68rem; letter-spacing: .18em; }
  .re-stage .ba-knob { width: 54px; height: 54px; font-size: 1.4rem; }
}

/* Design/Build, Same Room. Different Life.: Newport leads full bleed on the dark section, the bedroom follows framed (Oct 28) */
.bg-dark .ba-head { color: #fff; }
.bg-dark .ba-head em { color: #E4CE9F; }
.bg-dark .ba-cue-text { color: rgba(243, 239, 231, 0.72); }
#before-after .re-stage { margin-bottom: clamp(64px, 9vw, 120px); }
#before-after .ba-second .section-head { margin-bottom: 28px; }

/* Homepage 04 card: the laptop photo and its live screen must stay locked together, so the card-photo zoom/drift
   (html.pv-big .fc-photo img) is turned off inside it; the whole stage still drifts as one (main.js). */
html.pv-big .fc-photo .fc-web img { scale: none; translate: none; }

/* "Meet Ariane" on the four discipline pages: short, curated, editorial spreads in the spirit of the homepage's Meet
   section. Full-width portrait fading into the page, name, ruled credentials, one big italic line and one short
   sentence. Each page varies the tone (white, navy, graph paper) and the side the portrait sits on. */
.ed-principal:has(.ab-spread) { padding-top: 0; }
.ed-principal:has(.ab-spread):not(:has(.ed-board)) { padding-bottom: 0; }
.ab-spread { position: relative; width: 100vw; margin-left: calc(50% - 50vw); min-height: min(92svh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: #FFFFFF; color: var(--navy-dark); }
.ab-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 54%; margin: 0; z-index: -1; overflow: hidden; }
.ab-photo { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 36%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 36%); }
.ab-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ab-left .ab-photo { right: auto; left: 0; }
.ab-left .ab-photo { -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,0) 0%, #000 36%); mask-image: linear-gradient(270deg, rgba(0,0,0,0) 0%, #000 36%); }
.ab-text { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vh, 130px) 24px; }
.ab-text > * { max-width: 500px; }
.ab-left .ab-text > * { margin-left: auto; }
.ab-k { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--label-font); font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.ab-rule { flex: none; width: 44px; height: 1px; background: currentColor; }
.ab-name { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.005em; color: inherit; }
.ab-name em { font-style: italic; color: var(--brass); }
.ab-roles { list-style: none; display: grid; gap: 16px; margin: 28px 0 0; padding: 0; }
.ab-roles li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; font-family: var(--label-font); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.ab-roles li .ab-rule { margin-top: .62em; }
.ab-no { display: block; margin-top: 5px; font-family: var(--label-font); font-size: .98rem; letter-spacing: .01em; text-transform: none; color: var(--ink-soft); }
.ab-dek { margin: clamp(30px, 5vh, 48px) 0 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.16; color: var(--navy-dark); }
.ab-dek em { color: var(--brass); }
.ab-body { margin: 16px 0 0; font-size: 1.02rem; line-height: 1.7; color: var(--ink-soft); }
.ab-dark { background: var(--dark); color: #FFFFFF; }
.ab-dark :is(.ab-k, .ab-roles li, .ab-name em, .ab-dek em) { color: var(--champagne); }
.ab-dark .ab-no { color: rgba(243,239,231,.78); }
.ab-dark .ab-dek { color: #FFFFFF; }
.ab-dark .ab-body { color: rgba(243,239,231,.8); }
.ab-paper { background-color: #FFFFFF;
  background-image: linear-gradient(rgba(168,134,58,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(168,134,58,.3) 1px, transparent 1px),
                    linear-gradient(rgba(21,48,79,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(21,48,79,.07) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: center top; }
@media (max-width: 860px) {
  .ab-spread { display: block; min-height: 0; }
  .ab-photo, .ab-left .ab-photo { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1; }
  .ab-photo img { object-position: 50% 20%; }
  .ab-photo, .ab-left .ab-photo { -webkit-mask-image: linear-gradient(180deg, #000 62%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 62%, rgba(0,0,0,0) 100%); }
  .ab-text { margin-top: -48px; padding: 0 24px 64px; }
  .ab-left .ab-text > * { margin-left: 0; }
  .ab-name { font-size: clamp(2.3rem, 10vw, 3rem); }
}
.ab-dek em { display: block; }

/* "Ariane Bibas" never breaks across two lines in the Meet headings */
.name-nw { white-space: nowrap; }

/* Financing "What's Your Story?": the six stories are separate numbered tiles (3 x 2) instead of one run of spaced
   capitals; the chosen one fills navy. The panel headline is smaller, and the label that repeated the tab is gone. */
.pg-inner #your-story .help-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(36px, 5vh, 52px); padding: 0; border: 0; counter-reset: story; }
.pg-inner #your-story .help-pill { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 18px 22px 20px; text-align: left; white-space: normal;
  background: #FFFFFF !important; border: 1px solid rgba(21,48,79,.16) !important; border-radius: 4px; color: var(--navy-dark) !important;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 500; line-height: 1.15; letter-spacing: 0; text-transform: none;
  transition: border-color .2s, background-color .2s, color .2s; cursor: pointer; }
.pg-inner #your-story .help-pill::before { counter-increment: story; content: counter(story, decimal-leading-zero); font-family: var(--label-font); font-size: .78rem; font-weight: 500; letter-spacing: .2em; color: var(--brass); }
.pg-inner #your-story .help-pill:hover { border-color: var(--brass) !important; }
.pg-inner #your-story .help-pill.active { background: var(--navy-dark) !important; border-color: var(--navy-dark) !important; color: #FFFFFF !important; }
.pg-inner #your-story .help-pill.active::before { color: var(--champagne); }
.pg-inner #your-story .help-panel .split-headline { font-size: clamp(1.9rem, 3vw, 2.9rem); max-width: 24ch; }
@media (max-width: 860px) {
  .pg-inner #your-story .help-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pg-inner #your-story .help-pill { padding: 14px 16px 16px; gap: 8px; font-size: 1.08rem; }
}

/* What's Your Story, round 2: everything centred; seven tiles (4 + 3, centred) now that Business & Commercial is
   one of them; the chosen story sits on a darker grey band so it reads apart from the tiles above. */
.pg-inner #your-story { padding-bottom: 0; }
.pg-inner #your-story .section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.pg-inner #your-story .help-pills { display: flex; flex-wrap: wrap; justify-content: center; }
.pg-inner #your-story .help-pill { flex: 0 0 calc((100% - 36px) / 4); align-items: center; text-align: center; }
.story-band { width: 100vw; margin-left: calc(50% - 50vw); background: #E6E9EE; padding: clamp(56px, 8vh, 96px) 0 clamp(64px, 9vh, 110px); }
.story-band > .help-panel { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.pg-inner #your-story .story-band .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.pg-inner #your-story .story-band .split-headline { margin-left: auto; margin-right: auto; }
@media (max-width: 860px) {
  .pg-inner #your-story .help-pill { flex-basis: calc((100% - 10px) / 2); }
}

/* The spinning ab coin is back on Financing, centred above "Loan Calculators": it idles round on its peg and a
   swipe of the mouse or a finger across it spins it up (js/coin.js). */
#calculators .section-head .coin-wrap { position: relative; right: auto; top: auto; width: 200px; height: 200px; margin: 0 auto 64px; touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#calculators .section-head .coin-wrap:active { cursor: grabbing; }
@media (max-width: 980px) {
  #calculators .section-head { padding-right: 0; }
  #calculators .section-head .coin-wrap { width: 150px; height: 150px; margin-bottom: 48px; }
  #calculators .section-head .coin-shadow { bottom: -24px; height: 16px; }
}

/* ---------- Coin v3: the same champagne satin gold as the homepage dial film and the logo ----------
   Brushed champagne face (no yellow, no sepia), a plain polished rim, and the full logo (ring, ab, ariane bibas)
   engraved into the metal: the cut's floor sits a shade darker, its upper edge in shadow, its lower edge catching light. */
.coin-edge { background: linear-gradient(90deg, #5E4A2C 0%, #A88B5C 20%, #E6CF9C 46%, #C2A574 64%, #7A6340 84%, #5E4A2C 100%); filter: none; }
.coin-face {
  background:
    radial-gradient(circle at 40% 32%, rgba(255,250,232,.28), rgba(255,250,232,0) 55%),
    conic-gradient(from var(--ga, 115deg) at 50% 50%, #A88B5C 0deg, #CDB487 45deg, #EAD6A6 80deg, #D2B98B 110deg, #9E8255 160deg, #B99C6C 210deg, #E3CC98 255deg, #C2A776 300deg, #A88B5C 360deg);
  background-blend-mode: normal, normal;
  box-shadow: inset 0 0 0 1px rgba(60,46,22,.75), inset 0 0 16px rgba(60,46,22,.25);
  filter: brightness(var(--bright, 1));
}
.coin-face::after { background: conic-gradient(from calc(var(--ga, 115deg) + 180deg), #F3E2B6, #B79B6A 18%, #7A6240 34%, #A88B5C 50%, #EBD6A4 66%, #C1A473 82%, #F3E2B6);
  box-shadow: inset 0 0 0 1px rgba(255,244,214,.35); }
.coin-face::before { box-shadow: 0 0 0 1px rgba(70,54,28,.55), inset 0 2px 3px rgba(60,46,22,.35), inset 0 -1px 2px rgba(255,244,214,.3); }
.cf-bead { display: none; }
.cf-mark { left: 9%; top: 9%; width: 82%; height: 82%; }
.cf-mark i { -webkit-mask-image: url(../images/01-logos-and-badges/ab-name.png); mask-image: url(../images/01-logos-and-badges/ab-name.png); }
.cf-mark .ml-dark { background: rgba(52,40,20,.85); transform: translate(-.8px, -1px); filter: none; }
.cf-mark .ml-light { background: rgba(255,244,214,.85); transform: translate(.8px, 1.1px); }
.cf-mark .ml-fill { background: linear-gradient(var(--ga, 115deg), #8C7249 0%, #A78A5D calc(var(--gp, 50%) - 26%), #C9AE7E var(--gp, 50%), #A2865A calc(var(--gp, 50%) + 24%), #85693F 100%); }
.cf-gloss { mix-blend-mode: soft-light; opacity: calc(var(--go, .6) * .85);
  background: linear-gradient(var(--ga, 115deg), transparent calc(var(--gp, 50%) - 22%), rgba(255,250,232,.95) var(--gp, 50%), transparent calc(var(--gp, 50%) + 18%)); }
.coin-shadow { background: radial-gradient(ellipse at center, rgba(40,32,18,.34), rgba(40,32,18,0) 70%); }

/* Coin rim: the edge was a stack of flat discs, which vanish when the coin turns exactly side-on. js/coin.js wraps
   48 narrow gold segments round the edge as a true cylinder, so the rim reads as solid metal at every turn and tilt. */
.coin-wrap { --r: 90px; }
#calculators .section-head .coin-wrap { --r: 100px; }
.coin-band { position: absolute; left: 50%; top: 50%; width: calc(var(--r) * .14); height: 12px; margin: -6px 0 0 calc(var(--r) * -.07);
  backface-visibility: visible; transform: rotateZ(var(--t)) translateY(calc(-1 * var(--r) + .5px)) rotateX(90deg);
  background: linear-gradient(180deg, #6E5836 0%, #B79B6A 28%, #EAD6A6 50%, #B79B6A 72%, #6E5836 100%); }
@media (max-width: 980px) { .coin-wrap { --r: 42px; } #calculators .section-head .coin-wrap { --r: 75px; } }

/* Mark's SEO quote: Caplinx's own logo, full colour on a small white plate (their navy wordmark would vanish on navy) */
.seo-x-quote footer { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.seo-x-logo { display: inline-flex; padding: 12px 18px; background: #FFFFFF; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .2s; }
.seo-x-logo:hover { transform: translateY(-2px); }
.seo-x-logo img { display: block; width: clamp(130px, 14vw, 170px); height: auto; }
.seo-x-who { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.seo-x-role { font-family: var(--label-font); font-size: .74rem; font-weight: 400; letter-spacing: .2em; color: rgba(243,239,231,.78); }

/* Branding: the laptop scene sits straight under the front-door band, with no empty strip between them */
#web-showcase .ws2-door-band + .ws2-scene { margin-top: 0; }
@media (max-width: 860px) { #web-showcase .ws2-door-band + .ws2-scene { padding-top: 32px; } }

/* Branding & Web: Meet Ariane sits flush under the hero (the #web-hero ~ .section padding left pale strips around it) (Oct 28) */
#web-hero ~ #meet-ariane { padding-top: 0 !important; padding-bottom: 0 !important; }   /* beats the !important 48px/36px section padding above */

/* What's Your Story, round 3 (Oct 28): seven tall photo cards in one row, each story with its own picture. The title
   sits over a soft navy shade at the foot; hovering lifts the card, brightens and slowly enlarges the photo and draws
   a gold edge; the chosen story keeps a gold frame and a gold rule under its title. Phones swipe through them. */
.pg-inner #your-story .wrap { max-width: none; }
.pg-inner #your-story .section-head.center { max-width: var(--maxw); }
.pg-inner #your-story .help-pills { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px;
  width: min(1400px, calc(100vw - 48px)); margin: 0 auto clamp(48px, 7vh, 80px); padding: 0; border: 0; flex-wrap: nowrap; }
.pg-inner #your-story .help-pill { position: relative; display: block; flex: none; aspect-ratio: 3 / 4.3; padding: 0; overflow: hidden; isolation: isolate;
  background: var(--navy-dark) !important; border: 0 !important; border-radius: 6px; color: #FFFFFF !important; text-align: left;
  box-shadow: 0 10px 26px rgba(8,27,51,.14); transform: translateY(0);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
.pg-inner #your-story .help-pill .sp-ph { position: absolute; inset: 0; z-index: -2; }
.pg-inner #your-story .help-pill .sp-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.86);
  transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.pg-inner #your-story .help-pill::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,27,51,.5) 0%, rgba(8,27,51,0) 22%, rgba(8,27,51,0) 34%, rgba(8,27,51,.55) 62%, rgba(8,27,51,.92) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s ease; }
.pg-inner #your-story .help-pill::before { position: absolute; top: 16px; left: 18px; color: var(--champagne); font-size: .74rem; text-shadow: 0 1px 8px rgba(8,27,51,.7); }
.pg-inner #your-story .help-pill .sp-t { position: absolute; left: 18px; right: 16px; bottom: 20px; display: block;
  font-family: var(--serif); font-size: clamp(1.08rem, 1.25vw, 1.32rem); font-weight: 500; line-height: 1.16; color: #FFFFFF;
  text-shadow: 0 1px 12px rgba(8,27,51,.45); }
.pg-inner #your-story .help-pill .sp-t::after { content: ""; display: block; width: 0; height: 2px; margin-top: 12px; background: var(--brass);
  transition: width .5s cubic-bezier(.2,.7,.2,1); }
.pg-inner #your-story .help-pill:hover, .pg-inner #your-story .help-pill:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(8,27,51,.28), 0 0 0 1px rgba(201,169,110,.5); }
.pg-inner #your-story .help-pill:hover .sp-ph img, .pg-inner #your-story .help-pill:focus-visible .sp-ph img { transform: scale(1.09); filter: saturate(1.05) brightness(1); }
.pg-inner #your-story .help-pill:hover::after, .pg-inner #your-story .help-pill:focus-visible::after { box-shadow: inset 0 0 0 2px var(--brass); }
.pg-inner #your-story .help-pill:hover .sp-t::after { width: 28px; }
.pg-inner #your-story .help-pill.active { background: var(--navy-dark) !important; box-shadow: 0 18px 40px rgba(8,27,51,.3), 0 0 0 1px rgba(201,169,110,.6); }
.pg-inner #your-story .help-pill.active::after { box-shadow: inset 0 0 0 2px var(--brass); }
.pg-inner #your-story .help-pill.active .sp-ph img { filter: saturate(1.05) brightness(1); }
.pg-inner #your-story .help-pill.active .sp-t::after { width: 44px; }
@media (max-width: 1100px) {
  .pg-inner #your-story .help-pills { display: flex; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; width: 100vw;
    margin-left: calc(50% - 50vw); padding: 8px 24px 18px; scroll-padding: 0 24px; scrollbar-width: none; }
  .pg-inner #your-story .help-pills::-webkit-scrollbar { display: none; }
  .pg-inner #your-story .help-pill { flex: 0 0 clamp(170px, 46vw, 230px); scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-inner #your-story .help-pill, .pg-inner #your-story .help-pill .sp-ph img { transition: none; }
}

/* ---------- Oct 28 phone audit ---------- */
/* Phones: once the Call / Book a Call bar is up, the "Ask a question" button becomes its third, square cell at the right
   end of the bar instead of floating over the page (it was covering line ends and the + toggles). */
@media (max-width: 680px) {
  body.cta-bar-on .mobile-cta-bar { padding-right: 56px; }
  body.cta-bar-on .c2chat-launcher { right: 0 !important; bottom: env(safe-area-inset-bottom, 0px) !important; width: 56px !important; min-width: 56px !important;
    height: 54px !important; padding: 0 !important; border: 0 !important; border-left: 1px solid var(--hair-strong) !important; border-radius: 0 !important;
    background: var(--bg) !important; color: var(--navy-dark) !important; box-shadow: none !important; z-index: 201; transform: none !important; }
}
/* No cream: the sample report's offer box and "impact" tags sit on neutral grey */
.rpt-offer { background: #F2F3F5; }
.rpt-opps i { background: #E8EAEE; color: var(--navy-dark); }
/* Homepage disciplines list: the round arrow keeps its circle next to the longer "Branding & Web" name */
.as-line .sc-ring { flex-shrink: 0; }
/* Design/Build material board: a stronger soft shade behind each drifting line so it reads over leaves and marble */
.ed-drift::before { inset: -90px -120px; background: radial-gradient(closest-side, rgba(8,27,51,.66), rgba(8,27,51,.38) 55%, rgba(8,27,51,0)); }
/* Real Estate "Meet Ariane": the blueprint grid stops behind the small labels (a paper-white patch hugs each label) */
.ab-paper .ab-k-t { background: #FFFFFF; box-shadow: 0 0 0 6px #FFFFFF; }   /* only on the white blueprint version (Real Estate) */
.ab-paper .ab-roles li > span:last-child { background: #FFFFFF; box-shadow: 0 0 0 5px #FFFFFF; }
/* Same typeface everywhere: answer choices and guide summaries in Jost like the rest of the running text */
.quiz-opt, .guide-head .sub { font-family: var(--label-font); }

/* What's Your Story, round 4 (Oct 28): an endless, slow carousel of photo cards, the seven stories mixed with the
   everyday hurdles buyers run into. Two identical sets slide left by exactly one set's width, so the loop never
   jumps; hovering, focusing or touching holds it still. Story cards open their options below; hurdle cards open
   the glossary entry. The chosen story keeps a gold frame. */
.story-carousel { position: relative; width: 100vw; margin: 0 0 clamp(48px, 7vh, 80px) calc(50% - 50vw); overflow: hidden; padding: 14px 0 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.sc-track { display: flex; width: max-content; animation: sc-loop 150s linear infinite; }
.sc-set { display: flex; gap: 16px; padding-right: 16px; }
.story-carousel:hover .sc-track, .story-carousel:focus-within .sc-track, .story-carousel.held .sc-track { animation-play-state: paused; }
@keyframes sc-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sc-card { position: relative; flex: 0 0 auto; width: clamp(200px, 17vw, 250px); aspect-ratio: 3 / 4.2; display: block; overflow: hidden; isolation: isolate;
  padding: 0; border: 0; border-radius: 6px; background: var(--navy-dark); color: #FFFFFF; text-align: left; text-decoration: none; cursor: pointer; font: inherit;
  box-shadow: 0 10px 26px rgba(8,27,51,.14); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
.sc-ph { position: absolute; inset: 0; z-index: -2; }
.sc-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.84); transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.sc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,27,51,.55) 0%, rgba(8,27,51,0) 24%, rgba(8,27,51,0) 36%, rgba(8,27,51,.6) 62%, rgba(8,27,51,.94) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s ease; }
.sc-k { position: absolute; top: 16px; left: 18px; right: 16px; font-family: var(--label-font); font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--champagne); text-shadow: 0 1px 8px rgba(8,27,51,.7); }
.sc-t { position: absolute; left: 18px; right: 16px; bottom: 52px; display: block; font-family: var(--serif); font-size: clamp(1.1rem, 1.3vw, 1.34rem); font-weight: 500;
  line-height: 1.15; color: #FFFFFF; text-shadow: 0 1px 12px rgba(8,27,51,.45); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.sc-l { position: absolute; left: 18px; right: 16px; bottom: 52px; font-family: var(--label-font); font-size: .82rem; font-weight: 300; line-height: 1.4; color: rgba(255,255,255,.9);
  opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.sc-go { position: absolute; left: 18px; bottom: 20px; font-family: var(--label-font); font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }
.sc-go::after { content: "\2197"; display: inline-block; margin-left: 8px; letter-spacing: 0; transition: transform .4s ease; }
.sc-story .sc-go::after { content: "\2193"; }
.sc-card:hover, .sc-card:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(8,27,51,.28), 0 0 0 1px rgba(201,169,110,.5); outline: none; }
.sc-card:hover .sc-ph img, .sc-card:focus-visible .sc-ph img { transform: scale(1.09); filter: saturate(1.05) brightness(.95); }
.sc-card:hover::after, .sc-card:focus-visible::after, .sc-card.on::after { box-shadow: inset 0 0 0 2px var(--brass); }
.sc-card:hover .sc-go::after { transform: translate(2px, -2px); }
.sc-story:hover .sc-go::after { transform: translateY(2px); }
/* hurdle cards: the title steps up and the one-line explanation rises in under it */
.sc-hurdle:hover .sc-t, .sc-hurdle:focus-visible .sc-t { transform: translateY(-64px); }
.sc-hurdle:hover .sc-l, .sc-hurdle:focus-visible .sc-l { opacity: 1; transform: none; }
.sc-card.on { box-shadow: 0 18px 40px rgba(8,27,51,.3), 0 0 0 1px rgba(201,169,110,.6); }
.sc-card.on .sc-ph img { filter: saturate(1.05) brightness(.95); }
/* touch screens have no hover: the explanation sits under the title from the start */
@media (hover: none) {
  .sc-hurdle .sc-t { transform: translateY(-62px); }
  .sc-hurdle .sc-l { opacity: 1; transform: none; }
  .sc-card { width: clamp(200px, 60vw, 250px); }
}
@media (prefers-reduced-motion: reduce) {
  .story-carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .sc-track { animation: none; padding: 0 24px; }
  .sc-set[aria-hidden="true"] { display: none; }
  .sc-card, .sc-ph img, .sc-t, .sc-l { transition: none; }
}
/* ---------- Oct 28 desktop audit ---------- */
/* Glossary: the A–Z strip pins exactly under the category strip at every width (glossary.js measures the strip) */
html.pv-big .letter-nav, .letter-nav { top: calc(var(--nav-h) + var(--cats-h, 64px)); }
/* Portfolio rail: a deeper shade under every caption so white words read on bright rooms (Airbnb Residences) */
.portfolio-rail .portfolio-tile figcaption { background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,.35) 45%, rgba(10,10,10,.72) 100%) !important; }
.portfolio-rail .pt-place, .portfolio-rail .portfolio-tile .pt-title { text-shadow: 0 1px 10px rgba(0,0,0,.45); }
/* Design/Build material board: the gold italic line gets a firmer shade behind it */
.ed-drift em { text-shadow: 0 2px 14px rgba(8,27,51,.85), 0 1px 3px rgba(8,27,51,.7); }
/* Story carousel controls: the loop is driven by story-carousel.js (drag, swipe, arrows, sideways scroll) */
.sc-track { animation: none !important; will-change: transform; }
.story-carousel { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.story-carousel.dragging { cursor: grabbing; }
.story-carousel.dragging .sc-card { pointer-events: none; }
.sc-card img { -webkit-user-drag: none; }
.sc-nav { position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -32px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(201,169,110,.9); background: rgba(8,27,51,.82); color: #FFFFFF; box-shadow: 0 8px 22px rgba(8,27,51,.28);
  transition: background .25s ease, transform .25s ease; }
.sc-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sc-nav:hover, .sc-nav:focus-visible { background: var(--brass-dark); transform: scale(1.06); outline: none; }
.sc-prev { left: max(16px, calc((100vw - 1400px) / 2)); }
.sc-next { right: max(16px, calc((100vw - 1400px) / 2)); }
@media (max-width: 700px) { .sc-nav { width: 44px; height: 44px; margin-top: -26px; } .sc-prev { left: 8px; } .sc-next { right: 8px; } }
@media (prefers-reduced-motion: reduce) { .story-carousel { overflow: hidden; } .sc-set[aria-hidden="true"] { display: flex; } }
.story-carousel { -webkit-mask-image: none !important; mask-image: none !important; }
.story-carousel::before, .story-carousel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7vw; z-index: 2; pointer-events: none; }
.story-carousel::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(249,249,249,0)); }
.story-carousel::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(249,249,249,0)); }
/* phones: the two arrows sit side by side under the cards instead of over the card text */
@media (max-width: 700px) {
  .story-carousel { padding-bottom: 84px; }
  .sc-nav { top: auto; bottom: 18px; margin-top: 0; }
  .sc-prev { left: calc(50% - 54px); }
  .sc-next { right: calc(50% - 54px); }
}

/* Real Estate, One Agent Who Knows Your Numbers: navy blueprint after the white Meet Ariane, four buyer cards incl. commercial (Oct 28) */
#one-call .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 980px; margin: 0 auto; }
@media (max-width: 680px) { #one-call .programs-grid { grid-template-columns: 1fr; } }

/* Homepage big discipline labels follow the headline rule: the second half is gold (Design/Build, Real Estate,
   Branding & Web), champagne on the dark bands and photos, brass on white. */
.as-name em, .ti-name em, .tc-name em { font-style: inherit; font-weight: inherit; color: var(--champagne); }

/* Homepage 04 card: on hover the laptop and its screen zoom together as one piece. Zooming each <img> on its own slid the
   photo's bright screen out from under the site image and left a white frame around it. (Oct 28) */
.fc-photo .fc-web img, .fc:hover .fc-photo .fc-web img { transform: none !important; }
.fc-photo .fc-web .wl-stage { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.fc:hover .fc-photo .fc-web .wl-stage { transform: translateX(-50%) scale(1.05); }

/* ---------- Phones & tablets (Oct 28 mobile audit): the hero layers its words over the photo ----------
   v2 (same day): a full-screen frame cut wide photos and films down to a sliver (half of Ariane's face, the bus-stop
   ad gone, sky only). Now the picture sits in a tall 4:5 frame (films 1:1) that keeps most of it, each placed on its
   subject; the mark and title sit over its lower part, which fades into the navy, and the buttons follow on the navy.
   The picture still drifts gently behind the words as you scroll (main.js parallax). */
@media (max-width: 980px) {
  html body .hero.hero-breathe { display: block; position: relative; min-height: 0; padding: 0; background: var(--dark); overflow: hidden; }
  html body .hero.hero-breathe > .hero-bg { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 5 !important; max-height: 72svh; margin: 0; overflow: hidden; z-index: 0; }
  html body .hero.hero-breathe > .hero-bg:has(> video) { aspect-ratio: 1 / 1 !important; }
  html body .hero.hero-breathe > .hero-bg > img,
  html body .hero.hero-breathe > .hero-bg > video { position: absolute !important; left: 0 !important; top: -6% !important; width: 100% !important; height: 112% !important; max-width: none !important; object-fit: cover !important; object-position: 50% 50% !important; aspect-ratio: auto !important; }
  html body .hero.hero-breathe > .hero-bg::after { content: ""; display: block; position: absolute; inset: 0; z-index: 1; -webkit-mask-image: none; mask-image: none;
    background: linear-gradient(180deg, rgba(6,16,30,.45) 0%, rgba(6,16,30,0) 16%, rgba(6,16,30,0) 46%, rgba(6,16,30,.72) 76%, var(--dark) 100%); }
  html body .hero.hero-breathe > .wrap { display: block; position: relative; z-index: 2; min-height: 0; margin-top: -40vw; padding: 0 24px 44px; box-sizing: border-box; }
  html body .hero.hero-breathe .hero-inner { display: flex; flex-direction: column; align-items: flex-start; width: auto; max-width: none; }
  html body .hero.hero-breathe .hero-inner > * { order: 0; margin-left: 0; margin-right: 0; background: none; }
  html body .hero.hero-breathe .hero-inner > .hero-mark { order: 0; width: 104px; height: auto; padding: 0; margin: 0 0 18px; filter: drop-shadow(0 2px 14px rgba(0,0,0,.4)); }
  html body .hero.hero-breathe .hero-inner > h1.hero-lead { padding: 0; margin: 0 0 14px; font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1; text-shadow: 0 2px 22px rgba(0,0,0,.45); }
  html body .hero.hero-breathe .hero-inner > .hero-sub { padding: 0; margin: 0; }
  html body .hero.hero-breathe .hero-inner > .hero-cta-row { margin: 22px 0 0; padding: 0; }
  html body .hero.hero-breathe .hero-inner > .hero-lic { margin: 16px 0 0; padding: 0; }
  html body .hero.hero-breathe .hero-inner > .hero-cta-row:has(+ .hero-lic) { padding: 0; }
  html body .hero.hero-breathe > .hero-video-toggle { position: absolute; z-index: 3; top: calc(var(--nav-h) + 14px); right: 16px; margin: 0; }
  /* each picture placed on its subject */
  html body .hero.hero-breathe > .hero-bg > img[src*="card-financing-meeting"] { object-position: 80% 50% !important; }
  html body .hero.hero-breathe > .hero-bg > img[src*="newport-dining"] { object-position: 42% 50% !important; }
  html body .hero.hero-breathe > .hero-bg > img[src*="guides-hero"] { object-position: 50% 70% !important; }
  html body .hero.hero-breathe > .hero-bg > video[src*="branding-bus-stop"] { object-position: 100% 50% !important; }   /* anchored right: the whole billboard stays in frame */
  /* Homepage: the phone film (camera still, the four sections rise in turn) plays whole and uncropped, edge to edge
     (no zoom, no fade, no shade over it), on its own navy, and drifts slower than the page as you scroll; the mark and title sit on the navy below it. */
  html body .hero.hero-breathe > .hero-bg.hero-film:has(> video) { position: relative; aspect-ratio: auto !important; max-height: none; height: auto; padding-top: calc(var(--nav-h) + 3svh); background: #0b1626; }
  html body .hero.hero-breathe:has(> .hero-film) > .wrap { margin-top: 28px; }
  html body .hero.hero-breathe > .hero-film > video { position: relative !important; display: block; left: 0 !important; top: 0 !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: contain !important; transform: none; translate: 0 calc(var(--py, 0px) * 1.4) !important; scale: 1 !important; animation: none !important; will-change: translate; -webkit-mask-image: none; mask-image: none; }
  html body .hero.hero-breathe > .hero-film::after { content: none; }
  html body .hero.hero-breathe > .hero-bg.hero-film { overflow: visible; }   /* the film sinks behind the title as you scroll (slight parallax) */
  html body .hero.hero-breathe:has(> .hero-film) .hero-inner, html body .hero.hero-breathe:has(> .hero-film) .hero-inner > :is(.hero-mark, h1.hero-lead, .hero-sub) { transform: none !important; }   /* the title scrolls with the page (it still fades), so it never runs up into the dial */
  @media (max-height: 720px) { html body .hero.hero-breathe:has(> .hero-film) .hero-inner > .hero-mark { display: none; } }   /* short phones: the dial is the mark */
}

/* ---------- Phones: the four disciplines as stacked full-screen photos (Oct 28 mobile audit) ----------
   Each photo fills the screen under the menu bar and holds; its number, name and write-up sit over the lower part on a
   navy shade, and the next discipline's photo slides up over it, like the desktop chapters passing over one another. */
@media (max-width: 860px) {
  html body .tour.tour5 { --card-h: calc(100svh - var(--hdr, 60px)); display: flex; flex-direction: column; background: #0b1626; }
  html body .tour.tour5 .tour-shot, html body .tour.tour5 .tour-info, html body .tour.tour5 .tour-info[data-on] { position: -webkit-sticky; position: sticky; top: var(--hdr, 60px); height: var(--card-h); min-height: 0; }
  html body .tour.tour5 .tour-shot { height: var(--card-h) !important; margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; background: #0b1626 !important; box-shadow: 0 -18px 40px rgba(0,0,0,.35); }
  html body .tour.tour5 .tour-shot img, html body .tour.tour5 .tour-shot video { position: absolute !important; inset: auto !important; left: 0 !important; top: -6% !important; width: 100% !important; height: 112% !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; object-fit: cover !important; }
  html body .tour.tour5 .tour-info, html body .tour.tour5 .tour-info[data-on] { margin-top: calc(-1 * var(--card-h)); display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box;
    padding: 0 24px 40px; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    background: linear-gradient(180deg, rgba(6,16,30,0) 12%, rgba(6,16,30,.5) 36%, rgba(6,16,30,.8) 60%, rgba(6,16,30,.94) 100%); }
  html body .tour.tour5 .tour-shot[data-i="0"] { z-index: 1; } html body .tour.tour5 .tour-info[data-i="0"] { z-index: 2; }
  html body .tour.tour5 .tour-shot[data-i="1"] { z-index: 3; } html body .tour.tour5 .tour-info[data-i="1"] { z-index: 4; }
  html body .tour.tour5 .tour-shot[data-i="2"] { z-index: 5; } html body .tour.tour5 .tour-info[data-i="2"] { z-index: 6; }
  html body .tour.tour5 .tour-shot[data-i="3"] { z-index: 7; } html body .tour.tour5 .tour-info[data-i="3"] { z-index: 8; }
  html body .tour.tour5 .ti-name { color: #fff; font-size: clamp(2.6rem, 12vw, 3.4rem); text-shadow: 0 2px 22px rgba(0,0,0,.45); }
  html body .tour.tour5 .ti-name em { color: var(--champagne); }
  html body .tour.tour5 .ti-num { color: #E4CE9F; }
  html body .tour.tour5 .ti-h { color: #fff; margin-top: 12px; font-size: 1.35rem; line-height: 1.2; }
  html body .tour.tour5 .ti-h em { color: #E4CE9F; }
  html body .tour.tour5 .ti-p { display: block; color: rgba(255,255,255,.86); margin-top: 10px; font-size: .98rem; line-height: 1.55; max-width: 36ch; }
  html body .tour.tour5 .ti-cta { margin-top: 14px; color: #fff; }
  html body .tour.tour5 .ti-cta .sc-ring { border-color: rgba(255,255,255,.6); color: #fff; }
}
/* each card's picture placed on its subject (the tall card keeps about a third of a wide photo) */
@media (max-width: 860px) {
  html body .tour.tour5 .tour-shot img[src*="card-financing-meeting"] { object-position: 78% 50% !important; }
  html body .tour.tour5 .tour-shot img[src*="newport-dining"] { object-position: 40% 50% !important; }
  html body .tour.tour5 .tour-shot video[src*="branding-bus-stop"] { object-position: 100% 50% !important; }
}
/* phones: each card ends at the Call / Book a Call bar, so the link under the write-up is never hidden behind it */
@media (max-width: 680px) { html body .tour.tour5 { --card-h: calc(100svh - var(--hdr, 60px) - 62px - env(safe-area-inset-bottom, 0px)); } html body .tour.tour5 .tour-info { padding-bottom: 30px; } }
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  html body .tour.tour5 .tour-shot, html body .tour.tour5 .tour-info, html body .tour.tour5 .tour-info[data-on] { position: relative; top: auto; }
}

/* Narrow phones (360px): the bottom bar's labels stay on one line */
@media (max-width: 370px) { .mobile-cta-bar a { font-size: .8rem; letter-spacing: .05em; padding-left: 6px; padding-right: 6px; gap: 6px; } }

/* ---------- Phones: Meet Ariane layers its words over the portrait (Oct 28 mobile audit) ----------
   The portrait fills the screen under the menu bar and holds still; the name, roles and quote rise up over its lower
   part on a fade into the section colour (navy on the homepage, white on the inner pages), the way desktop sets the
   words beside and over the portrait. overflow: clip (not hidden) so the portrait can hold (sticky) inside. */
@media (max-width: 980px) {
  html body section.meet, html body .ab-spread { overflow: clip; }
  html body section.meet > .meet-bg, html body .ab-spread > .ab-photo { position: -webkit-sticky; position: sticky; top: 64px; z-index: 0; width: 100%; height: calc(100svh - 64px); max-height: none; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  html body section.meet > .meet-bg img, html body .ab-spread > .ab-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 55% 14%; -webkit-mask-image: none; mask-image: none; }
  html body section.meet > .meet-bg::after { content: none; }
  html body section.meet > .meet-inner, html body .ab-spread > .ab-text { position: relative; z-index: 1; margin-top: -40svh; padding-top: 22svh; }
  html body section.meet > .meet-inner { background: linear-gradient(180deg, rgba(8,27,51,0) 0, rgba(8,27,51,.82) 14svh, #081B33 26svh); }
  html body .ab-spread > .ab-text { background: linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,.86) 14svh, #FFFFFF 26svh); }
  html body .ab-spread.ab-dark > .ab-text { background: linear-gradient(180deg, rgba(8,27,51,0) 0, rgba(8,27,51,.86) 14svh, #081B33 26svh); }   /* dark panels (Financing) fade to navy, so their light words stay readable */
}
/* Phones: finger-sized taps (44px) for the article/guide filter pills and the film sound button */
@media (max-width: 680px) {
  .cat-pills .pill { min-height: 44px; display: inline-flex; align-items: center; }
  .film-sound { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---------- Phones: one clear pass through the four disciplines (Oct 28, Ariane's review) ----------
   The + list (#areas: its spinning + only works with a mouse) and the Design / Fund / Find / Launch cards (#foundation:
   the same four again) are gone on phones. Each discipline card shows its photo whole and bright in the top half, with
   no shade over it, and the words sit on solid navy underneath; the next card still slides up over the last. */
@media (max-width: 860px) {
  html body #areas, html body #foundation { display: none; }
  html body .tour.tour5 .tour-shot img, html body .tour.tour5 .tour-shot video { top: 0 !important; height: 50% !important; object-position: 50% 50% !important; }
  html body .tour.tour5 .tour-shot img[src*="card-financing-meeting"] { object-position: 62% 40% !important; }   /* Ariane's face and the client in frame */
  html body .tour.tour5 .tour-info, html body .tour.tour5 .tour-info[data-on] { padding: 0 24px 28px; background: linear-gradient(180deg, rgba(11,22,38,0) 0, rgba(11,22,38,0) 50%, #0b1626 50%); }
  html body .tour.tour5 .ti-name { font-size: clamp(2.1rem, 9.4vw, 2.7rem); text-shadow: none; }
  html body .tour.tour5 .ti-h { margin-top: 8px; font-size: 1.15rem; }
  html body .tour.tour5 .ti-p { margin-top: 8px; font-size: .9rem; line-height: 1.5; }
  html body .tour.tour5 .ti-cta { margin-top: 12px; }
  html body .tour.tour5 .tour-info, html body .tour.tour5 .tour-info[data-on] { justify-content: flex-start; padding-top: calc(var(--card-h) * .5 + 22px); }   /* words start right under the photo */
  html body .pin-wrap:has(#areas) + .breather { display: none; }   /* with the + list gone, this "Start with a call" band would sit straight after the "under one brand" one */
}
@media (max-width: 860px) and (max-height: 760px) { html body .tour.tour5 .ti-p { display: none; } }   /* shorter phones: name, line and link only, so nothing runs over the photo */
/* Phones: the four cards simply scroll by one after another (photo, then its words on navy) — nothing pins, so no photo
   ever slides over another one (Ariane, Oct 28: "a visual mess"). */
@media (max-width: 860px) {
  html body .tour.tour5 .tour-shot, html body .tour.tour5 .tour-info, html body .tour.tour5 .tour-info[data-on] { position: relative !important; top: auto !important; }
  html body .tour.tour5 .tour-shot { height: auto !important; aspect-ratio: 4 / 3; box-shadow: none; }
  html body .tour.tour5 .tour-shot img, html body .tour.tour5 .tour-shot video { top: 0 !important; height: 100% !important; }
  html body .tour.tour5 .tour-info, html body .tour.tour5 .tour-info[data-on] { margin-top: 0; height: auto; padding: 24px 24px 44px; justify-content: flex-start; background: #0b1626; }
  html body .tour.tour5 .ti-p { display: block !important; }
}
/* Phones: the inner-page Meet panels (Meet Your Designer / Loan Officer / REALTOR® / the Agency Owner) show the portrait
   whole in its own 4:5 frame, nothing faded over it, with the words underneath on the panel's own colour (Oct 28). */
@media (max-width: 980px) {
  html body .ab-spread > .ab-photo { position: relative; top: auto; height: auto; aspect-ratio: 4 / 5; overflow: hidden; }
  html body .ab-spread > .ab-text, html body .ab-spread.ab-dark > .ab-text { margin-top: 0; padding-top: 36px; background: none; }
}
/* Phones: fine print looks and sizes like fine print (Oct 28 site audit) — calculator notes and disclaimers, page
   disclosures, sample captions and the footer's legal lines. Consent text by a checkbox and the license line stay a
   touch larger so they remain clearly legible. */
@media (max-width: 680px) {
  html body :is(.calc-note, .calc-warning, .calc-disclaimer, .programs-disclaimer, .design-disclosure, .field-hint.rate-hint, .bk-fine, .meet-lic, .c2chat-license, .compliance p:not(.license-line), .compliance-more p, .seo-sample figcaption, .diag-card figcaption, .seo-x-demo figcaption) { font-size: 12.5px; line-height: 1.55; letter-spacing: 0; }
  html body :is(.cb-consent, .calc-checkbox span), html body .compliance .license-line { font-size: 13px; line-height: 1.5; letter-spacing: 0; }
  html body .compliance .license-line strong { font-size: 15px; }
  html body :is(.calc-disclaimer, .programs-disclaimer, .design-disclosure) strong { font-weight: 600; }
}
/* Phones: the Branding & Web front door shows the whole photo (door, frame, wall and sconce) in its own 3:2 frame with
   nothing faded over it; the words follow underneath on navy (Oct 28: "can't even tell it's a door"). */
@media (max-width: 860px) {
  html body .ws2-door-bg { position: relative; inset: auto; height: auto; aspect-ratio: 3 / 2; }
  html body .ws2-door-bg::after { content: none; }
  html body .ws2-door-bg img { object-position: 50% 50%; }
  html body .ws2-door-band .ws2-head { padding-top: 36px; }
  html body .ws2-door-stage { flex-direction: column; }
}
/* Phones: the homepage Meet Ariane Bibas matches the inner Meet panels — portrait whole in its own 4:5 frame, no navy
   fade over her, the words underneath on navy (Oct 28). */
@media (max-width: 980px) {
  html body section.meet > .meet-bg { position: relative; top: auto; height: auto; aspect-ratio: 4 / 5; overflow: hidden; }
  html body section.meet > .meet-inner { margin-top: 0; padding-top: 36px; background: none; }
  html body section.meet > .meet-bg img { -webkit-mask-image: none !important; mask-image: none !important; }   /* no fade on her portrait */
}
/* Phones: the homepage 04 card's bus-stop film grows (for the parallax) from its right edge, so the whole billboard
   stays in frame (Oct 29). */
@media (max-width: 860px) { html body .tour.tour5 .tour-shot video[src*="branding-bus-stop"] { transform-origin: 100% 50%; } }
