/* =========================================================================
   Shared sub-page components (Selling, Lettings, …)
   Builds on styles.css (tokens, header, hero, footer, buttons, motion)
   ========================================================================= */

/* active nav state */
.nav__links a[aria-current="page"]::after { width: 100%; }

/* hero variant: a touch shorter than the homepage statement hero */
.hero--page { min-height: 88svh; }
.hero--page .hero__title { font-size: var(--step-4); line-height: 1.02; }
.hero__note { font-size: var(--step--1); color: oklch(0.94 0.018 80 / 0.7); margin-top: var(--space-xs); }
.hero__note a { color: var(--terracotta-glow); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Opening statement ---- */
.statement { background: var(--cream); padding-block: var(--space-2xl); }
.statement__inner { max-width: 54rem; }
.statement p {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.statement p .accent { color: var(--terracotta-ink); font-style: italic; }

/* ---- Benefits grid ---- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0; margin-top: var(--space-lg); }
.benefit { padding: var(--space-md) clamp(1.2rem, 2.5vw, 2.2rem); border-top: 1px solid var(--line); }
.benefit__icon { display: inline-flex; color: var(--terracotta-ink); margin-bottom: 1rem; }
.benefit__icon svg { width: 30px; height: 30px; display: block; }
.benefit--feature .benefit__icon { color: var(--terracotta-glow); }
.benefit__num { font-size: var(--step--1); color: var(--terracotta-ink); font-weight: 600; letter-spacing: 0.08em; }
.benefit h3 { font-size: var(--step-1); margin: 0.5rem 0 0.5rem; }
.benefit p { color: var(--muted); font-size: var(--step-0); max-width: 34ch; }
.benefit--feature { background: var(--navy); color: var(--cream); border-top-color: transparent; border-radius: var(--radius); padding: var(--space-md) clamp(1.3rem, 2.5vw, 2rem); }
.benefit--feature h3 { color: var(--cream); }
.benefit--feature p { color: oklch(0.94 0.018 80 / 0.78); }
.benefit--feature .fee-line { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; margin-top: 0.4rem; }
.benefit--feature .fee-line s { text-decoration-color: var(--terracotta-glow); color: oklch(0.94 0.018 80 / 0.5); }
@media (min-width: 40.0625rem) { .benefit { border-left: 1px solid var(--line); } }

/* image-led benefit cards (e.g. selling page): original rule-divided grid
   (no gap, no card background, sharp corners), full-bleed image that is muted
   in the brand style and comes to full colour on hover */
.benefits--media { gap: 0; }
.benefits--media .benefit { padding: 0; background: none; border-radius: 0; overflow: hidden; }
.benefits--media .benefit--feature { background: var(--navy); }

.benefit__media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 0; background: var(--cream-lo); }
.benefit__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.65) brightness(0.96); transition: filter var(--dur-2) var(--ease-out-quart); }
.benefit__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: oklch(0.31 0.028 240 / 0.34); transition: opacity var(--dur-2) var(--ease-out-quart); }
.benefit:hover .benefit__media img { filter: none; }
.benefit:hover .benefit__media::after { opacity: 0; }
.benefit__body { padding: 1.3rem clamp(1.1rem, 1.6vw, 1.45rem) 1.5rem; }
/* touch devices can't hover, so show full-colour imagery there */
@media (hover: none) {
  .benefit__media img { filter: none; }
  .benefit__media::after { opacity: 0; }
}

/* ---- Ordered process ---- */
/* no hard background: inherits the section's (cream pages fall back to body cream;
   .section--navy.process renders navy) so source-order can't override it */
.process__list { counter-reset: step; margin-top: var(--space-lg); display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.8rem); padding: var(--space-lg) 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 0.9; color: var(--terracotta-ink); font-variant-numeric: lining-nums; min-width: 2.6ch; }
.step__body h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.step__body p { color: var(--muted); max-width: 56ch; }
.step__tag { display: inline-block; margin-top: 0.7rem; font-size: var(--step--1); color: var(--terracotta-ink); font-weight: 600; }
/* process on a navy section */
.section--navy .step { border-top-color: oklch(0.94 0.018 80 / 0.16); }
.section--navy .step:last-child { border-bottom: 1px solid oklch(0.94 0.018 80 / 0.16); }
.section--navy .step__num { color: var(--terracotta-glow); }
.section--navy .step__body h3 { color: var(--cream); }
.section--navy .step__body p { color: oklch(0.94 0.018 80 / 0.72); }
.section--navy .step__tag { color: var(--terracotta-glow); }

/* ---- Feature split (image + text) ---- */
.feature-split { background: var(--navy); color: var(--cream); overflow: hidden; }
.feature-split__inner { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-split__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-split h2 { font-size: var(--step-4); color: var(--cream); margin: var(--space-sm) 0 var(--space-md); }
.feature-split h2 .accent { color: var(--terracotta-glow); font-style: italic; }
.feature-split p { color: oklch(0.94 0.018 80 / 0.82); max-width: 46ch; }
.feature-split__points { margin-top: var(--space-md); display: grid; gap: 0.7rem; }
.feature-split__points li { display: flex; gap: 0.7rem; align-items: baseline; font-size: var(--step-0); }
.feature-split__points li::before { content: ""; flex: 0 0 auto; width: 1.4rem; height: 1px; background: var(--terracotta-glow); transform: translateY(-0.35em); }
@media (min-width: 56rem) {
  .feature-split__inner { grid-template-columns: 1fr 1fr; }
  .feature-split--reverse .feature-split__media { order: 2; }
}

/* ---- Pricing packages ---- */
.packages__head { max-width: 48rem; margin-bottom: var(--space-lg); }
.pkg-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
@media (min-width: 50rem) { .pkg-grid { grid-template-columns: 1fr 1fr; } }

.pkg { border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: var(--space-sm); position: relative; }
.pkg--lite { background: oklch(0.33 0.026 240); color: var(--cream); box-shadow: inset 0 0 0 1px oklch(0.94 0.018 80 / 0.16); }
.pkg--full { background: var(--cream); color: var(--ink); box-shadow: 0 24px 60px -30px #000; }
.pkg__tag { position: absolute; top: -0.8rem; right: clamp(1.5rem, 3vw, 2.4rem); background: var(--terracotta-btn); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); }
.pkg__name { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.pkg--lite .pkg__name { color: var(--terracotta-glow); }
.pkg--full .pkg__name { color: var(--terracotta-ink); }
.pkg__price { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.pkg__rent { font-size: var(--step--1); opacity: 0.8; }
.pkg--lite .pkg__rent { color: oklch(0.94 0.018 80 / 0.7); }
.pkg--full .pkg__rent { color: var(--muted); }
.pkg__setup { font-size: var(--step-0); padding-bottom: var(--space-sm); border-bottom: 1px solid; }
.pkg--lite .pkg__setup { border-color: oklch(0.94 0.018 80 / 0.16); color: oklch(0.94 0.018 80 / 0.85); }
.pkg--full .pkg__setup { border-color: var(--line); color: var(--ink); }
.pkg__intro { font-size: var(--step-0); }
.pkg--lite .pkg__intro { color: oklch(0.94 0.018 80 / 0.8); }
.pkg--full .pkg__intro { color: var(--muted); }
.pkg__list { display: grid; gap: 0.65rem; margin-top: 0.2rem; }
.pkg__list li { position: relative; padding-left: 1.85rem; font-size: var(--step-0); line-height: 1.45; }
.pkg__list li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 1.15rem; height: 1.15rem; background-repeat: no-repeat; background-position: center; background-size: contain; }
.pkg--lite .pkg__list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3A47E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.pkg--lite .pkg__list li { color: oklch(0.94 0.018 80 / 0.88); }
.pkg--full .pkg__list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A65C40' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.pkg__list li b { font-weight: 600; }
.pkg__cta { margin-top: auto; padding-top: var(--space-sm); }
.pkg__cta .btn { width: 100%; }

/* ---- Fee feature (headline price + inclusions) ---- */
.fee-feature__inner { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 56rem) { .fee-feature__inner { grid-template-columns: 1.05fr 0.95fr; } }
.fee-display { font-family: var(--font-display); font-size: clamp(3.2rem, 2rem + 6vw, 5.5rem); line-height: 0.92; letter-spacing: -0.03em; color: var(--terracotta-ink); }
.fee-display small { display: block; margin-top: 0.5rem; font-family: var(--font-body); font-weight: 600; font-size: var(--step-1); letter-spacing: 0; color: var(--ink); }
.fee-compare { margin-top: var(--space-md); font-size: var(--step-1); color: var(--muted); }
.fee-compare s { text-decoration-color: var(--terracotta); color: var(--ink); opacity: 0.5; }
.fee-points { margin-top: var(--space-md); display: grid; gap: 0.5rem; }
.fee-points li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink); }
.fee-points li::before { content: ""; flex: 0 0 auto; width: 1.3rem; height: 1px; background: var(--terracotta); transform: translateY(-0.32em); }
.fee-example { margin-top: var(--space-lg); background: var(--cream-lo); border-radius: 8px; padding: var(--space-md); }
.fee-example .label { display: block; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta-ink); font-weight: 600; margin-bottom: 0.5rem; }
.fee-example p { color: var(--ink); }
.fee-example .caveat { margin-top: 0.5rem; font-size: var(--step--1); color: var(--muted); }

/* ---- Checklist (reusable) ---- */
.checklist { display: grid; gap: 0.65rem; }
.checklist h3 { font-size: var(--step-1); margin-bottom: var(--space-sm); }
.checklist li { position: relative; padding-left: 1.85rem; font-size: var(--step-0); line-height: 1.45; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 1.15rem; height: 1.15rem; background-repeat: no-repeat; background-position: center; background-size: contain; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A65C40' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.checklist li b { font-weight: 600; }
.checklist--light li { color: oklch(0.94 0.018 80 / 0.88); }
.checklist--light li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3A47E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* ---- Assurance band (no hidden costs) ---- */
.assurance__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-lg); margin-top: var(--space-lg); }
.assurance__item h3 { font-size: var(--step-1); color: var(--cream); margin-bottom: 0.35rem; }
.assurance__item p { color: oklch(0.94 0.018 80 / 0.72); font-size: var(--step-0); max-width: 32ch; }
.assurance__item .tick { display: inline-flex; color: var(--terracotta-glow); margin-bottom: 0.7rem; }
.assurance__item .tick svg { width: 26px; height: 26px; }

/* ---- Blog index ---- */
.post-meta { font-size: var(--step--1); color: var(--muted); display: flex; gap: 0.5rem 0.85rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.post-meta li { position: relative; }
.post-meta li + li::before { content: "·"; position: absolute; left: -0.55rem; }

.featured-post { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: var(--space-xl); }
@media (min-width: 56rem) { .featured-post { grid-template-columns: 1.1fr 0.9fr; } }
.featured-post__media { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--cream-lo); }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-out-expo); }
.featured-post:hover .featured-post__media img { transform: scale(1.04); }
.featured-post__cat { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--terracotta-ink); }
.featured-post__title { font-family: var(--font-display); font-size: var(--step-4); line-height: 1.05; letter-spacing: -0.015em; margin: 0.6rem 0 0.8rem; text-wrap: balance; }
.featured-post__title a { color: var(--ink); transition: color var(--dur-1) var(--ease-out-quart); }
.featured-post__title a:hover { color: var(--terracotta-ink); }
.featured-post__excerpt { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 46ch; margin-bottom: var(--space-md); }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: clamp(1.5rem, 2.5vw, 2.4rem); margin-top: var(--space-lg); }
.post { display: flex; flex-direction: column; color: var(--ink); transition: transform var(--dur-1) var(--ease-out-quart); }
.post:hover { transform: translateY(-4px); }
.post__media { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 10; background: var(--cream-lo); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-out-expo); }
.post:hover .post__media img { transform: scale(1.05); }
.post__cat { margin-top: 0.95rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--terracotta-ink); }
.post__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.14; letter-spacing: -0.01em; margin: 0.4rem 0 0.5rem; color: var(--ink); transition: color var(--dur-1) var(--ease-out-quart); }
.post:hover .post__title { color: var(--terracotta-ink); }
.post__excerpt { color: var(--muted); font-size: var(--step-0); line-height: 1.5; }
.post__more { margin-top: 0.7rem; font-size: var(--step--1); font-weight: 600; color: var(--terracotta-ink); display: inline-flex; align-items: center; gap: 0.4rem; }
.post__more .arr { transition: transform var(--dur-1) var(--ease-out-quart); }
.post:hover .post__more .arr { transform: translateX(4px); }

/* ---- Article (single post) ---- */
.article-head { background: var(--navy); color: var(--cream); padding-top: clamp(7rem, 13vh, 9.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.article-head__inner { max-width: 48rem; }
.article-back { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--step--1); font-weight: 600; color: oklch(0.94 0.018 80 / 0.8); margin-bottom: var(--space-md); }
.article-back .arr { transition: transform var(--dur-1) var(--ease-out-quart); }
.article-back:hover { color: var(--terracotta-glow); }
.article-back:hover .arr { transform: translateX(-3px); }
.article-head__cat { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--terracotta-glow); }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); color: var(--cream); margin: 0.7rem 0 var(--space-md); line-height: 1.08; letter-spacing: -0.015em; }
.article-head .post-meta { color: oklch(0.94 0.018 80 / 0.72); }

/* The prose container: styles whatever HTML the CMS/plugin emits */
.article-body { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--space-2xl); }
.prose { max-width: 44rem; margin-inline: auto; font-size: 1.1rem; line-height: 1.78; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p { margin-top: 1.4rem; }
.prose h2 { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.16; letter-spacing: -0.01em; margin: 2.8rem 0 0; color: var(--ink); }
.prose h3 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.22; margin: 2rem 0 0; color: var(--ink); }
.prose h2 + p, .prose h3 + p { margin-top: 0.8rem; }
.prose a { color: var(--terracotta-ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { margin-top: 1.4rem; display: grid; gap: 0.6rem; padding-left: 0.2rem; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; line-height: 1.65; }
.prose ul li::before { content: ""; position: absolute; left: 0.15rem; top: 0.62em; width: 0.5rem; height: 0.5rem; background: var(--terracotta); transform: rotate(45deg); }
.prose ol { list-style: decimal; padding-left: 1.5rem; }
.prose ol li { line-height: 1.65; padding-left: 0.3rem; }
.prose ol li::marker { color: var(--terracotta-ink); font-weight: 700; }
.prose img { width: 100%; height: auto; border-radius: 8px; display: block; margin: 2.2rem 0; }
.prose figure { margin: 2.2rem 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.7rem; text-align: center; }
.prose blockquote { margin: 2.4rem 0; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.32; color: var(--ink); font-style: italic; }
.prose blockquote::before { content: ""; display: block; width: 2.2rem; height: 2px; background: var(--terracotta); margin-bottom: 1rem; }
.prose blockquote p { margin-top: 0; }

.article-foot { max-width: 44rem; margin: var(--space-xl) auto 0; padding-top: var(--space-lg); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); }
.article-share { display: flex; align-items: center; gap: 0.7rem; }
.article-share__label { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.article-share a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--dur-1) var(--ease-out-quart), color var(--dur-1) var(--ease-out-quart), box-shadow var(--dur-1) var(--ease-out-quart); }
.article-share a:hover { background: var(--navy); color: var(--cream); box-shadow: inset 0 0 0 1px var(--navy); }
.article-share svg { width: 17px; height: 17px; }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1.35fr 0.65fr; } }

.contact-form { display: grid; gap: 1rem; }
.contact-form .row2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 34rem) { .contact-form .row2 { grid-template-columns: 1fr; } }
.field textarea { font: inherit; font-size: var(--step-0); padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); min-height: 150px; resize: vertical; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2.5px solid var(--terracotta-ink); outline-offset: 1px; border-color: transparent; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.48 0.012 64); }
.contact-form__submit { justify-self: start; margin-top: 0.3rem; }
.form-note { font-size: var(--step--1); color: var(--muted); }

.contact-info { background: var(--navy); color: var(--cream); border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: var(--space-lg); }
.contact-info__label { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--terracotta-glow); margin-bottom: 0.5rem; }
.contact-info__phone { font-family: var(--font-display); font-size: var(--step-3); color: var(--cream); letter-spacing: -0.01em; display: inline-block; }
.contact-info__phone:hover { color: var(--terracotta-glow); }
.contact-info p { color: oklch(0.94 0.018 80 / 0.78); font-size: var(--step-0); }
.contact-info ul { display: grid; gap: 0.3rem; color: oklch(0.94 0.018 80 / 0.78); font-size: var(--step-0); }
.socials { display: flex; gap: 0.7rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--cream); box-shadow: inset 0 0 0 1px oklch(0.94 0.018 80 / 0.3); transition: background-color var(--dur-1) var(--ease-out-quart), color var(--dur-1) var(--ease-out-quart), box-shadow var(--dur-1) var(--ease-out-quart); }
.socials a:hover { background: var(--terracotta-btn); color: #fff; box-shadow: inset 0 0 0 1px var(--terracotta-btn); }
.socials svg { width: 19px; height: 19px; }

/* ---- FAQ accordions ---- */
.hero--short { min-height: 60svh; }

.faq-jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-xl); }
.faq-jump a { padding: 0.55rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 600; color: var(--ink); transition: background-color var(--dur-1) var(--ease-out-quart), color var(--dur-1) var(--ease-out-quart), border-color var(--dur-1) var(--ease-out-quart); }
.faq-jump a:hover, .faq-jump a:focus-visible { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.faq-group + .faq-group { margin-top: var(--space-2xl); }
.faq-group__title { font-size: var(--step-3); margin: 0.6rem 0 var(--space-md); }
.faq__item { border-top: 1px solid var(--line); }
.faq-group .faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: var(--space-md) 0; cursor: pointer; list-style: none; font-size: var(--step-1); font-weight: 600; color: var(--ink); transition: color var(--dur-1) var(--ease-out-quart); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--terracotta-ink); }
.faq__icon { flex: 0 0 auto; color: var(--terracotta-ink); transition: transform var(--dur-1) var(--ease-out-quart); }
.faq__icon svg { width: 22px; height: 22px; display: block; }
details[open] .faq__icon { transform: rotate(180deg); }
.faq__a { padding: 0 0 var(--space-md); max-width: 68ch; }
.faq__a p { color: var(--muted); }
.faq__a p + p { margin-top: 0.7rem; }
@media (prefers-reduced-motion: no-preference) {
  details[open] .faq__a { animation: faqIn 0.4s var(--ease-out-quart); }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* ---- Listings page ---- */
.listings-hero { background: var(--navy); color: var(--cream); padding-top: clamp(7rem, 13vh, 9.5rem); padding-bottom: clamp(4.5rem, 9vw, 7rem); }
.listings-hero h1 { font-size: var(--step-4); color: var(--cream); margin: 0.6rem 0 var(--space-sm); }
.listings-hero p { color: oklch(0.94 0.018 80 / 0.78); max-width: 52ch; font-size: var(--step-1); }

.listings-body { padding-top: 0 !important; }

.filter-bar { background: var(--cream-hi); border-radius: 10px; box-shadow: 0 26px 64px -34px #000; padding: clamp(1.1rem, 2.5vw, 1.5rem); display: grid; gap: 0.85rem; grid-template-columns: 1fr; margin-top: calc(-1 * clamp(2.5rem, 6vw, 3.75rem)); position: relative; z-index: 2; }
@media (min-width: 56rem) { .filter-bar { grid-template-columns: 1.5fr 1fr 1fr 1fr auto; align-items: end; } }
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.field select, .field input { font: inherit; font-size: var(--step-0); padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.3rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6256' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 16px; }
.filter-bar .btn { min-height: 48px; }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); margin: var(--space-xl) 0 var(--space-md); }
.results-bar__count { color: var(--muted); font-size: var(--step-0); }
.results-bar__count b { color: var(--ink); font-weight: 600; }
.sort { display: flex; align-items: center; gap: 0.55rem; }
.sort label { font-size: var(--step--1); color: var(--muted); }
.sort select { font: inherit; font-size: var(--step--1); padding: 0.55rem 2rem 0.55rem 0.75rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); appearance: none; -webkit-appearance: none; min-height: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6256' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.6rem center; background-size: 14px; }

.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: clamp(1.25rem, 2.2vw, 1.9rem); }
.listing { display: flex; flex-direction: column; color: var(--ink); transition: transform var(--dur-1) var(--ease-out-quart); }
.listing:hover { transform: translateY(-4px); }
.listing__media { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; background: var(--cream-lo); }
.listing__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-out-expo); }
.listing:hover .listing__media img { transform: scale(1.05); }
.listing__status { position: absolute; top: 0.8rem; left: 0.8rem; background: oklch(0.31 0.028 240 / 0.85); color: var(--cream); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 0.72rem; border-radius: var(--radius-pill); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.listing__status--new { background: var(--clay); }
.listing__status--under { background: oklch(0.42 0.02 245 / 0.92); }
.listing__body { padding-top: 0.9rem; display: flex; flex-direction: column; gap: 0.25rem; }
.listing__price { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); letter-spacing: -0.01em; }
.listing__qualifier { font-family: var(--font-body); font-size: var(--step--1); color: var(--muted); font-weight: 500; margin-left: 0.35rem; }
.listing__addr { font-size: var(--step-0); font-weight: 600; color: var(--ink); line-height: 1.3; font-family: var(--font-body); }
.listing__addr span { display: block; font-weight: 400; color: var(--muted); font-size: var(--step--1); margin-top: 0.1rem; }
.listing__meta { display: flex; flex-wrap: wrap; gap: 0.45rem 0.95rem; margin-top: 0.45rem; color: var(--muted); font-size: var(--step--1); }
.listing__meta li { position: relative; }
.listing__meta li + li::before { content: "·"; position: absolute; left: -0.55rem; }
.listing__cta { margin-top: 0.65rem; font-size: var(--step--1); font-weight: 600; color: var(--terracotta-ink); display: inline-flex; align-items: center; gap: 0.4rem; }
.listing__cta .arr { transition: transform var(--dur-1) var(--ease-out-quart); }
.listing:hover .listing__cta .arr { transform: translateX(4px); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 0.35rem; margin-top: var(--space-xl); }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: var(--step--1); font-weight: 600; color: var(--ink); border: 1px solid transparent; }
.pagination a:hover { border-color: var(--line); }
.pagination [aria-current="page"] { background: var(--navy); color: var(--cream); }
.pagination .is-disabled { opacity: 0.4; pointer-events: none; }

/* register-for-alerts strip */
.alerts { background: var(--cream-lo); border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: var(--space-sm); margin-top: var(--space-2xl); }
@media (min-width: 50rem) { .alerts { grid-template-columns: 1fr auto; align-items: center; gap: var(--space-lg); } }
.alerts h2 { font-size: var(--step-2); }
.alerts p { color: var(--muted); max-width: 52ch; margin-top: 0.3rem; }

/* ---- testimonial on navy (rhythm break) ---- */
.quote--navy { background: var(--navy); }
.quote--navy blockquote { color: var(--cream); }
.quote--navy .quote__mark { color: var(--terracotta-glow); }
.quote--navy figcaption { color: var(--terracotta-glow); }
.quote--navy figcaption span { color: oklch(0.94 0.018 80 / 0.6); }

/* anchored sections sit clear of the fixed header */
[id] { scroll-margin-top: 84px; }
