/* MQX4 combined site (direction B's light look with direction C's opening and four pillars).
   Loaded after base.css. The 3D stack plan styles are at the top so other pages can reuse them. */
body.mqx { --bg:#f6f3ee; --fg:#1b1b1b; --muted:#5f5b55; --card:#fff; --accent:#ff6444; --accent-fg:#fff; --line:#e3ddd3; --nav-bg:rgba(246,243,238,.97); --field-bg:#fff; --sand:#efeae2; }
.btn.dark { background: #1b1b1b; color: #fff; }
.eyebrow.off { color: var(--muted); }

/* ---------- 3D stack plan ---------- */
.s3 { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); gap: 28px; align-items: stretch; }
.s3-stage { position: relative; border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #f4f0e9 70%); border: 1px solid var(--line); min-height: 740px; overflow: hidden; outline-offset: 3px; }
.s3-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; font-family: inherit; }
.s3-svg:active { cursor: grabbing; }
.s3-svg .s3f, .s3-svg .s3t { cursor: pointer; }
.s3-svg .s3f:hover, .s3-svg .s3t:hover { filter: brightness(1.04) saturate(1.08); }
.s3-ctl { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.s3-ctl button { height: 38px; min-width: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #d6cfc3; background: #fff; color: #1b1b1b; font-weight: 800; font-size: 14px; }
.s3-ctl button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.s3-key { position: absolute; right: 16px; top: 14px; display: flex; gap: 14px; font-size: 12px; font-weight: 700; color: var(--muted); }
.s3-key i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: #fbf9f5; border: 1.5px solid #b3a999; margin-right: 6px; vertical-align: -1px; }
.s3-key i.av { background: var(--accent); border-color: var(--accent); }
.s3-drag { position: absolute; right: 16px; bottom: 22px; font-size: 12px; font-weight: 700; color: var(--muted); transition: opacity .3s; }
.s3-stage.turned .s3-drag { opacity: 0; }
.s3-panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; }
.s3-panel h3 { font-size: 26px; margin: 6px 0 14px; }
.s3-kpis { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.s3-kpis b { display: block; font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.s3-kpis span { font-size: 13px; color: var(--muted); font-weight: 600; }
.s3-list { list-style: none; display: grid; gap: 8px; }
.s3-list button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 0 12px; text-align: left; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: inherit; transition: border-color .15s, transform .15s; }
.s3-list button:hover { border-color: var(--accent); transform: translateX(2px); }
.s3-list .nm { font-weight: 800; font-size: 16px; }
.s3-list .ar { grid-row: 1 / 3; grid-column: 2; align-self: center; font-weight: 800; color: var(--accent); white-space: nowrap; }
.s3-list .lv { font-size: 13px; color: var(--muted); }
.s3-hint, .s3-soon { font-size: 13px; color: var(--muted); margin-top: 14px; }
.s3-back, .s3-link { background: none; border: 0; padding: 0; color: var(--muted); font-weight: 700; font-size: 14px; text-align: left; }
.s3-back { margin-bottom: 16px; }
.s3-link { text-decoration: underline; color: inherit; }
.s3-unit { display: block; width: 100%; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; color: inherit; margin-bottom: 10px; }
button.s3-unit:hover { border-color: var(--accent); }
.s3-unit.open { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.s3-unit header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.s3-unit header b { font-size: 18px; }
.s3-unit header span { font-weight: 800; color: var(--accent); white-space: nowrap; }
.s3-unit dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 15px; margin: 12px 0 14px; }
.s3-unit dt { color: var(--muted); }
.s3-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.s3-acts .btn { padding: 11px 16px; font-size: 14px; }
.s3-in { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.s3-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s3-chips span { border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 14px; font-weight: 700; background: #fbf9f5; }
.s3-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 20px; }
.s3-nav button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: inherit; }
.s3-nav button:hover { border-color: #1b1b1b; }
@media (max-width: 900px) {
  .s3 { grid-template-columns: 1fr; gap: 16px; }
  .s3-stage { min-height: 0; height: min(118vw, 560px); }
  .s3-panel { padding: 20px; }
  .s3-key { right: 12px; top: 10px; }
  .s3-drag { display: none; }
}

/* ---------- page furniture ---------- */
.mqx .sand { background: var(--sand); }
.mqx .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mqx .sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.mqx .sec-head h2 { margin-top: 12px; }
.mqx .site-nav nav a.cur { opacity: 1; box-shadow: 0 2px 0 var(--accent); }
.mqx .draft { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* hero: B's copy with C's photos seen through the MQX4 letters */
.hero2 { display: grid; grid-template-columns: 1.02fr .98fr; min-height: calc(100vh - 118px); align-items: center; gap: 40px; padding: 56px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); }
.hero2 h1 { font-size: clamp(42px, 5vw, 74px); line-height: 1; margin: 18px 0 24px; }
.hero2 .ticks { list-style: none; margin-top: 24px; display: grid; gap: 8px; font-weight: 600; }
.hero2 .ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.hero2 .cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.letters { position: relative; width: min(100%, 560px); aspect-ratio: 467.72 / 491.81; justify-self: center; }
.letters .mask { position: absolute; inset: 0; display: grid; grid-template-columns: 205fr 37fr 226fr; grid-template-rows: 236fr 26fr 230fr; -webkit-mask: url(../img/logo-dark.svg) center / contain no-repeat; mask: url(../img/logo-dark.svg) center / contain no-repeat; }
.letters .ph { overflow: hidden; background: #1b1b1b; }
.letters .ph:nth-child(1) { grid-area: 1 / 1 / 2 / 3; } .letters .ph:nth-child(2) { grid-area: 1 / 3 / 2 / 4; }
.letters .ph:nth-child(3) { grid-area: 2 / 1 / 4 / 2; } .letters .ph:nth-child(4) { grid-area: 2 / 2 / 4 / 4; }
.letters .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); animation: letters-pan 16s ease-in-out infinite alternate; }
.letters .ph:nth-child(2) img { animation-delay: -4s; } .letters .ph:nth-child(3) img { animation-delay: -8s; } .letters .ph:nth-child(4) img { animation-delay: -12s; }
@keyframes letters-pan { from { transform: scale(1.18) translate(-4%, -3%); } to { transform: scale(1.3) translate(4%, 3%); } }
.letters.in .mask { animation: letters-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes letters-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.intro { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 60; background: #111; cursor: pointer; }
.intro button { position: absolute; right: 16px; bottom: 14px; padding: 8px 16px; font-size: 14px; font-weight: 700; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.letters.lead { z-index: 61; will-change: transform; }

/* four pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,27,27,.1); }
.pillar .im { aspect-ratio: 4 / 3; overflow: hidden; }
.pillar .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pillar:hover .im img { transform: scale(1.05); }
.pillar .tx { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pillar .n { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pillar b { font-size: 22px; letter-spacing: -.01em; }
.pillar span.d { color: var(--muted); font-size: 15px; }
.pillar .go { margin-top: auto; padding-top: 12px; font-weight: 800; font-size: 14px; }

/* fitted suites */
.suites { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 12px; }
.suites figure { position: relative; overflow: hidden; border-radius: 14px; background: #ddd; }
.suites img { width: 100%; height: 100%; object-fit: cover; }
.suites figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.suite-h { margin: 28px 0 14px; font-size: 20px; } .suite-h:first-child { margin-top: 0; } .suite-h span { font-weight: 400; opacity: .6; margin-left: 6px; }
.reel { margin: 0; } .reel video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: #222; }

/* compare */
table.vs { width: 100%; border-collapse: collapse; font-size: 17px; background: #fff; border-radius: 16px; overflow: hidden; }
table.vs th, table.vs td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.vs tr:last-child td { border-bottom: 0; }
table.vs th { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
table.vs td:first-child { color: var(--muted); width: 22%; }
table.vs .us { color: var(--accent); font-weight: 700; }

/* floor space calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.calc .in { padding: 36px; }
.calc .out { padding: 36px; background: #1b1b1b; color: #fff; display: flex; flex-direction: column; }
.calc label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.calc .people { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.calc .people output { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; min-width: 1.9em; }
.calc input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
.calc .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.calc .seg button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 10px; text-align: left; color: inherit; }
.calc .seg button b { display: block; font-size: 15px; } .calc .seg button span { font-size: 13px; color: var(--muted); }
.calc .seg button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.calc .out .big { font-size: clamp(44px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin: 8px 0 6px; }
.calc .out .big small { font-size: .4em; font-weight: 700; letter-spacing: 0; }
.calc .out p { color: rgba(255,255,255,.7); font-size: 15px; }
.calc .fits { list-style: none; display: grid; gap: 8px; margin-top: 22px; }
.calc .fits button { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.16); color: #fff; border-radius: 12px; padding: 12px 14px; text-align: left; font-weight: 700; }
.calc .fits button:hover { border-color: var(--accent); }
.calc .fits .best { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 22%, transparent); }
.calc .fits small { display: block; font-weight: 600; font-size: 13px; color: rgba(255,255,255,.65); }
.calc .fits .go { color: var(--accent); white-space: nowrap; font-size: 14px; }
.calc .eyebrow + .big { margin-top: 10px; }

/* amenity cards */
.amen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.amen .c { background: #fff; border-radius: 16px; overflow: hidden; }
.amen .c img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.amen .c div { padding: 18px 20px 22px; }
.amen .c b { display: block; font-size: 18px; margin-bottom: 4px; }
.amen .c span { color: var(--muted); font-size: 15px; }

/* metro line: the stop the other way sits above MQX4 */
.line { display: grid; margin-top: 8px; }
.line .stn { display: grid; grid-template-columns: 34px 1fr auto; gap: 16px; align-items: center; padding: 15px 0; position: relative; }
.line .stn::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.line .stn:first-child::before { top: 50%; } .line .stn:last-child::before { bottom: 50%; }
.line .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--accent); position: relative; z-index: 1; margin-left: 8px; }
.line .stn.here .dot { width: 34px; height: 34px; margin-left: 0; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.line .stn b { display: block; font-size: 18px; } .line .stn .sub { display: block; font-size: 14px; color: var(--muted); }
.line .stn.here b { font-size: 22px; }
.line .min { font-weight: 800; font-size: 22px; white-space: nowrap; } .line .min small { font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 3px; }
.line .way { position: relative; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 0 4px 50px; }
.line .way::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 4px; background: var(--accent); }

/* ratings strip */
.rating { display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; }
.rating .v { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--accent); white-space: nowrap; }
.rating b { display: block; } .rating span { color: var(--muted); font-size: 15px; }

/* enquiry (dark) */
.mqx .dark { background: #1b1b1b; color: #fff; --fg:#fff; --muted:rgba(255,255,255,.7); --card:#262626; --line:rgba(255,255,255,.16); --field-bg:rgba(255,255,255,.05); }

/* back pages */
.page-hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,20,.82) 0%, rgba(20,20,20,.25) 55%, rgba(20,20,20,.1) 100%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 48px; }
.page-hero .eyebrow { color: #fff; opacity: .85; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 72px); margin: 12px 0 14px; max-width: 900px; }
.page-hero p { font-size: clamp(18px, 1.7vw, 22px); max-width: 640px; color: rgba(255,255,255,.88); }
.page-hero.plain { min-height: 0; color: inherit; } .page-hero.plain::after { display: none; } .page-hero.plain .wrap { padding-top: 84px; padding-bottom: 12px; }
.page-hero.plain .eyebrow { color: var(--accent); opacity: 1; } .page-hero.plain p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts .f { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.facts .f b { display: block; font-size: 20px; margin-bottom: 6px; } .facts .f span { color: var(--muted); font-size: 15px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.duo.cap figure { margin: 0; position: relative; }
.duo figcaption, .gal figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.duo figcaption i, .gal figcaption i { font-weight: 400; font-style: normal; opacity: .85; margin-left: 6px; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; background: #ddd; }
.gal img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .4s; }
.gal a:hover img { transform: scale(1.03); }
.certs { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; margin: 8px 0 24px; }
.certs img { height: 88px; width: auto; }
.certs img[src*=greenstar] { height: 46px; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.others a { display: block; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; background: #fff; font-weight: 800; }
.others a span { display: block; font-weight: 600; font-size: 14px; color: var(--muted); }
.others a:hover { border-color: var(--accent); }
table.sched { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 16px; }
table.sched th, table.sched td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
table.sched th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
table.sched tr:last-child td { border-bottom: 0; }
table.sched td.ar { font-weight: 800; white-space: nowrap; }
table.sched button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 700; color: inherit; white-space: nowrap; }
table.sched button:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; padding: 44px 20px; min-height: 0; }
  .hero2 .letters { width: min(78vw, 380px); order: -1; }
  .mqx .split, .mqx .sec-head, .calc, .duo { grid-template-columns: 1fr; gap: 24px; }
  .calc { gap: 0; } .calc .in, .calc .out { padding: 24px; }
  .pillars, .amen, .gal { grid-template-columns: 1fr 1fr; }
  .facts, .others { grid-template-columns: 1fr; }
  .suites { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .suites figure { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3; }
  table.vs { font-size: 15px; } table.vs th, table.vs td { padding: 14px; }
  table.sched { font-size: 14px; } table.sched th, table.sched td { padding: 12px; }
  table.sched .hide-sm { display: none; }
  .rating { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .calc .seg { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .letters .ph img, .letters.in .mask { animation: none; } .pillar, .pillar .im img { transition: none; } }

/* ---------- the full site (built by build.mjs into www/) ---------- */
body.full { --bar: 0px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #1b1b1b; color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.full .site-nav .brand { display: flex; }
.full .site-nav nav a.cur { opacity: 1; box-shadow: 0 2px 0 var(--accent); }
.menu-btn { display: none; margin-left: auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid currentColor; background: none; color: inherit; font-weight: 700; font-size: 14px; }
.crumbs { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.crumbs .wrap { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: .5; } .crumbs [aria-current] { color: var(--fg); font-weight: 700; }
.site-foot.full { padding: 64px 0 40px; }
.site-foot.full .cols { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 32px; align-items: start; }
.site-foot.full h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); margin-bottom: 12px; }
.site-foot.full ul { list-style: none; display: grid; gap: 7px; }
.site-foot.full a { text-decoration: none; } .site-foot.full a:hover { text-decoration: underline; color: var(--fg); }
.site-foot.full .about p { margin-top: 12px; }
.site-foot.full .legal { display: block; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.prose { max-width: 760px; font-size: 18px; }
.prose p + p { margin-top: 16px; } .prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 44px 0 14px; } .prose h3 { margin: 28px 0 8px; }
.prose ul { margin: 14px 0 0 20px; display: grid; gap: 6px; } .prose a { color: inherit; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card3 { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 20px 22px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; transition: border-color .15s, transform .15s; }
.card3:hover { border-color: var(--accent); transform: translateY(-2px); }
.card3 .n { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card3 b { font-size: 22px; letter-spacing: -.01em; } .card3 .ar { font-weight: 800; color: var(--accent); align-self: center; white-space: nowrap; }
.card3 .go { grid-column: 1 / -1; font-size: 14px; font-weight: 800; margin-top: 8px; }
dl.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
dl.keys div { background: #fff; padding: 20px 22px; } dl.keys dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
dl.keys dd { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-top: 4px; } dl.keys dd small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; } .faq details p { padding: 0 0 20px; color: var(--muted); max-width: 720px; } .faq details a { color: inherit; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.checks { list-style: none; display: grid; gap: 8px; margin-top: 18px; } .checks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.sched a { color: inherit; } .sched td a:not(:has(b)) { font-weight: 700; font-size: 14px; }
[data-stack3d]:not(.s3) { overflow-x: auto; }
[data-sched] { overflow-x: auto; border-radius: 16px; }
.facts.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .full .site-nav .btn { display: none; }
  .menu-btn { display: block; }
  .full .site-nav nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; font-size: 18px; }
  .full .site-nav nav a { padding: 12px 0; border-bottom: 1px solid var(--line); box-shadow: none !important; }
  .menu-open.full .site-nav nav { display: flex; }
  .site-foot.full .cols { grid-template-columns: 1fr 1fr; }
  .cards3 { grid-template-columns: 1fr; } dl.keys { grid-template-columns: 1fr 1fr; }
  .facts.c4 { grid-template-columns: 1fr; }
  table.sched button { padding: 6px 10px; font-size: 12px; }
  .prose { font-size: 17px; }
}

/* ---------- the guided enquiry (js/enquiry.js): a brief on the left, the building and the summary on the right ---------- */
.enq2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 28px; margin-top: 30px; align-items: start; }
.enq2 fieldset.q { border: 0; border-top: 1px solid var(--line); padding: 22px 0 24px; min-width: 0; }
.enq2 fieldset.q:first-child { border-top: 0; padding-top: 0; }
.enq2 legend { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.enq2 legend + * { clear: both; }
.enq2 legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; }
.enq2 fieldset.done legend span { background: #fff; color: var(--accent); }
.enq2 .hint { font-size: 14px; color: var(--muted); margin: -6px 0 14px; }
.enq2 .hc { display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: 12px; }
.enq2 .hc button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: none; color: inherit; font-size: 22px; font-weight: 700; line-height: 1; }
.enq2 .hc button:hover { border-color: var(--accent); }
.enq2 .hc output { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; min-width: 1.7em; text-align: center; }
.enq2 .hc-say { color: var(--muted); font-size: 15px; } .enq2 .hc-say b { color: var(--fg); }
.enq2 input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; margin-top: 10px; }
.enq2 .sp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.enq2 .sp button { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--field-bg); color: inherit; transition: border-color .15s, background .15s, transform .15s; }
.enq2 .sp button:hover { border-color: var(--accent); transform: translateY(-1px); }
.enq2 .sp b { font-size: 17px; } .enq2 .sp i { font-style: normal; font-weight: 800; color: var(--accent); white-space: nowrap; }
.enq2 .sp small { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.enq2 .sp em { display: none; grid-column: 1 / -1; justify-self: start; margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--fg); }
.enq2 .sp button.fits em { display: inline-block; }
.enq2 .sp button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.enq2 .sp button[aria-pressed="true"] i, .enq2 .sp button[aria-pressed="true"] small { color: #fff; }
.enq2 .sp button[aria-pressed="true"] em { background: rgba(255,255,255,.25); color: #fff; }
.enq2 .sp button[aria-pressed="true"]::after { content: "✓"; position: absolute; right: 14px; bottom: 10px; font-weight: 800; }
.enq2 .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.enq2 .chips + .chips { margin-top: 10px; }
.enq2 .chips button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--field-bg); color: inherit; font-weight: 700; font-size: 15px; transition: border-color .15s; }
.enq2 .chips button:hover { border-color: var(--accent); }
.enq2 .chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.enq2 .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enq2 .fields label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.enq2 .fields .full { grid-column: 1 / -1; }
.enq2 .fields input, .enq2 .fields textarea { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--field-bg); color: var(--fg); }
.enq2 .fields input:focus, .enq2 .fields textarea:focus { outline: 0; border-color: var(--accent); }
.enq2 .hp { position: absolute; left: -9999px; }
.enq2 .send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.enq2 .send .btn { padding: 16px 26px; font-size: 16px; border: 0; }
.enq2 .send .fine { flex-basis: 100%; margin: 0; font-size: 13px; opacity: .75; }
.enq2 .send .fine a, .site-foot .about a { color: inherit; text-decoration: underline; }
.enq2 .err { color: #ffb39f; font-weight: 700; font-size: 14px; }
.enq2 .brief { position: sticky; top: calc(var(--bar) + 92px); border-radius: 22px; background: var(--card); border: 1px solid var(--line); padding: 14px 14px 22px; }
.enq2 .brief > :not(.mini) { margin-left: 10px; margin-right: 10px; }
.enq2 .mini { display: block; margin-bottom: 18px; }
.s3.mini .s3-stage { min-height: 0; height: 280px; border-radius: 14px; border: 0; }
.enq2 .say { font-size: 19px; line-height: 1.45; margin-top: 10px; } .enq2 .say b { color: var(--accent); }
.enq2 .picked { list-style: none; display: grid; gap: 6px; margin-top: 16px; }
.enq2 .picked li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; font-size: 14px; padding: 8px 10px 8px 12px; border-radius: 10px; background: var(--field-bg); border: 1px solid var(--line); }
.enq2 .picked button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(127,127,127,.25); color: inherit; font-size: 15px; line-height: 1; }
.enq2 .to { font-size: 13px; color: var(--muted); margin-top: 16px; } .enq2 .to a { color: inherit; font-weight: 700; white-space: nowrap; }
.enq2.sent { display: block; }
.enq2 .thanks { border-radius: 22px; background: var(--card); border: 1.5px solid var(--accent); padding: 34px; max-width: 760px; }
.enq2 .thanks h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 16px; line-height: 1.15; }
@media (max-width: 900px) {
  .enq2 { grid-template-columns: 1fr; }
  .enq2 .brief { position: static; order: -1; }
  .s3.mini .s3-stage { height: 220px; }
  .enq2 .sp, .enq2 .fields { grid-template-columns: 1fr; }
  .enq2 .hc { grid-template-columns: auto auto auto; justify-content: start; } .enq2 .hc-say { grid-column: 1 / -1; }
  .enq2 .hc output { font-size: 44px; }
}
