/* ShellForm.mt — shared by ShellForm.mt and ShellForm.mt Properties.
   Deliberately NOT the Turnkey/CYT livery (black + green, Cormorant + Montserrat):
   limestone and concrete with a terracotta accent.
   2026-10-24 (Neil): fonts, palette and shapes from Neil's Stitch design system "Warm Architectural
   Precision" (Downloads/DESIGN.md): EB Garamond headlines, Plus Jakarta Sans text and figures,
   terracotta #C06B3E, slate #1B1F24, limestone #F5F2EB with white cards and hairline borders. */
:root {
  --limestone: #F5F2EB;
  --paper: #FFFFFF;
  --sand: #DCD1BF;
  --concrete: #8A8A86;
  --concrete-d: #5E5E5A;
  --ink: #1B1F24;
  --ink-2: #2A3037;
  --terracotta: #C06B3E;
  --terracotta-d: #A85A32;   /* text-safe on limestone/paper */
  --terracotta-l: #F3DED3;
  --olive: #6C7A6B;
  --warn: #8A4B00;
  --warn-bg: #FBEBD3;
  --line: #E0D8CB;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(36,35,31,.06), 0 6px 18px -10px rgba(36,35,31,.35);
  --f-head: "EB Garamond", Garamond, Georgia, serif;
  --f-body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1400px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--limestone); color: var(--ink); font-family: var(--f-body);
  font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--terracotta-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .2em 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.label { font-family: var(--f-body); font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--concrete-d); }
.muted { color: var(--concrete-d); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- topbar: sticky, never hidden on mobile ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 2px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { width: 40px; height: 40px; }
.brand b { font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; letter-spacing: .16em; display: block; line-height: 1.1; }
.brand b i { font-style: normal; color: var(--terracotta); }
.brand small { display: block; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--concrete-d); font-weight: 600; margin-top: 3px; }
.nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; font-size: .95rem; font-weight: 600; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--limestone); }
.nav a.cta { background: var(--terracotta); color: #fff; margin-left: 6px; }
.nav a.cta:hover { background: var(--terracotta-d); }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  font: 700 .85rem var(--f-body); padding: 7px 10px; color: var(--ink); cursor: pointer; }
@media (max-width: 1099px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 2px solid var(--ink); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .nav a.cta { margin: 10px 0 0; text-align: center; }
}
.prebar { background: var(--ink); color: var(--sand); font-size: .8rem; text-align: center; padding: 6px 16px; }
.prebar a { color: #fff; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); background:
  linear-gradient(var(--limestone), var(--limestone)) padding-box; padding: 40px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.hero p.lead { font-size: 1.15rem; max-width: 36em; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: var(--radius);
  border: 2px solid var(--ink); color: var(--ink); background: transparent; font-size: 1rem; cursor: pointer; font-family: var(--f-body); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.btn.primary:hover { background: var(--terracotta-d); border-color: var(--terracotta-d); }

/* the journey: a stamped, ruled sequence */
.journey { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 2px solid var(--ink); }
.journey li { display: grid; grid-template-columns: 54px 1fr; border-bottom: 1px solid var(--line); }
.journey li:last-child { border-bottom: 0; }
.journey .n { font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center;
  justify-content: center; border-right: 1px dashed var(--concrete); color: var(--terracotta-d); }
.journey .t { padding: 12px 14px; }
.journey .t b { display: block; font-size: 1rem; }
.journey .t span { font-size: .9rem; color: var(--concrete-d); }
.journey .t a { font-size: .88rem; }

/* ---------- sections + cards ---------- */
section.band { padding: 44px 0; }
section.band.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band.dark { background: var(--ink); color: var(--sand); }
section.band.dark h2, section.band.dark h3 { color: #fff; }
section.band.dark a { color: #F0B89F; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.sheet { background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius); padding: 18px 18px 16px;
  position: relative; box-shadow: var(--shadow); }
.sheet h3 { margin-top: .3em; }
.sheet .tag { position: absolute; top: -11px; left: 14px; background: var(--ink); color: var(--paper); font-size: .68rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; }
a.sheet { display: block; text-decoration: none; color: var(--ink); }
a.sheet:hover { border-color: var(--terracotta); }
a.sheet .go { color: var(--terracotta-d); font-weight: 700; }
.dimline { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--concrete-d); margin: 6px 0 2px; }
.dimline::before, .dimline::after { content: ""; flex: 1; border-top: 1px solid var(--concrete); }

/* ---------- article ---------- */
.crumbs { font-size: .85rem; color: var(--concrete-d); padding-top: 14px; }
.crumbs a { color: var(--concrete-d); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } }
.article main { min-width: 0; }
.prose { background: var(--paper); border: 1px solid var(--line); padding: 8px 28px 24px; }
@media (max-width: 600px) { .prose { padding: 4px 16px 18px; } }
.prose li { margin-bottom: .35em; }
.prose h2 { border-top: 1px solid var(--line); padding-top: .8em; }
.cite a { text-decoration: none; font-weight: 700; padding: 0 2px; }
.aside-box { border: 1px solid var(--ink); background: var(--paper); padding: 14px 16px; margin-bottom: 16px; }
.aside-box h3 { margin: 0 0 .4em; font-size: 1rem; }
.aside-box ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.notice { border-left: 6px solid var(--warn); background: var(--warn-bg); padding: 12px 16px; margin: 14px 0; font-size: .95rem; }
.notice.draft { border-color: var(--terracotta); background: var(--terracotta-l); }
.notice strong { display: block; }
.sources { font-size: .9rem; }
.sources li { margin-bottom: .5em; word-break: break-word; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .5em 0 0; }
.byline { font-size: .9rem; color: var(--concrete-d); }
table.rates { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 10px 0; }
table.rates th, table.rates td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.rates td.num, table.rates th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- calculators ---------- */
.calc { background: var(--paper); border: 2px solid var(--ink); padding: 18px; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.calc legend, .calc .lbl { font-weight: 700; display: block; margin-bottom: 6px; font-size: .95rem; }
.calc input[type=number], .calc input[type=date], .calc input[type=text], .calc select, .form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--concrete); border-radius: var(--radius);
  background: #fff; color: var(--ink); }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .calc .row { grid-template-columns: 1fr; } }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { font: 600 .92rem var(--f-body); padding: 9px 12px; border: 1px solid var(--ink); background: transparent;
  border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.result { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 14px; }
.result .big { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.8rem, 6vw, 2.6rem); color: var(--terracotta-d); line-height: 1.1; }
.result table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 10px; }
.result td { padding: 7px 4px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.result td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.result tr.total td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }
.hint { font-size: .85rem; color: var(--concrete-d); margin-top: 4px; }
.err { color: #9B1C1C; font-weight: 600; }
details.assume { border: 1px dashed var(--concrete); padding: 10px 12px; margin: 10px 0 16px; background: var(--limestone); }
details.assume summary { font-weight: 700; cursor: pointer; }
.stage-row { display: grid; grid-template-columns: 1.4fr .7fr 1fr 34px; gap: 8px; margin-bottom: 8px; align-items: center; }
@media (max-width: 600px) { .stage-row { grid-template-columns: 1fr 1fr; } .stage-row .lab { grid-column: 1 / -1; } }
.stage-row button { border: 1px solid var(--concrete); background: #fff; border-radius: var(--radius); height: 40px; cursor: pointer; }
.timeline { list-style: none; margin: 14px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 14px 10px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 5px; width: 14px; height: 14px; background: var(--terracotta);
  border: 2px solid var(--ink); }
.timeline .when { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--concrete-d); }
.timeline .amt { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; }

/* ---------- forms ---------- */
.form { background: var(--paper); border: 2px solid var(--ink); padding: 18px; }
.form .f { margin-bottom: 14px; }
.form label.lbl { display: block; font-weight: 700; margin-bottom: 5px; font-size: .95rem; }
.form .opt { font-weight: 400; color: var(--concrete-d); font-size: .85rem; }
.form .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
@media (max-width: 600px) { .form .checks { grid-template-columns: 1fr; } }
.form .checks label, .form .consent { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; }
.form .consent { font-size: .85rem; line-height: 1.5; color: var(--ink-2); background: var(--limestone); padding: 10px; border: 1px solid var(--line); }
.form input[type=checkbox], .form input[type=radio] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--terracotta); flex-shrink: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- listings (properties) ---------- */
.badge-ex { display: inline-block; background: var(--terracotta); color: #fff; font-weight: 800; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border: 2px solid var(--ink); }
.listing-card { background: var(--paper); border: 1px solid var(--ink); text-decoration: none; color: var(--ink); display: block; position: relative; }
.listing-card img { display: block; width: 100%; aspect-ratio: 1376 / 768; object-fit: cover; }
.listing-card .badge-ex, .listing-card .badge-ag { position: absolute; top: 10px; left: 10px; z-index: 1; }
.badge-ag { display: inline-block; background: var(--paper); color: var(--ink); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; padding: 5px 9px; border: 2px solid var(--ink); }
.listing-card .price { margin: 8px 0 2px; font-weight: 800; font-size: 1.1rem; }
.listing-card .price .hint, .listing-card p.hint { font-weight: 400; font-size: .82rem; }
.listing-card p.hint { margin: 0; }
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1376 / 768; width: 100%;
  background: repeating-linear-gradient(45deg, #E4DDD1 0 12px, #EDE6DA 12px 24px); color: var(--ink-2); text-align: center; padding: 10px; }
.ph span { font-weight: 800; font-size: 1.1rem; } .ph small { font-size: .8rem; }
.pricebox { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 18px 0 10px; }
.pricebox > div { border: 2px solid var(--ink); background: var(--paper); padding: 12px 14px; }
.pricebox .label { margin: 0; } .pricebox .big { font-size: 1.7rem; font-weight: 800; margin: 2px 0 4px; line-height: 1.15; }
.pricebox .hint { margin: 0; font-size: .82rem; }
@media (max-width: 700px) { .pricebox { grid-template-columns: 1fr; } }
.agentline { margin: 6px 0 16px; }
.facts-t { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .93rem; }
.facts-t th, .facts-t td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid #D8D0C2; }
.facts-t th { width: 38%; color: var(--concrete-d); font-weight: 600; }
.enq { align-self: start; }
.enq h2 { margin-top: 0; }
.listing-card .body { display: block; padding: 12px 14px 14px; }
.listing-card h3 { margin: 0 0 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--concrete-d); margin: 0; padding: 0; list-style: none; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .ba { grid-template-columns: 1fr; } }
.ba figure { margin: 0; background: var(--paper); border: 1px solid var(--ink); }
.ba img { display: block; width: 100%; height: auto; }
.ba figcaption { font-size: .85rem; padding: 8px 10px; color: var(--ink-2); }
.planbox { background: #fff; border: 1px solid var(--ink); padding: 10px; overflow-x: auto; }
svg.plan { display: block; width: 100%; max-width: 760px; min-width: 520px; margin: 0 auto; font-family: var(--f-body); }
svg.plan .pl-room { fill: #FBF9F5; stroke: var(--ink); stroke-width: 4; }
svg.plan .pl-out { fill: #EFE9DD; stroke: var(--concrete-d); stroke-width: 2; stroke-dasharray: 7 5; }
svg.plan .pl-gap { stroke: #FBF9F5; stroke-width: 6; }
svg.plan .pl-door { fill: none; stroke: var(--terracotta-d); stroke-width: 1.5; }
svg.plan .pl-name { font-size: 14px; font-weight: 700; fill: var(--ink); }
svg.plan .pl-name-s { font-size: 11px; }
svg.plan .pl-small { font-size: 11px; fill: var(--concrete-d); }
svg.plan .pl-dim line { stroke: var(--concrete-d); stroke-width: 1; }
svg.plan .pl-dim text, svg.plan .pl-scale text { font-size: 12px; fill: var(--concrete-d); }
svg.plan .pl-stair rect { fill: none; stroke: var(--ink); stroke-width: 1.5; }
svg.plan .pl-stair line { stroke: var(--ink); stroke-width: 1; }
svg.plan .pl-sb-a { fill: var(--ink); } svg.plan .pl-sb-b { fill: #fff; stroke: var(--ink); stroke-width: 1; }

/* ---------- printable checklist ---------- */
.checklist h2 { break-after: avoid; }
.checklist ul { list-style: none; padding: 0; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.checklist li::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--ink); margin-top: 4px; }
@media print {
  .top, .prebar, footer, .noprint { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .prose { border: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- footer ---------- */
footer.foot { background: var(--ink); color: var(--sand); padding: 36px 0 28px; margin-top: 40px; font-size: .92rem; }
footer.foot a { color: #fff; }
footer.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { footer.foot .cols { grid-template-columns: 1fr; } }
footer.foot h4 { font-family: var(--f-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--concrete); margin: 0 0 8px; }
footer.foot ul { list-style: none; padding: 0; margin: 0; }
footer.foot li { margin-bottom: 6px; }
.foot-logos { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 22px 0 10px; padding-top: 18px; border-top: 1px solid #45433C; }
.foot-logos span { font-size: .8rem; color: var(--concrete); }
.foot-logos img { height: 22px; width: auto; }
.foot-legal { font-size: .8rem; color: var(--concrete); margin: 0; }

/* ---------- before/after hero (shell -> finished) ---------- */
.bah { position: relative; background: var(--ink); color: #fff; --pos: 50%; }
.bah-stage { position: relative; aspect-ratio: var(--ar, 21 / 9); max-height: 82vh; width: 100%; overflow: hidden;
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.bah-stage picture, .bah-stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bah-stage img { object-fit: cover; object-position: var(--focus, 50% 50%); -webkit-user-drag: none; }
.bah-after { clip-path: inset(0 0 0 var(--pos)); }
.bah-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff;
  box-shadow: 0 0 0 1px rgba(36,35,31,.25); pointer-events: none; }
.bah-handle { position: absolute; top: 50%; left: var(--pos); width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: var(--terracotta); border: 3px solid #fff; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35); cursor: grab; padding: 0; touch-action: none; }
.bah-handle:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.bah.is-dragging .bah-handle { cursor: grabbing; }
.bah-handle svg { width: 26px; height: 26px; }
.bah-tag { position: absolute; top: 14px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; pointer-events: none; }
.bah-tag.l { left: 14px; background: rgba(36,35,31,.82); color: var(--sand); }
.bah-tag.r { right: 14px; background: var(--paper); color: var(--ink); }
.bah-credit { position: absolute; right: 10px; bottom: 8px; font-size: .7rem; color: #fff; background: rgba(36,35,31,.6);
  padding: 3px 7px; pointer-events: none; }
.bah-panel { background: var(--ink); color: var(--sand); padding: 22px 16px 26px; }
.bah-panel h1 { color: #fff; margin: .15em 0 .35em; }
.bah-panel .label { color: #C9BFAE; }
.bah-panel p.lead { color: #EDE6DA; font-size: 1.08rem; margin-bottom: 0; }
.bah-panel .btn { border-color: #fff; color: #fff; }
.bah-panel .btn:hover { background: #fff; color: var(--ink); }
.bah-panel .btn.primary { border-color: var(--terracotta); color: #fff; }
.bah-panel .hint { color: #C9BFAE; }
@media (min-width: 961px) {
  .bah-stage { min-height: 560px; }
  .bah-panel { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
    padding: 110px max(16px, calc((100vw - var(--max)) / 2 + 16px)) 30px;
    background: linear-gradient(to top, rgba(24,23,20,.94) 0%, rgba(24,23,20,.86) 55%, rgba(24,23,20,0) 100%);
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: end; }
  .bah-panel a, .bah-panel button { pointer-events: auto; }
  .bah-panel h1 { font-size: clamp(2.2rem, 3.3vw, 3.1rem); margin-bottom: 0; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
  .bah-panel .btns { margin-top: 14px; }
  .bah-handle { top: 36%; }
  .bah-credit { bottom: auto; top: 50px; right: 14px; }
}
@media (max-width: 760px) {
  .bah-stage { aspect-ratio: 4 / 5; max-height: 68vh; }
  .bah-handle { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}
@media (prefers-reduced-motion: reduce) { .bah * { transition: none !important; } }
.listing-card .ai-tag { display: block; margin-top: 6px; font-size: .74rem; color: var(--concrete-d); }

/* listing filter (filters.js) */
.lfilter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; align-items: end; margin: 18px 0 16px; padding: 14px; background: var(--paper); border: 1px solid var(--ink); }
.lfilter label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lfilter label:first-child { grid-column: 1 / -1; }
.lfilter select { width: 100%; padding: 10px; font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 400; border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.lcount { grid-column: 1 / -1; margin: 2px 0 0; font-weight: 700; }
.lreset { grid-column: 1 / -1; justify-self: start; }
.listing-card[hidden] { display: none !important; }
@media (min-width: 860px) { .lfilter { grid-template-columns: 1.4fr 1fr .7fr 1fr 1.1fr; } .lfilter label:first-child { grid-column: auto; } .lcount { grid-column: 1 / 4; } .lreset { grid-column: 4 / 6; justify-self: end; } }

/* ---- Stitch "Warm Architectural Precision" refinements (2026-10-24) ---- */
body { font-size: 15.5px; line-height: 1.6; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: clamp(2.375rem, 5vw, 3.5rem); line-height: 1.12; }
h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); }
h3 { font-weight: 500; }
.label, .lfilter label span { font-weight: 600; letter-spacing: .07em; }
.pricebox .big, .price, .metric, .listing-card .price { font-family: var(--f-body); font-weight: 700; letter-spacing: -.02em; }
/* hairline frames on white tiles instead of 2px black outlines */
.listing-card, .pricebox > div, .lfilter, .card, .enq, .facts-t, .notice, .ba figure, .form input, .form select, .form textarea, .lfilter select {
  border: 1px solid var(--line) !important; border-radius: 8px; background: #fff; }
.form input, .form select, .form textarea, .lfilter select, .btn { border-radius: 4px !important; }
.listing-card { overflow: hidden; box-shadow: none; transition: box-shadow .2s, transform .2s; }
.listing-card:hover { box-shadow: 0 12px 32px -4px rgba(27,31,36,.08), 0 4px 12px -2px rgba(192,107,62,.06); transform: translateY(-2px); }
.badge-ag, .badge-ex { border: 0 !important; background: #1B1F24 !important; color: #fff !important; border-radius: 4px; font-weight: 600; letter-spacing: .06em; }
.btn { letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; font-weight: 600; }
.btn.primary { background: #C06B3E; border-color: #C06B3E; color: #fff; }
.btn.primary:hover { background: #A85A32; border-color: #A85A32; color: #fff; }
.form input:focus, .form select:focus, .form textarea:focus, .lfilter select:focus { outline: 1px solid #C06B3E; outline-offset: 0; }

/* Full-width on big screens (Neil, 2026-10-24: "big margins either side"): wider frame, a real gutter,
   listings four across on large screens; reading pages (.narrow) keep a comfortable line length. */
@media (min-width: 900px) { .wrap { padding: 0 40px; } }
@media (min-width: 1280px) { #lgrid.grid3, .grid3 { grid-template-columns: repeat(4, 1fr); } }

/* Home + Back (site.js) */
.fab-home, .fab-back { position: fixed; bottom: 18px; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none;
  background: #1B1F24; color: #fff; box-shadow: 0 12px 32px -4px rgba(27,31,36,.25), 0 4px 12px -2px rgba(192,107,62,.12); transition: background .2s, transform .2s; }
.fab-home { left: 18px; } .fab-back { left: 76px; background: #C06B3E; }
.fab-home:hover { background: #2A3037; color: #fff; transform: translateY(-2px); } .fab-back:hover { background: #A85A32; transform: translateY(-2px); }
.fab-home svg, .fab-back svg { width: 21px; height: 21px; }
@media (max-width: 700px) { .fab-home, .fab-back { bottom: 12px; width: 44px; height: 44px; } .fab-home { left: 12px; } .fab-back { left: 64px; } }

/* ---- Get the app (hero, top-right) + install sheet ---- */
.pill-app { position: absolute; top: 14px; right: 14px; z-index: 6; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 13px; border-radius: 999px; border: 0; background: var(--terracotta); color: #fff;
  font-family: inherit; font-weight: 700; font-size: .9rem; line-height: 1; letter-spacing: .01em; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.pill-app svg { width: 18px; height: 18px; }
.pill-app:hover { background: #A85A32; transform: translateY(-1px); }
.pill-app:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pill-app[hidden] { display: none; }
.bah .bah-tag.r { top: 66px; }
.bah:has(.pill-app[hidden]) .bah-tag.r { top: 14px; }
.appsheet { position: fixed; inset: 0; z-index: 1000; background: rgba(24,23,20,.55); display: flex; align-items: flex-end; justify-content: center; }
.appsheet[hidden] { display: none; }
.appsheet-in { background: var(--paper); color: var(--ink); width: 100%; max-width: 460px; padding: 24px 22px 22px; border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.appsheet-in h2 { font-size: 1.35rem; margin: 0 0 .35em; }
.appsheet-in ol { margin: 12px 0 18px; padding-left: 1.2em; } .appsheet-in li { margin: .45em 0; }
@media (min-width: 700px) { .appsheet { align-items: center; } .appsheet-in { border-radius: 16px; } }
@media (max-width: 600px) { .pill-app { top: 10px; right: 10px; padding: 8px 13px 8px 11px; font-size: .82rem; } .bah .bah-tag.r { top: 56px; } }
@media (min-width: 961px) { .bah .bah-credit { top: 108px; } .bah:has(.pill-app[hidden]) .bah-credit { top: 50px; } }

/* ---- article banner + live listings inside journal articles ---- */
.art-banner { margin: 6px 0 22px; }
.art-banner img, .art-banner picture { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.art-banner figcaption { font-size: .78rem; color: var(--muted, #6B675F); margin-top: 6px; }
.art-listings { margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-listings .grid3 { margin: 10px 0 14px; }
.prose .art-listings h3 { margin-top: .4em; }

/* ---- hero scenes: cross-fade between before/after pairs (Properties: villa, then penthouse) ---- */
.bah-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.bah-scene.on { opacity: 1; }
.bah-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; }
.bah-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.25); cursor: pointer; }
.bah-dots button[aria-current="true"] { background: #fff; }
.bah-dots button:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
@media (min-width: 961px) { .bah-dots { bottom: auto; top: 22px; left: 96px; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bah-scene { transition: none; } }

/* ---- development unit table ---- */
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.units-t { min-width: 640px; }
.units-t th { width: auto; white-space: nowrap; }
.units-t td { white-space: nowrap; }
.grid2 > div { min-width: 0; }

/* ---- main home: the fit-out offer ---- */
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.fit-t.fit-wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-t { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--terracotta); padding: 14px 16px; }
.fit-t h3 { margin: 0 0 .3em; font-size: 1.1rem; }
.fit-t p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.fit-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0 22px; }
@media (max-width: 760px) { .fit-how { grid-template-columns: 1fr; } }
.fit-how .n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-right: 8px; }
.fit-how p { margin: .4em 0 0; font-size: .95rem; }
.fit-eg { background: var(--paper); border: 1px solid var(--line); padding: 16px 18px; }
.fit-eg p { margin: 0 0 10px; }

/* ---- the ShellForm slider (shell + duty + fit-out) ---- */
.sfc { background: var(--ink); color: #EDE6DA; padding: 22px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; margin: 18px 0; }
@media (max-width: 860px) { .sfc { grid-template-columns: 1fr; padding: 18px 16px; } }
.sfc .lbl, .sfc label { display: block; font-weight: 600; color: #C9BFAE; margin-bottom: 6px; font-size: .92rem; }
.sfc label b { float: right; color: #fff; font-size: 1.05rem; }
.sfc-f { margin-bottom: 16px; }
.sfc-row { display: grid; grid-template-columns: auto 1fr; gap: 18px; }
@media (max-width: 520px) { .sfc-row { grid-template-columns: 1fr; } }
.sfc input[type=range] { width: 100%; accent-color: var(--terracotta); height: 28px; }
.sfc-step { display: inline-flex; align-items: center; gap: 12px; }
.sfc-step button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #C9BFAE; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.sfc-step b { color: #fff; font-size: 1.1rem; min-width: 1ch; text-align: center; }
.sfc .seg button { background: transparent; color: #EDE6DA; border: 1px solid #6b665c; padding: 7px 10px; cursor: pointer; font: inherit; font-size: .88rem; }
.sfc .seg button[aria-pressed="true"] { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.sfc .seg { display: flex; flex-wrap: wrap; gap: 6px; }
.sfc-res { background: rgba(255,255,255,.05); border: 1px solid #4a463f; padding: 18px; align-self: start; }
.sfc-big { font-family: "EB Garamond", serif; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; margin: 0; line-height: 1.1; }
.sfc-sub { color: #C9BFAE; margin: .3em 0 12px; }
.sfc-t { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sfc-t td { padding: 6px 0; border-bottom: 1px solid #4a463f; }
.sfc-t td:last-child { text-align: right; color: #fff; white-space: nowrap; padding-left: 10px; }
.sfc .hint { color: #a9a090; font-size: .8rem; margin-top: 10px; }
.sfc .hint a { color: #EDE6DA; }
.sfc-cta { grid-column: 1 / -1; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.sfc-cta .btn { border-color: #fff; color: #fff; }
.sfc-cta .btn.primary { border-color: var(--terracotta); }
.sfc-h { margin: 26px 0 0; }
.sfc-inc { margin-top: 12px; font-size: .88rem; }
.sfc-inc summary { cursor: pointer; color: #fff; font-weight: 600; }
.sfc-inc ul { margin: 8px 0 6px; padding-left: 1.1em; }
.sfc-inc li { margin: .35em 0; color: #DCD4C6; }
.sfc-inc b { color: #fff; }
.sfc-not { color: #a9a090; margin: 0; }
.foot-tag { font-family: "EB Garamond", serif; font-size: 1.25rem; color: #fff; margin: 18px 0 4px; }
.dev-jump { margin: 4px 0 12px; font-weight: 600; } .dev-jump a { color: var(--terracotta); }
/* menu labels never wrap; slightly tighter between tablet and wide desktop */
@media (min-width: 1100px) { .nav a { white-space: nowrap; } }
@media (min-width: 1100px) and (max-width: 1240px) { .nav a { padding: 8px 6px; font-size: .86rem; } .nav a.cta { margin-left: 4px; } }
.sfc-eg { color: #e0a47f; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
