:root {
  --canvas: #f5f6f2;
  --paper: #ffffff;
  --ink: #142a3a;
  --slate: #52626d;
  --blue: #096b83;
  --orange: #bd451d;
  --teal: #28766f;
  --mist: #dfe9e7;
  --sand: #e8ddca;
  --border: #d7d9d2;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --ui: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.65 var(--ui); text-rendering: optimizeLegibility; }
::selection { background: var(--orange); color: white; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--orange); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
:target { scroll-margin-top: 88px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--border); background: var(--canvas); }
.header-inner { width: var(--shell); min-height: 76px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 680; font-size: 21px; letter-spacing: -.03em; }
.brand > span > span { color: var(--blue); }
.brand img { display: block; border-radius: 9px; }
.primary-nav { display: flex; justify-content: center; gap: clamp(18px,3vw,42px); font-size: 14px; font-weight: 600; }
.primary-nav a { padding-block: 25px 23px; border-bottom: 2px solid transparent; color: var(--slate); text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--ink); }
.search-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--ink); }
.search-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-button:disabled { cursor: not-allowed; opacity: .55; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: var(--slate); font-size: 13px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.page-head { padding: 30px 0 36px; }
.head-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,.42fr); gap: 72px; align-items: end; padding-top: 40px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h1 { max-width: 980px; margin: 0; font-size: clamp(49px,6.2vw,82px); line-height: .98; letter-spacing: -.04em; }
.standfirst { max-width: 760px; margin: 28px 0 0; color: var(--slate); font: clamp(20px,2.2vw,29px)/1.42 var(--display); }
.head-note { padding: 22px 0 4px 26px; border-left: 1px solid var(--border); color: var(--slate); font-size: 13px; }
.head-note strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.prototype-note { margin: 22px 0 0; color: var(--slate); font-size: 12px; }

.trust-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--border); }
.trust-strip > div { padding: 18px 20px; border-left: 1px solid var(--border); }
.trust-strip > div:first-child { padding-left: 0; border-left: 0; }
.trust-strip span { display: block; color: var(--slate); font-size: 11px; }
.trust-strip strong { display: block; margin-top: 2px; font-size: 13px; }

.section { padding-block: 96px; }
.section-title { max-width: 760px; margin: 0 0 42px; font-size: clamp(36px,5vw,64px); line-height: 1.04; letter-spacing: -.035em; }
.section-intro { max-width: 720px; margin: -20px 0 44px; color: var(--slate); font: 22px/1.5 var(--display); }
.short-answer { display: grid; grid-template-columns: minmax(190px,.42fr) minmax(0,1.58fr); gap: 48px; padding: 36px 0; border-block: 2px solid var(--ink); }
.short-answer h2 { margin: 0; font-size: 25px; }
.short-answer p { max-width: 780px; margin: 0; font: 25px/1.48 var(--display); }
.answer-near-title { padding-block: 28px 34px; }
.answer-near-title .short-answer { border-top: 0; }
.visual-status { display: block; margin-top: 12px; color: var(--slate); font-size: 11px; line-height: 1.45; }
.about-page { padding-block: 72px 84px; border-top: 1px solid var(--border); }
.about-page__head { display: grid; grid-template-columns: minmax(210px,.45fr) minmax(0,1.55fr); gap: 48px; margin-bottom: 30px; }
.about-page h2 { margin: 0; font-size: clamp(30px,4vw,45px); line-height: 1.08; }
.about-page__head p { max-width: 720px; margin: 0; color: var(--slate); }
.page-record { margin: 0; border-top: 2px solid var(--ink); }
.page-record > div { display: grid; grid-template-columns: minmax(145px,.35fr) minmax(0,1.65fr); gap: 28px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.page-record dt { color: var(--slate); font-size: 12px; }
.page-record dd { margin: 0; font-size: 14px; }
.reading-grid { display: grid; grid-template-columns: 200px minmax(0,720px) minmax(190px,1fr); gap: clamp(32px,5vw,74px); align-items: start; padding-block: 82px 110px; }
.contents { position: sticky; top: 24px; font-size: 13px; }
.contents strong { display: block; margin-bottom: 13px; }
.contents a { display: block; padding: 10px 0; border-top: 1px solid var(--border); color: var(--slate); text-decoration: none; }
.prose section { margin-top: 68px; }
.prose section:first-child { margin-top: 0; }
.prose h2 { margin: 0 0 24px; font-size: clamp(32px,4vw,49px); line-height: 1.08; letter-spacing: -.03em; }
.prose h3 { margin: 38px 0 14px; font-size: 25px; }
.prose p, .prose li { max-width: 70ch; }
.side-note { padding: 26px; background: var(--mist); font-size: 13px; }
.side-note h2 { margin: 0 0 12px; font-size: 26px; }
.side-note p { margin: 0; color: var(--slate); }

.site-footer { padding: 38px 0; background: var(--ink); color: #c8d5d9; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand { color: white; }
.site-footer p { margin: 0; font-size: 13px; }

/* Template directory */
.directory-hero { padding-block: 72px 52px; border-bottom: 1px solid var(--border); }
.directory-hero p { max-width: 760px; color: var(--slate); font: 24px/1.5 var(--display); }
.template-list { padding-block: 44px 100px; }
.template-link { display: grid; grid-template-columns: 54px minmax(220px,.65fr) minmax(0,1fr) 100px; gap: 28px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; }
.template-link:first-child { border-top: 1px solid var(--border); }
.template-link span { color: var(--blue); font-size: 12px; }
.template-link strong { font: 29px/1.2 var(--display); }
.template-link p { margin: 0; color: var(--slate); font-size: 14px; }
.template-link em { color: var(--slate); font-size: 12px; font-style: normal; text-align: right; }
.template-link:hover strong { color: var(--orange); }

/* Rules guide */
.rules-banner { background: var(--ink); color: white; }
.rules-banner .shell { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 54px; }
.rules-banner h2 { margin: 0; font-size: clamp(34px,4vw,54px); line-height: 1.06; }
.rules-banner p { margin: 0; color: #c8d5d9; }
.steps { counter-reset: steps; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--border); }
.steps li::before { content: counter(steps); width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font-weight: 700; }
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--slate); }
.warning { margin: 40px 0; padding: 25px 28px; border-block: 1px solid var(--orange); background: #f8eee9; }
.warning strong { display: block; margin-bottom: 6px; }
.source-ledger { margin-top: 42px; border-top: 2px solid var(--ink); }
.source-ledger div { display: grid; grid-template-columns: 150px 1fr; gap: 25px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.source-ledger dt { color: var(--slate); font-size: 12px; }
.source-ledger dd { margin: 0; font-size: 14px; }

/* Neighbourhood */
.neighbourhood-plate { background: var(--mist); }
.neighbourhood-plate .shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: center; min-height: 620px; }
.place-summary h2 { margin: 0; font-size: clamp(40px,5vw,66px); line-height: 1.02; }
.place-summary p { max-width: 460px; color: var(--slate); }
.suitability { margin-top: 34px; border-top: 1px solid #9ab1ad; }
.suitability div { display: grid; grid-template-columns: 125px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid #9ab1ad; font-size: 13px; }
.suitability dt { color: var(--slate); }
.suitability dd { margin: 0; font-weight: 650; }
.city-map { position: relative; min-height: 480px; overflow: hidden; background: #edf2ef; border: 1px solid #b9cbc7; }
.city-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-key { position: absolute; left: 24px; right: 24px; bottom: 20px; display: grid; grid-template-columns: repeat(3,auto) 1fr; gap: 5px 16px; align-items: center; padding: 12px 15px; background: rgba(255,255,255,.94); font-size: 11px; }
.map-key em { justify-self: end; color: var(--slate); font-style: normal; }
.map-key span::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 8px; vertical-align: middle; background: var(--blue); }
.map-key span:nth-child(2)::before { background: var(--orange); }
.map-key span:nth-child(3)::before { background: var(--ink); }
.life-grid { border-top: 2px solid var(--ink); }
.life-grid article { min-height: 0; display: grid; grid-template-columns: minmax(170px,.42fr) minmax(0,1.2fr) minmax(150px,.38fr); gap: 30px; align-items: baseline; padding: 25px 0; border-bottom: 1px solid var(--border); }
.life-grid h3 { margin: 0 0 18px; font-size: 31px; }
.life-grid p { margin: 0; color: var(--slate); }
.life-grid a { justify-self: end; font-size: 13px; }
.tradeoffs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.tradeoffs article { padding: 36px; background: var(--paper); }
.tradeoffs h3 { margin-top: 0; }

/* Data story */
.finding-plate { background: var(--ink); color: white; }
.finding-plate .shell { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: center; min-height: 660px; padding-block: 60px; }
.finding-copy h2 { margin: 0; font-size: clamp(42px,5vw,70px); line-height: 1.02; }
.finding-copy p { color: #c8d5d9; }
.bar-chart { margin: 0; }
.bars { height: 390px; display: flex; align-items: end; gap: clamp(18px,4vw,46px); padding: 28px 28px 0; border-left: 1px solid #637984; border-bottom: 1px solid #637984; }
.bar { position: relative; flex: 1; min-width: 42px; background: var(--teal); }
.bar:nth-child(2) { background: var(--blue); }
.bar:nth-child(3) { background: var(--orange); }
.bar:nth-child(4) { background: #b99b6b; }
.bar strong { position: absolute; top: -35px; left: 0; color: white; font-size: 15px; }
.bar span { position: absolute; left: 0; bottom: -34px; color: #c8d5d9; font-size: 11px; white-space: nowrap; }
.bar-chart figcaption { margin-top: 52px; color: #aebdc3; font-size: 11px; }
.metric-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.metric-table th, .metric-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); text-align: right; font-variant-numeric: tabular-nums; }
.metric-table th:first-child, .metric-table td:first-child { text-align: left; }
.metric-table thead th { border-top: 2px solid var(--ink); color: var(--slate); font-size: 11px; }
.method { padding: 36px; background: var(--paper); }
.method h2 { margin-top: 0; }

/* Comparison */
.scenario-answer { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--border); }
.scenario-answer article { min-height: 230px; padding: 30px; border-left: 1px solid var(--border); }
.scenario-answer article:first-child { border-left: 0; }
.scenario-answer h2 { margin: 0 0 22px; font-size: 29px; }
.scenario-answer p { color: var(--slate); font-size: 14px; }
.comparison-wrap { overflow-x: auto; }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 21px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.comparison-table thead th { border-top: 2px solid var(--ink); font: 23px/1.2 var(--display); }
.comparison-table tbody th { width: 190px; color: var(--slate); font-size: 12px; }
.comparison-table td { font-size: 14px; }
.decision-line { display: grid; grid-template-columns: 180px 1fr; gap: 25px; padding: 22px 0; border-top: 1px solid var(--border); }
.decision-line strong { color: var(--blue); }
.decision-line p { margin: 0; }

/* Section hub */
.section-hero { padding-block: 42px 72px; border-bottom: 1px solid var(--border); }
.section-hero h1 { margin-top: 72px; }
.lead-story { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 550px; border-bottom: 1px solid var(--border); }
.lead-copy { display: flex; flex-direction: column; justify-content: center; padding: 60px 70px max(60px,6vw) max(24px,calc((100vw - min(1240px,100vw - 48px))/2)); background: var(--ink); color: white; }
.lead-copy h2 { max-width: 560px; margin: 0; font-size: clamp(39px,5vw,68px); line-height: 1.02; }
.lead-copy p { max-width: 520px; color: #c8d5d9; }
.lead-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--mist); }
.lead-visual svg { width: min(78%,620px); height: auto; }
.route-list { border-top: 2px solid var(--ink); }
.route-list a { min-height: 0; display: grid; grid-template-columns: minmax(120px,.3fr) minmax(280px,.9fr) minmax(220px,.7fr); gap: 30px; align-items: baseline; padding: 25px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; }
.route-list span { color: var(--blue); font-size: 12px; }
.route-list strong { display: block; font: 27px/1.18 var(--display); }
.route-list p { margin: 0; color: var(--slate); font-size: 13px; }
.fresh-list a { display: grid; grid-template-columns: 130px 1fr 120px; gap: 28px; padding: 23px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; }
.fresh-list a:first-child { border-top: 1px solid var(--border); }
.fresh-list span, .fresh-list time { color: var(--slate); font-size: 12px; }
.fresh-list strong { font: 23px/1.3 var(--display); }

@media (max-width: 1000px) {
  .head-grid, .neighbourhood-plate .shell, .finding-plate .shell { grid-template-columns: 1fr; }
  .head-note { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .reading-grid { grid-template-columns: 160px minmax(0,1fr); }
  .side-note { grid-column: 2; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-visual { min-height: 420px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 30px,620px); }
  body { font-size: 16px; }
  .header-inner { min-height: 66px; grid-template-columns: 1fr auto; gap: 16px; }
  .brand img { width: 38px; height: 38px; }
  .primary-nav { grid-column: 1/-1; grid-row: 2; justify-content: flex-start; gap: 24px; overflow-x: auto; border-top: 1px solid var(--border); }
  .primary-nav a { flex: 0 0 auto; padding-block: 12px 10px; }
  .search-button { grid-column: 2; grid-row: 1; }
  .page-head { padding-top: 22px; }
  .head-grid { gap: 30px; padding-top: 42px; }
  h1 { font-size: clamp(47px,14vw,68px); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .trust-strip > div:nth-child(4) { border-top: 1px solid var(--border); }
  .section { padding-block: 68px; }
  .short-answer, .rules-banner .shell { grid-template-columns: 1fr; gap: 18px; }
  .about-page__head, .page-record > div { grid-template-columns: 1fr; gap: 8px; }
  .map-key { position: static; grid-template-columns: 1fr; margin-top: 380px; }
  .map-key em { justify-self: start; }
  .reading-grid { display: block; padding-block: 58px 75px; }
  .contents { position: static; margin-bottom: 50px; }
  .side-note { margin-top: 55px; }
  .directory-hero { padding-block: 50px 34px; }
  .template-link { grid-template-columns: 36px 1fr; gap: 14px; }
  .template-link p, .template-link em { grid-column: 2; text-align: left; }
  .city-map { min-height: 380px; }
  .tradeoffs, .scenario-answer { grid-template-columns: 1fr; }
  .life-grid article, .route-list a { display: block; padding: 25px 0; }
  .life-grid h3, .route-list strong { margin-top: 8px; }
  .life-grid p, .route-list p { margin: 10px 0 14px; }
  .life-grid a { justify-self: auto; }
  .scenario-answer article { min-height: 0; border-left: 0; border-top: 1px solid var(--border); }
  .scenario-answer article:first-child { border-top: 0; }
  .comparison-wrap:has(.comparison-table)::before { content: "Scroll horizontally to compare both areas."; display: block; padding: 0 0 12px; color: var(--slate); font-size: 12px; }
  .finding-plate .shell { min-height: 0; }
  .bars { height: 300px; gap: 15px; padding-inline: 12px; }
  .bar span { width: 62px; bottom: -50px; white-space: normal; font-size: 9px; line-height: 1.2; }
  .bar-chart { padding-bottom: 64px; }
  .lead-copy { padding: 55px 24px; }
  .fresh-list a { grid-template-columns: 1fr; gap: 5px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .contents, .site-footer { display: none; } body { background: white; color: black; } .shell { width: 100%; } }

/* Premium LivingDubai visual system — shared with the approved atlas homepage. */
:root {
  --canvas: #f4f1e8;
  --paper: #fffdf8;
  --ink: #102d3b;
  --slate: #536873;
  --blue: #0b6575;
  --orange: #c45b3c;
  --mist: #e8eeeb;
  --border: rgba(16,45,59,.18);
}
.site-header { background: rgba(255,253,248,.97); }
.section-hero { background: linear-gradient(180deg, #fffdf8, #f4f1e8); }
.lead-visual {
  isolation: isolate;
  background: url("../homepage/assets/dubai-atlas-v2.jpg") 72% 56% / cover no-repeat;
}
.lead-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(10,48,61,.08), rgba(10,48,61,.42));
}
.lead-visual svg {
  position: relative;
  z-index: 1;
  width: min(68%,620px);
  padding: 26px;
  background: rgba(255,253,248,.88);
  box-shadow: 0 30px 70px rgba(16,45,59,.22);
  backdrop-filter: blur(10px);
}
.city-map {
  background: url("../homepage/assets/dubai-atlas-v2.jpg") 48% 70% / 210% no-repeat;
  border-color: rgba(16,45,59,.2);
}
.city-map svg { background: rgba(232,238,235,.58); backdrop-filter: blur(1px); }
.site-footer { background: #0b2937; }

/* Page-specific atmosphere inside one shared publication system. */
.template-neighbourhood .page-head,
.template-comparison .page-head {
  position: relative;
  isolation: isolate;
}
.template-neighbourhood .page-head::after,
.template-comparison .page-head::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--canvas), rgba(244,241,232,.12)), url("../homepage/assets/dubai-atlas-v2.jpg") 56% 66% / 210% no-repeat;
  opacity: .3;
}
.template-comparison .page-head::after { background-position: 43% 66%; filter: saturate(.7); }
.template-rules .page-head { position: relative; }
.template-rules .page-head::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 58px;
  width: 140px;
  height: 210px;
  border: 9px solid rgba(11,101,117,.12);
  border-bottom-width: 24px;
  pointer-events: none;
}
.template-data .finding-plate { background: #0b2937; }
.template-data .bar { box-shadow: inset 0 1px rgba(255,255,255,.24); }

/* Contextual closing panel and compact footer shared by every core template. */
.closing-panel { overflow: hidden; background: #e8eeeb; }
.closing-grid {
  display: grid;
  grid-template-columns: minmax(230px,.64fr) minmax(420px,1.18fr) minmax(230px,.58fr);
  gap: clamp(28px,4vw,64px);
  align-items: center;
  min-height: 500px;
  padding-block: 58px;
}
.closing-grid h2 { margin: 0; font-size: clamp(38px,4vw,56px); line-height: .96; letter-spacing: -.025em; text-transform: uppercase; }
.closing-grid > div:first-child p { max-width: 315px; margin: 27px 0 0; color: var(--slate); font: 19px/1.4 var(--display); }
.closing-grid > div:first-child::after { content: ""; display: block; width: 52px; height: 2px; margin-top: 30px; background: var(--blue); }
.closing-visual { position: relative; min-height: 350px; background-image: url("../homepage/assets/dubai-atlas-v2.jpg"); background-size: 185%; background-repeat: no-repeat; mix-blend-mode: multiply; }
.closing-visual::after { content: "Illustrative context artwork—not a navigation map."; position: absolute; right: 8px; bottom: 7px; padding: 4px 7px; background: rgba(232,238,235,.82); color: var(--slate); font-size: 9px; }
.closing-visual[data-art="burj"] { background-position: 90% 34%; }
.closing-visual[data-art="marina"] { background-position: 48% 72%; }
.closing-visual[data-art="metro"] { background-position: 69% 63%; filter: saturate(.7); }
.closing-visual[data-art="routes"] { background-position: 45% 69%; filter: saturate(.75); }
.closing-frame { background: none; mix-blend-mode: normal; }
.closing-frame::before { content: ""; position: absolute; inset: 18px 26%; border: 12px solid var(--ink); border-bottom-width: 34px; box-shadow: 24px 24px 0 rgba(11,101,117,.12); }
.closing-grid > ul { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.closing-grid > ul::before { content: ""; position: absolute; left: 5px; top: 9px; bottom: 9px; width: 1px; background: #668d93; }
.closing-grid > ul li { position: relative; padding: 9px 0; }
.closing-grid > ul li::before { content: ""; position: absolute; left: -27px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); transform: translateY(-50%); }
.site-footer { padding: 0; color: #d5e0e3; }
.site-footer .footer-main { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; min-height: 150px; padding-block: 42px; }
.site-footer .footer-main > p { margin: 0; color: white; font: 21px/1.25 var(--display); text-align: right; }
.site-footer .footer-utility { display: flex; justify-content: space-between; gap: 30px; padding-block: 21px; border-top: 1px solid #36515f; color: #91a9af; font-size: 10px; }
.site-footer .footer-utility nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .footer-utility a { color: #b7c9cd; }

@media (max-width: 1000px) {
  .closing-grid { grid-template-columns: minmax(220px,.7fr) minmax(360px,1.3fr); gap: 38px; }
  .closing-grid > ul { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
}

@media (max-width: 720px) {
  .template-neighbourhood .page-head::after,
  .template-comparison .page-head::after { width: 100%; opacity: .16; }
  .template-rules .page-head::after { display: none; }
  .closing-grid { grid-template-columns: 1fr; gap: 34px; min-height: 0; padding-block: 68px; }
  .closing-grid h2 { font-size: 42px; }
  .closing-visual { min-height: 320px; }
  .closing-grid > ul { grid-column: auto; display: block; }
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .site-footer .footer-main > p { text-align: left; }
  .site-footer .footer-utility { display: grid; }
}
