/* ==========================================================================
   Wilding Mortgages — brand stylesheet (preview, October 2026)
   One clean stylesheet replacing style.css + wilding-theme.css.
   Fonts: Playfair Display (headings), Jost (body/UI), Caveat (accent).
   ========================================================================== */

:root {
  --cream: #F8F1EA;
  --cream-light: #FBF5EF;
  --white: #FFFDF9;
  --blush: #EFDDD3;
  --blush-deep: #E8CFC3;
  --pill: #EBD3C6;
  --line: #CDB3A3;
  --taupe: #A88C7A;
  --taupe-warm: #9C7F6E;
  --brown-mid: #7A5C4B;
  --brown: #4A3328;
  --mauve: #B99AA0;
  --mauve-soft: #E6D3D3;
  --pink-on-photo: #F7E4DA;
  --overlay: rgba(64, 42, 30, 0.7);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -24px rgba(74, 51, 40, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(74, 51, 40, 0.3);
  --wrap: 1200px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--brown-mid); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
h4 { font-size: 1.1rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--taupe); font-weight: 400; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--brown-mid); max-width: 58ch; }
.muted { color: var(--brown-mid); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Small uppercase label in a rounded blush pill */
.eyebrow, .pill {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brown-mid);
  background: var(--pill);
  border-radius: 999px;
  padding: 0.55em 1.25em 0.5em 1.5em;
  margin: 0 0 1.4rem;
  line-height: 1.3;
}
.on-dark .eyebrow, .eyebrow.light { background: rgba(247, 228, 218, 0.18); color: var(--pink-on-photo); border: 1px solid rgba(247, 228, 218, 0.35); }

.hand { font-family: var(--hand); font-size: 1.9rem; color: var(--taupe); line-height: 1; display: block; margin-bottom: 0.3rem; }

.rule { width: 56px; height: 1px; background: var(--line); border: 0; margin: 1.6rem 0; }
.center .rule { margin-inline: auto; }

/* Sparkle accent (four-point star) */
.sparkle { position: absolute; width: 22px; height: 22px; color: var(--taupe); opacity: 0.75; pointer-events: none; }
.sparkle svg { width: 100%; height: 100%; fill: currentColor; }
.sparkle.sm { width: 14px; height: 14px; }
.sparkle.lg { width: 30px; height: 30px; }
.sparkle.light { color: var(--pink-on-photo); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding: 1.05em 2.1em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  line-height: 1.2;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--brown); color: var(--white); }
.button.primary:hover { background: var(--brown-mid); color: var(--white); }
.button.secondary { background: transparent; color: var(--brown); border-color: var(--line); }
.button.secondary:hover { background: var(--blush); color: var(--brown); }
.button.light, .button.white { background: var(--white); color: var(--brown); }
.button.light:hover, .button.white:hover { background: var(--pink-on-photo); color: var(--brown); }
.button.ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 253, 249, 0.55); }
.button.ghost-light:hover { background: rgba(255, 253, 249, 0.12); color: var(--white); }
.button[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.text-link { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--brown); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.text-link:hover { border-color: var(--brown); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 1.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 241, 234, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(205, 179, 163, 0.45);
}
.nav { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-tree { width: 46px; height: auto; }
.brand-wordmark { width: 150px; height: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  white-space: nowrap;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none; color: var(--brown); padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--taupe); color: var(--brown); }
.nav-actions { display: flex; align-items: center; }
.portal-link {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  background: var(--pill); color: var(--brown); padding: 0.8em 1.4em; border-radius: 999px; white-space: nowrap;
}
.portal-link:hover { background: var(--blush-deep); }
.menu { display: none; background: none; border: 0; padding: 10px; margin-left: auto; cursor: pointer; color: var(--brown); }
.menu-icon { display: grid; gap: 5px; width: 24px; }
.menu-icon i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav.open .menu-icon i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .menu-icon i:nth-child(2) { opacity: 0; }
.nav.open .menu-icon i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Forms (shared) ---------- */
label { display: block; font-size: 0.86rem; font-weight: 500; color: var(--brown-mid); }
label > span:first-child:not(.optional) { display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--brown);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85em 1em; margin-top: 6px; transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none; -webkit-appearance: none;
}
label > span:first-child + input, label > span:first-child + select, label > span:first-child + textarea { margin-top: 0; }
select {
  background-image: 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='%237A5C4B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.6em;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--taupe); box-shadow: 0 0 0 4px rgba(168, 140, 122, 0.18); }
input[type="checkbox"], input[type="radio"] {
  width: 20px; height: 20px; padding: 0; margin: 2px 0 0; flex-shrink: 0; border-radius: 6px; cursor: pointer;
  display: inline-grid; place-content: center;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--brown); border-color: var(--brown); }
input[type="checkbox"]:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--white); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
input[type="radio"]:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.consent, .hero-lead-consent, .booking-consent, .contact-form-consent {
  display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 0.86rem; line-height: 1.5; color: var(--brown-mid);
}
.hero-honeypot, .booking-honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[role="status"]:empty { display: none; }
[role="status"] { color: var(--brown-mid); font-size: 0.9rem; margin: 10px 0 0; }
.optional { font-weight: 400; color: var(--taupe); font-size: 0.8rem; margin-left: 4px; }
label > span[aria-hidden], .required-mark { color: var(--taupe); }

.form-card {
  background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3.6vw, 44px);
  box-shadow: var(--shadow); border: 1px solid rgba(205, 179, 163, 0.45);
}
.form-card h2, .form-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid .button { width: 100%; }

.hero-lead-success, .form-success-box {
  display: flex; gap: 18px; align-items: flex-start; background: var(--cream-light);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px;
}
.hero-lead-success[hidden] { display: none; }
.hero-lead-success > span, .success-mark {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pill); color: var(--brown); font-size: 1.1rem;
}
.hero-lead-success strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; display: block; margin-bottom: 4px; }
.hero-lead-success p { margin: 0; color: var(--brown-mid); }

/* ---------- Polaroid photos ---------- */
.polaroid {
  position: relative; margin: 0; background: var(--white); padding: 14px 14px 56px;
  box-shadow: var(--shadow); border-radius: 4px; max-width: 420px;
}
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-family: var(--hand); font-size: 1.55rem; color: var(--brown-mid); line-height: 1;
}
.polaroid.tilt-left { transform: rotate(-3deg); }
.polaroid.tilt-right { transform: rotate(3deg); }
.polaroid.small { max-width: 230px; padding: 10px 10px 40px; }
.polaroid.small figcaption { font-size: 1.25rem; bottom: 8px; }

.photo-arch { margin: 0; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.photo-arch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.photo-rounded { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.photo-rounded img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: #402a1e;
  min-height: min(760px, calc(100vh - var(--header-h)));
  display: flex; align-items: center;
}
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: 64%; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 42%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 42%);
}
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(64, 42, 30, 0) 0%, rgba(64, 42, 30, 0.5) 36%, rgba(64, 42, 30, 0.12) 56%, rgba(64, 42, 30, 0) 72%),
    linear-gradient(0deg, rgba(64, 42, 30, 0.35) 0%, rgba(64, 42, 30, 0) 30%);
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 150px; }
.hero-copy { max-width: 540px; }
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1.06; margin-bottom: 0.45em; }
.hero h1 em { color: var(--pink-on-photo); }
.hero .lead { color: rgba(255, 253, 249, 0.88); font-size: 1.15rem; }
.hero .rule { background: rgba(247, 228, 218, 0.5); }
.hero-call { font-size: 0.95rem; color: rgba(255, 253, 249, 0.8); margin-top: 1.6rem; }
.hero-call a { color: var(--pink-on-photo); font-family: var(--serif); font-style: italic; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid rgba(247, 228, 218, 0.45); }
.hero .sparkle { z-index: 2; }

/* Enquiry band that overlaps the hero */
.lead-band { position: relative; z-index: 5; margin-top: -96px; }
.lead-band .form-card { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.lead-band-heading h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: 0.35em; }
.lead-band-heading p { color: var(--brown-mid); margin: 0; font-size: 0.98rem; }
.lead-band .eyebrow { margin-bottom: 1rem; }
.hero-lead-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; align-items: end; }
.hero-lead-fields .button { height: 52px; }
.hero-lead-meta { margin-top: 16px; }
.risk-note { font-size: 0.8rem; color: var(--taupe-warm); margin: 14px 0 0; letter-spacing: 0.01em; }

/* Soft approach labels (no numbered counters) */
.approach { padding: 64px 0 24px; }
.approach-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.approach-list li { text-align: center; padding: 8px 16px; position: relative; }
.approach-list li + li::before { content: ""; position: absolute; left: -12px; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.approach-list .pill { margin-bottom: 0.9rem; }
.approach-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; font-style: italic; color: var(--brown); }
.approach-list span.desc { color: var(--brown-mid); font-size: 0.98rem; }

/* ---------- Meet Chloe ---------- */
.meet { position: relative; background: var(--blush); overflow: hidden; }
.meet-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.meet-photos { position: relative; min-height: 560px; }
.meet-photos .polaroid:first-child { position: relative; z-index: 2; width: 68%; }
.meet-photos .polaroid.small { position: absolute; right: 2%; bottom: -10px; z-index: 3; width: 42%; }
.meet-copy p { color: var(--brown-mid); }
.meet-copy .signature { font-family: var(--hand); font-size: 2.1rem; color: var(--brown-mid); margin-top: 0.6rem; }

/* ---------- Services ---------- */
.section-heading { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-heading p:not(.eyebrow) { color: var(--brown-mid); }
.section-heading.left { margin-left: 0; text-align: left; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--brown); border: 1px solid rgba(205, 179, 163, 0.45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--brown); }
.card-photo { margin: 14px 14px 0; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--blush); }
.card-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 25%; }
.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--brown-mid); flex: 1; }
.card .more { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--brown); display: inline-flex; gap: 10px; align-items: center; }
.card .more::after { content: "→"; letter-spacing: 0; transition: transform .25s ease; }
.card:hover .more::after { transform: translateX(4px); }

/* ---------- Photo break (split band) ---------- */
.photo-break { background: var(--brown); color: var(--white); position: relative; overflow: hidden; }
.photo-break-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.photo-break-media { margin: 0; position: relative; }
.photo-break-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo-break-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(64,42,30,0) 60%, rgba(74,51,40,0.95) 100%); }
.photo-break-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 110px) clamp(28px, 6vw, 96px); position: relative; }
.photo-break h2 { color: var(--white); font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.photo-break h2 em { color: var(--pink-on-photo); }
.photo-break p { color: rgba(255, 253, 249, 0.85); max-width: 44ch; }
.photo-break .phone-number { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--pink-on-photo); text-decoration: none; }
.photo-break-copy .eyebrow { align-self: flex-start; max-width: none; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream-light); }
.reviews-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.reviews-heading h2 { margin: 0; max-width: 18ch; }
.review-toolbar { display: flex; align-items: center; gap: 18px; }
.google-review-score {
  display: grid; gap: 2px; text-decoration: none; background: var(--white); border: 1px solid rgba(205,179,163,.6);
  border-radius: 18px; padding: 12px 22px; color: var(--brown);
}
.google-review-name { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brown-mid); }
.google-review-rating { display: flex; align-items: baseline; gap: 10px; }
.google-review-rating strong { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.google-review-stars, .home-review-stars { color: var(--taupe); letter-spacing: 0.18em; }
.google-review-score small { color: var(--taupe-warm); font-size: 0.8rem; }
.home-review-controls { display: flex; gap: 10px; }
.home-review-controls button {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--brown);
  font-size: 1.1rem; cursor: pointer; transition: background .2s ease;
}
.home-review-controls button:hover { background: var(--blush); }
.home-review-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px;
}
.home-review-grid::-webkit-scrollbar { display: none; }
.home-review-card {
  scroll-snap-align: start; background: var(--white); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid rgba(205,179,163,.45); min-height: 250px; text-decoration: none; color: var(--brown);
}
.home-review-card q, .home-review-copy { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; flex: 1; quotes: "“" "”"; }
.home-review-card q { font-style: italic; }
.home-review-card > p { margin: 0; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brown-mid); font-weight: 500; }
.home-review-all { background: var(--blush); justify-content: center; text-align: center; align-items: center; }
.home-review-all span { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brown-mid); }
.home-review-all strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; font-style: italic; }
.home-review-all small { color: var(--brown-mid); }
.home-reviews-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.86rem; color: var(--taupe-warm); margin-top: 18px; }
.home-reviews-footer a { color: var(--brown-mid); }

/* ---------- CTA (polaroid + copy) ---------- */
.cta-soft { position: relative; }
.cta-soft-inner {
  position: relative; background: var(--blush); border-radius: 32px; padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; overflow: visible;
}
.cta-soft-inner h2 { max-width: 16ch; }
.cta-soft-inner p { color: var(--brown-mid); max-width: 46ch; }
.cta-soft .polaroid { margin-inline: auto; max-width: 270px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 clamp(64px, 8vw, 100px); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.page-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.page-hero .polaroid { margin-left: auto; }
.page-hero.blush { background: var(--blush); }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.tag-row span {
  font-size: 0.78rem; letter-spacing: 0.08em; color: var(--brown-mid); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.5em 1.1em; background: rgba(255, 253, 249, 0.6);
}

/* ---------- Feature list / soft cards ---------- */
.soft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.soft-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.soft-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.soft-card { background: var(--white); border: 1px solid rgba(205,179,163,.45); border-radius: var(--radius); padding: 32px 30px; }
.soft-card .pill { font-size: 0.64rem; margin-bottom: 1.1rem; }
.soft-card h3 { margin-bottom: 0.5em; }
.soft-card p { color: var(--brown-mid); margin: 0; }
.soft-card p + p { margin-top: 0.8em; }
.soft-card a.text-link { display: inline-block; margin-top: 1.2rem; }
.on-blush .soft-card { background: var(--cream-light); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-copy p { color: var(--brown-mid); }
.split .polaroid { margin-inline: auto; }

.band-blush { background: var(--blush); }
.band-light { background: var(--cream-light); }
.band-white { background: var(--white); }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.chip-list span { background: var(--pill); color: var(--brown-mid); border-radius: 999px; padding: 0.45em 1.1em; font-size: 0.86rem; }

/* Quote band over photo (text kept away from face) */
.story-band { background: var(--brown); color: var(--white); }
.story-band h2 { color: var(--white); }
.story-band h2 em { color: var(--pink-on-photo); }
.story-band p { color: rgba(255,253,249,.85); }
.story-band .eyebrow { background: rgba(247, 228, 218, 0.16); color: var(--pink-on-photo); }

/* Soft list (replaces numbered steps) */
.soft-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.soft-steps li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(205,179,163,.6); align-items: baseline; }
.soft-steps li:last-child { border-bottom: 1px solid rgba(205,179,163,.6); }
.soft-steps .label { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--taupe); }
.soft-steps h3 { font-size: 1.2rem; margin-bottom: 0.25em; font-family: var(--sans); font-weight: 500; letter-spacing: 0.01em; }
.soft-steps p { margin: 0; color: var(--brown-mid); }

.doc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc-list li { background: var(--white); border-radius: var(--radius-sm); padding: 20px 22px 20px 54px; position: relative; border: 1px solid rgba(205,179,163,.45); }
.doc-list li::before { content: ""; position: absolute; left: 22px; top: 25px; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23A88C7A' d='M12 0c.6 5.6 3.4 10.4 12 12-8.6 1.6-11.4 6.4-12 12-.6-5.6-3.4-10.4-12-12C8.6 10.4 11.4 5.6 12 0z'/%3E%3C/svg%3E"); }
.doc-list strong { display: block; font-weight: 500; }
.doc-list small { color: var(--brown-mid); font-size: 0.9rem; }
.note-card { background: var(--pill); border-radius: var(--radius-sm); padding: 20px 24px; margin-top: 1.6rem; }
.note-card strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.note-card span { color: var(--brown-mid); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-list details { border-top: 1px solid rgba(205,179,163,.7); padding: 4px 0; }
.faq-list details:last-child { border-bottom: 1px solid rgba(205,179,163,.7); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--serif); font-size: 1.2rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--taupe); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--brown-mid); padding-bottom: 14px; margin: 0; }

/* ---------- Booking (callback) ---------- */
.booking-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; }
.callback-booking-form { display: contents; }
.booking-card { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); border: 1px solid rgba(205,179,163,.45); }
.booking-step-heading { margin-bottom: 1.2rem; }
.booking-step-heading h2 { font-size: 1.6rem; margin: 0; }
.booking-step-heading .eyebrow { margin-bottom: 0.9rem; }
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.booking-wide { grid-column: 1 / -1; }
.booking-date-field input { margin-top: 8px; }
.callback-slots { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; color: var(--brown-mid); font-size: 0.92rem; }
.callback-slots button { border: 1px solid var(--line); background: var(--cream-light); border-radius: 999px; padding: 0.6em 1.2em; font: inherit; color: var(--brown); cursor: pointer; }
.callback-slots button[aria-pressed="true"], .callback-slots button.active { background: var(--brown); color: var(--white); border-color: var(--brown); }
.selected-callback { font-size: 0.9rem; color: var(--taupe-warm); margin: 0; }
.booking-submit { margin-top: 20px; width: 100%; }
.booking-success { text-align: center; padding: 60px 0; }
.booking-success[hidden] { display: none; }

/* ---------- Calculators ---------- */
.calculator-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--white); border: 1px solid rgba(205,179,163,.6); border-radius: 999px; padding: 6px; margin: 0 auto 40px; }
.calculator-tabs-wrap { text-align: center; }
.calculator-tabs button {
  border: 0; background: transparent; font: inherit; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown-mid); padding: 0.95em 1.6em; border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.calculator-tabs button.active, .calculator-tabs button[aria-selected="true"] { background: var(--brown); color: var(--white); }
.calculator-panel[hidden] { display: none; }
.calculator-panel-intro { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.calculator-panel-intro p:not(.eyebrow) { color: var(--brown-mid); }
.calculator-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: start; }
.calculator-controls { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); border: 1px solid rgba(205,179,163,.45); display: grid; gap: 30px; }
.range-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.range-label label { font-size: 0.95rem; color: var(--brown); }
.range-label small { color: var(--taupe); font-weight: 400; margin-left: 6px; }
.range-label output { white-space: nowrap; font-family: var(--serif); font-size: 1.35rem; color: var(--brown); }
.range-scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--taupe-warm); margin-top: 6px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; padding: 0; border: 0; margin: 0;
  background: linear-gradient(90deg, var(--taupe) var(--fill, 50%), var(--blush) var(--fill, 50%)); }
input[type="range"]:focus { box-shadow: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 2px solid var(--brown); box-shadow: 0 2px 8px rgba(74,51,40,.25); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--brown); cursor: grab; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: 0.95rem; font-weight: 500; color: var(--brown); margin-bottom: 12px; padding: 0; }
.mortgage-type-options, .choice-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.mortgage-type-options label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 0.55em 1.2em 0.55em 0.8em; cursor: pointer; font-weight: 400; color: var(--brown); }
.mortgage-type-options label:has(input:checked) { background: var(--pill); border-color: var(--pill); }
.choice-buttons button { border: 1px solid var(--line); background: transparent; color: var(--brown); border-radius: 999px; padding: 0.7em 1.3em; font: inherit; font-size: 0.92rem; cursor: pointer; }
.choice-buttons button.active { background: var(--pill); border-color: var(--pill); font-weight: 500; }
.switch-control { display: flex; align-items: center; gap: 12px; font-weight: 400; color: var(--brown); }
.switch-control[hidden] { display: none; }
.tax-context-note { margin: 0; font-size: 0.9rem; color: var(--taupe-warm); }
.calculator-result-card {
  background: var(--brown); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 42px); position: sticky; top: calc(var(--header-h) + 20px);
}
.calculator-result-card > p:first-child { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--pink-on-photo); margin-bottom: 0.6rem; }
.calculator-result-card > strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1.05; }
.calculator-result-card > span { color: rgba(255,253,249,.7); font-size: 0.92rem; }
.calculator-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(247,228,218,.18); border-radius: 14px; overflow: hidden; margin: 24px 0; }
.calculator-result-grid div { background: #553c30; padding: 14px 16px; }
.calculator-result-grid small { display: block; font-size: 0.74rem; color: rgba(255,253,249,.65); letter-spacing: 0.06em; }
.calculator-result-grid b { font-weight: 500; font-size: 1.08rem; }
.ltv-meter div { display: flex; justify-content: space-between; font-size: 0.86rem; color: rgba(255,253,249,.75); margin-bottom: 8px; }
.ltv-meter i { display: block; height: 6px; border-radius: 999px; background: rgba(247,228,218,.2); overflow: hidden; }
.ltv-meter i span { display: block; height: 100%; background: var(--pink-on-photo); border-radius: 999px; width: 0; transition: width .3s ease; }
.calculator-result-note { font-size: 0.86rem; color: rgba(255,253,249,.72); margin: 18px 0 0; }
.calculator-result-card .button { margin-top: 22px; width: 100%; background: var(--white); color: var(--brown); }
.overpayment-saving { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: rgba(247,228,218,.14); }
.overpayment-saving small { display: block; color: rgba(255,253,249,.7); font-size: 0.8rem; }
.overpayment-saving b { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; color: var(--pink-on-photo); }
.tax-breakdown { margin-top: 22px; border-top: 1px solid rgba(247,228,218,.25); padding-top: 16px; }
.tax-breakdown-heading { display: flex; justify-content: space-between; font-size: 0.82rem; color: rgba(255,253,249,.7); margin-bottom: 8px; }
.tax-breakdown-heading b { color: var(--pink-on-photo); font-weight: 500; }
.tax-line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; padding: 7px 0; border-bottom: 1px dashed rgba(247,228,218,.18); }
.tax-line span { color: rgba(255,253,249,.78); }
.calculator-disclaimer { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; margin-top: 64px; padding: 40px; border-radius: var(--radius); background: var(--cream-light); border: 1px solid rgba(205,179,163,.45); }
.calculator-disclaimer h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.calculator-disclaimer p:not(.eyebrow) { color: var(--brown-mid); font-size: 0.95rem; }
.calculator-sources { font-size: 0.86rem !important; }

/* ---------- Contact ---------- */
.contact-methods { display: grid; gap: 12px; margin-top: 2rem; }
.contact-methods a {
  display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 12px; text-decoration: none;
  background: var(--white); border: 1px solid rgba(205,179,163,.5); border-radius: 18px; padding: 18px 22px; transition: background .2s ease;
}
.contact-methods a:hover { background: var(--cream-light); }
.contact-methods span { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); font-weight: 500; }
.contact-methods strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; word-break: break-word; }
.contact-methods b::after { content: "→"; color: var(--taupe); }
.small-print { font-size: 0.86rem; color: var(--taupe-warm); margin-top: 1.4rem; }

/* ---------- Risk strip + footer ---------- */
.risk-strip { background: var(--pill); color: var(--brown); text-align: center; padding: 18px 0; }
.risk-strip strong { font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em; }
.site-footer { background: var(--cream-light); padding: 72px 0 36px; border-top: 1px solid rgba(205,179,163,.45); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 200px; }
.footer-brand-column p { color: var(--brown-mid); max-width: 32ch; margin-top: 18px; }
.footer-grid h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; color: var(--taupe); margin-bottom: 16px; }
.footer-grid div > a:not(.brand) { display: block; text-decoration: none; padding: 4px 0; color: var(--brown); }
.footer-grid div > a:not(.brand):hover { color: var(--taupe-warm); }
.footer-contact a { display: block; }
.legal-strip { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(205,179,163,.55); font-size: 0.8rem; color: var(--brown-mid); line-height: 1.6; }
.legal-strip p { margin-bottom: 0.8em; }
.footer-credit { display: block; margin-top: 14px; color: var(--taupe-warm); }

/* Floating contact pills */
.whatsapp, .mobile-call {
  position: fixed; z-index: 40; right: 22px; bottom: 22px; text-decoration: none;
  background: var(--brown); color: var(--white); border-radius: 999px; padding: 0.9em 1.5em;
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; box-shadow: var(--shadow);
}
.whatsapp:hover { background: var(--brown-mid); color: var(--white); }
.mobile-call { display: none; }

/* ---------- Enquiry (multi-step form) ---------- */
.enquiry-page { background: linear-gradient(180deg, var(--blush) 0, var(--blush) 340px, var(--cream) 340px); }
.enquiry-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(56px, 7vw, 96px); }
.enquiry-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.enquiry-intro h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 0.4em; }
.enquiry-intro > p:not(.eyebrow) { color: var(--brown-mid); max-width: 38ch; }
.enquiry-intro .polaroid { width: min(300px, 80%); margin-top: 28px; }
.lead-form, .form-success { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3.6vw, 44px); box-shadow: var(--shadow); border: 1px solid rgba(205,179,163,.45); }
.lead-form h2, .form-success h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 0.3em; }
.lead-form label { margin-bottom: 16px; }
.form-progress { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe-warm); font-weight: 500; }
.form-progress div { height: 6px; background: var(--blush); border-radius: 999px; overflow: hidden; margin: 10px 0 30px; }
.form-progress i { display: block; height: 100%; width: 33%; background: var(--taupe); border-radius: 999px; transition: width .35s ease; }
.form-step { display: none; } .form-step.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.required-note, .form-note { font-size: 0.88rem; color: var(--taupe-warm); }
.form-note { background: var(--cream-light); border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 24px; }
.lead-form .choice { display: flex; gap: 12px; align-items: center; margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--white); cursor: pointer; font-size: 0.98rem; color: var(--brown); transition: background .2s ease, border-color .2s ease; }
.lead-form .choice input { margin: 0; }
.lead-form .choice:hover { background: var(--cream-light); }
.lead-form .choice:has(input:checked) { background: var(--blush); border-color: var(--taupe); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.form-nav #form-action { margin-left: auto; }
.form-success { text-align: center; }
.success-mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blush); color: var(--taupe); margin-bottom: 16px; }
.success-mark svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Legal pages (privacy, terms, complaints) ---------- */
.privacy-hero { position: relative; background: var(--blush); padding: clamp(56px, 7vw, 100px) 0; overflow: hidden; }
.privacy-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.privacy-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.privacy-hero .lead { max-width: 52ch; }
.privacy-updated { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe-warm); margin-top: 1.4em; }
.privacy-contact-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); }
.privacy-contact-card > span { display: inline-block; background: var(--pill); border-radius: 999px; padding: 0.45em 1.1em; font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; }
.privacy-contact-card h2 { font-size: 1.6rem; margin: 14px 0 8px; }
.privacy-contact-card p { color: var(--brown-mid); font-size: 0.95rem; }
.privacy-contact-card a { display: block; color: var(--brown); padding: 4px 0; overflow-wrap: anywhere; }
.privacy-company-details { font-size: 0.92rem; color: var(--brown-mid); }
.privacy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px); align-items: start; }
.privacy-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; border-left: 1px solid var(--line); padding-left: 18px; }
.privacy-nav p { font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe-warm); font-weight: 500; margin-bottom: 8px; }
.privacy-nav a { text-decoration: none; color: var(--brown-mid); font-size: 0.92rem; padding: 5px 0; }
.privacy-nav a:hover { color: var(--brown); }
.privacy-content { max-width: 760px; }
.privacy-content section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid rgba(205,179,163,.55); scroll-margin-top: calc(var(--header-h) + 24px); }
.privacy-content section:last-child { border-bottom: 0; }
.privacy-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.privacy-content h3 { font-size: 1.2rem; margin: 1.2em 0 0.4em; }
.privacy-content ul, .privacy-content ol { padding-left: 1.2em; }
.privacy-content li { margin-bottom: 0.45em; }
.privacy-content address { font-style: normal; background: var(--white); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1em 0; }
.privacy-highlight, .legal-risk-note { background: var(--blush); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.2em 0; }
.privacy-table-wrap { overflow-x: auto; margin: 1.2em 0; border-radius: var(--radius-sm); border: 1px solid rgba(205,179,163,.55); }
.privacy-table-wrap table { border-collapse: collapse; width: 100%; font-size: 0.92rem; background: var(--white); }
.privacy-table-wrap th, .privacy-table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(205,179,163,.45); vertical-align: top; }
.privacy-table-wrap th { background: var(--cream-light); font-weight: 500; }
.privacy-rights-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0 !important; }
.privacy-rights-list li { background: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0; }
.complaints-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1em 0; }
.complaints-contact-grid a { display: block; background: var(--white); border-radius: var(--radius-sm); padding: 18px 20px; text-decoration: none; box-shadow: var(--shadow-soft); overflow-wrap: anywhere; }
.complaints-contact-grid span { display: block; font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe-warm); }
.complaints-timeline { list-style: none; padding: 0 !important; border-left: 1px solid var(--line); margin-left: 6px; }
.complaints-timeline li { position: relative; padding: 0 0 18px 26px; }
.complaints-timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--pill); border: 1px solid var(--taupe); }
.complaints-timeline h3 { margin-top: 0; }

/* ---------- Client portal ---------- */
.portal-page { position: relative; background: var(--blush); min-height: 60vh; overflow: hidden; }
.portal-state { padding-block: clamp(64px, 8vw, 120px); text-align: center; }
.portal-login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 100px); }
.portal-login-shell[hidden], .portal-state[hidden], #client-portal[hidden] { display: none; }
.portal-login-copy h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.portal-login-copy .polaroid { width: min(280px, 70%); margin-top: 28px; }
.portal-login-card { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3.6vw, 44px); box-shadow: var(--shadow); }
.portal-login-card h2 { font-size: 2rem; }
.portal-login-form { display: grid; gap: 6px; margin-top: 12px; }
.portal-login-form label { margin-top: 10px; }
.portal-login-form .button { margin-top: 18px; justify-self: start; }
.portal-login-help { font-size: 0.86rem; color: var(--taupe-warm); margin-top: 16px; }
#client-portal { background: var(--cream); padding-bottom: 80px; }
.dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-block: 56px 28px; }
.portal-heading-actions { display: flex; gap: 12px; align-items: center; }
.status { background: var(--pill); border-radius: 999px; padding: 0.45em 1.1em; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.panel { background: var(--white); border: 1px solid rgba(205,179,163,.45); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.portal-panel-heading { display: flex; justify-content: space-between; gap: 16px; }
.progress { height: 8px; background: var(--blush); border-radius: 999px; overflow: hidden; margin: 18px 0; }
.progress i { display: block; height: 100%; background: var(--taupe); }
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.portal-action { background: var(--white); border-radius: var(--radius-sm); padding: 20px; text-decoration: none; border: 1px solid rgba(205,179,163,.45); }
.portal-action strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.portal-action small { color: var(--brown-mid); }
.portal-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(205,179,163,.45); }
.portal-facts dt { color: var(--taupe-warm); } .portal-facts dd { margin: 0; }
.detail-close { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.6em 1.2em; font: inherit; font-size: 0.86rem; color: var(--brown); cursor: pointer; }

/* ---------- Budget planner ---------- */
.budget-shell { padding-block: clamp(40px, 5vw, 72px); max-width: 920px; }
#budget-status { background: var(--white); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-soft); font-size: 1rem; }
.budget-shell fieldset { border: 0; padding: 0; margin: 0; }
.budget-shell legend { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe-warm); margin-bottom: 14px; }
.budget-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.budget-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.budget-income { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav { gap: 20px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.09em; }
  .brand-wordmark { width: 130px; }
}
@media (max-width: 1040px) {
  .menu { display: block; }
  .nav { flex-wrap: wrap; gap: 0 16px; }
  .nav-actions { order: 2; margin-left: auto; }
  .menu { order: 3; margin-left: 0; }
  .nav-links {
    order: 4; flex-basis: 100%; display: none; flex-direction: column; gap: 0; margin: 0; padding: 8px 0 22px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { font-size: 0.86rem; padding: 14px 0; border-bottom: 1px solid rgba(205,179,163,.4); }
  .lead-band .form-card { grid-template-columns: 1fr; gap: 24px; }
  .home-review-grid { grid-auto-columns: calc((100% - 22px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .soft-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .enquiry-page { background: var(--cream); }
  .enquiry-wrap, .privacy-hero-grid, .privacy-layout, .portal-login-shell, .dashboard-grid { grid-template-columns: 1fr; }
  .enquiry-intro { position: static; }
  .enquiry-intro .polaroid, .portal-login-copy .polaroid { display: none; }
  .privacy-nav { position: static; }
  .action-grid, .complaints-contact-grid, .privacy-rights-list { grid-template-columns: 1fr; }
  .dashboard-head { flex-direction: column; align-items: start; }
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), calc(100% - 40px)); }
  .brand-tree { width: 38px; } .brand-wordmark { width: 118px; }
  .portal-link { padding: 0.7em 1.1em; font-size: 0.66rem; }

  .hero { display: block; min-height: 0; background: #4f382c; }
  .hero-media { position: relative; inset: auto; width: 100%; height: auto; }
  .hero-media img { aspect-ratio: 4 / 4.6; height: auto; object-position: 50% 20%; }
  .hero::before { display: none; }
  .hero-media { -webkit-mask-image: none; mask-image: none; }
  .hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, rgba(79,56,44,0) 0%, #4f382c 96%); }
  .hero-inner { padding: 4px 0 130px; margin-top: -40px; }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.2rem); }
  .lead-band { margin-top: -90px; }
  .hero-lead-fields { grid-template-columns: 1fr; }
  .approach-list { grid-template-columns: 1fr; gap: 10px; }
  .approach-list li + li::before { left: 30%; right: 30%; top: -6px; bottom: auto; width: auto; height: 1px; }
  .approach-list li { padding: 18px 10px; }

  .meet-grid, .split, .page-hero-grid, .faq-grid, .calculator-layout, .calculator-disclaimer, .booking-shell, .cta-soft-inner { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .meet-photos { min-height: 0; max-width: 360px; margin: 0 auto 30px; }
  .meet-photos .polaroid.small { right: -8%; bottom: -30px; }
  .card-grid, .soft-grid, .soft-grid.two { grid-template-columns: 1fr; }
  .card-photo img { aspect-ratio: 4 / 3.6; }
  .photo-break-grid { grid-template-columns: 1fr; min-height: 0; }
  .photo-break-media img { position: static; aspect-ratio: 4 / 4.4; }
  .photo-break-media::after { background: linear-gradient(180deg, rgba(64,42,30,0) 55%, rgba(74,51,40,1) 100%); }
  .photo-break-copy { padding: 20px 24px 64px; margin-top: -30px; }
  .home-review-grid { grid-auto-columns: 84%; }
  .reviews-heading { align-items: flex-start; }
  .cta-soft-inner { text-align: center; }
  .cta-soft-inner h2, .cta-soft-inner p { margin-inline: auto; }
  .cta-soft-inner .button-row { justify-content: center; }
  .page-hero .polaroid { margin: 10px auto 0; max-width: 300px; }
  .soft-steps li { grid-template-columns: 1fr; gap: 6px; }
  .doc-list { grid-template-columns: 1fr; }
  .form-grid, .booking-fields { grid-template-columns: 1fr; }
  .calculator-result-card { position: static; }
  .calculator-tabs { border-radius: 22px; display: grid; grid-template-columns: 1fr; width: 100%; }
  .contact-methods a { grid-template-columns: 1fr auto; }
  .contact-methods span { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand-column { grid-column: 1 / -1; }
  .desktop-whatsapp { display: none; }
  .mobile-call { display: inline-block; right: 16px; bottom: 16px; }
  .site-footer { padding-bottom: 90px; }
  .soft-grid.four { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero > .sparkle, .cta-soft-inner > .sparkle, .page-hero > .sparkle { display: none; }
  .meet-photos .polaroid.small { right: 0; }
  .eyebrow, .pill { letter-spacing: 0.24em; }
}
.nav-links .mobile-only { display: none; }
@media (max-width: 560px) {
  .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .nav-actions { display: none; }
  .nav-links .mobile-only { display: block; }
  .nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Additions: compact enquiry card, inner-page helpers ---------- */
.compact-form .hero-lead-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-form .hero-lead-fields .wide, .compact-form .hero-lead-fields .button { grid-column: 1 / -1; }
.compact-form .form-card-heading { margin-bottom: 1.4rem; }
.compact-form .form-card-heading p { color: var(--brown-mid); margin: 0; font-size: 0.96rem; }
.form-card-heading .hand { margin-bottom: 0.2rem; }
.page-hero .photo-arch { max-width: 440px; margin-left: auto; }
.photo-frame { position: relative; }
.photo-frame .sparkle { z-index: 2; }
.section-heading.split-heading { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; align-items: end; }
.section-heading.split-heading p { margin: 0; }
.story-band .split { align-items: stretch; }
.story-media { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 420px; position: relative; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.story-copy { align-self: center; padding: clamp(10px, 2vw, 30px) 0; position: relative; }
.value-card .pill { margin-bottom: 1.2rem; }
.mini-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.mini-cta h2 { margin: 0; max-width: 20ch; }
.mini-cta p { color: var(--brown-mid); max-width: 52ch; margin: 0.6rem 0 0; }
.risk-note { font-size: 0.86rem; color: var(--taupe-warm); margin: 14px 0 0; }
.page-hero .form-card { position: relative; z-index: 2; }
@media (max-width: 860px) {
  .section-heading.split-heading { grid-template-columns: 1fr; gap: 12px; }
  .story-media { min-height: 0; }
  .story-media img { position: static; aspect-ratio: 4 / 4.2; }
  .page-hero .photo-arch { margin: 10px auto 0; max-width: 320px; }
  .compact-form .hero-lead-fields { grid-template-columns: 1fr; }
}

/* split photo stays in view beside long copy */
@media (min-width: 861px) {
  .split > .photo-frame { align-self: start; position: sticky; top: 120px; }
}
.mini-cta .eyebrow { margin-bottom: 14px; }

/* CTA followed by a small note */
.cta-soft + .section-tight { padding-top: 0; }

/* Respect the hidden attribute everywhere (scripts toggle it) */
[hidden] { display: none !important; }

/* Company details lists on legal pages */
dl.privacy-company-details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; background: var(--white); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.2em 0; }
dl.privacy-company-details dt { color: var(--taupe-warm); font-size: 0.8rem; letter-spacing: 0.08em; }
dl.privacy-company-details dd { margin: 0; color: var(--brown); overflow-wrap: anywhere; }
dl.privacy-company-details > div { display: contents; }
@media (max-width: 560px) { dl.privacy-company-details { grid-template-columns: 1fr; gap: 2px; } dl.privacy-company-details dd { margin-bottom: 10px; } }
@media (max-width: 860px) { .privacy-hero > .sparkle, .portal-page > .sparkle { display: none; } }
.privacy-contact-card > span { line-height: 1.6; }
.portal-state h2, .dashboard-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
