/* ============================================================
   VERDANTIS — CITY
   BUILD 030: Section 05 kicker matches 01–04 city-index type.
   BUILD 019: Section 03 editorial left, basin rail right.
   Transform/opacity only. Pause via [data-page-hidden]
   and [data-hero-idle]. Do not touch HOME.
   ============================================================ */

.page-city {
  min-height: 100svh;
  background: var(--void);
}

.page-city .grain {
  display: none;
}

.page-city .site-header:not(.is-scrolled) {
  background: linear-gradient(
    to bottom,
    rgba(4, 8, 12, 0.46) 0%,
    rgba(4, 8, 12, 0.2) 28%,
    rgba(4, 8, 12, 0.06) 52%,
    transparent 78%
  );
}

.page-city .site-header:not(.is-scrolled) .brand-name,
.page-city .site-header:not(.is-scrolled) .site-nav a,
.page-city .site-header:not(.is-scrolled) .header-meta,
.page-city .site-header:not(.is-scrolled) .nav-toggle {
  text-shadow: 0 1px 16px rgba(4, 8, 12, 0.72), 0 0 3px rgba(4, 8, 12, 0.5);
}

.page-city .site-header:not(.is-scrolled) .site-nav a {
  color: #eef4ee;
}

.page-city .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
  color: #ffffff;
}

/* ---------- Hero ---------- */

.city-hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  color: var(--ink);
  background: #0c1614;
}

.city-vista {
  position: absolute;
  inset: 0;
}

.city-scene {
  position: absolute;
  inset: -2.5%;
}

.city-plate,
.city-shaft,
.city-mist,
.city-read,
.city-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.city-plate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  display: block;
}

.city-shaft {
  background: linear-gradient(
    104deg,
    transparent 18%,
    rgba(255, 220, 170, 0.07) 36%,
    transparent 52%
  );
  animation: city-shaft 28s linear infinite alternate;
}

.city-mist {
  background: radial-gradient(
    ellipse at 55% 42%,
    rgba(230, 236, 240, 0.14) 0%,
    transparent 58%
  );
  animation: city-mist 36s linear infinite alternate;
}

.city-read {
  background:
    linear-gradient(
      to bottom,
      rgba(4, 8, 12, 0.34) 0%,
      rgba(4, 8, 12, 0.12) 14%,
      rgba(4, 8, 12, 0.03) 26%,
      transparent 40%
    ),
    linear-gradient(
      to top,
      rgba(4, 8, 12, 0.1) 0%,
      rgba(4, 8, 12, 0.03) 12%,
      transparent 28%
    );
}

.city-frame {
  z-index: 3;
  inset: 1.1rem;
  border: 1px solid rgba(212, 196, 150, 0.12);
}

.city-identity {
  position: absolute;
  z-index: 6;
  left: clamp(4.5rem, 10vw, 8.75rem);
  bottom: clamp(8.5rem, 19vh, 12rem);
  max-width: 30rem;
  min-width: 0;
}

.city-context {
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #b8c8c2;
  text-shadow: 0 1px 12px rgba(4, 8, 12, 0.4);
}

.city-title {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 9vw, 7.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 6px 28px rgba(4, 8, 12, 0.45);
}

.city-support {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--interior);
  text-shadow: 0 2px 16px rgba(4, 8, 12, 0.4);
}

.city-stand {
  margin-top: 1.15rem;
  max-width: 27rem;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(4, 8, 12, 0.42);
  overflow-wrap: break-word;
}

.city-status {
  position: absolute;
  z-index: 6;
  top: 8.65rem;
  right: clamp(4.75rem, 9vw, 8.25rem);
  bottom: auto;
  min-width: 13.5rem;
  padding: 0.2rem 0 0.25rem 1.6rem;
  border-left: 1px solid rgba(232, 214, 168, 0.52);
}

.city-status-kicker {
  display: block;
  margin: 0 0 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d8e2dc;
  text-shadow: 0 1px 16px rgba(4, 8, 12, 0.7), 0 0 2px rgba(4, 8, 12, 0.45);
}

.city-status dl {
  display: grid;
  gap: 1.2rem;
  margin: 0;
}

.city-status dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8d5cf;
  text-shadow: 0 1px 16px rgba(4, 8, 12, 0.7), 0 0 2px rgba(4, 8, 12, 0.45);
}

.city-rail dt,
.city-figure-label,
.city-figure-note,
.city-index {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #93a59e;
}

.city-status dd {
  margin: 0.32rem 0 0;
  font-family: var(--font-mono);
  font-size: 1.28rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 16px rgba(4, 8, 12, 0.62), 0 0 2px rgba(4, 8, 12, 0.4);
}

.city-rail dd {
  margin: 0.2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.city-status dd[data-status="active"] {
  color: var(--emerald);
}

/* ---------- Intro ---------- */

body.is-intro .city-plate {
  opacity: 0.28;
}

body.is-intro .city-shaft,
body.is-intro .city-mist,
body.is-intro .city-identity,
body.is-intro .city-status,
body.is-intro .city-frame {
  opacity: 0;
}

body.is-awakening .city-plate {
  animation: city-fade 2s var(--ease-out) both;
}

body.is-awakening .city-shaft,
body.is-awakening .city-mist,
body.is-awakening .city-frame {
  animation: city-fade 1.4s 0.4s var(--ease-out) both;
}

body.is-awakening .city-identity {
  animation: city-rise 1.4s 0.3s var(--ease-out) both;
}

body.is-awakening .city-status {
  animation: city-fade 1.1s 1s var(--ease-out) both;
}

body.is-ready .city-plate,
body.is-ready .city-shaft,
body.is-ready .city-mist,
body.is-ready .city-identity,
body.is-ready .city-status,
body.is-ready .city-frame {
  opacity: 1;
}

/* ---------- Editorial ---------- */

.city-sec {
  position: relative;
  padding: 7.5rem var(--gutter) 7rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.city-index {
  margin-bottom: 1.5rem;
}

.city-sec h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0.02em;
  max-width: 14ch;
}

.city-move-copy p,
.city-water-copy p:not(.city-index),
.city-living p:not(.city-index),
.city-realm-body,
.city-vertical-lede,
.city-stack p {
  color: #c5d2cc;
  font-weight: 300;
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

.city-move-copy p + p,
.city-water-copy p + p,
.city-living p + p {
  margin-top: 1.15rem;
}

.city-move {
  background: linear-gradient(180deg, #071016 0%, #0c1a16 100%);
}

.city-move-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.7fr);
  gap: 4rem 5rem;
  align-items: end;
}

.city-move-copy h2 {
  margin-bottom: 1.6rem;
}

.city-figure {
  padding: 1.8rem 0 0.4rem 1.55rem;
  border-left: 1px solid var(--hairline-strong);
}

.city-figure-label {
  margin: 0;
}

.city-figure-value {
  margin: 0.7rem 0 0.85rem;
  font-size: clamp(4.45rem, 9vw, 6.55rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.city-figure-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.06em;
}

.city-figure-unit {
  margin-left: 0.18em;
  font-family: var(--font-display);
  font-size: 0.22em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b7c6c0;
  vertical-align: 0.28em;
}

.city-figure-note {
  margin: 0;
}

.city-realm {
  background: linear-gradient(180deg, #121410 0%, #1a1812 55%, #141612 100%);
  padding-top: 8.5rem;
  padding-bottom: 8.5rem;
}

.city-realm-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(16rem, 1.12fr);
  gap: 3.5rem 6vw;
  align-items: start;
}

.city-realm h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.city-realm-lead {
  margin: 2.15rem 0 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.22;
  color: #d7c09a;
}

.city-realm-principal {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 1.18em;
  line-height: 1.12;
  color: var(--interior);
}

.city-realm-body {
  margin-top: 2.2rem;
  max-width: 36rem;
}

.city-water {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(12rem, 0.72fr);
  gap: 3.5rem 5rem;
  align-items: center;
  background: linear-gradient(180deg, #071018 0%, #0c1820 100%);
}

.city-rail {
  padding: 0.4rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.city-rail-kicker {
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #93a59e;
}

.city-rail dl {
  display: grid;
  gap: 1.4rem;
  margin: 0;
}

.city-rail dd {
  font-size: 1.35rem;
  color: var(--ink);
}

.city-water-copy h2 {
  margin-bottom: 1.5rem;
}

.city-vertical {
  background: #081210;
}

.city-vertical-lede {
  margin: 1.6rem 0 3rem;
  max-width: 40rem;
}

.city-stack {
  --plate-inset: 3.15%;
  --plate-span: 54%;
  --plate-grow: 5.4%;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: none;
}

.city-stack li {
  --i: 0;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1.2rem;
  width: calc(var(--plate-span) + var(--i) * var(--plate-grow));
  max-width: none;
  margin-inline-start: calc(var(--i) * var(--plate-inset));
  padding: 1.25rem 0;
  border-top: 1px solid var(--hairline);
}

.city-stack li:nth-child(2) { --i: 1; }
.city-stack li:nth-child(3) { --i: 2; }
.city-stack li:nth-child(4) { --i: 3; }
.city-stack li:nth-child(5) { --i: 4; }

.city-stack li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.city-stack li > div {
  min-width: 0;
}

.city-stack-n {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--amber);
  padding-top: 0.35rem;
}

.city-stack h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.city-stack p {
  margin: 0;
  font-size: 0.98rem;
}

.city-living {
  overflow-x: clip;
  background: linear-gradient(180deg, #0a1210 0%, #071016 100%);
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.city-living h2,
.city-living p {
  max-width: 36rem;
}

.city-living h2 {
  margin-bottom: 1.8rem;
}

.city-living > .city-index,
.city-living > h2,
.city-living > p {
  position: relative;
  z-index: 1;
}

.city-climate {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: max(calc(36rem + var(--gutter) + 1.5rem), 45%);
  z-index: 0;
  pointer-events: none;
}

.city-climate-term {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.city-climate-word {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #c5d0ca;
}

.city-climate-verb {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212, 164, 90, 0.4);
}

.city-climate-light {
  top: 11%;
  left: 6%;
}

.city-climate-light .city-climate-word {
  font-size: clamp(4.4rem, 7.6vw, 7.1rem);
  opacity: 0.2;
}

.city-climate-rain {
  top: 31%;
  left: 44%;
}

.city-climate-rain .city-climate-word {
  font-size: clamp(3.6rem, 6.4vw, 5.9rem);
  opacity: 0.11;
}

.city-climate-air {
  top: 52%;
  left: 2%;
}

.city-climate-air .city-climate-word {
  font-size: clamp(3.2rem, 5.6vw, 5.2rem);
  opacity: 0.07;
}

.city-climate-habitat {
  top: 71%;
  left: 36%;
}

.city-climate-habitat .city-climate-word {
  font-size: clamp(4rem, 6.8vw, 6.45rem);
  opacity: 0.155;
}

.city-portals {
  position: relative;
  overflow: hidden;
  padding: 7rem var(--gutter) 6rem;
  border-top: 1px solid var(--hairline);
  background: #04080c;
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.city-portals-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(10rem, 0.7fr);
  gap: 3rem 4rem;
  align-items: center;
}

.city-portals h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  max-width: 14ch;
  margin-bottom: 2.6rem;
}

.city-portal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 42rem;
}

.city-portal-list a {
  display: flex;
  padding: 1.35rem 0;
  border-top: 1px solid var(--hairline);
  transition: padding-left var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.city-portal-list li:last-child a {
  border-bottom: 1px solid var(--hairline);
}

.city-portal-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
}

.city-portal-desc {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8bbb4;
}

.city-portals-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  user-select: none;
}

.city-portals-mark img {
  display: block;
  width: min(22rem, 86%);
  height: auto;
  opacity: 0.1;
}

.page-city .site-footer {
  color: #8fa099;
}

.city-portal-list a:hover,
.city-portal-list a:focus-visible {
  padding-left: 0.55rem;
}

.city-portal-list a:hover .city-portal-desc,
.city-portal-list a:focus-visible .city-portal-desc {
  color: var(--amber);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes city-shaft {
  from { transform: translate3d(-2%, 0, 0); opacity: 0.55; }
  to { transform: translate3d(3%, 0, 0); opacity: 1; }
}

@keyframes city-mist {
  from { transform: translate3d(0, 0, 0); opacity: 0.45; }
  to { transform: translate3d(-8%, 2%, 0); opacity: 0.85; }
}

@keyframes city-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes city-rise {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .city-plate-img {
    object-position: 50% 50%;
  }

  .city-identity {
    left: clamp(2.75rem, 6.5vw, 5.5rem);
    bottom: clamp(6.8rem, 15vh, 9.25rem);
  }

  .city-status {
    top: 8.25rem;
    right: clamp(2.75rem, 6vw, 5.25rem);
  }
}

@media (min-width: 901px) and (min-height: 700px) {
  .city-identity,
  .city-status {
    left: clamp(4.5rem, 10vw, 8.75rem);
  }

  .city-status {
    right: auto;
  }
}

/* Wide-tablet landscape: both columns share the left edge, but the
   desktop identity bottom/title still climb into the telemetry stack. */
@media (min-width: 901px) and (max-width: 1250px) and (max-height: 900px) {
  .city-identity {
    bottom: 2.15rem;
    max-width: 26rem;
  }

  .city-title {
    font-size: clamp(3.5rem, 6.6vw, 5rem);
  }

  .city-stand {
    max-width: 23rem;
    font-size: 0.96rem;
  }

  .city-status {
    top: 7.55rem;
    background: radial-gradient(ellipse at 15% 35%, rgba(4, 8, 12, 0.24), transparent 78%);
  }

  .city-status-kicker,
  .city-status dt,
  .city-status dd {
    color: #f3f7f3;
    text-shadow:
      0 0 10px rgba(4, 8, 12, 0.95),
      0 1px 3px rgba(4, 8, 12, 0.88),
      0 2px 22px rgba(4, 8, 12, 0.7);
  }

  .city-status dd[data-status="active"] {
    color: #8fd4a8;
  }
}

@media (max-width: 900px) {
  .page-city .site-header:not(.is-scrolled) {
    background: linear-gradient(
      to bottom,
      rgba(4, 8, 12, 0.46) 0%,
      rgba(4, 8, 12, 0.16) 40%,
      rgba(4, 8, 12, 0.04) 68%,
      transparent 100%
    );
  }

  .city-frame {
    inset: 0.55rem;
  }

  .city-status {
    scroll-margin-top: var(--header-h);
  }
}

@media (max-width: 900px) and (min-width: 721px) {

  .city-identity {
    left: clamp(1.6rem, 4.4vw, 2.6rem);
    right: clamp(1.6rem, 4.4vw, 2.6rem);
    bottom: 7.8rem;
    max-width: 32rem;
  }

  .city-status {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 0;
    width: 100%;
    padding: 0.9rem var(--gutter) 1.1rem;
    border-left: 0;
    border-top: 1px solid var(--hairline);
    background: linear-gradient(
      to top,
      rgba(4, 8, 12, 0.42) 0%,
      rgba(4, 8, 12, 0.14) 72%,
      transparent 100%
    );
  }

  .city-status-kicker {
    display: block;
    margin: 0 0 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c5d2cc;
  }

  .city-status dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .city-status dl > div {
    padding: 0 1rem;
    border-left: 1px solid var(--hairline);
  }

  .city-status dl > div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .city-move-grid,
  .city-realm-grid,
  .city-portals-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .city-water {
    gap: 2.8rem 3.25rem;
  }

  .city-stack {
    --plate-inset: 1.2%;
    --plate-span: 84%;
    --plate-grow: 2%;
  }

  .city-climate {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    height: 8.25rem;
    margin-top: 2.4rem;
  }

  .city-climate-light {
    top: 4%;
    left: 0;
  }

  .city-climate-light .city-climate-word {
    font-size: clamp(2.4rem, 7vw, 3.15rem);
    opacity: 0.18;
  }

  .city-climate-rain {
    top: 8%;
    left: auto;
    right: 4%;
  }

  .city-climate-rain .city-climate-word {
    font-size: clamp(2.1rem, 6.2vw, 2.75rem);
    opacity: 0.1;
  }

  .city-climate-air {
    top: auto;
    bottom: 2%;
    left: 18%;
  }

  .city-climate-air .city-climate-word {
    font-size: clamp(1.9rem, 5.6vw, 2.45rem);
    opacity: 0.07;
  }

  .city-climate-habitat {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
  }

  .city-climate-habitat .city-climate-word {
    font-size: clamp(2.2rem, 6.6vw, 2.95rem);
    opacity: 0.14;
  }

  .city-realm-lead {
    margin-top: 0;
    max-width: 28rem;
    font-size: clamp(1.7rem, 4.2vw, 2.4rem);
  }

  .city-figure {
    max-width: 22rem;
  }

  .city-portals-mark {
    justify-content: flex-end;
  }

  .city-portals-mark img {
    width: min(16rem, 70%);
    opacity: 0.08;
  }

  .city-plate-img {
    object-position: 54% 46%;
  }

  .city-status dt {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-shadow: 0 1px 10px rgba(4, 8, 12, 0.45);
  }

  .city-status dd {
    font-size: 1.06rem;
    text-shadow: 0 1px 10px rgba(4, 8, 12, 0.4);
  }
}

@media (max-width: 720px) {
  .city-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .city-vista {
    position: relative;
    height: 100svh;
    height: 100dvh;
    min-height: 28rem;
    overflow: hidden;
  }

  .city-read {
    background:
      linear-gradient(
        to bottom,
        rgba(4, 8, 12, 0.38) 0%,
        rgba(4, 8, 12, 0.12) 16%,
        rgba(4, 8, 12, 0.03) 28%,
        transparent 42%
      ),
      linear-gradient(
        to top,
        rgba(4, 8, 12, 0.16) 0%,
        rgba(4, 8, 12, 0.05) 20%,
        transparent 38%
      );
  }

  .city-identity {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 2.15rem;
    max-width: none;
    background: radial-gradient(ellipse at 32% 88%, rgba(4, 8, 12, 0.32), transparent 70%);
  }

  .city-title {
    font-size: clamp(3.4rem, 18vw, 4.6rem);
    letter-spacing: 0.05em;
  }

  .city-context {
    color: #d4cfc3;
    text-shadow:
      0 0 6px rgba(4, 8, 12, 0.74),
      0 1px 2px rgba(4, 8, 12, 0.7),
      0 2px 12px rgba(4, 8, 12, 0.5);
  }

  .city-support {
    letter-spacing: 0.1em;
    text-shadow:
      0 0 1px rgba(8, 10, 12, 0.72),
      0 1px 2px rgba(4, 8, 12, 0.9),
      0 0 14px rgba(4, 8, 12, 0.8),
      0 3px 22px rgba(4, 8, 12, 0.55);
  }

  .city-stand {
    max-width: 28rem;
    font-size: 0.98rem;
    color: #e9e4da;
    text-shadow:
      0 0 7px rgba(4, 8, 12, 0.88),
      0 1px 2px rgba(4, 8, 12, 0.8),
      0 2px 16px rgba(4, 8, 12, 0.58);
  }

  .city-status {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    min-width: 0;
    width: 100%;
    padding: 1.35rem var(--gutter) 1.55rem;
    border-left: 0;
    border-top: 1px solid var(--hairline);
    background: var(--void);
  }

  .city-status-kicker {
    display: block;
    margin: 0 0 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c5d2cc;
  }

  .city-status dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .city-status dl > div {
    padding: 0 0.7rem;
    border-left: 1px solid var(--hairline);
  }

  .city-status dl > div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .city-shaft {
    display: none;
  }

  .city-status dt {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .city-status dd {
    font-size: 1rem;
    text-shadow: none;
  }

  .city-plate-img {
    object-position: 52% 56%;
  }

  .city-sec {
    padding: 5.2rem var(--gutter) 5rem;
  }

  .city-move-grid,
  .city-water,
  .city-realm-grid,
  .city-portals-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .city-realm,
  .city-living {
    padding-top: 5.6rem;
    padding-bottom: 5.6rem;
  }

  .city-realm-lead {
    margin-top: 0.2rem;
    max-width: none;
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .city-stack {
    --plate-inset: 0%;
    --plate-span: 100%;
    --plate-grow: 0%;
  }

  .city-stack li {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .city-climate {
    display: none;
  }

  .city-portals-mark {
    position: absolute;
    right: -6%;
    bottom: 6%;
    width: 48%;
    justify-content: flex-end;
  }

  .city-portals-mark img {
    width: 100%;
    opacity: 0.07;
  }
}

/* iPhone-class landscape: width exceeds 720px so the phone block
   above does not apply. Do not use this on iPad (taller landscape). */
@media (min-width: 721px) and (max-width: 980px) and (max-height: 500px) {
  .city-context {
    color: #d4cfc3;
    text-shadow:
      0 0 6px rgba(4, 8, 12, 0.74),
      0 1px 2px rgba(4, 8, 12, 0.7),
      0 2px 12px rgba(4, 8, 12, 0.5);
  }

  .city-support {
    text-shadow:
      0 0 1px rgba(8, 10, 12, 0.72),
      0 1px 2px rgba(4, 8, 12, 0.9),
      0 0 14px rgba(4, 8, 12, 0.8),
      0 3px 22px rgba(4, 8, 12, 0.55);
  }

  .city-stand {
    color: #ebe6dc;
    text-shadow:
      0 0 1px rgba(8, 10, 12, 0.7),
      0 1px 2px rgba(4, 8, 12, 0.88),
      0 0 12px rgba(4, 8, 12, 0.78),
      0 3px 20px rgba(4, 8, 12, 0.52);
  }

  .city-identity {
    background: radial-gradient(ellipse 82% 68% at 20% 88%, rgba(4, 8, 12, 0.4), transparent 72%);
  }
}

/* Narrow-phone landscape (SE-class): same extra description protection. */
@media (max-width: 720px) and (orientation: landscape) {
  .city-stand {
    color: #ebe6dc;
    text-shadow:
      0 0 1px rgba(8, 10, 12, 0.7),
      0 1px 2px rgba(4, 8, 12, 0.88),
      0 0 12px rgba(4, 8, 12, 0.78),
      0 3px 20px rgba(4, 8, 12, 0.52);
  }

  .city-identity {
    background: radial-gradient(ellipse 82% 68% at 20% 88%, rgba(4, 8, 12, 0.4), transparent 72%);
  }
}

@media (max-width: 720px) and (max-height: 720px) {
  .city-title {
    font-size: clamp(3rem, 16vw, 4rem);
  }

  .city-stand {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .city-identity {
    bottom: 1.85rem;
  }

  .city-plate-img {
    object-position: 53% 54%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .city-shaft,
  .city-mist,
  body.is-awakening .city-plate,
  body.is-awakening .city-shaft,
  body.is-awakening .city-mist,
  body.is-awakening .city-identity,
  body.is-awakening .city-status,
  body.is-awakening .city-frame {
    animation: none !important;
  }

  body.is-intro .city-plate,
  body.is-intro .city-shaft,
  body.is-intro .city-mist,
  body.is-intro .city-identity,
  body.is-intro .city-status,
  body.is-intro .city-frame {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html.reduce-motion .city-shaft,
html.reduce-motion .city-mist {
  animation: none !important;
}

html[data-page-hidden] .city-shaft,
html[data-page-hidden] .city-mist,
html[data-hero-idle] .city-shaft,
html[data-hero-idle] .city-mist {
  animation-play-state: paused;
}
