/* MQX4 design review microsite: shared styles.
   Prototypes set their look with the variables in a.css, b.css and c.css. */
@font-face { font-family: Manrope; src: url(../fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #111111; --fg: #ffffff; --muted: rgba(255,255,255,.68); --line: rgba(255,255,255,.16);
  --card: #1b1b1b; --accent: #ff6444; --accent-fg: #ffffff; --accent2: #3828a5;
  --orange: #ff6444; --peach: #f9b099; --cyan: #00ffff; --green: #00c18e; --purple: #3828a5; --paper: #f6f3ee;
  --radius: 14px; --wrap: 1200px; --bar: 46px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 72px); }
body { font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--fg); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(32px, 4.2vw, 54px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
p.lead { font-size: clamp(18px, 1.7vw, 22px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.section { padding: 110px 0; }
.section.tight { padding: 70px 0; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-fg); }
.btn.ghost { border-color: currentColor; background: transparent; color: inherit; }
.tbc { display: inline-block; border: 1.5px dashed currentColor; border-radius: 6px; padding: 0 7px; font-size: .78em; font-weight: 700; opacity: .85; white-space: nowrap; }

/* ---------- review bar (prototype pages) ---------- */
.rv-bar { position: fixed; top: 0; left: 0; right: 0; height: var(--bar); z-index: 100; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: rgba(12,12,12,.94); color: #fff; font-size: 14px; backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.12); }
.rv-bar .rv-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.rv-bar .rv-brand img { height: 24px; }
.rv-bar .rv-title { color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-bar .rv-sp { flex: 1; }
.rv-bar button, .rv-bar a.rv-btn { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.rv-bar button.on { background: #ff6444; border-color: #ff6444; }
.rv-switch { display: flex; gap: 4px; }
.rv-switch a { padding: 6px 10px; border-radius: 8px; text-decoration: none; font-weight: 800; color: rgba(255,255,255,.7); }
.rv-switch a.cur { background: #fff; color: #111; }
body.proto { padding-top: var(--bar); }
.rv-drawer { position: fixed; right: 16px; top: calc(var(--bar) + 12px); width: min(420px, calc(100vw - 32px)); z-index: 101; background: #fff; color: #111; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 20px; display: none; }
.rv-drawer.open { display: block; }
.rv-drawer h4 { font-size: 17px; margin-bottom: 4px; }
.rv-drawer p { font-size: 14px; color: #555; margin-bottom: 10px; }
.rv-drawer textarea, .fb textarea, .fb input[type=text] { width: 100%; min-height: 120px; border: 1.5px solid #d8d4cc; border-radius: 10px; padding: 12px; font: inherit; font-size: 15px; resize: vertical; background: #fff; color: #111; }
.rv-drawer .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: #666; }
.rv-drawer .row button { background: #111; color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 700; }
.rv-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #111; color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; z-index: 120; opacity: 0; transition: opacity .2s; pointer-events: none; border: 1px solid rgba(255,255,255,.2); }
.rv-toast.show { opacity: 1; }
.rv-menu { position: fixed; top: calc(var(--bar) + 8px); right: 16px; z-index: 101; width: min(330px, calc(100vw - 32px)); background: #fff; color: #111; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 10px; display: none; }
.rv-menu.open { display: block; }
.rv-menu p { font-size: 13px; color: #666; padding: 6px 8px 8px; line-height: 1.45; }
.rv-menu button { display: flex; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 10px 8px; font: inherit; font-size: 15px; font-weight: 600; color: #111; cursor: pointer; }
.rv-menu button:hover { background: #f1eee8; }
.rv-menu button b { width: 16px; color: #999; }
.rv-menu button.cur { background: #111; color: #fff; }
.rv-menu button.cur b { color: #ff6444; }

/* ---------- logo animation opening (prototype pages) ---------- */
html.op-pre::after { content: ""; position: fixed; top: var(--bar); left: 0; right: 0; bottom: 0; background: #111; z-index: 89; animation: op-pre-fail 0s linear 3s forwards; }
@keyframes op-pre-fail { to { visibility: hidden; } } /* never leave the page covered if the script fails */
html.op-on .site-nav .logo { visibility: hidden; }
.op { position: fixed; top: var(--bar); left: 0; right: 0; bottom: 0; z-index: 90; background: #111; color: #fff; }
.op video { display: block; width: 100%; height: 100%; object-fit: contain; background: #111; }
.op-cap { position: absolute; left: 20px; bottom: 20px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.55); }
.op-skip, .op-play { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.op-skip { right: 16px; bottom: 14px; padding: 8px 16px; font-size: 14px; }
.op-play { left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 24px; font-size: 16px; display: none; }
.op.blocked .op-play { display: block; }
.op-logo { position: fixed; z-index: 91; transform-origin: 0 0; pointer-events: none; }
.op-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- prototype site chrome ---------- */
.site-nav { position: sticky; top: var(--bar); z-index: 50; background: var(--nav-bg, var(--bg)); color: var(--nav-fg, var(--fg)); border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }
.site-nav .logo { height: 40px; }
.site-nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600; }
.site-nav nav a { text-decoration: none; opacity: .85; }
.site-nav nav a:hover { opacity: 1; }
.site-nav .btn { padding: 10px 18px; }
.site-foot { padding: 60px 0 80px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.site-foot img { height: 56px; }

/* stack plan */
.stack { display: grid; gap: 8px; }
.stack .fl { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 16px; min-height: 52px; padding: 0 14px 0 0; border-radius: 10px; background: var(--fl-bg, rgba(255,255,255,.06)); border: 1.5px solid transparent; text-align: left; color: inherit; width: 100%; }
.stack .fl .lv { align-self: stretch; display: grid; place-items: center; font-weight: 800; border-radius: 9px 0 0 9px; background: var(--fl-lv, rgba(255,255,255,.12)); }
.stack .fl .tn { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: calc(8 * var(--u)) 0; }
.stack .fl .tn.txt { white-space: normal; line-height: 1.35; }
/* tenant logos: --u scales chips and logos together (rows, floor card, phones) */
.stack, .floor-card { --u: 1px; }
.floor-card { --u: 1.4px; }
.lgs { display: flex; flex-wrap: wrap; align-items: center; gap: calc(6 * var(--u)); white-space: normal; }
.lg { flex: none; display: inline-flex; align-items: center; justify-content: center; height: calc(36 * var(--u)); padding: 0 calc(10 * var(--u)); border-radius: calc(7 * var(--u)); background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lg img { display: block; height: calc(var(--h) * var(--u)); width: calc(var(--h) * var(--ar) * var(--u)); }
.lg.solid { padding: 0; overflow: hidden; box-shadow: none; }
.lg.tx { font-size: calc(13 * var(--u)); font-weight: 800; letter-spacing: .06em; color: #1b1b1b; }
.floor-card .lgs { margin: 16px 0 14px; }
.stack .fl .st-s { display: none; }
.stack .fl .st { font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: var(--fl-pill, rgba(255,255,255,.14)); white-space: nowrap; }
.stack .fl.av { border-color: var(--accent); background: var(--fl-av-bg, transparent); }
.stack .fl.av .lv { background: var(--accent); color: var(--accent-fg); }
.stack .fl.av .st { background: var(--accent); color: var(--accent-fg); }
.stack .fl.sel { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.stack-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.floor-card { border-radius: var(--radius); padding: 26px; background: var(--card); border: 1px solid var(--line); position: sticky; top: calc(var(--bar) + 96px); }
.floor-card h3 { font-size: 26px; margin: 6px 0 12px; }
.floor-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15px; margin: 14px 0 20px; }
.floor-card dt { color: var(--muted); }
.sample-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* metro */
.metro { display: grid; gap: 0; margin-top: 28px; }
.metro .stn { display: grid; grid-template-columns: 30px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; position: relative; }
.metro .stn::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.metro .stn:first-child::before { top: 50%; } .metro .stn:last-child::before { bottom: 50%; }
.metro .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--accent); position: relative; z-index: 1; margin-left: 6px; }
.metro .stn.here .dot { background: var(--accent); width: 26px; height: 26px; margin-left: 2px; }
.metro .min { font-weight: 800; font-size: 20px; }

/* team + enquiry */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.team .p { border-radius: var(--radius); padding: 22px; background: var(--card); border: 1px solid var(--line); }
.team .p b { display: block; font-size: 18px; }
.team .p span { display: block; color: var(--muted); font-size: 14px; }
.team .p a { display: block; margin-top: 10px; font-weight: 700; text-decoration: none; }
.enq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.enq label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.enq input, .enq select, .enq textarea { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--field-bg, rgba(255,255,255,.04)); color: inherit; }
.enq .full { grid-column: 1 / -1; }
.enq .done { grid-column: 1 / -1; padding: 16px; border-radius: 10px; background: var(--card); border: 1.5px dashed var(--accent); display: none; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 34px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 12px; background: #222; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.video-slot { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; position: relative; }
.video-slot video { width: 100%; height: 100%; object-fit: cover; }
.video-slot .note { position: absolute; left: 14px; top: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.6); color: #fff; padding: 6px 10px; border-radius: 999px; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .site-nav nav { display: none; }
  .stack-wrap, .team, .enq { grid-template-columns: 1fr; }
  .stack { --u: .8px; }
  .floor-card { --u: 1.1px; position: static; }
  .rv-bar .rv-title { display: none; }
  .rv-switch a { padding: 6px 8px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .stack .fl { grid-template-columns: 46px 1fr auto; gap: 10px; padding-right: 10px; }
  .stack .fl .st-l { display: none; }
  .stack .fl .st-s { display: inline; }
}
@media (max-width: 560px) { .rv-bar .rv-hide-sm { display: none; } .wrap { padding: 0 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
