/* LTJ Estates — Ashbourne Road, Great Sankey, Warrington WA5 1LW.
 *
 * BUILT 2026-10-18 (s52 cycle) for Lewis Jones at LTJ Estates, who asked for
 * this specific property by name after the cold pitch: "Would it be possible
 * to do the free version for Ashbourne Road?" — his own words, with his own
 * Rightmove link attached.
 *
 * Built on the current standing template for this business line, the
 * _leeside/site-v2 build. That particular build matters: it is the lean
 * rebuild (19.75MB of first-load down to 0.75MB) that a real customer,
 * Darryl Rixon, independently confirmed working on mobile on 2026-10-18
 * after naming three mobile defects against the previous one. So this file
 * follows that structure line for line rather than re-deriving it.
 *
 * NO WALKTHROUGH VIDEO EXISTS for this listing — verified against the real
 * Rightmove payload, where virtualTours is an empty array. So, exactly as in
 * the Leeside build, there is only ONE Virtual Tour mode here: the
 * room-by-room real-photo slideshow over the agent's own 28 photographs. No
 * <video>, no canvas frame sequence, no mode toggle. Nothing on this page may
 * claim the scroll drives real footage, because for this property it does not.
 *
 * ONE DELIBERATE DEPARTURE FROM THE TEMPLATE, and it is a fix rather than a
 * preference: the walkthrough entry is lifted into the first mobile viewport
 * instead of sitting ~1.2 screens below the fold. Darryl Rixon asked for
 * exactly this, unprompted, on 2026-10-18 — "I think the start auto walk
 * through button should be a priority button, maybe as an overlay on the
 * landing photo" — and the 2026-10-17 email to him already promised it. This
 * is a new page authored from scratch, so it is written correctly here; the
 * same change to the SHARED template is still pending Sir's confirmation and
 * has deliberately not been made.
 *
 * Brand accent is LTJ Estates' own navy and champagne gold, sampled directly
 * from their Rightmove partner logo (#0b1b2b ground, pale gold lettering).
 * The gold is darkened to #8c7434 where it carries text on paper, purely so
 * the contrast ratio clears AA — the logo gold is too pale to read on white.
 */


:root {
  --paper: #f5f3ef;
  --white: #fff;
  --ink: #1c1b19;
  --ink-soft: #6b665f;
  --ink-faint: #9b958c;
  --line: #ddd8d0;
  --line-soft: #eae6df;
  --slate: #22394d;
  --slate-deep: #0b1b2b;   /* LTJ navy, straight off their logo */
  --slate-deep-78: rgba(11, 27, 43, .84);
  --gold: #8c7434;            /* LTJ's champagne gold, darkened for AA on paper */
  --gold-bright: #c9bd92;     /* the logo gold itself, for use on the navy only */
  --bg-light: var(--paper);
  --bg-dark: var(--slate-deep);
  --text-on-light: var(--ink);
  --text-on-dark: #f1f0ea;
  --accent: var(--gold);
  --muted: var(--ink-soft);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --max: 1200px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
  --mobile-bar-h: 52px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg-light);
  color: var(--text-on-light);
  font-family: var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.label {
  font-family: var(--font-body); font-size: .66rem; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: var(--ink-faint);
  line-height: 1.5;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.band { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }

/* ===== Header ===== */
/* Plain dark scrim, not mix-blend-mode:difference — the template's own fix,
   found live 2026-10-17: blend-mode only guarantees contrast against pure
   black/white, and reads as odd washed-out colour against an actual photo's
   mid-tones. A scrim behind the bar guarantees contrast against any photo. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 1.6rem 5vw;
  background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,0) 100%);
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header nav { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-family: var(--font-display); font-weight: 400; font-style: normal;
  font-size: 1.28rem; letter-spacing: .05em; color: #fff;
  transition: color .15s ease;
}
.logo span { font-style: italic; }
.header-mid {
  display: flex; align-items: baseline; gap: 1.4rem;
  opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease;
  color: #fff;
}
.site-header.solid .header-mid { opacity: 1; transform: none; }
.header-mid .h-addr { font-family: var(--font-display); font-size: .95rem; }
.header-mid .h-price { font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em; color: rgba(243,239,231,.65); }
/* Bug found live in this build, 2026-10-18: the source template only ever
   recolours .h-price for the solid (light-background) header state, not
   .h-addr — which then stays white-on-cream and is nearly unreadable once
   the header goes solid. Fixed here (worth carrying back upstream). */
.site-header.solid .header-mid .h-addr { color: var(--ink); }
.site-header.solid .header-mid .h-price { color: var(--ink-soft); }
@media (max-width: 900px) { .header-mid { display: none; } }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  color: #fff; text-decoration: none; font-size: 0.68rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
  transition: color .15s ease;
}
.site-header.solid {
  mix-blend-mode: normal;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header.solid .logo,
.site-header.solid .nav-links a { color: var(--ink); }

/* ===== Hero ===== */
/* Real listing photography is already a proper landscape camera photo
   (1600x1067, not a 1080x1920 video frame), so none of the source
   template's sharp/blur split-hero hack is needed here — that hack existed
   solely to work around a portrait video frame being stretched past its
   real resolution ceiling. A plain full-bleed cover crop is genuinely sharp
   at this aspect ratio on any screen. */
.hero-wrap { position: relative; }
.hero-standalone {
  position: relative; z-index: 10; overflow: hidden;
  height: 100svh; width: 100%;
  background-color: var(--slate-deep);
  color: var(--text-on-dark);
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
}
.hero-standalone::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,13,.18) 0%, rgba(20,17,13,.58) 100%);
}
.hero-card {
  position: absolute; left: var(--pad); bottom: clamp(1.5rem, 4vw, 3.2rem);
  width: min(400px, calc(100% - var(--pad) * 2));
  z-index: 20;
  background: var(--slate-deep-78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: clamp(1.6rem, 2.6vw, 2.2rem) clamp(1.5rem, 2.4vw, 2.1rem) clamp(1.5rem, 2.4vw, 2rem);
  color: var(--text-on-dark);
}
.hero-card .label { color: rgba(243,239,231,.65); margin-bottom: .9rem; }
.hero-heading {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.1vw, 2.6rem); line-height: 1.1;
  margin-bottom: .9rem; color: var(--text-on-dark);
}
.hero-meta {
  font-family: var(--font-body); font-size: .7rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.9; opacity: .88;
}
.hero-wt-tile {
  display: none; width: 100%; border: none; padding: 0; margin: 1.1rem 0 0;
  cursor: pointer; appearance: none; background: none; text-align: left;
  position: relative; border-radius: 4px; overflow: hidden;
}
.hero-wt-tile img { display: block; width: 100%; height: 7rem; object-fit: cover; }
.hero-wt-tile-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: linear-gradient(0deg, rgba(10,10,10,.75), rgba(10,10,10,.35));
  color: #fff; font-family: var(--font-body); font-size: .74rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}
@media (max-width: 780px) { .hero-wt-tile { display: block; } }

.hero-links {
  display: flex; flex-wrap: wrap; gap: .6rem 1.25rem;
  margin: 1.4rem 0 1.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.22);
}
.tlink {
  font-family: var(--font-body); font-size: .72rem; letter-spacing: .04em;
  text-decoration: none; border-bottom: 1px solid currentColor;
  padding-bottom: 3px; opacity: .85; transition: opacity .2s ease;
}
.tlink:hover { opacity: 1; }

.btn {
  display: inline-block; font-family: var(--font-body); font-size: .715rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; line-height: 1;
  padding: 1.05em 1.9em; border: 1px solid #fff; border-radius: 2px;
  background: #fff; color: var(--slate-deep); text-decoration: none; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: transparent; color: #fff; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-tour {
  background: transparent; border-color: var(--accent); color: var(--accent);
}
.btn-tour:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.wt-enter-icon {
  width: 0; height: 0; margin-left: 2px;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

@media (max-width: 780px) {
  .hero-standalone { height: 100svh; }
  .hero-card {
    position: static; width: auto; left: auto; right: auto; bottom: auto;
    padding: 1.5rem var(--pad) 1.8rem;
    background: var(--slate-deep); backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .hero-heading { font-size: 1.85rem; margin-bottom: .6rem; }
  .hero-links { margin: 1rem 0 1.1rem; padding-top: 1rem; }
  .tlink { padding-top: .75rem; padding-bottom: .75rem; }
  .hero-links { gap: 0 1.25rem; margin-top: 1rem; }
  .wt-entry-btn { min-height: 44px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-standalone { will-change: opacity; }
}

/* ===== Virtual Tour — room-by-room real-photo slideshow ===== */
/* The one and only tour mode (no video exists for this listing, so there is
   no second mode to switch between) — full framed box on a warm paper
   background, Ken Burns slow zoom, room-name caption card top-right. Same
   mechanics as the standing template's own rebuild. */
.wt-photo-stage {
  position: fixed; inset: 0; z-index: 1; background: var(--paper);
}
.wt-photo-frame {
  position: absolute; inset: clamp(2rem, 6vh, 4.5rem) clamp(2.5rem, 7vw, 6rem);
  box-sizing: border-box; border: 14px solid #fff;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.55);
}
.wt-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease;
  transform: scale(1); transform-origin: center center;
}
.wt-photo.on-top { opacity: 1; z-index: 2; animation: wt-kenburns 9s ease-in-out infinite alternate; }
@keyframes wt-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
.wt-photo-caption {
  position: fixed;
  right: calc(clamp(2.5rem, 7vw, 6rem) + 1.4rem);
  top: calc(clamp(2rem, 6vh, 4.5rem) + 1.4rem);
  z-index: 10; color: var(--text-on-dark);
  background: var(--slate-deep-78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 4px; padding: 1rem 1.4rem;
}
.wt-photo-label {
  display: block; font-family: var(--font-body); font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(243,239,231,.6);
  margin-bottom: .35rem;
}
.wt-photo-room-name {
  display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
}

/* ===== Walkthrough overlay — the door ===== */
#walkthrough {
  position: fixed; inset: 0; z-index: 550;
  background: var(--paper);
  display: none;
  overflow: hidden;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
html.wt-open #walkthrough { display: block; }
html.wt-open, html.wt-open body { overflow: hidden; }

.wt-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem clamp(1.1rem, 5vw, 2.8rem);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(245,243,239,.9) 0%, rgba(245,243,239,0) 100%);
  pointer-events: none;
}
.wt-bar > * { pointer-events: auto; }
.wt-brand {
  font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; opacity: .85; color: var(--ink);
}
.wt-close {
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
  font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; background: rgba(18,20,21,.7);
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  padding: .7em 1.2em; backdrop-filter: blur(8px); transition: background .2s ease;
}
.wt-close:hover, .wt-close:focus-visible { background: rgba(0,0,0,.85); }
.wt-close svg { width: 11px; height: 11px; }

.wt-hint {
  position: fixed; left: 50%; top: clamp(4.5rem, 10vw, 6rem); transform: translateX(-50%);
  z-index: 70; color: var(--ink-soft); font-family: var(--font-body); font-size: .68rem;
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-align: center;
  pointer-events: none; transition: opacity .7s ease; white-space: nowrap;
}
.wt-hint.gone { opacity: 0; }

@media (max-width: 780px) {
  .wt-brand { font-size: .62rem; letter-spacing: .14em; }
  .wt-close { font-size: .62rem; padding: .65em 1em; }
}

/* ===== Full details — the current real-client register ===== */
.details-section {
  position: relative; z-index: 90;
  background: var(--bg-light); color: var(--text-on-light);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.14; }
.section-heading-md { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0.6rem 0 1.4rem; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  margin-bottom: clamp(1.4rem, 3vw, 2rem); flex-wrap: wrap; }
.sec-head .section-heading-md { margin: 0; }

.overview { padding-top: clamp(3.5rem, 7vw, 6rem); }
.ov-grid { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: clamp(2.5rem, 6vw, 6rem); }
@media (max-width: 940px) { .ov-grid { grid-template-columns: 1fr; gap: 3rem; } }

.sidebar { position: sticky; top: 2.5rem; align-self: start; font-family: var(--font-body); }
.sb-block { padding: 0 0 1.15rem; margin-bottom: 1.15rem; border-bottom: 1px solid var(--line); }
.sb-block:last-child { border-bottom: 0; }
.sb-block .label { display: block; margin-bottom: .5rem; }
.sb-block p, .sb-block li { font-size: .9rem; line-height: 1.6; font-family: var(--font-body); }
.sb-block ul { list-style: none; }
.sb-block a { display: block; text-decoration: none; border-bottom: 1px solid var(--line);
  padding: .15rem 0; width: max-content; transition: border-color .2s ease; }
.sb-block a:hover { border-bottom-color: var(--ink); }
.sb-sub { color: var(--ink-soft); font-size: .8rem !important; }
@media (max-width: 940px) {
  .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 0 2rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
  .sb-block { border-bottom: 1px solid var(--line-soft); }
  .sb-block:last-child { border-bottom: 1px solid var(--line-soft); }
}

.standfirst {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.9vw, 2.05rem); line-height: 1.3; font-style: italic;
  max-width: 26ch; margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.prose { max-width: 36em; font-family: var(--font-display); font-size: 1.14rem; line-height: 1.7; }
.prose p { margin-bottom: 1.3em; }
.prose p:last-child { margin-bottom: 0; }
.prose .first { font-size: 1.2rem; }
.prose h3 {
  font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .17em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 2.8rem 0 1.1rem;
}
.prose h3:first-child { margin-top: 0; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 1.6vw, 1.4rem);
  margin: clamp(2.2rem, 4vw, 3.2rem) 0; max-width: 36em; }
.pair figure { margin: 0; }
.pair img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--line-soft); }
.pair figcaption { font-family: var(--font-body); font-size: .72rem; color: var(--ink-faint);
  margin-top: .65rem; line-height: 1.5; }
@media (max-width: 620px) { .pair { grid-template-columns: 1fr; } }

.btn-outline {
  display: inline-block; font-family: var(--font-body); font-size: .715rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; line-height: 1;
  padding: 1.05em 1.9em; border: 1px solid var(--ink); border-radius: 2px;
  background: none; color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.worth { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.worth .label { display: block; margin-bottom: 1rem; }
.worth ul { list-style: none; columns: 2; column-gap: 3rem; }
.worth li { break-inside: avoid; font-size: 1.02rem; line-height: 1.55; font-family: var(--font-display);
  padding: .7rem 0; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 700px) { .worth ul { columns: 1; } }

/* Photographs — a real gallery grid, real listing photography. */
.photographs { background: var(--white); border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 1.6vw, 1.4rem); }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.grid a { display: block; overflow: hidden; background: var(--line-soft); aspect-ratio: 4/3; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.grid a:hover img { transform: scale(1.035); }

.lb { position: fixed; inset: 0; z-index: 600; background: rgba(10,11,12,.95); display: none;
  place-items: center; padding: clamp(1rem, 5vw, 3.5rem); }
.lb.open { display: grid; }
.lb img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lb button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; width: 46px; height: 46px;
  border-radius: 999px; transition: background .2s ease; }
.lb button:hover, .lb button:focus-visible { background: rgba(255,255,255,.22); }
.lb .x { top: clamp(1rem, 3vw, 1.8rem); right: clamp(1rem, 3vw, 1.8rem); }
.lb .prev { left: clamp(.6rem, 2vw, 1.8rem); top: 50%; transform: translateY(-50%); }
.lb .next { right: clamp(.6rem, 2vw, 1.8rem); top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: clamp(.8rem, 2.4vw, 1.6rem); text-align: center;
  color: rgba(255,255,255,.8); font-family: var(--font-body); font-size: .73rem; padding: 0 4rem; }

/* Room dimensions — the real 16-row schedule, transcribed from Dreamview's
   own Room Info block (verified, not re-derived). */
.numbers { background: var(--paper); border-top: 1px solid var(--line); }
.num-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
  gap: clamp(2.4rem, 4vw, 3.6rem); margin-top: clamp(2rem, 4vw, 3rem); }
.num-group h3 { font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .17em;
  text-transform: uppercase; color: var(--ink); padding-bottom: .85rem; border-bottom: 1px solid var(--ink); }
.num-group h3.spaced { margin-top: 2.8rem; }
.num-group dl > div { display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.2rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.num-group dt { font-size: 1.02rem; font-family: var(--font-display); }
.num-group dd { margin: 0; text-align: right; font-family: var(--font-body); font-size: .85rem;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.num-group dd em { display: block; font-style: normal; font-size: .74rem; color: var(--ink-faint); margin-top: .2rem; }
.num-foot { margin-top: 2.4rem; font-size: .92rem; color: var(--ink-soft); max-width: 60ch; font-family: var(--font-body); }

/* Location — a text column plus one real photograph. */
.location { background: var(--white); border-top: 1px solid var(--line); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--line-soft); }
.loc-grid .prose { max-width: 38em; }

/* Walkthrough entry */
.walkthrough-entry {
  position: relative; min-height: 70vh;
  background-image: linear-gradient(rgba(10,10,10,.18), rgba(10,10,10,.3)), url('../img/garden-02.jpg');
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 780px) {
  .walkthrough-entry { background-image: none; background-color: var(--paper); min-height: auto; padding: 3rem 0; }
}
.wt-entry-card {
  background: var(--slate-deep-78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  padding: clamp(2rem, 4vw, 3.2rem) clamp(2.2rem, 5vw, 4rem);
  max-width: 34em; text-align: center;
  color: var(--text-on-dark);
}
.wt-entry-copy { color: rgba(243,239,231,.8); margin: .8rem 0 1.6rem; }
.wt-entry-btn { display: inline-flex; align-items: center; gap: .7rem; }
.wt-entry-btn .wt-enter-icon { border-left-color: var(--accent); }
.wt-entry-btn:hover .wt-enter-icon { border-left-color: var(--slate-deep); }

/* Viewing / contact — the slate band. */
.viewing { background: var(--slate); color: #fff; }
.view-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 820px) { .view-grid { grid-template-columns: 1fr; } }
.viewing h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1.2rem; }
.viewing .intro { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 34ch; margin-bottom: 2.4rem; font-family: var(--font-display); }
.viewing .label { color: rgba(255,255,255,.6); display: block; margin-bottom: .5rem; }
.agent-block { padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.25); margin-top: 1.8rem; }
.agent-block p { font-size: 1.02rem; line-height: 1.6; font-family: var(--font-body); }
.phone { display: inline-block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4); margin-top: .6rem; font-variant-numeric: tabular-nums; }
.phone:hover { border-bottom-color: #fff; }
.form { display: grid; gap: .75rem; }
.form input, .form textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: .95rem 1.05rem; font-family: var(--font-body); font-size: .92rem; border-radius: 2px; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid rgba(255,255,255,.65); outline-offset: 1px; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.55); }
.form button { margin-top: .4rem; border: none; cursor: pointer; }
.sent { font-size: .92rem; color: rgba(255,255,255,.85); margin-top: .4rem; font-family: var(--font-body); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ===== Footer ===== */
.site-footer {
  position: relative; z-index: 100;
  background: var(--bg-dark); color: var(--text-on-dark);
  padding: 3rem 0; font-size: .88rem; line-height: 1.7;
}
.site-footer .wrap { max-width: var(--max); }
.site-footer p { max-width: 80ch; color: rgba(243,239,231,.72); }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 780px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; display: grid;
    grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    background: var(--paper); text-align: center; padding: 1.05rem .5rem; text-decoration: none;
    font-family: var(--font-body); font-size: .67rem; font-weight: 500; letter-spacing: .14em;
    text-transform: uppercase; color: var(--ink);
  }
  .mobile-bar a.primary { background: var(--ink); color: var(--paper); }
  body { padding-bottom: var(--mobile-bar-h); }
  .hero-standalone { min-height: calc(100svh - var(--mobile-bar-h)); }
  .hero-card { padding-bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar a { padding-bottom: calc(1.05rem + env(safe-area-inset-bottom, 0px)); }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ─────────────────── reduced motion ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}



/* ===== s52: put the walkthrough entry inside the first mobile viewport =====
 * Customer-requested by name (Darryl Rixon, 2026-10-18: "I think the start
 * auto walk through button should be a priority button, maybe as an overlay
 * on the landing photo") and already promised to him in writing on
 * 2026-10-17.
 *
 * MEASURED, not assumed: on a 390x844 profile the template puts .hero-wt-tile
 * at y=1022px, i.e. 1.21 screens down -- the exact figure s51 measured. The
 * cause is structural and worth writing down, because the obvious fix does
 * NOT work: .hero-photo is position:absolute/inset:0 inside .hero-standalone,
 * so capping the IMAGE's max-height changes nothing. The container is what
 * holds the height (height:100svh, plus a min-height:calc(100svh - mobile bar)
 * further down the sheet), and on mobile .hero-card drops to position:static
 * and therefore stacks BELOW that full-screen photo. Both the height and the
 * min-height have to be overridden or the min-height simply wins.
 *
 * Desktop is deliberately untouched: there .hero-card is absolutely positioned
 * over the photo and the entry was always in the first viewport. */
@media (max-width: 780px) {
  .hero-standalone {
    height: 46svh;
    min-height: 46svh;
  }
  /* Give the tile the weight of a primary action rather than a decorative
     thumbnail -- "priority button" was the actual request. */
  .hero-card .hero-wt-tile {
    margin-top: 1rem;
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
  }
  .hero-card .hero-wt-tile img { height: 5.5rem; }
  .hero-card .hero-wt-tile-label { font-size: .78rem; }
}
