/* ============================================================
   WeArrange — interior pages
   The landing page is a performance. These are documents: built
   to be read, skimmed, and returned to. Serif body, generous
   measure, real tables, and photography carrying the brand duotone.
   ============================================================ */

body.page { background: var(--ice); color: var(--blue); }

/* ------------------------------------------------------------
   PHOTOGRAPHY — brand duotone
   Greyscale the plate, tint it with the deep blue through a
   `color` blend, then lift the highlights with gold on soft-light.
   Two tones, both from the identity, and the source photograph is
   never left looking like a stock photograph.
   ------------------------------------------------------------ */
.duo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue-abyss);
}
.duo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.18) brightness(0.92);
}
.duo::before,
.duo::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.duo::before { background: var(--blue); mix-blend-mode: color; }
.duo::after {
  background: linear-gradient(155deg,
    rgba(218, 172, 0, 0.34) 0%,
    rgba(218, 172, 0, 0.06) 38%,
    rgba(179, 199, 255, 0.16) 72%,
    rgba(5, 6, 9, 0.30) 100%);
  mix-blend-mode: soft-light;
}
/* a legibility scrim, separate from the colour treatment so it can be
   tuned without disturbing the duotone */
.duo--dark > .duo__scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(5,6,9,0.88) 0%, rgba(5,6,9,0.42) 45%, rgba(5,6,9,0.18) 100%);
}
.duo__body { position: relative; z-index: 3; }

/* ------------------------------------------------------------
   PAGE HERO
   ------------------------------------------------------------ */
.phero {
  position: relative;
  min-height: clamp(30rem, 66vh, 46rem);
  display: grid;
  align-items: end;
  color: var(--ice);
  background: var(--night);
}
.phero > .duo { position: absolute; inset: 0; }
.phero__body {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(7rem, 16vh, 10rem) var(--gutter) clamp(2.5rem, 6vh, 4rem);
}
.phero__kicker {
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.phero__kicker .cap { width: 26px; height: 3px; background: currentColor; flex: none; }
.phero h1 { max-width: 20ch; margin-bottom: 1.2rem; }
.phero__sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.7vw + 0.92rem, 1.4rem);
  line-height: 1.5;
  max-width: 52ch;
  color: rgba(241, 245, 255, 0.86);
}
.phero__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  margin-top: clamp(1.6rem, 4vh, 2.6rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(241, 245, 255, 0.22);
  font-size: 0.86rem;
  color: rgba(241, 245, 255, 0.7);
}
.phero__meta b { font-weight: 500; color: var(--ice); }

/* ------------------------------------------------------------
   READING COLUMN
   ------------------------------------------------------------ */
.sect { padding-block: clamp(3rem, 8vh, 6rem); }
.sect--tight { padding-block: clamp(2rem, 5vh, 3.5rem); }
.sect--dark { background: var(--night); color: var(--ice); }
.sect--blue { background: var(--blue); color: var(--ice); }
.sect--peri { background: var(--peri); color: var(--blue); }

/* two-column: a sticky heading beside the running text */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.6rem, 5vw, 5rem);
  align-items: start;
}
.doc__aside { position: sticky; top: clamp(5rem, 12vh, 7rem); }
.doc__aside h2 { margin-bottom: 0.7rem; }
.doc__aside .label { display: block; margin-bottom: 0.5rem; }
@media (max-width: 880px) {
  .doc { grid-template-columns: 1fr; gap: 1.4rem; }
  .doc__aside { position: static; }
}

.rule { height: 1px; background: var(--rule); border: 0; margin-block: clamp(2rem, 5vh, 3.5rem); }

/* ------------------------------------------------------------
   FACT TABLE — real definition lists, not "label: value" cards
   ------------------------------------------------------------ */
.facts { border-top: 1px solid var(--rule); margin-top: 1.8rem; }
.facts > div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.5fr) minmax(0, 1fr);
  gap: 0.5rem clamp(1rem, 3vw, 2.5rem);
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.facts dt { font-size: 0.82rem; font-weight: 500; opacity: 0.55; }
.facts dd { font-family: var(--serif); font-size: 1rem; line-height: 1.5; }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ------------------------------------------------------------
   CALLOUT — the aside a practitioner would scribble in the margin
   ------------------------------------------------------------ */
.callout {
  border-left: 2px solid var(--gold);
  padding: 0.3rem 0 0.3rem clamp(1rem, 2.5vw, 1.8rem);
  margin-block: clamp(1.8rem, 4vh, 2.6rem);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.3rem);
  line-height: 1.48;
  max-width: 46ch;
}
.callout b { font-weight: 600; }
.callout__who {
  display: block; margin-top: 0.7rem;
  font-family: var(--text); font-size: 0.78rem;
  letter-spacing: 0.04em; opacity: 0.55; font-style: normal;
}

/* ------------------------------------------------------------
   STEPS — an ordered list that looks like a document, not a
   dashboard. No circles, no big numerals, no icons.
   ------------------------------------------------------------ */
.steps { counter-reset: s; margin-top: 1.6rem; }
.steps > li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.4rem clamp(0.8rem, 2vw, 1.4rem);
  padding-block: clamp(0.9rem, 2vh, 1.3rem);
  border-top: 1px solid var(--rule);
}
.steps > li::before {
  content: counter(s, decimal-leading-zero) '.';
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.45;
  padding-top: 0.12em;
}
.steps h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -0.02em; }
.steps p { font-family: var(--serif); font-size: 0.98rem; line-height: 1.55; opacity: 0.78; margin-top: 0.3rem; max-width: 60ch; }
.steps .when { display: block; margin-top: 0.5rem; font-family: var(--text); font-size: 0.76rem; color: var(--gold); letter-spacing: 0.04em; }

/* ------------------------------------------------------------
   CARD GRID — used sparingly, and never as the default container
   ------------------------------------------------------------ */
.cols { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cols--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .cols--2, .cols--3 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   JURISDICTION ENTRY — a photo band with the facts beneath,
   not a floating rounded rectangle
   ------------------------------------------------------------ */
.emirate { border-top: 1px solid var(--rule); padding-block: clamp(2rem, 5vh, 3.5rem); }
.emirate__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 860px) { .emirate__head { grid-template-columns: 1fr; } }
.emirate__shot { aspect-ratio: 16 / 10; border-radius: 3px; }
.emirate h2 { margin-bottom: 0.6rem; }
.emirate__lede { font-family: var(--serif); font-size: clamp(1rem, 0.5vw + 0.9rem, 1.2rem); line-height: 1.55; max-width: 54ch; }

.zones { margin-top: clamp(1.6rem, 4vh, 2.6rem); }
/* Scoped to its container: a bare `.zone` is far too generic a name to leave
   loose in a stylesheet — it collided with a body class and turned a whole
   page into a three-column grid. */
.zones .zone {
  display: grid;
  grid-template-columns: minmax(7rem, 0.32fr) minmax(0, 1fr) minmax(0, 0.75fr);
  gap: 0.4rem clamp(1rem, 2.5vw, 2.2rem);
  padding-block: clamp(0.9rem, 2vh, 1.3rem);
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.zone__code { font-family: var(--display); font-weight: 500; font-size: 1.06rem; letter-spacing: -0.02em; }
.zone__name { display: block; font-family: var(--text); font-size: 0.76rem; opacity: 0.5; margin-top: 0.18rem; font-weight: 400; letter-spacing: 0; }
.zone__for { font-family: var(--serif); font-size: 0.98rem; line-height: 1.5; }
.zone__note { font-size: 0.82rem; opacity: 0.6; line-height: 1.5; }
@media (max-width: 780px) {
  .zones .zone { grid-template-columns: 1fr; }
  .zone__note { padding-top: 0.2rem; }
}

/* ------------------------------------------------------------
   DIAGRAMS — generated, on-brand, and doing actual explanatory work
   ------------------------------------------------------------ */
.figure { margin-block: clamp(2rem, 5vh, 3.5rem); }
.figure svg { width: 100%; height: auto; display: block; overflow: visible; }
.figure figcaption {
  margin-top: 1rem;
  font-family: var(--serif); font-style: italic;
  font-size: 0.92rem; opacity: 0.62; max-width: 58ch;
}
.dg-line   { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.28; }
.dg-strong { fill: none; stroke: var(--gold); stroke-width: 1.6; }
.dg-fill   { fill: currentColor; opacity: 0.08; }
.dg-gold   { fill: var(--gold); }
.dg-label  { font-family: var(--text); font-size: 11px; fill: currentColor; opacity: 0.75; }
.dg-label--sm { font-size: 9.5px; opacity: 0.5; }
.dg-cap    { fill: currentColor; opacity: 0.16; }

/* ------------------------------------------------------------
   CROSS-LINKS
   ------------------------------------------------------------ */
.next { border-top: 1px solid var(--rule); }
.next a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding-block: clamp(1.2rem, 3vh, 1.9rem);
  border-bottom: 1px solid var(--rule);
  transition: padding-inline 0.5s var(--ease-out), color 0.4s;
}
.next a:hover { padding-inline: 0.9rem; color: var(--gold); }
.next__t { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 2.2vw, 1.8rem); letter-spacing: -0.025em; }
.next__d { font-family: var(--serif); font-size: 0.94rem; opacity: 0.6; margin-top: 0.2rem; }
.next__go { font-size: 1.2rem; opacity: 0.4; }

/* ------------------------------------------------------------
   IN-PAGE CONTENTS
   ------------------------------------------------------------ */
.toc { position: sticky; top: clamp(5rem, 12vh, 7rem); }
.toc ol { border-left: 1px solid var(--rule); }
.toc a {
  display: block;
  padding: 0.42rem 0 0.42rem 1rem;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 0.88rem;
  opacity: 0.6;
  transition: opacity 0.3s, border-color 0.3s, color 0.3s;
}
.toc a:hover { opacity: 1; }
.toc a.is-here { opacity: 1; border-left-color: var(--gold); color: var(--gold); }

/* ------------------------------------------------------------
   PHOTO CREDIT
   ------------------------------------------------------------ */
.credit {
  font-size: 0.7rem;
  opacity: 0.42;
  line-height: 1.6;
}
.credit a { text-decoration: underline; text-underline-offset: 0.15em; }

/* ============================================================
   JURISDICTION FINDER
   ============================================================ */
.zfind__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.6rem, 4vh, 2.6rem);
}
@media (max-width: 860px) { .zfind__head { grid-template-columns: 1fr; } }
.zfind__lede { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; opacity: 0.68; max-width: 52ch; }

.zfind__controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.8rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.zfield { display: flex; flex-direction: column; gap: 0.34rem; }
.zfield > span {
  font-family: var(--serif); font-style: italic;
  font-size: 0.86rem; opacity: 0.55;
}
.zfield select, .zfield input {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.66rem 0.8rem;
  font-size: 0.94rem;
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  transition: border-color 0.3s, background-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.zfield select {
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}
.zfield select:focus, .zfield input:focus { outline: none; border-color: var(--gold); background: #fff; }
.zfield--grow { grid-column: span 1; }

.zfind__count {
  font-family: var(--serif); font-style: italic;
  font-size: 0.92rem; opacity: 0.55;
  padding-block: 0.9rem;
}
.zfind__empty {
  font-family: var(--serif); font-size: 1rem; line-height: 1.55;
  opacity: 0.7; max-width: 54ch; padding-block: 1.4rem;
}
.zfind__empty a { text-decoration: underline; text-underline-offset: 0.15em; }

.zlist { border-top: 1px solid var(--rule); }
.zrow {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.24fr) minmax(0, 1fr) minmax(6rem, 0.28fr) minmax(5rem, 0.2fr);
  gap: 0.3rem clamp(0.8rem, 2.5vw, 2rem);
  align-items: baseline;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
  transition: padding-inline 0.45s var(--ease-out), color 0.3s, background-color 0.3s;
}
.zrow:hover { padding-inline: 0.8rem; color: var(--gold); background: rgba(255,255,255,0.5); }
.zrow[hidden] { display: none; }
.zrow__code { font-family: var(--display); font-weight: 500; font-size: 1.04rem; letter-spacing: -0.02em; }
.zrow__name { font-family: var(--serif); font-size: 0.96rem; }
.zrow__em, .zrow__kind { font-size: 0.8rem; opacity: 0.5; }
@media (max-width: 780px) {
  .zrow { grid-template-columns: 1fr auto; }
  .zrow__name { grid-column: 1 / -1; }
  .zrow__em { grid-column: 1; }
  .zrow__kind { grid-column: 2; text-align: right; }
}

/* ============================================================
   ZONE PAGE
   ============================================================ */
.zhero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 12% 10%, #000 0%, rgba(0,0,0,0) 48%),
    radial-gradient(95% 85% at 16% 88%, var(--gold) 0%, rgba(218,172,0,0) 54%),
    radial-gradient(110% 90% at 88% 20%, var(--peri) 0%, rgba(179,199,255,0) 56%),
    var(--blue);
}
.zhero__wash::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,6,9,0.9), rgba(5,6,9,0.35));
}
.zhero__id { display: flex; align-items: flex-end; gap: clamp(1rem, 2.5vw, 2rem); flex-wrap: wrap; }
.zhero h1 { margin-bottom: 0.2rem; }
.zhero__full {
  font-family: var(--serif);
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.28rem);
  opacity: 0.82;
}
/* The generated mark: the identity's 5x3 capsule module, cells picked from a
   hash of the slug, so every authority reads as part of one family. Swap in an
   official logo at img/logos/<slug>.svg when one is licensed for use. */
.zmark { width: clamp(58px, 7vw, 84px); height: auto; flex: none; margin-bottom: 0.45rem; }
.zmark rect { fill: var(--gold); }
.zmark--logo { background: rgba(241,245,255,0.9); border-radius: 3px; padding: 6px; }

.ztags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.6rem; }
.ztags a {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.4em 0.8em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  opacity: 0.78;
  transition: border-color 0.3s, color 0.3s, opacity 0.3s;
}
.ztags a:hover { border-color: var(--gold); color: var(--gold); opacity: 1; }

.zcta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.8rem, 4vh, 2.8rem); }

/* ============================================================
   ACTIVITY PAGES
   ============================================================ */
.ahero { min-height: clamp(24rem, 56vh, 36rem); }
.ahero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 90% at 10% 12%, #000 0%, rgba(0,0,0,0) 46%),
    radial-gradient(90% 80% at 22% 92%, var(--gold) 0%, rgba(218,172,0,0) 52%),
    radial-gradient(115% 95% at 86% 16%, var(--peri) 0%, rgba(179,199,255,0) 54%),
    var(--blue);
}
.ahero__wash::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,6,9,0.92), rgba(5,6,9,0.42));
}
.ahero .phero__sub { max-width: 60ch; }

.ztags__hint {
  font-family: var(--serif); font-style: italic;
  font-size: 0.94rem; opacity: 0.58;
  max-width: 52ch; margin-bottom: 0.9rem;
}

/* computed coverage bars — no invented figures, these count the dataset */
.astats { display: grid; gap: 0.7rem; margin-top: clamp(1.4rem, 3vh, 2rem); }
.astat {
  display: grid;
  grid-template-columns: 3rem minmax(0, 12rem) minmax(0, 1fr);
  gap: 0.6rem clamp(0.8rem, 2vw, 1.6rem);
  align-items: center;
}
.astat__n {
  font-family: var(--display); font-weight: 500;
  font-size: 1.5rem; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.astat__l { font-size: 0.9rem; opacity: 0.7; }
.astat__bar {
  height: 6px; border-radius: 999px;
  background: rgba(30, 62, 149, 0.14);
  overflow: hidden;
}
.astat__bar i { display: block; height: 100%; border-radius: 999px; }
.astat__bar .dg-gold { background: var(--gold); }
.astat__bar .dg-cap { background: var(--blue); opacity: 0.45; }
@media (max-width: 620px) {
  .astat { grid-template-columns: 3rem minmax(0, 1fr); }
  .astat__bar { grid-column: 1 / -1; }
}

.alinks { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.alinks a {
  font-size: 0.84rem;
  padding: 0.5em 0.9em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  opacity: 0.8;
  transition: border-color 0.3s, color 0.3s, opacity 0.3s;
}
.alinks a:hover { border-color: var(--gold); color: var(--gold); opacity: 1; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.crumbs {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.8rem;
}
.crumbs .shell { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.crumbs a { opacity: 0.6; transition: opacity 0.3s, color 0.3s; }
.crumbs a:hover { opacity: 1; color: var(--gold); }
.crumbs [aria-current] { opacity: 0.9; }
.crumbs__sep { opacity: 0.3; }
body.landing .crumbs { display: none; }

/* guide + comparison pages reuse the FAQ block from the landing page but on
   the light surface */
body.guidepage .qs, body.comparepage .qs { background: transparent; color: inherit; }
body.guidepage .q__t, body.comparepage .q__t { color: inherit; }

/* ============================================================
   COMPARISON TABLES
   ============================================================ */
.ctable__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ctable {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
  font-size: 0.95rem;
}
.ctable th, .ctable td {
  text-align: left;
  padding: 0.85rem clamp(0.6rem, 1.6vw, 1.2rem);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.ctable thead th {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.6rem;
}
.ctable tbody th {
  font-weight: 500;
  font-size: 0.82rem;
  opacity: 0.55;
  width: 30%;
}
.ctable td { font-family: var(--serif); line-height: 1.5; }
.ctable tbody tr:hover { background: rgba(255,255,255,0.4); }
body.comparepage .sect--dark .ctable tbody tr:hover { background: rgba(255,255,255,0.04); }

.ctable__sub { display: block; font-family: var(--text); font-size: 0.72rem; font-weight: 400; opacity: 0.5; margin-top: 0.15rem; }
.ctable--banks tbody th { width: 22%; font-size: 0.95rem; font-weight: 500; opacity: 1; font-family: var(--display); letter-spacing: -0.015em; }
.ctable--banks td:first-of-type { width: 24%; }
.gfacts { margin-top: 0.4rem; }
.gfacts li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
}
.gfacts li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 10px; height: 3px; border-radius: 999px; background: var(--gold);
}

/* ============================================================
   PAGE CTA — one-question router / contact block
   ============================================================ */
.pq__inner { max-width: 64rem; }
.pq__q { max-width: 22ch; margin: 0.4rem 0 1.4rem; }
.pq__opts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pq__opt {
  text-align: left;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.75em 1.3em;
  font-size: 0.95rem;
  color: inherit;
  transition: border-color 0.35s, background-color 0.35s, color 0.35s;
}
.pq__opt:hover { border-color: var(--gold); color: var(--gold); }
.pq__opt.is-on { border-color: var(--gold); background: var(--gold); color: var(--black); }
.pq__ans {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(10px);
}
.pq__ans.is-in { animation: pqin 0.5s var(--ease-out) forwards; }
@keyframes pqin { to { opacity: 1; transform: none; } }
.pq__txt {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 0.5vw + 0.92rem, 1.22rem);
  line-height: 1.55;
  max-width: 62ch;
  margin-bottom: 1.3rem;
  opacity: 0.9;
}
.pq__ans .btn { margin-right: 0.6rem; margin-bottom: 0.5rem; }
.pq__note { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 0.92rem; opacity: 0.5; }

.ctaform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .ctaform { grid-template-columns: 1fr; } }
.ctaform__blurb { font-family: var(--serif); font-size: 1.06rem; line-height: 1.55; opacity: 0.75; max-width: 42ch; margin-top: 0.8rem; }

/* ============================================================
   GENERATED GRAPHICS
   ============================================================ */
.gx svg { width: 100%; height: 26px; display: block; }
.gx__key { margin-top: 1.2rem; display: grid; gap: 0.55rem; }
.gx__row {
  display: grid;
  grid-template-columns: 12px minmax(7rem, 0.5fr) 3rem minmax(0, 1.4fr);
  gap: 0.5rem clamp(0.6rem, 1.6vw, 1.2rem);
  align-items: baseline;
  font-size: 0.9rem;
}
.gx__sw { width: 12px; height: 12px; border-radius: 999px; align-self: center; }
.gx__lb { font-weight: 500; }
.gx__pc { font-variant-numeric: tabular-nums; opacity: 0.55; }
.gx__dt { font-family: var(--serif); opacity: 0.66; line-height: 1.45; }
.gx__note { margin-top: 1rem; font-size: 0.78rem; opacity: 0.45; }
@media (max-width: 700px) {
  .gx__row { grid-template-columns: 12px minmax(0,1fr) 3rem; }
  .gx__dt { grid-column: 2 / -1; }
}
.dplan { width: 100%; height: auto; display: block; border-radius: 3px; }
.zmark--ice rect { fill: var(--ice); }

/* ============================================================
   NICHE DEPTH — sources, advantages and disadvantages
   ============================================================ */
.srcbox {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1rem, 2vw, 1.4rem);
  margin-block: clamp(1.6rem, 3.5vh, 2.4rem);
  background: rgba(255,255,255,0.4);
}
.srcbox__t {
  font-family: var(--text); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0.5; margin-bottom: 0.5rem;
}
.srcbox p { font-family: var(--serif); font-size: 0.94rem; line-height: 1.55; }
.srcbox__w { margin-top: 0.7rem; font-size: 0.82rem !important; opacity: 0.55; font-style: italic; }

.prosandcons { align-items: start; }
.pclist { margin-top: 0.4rem; }
.pclist > li {
  padding: 0.9rem 0 0.9rem 1.7rem;
  border-top: 1px solid var(--rule);
  position: relative;
}
.pclist > li::before {
  content: '';
  position: absolute; left: 0; top: 1.35rem;
  width: 12px; height: 3px; border-radius: 999px;
}
.pclist--pro > li::before { background: var(--gold); }
.pclist--con > li::before { background: currentColor; opacity: 0.3; }
.pclist h4 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  letter-spacing: -0.015em; margin-bottom: 0.25rem;
}
.pclist p { font-family: var(--serif); font-size: 0.94rem; line-height: 1.5; opacity: 0.75; }
@media (max-width: 620px) { .prosandcons { gap: 2rem; } }

/* ── zone page: the district it sits in ───────────────────────────── */
.zdist {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
}
.zdist__body .prose { max-width: 58ch; }
.zdist__body .prose + .prose { margin-top: 0.9rem; }
.zdist__body .btn { margin-top: 1.6rem; }
.zdist__plan svg { width: 100%; height: auto; display: block; }
.facts--tight { margin-top: 1.4rem; }
.facts--tight > div { padding: 0.55rem 0; }
@media (max-width: 860px) {
  .zdist { grid-template-columns: 1fr; }
  .zdist__plan { order: -1; max-width: 26rem; }
}

/* ── compare hub: the comparator ──────────────────────────────────── */
.cmp { margin-top: clamp(1.4rem, 3vh, 2.2rem); }
.cmp__pick {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: clamp(0.7rem, 2vw, 1.4rem); align-items: end;
}
.cmp__swap {
  appearance: none; border: 1px solid var(--rule); background: transparent;
  color: inherit; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  cursor: pointer; font-size: 1.15rem; line-height: 1; margin-bottom: 0.15rem;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.cmp__swap:hover { border-color: var(--gold); color: var(--gold); transform: rotate(180deg); }
.cmp__swap:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.cmp__out { margin-top: clamp(1.6rem, 4vh, 2.6rem); }
.cmp__out .ctable__wrap { margin-top: 0; }
.cmp__none { opacity: 0.4; }
.cmp__same { font-family: var(--serif); opacity: 0.6; padding: 2rem 0; }

.cmp__reads {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3.5vw, 3rem); margin-top: clamp(1.8rem, 4vh, 2.8rem);
  padding-top: clamp(1.6rem, 3.5vh, 2.4rem); border-top: 1px solid var(--rule);
}
.cmp__reads h3 { margin-bottom: 0.5rem; }
.cmp__cta { margin-top: clamp(1.6rem, 4vh, 2.4rem); }
.cmp__note {
  font-family: var(--serif); font-size: 0.94rem; line-height: 1.55;
  opacity: 0.62; max-width: 56ch; margin-top: 0.9rem;
}
@media (max-width: 760px) {
  .cmp__pick { grid-template-columns: 1fr; }
  .cmp__swap { justify-self: start; margin: 0.2rem 0; transform: rotate(90deg); }
  .cmp__swap:hover { transform: rotate(270deg); }
  .cmp__reads { grid-template-columns: 1fr; }
}

/* ── glossary: the ordered process ────────────────────────────────── */
.gsteps { list-style: none; counter-reset: gs; margin-top: 0.5rem; }
.gsteps li {
  counter-increment: gs; position: relative;
  padding: 0.85rem 0 0.85rem 2.6rem;
  border-bottom: 1px solid var(--rule);
}
.gsteps li:last-child { border-bottom: 0; }
.gsteps li::before {
  content: counter(gs); position: absolute; left: 0; top: 0.95rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  border: 1px solid var(--rule); display: grid; place-items: center;
  font-size: 0.76rem; opacity: 0.6;
}
.gsteps b {
  display: block; font-family: var(--display); font-weight: 500;
  letter-spacing: -0.015em; font-size: 1.02rem; margin-bottom: 0.2rem;
}
.gsteps span {
  display: block; font-family: var(--serif);
  font-size: 0.97rem; line-height: 1.55; opacity: 0.78;
}

/* ── qualitative comparison (graphics.contrast) ───────────────────── */
.cx__list { border-top: 1px solid var(--rule); margin-top: clamp(1.2rem, 3vh, 1.8rem); }
.cx__row {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  grid-template-areas: "rank label verdict" ". note note";
  gap: 0.15rem 0.8rem; align-items: baseline;
  padding: 0.85rem 0; border-bottom: 1px solid var(--rule);
}
.cx__rank {
  grid-area: rank; font-size: 0.76rem; opacity: 0.4;
  font-variant-numeric: tabular-nums;
}
.cx__lb {
  grid-area: label; font-family: var(--display); font-weight: 500;
  letter-spacing: -0.015em; font-size: clamp(0.98rem, 1.2vw, 1.06rem);
}
.cx__vd {
  grid-area: verdict; font-size: 0.8rem; white-space: nowrap;
  padding: 0.18rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--rule); opacity: 0.72;
}
.cx__nt {
  grid-area: note; font-family: var(--serif); font-size: 0.93rem;
  line-height: 1.5; opacity: 0.7; max-width: 62ch;
}
.cx__row.is-lead .cx__rank { opacity: 1; color: var(--gold); }
.cx__row.is-lead .cx__vd { border-color: var(--gold); color: var(--gold); opacity: 1; }
@media (max-width: 560px) {
  .cx__row { grid-template-columns: 1.5rem minmax(0, 1fr);
             grid-template-areas: "rank label" ". verdict" ". note"; }
  .cx__vd { justify-self: start; }
}
