/* Twin City Lending — design tokens */
:root {
  --ink: #10263a;          /* Mississippi navy: text, dark sections */
  --ink-2: #1b3a55;
  --lake: #1f7fc1;         /* logo blue */
  --lake-deep: #17669e;    /* blue for text and buttons on light (AA) */
  --birch: #f4f6f5;        /* page background */
  --paper: #ffffff;
  --stone: #dce3e6;        /* hairlines, quiet fills */
  --pine: #1f4a3f;
  --lamp: #f2b544;         /* porch-light amber, used sparingly */
  --muted: #4d6274;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  /* type scale (1.25) */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: 1.5625rem;
  --t-xl: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --t-hero: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);

  --r-sm: 6px;
  --r-md: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--birch);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lake-deep); text-underline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: var(--t-xl); font-weight: 700; font-variation-settings: "wdth" 90; }
h3 { font-size: var(--t-md); font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
figure { margin: 0; }

:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }
.section-sub { color: var(--muted); max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--f-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary { background: var(--lake-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-call { background: var(--ink); color: #fff; }
.btn-call:hover { background: var(--lake-deep); }
.btn-lamp { background: var(--lamp); color: var(--ink); }
.btn-lamp:hover { background: #ffc85f; }

/* Header */
/* Solid white so the logo's own white background blends in */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--stone);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px -14px rgba(16, 38, 58, .45); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 88px; }
.brand { display: block; margin-right: auto; flex: none; line-height: 0; }
.brand-logo { height: 66px; width: auto; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav-list a:hover { border-bottom-color: var(--lake); }
.nav-toggle { display: none; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.kicker { color: var(--lake-deep); font-weight: 600; margin-bottom: 1.1rem; }
.hero h1 {
  font-size: var(--t-hero);
  font-weight: 760;
  font-variation-settings: "wdth" 86;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 1.4rem;
}
.lede { font-size: var(--t-md); line-height: 1.55; color: var(--ink-2); max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.5rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--stone); }
.hero-facts div { padding-right: 1.6rem; margin-right: 1.6rem; border-right: 1px solid var(--stone); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; }
.hero-facts dt { font-size: var(--t-sm); color: var(--muted); }
.hero-facts dd { margin: 0; font-weight: 700; font-family: var(--f-display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }

/* The gable — the one bold move */
.hero-figure { position: relative; }
.gable {
  aspect-ratio: 5 / 5.6;
  clip-path: polygon(50% 0, 100% 27%, 100% 100%, 0 100%, 0 27%);
  overflow: hidden;
  background: var(--stone);
}
.gable img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-note {
  position: absolute; left: -1.5rem; bottom: 2rem;
  max-width: 17rem;
  background: var(--ink); color: #fff;
  padding: 1rem 1.15rem 1rem 1.1rem;
  border-radius: var(--r-md);
  font-size: .98rem; line-height: 1.45;
  display: flex; gap: .75rem; align-items: flex-start;
  box-shadow: 0 18px 40px -18px rgba(16, 38, 58, .55);
}
.note-lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--lamp); margin-top: .45rem; flex: none; box-shadow: 0 0 0 4px rgba(242, 181, 68, .25); }

/* Why */
.why { background: var(--paper); padding-block: var(--section); }
/* Two balanced rows: heading | intro, then photo | comparison table */
.why-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  grid-template-areas: "title intro" "photo compare";
  column-gap: clamp(2rem, 5vw, 5rem); row-gap: clamp(2rem, 3vw, 3rem);
}
.why-title { grid-area: title; max-width: 14ch; margin: 0; align-self: end; }
.why-intro { grid-area: intro; color: var(--ink-2); max-width: 46ch; margin: 0; align-self: end; font-size: var(--t-md); line-height: 1.55; }
.why-photo { grid-area: photo; align-self: center; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; }
.why .compare { grid-area: compare; align-self: center; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.compare { border-top: 2px solid var(--ink); }
.compare-row {
  display: grid; grid-template-columns: 1fr 1.1fr 1.25fr; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--stone); align-items: baseline;
}
.compare-row [role="rowheader"] { font-weight: 600; }
.compare-row [role="cell"]:nth-child(2) { color: var(--muted); }
.compare-row [role="cell"]:nth-child(3) { color: var(--pine); font-weight: 600; }
.compare-head { font-size: var(--t-sm); color: var(--muted); padding-block: .7rem; }
.compare-head span:last-child { color: var(--lake-deep); font-weight: 700; }

/* Loans */
.loans { padding-block: var(--section); }
.loans-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.loans-intro { position: sticky; top: 120px; }
.loans-intro p { color: var(--ink-2); max-width: 44ch; }
.loans-photo { margin-top: 2rem; border-radius: var(--r-md); overflow: hidden; }
.loan-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.loan-list li { padding: 1.4rem 0 1.25rem; border-bottom: 1px solid var(--stone); display: grid; grid-template-columns: minmax(10rem, 0.8fr) 1.2fr; gap: 1.25rem; }
.loan-list h3 { margin: 0; font-size: 1.2rem; }
.loan-list p { margin: 0; color: var(--ink-2); }

/* Process */
.process { background: var(--pine); color: #fff; padding-block: var(--section); }
.process .section-sub { color: #cfe0d9; }
.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps li { padding: 0 1.75rem 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: 22px; left: 54px; right: 0; height: 2px; background: rgba(255,255,255,.22); }
.steps li:last-child::before { display: none; }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--lamp); color: var(--lamp);
  font: 700 1.15rem/1 var(--f-display); margin-bottom: 1.25rem; position: relative; background: var(--pine);
}
.steps li:last-child .step-num { background: var(--lamp); color: var(--ink); }
.steps h3 { color: #fff; }
.steps p { color: #d8e6e0; margin: 0; font-size: 1rem; }

/* Calculator */
.calc { background: var(--ink); color: #fff; padding-block: var(--section); }
.calc-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.calc-head { grid-column: 1 / -1; max-width: 46rem; }
.calc-head p { color: #c4d3df; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.25rem; border: 0; margin: 0; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.calc label, .calc legend { font-weight: 600; font-size: .95rem; color: #e5edf3; }
.input-affix {
  display: flex; align-items: center;
  background: var(--ink-2); border: 1.5px solid #3a5873; border-radius: 10px;
  padding-inline: .9rem; transition: border-color .15s ease;
}
.input-affix:focus-within { border-color: var(--lamp); }
.input-affix span { color: #9fb4c6; font-weight: 600; }
.input-affix input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: #fff;
  font: 600 1.15rem var(--f-body); padding: .75rem .4rem; font-variant-numeric: tabular-nums;
}
.input-affix input:focus { outline: none; }
.hint { margin: 0; font-size: var(--t-sm); color: #9fb4c6; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: #2c4a65; border-radius: 99px; margin-top: .6rem; accent-color: var(--lamp); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lamp); border: 3px solid var(--ink); cursor: pointer; }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--lamp); border: 3px solid var(--ink); cursor: pointer; }

.term { border: 0; padding: 0; margin: 0; }
.term legend { margin-bottom: .4rem; padding: 0; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink-2); border: 1.5px solid #3a5873; border-radius: 10px; padding: 4px; gap: 4px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; text-align: center; padding: .6rem .5rem; border-radius: 7px; font-weight: 600; color: #c4d3df; transition: background-color .15s ease, color .15s ease; }
.segmented input:checked + span { background: #fff; color: var(--ink); }
.segmented input:focus-visible + span { outline: 3px solid var(--lamp); outline-offset: 2px; }

.calc-result {
  background: var(--paper); color: var(--ink);
  border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.25rem);
  position: sticky; top: 116px;
}
.result-label { margin: 0; font-weight: 600; color: var(--muted); }
.result-total {
  font: 800 clamp(2.8rem, 2rem + 3vw, 4rem)/1 var(--f-display);
  letter-spacing: -0.03em; margin: .3rem 0 1.2rem; font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 85;
}
.result-total small { font-size: .38em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: .25rem; }
.result-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--stone); margin-bottom: 1.2rem; gap: 2px; }
.seg { display: block; height: 100%; transition: flex-basis .3s ease; }
.seg-pi, .dot-pi { background: var(--lake-deep); }
.seg-tax, .dot-tax { background: var(--pine); }
.seg-ins, .dot-ins { background: var(--lamp); }
.result-breakdown { margin: 0 0 1.2rem; }
.result-breakdown div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--stone); }
.result-breakdown dt { display: flex; align-items: center; gap: .55rem; color: var(--ink-2); }
.result-breakdown dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.result-breakdown .loan-amt { border-bottom: 0; color: var(--muted); }
.result-breakdown .loan-amt dt, .result-breakdown .loan-amt dd { color: var(--muted); font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.pmi-note { font-size: var(--t-sm); background: #fdf4e1; border-radius: var(--r-sm); padding: .7rem .85rem; color: #5c4510; }
.pmi-note[hidden] { display: none; }
.calc-result .btn { width: 100%; margin: .4rem 0 1rem; }
.fine { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* Owner */
.owner { padding-block: var(--section); background: var(--paper); }
.owner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.owner-photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 4.4; }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.owner blockquote { margin: 0 0 1.25rem; }
.owner blockquote p {
  font: 650 clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem)/1.12 var(--f-display);
  letter-spacing: -0.02em; font-variation-settings: "wdth" 88; margin: 0;
  text-indent: -0.42em;
}
.owner blockquote p::before { content: "\201C"; color: var(--lake); }
.owner blockquote p::after { content: "\201D"; color: var(--lake); }
.owner-sig { color: var(--muted); margin-bottom: 2rem; }
.owner-sig strong { color: var(--ink); }
.owner-body { border-left: 3px solid var(--lamp); padding-left: 1.25rem; color: var(--ink-2); max-width: 46ch; }
.owner-body p:last-child { margin-bottom: 0; }

/* Moments */
.moments { padding-block: 0 var(--section); background: var(--paper); }
.moments-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1rem; }
.moments figure { position: relative; border-radius: var(--r-md); overflow: hidden; height: clamp(240px, 24vw, 340px); }
.moments img { width: 100%; height: 100%; object-fit: cover; }
.m-closing img { object-position: 50% 30%; }
.moments figcaption {
  position: absolute; left: .75rem; bottom: .75rem;
  background: rgba(16, 38, 58, .82); color: #fff; font-weight: 600; font-size: .9rem;
  padding: .35rem .75rem; border-radius: 999px;
}

/* FAQ */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq h2 { max-width: 12ch; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font: 650 1.15rem/1.35 var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--lake-deep); border-bottom: 2.5px solid var(--lake-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--lake-deep); }
.faq details p { padding: 0 2.5rem 1.4rem 0; margin: 0; color: var(--ink-2); max-width: 62ch; }

/* Contact */
.contact { padding-block: var(--section); background: var(--paper); border-top: 1px solid var(--stone); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-lede { color: var(--ink-2); max-width: 40ch; }
.contact-phone {
  display: inline-block; margin: .5rem 0 2rem;
  font: 800 clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem)/1 var(--f-display);
  letter-spacing: -0.03em; font-variation-settings: "wdth" 85;
  color: var(--ink); text-decoration-color: var(--lamp); text-decoration-thickness: 4px; text-underline-offset: 8px;
}
.contact-phone:hover { color: var(--lake-deep); }
.contact-details { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; }
.contact-details div { display: contents; }
.contact-details dt { color: var(--muted); }
.contact-details dd { margin: 0; font-weight: 500; }
.text-link { font-weight: 600; }

.contact-form { background: var(--birch); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.contact-form label { font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 400 1rem var(--f-body); color: var(--ink);
  background: #fff; border: 1.5px solid #c3cfd5; border-radius: 10px; padding: .75rem .85rem;
  min-height: 48px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--lake-deep); box-shadow: 0 0 0 3px rgba(31, 127, 193, .2); }
.contact-form [aria-invalid="true"] { border-color: #b3261e; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }.optional { font-weight: 400; color: var(--muted); }
.form-help { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: .6; cursor: progress; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.error { color: #b3261e; }
.form-status.ok { color: var(--pine); }

/* Legal pages (privacy policy, terms) */
.legal { background: var(--paper); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--section); }
.legal-wrap { max-width: calc(46rem + 2 * var(--gutter)); }
.legal-back { margin-bottom: 1.5rem; font-weight: 600; }
.legal h1 { font-size: var(--t-xl); font-weight: 760; font-variation-settings: "wdth" 88; letter-spacing: -0.025em; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 2px solid var(--ink); }
.legal h2 { font-size: var(--t-lg); margin-top: 2.5rem; }
.legal h3 { font-size: 1.12rem; margin-top: 1.75rem; margin-bottom: .4rem; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul, .legal ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal ol > li > p { margin-bottom: .5rem; }
.legal-lead { font-family: var(--f-display); font-size: var(--t-md); font-weight: 650; color: var(--ink); }
.legal-address { font-style: normal; background: var(--birch); border-left: 3px solid var(--lake); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: .9rem 1.1rem; margin: 0 0 1.25rem; line-height: 1.65; }
.footer-links a[aria-current="page"] { text-decoration-thickness: 2px; color: var(--lamp); }

/* Footer */
.site-footer { background: var(--ink); color: #c4d3df; padding-block: 3.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--r-md); padding: .6rem .9rem; line-height: 0; }
.footer-logo img { height: 64px; width: auto; }
.site-footer a { color: #fff; }
.social { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 1.25rem; }
.ehl { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: #fff; }
.ehl svg { width: 30px; height: 30px; color: #fff; }
.site-footer .fine { color: #9fb4c6; margin-bottom: 1em; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Mobile call bar */
.mobile-call { display: none; }

/* Entrance: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .js .gable { animation: raise 1.1s cubic-bezier(.65,0,.25,1) .1s both; }
  .js .hero-note { opacity: 0; animation: rise .6s ease .9s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes raise {
    from { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
    to { clip-path: polygon(50% 0, 100% 27%, 100% 100%, 0 100%, 0 27%); }
  }
}

/* Responsive */
@media (max-width: 1020px) {
  .nav-list { gap: 1.1rem; }
  .header-call { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps li:nth-child(2)::before { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px;
    border: 1.5px solid var(--stone); border-radius: 12px; background: #fff; cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--stone); padding: .5rem var(--gutter) 1rem;
    box-shadow: 0 20px 30px -20px rgba(16,38,58,.3);
  }
  .nav-list.open { display: flex; }
  .nav-list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--stone); font-size: 1.05rem; }
  .nav-list li:last-child a { border-bottom: 0; }

  .why-grid { grid-template-areas: "title" "intro" "photo" "compare"; row-gap: 1.25rem; }
  .why-photo { margin-block: .75rem 1rem; }
  .hero-grid, .why-grid, .loans-grid, .calc-grid, .owner-grid, .faq-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 560px; }
  .hero-note { left: auto; right: .75rem; bottom: .75rem; }
  .loans-intro, .calc-result { position: static; }
  .loans-photo { display: none; }
  .owner-photo { aspect-ratio: 4 / 3; }
  .moments-grid { grid-template-columns: 1fr 1fr; }
  .moments figure { height: clamp(200px, 40vw, 300px); }
  .m-closing { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 6.5rem; }
  .why-title, .faq h2 { max-width: none; }

  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 60; min-height: 54px; border-radius: 999px;
    background: var(--lake-deep); color: #fff; font-weight: 700; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(16,38,58,.6);
  }
  .mobile-call svg { width: 20px; height: 20px; fill: currentColor; }
}

@media (max-width: 600px) {
  :root { --t-base: 1rem; }
  .header-inner { min-height: 72px; }
  .brand-logo { height: 52px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { flex-wrap: nowrap; }
  .hero-facts div { padding-right: .8rem; margin-right: .8rem; min-width: 0; }
  .hero-facts dt { font-size: .78rem; }
  .hero-facts dd { font-size: 1rem; }
  .compare-row { grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
  .compare-row [role="rowheader"] { grid-column: 1 / -1; }
  .compare-head [role="columnheader"]:first-child { display: none; }
  .loan-list li { grid-template-columns: 1fr; gap: .4rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 4rem; }
  .steps li::before { display: block; top: 46px; bottom: -2.5rem; left: 22px; right: auto; width: 2px; height: auto; }
  .steps li:last-child::before { display: none; }
  .step-num { position: absolute; left: 0; top: -.4rem; }
  .calc-form { grid-template-columns: 1fr; }
  .moments-grid { grid-template-columns: 1fr; }
  .moments figure { height: auto; aspect-ratio: 4 / 3; }
  .field-pair { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
}
