/* Industrial Property Malaysia
   Palette comes from the buildings themselves: night-navy cladding, poured
   concrete, and the brass-yellow paint used for floor markings. */

:root {
  --midnight: #061426;
  --hull: #0a2647;
  --steel: #113560;
  --rivet: #3a5c8a;
  --concrete: #e3e9f1;
  --paper: #f5f6f8;
  --slab: #a9bcd4;
  --ink: #0a2647;
  --ink-soft: #44546a;
  --brass: #e3b564;
  --brass-deep: #8a6414;
  --open: #2f9e77;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(10, 26, 47, 0.14);

  --sans: "Archivo", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --serif: "Newsreader", "Songti SC", "SimSun", Georgia, serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --lift: cubic-bezier(0.7, 0, 0.18, 1);
  --intro: 1.3s;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .17 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.no-intro { --intro: 0s; }
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--brass); color: var(--ink); padding: 12px 18px; }
.skip:focus { left: 12px; top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- type ---------- */
.display, h1 {
  font-variation-settings: "wdth" 118;
  font-weight: 600;
  font-size: clamp(2.5rem, 6.1vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-variation-settings: "wdth" 114;
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 {
  font-variation-settings: "wdth" 108;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lede { font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.5; max-width: 38em; }
.note { font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); }
.on-dark .note, .on-dark.note { color: var(--slab); }
.num { font-variant-numeric: tabular-nums lining-nums; }
html[lang="zh-Hans"] .display, html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2 { letter-spacing: 0; line-height: 1.16; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 3px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  font-variation-settings: "wdth" 106;
}
.btn:active { transform: translateY(1px); }
.btn { --fill: transparent; background-image: linear-gradient(var(--fill), var(--fill)); background-repeat: no-repeat; background-position: 50% 100%; background-size: 100% 0; transition: background-size 0.4s var(--lift), color 0.25s, border-color 0.25s, transform 0.2s var(--ease); }
.btn:hover, .btn:focus-visible { background-size: 100% 100%; }
.btn--brass { background-color: var(--brass); color: var(--ink); --fill: #f1d48d; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; --fill: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: #fff; color: var(--ink); }
.btn--ink { background-color: var(--ink); color: #fff; --fill: var(--brass); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); --fill: var(--ink); }
.btn--line:hover, .btn--line:focus-visible { color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background 0.3s, box-shadow 0.3s, transform 0.45s var(--ease);
}
.header.is-away { transform: translateY(-100%); }
.header::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--brass); transform: scaleX(var(--read, 0)); transform-origin: 0 50%; opacity: 0; transition: opacity 0.3s; }
.header.is-solid::after { opacity: 1; }
.header.is-solid { background: rgba(7, 17, 31, 0.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line-dark); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 56px; height: 56px; flex: none; object-fit: contain; }
.footer .brand__mark { width: 84px; height: 84px; }
.brand__name { white-space: nowrap; font-variation-settings: "wdth" 116; font-weight: 700; font-size: 0.95rem; line-height: 1.08; letter-spacing: -0.005em; }
.brand__name b { display: block; font-weight: 400; color: var(--brass); }
.nav { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.nav a { text-decoration: none; font-size: 0.94rem; font-weight: 500; padding: 8px 0; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 3px; overflow: hidden; }
.lang button { white-space: nowrap; background: none; border: 0; padding: 7px 11px; font-size: 0.84rem; font-weight: 600; cursor: pointer; color: rgba(255, 255, 255, 0.75); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.header .btn { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 3px; width: 44px; height: 42px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; margin: 5px auto; transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .header .btn--brass { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--midnight);
    flex-direction: column; gap: 0; padding: 12px var(--gutter) 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0.2s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; }
  .menu-open .header { background: var(--midnight); }
  .nav a { font-size: 1.5rem; font-variation-settings: "wdth" 114; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
}

/* ---------- home hero: walk into the building ---------- */
.hero { position: relative; height: 190vh; background: var(--midnight); color: #fff; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; transform-origin: 50% 57%; will-change: transform; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; animation: settle 2.6s var(--ease) var(--intro) backwards; }
@keyframes settle { from { transform: scale(1.12); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.78) 0%, rgba(7, 17, 31, 0.15) 30%, rgba(7, 17, 31, 0.35) 58%, rgba(7, 17, 31, 0.94) 100%),
    linear-gradient(90deg, rgba(7, 17, 31, 0.6) 0%, rgba(7, 17, 31, 0) 60%);
  mix-blend-mode: normal;
}
.hero__tint { position: absolute; inset: 0; background: #0e2a52; mix-blend-mode: soft-light; opacity: 0.85; }
.hero__dark { position: absolute; inset: 0; background: var(--midnight); opacity: 0; }
.hero__stage::after { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; mix-blend-mode: overlay; }
/* bay lines over the cover photograph (hexagons removed on Chris's request, 23 September 2026) */
.bays { transform-origin: 50% 57%; will-change: transform, opacity; }

/* structural grid: the column lines of a building plan, lettered by bay */
.bays { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.bays i { border-left: 1px solid rgba(255, 255, 255, 0.1); position: relative; font-style: normal; }
.bays i:last-child { border-right: 1px solid rgba(255, 255, 255, 0.1); }
.bays i::before {
  content: attr(data-bay); position: absolute; top: calc(var(--header-h) + 14px); left: -13px;
  width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); background: rgba(7, 17, 31, 0.5);
}
@media (max-width: 760px) { .hero__scroll { display: none; } .hero__credit { right: 88px; left: var(--gutter); max-width: none; text-align: left; } .header__in { gap: 12px; } .brand__name { font-size: 0.84rem; } .brand__mark { width: 46px; height: 46px; } .bays { grid-template-columns: repeat(3, 1fr); } .bays i:nth-child(n + 4) { display: none; } .bays i:nth-child(3) { border-right: 1px solid rgba(255,255,255,.1); } }

.hero__copy { position: absolute; left: 0; right: 0; bottom: clamp(64px, 11vh, 120px); will-change: transform, opacity; }
.hero__copy h1 { max-width: 13em; }
.hero__copy h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__copy h1 .ln > span { display: block; transform: translateY(105%); font-variation-settings: "wdth" 66; animation: rise 1.25s var(--ease) var(--intro) forwards; }
.hero__copy h1 .ln:nth-child(2) > span { animation-delay: calc(var(--intro) + 0.12s); }
.hero__copy h1 .ln:nth-child(3) > span { animation-delay: calc(var(--intro) + 0.24s); }
@keyframes rise { 50% { transform: none; font-variation-settings: "wdth" 66; } to { transform: none; font-variation-settings: "wdth" 118; } }
.hero__copy .lede { margin-top: 26px; color: rgba(255, 255, 255, 0.88); opacity: 0; animation: fade 0.9s calc(var(--intro) + 0.85s) ease forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; opacity: 0; animation: fade 0.9s calc(var(--intro) + 1s) ease forwards; }
@keyframes fade { to { opacity: 1; } }

.hero__inside { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; pointer-events: none; padding: 0 var(--gutter); }
.hero__inside p { font-variation-settings: "wdth" 118; font-weight: 600; font-size: clamp(1.7rem, 4.2vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 16em; text-wrap: balance; }
.hero__inside em { font-style: normal; color: var(--brass); }
.hero__credit { position: absolute; right: calc(var(--gutter) + 72px); bottom: 22px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); max-width: 60vw; text-align: right; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 22px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); display: flex; align-items: center; gap: 10px; }
.hero__scroll::before { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--brass), transparent); }

/* ---------- sections ---------- */
.band { padding: clamp(72px, 10vw, 148px) 0; }
.band--dark { background: var(--midnight); color: #fff; }
.band--hull { background: var(--hull); color: #fff; }
.band--paper { background: var(--paper); }
.band--concrete { background: var(--concrete); }
.band__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(36px, 5vw, 72px); align-items: end; }
.band__head h2 { grid-column: 1 / span 7; }
.band__head .lede, .band__head > div { grid-column: 8 / span 5; }
.band--dark .lede, .band--hull .lede { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 900px) { .band__head h2, .band__head .lede, .band__head > div { grid-column: 1 / -1; } }

/* ---------- three doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--midnight); }
.door { position: relative; min-height: clamp(420px, 62vh, 640px); color: #fff; text-decoration: none; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.04); transition: transform 0.9s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(7, 17, 31, 0.15) 0%, rgba(7, 17, 31, 0.55) 45%, rgba(7, 17, 31, 0.95) 100%); }
/* roller shutter: ribbed steel that lifts when you reach for the door */
.door__shutter {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 22%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.35) 100%),
    repeating-linear-gradient(180deg, #21406a 0 1px, #16304f 1px 8px, #0e2038 8px 15px, #07111f 15px 18px);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7);
  transform: translateY(-52%); transition: transform 0.95s var(--lift);
}
.door__shutter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(180deg, #f1d48d 0%, var(--brass) 35%, #a57a1e 100%); }
.door__shutter::before { content: ""; position: absolute; left: 50%; bottom: 3px; width: 46px; height: 6px; margin-left: -23px; background: var(--midnight); border-radius: 3px; z-index: 1; opacity: 0.75; }
.door__stencil {
  position: absolute; left: clamp(22px, 2.6vw, 40px); bottom: 34px;
  font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; letter-spacing: 0.035em;
  font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: 0.9; color: rgba(255, 255, 255, 0.12);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 15px, rgba(0, 0, 0, 0.35) 15px 18px);
  mask-image: repeating-linear-gradient(180deg, #000 0 15px, rgba(0, 0, 0, 0.35) 15px 18px);
}
html[lang="zh-Hans"] .door__stencil { font-size: clamp(2.4rem, 4.6vw, 4.4rem); letter-spacing: 0.1em; }
html.rv-ready .doors:not(.is-in) .door__shutter { transform: translateY(0); }
.doors.is-in .door:nth-child(2) .door__shutter { transition-delay: 0.12s; }
.doors.is-in .door:nth-child(3) .door__shutter { transition-delay: 0.24s; }
.doors.is-in .door:hover .door__shutter, .doors.is-in .door:focus-visible .door__shutter { transition-delay: 0s; }
.door:hover .door__shutter, .door:focus-visible .door__shutter { transform: translateY(-101%); }
.door:hover img, .door:focus-visible img { transform: scale(1); }
.door__body { padding: clamp(22px, 2.6vw, 40px); width: 100%; }
.door__who { font-size: 0.95rem; color: var(--brass); font-weight: 600; margin-bottom: 8px; }
.door h3 { font-size: clamp(1.5rem, 2.3vw, 2.2rem); font-variation-settings: "wdth" 116; line-height: 1.05; }
.door p { margin-top: 12px; color: rgba(255, 255, 255, 0.82); max-width: 26em; font-size: 1rem; }
.door__go { margin-top: 20px; display: inline-block; font-weight: 600; border-bottom: 2px solid var(--brass); padding-bottom: 3px; }
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; padding-top: 150px; }
  .door__shutter, html.rv-ready .doors:not(.is-in) .door__shutter { inset: 0 0 auto 0; height: 120px; transform: none; }
  .door:hover .door__shutter, .door:focus-visible .door__shutter { transform: none; }
  .door__stencil { bottom: 24px; font-size: 3.4rem; }
}

/* ---------- the match board ---------- */
.match { position: relative; display: grid; grid-template-columns: 1fr clamp(150px, 16vw, 230px) 1fr; align-items: stretch; }
.match__col { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.match__title { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 1.05rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.match__title span { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.chip-row {
  display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line-light); border-radius: 4px; padding: 12px;
  text-decoration: none; transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease); cursor: pointer;
}
.chip-row img { width: 84px; height: 66px; object-fit: cover; border-radius: 2px; }
.chip-row--req { grid-template-columns: 1fr; padding: 16px 18px; }
.chip-row strong { display: block; font-variation-settings: "wdth" 108; font-size: 1.02rem; line-height: 1.25; }
.chip-row small { display: block; color: var(--ink-soft); font-size: 0.86rem; margin-top: 3px; }
.chip-row .ref { font-size: 0.78rem; font-weight: 600; color: var(--brass-deep); letter-spacing: 0.02em; }
.chip-row.is-lit { border-color: var(--brass-deep); box-shadow: 0 10px 30px -12px rgba(138, 100, 20, 0.45); transform: translateY(-2px); }
.match__mid { position: relative; display: grid; place-items: center; z-index: 2; }
.match__node {
  width: clamp(104px, 10vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; text-align: center; font-weight: 600; font-size: 0.86rem; line-height: 1.2;
  box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--line-light); overflow: hidden; position: relative;
}
.match__node img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.match__node-label { position: absolute; top: calc(50% + clamp(62px, 6vw, 80px) + 22px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.86rem; font-weight: 600; text-align: center; line-height: 1.25; }
.match__node-label small { display: block; font-weight: 400; color: var(--ink-soft); }
.match__wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.match__wires path { fill: none; stroke: rgba(10, 26, 47, 0.2); stroke-width: 1.5; transition: stroke 0.25s, stroke-width 0.25s; }
.match__wires path.is-lit { stroke: var(--brass-deep); stroke-width: 3; }
.match__wires path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.3s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.match__foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
@media (max-width: 900px) {
  .match { grid-template-columns: 1fr; gap: 28px; }
  .match__wires { display: none; }
  .match__mid { padding: 26px 0 84px; }
}

/* ---------- listing cards ---------- */
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.2vw, 36px); }
.card { grid-column: span 4; text-decoration: none; display: block; }
.card--lead { grid-column: span 8; grid-row: span 2; }
.card__img { position: relative; overflow: hidden; background: var(--slab); aspect-ratio: 4 / 3; }
.card--lead .card__img { aspect-ratio: auto; height: calc(100% - 118px); min-height: 380px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__pending { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; color: rgba(255,255,255,.82); background: #0d2139; overflow: hidden; }
.card__pending > * { position: relative; z-index: 1; }
.card__pending b { color: var(--brass); letter-spacing: .08em; }
.card__pending span { font-size: .88rem; }
.record-state { margin-top: 12px; color: var(--brass-deep); font-size: .82rem; font-weight: 650; }
.card:hover .card__img img { transform: scale(1.035); }
.card:hover .tag, .card:focus-visible .tag { transform: translate(30px, 30px); }
.tag { transition: transform 0.5s var(--ease); position: absolute; left: 0; top: 0; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 7px 12px; }
.tag--brass { background: var(--brass); color: var(--ink); }
.card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: var(--ink-soft); padding-top: 14px; }
.card__meta .ref { font-weight: 600; color: var(--brass-deep); }
.card h3 { margin-top: 6px; }
.card__facts { margin-top: 8px; font-size: 0.94rem; color: var(--ink-soft); }
.card[hidden] { display: none; }
@media (max-width: 1000px) { .card, .card--lead { grid-column: span 6; grid-row: auto; } .card--lead .card__img { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 640px) { .card, .card--lead { grid-column: 1 / -1; } }
.cards--even .card { grid-column: span 6; }
.cards--even .card .card__img { aspect-ratio: 16 / 10; }
@media (max-width: 640px) { .cards--even .card { grid-column: 1 / -1; } }

/* ---------- regions ---------- */
.regions { position: relative; color: #fff; background: var(--midnight); overflow: hidden; }
.regions__bg { position: absolute; inset: 0; }
.regions__bg img { width: 100%; height: 100%; object-fit: cover; }
.regions__bg::after { content: ""; position: absolute; inset: 0; background: var(--grain), linear-gradient(90deg, rgba(7, 17, 31, 0.95) 0%, rgba(7, 17, 31, 0.84) 50%, rgba(7, 17, 31, 0.7) 100%); }
.regions__in { position: relative; padding: clamp(80px, 11vw, 160px) 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.regions__in > div:first-child { grid-column: 1 / span 5; }
.route-wrap { grid-column: 7 / span 6; }
.route { position: relative; padding-left: 44px; }
.route::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: 14px; width: 2px; background: var(--brass); transform-origin: 50% 0; transition: transform 1.5s var(--lift); }
.route li { position: relative; padding: 20px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 6px; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.route li:last-child { border-bottom: 0; }
.route li::before { content: ""; position: absolute; left: -44px; top: 27px; width: 18px; height: 18px; border-radius: 50%; background: var(--midnight); border: 2px solid var(--brass); box-shadow: 0 0 0 5px rgba(214, 167, 66, 0.16); transition: background 0.3s; }
.route li:hover::before { background: var(--brass); }
.route strong { font-variation-settings: "wdth" 116; font-size: clamp(1.4rem, 2.3vw, 2.1rem); font-weight: 600; line-height: 1.1; transition: color 0.3s; }
.route li:hover strong { color: var(--brass); }
.route span { color: rgba(255, 255, 255, 0.78); font-size: 1rem; }
.route__end { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); line-height: 1; }
.route__end:first-child { margin-bottom: 6px; }
.route__end:last-child { margin-top: 6px; }
html.rv-ready .route-wrap:not(.is-in) .route::before { transform: scaleY(0); }
html.rv-ready .route-wrap:not(.is-in) .route li { opacity: 0; transform: translateX(14px); }
.route li:nth-child(2) { transition-delay: 0.25s; }
.route li:nth-child(3) { transition-delay: 0.5s; }
.route li:nth-child(4) { transition-delay: 0.75s; }
.regions__credit { position: absolute; right: var(--gutter); bottom: 18px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 900px) { .regions__in > div:first-child, .route-wrap { grid-column: 1 / -1; } .route-wrap { margin-top: 20px; } .regions__bg::after { background: rgba(7, 17, 31, 0.88); } }

/* ---------- insights list ---------- */
.posts { border-top: 2px solid var(--ink); }
.post { display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; align-items: baseline; transition: padding-left 0.3s var(--ease); }
.post:hover { padding-left: 14px; }
.post time, .post .post__kind { font-size: 0.9rem; color: var(--ink-soft); }
.post h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-variation-settings: "wdth" 112; }
.post p { margin-top: 8px; color: var(--ink-soft); max-width: 46em; }
.post__read { font-weight: 600; font-size: 0.94rem; white-space: nowrap; }
@media (max-width: 760px) { .post { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Chris band ---------- */
.desk { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.desk__photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; }
.desk__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.desk__copy { grid-column: 6 / span 7; }
.desk__copy h2 { margin-bottom: 22px; }
.desk__copy p + p { margin-top: 14px; }
.desk__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sig { width: 190px; height: 110px; margin-top: 26px; background: var(--brass); -webkit-mask: url(../img/chris-signature.png) left center / contain no-repeat; mask: url(../img/chris-signature.png) left center / contain no-repeat; }
.sig--ink { background: var(--hull); }
@media (max-width: 900px) { .desk__photo, .desk__copy { grid-column: 1 / -1; } .desk__photo { aspect-ratio: 1; max-width: 460px; } }

/* ---------- page hero (inner pages) ---------- */
.phero { background: var(--midnight); color: #fff; padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), rgba(255, 255, 255, 0.05) calc(100% / 6 - 1px) calc(100% / 6)); pointer-events: none; }
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(2.3rem, 5.2vw, 4.8rem); max-width: 15em; }
.phero .lede { margin-top: 24px; color: rgba(255, 255, 255, 0.82); }
.phero__bar { width: 64px; height: 8px; background: var(--brass); margin-bottom: 28px; }
.phero--photo { min-height: 72vh; display: flex; align-items: flex-end; }
.phero--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) backwards; }
.phero--photo::after { content: ""; position: absolute; inset: 0; background: var(--grain), linear-gradient(180deg, rgba(7, 17, 31, 0.7) 0%, rgba(7, 17, 31, 0.25) 40%, rgba(7, 17, 31, 0.92) 100%); }
.phero--photo .wrap { z-index: 2; width: min(100% - 2 * var(--gutter), var(--wrap)); }
.crumbs { font-size: 0.88rem; color: var(--slab); margin-bottom: 22px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin-bottom: 40px; padding-bottom: 22px; border-bottom: 1px solid var(--line-light); }
.search-filters { display: grid; grid-template-columns: minmax(240px,2fr) repeat(3,minmax(150px,1fr)); gap: 14px; margin: 26px 0 20px; }
.search-filters label { display: grid; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.search-filters input,.search-filters select { width: 100%; padding: 12px 13px; border: 1px solid var(--line-light); border-radius: 3px; background: #fff; color: var(--ink); font: inherit; }
@media (max-width: 850px) { .search-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .search-filters { grid-template-columns: 1fr; } }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; }
.seg button { background: none; border: 0; padding: 11px 20px; font-weight: 600; cursor: pointer; font-size: 0.96rem; }
.seg button + button { border-left: 1.5px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { background: #fff; border: 1px solid var(--line-light); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: 0.92rem; font-weight: 500; }
.pills button[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); }
.filters__count { margin-left: auto; font-size: 0.92rem; color: var(--ink-soft); }
.empty { padding: 48px; border: 1.5px dashed var(--slab); text-align: center; grid-column: 1 / -1; }

/* ---------- listing detail ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.gallery button { border: 0; padding: 0; background: var(--slab); cursor: zoom-in; overflow: hidden; grid-column: span var(--span, 4); aspect-ratio: 4 / 3; }
.gallery button[style*="--span:6"] { aspect-ratio: 16 / 10; }
.gallery.gallery--pair button, .gallery.gallery--pair button:first-child { aspect-ratio: auto; height: clamp(300px, 42vw, 600px); grid-row: auto; }
.gallery button:first-child { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gallery button, .gallery button:first-child, .gallery--pair button { grid-column: span 6; grid-row: auto; aspect-ratio: 4 / 3; height: auto; } .gallery button:first-child, .gallery--pair button { grid-column: 1 / -1; } }
.detail { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 72px); margin-top: clamp(40px, 5vw, 72px); }
.detail__main { grid-column: 1 / span 7; }
.detail__main h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); margin-bottom: 18px; }
.detail__main p + p { margin-top: 14px; }
.detail__main ul { margin-top: 18px; display: grid; gap: 10px; }
.detail__main ul li { padding-left: 26px; position: relative; }
.detail__main ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 4px; background: var(--brass); }
.detail__side { grid-column: 8 / span 5; }
.sheet { background: #fff; border-top: 8px solid var(--brass); padding: clamp(22px, 2.4vw, 34px); position: sticky; top: calc(var(--header-h) + 20px); }
.sheet h3 { margin-bottom: 14px; }
.sheet dl { display: grid; grid-template-columns: auto 1fr; font-size: 0.97rem; }
.sheet dt, .sheet dd { padding: 11px 0; border-bottom: 1px solid var(--line-light); }
.sheet dt { color: var(--ink-soft); padding-right: 20px; }
.sheet dd { text-align: right; font-weight: 600; }
.sheet .btn { width: 100%; justify-content: center; margin-top: 22px; }
.sheet .note { margin-top: 14px; }
@media (max-width: 900px) { .detail__main, .detail__side { grid-column: 1 / -1; } .sheet { position: static; } }
.clip { margin-top: 32px; }
.clip video { width: auto; max-width: 100%; max-height: 540px; background: #000; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(7, 17, 31, 0.96); display: none; place-items: center; padding: 4vw; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; }
.lightbox .lb-next { right: 20px; top: 50%; }

/* ---------- request board ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.brief { background: #fff; border: 1px solid var(--line-light); border-left: 6px solid var(--ink); padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.brief[data-deal="rent"] { border-left-color: var(--brass); }
.brief__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.84rem; }
.brief__top .ref { font-weight: 700; color: var(--brass-deep); }
.state { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--open); }
.state--matching::before { background: var(--brass); }
.brief h3 { font-size: 1.22rem; }
.brief dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 0.95rem; }
.brief dt { color: var(--ink-soft); }
.brief dd { font-weight: 500; }
.brief__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.86rem; color: var(--ink-soft); }
.brief[hidden] { display: none; }
.sample-flag { background: var(--concrete); border-left: 6px solid var(--brass); padding: 16px 20px; margin-bottom: 32px; font-size: 0.97rem; max-width: 60em; }

.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.form label { display: grid; gap: 7px; font-size: 0.92rem; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 1.5px solid rgba(255, 255, 255, 0.28); border-radius: 3px; background: rgba(255, 255, 255, 0.06); color: #fff; width: 100%; }
.form select option { color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brass); }
.form--light input,.form--light select,.form--light textarea { background: #fff; color: var(--ink); border-color: var(--line-light); }
.form--light input::placeholder,.form--light textarea::placeholder { color: #7d8793; }
.stage-banner { display: flex; align-items: center; gap: 18px; margin: 0 0 38px; padding: 18px 20px; background: var(--midnight); color: #fff; }
.stage-banner span { display: flex; align-items: center; gap: 10px; }
.stage-banner b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brass); color: var(--midnight); }
.stage-banner i { height: 1px; flex: 1; background: rgba(255,255,255,.35); }
.owner-start { display: grid; grid-template-columns: minmax(230px,.75fr) minmax(0,1.5fr); gap: clamp(34px,6vw,90px); margin-top: 70px; padding-top: 54px; border-top: 1px solid var(--line-light); }
.owner-start .eyebrow { color: var(--brass-deep); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
@media (max-width: 820px) { .owner-start { grid-template-columns: 1fr; } .stage-banner { align-items: flex-start; } }
.listing-placeholder { min-height: 300px; display: grid; place-content: center; gap: 14px; text-align: center; padding: 40px; background: #0d2139; color: #fff; position: relative; overflow: hidden; }
.listing-placeholder > * { position: relative; z-index: 1; }
.listing-placeholder .num { color: var(--brass); font-size: .82rem; letter-spacing: .12em; }
.listing-placeholder p { max-width: 42em; color: rgba(255,255,255,.72); }
.pending { color: #8b5f14; font-weight: 650; }
.source-credit { margin-top: 22px; padding: 14px 16px; border-left: 4px solid var(--brass); background: #f5f0e6; font-size: .9rem; }
.record-note { margin-top: 24px; display: grid; gap: 4px; color: var(--ink-soft); font-size: .9rem; }
.brief__source { font-size: .8rem; color: var(--ink-soft); margin-top: 16px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 6vw, 84px) 0; border-top: 1px solid var(--line-light); align-items: center; }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc__img { grid-column: 1 / span 6; aspect-ratio: 5 / 4; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__copy { grid-column: 8 / span 5; }
.svc:nth-of-type(even) .svc__img { grid-column: 7 / span 6; order: 2; }
.svc:nth-of-type(even) .svc__copy { grid-column: 1 / span 5; }
.svc__for { color: var(--brass-deep); font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.svc__copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); margin-bottom: 18px; }
.svc__copy ul { margin: 20px 0 26px; display: grid; gap: 10px; }
.svc__copy li { padding-left: 26px; position: relative; }
.svc__copy li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 4px; background: var(--brass); }
@media (max-width: 900px) { .svc__img, .svc__copy, .svc:nth-of-type(even) .svc__img, .svc:nth-of-type(even) .svc__copy { grid-column: 1 / -1; order: 0; } }

/* ---------- guidelines ---------- */
.tabs { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; margin-bottom: clamp(36px, 5vw, 64px); }
.tabs button { background: none; border: 0; padding: 14px 26px; font-weight: 600; cursor: pointer; font-size: 1rem; }
.tabs button + button { border-left: 1.5px solid var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.steps { counter-reset: step; display: grid; gap: 0; max-width: 980px; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 92px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line-light); }
.steps > li::before { content: counter(step); font-variation-settings: "wdth" 125; font-weight: 700; font-size: 3.2rem; line-height: 0.9; color: var(--brass-deep); }
.steps h3 { margin-bottom: 8px; font-size: 1.4rem; }
.steps p { max-width: 44em; color: var(--ink-soft); }
.steps ul { margin-top: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 28px; max-width: 46em; }
.steps ul li { padding-left: 22px; position: relative; font-size: 0.98rem; }
.steps ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 4px; background: var(--brass); }
@media (max-width: 640px) { .steps > li { grid-template-columns: 1fr; gap: 8px; } .steps ul { grid-template-columns: 1fr; } }
.format { background: var(--midnight); color: #e9eef5; padding: 26px 28px; border-left: 6px solid var(--brass); font-size: 0.98rem; line-height: 1.75; max-width: 620px; margin-top: 18px; white-space: pre-line; font-variant-numeric: tabular-nums; }

/* ---------- article ---------- */
.article { background: var(--paper); padding: clamp(48px, 6vw, 96px) 0 clamp(72px, 9vw, 130px); }
.article__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); }
.article__body { grid-column: 1 / span 8; font-family: var(--serif); font-size: 1.24rem; line-height: 1.72; max-width: 40em; }
.article__body > * + * { margin-top: 1.15em; }
.article__body h2 { font-family: var(--sans); font-size: clamp(1.5rem, 2.3vw, 2rem); margin-top: 2.1em; }
.article__body h3 { font-family: var(--sans); margin-top: 1.7em; }
.article__body ul, .article__body ol { padding-left: 1.2em; }
.article__body ul { list-style: none; padding-left: 0; }
.article__body ul li { padding-left: 28px; position: relative; margin-top: 0.5em; }
.article__body ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 4px; background: var(--brass); }
.article__body ol { list-style: decimal; }
.article__body ol li { margin-top: 0.5em; padding-left: 6px; }
.answer { font-family: var(--sans); font-size: 1.12rem; line-height: 1.6; background: #fff; border-left: 6px solid var(--brass); padding: 24px 28px; }
.answer strong { display: block; font-size: 0.9rem; color: var(--brass-deep); margin-bottom: 8px; }
.article__body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.98rem; line-height: 1.45; }
.article__body th, .article__body td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.article__body th { border-bottom: 2px solid var(--ink); font-weight: 600; }
.article__body figure img { width: 100%; }
.article__body figcaption { font-family: var(--sans); font-size: 0.86rem; color: var(--ink-soft); margin-top: 10px; }
/* park-guide location map: OpenStreetMap picture (make_map.py) with HTML pins laid over it */
.map__img { position: relative; overflow: hidden; background: var(--concrete); border: 1px solid var(--line-light); }
.map__img img { display: block; height: auto; }
.map__pin { position: absolute; width: 0; height: 0; }
.map__pin::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; background: var(--ink); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(6, 20, 38, 0.4); }
.map__pin--main::before { left: -11px; top: -11px; width: 22px; height: 22px; background: var(--brass); border: 4px solid var(--ink); }
.map__pin b { position: absolute; white-space: nowrap; font-family: var(--sans); font-weight: 600; font-size: clamp(0.64rem, 1.55vw, 0.84rem); line-height: 1.2; padding: 0.38em 0.7em; background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: 0 1px 5px rgba(6, 20, 38, 0.22); }
.map__pin--main b { background: var(--ink); color: #fff; }
.map__pin--r b { left: 13px; top: 0; transform: translateY(-50%); }
.map__pin--l b { right: 13px; top: 0; transform: translateY(-50%); }
.map__pin--main.map__pin--l b { right: 18px; }
.map__pin--a b { right: -10px; bottom: 13px; }
.article__body .tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article__body .tablewrap table { min-width: 34em; }
.keybox { font-family: var(--sans); font-size: 1.02rem; line-height: 1.55; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-light); padding: 18px 0 20px; }
.keybox__t { font-size: 0.86rem; font-weight: 700; color: var(--brass-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.article__body .keybox ul { margin-top: 10px; }
.article__body .sources { font-family: var(--sans); font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.article__body .sources li { margin-top: 0.4em; overflow-wrap: anywhere; }
.article__body blockquote { border-left: 4px solid var(--brass); padding: 4px 0 4px 22px; font-style: italic; }
.article__body blockquote cite { display: block; font-style: normal; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; }
.article__side { grid-column: 9 / span 4; font-size: 0.97rem; }
.article__side > div { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.byline { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.byline img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.byline small { display: block; color: var(--ink-soft); }
.byline strong a { text-decoration-color: var(--brass); text-underline-offset: 4px; }
.sidebox { border-top: 2px solid var(--ink); padding-top: 16px; }
.sidebox h4 { font-size: 1rem; margin-bottom: 10px; }
.sidebox ol { list-style: decimal; padding-left: 1.2em; display: grid; gap: 6px; }
.sidebox a { text-decoration-color: var(--brass); text-underline-offset: 4px; }
.faq { font-family: var(--sans); }
.faq details { border-top: 1px solid var(--line-light); padding: 16px 0; font-size: 1.05rem; line-height: 1.6; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brass-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-soft); }
.zh-note { display: none; background: var(--concrete); padding: 14px 18px; font-family: var(--sans); font-size: 0.95rem; }
html[lang="zh-Hans"] .zh-note { display: block; }
@media (max-width: 1000px) { .article__body, .article__side { grid-column: 1 / -1; } .article__side > div { position: static; } .article__body { font-size: 1.14rem; } }

/* ---------- about ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.facts > div { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line-light); }
.facts dt { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 6px; }
.facts dd { font-variation-settings: "wdth" 110; font-weight: 600; font-size: 1.25rem; line-height: 1.25; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.prose { max-width: 40em; }
.prose p + p { margin-top: 16px; }
.prose h2 { margin-bottom: 24px; }
.two { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); }
.two > :first-child { grid-column: 1 / span 5; }
.two > :last-child { grid-column: 7 / span 6; }
@media (max-width: 900px) { .two > :first-child, .two > :last-child { grid-column: 1 / -1; } }

/* ---------- closing CTA + footer ---------- */
.closer { background: var(--brass); color: var(--ink); padding: clamp(56px, 7vw, 104px) 0; }
.closer__in { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.closer h2 { grid-column: 1 / span 8; font-size: clamp(2rem, 4.4vw, 4rem); }
.closer__cta { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 900px) { .closer h2, .closer__cta { grid-column: 1 / -1; } }

.footer { background: var(--midnight); color: rgba(255, 255, 255, 0.78); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 0.96rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 0.96rem; margin-bottom: 14px; }
.footer li + li { margin-top: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--brass); }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer__legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1faa59; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- intro: a roller shutter lifts off the home page, once per session ---------- */
.intro {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 25%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.4) 100%),
    repeating-linear-gradient(180deg, #21406a 0 1px, #16304f 1px 10px, #0e2038 10px 19px, #07111f 19px 23px);
  animation: intro-lift 1.05s var(--lift) 0.8s forwards;
}
.intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: linear-gradient(180deg, #f1d48d 0%, var(--brass) 35%, #a57a1e 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.intro__in { display: flex; align-items: center; gap: 18px; animation: fade 0.5s 0.05s backwards; }
.intro__in .brand__mark { width: 84px; height: 84px; }
.intro__in span { font-variation-settings: "wdth" 116; font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.08; }
.intro__in b { display: block; font-weight: 400; color: var(--brass); }
@keyframes intro-lift { to { transform: translateY(-102%); visibility: hidden; } }
html.no-intro .intro { display: none; }

/* ---------- reveals: headings rise out of a mask, photographs are uncovered like a shutter going up ---------- */
html.rv-ready .rv-head { clip-path: inset(0 0 100% 0); transform: translateY(26px); }
html.rv-ready .rv-head.is-in { clip-path: inset(-10% -5% -10% -5%); transform: none; transition: clip-path 1s var(--ease), transform 1s var(--ease); }
html.rv-ready .rv-img { clip-path: inset(100% 0 0 0); }
html.rv-ready .rv-img img { transform: scale(1.16); }
html.rv-ready .rv-img.is-in { clip-path: inset(0); transition: clip-path 1.15s var(--lift) calc(var(--i, 0) * 0.09s); }
html.rv-ready .rv-img.is-in img { transform: none; transition: transform 1.6s var(--ease) calc(var(--i, 0) * 0.09s); }
html.rv-ready .rv-img.is-done img { transition: transform 1s var(--ease); }
html.rv-ready .rv-wipe { clip-path: inset(0 100% 0 0); }
html.rv-ready .rv-wipe.is-in { clip-path: inset(0); transition: clip-path 1.7s var(--ease) 0.3s; }

.phero h1 { animation: mask-rise 1.05s var(--ease) 0.08s backwards; }
.phero .lede { animation: fade 0.9s 0.5s ease backwards; }
.phero__bar { transform-origin: 0 50%; animation: bar-in 0.8s var(--lift) backwards; }
@keyframes mask-rise { from { clip-path: inset(0 0 100% 0); transform: translateY(30px); } to { clip-path: inset(-10% -5%); transform: none; } }
@keyframes bar-in { from { transform: scaleX(0); } }

/* ---------- match board: a live desk ---------- */
.band:has([data-match]) { background-image: linear-gradient(rgba(10, 26, 47, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 26, 47, 0.045) 1px, transparent 1px); background-size: 64px 64px; background-position: 50% 0; }
.match__mid::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(clamp(104px, 10vw, 132px) + 46px); aspect-ratio: 1; margin: calc((clamp(104px, 10vw, 132px) + 46px) / -2) 0 0 calc((clamp(104px, 10vw, 132px) + 46px) / -2); border-radius: 50%; border: 1.5px dashed rgba(138, 100, 20, 0.55); animation: spin 38s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.match__node { transition: box-shadow 0.35s; }
.match.has-lit .match__node { box-shadow: 0 0 0 8px var(--paper), 0 0 0 10px var(--brass-deep), 0 18px 40px -14px rgba(138, 100, 20, 0.6); }
.match__wires circle { fill: var(--brass-deep); opacity: 0; offset-rotate: 0deg; }
.match__wires circle.is-lit { opacity: 1; animation: travel 1.5s linear infinite; }
.match__wires circle[data-side="demand"].is-lit { animation-direction: reverse; }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.chip-row .ref::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); margin-left: 8px; vertical-align: 1px; opacity: 0; transition: opacity 0.25s; }
.chip-row.is-lit .ref::after { opacity: 1; }
@media (max-width: 900px) { .match__mid::before { top: calc(50% - 29px); } .match__node-label { top: calc(50% + 46px); } }

/* ---------- surveyor's crop marks + pointer tag on photographs ---------- */
.card__img::after, .gallery button::after {
  content: ""; position: absolute; inset: 30px; opacity: 0; pointer-events: none;
  --c: linear-gradient(var(--brass), var(--brass));
  background: var(--c) 0 0 / 26px 2px, var(--c) 0 0 / 2px 26px, var(--c) 100% 0 / 26px 2px, var(--c) 100% 0 / 2px 26px, var(--c) 0 100% / 26px 2px, var(--c) 0 100% / 2px 26px, var(--c) 100% 100% / 26px 2px, var(--c) 100% 100% / 2px 26px;
  background-repeat: no-repeat;
  transition: inset 0.5s var(--ease), opacity 0.35s;
}
.gallery button { position: relative; }
.card:hover .card__img::after, .card:focus-visible .card__img::after, .gallery button:hover::after, .gallery button:focus-visible::after { inset: 16px; opacity: 1; }
.card h3 { transition: color 0.25s; }
.card:hover h3 { color: var(--brass-deep); }
.ctag { position: fixed; left: 0; top: 0; z-index: 400; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--brass); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; font-variation-settings: "wdth" 110; pointer-events: none; translate: var(--x, -200px) var(--y, -200px); scale: 0; transition: scale 0.35s var(--ease); will-change: translate, scale; }
.ctag.is-on { scale: 1; }
html.has-ctag [data-cursor], html.has-ctag [data-cursor] * { cursor: none; }

/* ---------- small moments ---------- */
.post { position: relative; }
.post::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--brass-deep); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.55s var(--lift); }
.post:hover::before, .post:focus-visible::before { transform: scaleX(1); }
.state:not(.state--matching)::before { animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 119, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(47, 158, 119, 0); } }
.brief { transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.brief:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(10, 26, 47, 0.45); }

/* closing band: hazard tape along the top edge, the floor-marking colour it is painted in */
.closer { position: relative; }
.closer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, transparent 12px 24px); }

/* footer: the name lettered the way it would be on a factory fascia */
@media (max-width: 760px) { .hero__scroll { display: none; } .hero__copy { bottom: 96px; } }

/* inner page heroes: the section name lettered large behind the title, and a rail of facts on listings */
.phero__ghost { position: absolute; right: -0.03em; bottom: -0.17em; z-index: 0; font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; white-space: nowrap; font-size: clamp(7rem, 23vw, 21rem); line-height: 0.8; letter-spacing: 0.01em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15); pointer-events: none; user-select: none; animation: ghost-in 1.6s var(--ease) backwards; }
@keyframes ghost-in { from { transform: translateX(6%); opacity: 0; } }
.phero .wrap { z-index: 1; }
.specrail { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px clamp(28px, 4.5vw, 72px); margin-top: clamp(32px, 4vw, 52px); padding-top: 22px; border-top: 1px solid var(--line-dark); animation: fade 0.9s 0.7s ease backwards; }
.specrail dt { font-size: 0.84rem; color: var(--slab); margin-bottom: 4px; }
.specrail dd { font-weight: 600; font-size: 1.02rem; }
@media (max-width: 760px) { .specrail { grid-template-columns: repeat(2, auto); } .phero__ghost { font-size: 34vw; } }

.fascia { font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; white-space: nowrap; overflow: hidden; line-height: 0.86; font-size: 7.4vw; letter-spacing: 0.012em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.36); margin-bottom: clamp(40px, 5.5vw, 76px); padding-bottom: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line-dark); user-select: none; }
.clock b { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
  .hero { height: 100vh; height: 100svh; }
  .hero__inside { display: none; }
  .intro { display: none; }
  .match__mid::before { animation: none; }
}

/* ---------- illustration photos (Chris, 23 Sep 2026: generic photos per category, "for illustration purposes") ---------- */
.illus-note { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 5px 9px; background: rgba(6, 20, 38, 0.78); color: rgba(255, 255, 255, 0.92); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; pointer-events: none; }
.illus-figure { margin: 0; }
.illus-figure__img { position: relative; }
.illus-figure img { display: block; width: 100%; height: clamp(260px, 44vw, 560px); object-fit: cover; background: var(--slab); }
.illus-figure .illus-note { right: 14px; bottom: 14px; font-size: 0.8rem; padding: 6px 11px; }
.illus-figure figcaption { margin-top: 10px; color: var(--ink-soft); font-size: 0.86rem; }
.sheet dd.dash { color: var(--ink-soft); font-weight: 500; }

/* phones and tablets: the sidebar byline stacks under the article, so the author and dates also show under the title */
.byline-m { display: none; margin-top: 18px; font-family: var(--sans); font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
.byline-m a { color: #fff; text-decoration-color: var(--brass); text-underline-offset: 4px; }
@media (max-width: 1000px) { .byline-m { display: block; } }

/* ---------- visual park guides (Chris, 8 Oct 2026: fewer words; maps, charts, diagrams and photos that explain) ----------
   A guide whose body sits in .vguide reads like a brochure: sans-serif short points, each section led by a picture. */
.vguide { font-family: var(--sans); font-size: 1.04rem; line-height: 1.55; }
.vguide > * + * { margin-top: 1.1em; }
.vguide h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin-top: 2.2em; line-height: 1.2; }
.vguide h2 + p { font-size: 1.12rem; color: var(--ink); }
.article__body .vguide ul:not([class]) li { margin-top: 0.45em; }
.vguide .src { font-size: 0.82rem; color: var(--ink-soft); white-space: nowrap; }
.vguide .src a { color: inherit; }

.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); font-family: var(--sans); }
.glance > div { background: #fff; padding: 18px 16px 16px; }
.glance b { display: block; font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.05; color: var(--ink); letter-spacing: -0.02em; }
.glance b small { font-size: 0.5em; font-weight: 600; margin-left: 0.15em; letter-spacing: 0; }
.glance span { display: block; margin-top: 7px; font-size: 0.86rem; line-height: 1.35; color: var(--ink-soft); }
@media (max-width: 640px) { .glance { grid-template-columns: 1fr 1fr; } }

/* the location map: a flat drawing, nothing on it is a link */
.map--plain .map__img { background: #f0f3f7; }
.map__img img { pointer-events: none; user-select: none; -webkit-user-drag: none; }
.map__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map__lines line { stroke: var(--brass-deep); stroke-width: 2.5; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; }
.map__pin b small { display: block; font-weight: 500; font-size: 0.84em; opacity: 0.78; margin-top: 1px; }
.map__town { position: absolute; transform: translate(-50%, -50%); font-family: var(--sans); font-size: clamp(0.52rem, 1.25vw, 0.72rem); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #5b769a; white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #f0f3f7, 0 0 3px #f0f3f7; }
.map__town--sea { font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0.03em; color: #46648c; text-shadow: none; }
.map__north { position: absolute; right: 12px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-light); font: 700 0.8rem/1 var(--sans); color: var(--ink); pointer-events: none; }
.map__north::before { content: ""; position: absolute; top: -8px; left: 11px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 8px solid var(--ink); }

.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.phase { background: #fff; border: 1px solid var(--line-light); border-top: 4px solid var(--slab); padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 5px; }
.phase--live { border-top-color: var(--open); }
.phase--next { border-top-color: var(--brass); }
.phase__n { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.phase__size { font-size: 1.4rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.phase p { font-size: 0.93rem; line-height: 1.42; }
.phase__when { margin-top: auto; padding-top: 8px; font-size: 0.82rem; font-weight: 700; color: var(--rivet); }
.phase__when::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.phase--live .phase__when { color: #1f7a5b; }
.phase--next .phase__when { color: var(--brass-deep); }
.phase--total { background: var(--ink); border-color: var(--ink); color: #fff; }
.phase--total .phase__n, .phase--total p { color: rgba(255, 255, 255, 0.78); }
.phase--total .phase__size { color: var(--brass); font-size: 1.9rem; }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .phases { grid-template-columns: 1fr; } }

.sizes__key { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.84rem; color: var(--ink-soft); }
.sizes__key i { display: inline-block; width: 20px; height: 11px; margin-right: 7px; vertical-align: -1px; }
.sizes__key .k-built { background: var(--ink); }
.sizes__key .k-land { background: rgba(227, 181, 100, 0.5); border: 2px solid var(--brass); border-width: 0 2px; }
.sizes__row { display: grid; grid-template-columns: 8.8rem 1fr; gap: 6px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.sizes__name { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.sizes__name small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.8rem; margin-top: 2px; }
.sizes__track { position: relative; height: 30px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line-light) calc(25% - 1px) 25%); }
.sizes__land { position: absolute; top: 0; bottom: 0; background: rgba(227, 181, 100, 0.45); border: 2px solid var(--brass); border-width: 0 2px; }
.sizes__built { position: absolute; left: 0; top: 8px; height: 14px; background: var(--ink); }
.sizes__meta { grid-column: 2; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.35; }
.sizes__meta b { color: var(--ink); }
.sizes__axis { display: grid; grid-template-columns: 8.8rem 1fr; gap: 16px; font-size: 0.74rem; color: var(--ink-soft); padding-top: 6px; }
.sizes__axis div { position: relative; height: 1.3em; }
.sizes__axis div span { position: absolute; top: 0; transform: translateX(-50%); }
.sizes__axis div span:first-child { transform: none; }
.sizes__axis div span:last-child { transform: translateX(-100%); }
@media (max-width: 560px) { .sizes__row, .sizes__axis { grid-template-columns: 1fr; } .sizes__meta { grid-column: 1; } .sizes__axis > span { display: none; } }

.callout { background: var(--concrete); border-left: 4px solid var(--ink); padding: 16px 20px; font-size: 1rem; line-height: 1.5; }
.callout__t { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 4px; }

.dia { background: #fff; border: 1px solid var(--line-light); padding: 14px 14px 6px; }
.dia svg { width: 100%; height: auto; }
.dia text { font-family: var(--sans); font-weight: 700; }
.article__body ol.dia-key { list-style: none; padding: 0; counter-reset: k; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 0.92rem; line-height: 1.4; }
.article__body ol.dia-key li { counter-increment: k; position: relative; padding-left: 34px; margin: 0; }
.article__body ol.dia-key li::before { content: counter(k); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 560px) { .article__body ol.dia-key { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { display: grid; grid-template-columns: 42px 1fr; gap: 3px 14px; align-content: start; background: #fff; border: 1px solid var(--line-light); padding: 16px; }
.tile > svg, .tile > .mono { grid-row: span 2; width: 42px; height: 42px; }
.tile > svg { color: var(--brass-deep); }
.tile b { font-size: 1rem; line-height: 1.3; }
.tile p { font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }
.mono { display: grid; place-items: center; border-radius: 50%; background: var(--concrete); color: var(--ink); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.02em; }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

.article__body ul.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.article__body ul.chips li { margin: 0; padding: 6px 12px; background: #fff; border: 1px solid var(--line-light); font-size: 0.9rem; font-weight: 600; }
.article__body ul.chips li::before { display: none; }
.article__body ul.chips--ink li { background: var(--ink); border-color: var(--ink); color: #fff; }

.dist { display: grid; gap: 10px; }
.dist__row { display: grid; grid-template-columns: 8.4em 1fr; align-items: center; gap: 16px; font-size: 0.95rem; font-weight: 600; }
.dist__track { display: flex; align-items: center; gap: 10px; }
.dist__bar { flex: none; height: 24px; background: var(--ink); }
.dist__row:first-child .dist__bar { background: var(--brass); }
.dist__track b { font-size: 0.88rem; white-space: nowrap; }
@media (max-width: 560px) { .dist__row { grid-template-columns: 1fr; gap: 4px; } }

.qcard { background: #fff; border: 1px solid var(--line-light); box-shadow: 0 14px 34px -22px rgba(6, 20, 38, 0.45); padding: 20px 24px 22px; }
.qcard__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-light); }
.qcard__paper { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.qcard__date { font-size: 0.82rem; color: var(--ink-soft); }
.article__body .qcard blockquote { border: 0; padding: 14px 0 0; font-style: normal; font-family: var(--serif); font-size: 1.16rem; line-height: 1.55; }
.qcard__who { margin-top: 10px; font-size: 0.88rem; color: var(--ink-soft); }
.qcard__link { display: inline-block; margin-top: 10px; font-size: 0.9rem; font-weight: 600; text-decoration-color: var(--brass); text-underline-offset: 4px; }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc > div { background: #fff; border: 1px solid var(--line-light); border-top: 4px solid var(--open); padding: 16px 18px 18px; }
.pc > .pc__con { border-top-color: #b8543a; }
.pc h3 { margin: 0; font-size: 1.05rem; }
.article__body .pc ul li { padding-left: 32px; margin-top: 11px; font-size: 0.95rem; line-height: 1.42; }
.article__body .pc ul li::before { content: "\2713"; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--open); color: #fff; font-size: 0.78rem; font-weight: 700; display: grid; place-items: center; }
.article__body .pc .pc__con ul li::before { content: "\2715"; background: #b8543a; }
@media (max-width: 640px) { .pc { grid-template-columns: 1fr; } }

.article__body ol.checks { list-style: none; padding: 0; counter-reset: c; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.article__body ol.checks li { counter-increment: c; position: relative; margin: 0; padding: 15px 16px 15px 56px; background: #fff; border: 1px solid var(--line-light); font-size: 0.92rem; line-height: 1.45; color: var(--ink-soft); }
.article__body ol.checks li::before { content: counter(c); position: absolute; left: 15px; top: 15px; width: 28px; height: 28px; border-radius: 50%; background: var(--brass); color: var(--ink); font-size: 0.86rem; font-weight: 700; display: grid; place-items: center; }
.checks b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 560px) { .article__body ol.checks { grid-template-columns: 1fr; } }

.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; background: var(--ink); color: #fff; padding: 22px 24px; }
.cta-box p { max-width: 28em; font-size: 1.02rem; line-height: 1.45; }
.cta-box p a { color: #fff; text-decoration-color: var(--brass); text-underline-offset: 4px; }

.vguide .illus-figure img { height: clamp(240px, 38vw, 470px); }
.srcs > summary { cursor: pointer; font-weight: 700; font-size: 1rem; padding: 12px 0; border-top: 1px solid var(--line-light); }
.srcs[open] > summary { margin-bottom: 6px; }

/* picture-led rollout to the other guides and articles (12 Oct 2026, req-BF1CD2A3): content.py _bars, _vs, _flow */
.dist--wide .dist__row { grid-template-columns: 11.5em 1fr; }
.dist--plain .dist__row:first-child .dist__bar { background: var(--ink); }
.dist .dist__row--hl .dist__bar { background: var(--brass); }
@media (max-width: 560px) { .dist--wide .dist__row { grid-template-columns: 1fr; } }

.vs { display: grid; gap: 12px; }
.vs--2 { grid-template-columns: 1fr 1fr; }
.vs--3 { grid-template-columns: repeat(3, 1fr); }
.vs--4 { grid-template-columns: repeat(2, 1fr); }
.vs__col { background: #fff; border: 1px solid var(--line-light); border-top: 4px solid var(--ink); padding: 15px 17px 17px; }
.vs__col--brass { border-top-color: var(--brass); }
.vs__col--rust { border-top-color: #b8543a; }
.vs__col--green { border-top-color: var(--open); }
.article__body .vs__h { margin: 0 0 4px; font-size: 1.12rem; line-height: 1.25; }
.vs__col--brass .vs__h { color: var(--brass-deep); }
.vs__col--rust .vs__h { color: #9a4128; }
.vs__col--green .vs__h { color: #1f7a5b; }
.vs dl { margin: 0; }
.vs dt { margin-top: 11px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.vs dd { margin: 2px 0 0; font-size: 0.93rem; line-height: 1.42; color: var(--ink); }
@media (max-width: 760px) { .vs--3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .vs--2, .vs--4 { grid-template-columns: 1fr; } }

.article__body ol.flow { list-style: none; padding: 0; counter-reset: f; }
.article__body ol.flow li { counter-increment: f; position: relative; margin: 0; padding: 0 0 18px 50px; font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); }
.article__body ol.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.86rem; font-weight: 700; display: grid; place-items: center; z-index: 1; }
.article__body ol.flow li::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--slab); }
.article__body ol.flow li:last-child { padding-bottom: 0; }
.article__body ol.flow li:last-child::after { display: none; }
.flow b { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; padding-top: 5px; margin-bottom: 2px; }

/* Sunsuria Kejora guide (req-BF1CD2A3) */
/* main map pin labelled to the right (Kejora guide): clear the bigger brass dot, as .map__pin--main.map__pin--l does */
.map__pin--main.map__pin--r b { left: 18px; }

/* freehold-or-leasehold-factory-land (req-BF1CD2A3) */
/* freehold or leasehold (req-BF1CD2A3): tenure lanes, title-type grid, lease runway */
.lanes { background: #fff; border: 1px solid var(--line-light); padding: 18px 18px 16px; display: grid; gap: 18px; font-family: var(--sans); }
.lanes__row { display: grid; grid-template-columns: 7.2em 1fr; gap: 7px 16px; align-items: center; }
.lanes__name { font-weight: 700; font-size: 1rem; color: var(--ink); }
.lanes__bar { position: relative; display: block; height: 30px; }
.lanes__bar b { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 0.82rem; white-space: nowrap; }
.lanes__bar--free { background: var(--open); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
.lanes__bar--free b { color: #fff; }
.lanes__bar--lease { width: 72%; background: var(--brass); }
.lanes__bar--lease b { color: var(--ink); }
.lanes__bar--lease::after { content: ""; position: absolute; right: -4px; top: -7px; bottom: -7px; width: 4px; background: #b8543a; }
.lanes__note { grid-column: 2; font-size: 0.88rem; line-height: 1.42; color: var(--ink-soft); }
@media (max-width: 560px) { .lanes__row { grid-template-columns: 1fr; } .lanes__note { grid-column: 1; } }

.tgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); font-family: var(--sans); }
.tgrid > div { background: #fff; padding: 12px 14px; font-size: 0.92rem; line-height: 1.35; }
.tgrid > .tgrid__corner, .tgrid > .tgrid__row { background: var(--paper); }
.tgrid__h { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tgrid > .tgrid__h--free { border-top: 4px solid var(--open); color: #1f7a5b; }
.tgrid > .tgrid__h--lease { border-top: 4px solid var(--brass); color: var(--brass-deep); }
.tgrid__row > span { font-weight: 700; color: var(--ink); }
.tgrid small { display: block; font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
.tgrid__c b { display: block; font-size: 1.1rem; color: var(--ink); }
.tgrid-fig figcaption { margin-top: 8px; font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }
@media (max-width: 560px) { .tgrid { grid-template-columns: 1fr 1fr; } .tgrid > .tgrid__corner { display: none; } .tgrid > .tgrid__row { grid-column: 1 / -1; } }

.runway { background: #fff; border: 1px solid var(--line-light); padding: 16px 18px 14px; font-family: var(--sans); }
.runway__key { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.84rem; line-height: 1.35; color: var(--ink-soft); margin-bottom: 30px; }
.runway__key > span { display: flex; align-items: baseline; }
.runway__sw { flex: none; display: inline-block; width: 22px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.runway__sw--zone { background: repeating-linear-gradient(135deg, #b8543a 0 4px, rgba(184, 84, 58, 0.45) 4px 8px); }
.runway__sw--loan { background: var(--brass); }
.runway__track { position: relative; height: 34px; background: var(--ink); }
.runway__zone { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, #b8543a 0 6px, rgba(184, 84, 58, 0.55) 6px 12px); }
.runway__loan { position: absolute; top: 11px; height: 12px; background: var(--brass); }
.runway__mark { position: absolute; top: -15px; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; z-index: 1; }
.runway__axis { position: relative; height: 1.4em; margin-top: 6px; font-size: 0.78rem; color: var(--ink-soft); }
.runway__axis span { position: absolute; top: 0; transform: translateX(-50%); }
.runway__axis span:first-child { transform: none; }
.runway__axis span:last-child { transform: translateX(-100%); }
.runway figcaption { margin-top: 6px; font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }

/* light-medium-heavy-industry-land-title (req-BF1CD2A3) */
/* light, medium or heavy industry (req-BF1CD2A3): chart frame with sourced row names, approvals stack, category chips */
.vchart { background: #fff; border: 1px solid var(--line-light); padding: 16px 18px 14px; font-family: var(--sans); }
.vchart__t { margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brass-deep); }
.vchart .dist__row > span small { display: block; margin-top: 2px; font-size: 0.76rem; font-weight: 500; line-height: 1.3; color: var(--ink-soft); }
.vchart figcaption { margin-top: 12px; font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }

.layers-fig figcaption { margin-top: 10px; font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }
.article__body ol.layers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column-reverse; gap: 6px; font-family: var(--sans); }
.article__body ol.layers li { margin: 0; padding: 11px 16px 12px; background: var(--concrete); border-left: 5px solid var(--slab); font-size: 0.88rem; line-height: 1.42; color: var(--ink-soft); }
.layers b { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; margin-bottom: 2px; }
.article__body ol.layers li:nth-child(1) { background: var(--ink); border-left-color: var(--brass); color: rgba(255, 255, 255, 0.8); }
.layers li:nth-child(1) b { color: #fff; }
.article__body ol.layers li:nth-child(2) { margin: 0 2.5%; }
.article__body ol.layers li:nth-child(3) { margin: 0 5%; }
.article__body ol.layers li:nth-child(4) { margin: 0 7.5%; }
.article__body ol.layers li:nth-child(5) { margin: 0 10%; }
.article__body ol.layers li:nth-child(6) { margin: 0 12.5%; }
@media (max-width: 560px) { .article__body ol.layers li:nth-child(n) { margin-left: 0; margin-right: 0; } }
.article__body ul.chips.cats li.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* managed-industrial-park-maintenance-fee (req-BF1CD2A3) */
/* maintenance-fee guide (req-BF1CD2A3): the "paid from the fee?" chart and the chain of agreements (.chain is also
   used by the write-a-requirement article) */
.article__body ul.yn { border-top: 2px solid var(--ink); font-family: var(--sans); }
.article__body ul.yn li { margin: 0; padding: 13px 0; display: grid; grid-template-columns: 64px 1fr 13em; gap: 3px 16px; align-items: start; border-bottom: 1px solid var(--line-light); }
.article__body ul.yn li::before { display: none; }
.yn__tag { grid-row: span 2; align-self: start; padding: 5px 0; text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; color: #fff; background: var(--open); }
.yn--no .yn__tag { background: #b8543a; }
.yn--extra .yn__tag { background: var(--brass); color: var(--ink); }
.yn b { font-size: 0.98rem; line-height: 1.35; color: var(--ink); }
.yn small { grid-column: 2; font-size: 0.86rem; line-height: 1.42; color: var(--ink-soft); }
.yn em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-size: 0.86rem; font-weight: 600; line-height: 1.4; color: var(--rivet); }
@media (max-width: 640px) {
  .article__body ul.yn li { grid-template-columns: 54px 1fr; }
  .yn__tag { grid-row: span 3; }
  .yn em { grid-column: 2; grid-row: auto; }
}

.chain { display: flex; align-items: stretch; margin: 0; font-family: var(--sans); }
.chain__node { flex: 1 1 0; min-width: 0; display: grid; place-items: center; text-align: center; padding: 14px 10px; background: #fff; border: 1px solid var(--line-light); border-top: 4px solid var(--slab); }
.chain__node b { font-size: 0.93rem; line-height: 1.3; color: var(--ink); }
.chain__node--key { border-top-color: var(--brass); }
.chain__link { flex: 0 0 40px; position: relative; display: grid; place-items: center; }
.chain__link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--brass-deep); }
.chain__link i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.chain__link--arrow::after { content: ""; position: absolute; right: 1px; top: calc(50% - 5px); border-left: 9px solid var(--brass-deep); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.article__body ol.dia-key--one { grid-template-columns: 1fr; }
@media (max-width: 640px) {
  .chain { flex-direction: column; }
  .chain__node { padding: 12px 14px; }
  .chain__link { flex-basis: 34px; }
  .chain__link::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--brass-deep); }
  .chain__link--arrow::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 1px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--brass-deep); border-bottom: 0; }
}

/* prepare-to-list-a-factory (req-BF1CD2A3) */
/* prepare-to-list and write-a-requirement articles (req-BF1CD2A3): a short brief shown as a chat message */
.msg { position: relative; max-width: 32em; margin-left: 12px; padding: 13px 18px 14px; background: #fff; border: 1px solid var(--line-light); border-radius: 2px 16px 16px 16px; box-shadow: 0 10px 26px -20px rgba(6, 20, 38, 0.5); font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.msg::before { content: ""; position: absolute; left: -11px; top: -1px; border-top: 12px solid #fff; border-left: 12px solid transparent; filter: drop-shadow(-1px 0 0 var(--line-light)); }
.msg--good { background: #e8f5ee; border-color: rgba(47, 158, 119, 0.35); }
.msg--good::before { border-top-color: #e8f5ee; }
.msg--bad { background: #fbeee9; border-color: rgba(184, 84, 58, 0.3); }
.msg--bad::before { border-top-color: #fbeee9; }

/* write-a-factory-requirement (req-BF1CD2A3) */
/* write-a-requirement article (req-BF1CD2A3): the seven-line brief card, weak/strong messages, the 14-day line.
   It also uses .msg (prepare-to-list css) and .chain (maintenance-fee css). */
.brief7 { margin: 0; background: #fff; border: 1px solid var(--line-light); box-shadow: 0 14px 34px -22px rgba(6, 20, 38, 0.45); font-family: var(--sans); }
.brief7__head { display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.brief7__head span:last-child { color: var(--brass); }
.article__body ol.brief7__rows { list-style: none; padding: 0; margin: 0; counter-reset: b; }
.article__body ol.brief7__rows li { counter-increment: b; display: grid; grid-template-columns: 28px 1fr 34%; gap: 2px 14px; margin: 0; padding: 13px 18px; border-top: 1px solid var(--line-light); align-items: start; }
.article__body ol.brief7__rows li:first-child { border-top: 0; }
.article__body ol.brief7__rows li::before { content: counter(b); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--brass); color: var(--ink); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.brief7__rows b { font-size: 1rem; line-height: 1.3; color: var(--ink); }
.brief7__rows span { grid-column: 2; font-size: 0.87rem; line-height: 1.42; color: var(--ink-soft); }
.brief7__rows em { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 600; font-size: 0.9rem; line-height: 1.35; color: var(--ink); background: #e8f5ee; border-left: 3px solid var(--open); padding: 7px 10px; }
@media (max-width: 600px) {
  .article__body ol.brief7__rows li { grid-template-columns: 28px 1fr; padding: 13px 14px; }
  .article__body ol.brief7__rows li::before { grid-row: span 3; }
  .brief7__rows em { grid-column: 2; grid-row: auto; margin-top: 6px; }
}

.msgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: start; }
.msgs__item { margin: 0; }
.article__body .msgs__tag { display: inline-block; margin: 0 0 8px; padding: 3px 10px; font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: #b8543a; }
.article__body .msgs__tag--good { background: var(--open); }
.msgs .msg { margin-left: 12px; max-width: none; }
@media (max-width: 640px) { .msgs { grid-template-columns: 1fr; } }

.days { margin: 0; padding: 22px 18px 14px; background: #fff; border: 1px solid var(--line-light); font-family: var(--sans); }
.days__track { position: relative; height: 62px; margin: 0 34px; }
.days__track::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 4px; background: var(--slab); }
.days__mark { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.days__mark b { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.82rem; font-weight: 700; }
.days__mark--start b { background: var(--brass); color: var(--ink); }
.days__mark i { font-style: normal; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.days figcaption { margin-top: 6px; font-size: 0.86rem; line-height: 1.4; color: var(--ink-soft); }

/* eco-business-park-v (req-BF1CD2A3) */
/* Eco Business Park V guide (req-BF1CD2A3): gate status tags and the labels over each chip group */
.gate-tag { align-self: flex-start; margin-bottom: 4px; padding: 3px 9px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.3; background: var(--concrete); color: var(--ink-soft); }
.gate-tag--open { background: var(--brass); color: var(--ink); }
.chip-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-deep); }
.chip-label a { color: inherit; }
.vguide .chip-label + ul.chips { margin-top: 8px; }
.more-names[open] > summary { margin-bottom: 12px; }
.more-names .chip-label:first-of-type { margin-top: 0; }
.vguide .more-names > * + * { margin-top: 1em; }
.vguide p.note { font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); }

/* factory-power (req-BF1CD2A3) */
/* Factory power article (req-BF1CD2A3): switchboard plate, amps-to-kVA chart, TNB supply ladder, sizing chain */
.plate { margin-left: 0; margin-right: 0; margin-bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; align-items: center; background: #fff; border: 1px solid var(--line-light); padding: 18px 20px; }
.plate__face { display: flex; gap: 12px; align-items: baseline; background: var(--ink); color: var(--brass); padding: 18px 24px; font: 700 clamp(1.7rem, 4vw, 2.4rem)/1 var(--sans); letter-spacing: 0.03em; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(227, 181, 100, 0.45); }
.plate__b { color: #fff; }
.plate dl { margin: 0; display: grid; gap: 12px; }
.plate dt { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.plate dd { margin: 2px 0 0; font-size: 0.92rem; line-height: 1.42; color: var(--ink-soft); }
@media (max-width: 560px) { .plate { grid-template-columns: 1fr; } .plate__face { justify-content: center; } }

.kva, .ladder-fig { margin-left: 0; margin-right: 0; margin-bottom: 0; }
.kva__key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 10px; }
.kva__key i { display: inline-block; width: 18px; height: 11px; margin-right: 6px; vertical-align: -1px; }
.kva__key .k-park { background: var(--ink); }
.kva__key .k-list { background: var(--brass); }
.kva__key .k-ref { background: var(--slab); }
.kva__head, .kva__row, .kva__axis { display: grid; grid-template-columns: 3.6rem 1fr; column-gap: 14px; }
.kva__head > span:last-child { position: relative; height: 1.5em; }
.kva__head b { position: absolute; right: calc(100% - var(--at) * 100%); bottom: 2px; padding-right: 7px; white-space: nowrap; font-size: 0.76rem; font-weight: 700; color: #9a4128; }
.kva__rows { position: relative; }
.kva__track::after { content: ""; position: absolute; top: -8px; bottom: -6px; left: calc(var(--at) * 100%); border-left: 2px dashed #b8543a; pointer-events: none; }
.kva__row { row-gap: 3px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
.kva__a { font-weight: 700; font-size: 1rem; color: var(--ink); }
.kva__track { position: relative; height: 18px; }
.kva__bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.kva__row--list .kva__bar { background: var(--brass); }
.kva__row--ref .kva__bar { background: var(--slab); }
.kva__meta { grid-column: 2; font-size: 0.84rem; line-height: 1.35; color: var(--ink-soft); }
.kva__meta b { color: var(--ink); }
.kva__axis { font-size: 0.74rem; color: var(--ink-soft); padding-top: 6px; }
.kva__axis div { position: relative; height: 1.3em; }
.kva__axis div span { position: absolute; top: 0; transform: translateX(-50%); }
.kva__axis div span:first-child { transform: none; }
.kva__axis div span:last-child { transform: translateX(-100%); }
.kva figcaption { margin-top: 8px; font-size: 0.84rem; color: var(--ink-soft); }

.ladder-fig figcaption { margin-top: 10px; font-size: 0.84rem; color: var(--ink-soft); }
.article__body ol.ladder { list-style: none; padding: 0; display: grid; gap: 8px; }
.article__body ol.ladder li { margin: 0; padding: 12px 16px 12px 14px; }
.ladder__step { width: var(--w, 100%); display: grid; grid-template-columns: 4.4rem 1fr; column-gap: 14px; row-gap: 2px; background: #fff; border: 1px solid var(--line-light); border-left: 6px solid var(--ink); }
.ladder__v { grid-row: 1 / span 4; align-self: center; font-weight: 700; font-size: 1.08rem; color: var(--ink); white-space: nowrap; }
.ladder__step b { font-size: 1rem; line-height: 1.3; color: var(--ink); }
.ladder__step > span:not(.ladder__v):not(.ladder__here) { font-size: 0.9rem; line-height: 1.4; color: var(--ink-soft); }
.ladder__step > .ladder__amps { font-size: 0.8rem !important; }
.ladder__step--lv1 { border-left-color: var(--slab); }
.ladder__step--mv { border-left-color: var(--brass); }
.ladder__step--hv { border-left-color: #b8543a; }
.ladder__here { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.ladder__here em { font-style: normal; font-size: 0.74rem; font-weight: 700; padding: 2px 7px; background: rgba(227, 181, 100, 0.35); color: var(--ink); }
@media (max-width: 640px) { .ladder__step { width: 100%; } }

.chain { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.chain__box { flex: 1 1 118px; background: #fff; border: 1px solid var(--line-light); padding: 12px 14px; }
.chain__box b { display: block; font-size: 1.22rem; line-height: 1.15; color: var(--ink); }
.chain__box span { display: block; margin-top: 4px; font-size: 0.82rem; line-height: 1.35; color: var(--ink-soft); }
.chain__box--end { background: var(--ink); border-color: var(--ink); }
.chain__box--end b { color: var(--brass); }
.chain__box--end span { color: rgba(255, 255, 255, 0.82); }
.chain__op { flex: none; align-self: center; font-style: normal; font-weight: 700; font-size: 0.86rem; color: var(--brass-deep); }
.dist-note { font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }
.vguide .dist + .dist-note { margin-top: 0.6em; }
@media (max-width: 560px) { .chain { flex-direction: column; } .chain__box { flex: none; } .chain__op { align-self: flex-start; padding-left: 16px; } }
