/* ==========================================================================
   Meltwater — livemeltwater.ca  ·  design system v2 (2026-10 mockup)
   Brand: #0A1832 ink · #1A3D63 navy · #4A7FA7 water · #B3CFE5 ice · #F6FAFD snow
   ========================================================================== */
:root {
  --ink: #111111;
  --ink-2: #1C1C1C;
  --navy: #B04A17;
  --water: #E8622A;
  --ice: #FF7A3D;
  --snow: #F4F4F2;
  --paper: #FFFFFF;
  --paper-2: #F0F0ED;
  --sand: #E6E4DF;
  --ember: #FF7A3D;
  --meadow: #6E9A6A;
  --line: rgb(var(--ink-rgb) / .12);
  --line-2: rgb(var(--ink-rgb) / .07);
  --muted: #5C5C5C;
  --on-dark: #EDEDED;
  --on-dark-muted: #A6A6A6;
  --ink-rgb: 17 17 17;
  --paper-rgb: 255 255 255;
  --map-bg: #F2F1EE;
  --map-bg-2: #F1F0EC;

  /* Agam Ember extras (were preview-only in palettes.css) */
  --field: #F2F2F0; --done: #FFFFFF;
  --contour: #111111; --contour-op: .13; --contour-dark: #FF7A3D; --contour-dark-op: .2;
  --logo-c: #111111;

  /* product colours (match the print marketing plans) */
  --p22: #F8E5A4; --p24: #F6CC9F; --p26: #F3B7C3; --p28: #EBA096; --p30: #B7D3EE;
  --ps18: #DDD4F2; --ps20: #C6B9E8; --pth: #B5E0D1;

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(3rem, 1.4rem + 5.6vw, 7rem);
  --fs-h2: clamp(2.35rem, 1.45rem + 3.1vw, 4.6rem);
  --fs-h3: clamp(1.45rem, 1.15rem + .9vw, 2rem);
  --fs-lead: clamp(1.08rem, 1rem + .35vw, 1.3rem);
  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 12px;
  --shadow-1: 0 1px 2px rgb(var(--ink-rgb) / .06), 0 8px 24px -12px rgb(var(--ink-rgb) / .18);
  --shadow-2: 0 2px 6px rgb(var(--ink-rgb) / .06), 0 30px 60px -28px rgb(var(--ink-rgb) / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 9vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--snow); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; opacity: .55; }
.on-dark .eyebrow { color: var(--ice); }
h1, h2, h3 { margin: 0; font-weight: 400; }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: .98; }
.display em, .italic { font-style: italic; }
h2.display { font-size: var(--fs-h2); line-height: 1.02; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 40ch; }
.on-dark .lead { color: var(--on-dark-muted); }
.on-dark { color: var(--snow); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.55em; border-radius: 999px; border: 1.5px solid transparent;
  font: 650 .98rem/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--snow); box-shadow: 0 10px 24px -14px rgb(var(--ink-rgb) / .7); }
.btn-ink:hover { background: var(--navy); }
.btn-line { border-color: rgb(var(--ink-rgb) / .22); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: rgb(var(--ink-rgb) / .04); }
.btn-ice { background: var(--ice); color: var(--ink); }
.btn-ice:hover { background: var(--snow); }
.btn-ghost-light { border-color: rgba(220,232,243,.32); color: var(--snow); }
.btn-ghost-light:hover { border-color: var(--snow); background: rgba(246,250,253,.06); }
.btn-sm { min-height: 42px; padding: 0 1.15em; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; color: var(--navy); }
.link-arrow:hover { color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ----------------------------------------------------------------- status bar + header */
.statusbar { position: relative; z-index: 60; background: var(--ink); color: var(--on-dark); font-size: .86rem; }
.statusbar .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; text-align: center; }
.statusbar a { color: var(--snow); font-weight: 650; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; white-space: nowrap; }
.statusbar a:hover { color: var(--ice); }
.pulse { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ember); }
.pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ember); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.statusbar .sb-sub { color: var(--on-dark-muted); }

.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s; }
.site-header.scrolled { background: rgb(var(--paper-rgb) / .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand img { height: 30px; width: auto; filter: brightness(0); }   /* Meltwater wordmark in black (Agam Ember) */
.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: rgb(var(--ink-rgb) / .78); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 7vw, 112px); overflow: hidden; }
.hero-media .contours { position: absolute; z-index: -1; left: 50%; top: 50%; width: 250%; transform: translate(-42%, -45%); opacity: var(--contour-op, .5); pointer-events: none; color: var(--contour, var(--water));
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 96%); mask-image: radial-gradient(closest-side, #000 30%, transparent 96%); }
.contours path { vector-effect: non-scaling-stroke; }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3.2vw, 56px); align-items: center; }
.hero-copy { grid-column: 1 / span 7; padding-top: clamp(8px, 2vw, 32px); }
.hero h1 { font-size: var(--fs-h1); margin-top: 26px; }
.hero h1 em { color: var(--water); }
.hero .lead { margin-top: 28px; max-width: 34ch; font-size: clamp(1.12rem, 1rem + .45vw, 1.36rem); }
.hero-ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 clamp(22px, 3vw, 48px); }
.hero-proof li { padding-left: 16px; border-left: 1.5px solid var(--line); }
.hero-proof b { display: block; font: 400 clamp(2rem, 1.6rem + 1.2vw, 2.9rem)/1 var(--serif); letter-spacing: -.01em; }
.hero-proof span { display: block; margin-top: 8px; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.hero-media { grid-column: 8 / span 5; position: relative; z-index: 0; }
.hero-photo { position: relative; aspect-ratio: 4 / 5.1; border-radius: 200px 200px var(--radius-l) var(--radius-l); overflow: hidden; box-shadow: var(--shadow-2); background: var(--paper-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translateY(-1.5%); } }
.hero-photo figcaption { position: absolute; right: 18px; top: 46%; transform: rotate(90deg) translateX(50%); transform-origin: right top; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(0,0,0,.35); white-space: nowrap; }
.open-card {
  position: absolute; left: clamp(-56px, -3vw, -20px); bottom: 36px; width: min(320px, 86%);
  background: rgba(246,250,253,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-m); padding: 20px 22px; box-shadow: var(--shadow-2);
}
.open-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.open-pill i { width: 9px; height: 9px; border-radius: 50%; background: #9AA6B4; }
.open-pill.is-open i { background: #2FA86B; box-shadow: 0 0 0 4px rgba(47,168,107,.16); }
.open-card h3 { margin-top: 10px; font: 650 1.05rem/1.3 var(--sans); }
.open-card p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.open-card .hours { display: flex; gap: 14px; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.open-card .hours b { color: var(--ink); font-weight: 650; display: block; font-size: .86rem; }
.open-card a { margin-top: 14px; }
.seal { position: absolute; right: -14px; top: 38px; width: 132px; height: 132px; color: var(--ink); }
.seal svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal .core { position: absolute; inset: 30px; border-radius: 50%; background: var(--ink); color: var(--snow); display: grid; place-items: center; text-align: center; font: 700 .68rem/1.15 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.seal .core b { display: block; font: 400 1.5rem/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ice); }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero v3: headline row above a wide arched photo of the showhome row */
.hero-head { position: relative; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
.hero-head .hero-copy { grid-column: auto; padding-top: 0; }
.hero-head h1 { font-size: clamp(3rem, 1.5rem + 4.3vw, 6rem); }
.hero-side .lead { margin-top: 0; max-width: 40ch; font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); }
.hero-side .hero-ctas { margin-top: 26px; }
.hero-side .hero-ctas .btn { flex: 1 1 auto; }
.hero-stage { position: relative; z-index: 0; margin-top: clamp(36px, 4.5vw, 64px); }
.hero-stage .contours { position: absolute; z-index: -1; left: 50%; top: 62%; width: 128%; transform: translate(-50%, -50%); opacity: var(--contour-op, .3); pointer-events: none; color: var(--contour, var(--water));
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); }
.hero-stage .hero-photo { aspect-ratio: 2.6 / 1; border-radius: 50% 50% var(--radius-l) var(--radius-l) / 24% 24% var(--radius-l) var(--radius-l); }
.hero-stage .hero-photo img { object-position: 50% 55%; }
.hero-stage .open-card { left: clamp(16px, 3vw, 40px); bottom: -44px; width: min(340px, 86%); }
.hero-stage .seal { right: clamp(12px, 4vw, 64px); top: -34px; }
.hero > .wrap > .hero-proof { justify-content: end; margin-top: clamp(28px, 3vw, 44px); }

/* ----------------------------------------------------------------- release (dark) */
.release { position: relative; background: var(--ink); color: var(--snow); padding: var(--section) 0; overflow: hidden; }
.release .contours { position: absolute; right: -12%; top: -18%; width: 70%; opacity: var(--contour-dark-op, .14); color: var(--contour-dark, var(--ice)); pointer-events: none; }
.release-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 5vw, 88px); align-items: center; }
.release h2 { margin-top: 22px; }
.release h2 em { color: var(--ice); }
.release .lead { margin-top: 22px; max-width: 44ch; }
.big-stat { display: flex; align-items: baseline; gap: 18px; margin-top: 40px; }
.big-stat b { font: 400 clamp(4.4rem, 3rem + 5vw, 8.4rem)/.8 var(--serif); letter-spacing: -.02em; }
.big-stat span { font-size: 1rem; line-height: 1.4; color: var(--on-dark-muted); max-width: 16ch; }
.mixbar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin-top: 30px; background: rgba(255,255,255,.08); }
.mixbar span { display: block; height: 100%; }
.mixbar span + span { box-shadow: -2px 0 0 var(--ink); }
.mixlegend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 10px 22px; justify-content: start; font-size: .88rem; color: var(--on-dark-muted); }
.mixlegend li { display: flex; align-items: center; gap: 9px; }
.mixlegend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.mixlegend b { color: var(--snow); font-weight: 700; }
.release-ctas { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 12px; }
.release-map { position: relative; border-radius: var(--radius-l); background: var(--map-bg); padding: 10px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.release-map svg { display: block; width: 100%; height: auto; border-radius: calc(var(--radius-l) - 8px); }
.release-map .badge { position: absolute; left: 22px; top: 22px; background: var(--ink); color: var(--snow); border-radius: 999px; padding: 9px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; }
.release-map .key { position: absolute; right: 22px; bottom: 20px; display: flex; gap: 8px; }
.release-map .key span { background: rgb(var(--ink-rgb) / .86); color: var(--snow); border-radius: 999px; padding: 6px 12px; font-size: .74rem; font-weight: 700; }

/* ----------------------------------------------------------------- intro / figures */
.intro { padding: var(--section) 0 calc(var(--section) * .7); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.intro-statement { font: 400 clamp(1.9rem, 1.2rem + 2.4vw, 3.5rem)/1.16 var(--serif); letter-spacing: -.01em; max-width: 26ch; margin-top: 26px; }
.intro-statement em { color: var(--water); }
.figures { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.figures li { padding: 24px 20px 26px 0; border-top: 1px solid var(--line); }
.figures li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.figures b { display: block; font: 400 clamp(2.6rem, 2rem + 2vw, 4rem)/1 var(--serif); }
.figures span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.45; max-width: 22ch; }

/* ----------------------------------------------------------------- interactive map */
.map-section { padding: calc(var(--section) * .6) 0 var(--section); }
.map-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.map-head .lead { margin-top: 18px; }
.map-shell { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; }
.map-stage { position: relative; height: min(78vh, 820px); min-height: 520px; border-radius: var(--radius-l); overflow: hidden; background: var(--map-bg); border: 1px solid var(--line); box-shadow: var(--shadow-1); touch-action: pan-y; }
.map-stage.zoomed { touch-action: none; }
.map-stage svg { width: 100%; height: 100%; cursor: grab; user-select: none; -webkit-user-select: none; }
.map-stage.dragging svg { cursor: grabbing; }
.map-toolbar { position: absolute; left: 16px; top: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.map-toolbar > * { pointer-events: auto; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(246,250,253,.94); backdrop-filter: blur(8px); font-weight: 650; font-size: .86rem; cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { border-color: rgb(var(--ink-rgb) / .35); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
.zoom { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(246,250,253,.95); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.zoom button { width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.zoom button + button { border-top: 1px solid var(--line); }
.zoom button:hover { background: rgb(var(--ink-rgb) / .05); }
.zoom svg { width: 18px; height: 18px; }
.map-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgb(var(--ink-rgb) / .86); color: var(--snow); font-size: .82rem; padding: 8px 14px; border-radius: 999px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.map-hint.show { opacity: 1; }
.tip { position: absolute; z-index: 5; pointer-events: none; min-width: 210px; background: var(--ink); color: var(--snow); border-radius: 14px; padding: 12px 14px; font-size: .84rem; line-height: 1.45; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.tip.show { opacity: 1; transform: none; }
.tip b { font-size: .98rem; }
.tip .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.map-panel { border-radius: var(--radius-l); background: var(--snow); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.panel-block h3 { font: 700 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legend button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: .9rem; text-align: left; }
.legend button:hover { background: rgb(var(--ink-rgb) / .05); }
.legend button[aria-pressed="true"] { background: rgb(var(--ink-rgb) / .08); font-weight: 700; }
.legend i { width: 18px; height: 14px; border-radius: 4px; flex: none; border: 1px solid rgb(var(--ink-rgb) / .08); }
.legend .n { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .84rem; }
.legend .zl { background-image: repeating-linear-gradient(135deg, rgba(26,61,99,.35) 0 1.2px, transparent 1.2px 4px); background-color: var(--p22); }
.info-card { border-radius: var(--radius-m); background: var(--paper); padding: 18px; }
.info-card .k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.info-card .t { font: 400 1.9rem/1.05 var(--serif); margin-top: 8px; }
.info-card .s { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.info-card dl { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.info-card dt { color: var(--muted); }
.info-card dd { margin: 0; font-weight: 650; text-align: right; }
.status-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(224,116,69,.12); color: #A2431A; }
.status-tag.neutral { background: rgb(var(--ink-rgb) / .07); color: var(--navy); }
.map-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }

/* map svg styling */
.mwg .m-bg { fill: var(--map-bg-2); }
.mwg .m-road { fill: #FFFFFF; stroke: #E2D9C8; stroke-width: .8; }
.mwg .m-green { fill: #D3E8C6; }
.mwg .m-nat { fill: #BEDCAE; }
.mwg .m-school { fill: #DAEDCF; }
.mwg .m-water { fill: #A9D4EF; stroke: #8EC3E4; stroke-width: 1.2; }
.mwg .m-wet { fill: #CFE7F2; stroke: #A7D2E8; stroke-width: 1; stroke-dasharray: 4 3; }
.mwg .m-sup { fill: #F7EFDF; stroke: #E0D2B8; stroke-width: .5; }
.mwg .m-field { fill: #E7F4DE; stroke: #FFFFFF; stroke-width: 1.4; }
.mwg .m-skin { fill: #E9D5B3; }
.mwg .m-park { fill: #E2E6EA; }
.mwg .m-play { fill: #EAD8BC; }
.mwg .m-bld { fill: #FFFFFF; stroke: #8F9EAE; stroke-width: 1.1; }
.mwg .m-trees circle { fill: #A9D59A; stroke: #8FC481; stroke-width: .6; }
.mwg .lot { stroke: #FFFFFF; stroke-width: .9; cursor: pointer; }
.mwg .lot.pFD22 { fill: var(--p22); } .mwg .lot.pFD24 { fill: var(--p24); } .mwg .lot.pFD26 { fill: var(--p26); }
.mwg .lot.pFD28 { fill: var(--p28); } .mwg .lot.pFD30 { fill: var(--p30); }
.mwg .lot.pSEMI18 { fill: var(--ps18); } .mwg .lot.pSEMI20 { fill: var(--ps20); } .mwg .lot.pTH { fill: var(--pth); }
.mwg .lot:hover, .mwg .lot.sel { filter: brightness(.9) saturate(1.25); stroke: var(--ink); stroke-width: 1.4; }
.mwg .lot.sel { stroke-width: 2.2; }
.mwg .zh { fill: url(#zll-hatch); pointer-events: none; }
.mwg .stage { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; opacity: var(--stageop, .85); pointer-events: none; }
.mwg .st3A, .mwg .st4A, .mwg .st4B { stroke: var(--ember); stroke-width: 2.6; stroke-dasharray: 9 6; animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -30; } }
.mw-map text { font-family: var(--sans); pointer-events: none; }
.mwg .t-street { fill: #7A8797; font-weight: 700; letter-spacing: 2.2px; text-anchor: middle; paint-order: stroke; stroke: #FFFFFF; stroke-width: 3px; }
.mwg .t-area { fill: #A99D86; font-weight: 800; letter-spacing: 3px; text-anchor: middle; }
.mwg .t-water { fill: #FFFFFF; font-weight: 800; letter-spacing: 3px; text-anchor: middle; }
.mwg .t-green { fill: #4F8746; font-weight: 800; letter-spacing: 3px; text-anchor: middle; }
.mwg .t-school { fill: var(--navy); font-weight: 800; letter-spacing: 1.6px; text-anchor: middle; paint-order: stroke; stroke: #FFFFFF; stroke-width: 3px; }
.mwg .ln { display: var(--ln, none); font-size: 5.2px; font-weight: 800; fill: var(--ink); text-anchor: middle; }
.mwg .tag rect { fill: var(--ink); }
.mwg .tag text { fill: #FFFFFF; font-size: 15px; font-weight: 800; letter-spacing: 1.4px; text-anchor: middle; text-transform: uppercase; }
.mwg .tg3A rect, .mwg .tg4A rect, .mwg .tg4B rect { fill: var(--ember); }
.mwg .m-tags { opacity: var(--tagop, 1); transition: opacity .3s; }
.mwg .m-rev, .mwg .m-keys { display: none; }
.mwg .poi circle { fill: var(--ink); stroke: #FFFFFF; stroke-width: 2.5; }
.mwg .poi path { fill: none; stroke: #FFFFFF; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mwg .poi-shop circle { fill: var(--ember); }
.mwg .t-shop { fill: #9A6A4E; }
/* stage + product filters: inherited custom properties (--o1A.., --oFD22.., --oZ) set on the map <svg> or a <use> copy */
.mwg .lot, .mwg .zh, .mwg .ln { opacity: calc(var(--os, 1) * max(var(--op, 1), var(--oz, 0), var(--of, 0))); transition: opacity .3s var(--ease), filter .2s; }
.mwg .s1A { --os: var(--o1A, 1); } .mwg .s1B { --os: var(--o1B, 1); } .mwg .s2 { --os: var(--o2, 1); }
.mwg .s3A { --os: var(--o3A, 1); } .mwg .s4A { --os: var(--o4A, 1); } .mwg .s4B { --os: var(--o4B, 1); }
.mwg .pFD22 { --op: var(--oFD22, 1); } .mwg .pFD24 { --op: var(--oFD24, 1); } .mwg .pFD26 { --op: var(--oFD26, 1); }
.mwg .pFD28 { --op: var(--oFD28, 1); } .mwg .pFD30 { --op: var(--oFD30, 1); } .mwg .pSEMI18 { --op: var(--oSEMI18, 1); }
.mwg .pSEMI20 { --op: var(--oSEMI20, 1); } .mwg .pTH { --op: var(--oTH, 1); }
.mwg .z { --oz: var(--oZ, 0); }
.mwg .fpond { --of: var(--oPOND, 0); } .mwg .fpie { --of: var(--oPIE, 0); }
.release-map > a { display: block; border-radius: calc(var(--radius-l) - 8px); overflow: hidden; }
.release-map svg { transition: transform .9s var(--ease); }
.release-map > a:hover svg { transform: scale(1.02); }

/* ----------------------------------------------------------------- life at meltwater (bento) */
.life { padding: var(--section) 0; background: var(--snow); }
.bento { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--paper); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.tile .tile-body { padding: clamp(22px, 2.4vw, 32px); position: relative; z-index: 2; }
.tile h3 { font: 400 var(--fs-h3)/1.1 var(--serif); }
.tile p { margin: 10px 0 0; color: var(--muted); font-size: .98rem; max-width: 40ch; }
.tile .tag-mini { display: inline-block; margin-bottom: 14px; font: 700 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.t-pond { grid-column: span 7; grid-row: span 2; background: #E3F0DA; }
.t-pond svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.t-pond .tile-body { margin-top: auto; background: linear-gradient(180deg, rgba(227,240,218,0) 0%, rgba(227,240,218,.92) 32%); padding-top: 70px; }
.t-school { grid-column: span 5; background: #EAF2E3; }
.t-shops { grid-column: span 5; background: #F1ECE2; }
.t-school svg, .t-shops svg { width: 100%; height: 190px; display: block; }
.tile.t-third { grid-column: span 4; }
.t-sand { background: var(--sand); }
.t-sand .tile-body { margin-top: auto; }
.tile-stat { padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px) 0; font: 400 clamp(2.6rem, 2rem + 2vw, 3.8rem)/1 var(--serif); letter-spacing: -.01em; }
.tile-stat small { display: block; margin-top: 8px; font: 600 .82rem/1.3 var(--sans); letter-spacing: .02em; color: var(--muted); }
.t-photo { grid-column: span 5; color: var(--snow); min-height: 300px; }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.t-photo:hover img { transform: scale(1.04); }
.t-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0) 35%, rgb(var(--ink-rgb) / .82) 100%); }
.t-photo .tile-body { margin-top: auto; }
.t-photo p { color: rgba(246,250,253,.86); }
.t-photo .tag-mini { color: var(--ice); }
.t-wide { grid-column: span 6; }
.t-ink { background: var(--ink); color: var(--snow); }
.t-ink p { color: var(--on-dark-muted); }
.t-ink .tag-mini { color: var(--ice); }
.icon-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.icon-row span { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 650; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.icon-row svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------- showhomes */
.showhomes { padding: var(--section) 0; }
.sh-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.visit-card { border-radius: var(--radius-l); background: var(--ink); color: var(--snow); padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; }
.visit-card .addr { font: 400 1.6rem/1.15 var(--serif); }
.visit-card .addr small { display: block; margin-top: 6px; font: 500 .9rem/1.4 var(--sans); color: var(--on-dark-muted); }
.visit-card .hours { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.visit-card .hours div + div { border-left: 1px solid rgba(255,255,255,.12); padding-left: 16px; }
.visit-card .hours span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.visit-card .hours b { display: block; margin-top: 4px; font-weight: 650; }
.visit-card .hours .closed b { color: var(--on-dark-muted); font-weight: 500; }
.builders { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bcard { border-radius: var(--radius-l); background: var(--snow); border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.bcard .ph { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.bcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bcard:hover .ph img { transform: scale(1.05); }
.bcard .logo { position: absolute; left: 14px; bottom: 14px; height: 60px; min-width: 116px; padding: 8px 14px; border-radius: 14px; background: #FFFFFF; display: grid; place-items: center; box-shadow: var(--shadow-1); }
.bcard .logo img { max-height: 44px; max-width: 120px; object-fit: contain; }
.bcard .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bcard h3 { font: 650 1.12rem/1.2 var(--sans); }
.bcard p { margin: 0; color: var(--muted); font-size: .92rem; }
.bcard .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- builders (B2B) */
.b2b { position: relative; background: var(--ink-2); color: var(--snow); padding: var(--section) 0; overflow: hidden; }
.b2b-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 88px); align-items: start; }
.b2b h2 em { color: var(--ice); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1.5px; background: rgba(255,255,255,.14); }
.timeline li { position: relative; padding: 0 0 26px 38px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-2); border: 2px solid rgba(255,255,255,.35); }
.timeline li.done::before { background: var(--done, var(--ice)); border-color: var(--done, var(--ice)); }
.timeline li.now::before { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 6px rgba(224,116,69,.18); }
.timeline b { display: block; font-weight: 700; }
.timeline span { color: var(--on-dark-muted); font-size: .94rem; }
.lot-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .92rem; }
.lot-table th { text-align: left; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; padding: 0 0 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.lot-table td { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
.lot-table td:first-child { font: 400 1.6rem/1 var(--serif); width: 72px; }
.lot-table td.num { font-weight: 700; width: 60px; }
.lot-table .mix { color: var(--on-dark-muted); }
.lot-table .mix i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.b2b-photo { margin-top: 28px; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.b2b-photo img { width: 100%; height: 100%; object-fit: cover; }
.b2b-photo figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .78rem; background: rgb(var(--ink-rgb) / .7); padding: 6px 12px; border-radius: 999px; }

/* ----------------------------------------------------------------- location */
.location { padding: var(--section) 0; }
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.loc-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.loc-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.loc-list .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--snow); border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); }
.loc-list .ic svg { width: 20px; height: 20px; }
.loc-list b { display: block; font-weight: 700; }
.loc-list span { color: var(--muted); font-size: .94rem; }
.loc-img { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-2); }

/* ----------------------------------------------------------------- contact */
.contact { padding: var(--section) 0; background: var(--snow); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 88px); }
.contact-aside .lead { margin-top: 20px; }
.contact-points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact-points a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 650; }
.contact-points .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.contact-points svg { width: 19px; height: 19px; }
.form { border-radius: var(--radius-l); background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; background: var(--field, var(--paper)); border-radius: 999px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; justify-content: center; align-items: center; min-height: 44px; border-radius: 999px; font-weight: 650; font-size: .9rem; color: var(--muted); transition: all .2s var(--ease); text-align: center; padding: 0 8px; }
.seg input:checked + span { background: var(--ink); color: var(--snow); }
.seg input:focus-visible + span { outline: 2.5px solid var(--ember); outline-offset: 2px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .84rem; font-weight: 650; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--field, var(--paper)); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--water); background: #FFFFFF; }
.checks { display: flex; gap: 8px; flex-wrap: wrap; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--field, var(--paper)); font-weight: 600; font-size: .9rem; cursor: pointer; }
.builder-only { display: none; }
.form[data-aud="builder"] .builder-only { display: grid; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot p { margin: 0; font-size: .8rem; color: var(--muted); max-width: 40ch; }
.form-status { display: none; border-radius: 12px; padding: 12px 16px; font-size: .9rem; }
.form-status.ok { display: block; background: #E6F4EC; color: #1E6B44; }
.form-status.err { display: block; background: #FBE9E5; color: #9A3412; }

/* ----------------------------------------------------------------- footer */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(64px, 7vw, 104px) 0 32px; font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .tagline { font: 400 clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem)/1.1 var(--serif); color: var(--snow); margin-top: 26px; max-width: 16ch; }
.footer h4 { margin: 0 0 16px; font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--snow); }
.footer .hrs li { display: flex; justify-content: space-between; gap: 16px; max-width: 220px; }
.footer .hrs b { color: var(--snow); font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--snow); }
.socials a:hover { background: rgba(255,255,255,.16); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .8rem; }
.agam { display: inline-flex; align-items: center; gap: 12px; }
.agam img { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

/* ----------------------------------------------------------------- mobile action bar */
.mobile-bar { display: none; }

/* ----------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ----------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .header-actions .btn-line { display: none; }
  .nav { gap: 22px; }
  .map-shell { grid-template-columns: 1fr; }
  .map-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .builders { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav, .header-actions .btn-line { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .release-grid, .sh-head, .b2b-grid, .loc-grid, .contact-grid, .intro-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-media { grid-column: 1 / -1; }
  .hero-media { max-width: 560px; margin: 8px auto 0; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-pond { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .t-school, .t-shops, .t-photo, .t-wide, .tile.t-third { grid-column: span 1; }
  .tile.t-ink.t-third { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .statusbar .sb-sub { display: none; }
  .header-actions .btn-ink { display: none; }
  .hero-proof { grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
  .hero-proof li { padding-left: 10px; }
  .seal { width: 104px; height: 104px; right: -6px; top: 18px; }
  .seal .core { inset: 24px; font-size: .58rem; }
  .seal .core b { font-size: 1.2rem; }
  .open-card { left: 12px; right: 12px; width: auto; bottom: 12px; }
  .mixlegend { grid-template-columns: repeat(2, auto); }
  .map-stage { height: 68vh; min-height: 460px; }
  .map-panel { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .t-school, .t-shops, .t-photo, .t-wide, .tile.t-third, .tile.t-ink.t-third { grid-column: 1 / -1; }
  .builders { grid-template-columns: 1fr; }
  .bcard .ph { aspect-ratio: 4 / 3; }
  .visit-card { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .seg span { font-size: .8rem; }
  .footer-top { grid-template-columns: 1fr; }
  .lot-table td:first-child { width: 56px; font-size: 1.3rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; padding: 8px; border-radius: 999px; background: rgb(var(--ink-rgb) / .92); backdrop-filter: blur(12px); box-shadow: var(--shadow-2); }
  .mobile-bar a { min-height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--snow); }
  .mobile-bar a.primary { background: var(--snow); color: var(--ink); }
  .footer { padding-bottom: 96px; }
}
/* hero v3 on tablets and phones */
@media (max-width: 980px) {
  .hero-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .hero-stage .hero-photo { aspect-ratio: 2 / 1; border-radius: 42% 42% var(--radius-m) var(--radius-m) / 20% 20% var(--radius-m) var(--radius-m); }
  .hero-stage .open-card { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -26px 12px 0; }
  .hero-stage .seal { top: -26px; right: 8px; }
  .hero > .wrap > .hero-proof { justify-content: start; }
}
/* ----------------------------------------------------------------- mobile menu */
@media (max-width: 980px) {
  .site-header.menu-open { background: rgb(var(--paper-rgb) / .97); box-shadow: 0 1px 0 var(--line); }
  .site-header.menu-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 12px; right: 12px; padding: 10px; border-radius: var(--radius-m); background: var(--snow); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .site-header.menu-open .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .site-header.menu-open .nav a::after { display: none; }
  .site-header.menu-open .nav a:hover { background: rgb(var(--ink-rgb) / .05); }
}
/* ----------------------------------------------------------------- cookie notice */
.cookie { position: fixed; right: 16px; bottom: 16px; z-index: 80; max-width: 470px; display: none; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; border-radius: 18px; background: var(--ink); color: var(--on-dark); font-size: .8rem; line-height: 1.45; box-shadow: var(--shadow-2); }
.cookie.show { display: flex; }
.cookie p { margin: 0; }
.cookie button { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--snow); color: var(--ink); font-weight: 700; cursor: pointer; }
@media (max-width: 680px) { .cookie { left: 12px; right: 12px; bottom: 84px; max-width: none; } }
/* screenshot mode (?shot=1): no motion, everything visible */
.no-anim .reveal { opacity: 1 !important; transform: none !important; }
.no-anim .cookie { display: none !important; }
@media (max-width: 680px) { .no-anim .map-stage { height: 574px !important; } }
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- v6: 3D view of the new stages + interactive viewer ---- */
.release-3d { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.r3d-figure { position: relative; margin: 0; border-radius: var(--radius-l); overflow: hidden; background: #1b1b1b; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.r3d-figure img { display: block; width: 100%; height: auto; }
.r3d-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: 18px 22px; color: var(--on-dark-muted); font-size: .92rem; line-height: 1.5; }
.r3d-figure figcaption b { color: var(--on-dark); }
.r3d-figure figcaption .btn { flex: 0 0 auto; }
.plan-dl { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.plan-stages { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 14px; font-size: .9rem; color: var(--muted); }
.plan-stages a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: rgb(var(--ink-rgb) / .3); text-underline-offset: 4px; }
.plan-stages a:hover { text-decoration-color: var(--ember); }
@media (max-width: 760px) { .plan-dl { align-items: flex-start; } .plan-stages { justify-content: flex-start; } }
.r3d-modal { position: fixed; inset: 0; z-index: 90; background: rgba(10,10,10,.72); display: grid; place-items: center; padding: clamp(0px, 3vw, 40px); }
.r3d-modal[hidden] { display: none; }
.r3d-sheet { width: min(1400px, 100%); height: min(860px, 100%); background: #fff; border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 120px -30px rgba(0,0,0,.7); }
.r3d-bar { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); color: var(--ink); }
.r3d-bar b { font-weight: 800; }
.r3d-hint { color: var(--muted); font-size: .85rem; margin-right: auto; }
.r3d-close { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--paper-2); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.r3d-close:hover { background: var(--sand); }
.r3d-frame { position: relative; flex: 1; background: #e8e5dc; }
.r3d-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 680px) { .r3d-sheet { border-radius: 0; height: 100%; } .r3d-hint { display: none; } }

/* ---- v7: premium-lot toggles + lot sizes in the lot card ---- */
.legend i.fl-pond { background: linear-gradient(135deg, #6E9A6A 0 50%, #A9CFE8 50% 100%); }
.legend i.fl-pie { background: conic-gradient(from 200deg at 50% 100%, var(--p24) 0 40deg, transparent 40deg); border: 1px solid rgb(var(--ink-rgb) / .25); }
.info-card .feat { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 5px 10px; border-radius: 999px; background: #E8F2E2; color: #2F5A2B; font-size: .8rem; font-weight: 700; }
.info-card .feat.pie { background: #FCEBDD; color: #8A3B12; }
.info-card dd .sub { color: var(--muted); font-weight: 500; margin-left: 4px; }
.info-card .src { margin-top: 8px; color: var(--muted); font-size: .78rem; line-height: 1.45; }

/* ---------------------------------------------------------------- v10 (22 Oct 2026) */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: none; text-decoration: none; }
.brand-by { font-size: .7rem; font-weight: 700; letter-spacing: .03em; line-height: 1; color: var(--muted); white-space: nowrap; padding-left: 2px; }
@media (max-width: 680px) { .brand-by { font-size: .62rem; } }
:root { --psgl: repeating-linear-gradient(135deg, var(--p22) 0 3px, var(--p24) 3px 6px); }
.mwg .lot.pSGL { fill: url(#sgl-mix); } .mwg .lot.pSEMI { fill: var(--ps18); }
.mwg .pSGL { --op: var(--oSGL, 1); } .mwg .pSEMI { --op: var(--oSEMI, 1); }
.types { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.types li { display: grid; grid-template-columns: 12px 1fr; column-gap: 10px; row-gap: 3px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; }
.types i { width: 12px; height: 12px; border-radius: 4px; margin-top: 5px; grid-row: span 2; }
.types b { color: var(--snow); font-weight: 700; font-size: 1rem; }
.types span { color: var(--on-dark-muted); font-size: .86rem; line-height: 1.4; }
@media (max-width: 680px) { .types { grid-template-columns: 1fr; } }
.gate-note { margin: 16px 0 0; font-size: .88rem; line-height: 1.5; color: var(--on-dark-muted); }
.gate-note a { color: var(--snow); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gate-open [data-gate-note] { display: none !important; }
.gate-lock { font-weight: 500; color: var(--muted); }
.info-card .gate-card { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgb(var(--ink-rgb) / .05); font-size: .84rem; line-height: 1.45; }
.info-card .gate-card a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; }
.form-foot p a, .cookie p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* privacy policy page */
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); }
.legal .wrap { max-width: 860px; }
.legal h1 { font: 400 clamp(2.6rem, 1.8rem + 3vw, 4.2rem)/1.02 var(--serif); margin: 18px 0 10px; }
.legal .updated { color: var(--muted); font-size: .95rem; margin: 0 0 34px; }
.legal h2 { font: 700 1.2rem/1.35 var(--sans); margin: 38px 0 10px; scroll-margin-top: 100px; }
.legal p, .legal li { font-size: 1.02rem; line-height: 1.7; color: rgb(var(--ink-rgb) / .86); max-width: 70ch; }
.legal ul { padding-left: 1.2em; margin: 0 0 14px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(var(--ink-rgb) / .35); }
.legal .contact-box { margin-top: 14px; padding: 18px 22px; border-radius: 16px; background: var(--paper-2); font-size: 1rem; line-height: 1.7; }
