/* ==========================================================================
   Tiffany Irvine Mortgages — Site Stylesheet
   --------------------------------------------------------------------------
   Structure
     1. Design tokens (edit these first — colours, type, spacing, radii)
     2. Base / reset
     3. Layout helpers
     4. Components (buttons, eyebrow, cards, polaroid, forms…)
     5. Blocks (topbar, header, hero, help, intro, tools, steps,
        testimonials, city CTA, footer, page hero, content, FAQ)
     6. Utilities & motion
   Portability: tokens live on :root so this file drops straight into a
   WordPress child theme (style.css), a Squarespace/Wix custom-CSS panel,
   or stays as-is on a static host. Class names are block-scoped
   (.hero__title, .card__body) so they won't collide with platform CSS.
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Brand colour */
  --c-cream:        #fdf9f5;  /* page background */
  --c-paper:        #ffffff;
  --c-blush:        #f7ded8;  /* "How I can help" band */
  --c-blush-soft:   #fbeeea;
  --c-blush-line:   #ebc9c1;
  --c-rose:         #b85766;  /* primary buttons (AA with white text) */
  --c-rose-dark:    #9e4453;  /* hover / rose text on blush */
  --c-rose-text:    #b04f5e;  /* rose text on cream */
  --c-rose-light:   #e7a4ad;  /* accents on dark */
  --c-ink:          #1f1b1c;  /* headings */
  --c-body:         #4f4648;  /* paragraph text */
  --c-muted:        #6b6264;
  --c-line:         #eadfd9;
  --c-forest:       #161a17;  /* dark "Real advice" section */
  --c-forest-2:     #20261f;
  --c-on-dark:      #efe6e0;
  --c-on-dark-muted:#bfb3ab;
  --c-sage:         #8a9a7b;

  /* Type */
  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body:    "Jost", "Helvetica Neue", Arial, sans-serif;
  --f-script:  "Ms Madi", "Brush Script MT", cursive;

  --fs-xs:   0.78rem;
  --fs-sm:   0.9rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.25rem;
  --fs-lg:   clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-xl:   clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  --fs-2xl:  clamp(2.6rem, 1.6rem + 4.4vw, 5rem);
  --fs-script: clamp(2.4rem, 1.8rem + 2.6vw, 4rem);

  --lh-tight: 1.05;
  --lh-snug:  1.25;
  --lh-body:  1.7;
  --tracking-caps: 0.18em;

  /* Space & shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: clamp(4rem, 3rem + 5vw, 7.5rem);
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(31, 27, 28, 0.06);
  --shadow:    0 14px 40px -18px rgba(31, 27, 28, 0.28);
  --shadow-lg: 0 30px 60px -25px rgba(31, 27, 28, 0.4);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

/* 2. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-body);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
}
h1 { font-size: var(--fs-2xl); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-xl); line-height: 1.1; }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); font-family: var(--f-body); font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 var(--space-4); }
a { color: var(--c-rose-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-rose-dark); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.2em; }
li { margin-bottom: var(--space-2); }
strong { color: var(--c-ink); font-weight: 500; }
:focus-visible { outline: 2px solid var(--c-rose); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-blush); color: var(--c-ink); }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 1000;
  padding: var(--space-3) var(--space-5); background: var(--c-ink); color: #fff;
  border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. LAYOUT -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-8); }
.section--paper { background: var(--c-paper); }
.section--blush { background: var(--c-blush-soft); }
.section__head { max-width: 680px; margin-bottom: var(--space-7); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--space-5); max-width: none;
}
.section__head--split > div { max-width: 640px; }
.section__head p { color: var(--c-body); font-size: 1.1rem; }
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* 4. COMPONENTS ---------------------------------------------------------- */

/* Eyebrow / kicker */
.eyebrow {
  display: inline-block; margin-bottom: var(--space-4);
  color: var(--c-muted); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
}
.eyebrow--rose { color: var(--c-rose-text); }
.script {
  font-family: var(--f-script); font-weight: 400; line-height: 1;
  letter-spacing: 0; text-transform: none;
}
.accent-script { color: var(--c-rose-text); font-family: var(--f-script); font-size: 1.15em; font-weight: 400; line-height: 0.8; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.85em 1.7em;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--c-rose); color: #fff; box-shadow: 0 10px 24px -12px rgba(184, 87, 102, .8); }
.btn--primary:hover { background: var(--c-rose-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: var(--c-ink); background: transparent; }
.btn--ghost:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.btn--light { background: var(--c-cream); color: var(--c-ink); }
.btn--light:hover { background: #fff; color: var(--c-rose-dark); }
.btn--on-dark { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--c-ink); }
.btn--sm { min-height: 40px; padding: 0.6em 1.3em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--c-ink); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--c-rose-text); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Icon (line icons are inline SVG with currentColor) */
.icon { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Service card (How I can help) */
.service-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: var(--space-6) var(--space-5); text-align: center; text-decoration: none; color: inherit;
  border-radius: var(--radius); transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover { background: rgba(255, 255, 255, .55); transform: translateY(-3px); color: inherit; }
.service-card .icon { margin-bottom: var(--space-4); color: var(--c-ink); }
.service-card h3 { margin-bottom: var(--space-2); font-family: var(--f-body); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.01em; }
.service-card p { max-width: 24ch; margin-bottom: var(--space-4); font-size: var(--fs-sm); line-height: 1.55; color: var(--c-body); }
.service-card__arrow { margin-top: auto; color: var(--c-rose-dark); }
.service-card__arrow svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.service-card:hover .service-card__arrow svg { transform: translateX(4px); }

/* Image card (Tools) */
.img-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius);
  color: inherit; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.img-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.img-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-blush-soft); }
.img-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.img-card:hover .img-card__media img { transform: scale(1.05); }
.img-card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); flex: 1; }
.img-card__body h3 { margin: 0; font-family: var(--f-body); font-size: 1.02rem; font-weight: 500; }
.img-card__body p { margin: 0; font-size: var(--fs-sm); line-height: 1.55; }
.img-card__arrow { margin-top: auto; padding-top: var(--space-3); color: var(--c-rose-dark); }
.img-card__arrow svg { width: 20px; height: 20px; }

/* Polaroid */
.polaroid {
  position: relative; display: inline-block; max-width: 400px; width: 100%;
  padding: 16px 16px 72px; background: #fbf8f3;
  box-shadow: var(--shadow-lg); transform: rotate(-3deg);
}
.polaroid::before { /* washi tape */
  content: ""; position: absolute; top: -18px; left: 50%; width: 120px; height: 36px;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(224, 205, 178, .78); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: #fff; }
.polaroid__caption {
  position: absolute; left: 0; right: 0; bottom: 14px; margin: 0;
  color: var(--c-ink); font-family: var(--f-script); font-size: 2.6rem; line-height: 1; text-align: center;
}

/* Agent card (small floating card with headshot) */
.agent-chip {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
  background: rgba(255, 255, 255, .94); border-radius: var(--radius-pill);
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.agent-chip img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--c-blush); }
.agent-chip strong { display: block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.agent-chip span { display: block; color: var(--c-muted); font-size: 0.74rem; letter-spacing: 0.04em; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: .4em; padding: .35em .9em;
  background: var(--c-blush-soft); border: 1px solid var(--c-blush-line); border-radius: var(--radius-pill);
  color: var(--c-rose-dark); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .06em;
}
.badge--placeholder { background: #fff7e0; border-color: #f0d48a; color: #7a5a00; }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.1em; height: 1.1em; border-radius: 50%;
  background: var(--c-blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e4453' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.checklist--2col { columns: 2 260px; column-gap: var(--space-6); }
.checklist--2col li { break-inside: avoid; }

/* Forms */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { color: var(--c-ink); font-size: var(--fs-sm); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8em 1em;
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  color: var(--c-ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-rose); box-shadow: 0 0 0 3px rgba(184, 87, 102, .18); }
.field--radios { border: 0; margin: 0; padding: 0; }
.field--radios .choices { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.field--radios label { display: inline-flex; align-items: center; gap: .5em; font-weight: 400; color: var(--c-body); }
.form__note { margin: 0; color: var(--c-muted); font-size: var(--fs-xs); }
.form__status { display: none; padding: var(--space-4); border-radius: var(--radius-sm); background: var(--c-blush-soft); color: var(--c-ink); font-size: var(--fs-sm); }
.form__status.is-visible { display: block; }

/* Notice (placeholder / compliance) */
.notice {
  padding: var(--space-4) var(--space-5); border-left: 3px solid var(--c-rose);
  background: var(--c-blush-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--fs-sm);
}
.notice--placeholder { border-color: #d9a400; background: #fff9e6; color: #5c4600; }
.notice p:last-child { margin: 0; }

/* Modal (calculators) */
.modal { width: min(1000px, 94vw); height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--c-paper); }
.modal::backdrop { background: rgba(22, 26, 23, .65); backdrop-filter: blur(3px); }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--c-line); }
.modal__bar h2 { margin: 0; font-size: 1.4rem; }
.modal__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-blush-soft); color: var(--c-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--c-blush); }
.modal iframe { width: 100%; height: calc(100% - 70px); border: 0; }

/* 5. BLOCKS -------------------------------------------------------------- */

/* Topbar (compliance strip) */
.topbar { background: var(--c-forest); color: var(--c-on-dark-muted); font-size: 0.76rem; letter-spacing: .03em; }
.topbar .container { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: center; justify-content: space-between; min-height: 38px; padding-block: 6px; }
.topbar a { color: var(--c-on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.topbar__contact a { display: inline-flex; align-items: center; gap: .45em; }
.topbar__contact svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
@media (max-width: 700px) { .topbar__licence { display: none; } .topbar .container { justify-content: center; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 249, 245, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 24px -18px rgba(31,27,28,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: block; flex-shrink: 0; line-height: 0; }
.brand img { width: clamp(150px, 12vw + 60px, 205px); height: auto; }
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav__list { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1.6rem); margin: 0; padding: 0; list-style: none; }
.nav__list > li { position: relative; margin: 0; }
.nav__link, .nav__toggle-sub {
  display: inline-flex; align-items: center; gap: .35em; padding: .6em 0;
  background: none; border: 0; color: var(--c-ink); font: inherit;
  font-size: 0.74rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; position: relative;
}
.nav__link::after, .nav__toggle-sub::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25em; height: 1px;
  background: var(--c-rose); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__toggle-sub:hover { color: var(--c-rose-text); }
.nav__link:hover::after, .nav__toggle-sub:hover::after, .nav__link[aria-current="page"]::after, .nav__toggle-sub.is-current::after { transform: scaleX(1); }
.nav__toggle-sub svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .25s; }
.nav__sub {
  position: absolute; top: 100%; left: 50%; min-width: 260px; margin: 0; padding: var(--space-3);
  list-style: none; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub li { margin: 0; }
.nav__sub a { display: block; padding: .65em .9em; border-radius: var(--radius-sm); color: var(--c-ink); font-size: .92rem; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--c-blush-soft); color: var(--c-rose-dark); }
.nav__sub small { display: block; color: var(--c-muted); font-size: .76rem; }
.has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub, .has-sub.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub.is-open .nav__toggle-sub svg { transform: rotate(180deg); }
.nav__cta { flex-shrink: 0; }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--c-line); border-radius: 50%; background: var(--c-paper); color: var(--c-ink); cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s, background-color .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  /* backdrop-filter would make the header the containing block for the fixed nav */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--c-cream); }
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: var(--space-5);
    padding: var(--space-5) var(--gutter) var(--space-7); overflow-y: auto;
    background: var(--c-cream); border-top: 1px solid var(--c-line);
  }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .no-js .nav { position: static; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--c-line); }
  .nav__link, .nav__toggle-sub { width: 100%; justify-content: space-between; padding: 1.05em 0; font-size: .82rem; }
  .nav__link::after, .nav__toggle-sub::after { display: none; }
  .nav__sub { position: static; min-width: 0; padding: 0 0 var(--space-3); border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { transform: none; }
  .has-sub.is-open > .nav__sub { display: block; transform: none; }
  .no-js .nav__sub { display: block; }
  .nav__cta { align-self: flex-start; }
}
body.nav-open { overflow: hidden; }

/* Hero */
.hero { position: relative; padding-block: var(--space-7) var(--space-9); overflow: hidden; }
.hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.02fr 1fr; gap: var(--space-6); } }
.hero__title { margin-bottom: var(--space-5); font-size: clamp(3rem, 1.8rem + 5.2vw, 5.6rem); font-weight: 500; line-height: .98; }
.hero__title .accent-script { display: inline-block; margin-left: .05em; font-size: 1.3em; line-height: .6; transform: translateY(.08em) rotate(-4deg); }
.hero__lead { max-width: 46ch; margin-bottom: var(--space-6); font-size: 1.12rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); padding: 0; list-style: none; color: var(--c-muted); font-size: var(--fs-sm); }
.hero__trust li { display: flex; align-items: center; gap: .5em; margin: 0; }
.hero__trust svg { width: 18px; height: 18px; stroke: var(--c-rose-text); fill: none; stroke-width: 1.6; }
.hero__media { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.hero__frame { position: relative; aspect-ratio: 5 / 6; overflow: hidden; border-radius: 280px 280px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(253,249,245,0) 55%, rgba(31,27,28,.25)); }
.hero__script {
  position: absolute; top: 9%; right: -2%; z-index: 2; margin: 0;
  color: var(--c-ink); font-family: var(--f-script); font-size: clamp(2.3rem, 1.6rem + 2vw, 3.3rem); line-height: .95; text-align: center; transform: rotate(-8deg);
  text-shadow: 0 0 18px rgba(253,249,245,.9), 0 0 4px rgba(253,249,245,.9);
}
.hero__script svg { width: 34px; height: 34px; margin: 6px auto 0; stroke: var(--c-rose); fill: none; stroke-width: 1.6; }
.hero__chip { position: absolute; left: -6%; bottom: 8%; z-index: 2; }
.hero__blob { position: absolute; z-index: -1; width: 520px; height: 520px; right: -180px; top: -140px; border-radius: 50%; background: radial-gradient(circle, var(--c-blush) 0%, rgba(247,222,216,0) 70%); }
@media (max-width: 959px) {
  .hero { padding-top: var(--space-6); }
  .hero__media { max-width: 460px; }
  .hero__chip { left: 50%; transform: translateX(-50%); bottom: -24px; white-space: nowrap; }
  .hero__script { right: 2%; }
}

/* Torn-paper edges (SVG masks keep this pure CSS/HTML) */
.torn-top, .torn-bottom { position: relative; }
.torn-top::before, .torn-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; background: inherit; z-index: 1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14l30-5 26 7 38-9 31 6 44-10 27 8 39-7 22 5 48-9 30 7 35-4 41 8 29-10 36 6 25-3 44 8 33-9 28 5 46-6 21 7 39-8 34 6 27-5 45 9 30-7 26 4 40-8 35 7 22-4 43 6 31-8 29 5 37-3 24 7 41-9 28 4 33-2V28z' fill='black'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14l30-5 26 7 38-9 31 6 44-10 27 8 39-7 22 5 48-9 30 7 35-4 41 8 29-10 36 6 25-3 44 8 33-9 28 5 46-6 21 7 39-8 34 6 27-5 45 9 30-7 26 4 40-8 35 7 22-4 43 6 31-8 29 5 37-3 24 7 41-9 28 4 33-2V28z' fill='black'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.torn-top::before { top: -27px; }
.torn-bottom::after { bottom: -27px; transform: scaleY(-1); }

/* How I can help */
.help { background: var(--c-blush); padding-block: var(--space-8); }
.help__title { margin-bottom: var(--space-6); color: var(--c-ink); font-family: var(--f-script); font-size: var(--fs-script); font-weight: 400; line-height: 1; text-align: center; }
.help__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 900px) {
  .help__grid > * + *::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(158, 68, 83, .2); }
}

/* Intro (dark "Real advice for real life") */
.intro {
  position: relative; padding-block: var(--space-9); overflow: hidden;
  background: var(--c-forest) url("../img/texture-dark-olive.jpg") right center / cover no-repeat;
  color: var(--c-on-dark);
}
.intro::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,26,23,.55) 0%, rgba(22,26,23,.2) 60%, rgba(22,26,23,0) 100%); }
.intro .container { position: relative; }
.intro__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1fr 1fr; }
  .intro__copy { max-width: 460px; }
  .intro { background-size: max(calc(100% + 220px), 1500px) auto; background-position: left center; }
}
.intro__media { display: flex; justify-content: center; }
.intro h2 { color: #fff; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); line-height: 1.02; }
.intro .eyebrow { color: var(--c-rose-light); }
.intro p { max-width: 52ch; color: var(--c-on-dark-muted); font-size: 1.08rem; }
.intro__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-5); margin: var(--space-6) 0; padding: var(--space-5) 0; border-block: 1px solid rgba(255,255,255,.12); list-style: none; }
.intro__facts li { margin: 0; }
.intro__facts strong { display: block; color: #fff; font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; line-height: 1.1; }
.intro__facts span { color: var(--c-on-dark-muted); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; margin: 0; padding: var(--space-6) var(--space-5) var(--space-5); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: var(--space-3); color: var(--c-rose-text); font-family: var(--f-display); font-size: 2.4rem; font-style: italic; line-height: 1; }
.steps h3 { margin-bottom: var(--space-2); font-family: var(--f-body); font-size: 1.05rem; font-weight: 500; }
.steps p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }

/* Testimonials */
.quotes { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote { position: relative; margin: 0; padding: var(--space-6); background: var(--c-paper); border: 1px dashed #e2c46e; border-radius: var(--radius); }
.quote::before { content: "\201C"; position: absolute; top: -.1em; left: .35em; color: var(--c-blush); font-family: var(--f-display); font-size: 6rem; line-height: 1; }
.quote blockquote { position: relative; margin: 0 0 var(--space-4); color: var(--c-ink); font-family: var(--f-display); font-size: 1.35rem; font-style: italic; line-height: 1.4; }
.quote figcaption { color: var(--c-muted); font-size: var(--fs-sm); }

/* City CTA */
.city-cta { position: relative; display: grid; min-height: 380px; place-items: center; overflow: hidden; color: #fff; text-align: center; isolation: isolate; }
.city-cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.city-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(22,26,23,.45), rgba(22,26,23,0) 75%), linear-gradient(180deg, rgba(22,26,23,.2), rgba(22,26,23,.55)); }
.city-cta__inner { padding: var(--space-8) var(--gutter); }
.city-cta__title { margin: 0 0 var(--space-5); color: #fff; font-family: var(--f-script); font-size: clamp(3rem, 2rem + 4vw, 5.2rem); font-weight: 400; line-height: .95; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.city-cta p { max-width: 50ch; margin: 0 auto var(--space-5); color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.city-cta__credit { position: absolute; right: 10px; bottom: 6px; margin: 0; color: rgba(255,255,255,.75); font-size: .68rem; }
.city-cta__credit a { color: inherit; }

/* Footer */
.site-footer { background: var(--c-forest); color: var(--c-on-dark-muted); font-size: var(--fs-sm); }
.site-footer a { color: var(--c-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: var(--space-7); padding-block: var(--space-8) var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer__brand img { width: 200px; margin-bottom: var(--space-5); }
.footer__brand p { max-width: 34ch; }
.site-footer h2 { margin-bottom: var(--space-4); color: #fff; font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.footer__list { margin: 0; padding: 0; list-style: none; }
.footer__list li { margin-bottom: var(--space-2); }
.footer__contact li { display: flex; gap: .7em; }
.footer__contact svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: .25em; stroke: var(--c-rose-light); fill: none; stroke-width: 1.5; }
.social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transition: background-color .25s, border-color .25s; }
.social a:hover { background: var(--c-rose); border-color: var(--c-rose); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__legal { padding-block: var(--space-5) var(--space-6); border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; line-height: 1.6; }
.footer__legal .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); }
.footer__legal p { margin: 0; max-width: 80ch; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer__credit { flex-basis: 100%; opacity: .75; }
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* Page hero (interior pages) */
.page-hero { position: relative; padding-block: var(--space-7) var(--space-8); overflow: hidden; }
.page-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); }
.page-hero__lead { max-width: 52ch; font-size: 1.12rem; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero__media--portrait img { aspect-ratio: 4 / 5; max-width: 440px; margin-inline: auto; }
.page-hero__script { position: absolute; left: -4%; bottom: 6%; margin: 0; padding: .2em .5em; color: var(--c-ink); font-family: var(--f-script); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; transform: rotate(-6deg); text-shadow: 0 0 16px rgba(253,249,245,.95), 0 0 4px rgba(253,249,245,.95); }
.breadcrumb { margin-bottom: var(--space-5); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5em; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5em; color: var(--c-blush-line); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-rose-text); }

/* In-page jump nav */
.jump-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--c-paper); border-block: 1px solid var(--c-line); }
.jump-nav ul { display: flex; gap: var(--space-5); margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav li { margin: 0; flex-shrink: 0; }
.jump-nav a { display: block; padding: 1em 0; color: var(--c-ink); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid transparent; }
.jump-nav a:hover, .jump-nav a.is-active { color: var(--c-rose-text); border-bottom-color: var(--c-rose); }

/* Content layout with sticky sidebar */
.content-layout { display: grid; gap: var(--space-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .content-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-8); align-items: start; } }
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--space-2); font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); }
.prose h3 { margin-top: var(--space-6); font-size: 1.6rem; }
.prose > section + section { margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--c-line); }
.prose .lead { color: var(--c-ink); font-family: var(--f-display); font-size: 1.5rem; line-height: 1.45; }
.prose figure { margin: var(--space-6) 0; }
.prose figure img { width: 100%; border-radius: var(--radius); }
.prose small, .fineprint { color: var(--c-muted); font-size: var(--fs-xs); }
.tile-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: var(--space-5) 0; }
.tile { padding: var(--space-5); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius); }
.tile h3, .tile h4 { margin: 0 0 var(--space-2); font-family: var(--f-body); font-size: 1.02rem; font-weight: 500; }
.tile p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }

.sidebar { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: var(--space-5); }
.side-card { padding: var(--space-6); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); }
.side-card img { width: 110px; height: 110px; margin: 0 auto var(--space-4); border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--c-blush); }
.side-card h2 { margin-bottom: var(--space-1); font-size: 1.7rem; }
.side-card__role { margin-bottom: var(--space-4); color: var(--c-muted); font-size: var(--fs-xs); letter-spacing: .06em; }
.side-card .btn { width: 100%; margin-top: var(--space-3); }
.side-card__links { margin: var(--space-4) 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.side-card__links li { margin-bottom: var(--space-1); }
.side-card--blush { background: var(--c-blush-soft); border-color: var(--c-blush-line); text-align: left; }
.side-card--blush h2 { font-size: 1.45rem; }

/* CTA band */
.cta-band { background: var(--c-blush); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: var(--space-8); }
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band .accent-script { color: var(--c-rose-dark); }

/* FAQ (native <details>, no JS required) */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; color: var(--c-ink); font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; line-height: 1.3; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--c-blush-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e4453' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--c-rose-text); }
.faq__body { padding: 0 0 var(--space-5); max-width: 68ch; }

/* Calculator cards */
.calc-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius); }
.calc-card .icon { color: var(--c-rose-text); width: 34px; height: 34px; }
.calc-card h3 { margin: 0; font-family: var(--f-body); font-size: 1.08rem; font-weight: 500; }
.calc-card p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.calc-card .btn { align-self: flex-start; margin-top: auto; }

/* Contact block */
.contact-grid { display: grid; gap: var(--space-8); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }
.contact-list { margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.contact-list li { display: flex; gap: var(--space-4); margin-bottom: var(--space-5); }
.contact-list svg { flex-shrink: 0; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--c-blush); stroke: var(--c-rose-dark); fill: none; stroke-width: 1.6; }
.contact-list strong { display: block; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.contact-list a, .contact-list span { color: var(--c-ink); font-size: 1.1rem; text-decoration: none; }
.contact-list a:hover { color: var(--c-rose-text); }
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.map-embed { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--c-line); aspect-ratio: 16 / 10; background: var(--c-blush-soft); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* 404 */
.not-found { display: grid; min-height: 60vh; place-items: center; text-align: center; }
.not-found .script { color: var(--c-rose-text); font-size: clamp(4rem, 3rem + 5vw, 7rem); }

/* 6. UTILITIES & MOTION -------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--space-6); }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .city-cta, .sidebar, .jump-nav { display: none !important; }
  body { background: #fff; }
}

/* Comparison table (Broker Advantage, comparison page) */
.table-wrap { margin: var(--space-6) 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.compare-table thead th { background: var(--c-blush-soft); color: var(--c-ink); font-weight: 500; font-size: var(--fs-sm); letter-spacing: .04em; }
.compare-table tbody th { color: var(--c-ink); font-weight: 500; }
.compare-table .is-highlight { color: var(--c-rose-dark); }
.compare-table tr:last-child > * { border-bottom: 0; }

/* Mobile refinements ------------------------------------------------------ */
@media (max-width: 959px) {
  .hero__chip { left: 12px; right: 12px; transform: none; white-space: normal; justify-content: flex-start; }
}
@media (max-width: 899px) {
  .intro { background-position: 70% top; }
  .intro::before { background: linear-gradient(180deg, rgba(22,26,23,.55), rgba(22,26,23,.82) 45%, rgba(22,26,23,.9)); }
  .help__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
  .service-card { padding: var(--space-5) var(--space-3); }
  .service-card .icon { width: 34px; height: 34px; }
  .service-card h3 { font-size: .98rem; }
  .service-card p { font-size: .84rem; }
}
@media (max-width: 480px) {
  .agent-chip strong { font-size: 1.05rem; }
  .agent-chip img { width: 46px; height: 46px; }
}
.consent { display: flex; gap: .6em; align-items: flex-start; font-size: .9rem; color: var(--c-body); }
.consent input { flex-shrink: 0; margin-top: .35em; }
.map-embed--wide { aspect-ratio: 21 / 8; }
@media (max-width: 700px) { .map-embed--wide { aspect-ratio: 4 / 3; } }
.jump-nav ul { -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); padding-right: 2rem; }
@media (max-width: 600px) {
  .compare-table { min-width: 0; border: 0; background: transparent; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tr { margin-bottom: var(--space-4); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
  .compare-table tbody th { background: var(--c-blush-soft); }
  .compare-table td { border-bottom: 1px solid var(--c-line); }
  .compare-table td::before { content: attr(data-label); display: block; color: var(--c-muted); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; }
  .compare-table td:last-child { color: var(--c-ink); }
}

/* Supplied artwork: script lettering, brush band, leaf sprigs ------------- */
.hero__script { width: clamp(150px, 14vw, 210px); line-height: 0; text-shadow: none; }
.hero__script img { width: 100%; filter: drop-shadow(0 0 10px rgba(253,249,245,.95)) drop-shadow(0 0 3px rgba(253,249,245,.9)); }
.hero__script .hero__heart { width: 26%; margin: 4px 0 0 58%; }
.help__title { line-height: 0; }
.help__title img { width: clamp(220px, 26vw, 340px); margin-inline: auto; }
.city-cta__title { line-height: 0; }
.city-cta__title img { width: clamp(260px, 36vw, 520px); margin-inline: auto; filter: drop-shadow(0 2px 14px rgba(0,0,0,.45)); }
.city-cta > img { object-position: 50% 60%; }
/* Brush-stroke band (desktop). Mobile keeps the solid band with torn edges. */
.help { background-color: #f4d3cd; }
@media (min-width: 900px) {
  .help { background: url("../img/brush-blush.webp") center / 112% 100% no-repeat; padding-block: var(--space-9); }
  .help.torn-top::before, .help.torn-bottom::after { display: none; }
}
/* Leaf sprigs: purely decorative accents */
.sprig { position: absolute; z-index: 0; pointer-events: none; user-select: none; height: auto; }
.sprig--hero { width: clamp(120px, 13vw, 200px); left: -9%; top: 34%; transform: rotate(-18deg); z-index: 1; }
.section--sprigs { position: relative; overflow: hidden; }
.section--sprigs .container { position: relative; z-index: 1; }
.sprig--tl { width: 230px; top: 30px; left: -40px; transform: rotate(-8deg); opacity: .9; }
.sprig--br { width: 240px; bottom: 20px; right: -30px; transform: scaleX(-1) rotate(-10deg); opacity: .9; }
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.sprig--cta { width: 210px; right: -30px; bottom: -40px; transform: rotate(-24deg); opacity: .85; }
.about-media { position: relative; }
.sprig--about { width: 190px; right: 2%; top: -6%; transform: rotate(28deg); z-index: 2; }
@media (max-width: 959px) {
  .sprig--hero { left: -6%; top: 50%; width: 110px; }
  .sprig--tl, .sprig--br { width: 140px; opacity: .6; }
  .sprig--cta { width: 150px; opacity: .45; }
  .sprig--about { width: 120px; right: 0; }
}

/* ==========================================================================
   MOCKUP ALIGNMENT — homepage layout matched to "tiffany irvine mockup.png"
   (measurements taken from the mockup scaled to a 1440px viewport)
   ========================================================================== */
:root { --container: 1320px; --header-h: 112px; }
.btn { border-radius: 6px; }
.nowrap { white-space: nowrap; }

/* Header: larger logo, chunkier CTA, no top strip */
.brand img { width: clamp(170px, 12vw + 80px, 260px); }
.nav__link, .nav__toggle-sub { font-size: .76rem; }
.nav__cta { min-height: 52px; padding-inline: 1.9em; }
.site-header { background: var(--c-cream); }

/* Hero */
.hero { position: relative; z-index: 1; overflow: visible; min-height: 830px; padding: 88px 0 180px; }
.hero__bg { position: absolute; top: 0; right: 0; bottom: -110px; width: 61%; overflow: hidden; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 32%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 32%); }
.hero__copy { position: relative; max-width: 530px; }
.hero .eyebrow { margin-bottom: 1.4rem; color: var(--c-ink); letter-spacing: .2em; }
.hero__title { margin-bottom: 1.6rem; font-size: clamp(3.2rem, 1.2rem + 6vw, 6.8rem); line-height: .98; letter-spacing: -.01em; }
.hero__title .accent-script { font-size: 1.12em; line-height: .5; transform: translateY(.06em) rotate(-5deg); }
.hero__lead { max-width: 30em; margin-bottom: 2rem; color: var(--c-ink); font-size: 1.12rem; line-height: 1.6; }
.hero .btn--primary { min-height: 58px; padding-inline: 2.2em; font-size: .8rem; }
.hero__script { position: absolute; top: 56px; right: 3%; left: auto; z-index: 2; width: clamp(160px, 15vw, 235px); transform: rotate(-6deg); }
.hero__script img { filter: none; }

/* How I can help: solid band with brush-stroke edges from the supplied artwork */
.help, .help.torn-top, .help.torn-bottom { position: relative; z-index: 2; margin-top: -130px; padding: 60px 0 70px; background: #f4d3cd; }
.help::before, .help::after { content: ""; position: absolute; left: -4%; right: -4%; height: 120px; pointer-events: none;
  background: url("../img/brush-blush.webp") center top / 100% 300px no-repeat; }
.help::before { top: -66px; }
.help::after { bottom: -64px; background-position: center bottom; }
.help__title { position: relative; z-index: 1; margin: -48px 0 26px; }
.help__title img { width: clamp(260px, 30vw, 470px); }
.service-card { padding: 18px 20px 10px; }
.service-card .icon { width: 56px; height: 56px; stroke-width: 1.2; margin-bottom: 18px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { max-width: 22ch; font-size: .98rem; line-height: 1.5; margin-bottom: 18px; }
.service-card__arrow svg { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .help { background: #f4d3cd; padding: 60px 0 70px; }
  .help__grid > * + *::before { top: 6%; bottom: 6%; }
}

/* Real advice (dark) */
.intro { padding: 96px 0 80px; background-size: cover; background-position: right center; }
.intro::before { background: linear-gradient(90deg, rgba(22,26,23,.35), rgba(22,26,23,.1) 55%, rgba(22,26,23,0)); }
.intro__grid { gap: 40px; }
.intro .eyebrow { color: var(--c-on-dark); letter-spacing: .22em; }
.intro h2 { font-size: clamp(2.6rem, 1.2rem + 4vw, 5.4rem); line-height: 1; margin-bottom: 1.6rem; }
.intro p { max-width: 34em; color: var(--c-on-dark); font-size: 1.12rem; line-height: 1.75; margin-bottom: 2rem; }
.intro .polaroid { max-width: 500px; padding: 18px 18px 96px; transform: rotate(-4deg); }
.intro .polaroid__caption { font-size: 3.4rem; bottom: 18px; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 540px 1fr; }
  .intro__media { justify-content: flex-start; margin: -170px 0 0 -90px; }
  .intro__copy { max-width: 560px; }
  .intro { background-size: cover; background-position: right center; }
}

/* Tools */
.tools { position: relative; z-index: 1; padding: 64px 0 56px; background: var(--c-cream); }
.tools__head { margin-bottom: 28px; }
.tools__head h2 { margin-bottom: .6rem; font-size: clamp(2rem, 1.4rem + 1.6vw, 3.3rem); line-height: 1.05; }
.tools__grid { gap: 20px; }
.tools .img-card { border-radius: 4px; box-shadow: 0 1px 2px rgba(31,27,28,.06); }
.tools .img-card__media { aspect-ratio: 16 / 10; }
.tools .img-card__body { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 16px 20px 18px; }
.tools .img-card__body h3 { width: 100%; font-size: 1.1rem; }
.tools .img-card__arrow { margin: 0; padding: 0; }

/* City CTA: short band, script left, button right, cream fade from the section above */
.city-cta { min-height: 330px; place-items: stretch; text-align: left; }
.city-cta::before { background: linear-gradient(180deg, var(--c-cream) 0%, rgba(253,249,245,0) 22%), linear-gradient(180deg, rgba(22,26,23,0) 40%, rgba(22,26,23,.25)); }
.city-cta > img { object-position: 50% 58%; }
.city-cta__inner { display: flex; align-items: center; justify-content: center; gap: clamp(40px, 8vw, 130px); padding: 70px var(--gutter) 40px; }
.city-cta__title { margin: 0; }
.city-cta__title img { width: clamp(240px, 32vw, 500px); filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.city-cta .btn--light { min-height: 58px; padding-inline: 2.2em; background: #fbeeea; }

/* Responsive */
@media (max-width: 959px) {
  .hero { min-height: 0; padding: 40px 0 0; display: flex; flex-direction: column; }
  .hero__bg { position: relative; order: 2; width: 100%; height: 380px; bottom: auto; margin-top: 32px; }
  .hero__bg img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .hero__script { top: auto; bottom: 200px; right: 4%; width: 150px; }
  .help { margin-top: -70px; }
  .intro__media { margin-top: -120px; }
  .intro .polaroid { max-width: 340px; }
  .city-cta__inner { flex-direction: column; gap: 24px; text-align: center; }
}
@media (max-width: 700px) {
  .tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tools .img-card__body { padding: 12px 14px 14px; }
  .tools .img-card__body h3 { font-size: .95rem; }
  .service-card .icon { width: 40px; height: 40px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: .85rem; }
}

/* Mockup alignment: size pass (measured against the mockup at 1440px) */
:root { --header-h: 128px; }
.brand img { width: clamp(170px, 12vw + 90px, 272px); }
@media (min-width: 1081px) {
  .nav__link, .nav__toggle-sub { font-size: .86rem; letter-spacing: .13em; }
  .nav__list { gap: clamp(.8rem, 1.8vw, 2rem); }
  .nav__cta { min-height: 60px; padding-inline: 2.3em; font-size: .82rem; }
}
.hero { padding-top: 76px; }
.hero__copy { max-width: 610px; }
.hero__title { font-size: clamp(3.2rem, .8rem + 7.6vw, 7.8rem); }
.hero__lead { max-width: 27em; font-size: 1.28rem; }
.hero .btn--primary { min-height: 64px; padding-inline: 2.6em; font-size: .9rem; }
.hero__script { width: clamp(170px, 16vw, 250px); }
.help::before, .help::after { left: 0; right: 0; background-size: 112% 300px; }
.help__title img { width: clamp(280px, 33vw, 500px); }
.service-card .icon { width: 74px; height: 74px; }
.service-card h3 { font-size: 1.45rem; }
.service-card p { max-width: 20ch; font-size: 1.12rem; }
.intro h2 { font-size: clamp(2.6rem, 1rem + 5.6vw, 6.6rem); }
.intro .eyebrow { font-size: .9rem; }
.intro p { max-width: 32em; font-size: 1.22rem; }
.intro .btn--primary, .city-cta .btn--light { min-height: 62px; padding-inline: 2.4em; font-size: .86rem; }
.tools__head h2 { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.9rem); }
.tools__head .eyebrow { font-size: .86rem; }
.tools .link-arrow { font-size: .86rem; }
.tools .img-card__body h3 { font-size: 1.3rem; }
@media (max-width: 700px) {
  .service-card .icon { width: 46px; height: 46px; }
  .service-card h3 { font-size: 1.02rem; }
  .service-card p { font-size: .88rem; }
  .tools .img-card__body h3 { font-size: 1rem; }
}
/* Mockup alignment: spacing pass */
.hero { min-height: 800px; padding-bottom: 170px; }
.help, .help.torn-top, .help.torn-bottom { margin-top: -150px; padding: 40px 0 44px; }
@media (min-width: 900px) { .help { padding: 40px 0 44px; } }
.help__title { margin: -58px 0 8px; }
.service-card { padding-top: 10px; }
.intro { padding: 70px 0 64px; }
@media (min-width: 900px) { .intro__media { margin-top: -150px; } }
.tools { padding: 48px 0 44px; }
@media (max-width: 959px) {
  .hero { min-height: 0; padding-bottom: 0; }
  .help, .help.torn-top, .help.torn-bottom { margin-top: -60px; padding: 30px 0 40px; }
  .help__title { margin: -30px 0 10px; }
}
/* Mockup alignment: final type pass */
@media (min-width: 1081px) { .nav__link, .nav__toggle-sub { font-size: .92rem; } }
@media (min-width: 960px) {
  .hero__lead { max-width: 21.5em; font-size: 1.42rem; line-height: 1.55; }
  .service-card h3 { font-size: 1.7rem; }
  .service-card p { font-size: 1.2rem; max-width: 19ch; }
  .intro p { font-size: 1.36rem; max-width: 30em; }
  .tools .img-card__body h3 { font-size: 1.4rem; }
  .city-cta__title img { width: clamp(260px, 38vw, 580px); }
  .city-cta__inner { justify-content: flex-start; padding-left: 8%; gap: 110px; }
  .city-cta .btn--light { min-height: 70px; padding-inline: 3em; font-size: .92rem; }
}
/* Polaroid sits above the brush edge of the band, as in the mockup */
.intro__media { position: relative; z-index: 5; }
@media (max-width: 959px) {
  .intro .polaroid { padding-bottom: 76px; }
  .intro .polaroid__caption { font-size: 2.5rem; white-space: nowrap; }
  .intro__media { margin-top: -90px; }
}
.intro { overflow: visible; }
/* Hero photo of Tiffany: the source is taller than the panel at every breakpoint,
   so any crop comes off the top. Bias it to the top edge to keep headroom above
   her head and let the frame cut off at her waist instead. */
.hero__bg img { object-position: 45% 20%; }
@media (max-width: 959px) {
  .hero__bg { height: 440px; }
  /* Shorter top fade so the blend into the copy stops above her face. */
  .hero__bg img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%);
                  mask-image: linear-gradient(180deg, transparent 0%, #000 10%); }
}
/* Script sits on the backsplash left of Tiffany, between the microwave and laptop.
   Phones and tablets drop it: the photo has no clear space and "How I Can Help" follows directly. */
.hero__script { top: 278px; right: 28%; width: clamp(150px, 13vw, 210px); }
@media (max-width: 959px) { .hero__script { display: none; } }

/* Mortgage Baker brand mark --------------------------------------------- */
.intro__media { position: relative; }
.baker-sticker {
  position: absolute; z-index: 3; right: 6%; bottom: -4%;
  width: clamp(104px, 11vw, 150px); height: auto;
  border-radius: 50%; background: #fff;
  box-shadow: 0 14px 30px -12px rgba(31, 27, 28, 0.45);
  transform: rotate(8deg);
}
.about-media .baker-sticker { right: 0; bottom: -2%; }
@media (max-width: 899px) { .baker-sticker { right: 10%; } }
.footer__nick { display: flex; align-items: center; gap: var(--space-3); color: var(--c-on-dark); }
.footer__nick img { flex: 0 0 auto; width: 58px; height: 58px; margin: 0; border-radius: 50%; background: #fff; }
.footer__nick strong { color: #fff; font-weight: 500; }
.script-line { margin-top: var(--space-4); color: var(--c-rose-text); font-family: var(--f-script); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1.1; }
.city-cta .city-cta__areas { margin: var(--space-3) 0 0; max-width: none; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
@media (max-width: 899px) { .city-cta .city-cta__areas { text-align: center; } }
.baker-sticker { bottom: auto; top: 4%; right: 2%; transform: rotate(10deg); }
.about-media .baker-sticker { top: auto; bottom: 10%; right: -2%; }
.intro__media.about-media { margin: 0; justify-content: center; }
.about-media .polaroid { max-width: 360px; }
.about-media .baker-sticker { bottom: 4%; right: 14%; }
.about-media .baker-sticker { top: 34%; bottom: auto; right: 6%; }

/* Header lockup: Mortgage Baker badge + wordmark */
.brand { display: flex; align-items: center; gap: clamp(8px, 0.8vw, 14px); }
.brand img.brand__badge { flex: 0 0 auto; width: clamp(46px, 2.6vw + 22px, 64px); height: auto; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px -6px rgba(31, 27, 28, 0.35); }
@media (max-width: 380px) { .brand img.brand__badge { width: 40px; } }
.brand { gap: clamp(6px, 0.6vw, 10px); }
.brand img.brand__figure { flex: 0 0 auto; width: auto; height: clamp(58px, 3vw + 36px, 86px); margin-block: -6px; }
@media (max-width: 380px) { .brand img.brand__figure { height: 52px; } }

/* ==========================================================================
   MOBILE POLISH — phones and small tablets only (desktop untouched)
   ========================================================================== */
@media (max-width: 1080px) {
  /* Compact header: the desktop 128px bar left a large empty band on phones */
  :root { --header-h: 76px; }
  .brand img.brand__figure { height: 54px; margin-block: 0; }
  .brand img { width: clamp(150px, 40vw, 200px); }
  .nav__cta { align-self: stretch; }
}
@media (max-width: 959px) {
  .hero { padding-top: 28px; }
  /* Eyebrow: keep the cities together on their own line, no dangling dot */
  .hero .eyebrow__sep { display: none; }
  .hero .eyebrow__lead { display: block; }
  .hero .eyebrow { margin-bottom: 1rem; }

  /* How I Can Help: tidy tappable rows instead of an uneven 2x2 grid */
  .help, .help.torn-top, .help.torn-bottom { padding-bottom: 84px; }
  .help__grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card {
    display: grid; grid-template-columns: 44px 1fr 22px; grid-template-rows: auto auto;
    column-gap: 16px; row-gap: 2px; align-items: center; text-align: left;
    padding: 14px 16px; background: rgba(255, 255, 255, .55); border-radius: var(--radius);
  }
  .service-card:hover { transform: none; background: rgba(255, 255, 255, .8); }
  .service-card .icon { grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; }
  .service-card h3 { margin: 0; font-size: 1.08rem; align-self: end; }
  .service-card p { grid-column: 2; max-width: none; margin: 0; font-size: .9rem; line-height: 1.45; align-self: start; }
  .service-card__arrow { grid-column: 3; grid-row: 1 / 3; margin: 0; }
  .service-card__arrow svg { width: 22px; height: 22px; }

  /* Real Advice: darker scrim so body copy is readable over the leaf artwork */
  .intro::before { background: linear-gradient(180deg, rgba(22,26,23,.3) 0%, rgba(22,26,23,.82) 38%, rgba(22,26,23,.9) 100%); }
  .intro .eyebrow { font-size: .74rem; letter-spacing: .16em; }
  .intro p { font-size: 1.06rem; line-height: 1.7; }
}
@media (max-width: 700px) {
  /* Tighter, more even rhythm between sections */
  .eyebrow { letter-spacing: .14em; }
  .prose > section + section { margin-top: var(--space-7); padding-top: var(--space-7); }
  .content-layout { gap: var(--space-7); }
  .section { padding-block: 3.5rem; }
  .page-hero { padding-block: var(--space-6) var(--space-7); }
  .cta-band__inner { padding-block: var(--space-7); }

  /* Button pairs share the row evenly instead of wrapping ragged */
  .btn-row { gap: var(--space-3); }
  /* (.btn-wrap > .btn covers the WordPress theme, where each button sits in a display:contents <p>) */
  .btn-row > .btn, .btn-row > .btn-wrap > .btn { flex: 1 1 140px; padding-inline: 1em; }
  /* Three buttons (e.g. Contact): primary full width, the other two paired below */
  .btn-row > .btn:first-child:nth-last-child(3),
  .btn-row > .btn-wrap:first-child:nth-last-child(3) > .btn { flex-basis: 100%; }

  /* Footer: link lists side by side, less scrolling */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-5); padding-block: var(--space-7) var(--space-6); }
  .footer__brand, .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__brand > img { width: 170px; }
  .footer__legal .container { gap: var(--space-3); }
}
