/* ===========================
   ARISTX Sales — aristx.uk/sales
   Editorial look: serif display type, square uppercase buttons, generous white space,
   photography full bleed. ARISTX black with ROYAL BLUE for the Sales brand (lettings stays
   purple). The --s-purple* token names are historical: they hold the blue.
   Deliberately separate from /styles.css (the lettings site) so neither can break the other.
   =========================== */

:root {
  --s-ink: #0d0d12;
  --s-ink-2: #16151d;
  --s-text: #1b1b22;
  --s-soft: #5b5b66;
  --s-faint: #8a8a95;
  --s-line: #e5e3ea;
  --s-paper: #ffffff;
  --s-stone: #f4f3f1;
  --s-lilac: #eef2fd;
  --s-purple: #2B4FD8;
  --s-purple-hover: #1f3fb8;
  --s-purple-bright: #7d9bff;
  --s-serif: 'Gilda Display', 'Iowan Old Style', Georgia, serif;
  --s-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --s-wrap: 1180px;
  --s-gutter: clamp(16px, 4.5vw, 48px);
  --s-header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--s-sans); font-size: 16px; line-height: 1.7; color: var(--s-text); background: var(--s-paper); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--s-purple); outline-offset: 3px; }
.s-wrap { width: 100%; max-width: calc(var(--s-wrap) + var(--s-gutter) * 2); margin: 0 auto; padding: 0 var(--s-gutter); }
.s-narrow { max-width: calc(820px + var(--s-gutter) * 2); }
.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; }

/* ---------- Type ---------- */
.s-h1, .s-h2, .s-h3, .s-display { font-family: var(--s-serif); font-weight: 400; letter-spacing: 0.005em; }
.s-h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.1; }
.s-h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; }
.s-h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.25; }
.s-display { font-size: clamp(1.55rem, 2.8vw, 2.25rem); line-height: 1.4; color: var(--s-text); }
.s-display em { font-style: normal; color: var(--s-purple); }
.s-kicker { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--s-purple); margin-bottom: 1.1rem; }
.s-kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.s-kicker--light { color: #b9c8fb; }
.s-lede { font-size: 1.08rem; color: var(--s-soft); max-width: 38rem; }
.s-rule { width: 56px; height: 1px; background: var(--s-purple); margin: 1.4rem 0; }
.s-muted { color: var(--s-soft); }
.s-center { text-align: center; }
.s-center .s-lede { margin-left: auto; margin-right: auto; }
.s-center .s-kicker { justify-content: center; }
.s-copy p + p { margin-top: 1rem; }
.s-copy p { color: var(--s-soft); }
.s-copy strong { color: var(--s-text); font-weight: 600; }

/* ---------- Buttons ---------- */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 50px; padding: 0.95rem 1.7rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.2; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background .25s, color .25s, border-color .25s; text-align: center; }
.s-btn--solid { background: var(--s-purple); color: #fff; border-color: var(--s-purple); }
.s-btn--solid:hover { background: var(--s-purple-hover); border-color: var(--s-purple-hover); }
.s-btn--ink { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.s-btn--ink:hover { background: var(--s-purple); border-color: var(--s-purple); }
.s-btn--white { background: #fff; color: var(--s-ink); border-color: #fff; }
.s-btn--white:hover { background: transparent; color: #fff; }
.s-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
.s-btn--ghost:hover { background: #fff; color: var(--s-ink); border-color: #fff; }
.s-btn--outline { background: transparent; color: var(--s-purple); border-color: var(--s-purple); }
.s-btn--outline:hover { background: var(--s-purple); color: #fff; }
.s-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.s-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--s-purple); border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .2s; }
.s-link:hover { gap: 0.8rem; }

/* ---------- Header ---------- */
.s-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--s-header-h); transition: background .3s, box-shadow .3s, color .3s; color: #fff; }
.s-header .s-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.s-header.is-solid, .s-header--solid { background: #fff; color: var(--s-ink); box-shadow: 0 1px 0 var(--s-line), 0 8px 24px rgba(13,13,18,0.05); }
.s-brand { display: flex; align-items: center; gap: 1rem; }
.s-brand img { width: 150px; height: auto; transition: filter .3s; }
.s-header.is-solid .s-brand img, .s-header--solid .s-brand img { filter: brightness(0); }
.s-brand-divider { width: 1px; height: 30px; background: currentColor; opacity: 0.35; }
.s-brand-logo { display: block; }
.s-brand-sub { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; }
.s-brand-sub:hover { text-decoration: underline; text-underline-offset: 4px; }
.s-header-actions { display: flex; align-items: center; gap: 1.1rem; }
.s-header .s-btn { min-height: 44px; padding: 0.75rem 1.2rem; }
.s-header .s-btn--head { background: transparent; color: currentColor; border-color: currentColor; }
.s-header .s-btn--head:hover { background: var(--s-purple); border-color: var(--s-purple); color: #fff; }
.s-menu-btn { display: inline-flex; align-items: center; gap: 0.7rem; background: none; border: 0; cursor: pointer; color: currentColor; padding: 0.5rem 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.s-menu-btn .s-bars { display: grid; gap: 5px; width: 26px; }
.s-menu-btn .s-bars i { display: block; height: 1.5px; background: currentColor; }

/* ---------- Menu panel ---------- */
.s-menu { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.s-menu.is-open { visibility: visible; }
.s-menu-scrim { position: absolute; inset: 0; background: rgba(13,13,18,0.5); opacity: 0; transition: opacity .3s; }
.s-menu.is-open .s-menu-scrim { opacity: 1; }
.s-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--s-ink); color: #fff; padding: 1.5rem clamp(1.5rem, 4vw, 2.75rem) 2rem; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); overflow-y: auto; display: flex; flex-direction: column; }
.s-menu.is-open .s-menu-panel { transform: none; }
.s-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.s-menu-top img { width: 120px; }
.s-menu-close { background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.s-menu-main { list-style: none; }
.s-menu-main a { display: block; font-family: var(--s-serif); font-size: clamp(1.6rem, 4.5vw, 2rem); line-height: 1.2; padding: 0.55rem 0; transition: color .2s, padding-left .2s; }
.s-menu-main a:hover { color: var(--s-purple-bright); padding-left: 0.4rem; }
.s-menu-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin: 2rem 0 0.75rem; }
.s-menu-sub { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1rem; }
.s-menu-sub a { font-size: 0.92rem; color: rgba(255,255,255,0.8); }
.s-menu-sub a:hover { color: #fff; }
.s-menu-foot { margin-top: auto; padding-top: 2rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.s-menu-foot a { color: #fff; }

/* ---------- Hero ---------- */
.s-hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; padding: calc(var(--s-header-h) + 3rem) 0 clamp(3rem, 7vw, 5.5rem); }
.s-hero--short { min-height: min(64vh, 620px); }
.s-hero-media { position: absolute; inset: 0; z-index: -2; }
.s-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.s-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,13,18,0.8) 0%, rgba(13,13,18,0.55) 42%, rgba(13,13,18,0.1) 80%), linear-gradient(180deg, rgba(13,13,18,0.45) 0%, rgba(13,13,18,0) 28%, rgba(13,13,18,0) 55%, rgba(13,13,18,0.55) 100%); }
.s-hero-inner { max-width: 40rem; }
.s-hero .s-h1 { color: #fff; }
.s-hero p.s-hero-lede { margin-top: 1.3rem; font-size: 1.08rem; line-height: 1.65; color: rgba(255,255,255,0.88); max-width: 34rem; }
.s-crumbs { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 1.3rem; }
.s-crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sections ---------- */
.s-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.s-section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.s-section--stone { background: var(--s-stone); }
.s-section--lilac { background: var(--s-lilac); }
.s-section--ink { background: var(--s-ink); color: #fff; }
.s-section--ink .s-lede, .s-section--ink .s-copy p { color: rgba(255,255,255,0.72); }
.s-section--ink .s-h2, .s-section--ink .s-h3 { color: #fff; }
.s-head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.s-head .s-lede { margin-top: 1rem; }
.s-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }

/* Intro statement */
.s-intro { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.s-intro .s-display { color: var(--s-text); }
.s-intro .s-display .s-quiet { color: var(--s-faint); }

/* Postcode search */
.s-search { display: flex; gap: 0; max-width: 560px; border: 1px solid var(--s-ink); background: #fff; }
.s-search input { flex: 1; min-width: 0; border: 0; padding: 0 1.2rem; min-height: 58px; font-size: 1rem; background: transparent; text-transform: uppercase; outline: none; }
.s-search input::placeholder { text-transform: none; color: var(--s-faint); }
.s-search .s-btn { min-height: 58px; }
.s-section--ink .s-search { border-color: rgba(255,255,255,0.5); background: transparent; }
.s-section--ink .s-search input { color: #fff; }
.s-section--ink .s-search input::placeholder { color: rgba(255,255,255,0.55); }
.s-search-note { font-size: 0.85rem; color: var(--s-soft); margin-top: 0.9rem; }
.s-section--ink .s-search-note { color: rgba(255,255,255,0.6); }

/* Coverage list */
.s-coverage { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.s-regions { list-style: none; columns: 2; column-gap: 2.5rem; }
.s-regions li { break-inside: avoid; display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-family: var(--s-serif); font-size: 1.2rem; }
.s-regions li span { font-family: var(--s-sans); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); align-self: center; }

/* Tiles: "How can we help?" */
.s-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.2rem, 2.4vw, 2rem); }
.s-tile { display: flex; flex-direction: column; }
.s-tile-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--s-stone); margin-bottom: 1.3rem; }
.s-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.s-tile:hover .s-tile-img img { transform: scale(1.05); }
.s-tile .s-h3 { margin-bottom: 0.5rem; }
.s-tile p { color: var(--s-soft); font-size: 0.97rem; margin-bottom: 1.1rem; }
.s-tile .s-link { margin-top: auto; align-self: flex-start; }

/* Split: image + copy */
.s-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.s-split--flip .s-split-media { order: 2; }
.s-split-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--s-stone); }
.s-split-media img { width: 100%; height: 100%; object-fit: cover; }
.s-split-media--wide { aspect-ratio: 5 / 4; }

/* Feature list */
.s-features { list-style: none; display: grid; gap: 0; margin-top: 1.8rem; border-top: 1px solid var(--s-line); }
.s-features li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; padding: 1.05rem 0; border-bottom: 1px solid var(--s-line); }
.s-features svg { margin-top: 3px; }
.s-features strong { display: block; font-weight: 600; color: var(--s-text); }
.s-features span { color: var(--s-soft); font-size: 0.95rem; }
.s-section--ink .s-features { border-color: rgba(255,255,255,0.14); }
.s-section--ink .s-features li { border-color: rgba(255,255,255,0.14); }
.s-section--ink .s-features strong { color: #fff; }
.s-section--ink .s-features span { color: rgba(255,255,255,0.65); }

/* Pillars: three or four short statements */
.s-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.s-pillars--4 { grid-template-columns: repeat(4, 1fr); }
.s-pillar { border-top: 1px solid var(--s-ink); padding-top: 1.4rem; }
.s-section--ink .s-pillar { border-color: rgba(255,255,255,0.4); }
.s-pillar-num { font-family: var(--s-serif); font-size: 1rem; color: var(--s-purple); margin-bottom: 0.9rem; display: block; }
.s-section--ink .s-pillar-num { color: var(--s-purple-bright); }
.s-pillar .s-h3 { margin-bottom: 0.6rem; }
.s-pillar p { color: var(--s-soft); font-size: 0.96rem; }
.s-section--ink .s-pillar p { color: rgba(255,255,255,0.68); }

/* Steps */
.s-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--s-line); border-left: 1px solid var(--s-line); }
.s-steps li { counter-increment: step; padding: 2rem clamp(1.2rem, 2.4vw, 2rem) 2.2rem; border-right: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); background: #fff; }
.s-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--s-serif); font-size: 2.2rem; line-height: 1; color: var(--s-purple); margin-bottom: 1.1rem; }
.s-steps .s-h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.s-steps p { color: var(--s-soft); font-size: 0.95rem; }

/* Valuation band (photo + white card) */
.s-feature-band { position: relative; isolation: isolate; padding: clamp(3rem, 8vw, 6.5rem) 0; }
.s-feature-band-media { position: absolute; inset: 0; z-index: -1; }
.s-feature-band-media img { width: 100%; height: 100%; object-fit: cover; }
.s-feature-card { background: #fff; max-width: 520px; padding: clamp(1.8rem, 4vw, 3rem); box-shadow: 0 30px 60px rgba(13,13,18,0.18); }
.s-feature-card .s-h2 { margin-bottom: 1rem; }
.s-feature-card p { color: var(--s-soft); }

/* Join band */
.s-join { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.s-join-mark { justify-self: end; width: min(300px, 60%); height: auto; opacity: 0.22; }

/* Fees card */
.s-fees { border: 1px solid var(--s-line); background: #fff; }
.s-fees-head { padding: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--s-line); }
.s-fee-figure { font-family: var(--s-serif); font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.2; color: var(--s-text); }
.s-fee-note { color: var(--s-soft); font-size: 0.92rem; margin-top: 0.4rem; }
.s-fee-rows { list-style: none; }
.s-fee-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--s-line); font-size: 0.95rem; }
.s-fee-rows li:last-child { border-bottom: 0; }
.s-fee-rows li span:first-child { color: var(--s-soft); }
.s-fee-rows li span:last-child { font-weight: 600; text-align: right; }
.s-fee-rows small { display: block; font-size: 0.8rem; color: var(--s-faint); }

/* Accreditation */
.s-accred { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.s-accred img { height: 56px; width: auto; }
.s-accred-label { text-align: center; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--s-faint); margin-bottom: 1.6rem; }

/* FAQ */
.s-faq { border-top: 1px solid var(--s-line); }
.s-faq details { border-bottom: 1px solid var(--s-line); }
.s-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.3rem 0; font-family: var(--s-serif); font-size: 1.25rem; line-height: 1.3; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: '+'; font-family: var(--s-sans); font-weight: 300; font-size: 1.6rem; color: var(--s-purple); transition: transform .25s; flex-shrink: 0; }
.s-faq details[open] summary::after { transform: rotate(45deg); }
.s-faq details > div { padding: 0 0 1.4rem; color: var(--s-soft); max-width: 46rem; }

/* ---------- Forms ---------- */
.s-form-wrap { background: #fff; border: 1px solid var(--s-line); padding: clamp(1.6rem, 4vw, 3rem); }
.s-section--stone .s-form-wrap, .s-section--lilac .s-form-wrap { border-color: transparent; }
.s-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.s-field { display: flex; flex-direction: column; gap: 0.45rem; }
.s-field--full { grid-column: 1 / -1; }
.s-field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--s-text); }
.s-field label .s-opt { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--s-faint); }
.s-field input, .s-field select, .s-field textarea { width: 100%; border: 1px solid #cfcbd6; background: #fff; border-radius: 0; min-height: 52px; padding: 0.8rem 0.95rem; font-size: 1rem; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.s-field 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' stroke='%232B4FD8' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.s-field textarea { min-height: 130px; resize: vertical; }
.s-field input:focus, .s-field select:focus, .s-field textarea:focus { outline: none; border-color: var(--s-purple); box-shadow: 0 0 0 3px rgba(43,79,216,0.16); }
.s-form .s-btn { grid-column: 1 / -1; width: 100%; }
.s-form-legal { grid-column: 1 / -1; font-size: 0.78rem; color: var(--s-faint); line-height: 1.6; }
.s-form-legal a { text-decoration: underline; }
.s-form-error { grid-column: 1 / -1; font-size: 0.9rem; color: #b42318; display: none; }
.s-form-success { display: none; text-align: center; padding: 2rem 1rem; }
.s-form-success .s-h3 { margin-bottom: 0.6rem; }
.s-form-success p { color: var(--s-soft); }
.s-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.s-footer { background: var(--s-ink); color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.s-footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding: clamp(3.5rem, 6vw, 5rem) 0 3rem; }
.s-footer-brand img { width: 150px; margin-bottom: 1rem; }
.s-footer-brand p { max-width: 20rem; line-height: 1.7; }
.s-footer h2 { font-family: var(--s-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.s-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.s-footer a:hover { color: #fff; }
.s-footer-social { display: flex; gap: 1rem; margin-top: 1.4rem; }
.s-footer-social a { color: #fff; opacity: 0.8; }
.s-footer-social a:hover { opacity: 1; color: var(--s-purple-bright); }
.s-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0 2rem; font-size: 0.76rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.s-footer-bottom p + p { margin-top: 0.4rem; }
.s-footer-bottom a { color: rgba(255,255,255,0.75); }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .s-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .js .s-reveal.is-in { opacity: 1; transform: none; }
  .js .s-reveal-2 { transition-delay: .1s; }
  .js .s-reveal-3 { transition-delay: .2s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .s-tiles { grid-template-columns: 1fr 1fr; }
  .s-pillars--4 { grid-template-columns: 1fr 1fr; }
  .s-footer-top { grid-template-columns: 1fr 1fr; }
  .s-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --s-header-h: 72px; }
  .s-header .s-btn--head { display: none; }
  .s-intro, .s-split, .s-coverage, .s-join { grid-template-columns: 1fr; }
  .s-split--flip .s-split-media { order: 0; }
  .s-split-media { aspect-ratio: 4 / 3; }
  .s-steps { grid-template-columns: 1fr 1fr; }
  .s-pillars { grid-template-columns: 1fr; }
  .s-join-mark { display: none; }
}
@media (max-width: 600px) {
  .s-brand img { width: 118px; }
  .s-brand { gap: 0.7rem; }
  .s-brand-sub { font-size: 0.62rem; letter-spacing: 0.24em; }
  .s-menu-btn .s-menu-word { display: none; }
  .s-hero { min-height: 82vh; }
  .s-hero::before { background: linear-gradient(180deg, rgba(13,13,18,0.5) 0%, rgba(13,13,18,0.2) 35%, rgba(13,13,18,0.7) 100%); }
  /* Sales home: text over the photo hid the cottages on phones. The photo becomes a window under
     the header and the words start where it fades into the page. */
  .s-hero--home { min-height: 0; padding-top: calc(var(--s-header-h) + 16rem); background: var(--s-ink); }
  .s-hero--home .s-hero-media, .s-hero--home::before { bottom: auto; height: calc(var(--s-header-h) + 25rem); }
  .s-hero--home .s-hero-media img { object-position: 22% 50% !important; }
  .s-hero--home::before { background: linear-gradient(180deg, rgba(13,13,18,0.5) 0%, rgba(13,13,18,0) 26%, rgba(13,13,18,0) 55%, rgba(13,13,18,0.75) 80%, var(--s-ink) 100%); }
  .s-actions .s-btn { width: 100%; }
  .s-tiles, .s-pillars--4, .s-steps { grid-template-columns: 1fr; }
  .s-regions { columns: 1; }
  .s-form { grid-template-columns: 1fr; }
  .s-search { flex-direction: column; border: 0; gap: 0.6rem; background: transparent; }
  .s-search input { border: 1px solid var(--s-ink); background: #fff; }
  .s-section--ink .s-search input { border-color: rgba(255,255,255,0.5); background: transparent; }
  .s-footer-top { grid-template-columns: 1fr; }
  .s-menu-sub { grid-template-columns: 1fr; }
  .s-fee-rows li { flex-direction: column; gap: 0.2rem; }
  .s-fee-rows li span:last-child { text-align: left; }
}

/* ===========================
   Accreditation strip + certificate pop-up — copied from /styles.css so the sales pages show
   the same memberships and the same "View our certificates" pop-up as the lettings pages.
   Keep the two in step.
   =========================== */
:root { --gold: #c9a84c; }
/* ── ACCREDITATION LOGOS STRIP ───────────────────────────── */
.accreditation-strip {
  background: #f8f8f5;
  border-top: 1px solid var(--s-line);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.accreditation-strip__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.accreditation-strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.accreditation-strip__logos img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.88;
  transition: opacity 0.2s, filter 0.2s;
}

.accreditation-strip__logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.accreditation-strip__certs-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}
.accreditation-strip__certs-link:hover {
  color: #b8922e;
  border-color: rgba(184,146,46,0.6);
}
.accreditation-strip__certs-link svg {
  flex-shrink: 0;
}

/* CERTIFICATE LIGHTBOX */
.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.82);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.cert-lightbox.is-open {
  display: flex;
}
.cert-lightbox__inner {
  background: #fff;
  border-radius: 12px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}
.cert-lightbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.cert-lightbox__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #222;
}
.cert-lightbox__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}
.cert-lightbox__close:hover { color: #111; }
.cert-lightbox__carousel {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 1.25rem 0.75rem;
  gap: 0.5rem;
}
.cert-lightbox__nav {
  background: none;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  transition: background 0.2s, opacity 0.2s;
}
.cert-lightbox__nav:hover { background: rgba(0,0,0,0.07); }
.cert-lightbox__slide-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0 0.5rem;
}
.cert-lightbox__slide-wrap img {
  max-height: 52vh;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  display: block;
}
.cert-lightbox__label {
  text-align: center;
  line-height: 1.5;
}
.cert-lightbox__label strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}
.cert-lightbox__label span {
  font-size: 0.72rem;
  color: #888;
}
.cert-lightbox__label em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: #c9a84c;
  margin-top: 0.35rem;
  max-width: 420px;
}
.cert-lightbox__download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--gold, #c9a84c);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.cert-lightbox__download:hover { background: #b8922e; }
.cert-lightbox__footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}
.cert-lightbox__counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cert-lightbox__footer-refs {
  font-size: 0.68rem;
  color: #aaa;
  text-align: right;
}
@media (max-width: 600px) {
  .cert-lightbox__carousel { padding: 1rem 0.25rem; gap: 0.25rem; }
  .cert-lightbox__nav { width: 34px; height: 34px; }
  .cert-lightbox__slide-wrap img { max-height: 45vh; }
  .cert-lightbox__footer { flex-direction: column; gap: 0.3rem; text-align: center; }
  .cert-lightbox__footer-refs { text-align: center; }
  .accreditation-strip__logos { gap: 1.5rem 2rem; }
  .accreditation-strip__logos img { height: 40px; }
}

/* Sales-side tweaks to the shared strip: white ground, purple label, membership numbers. */
.accreditation-strip { background: var(--s-paper); padding: clamp(2.5rem, 5vw, 3.5rem) var(--s-gutter); }
.accreditation-strip__label { color: var(--s-faint); font-weight: 600; letter-spacing: 0.22em; }
.accreditation-strip__numbers { max-width: 900px; margin: 1.6rem auto 0; font-size: 0.8rem; line-height: 1.8; color: var(--s-soft); }
.accreditation-strip__certs-link { color: var(--s-purple); border-bottom-color: rgba(43,79,216,0.35); }
.accreditation-strip__certs-link:hover { color: var(--s-purple-hover); border-color: var(--s-purple-hover); }

/* Side switch at the top of the menu: one tap to ARISTX Lettings & Property Management.
   Same order as the lettings menu's switch, with Sales filled as the current side. */
.s-menu-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin: 0 0 1.75rem; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.s-menu-switch a { display: flex; align-items: center; justify-content: center; text-align: center; padding: 0.8rem 0.6rem; border-radius: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3; color: rgba(255,255,255,0.8); transition: background .2s, color .2s; }
.s-menu-switch a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.s-menu-switch a.is-current { background: var(--s-purple); color: #fff; }
