/*
 * SEZMC inner pages: About SEZMC, Projects, Dhabeji SEZ, Khairpur SEZ.
 * Loaded only on those pages (inc/pages.php). Same palette and type as the
 * V3 homepage; each page has its own composition.
 *
 *  1. Tokens and base
 *  2. Shared parts (wrap, headings, buttons, captions, status, documents,
 *     closing, filmstrip controls, lightbox, entrances, header over dark heroes)
 *  3. About SEZMC (ab-)
 *  4. Projects (pj-)
 *  5. Dhabeji SEZ (dh-)
 *  6. Khairpur SEZ (kh-)
 *  7. Reduced motion and print
 */

/* ==========================================================================
   1. Tokens and base
   ========================================================================== */

.sezmc-page {
  --night: #071d20;
  --night-2: #0a272a;
  --indus: #0f3a3d;
  --emerald: #0b5d3b;
  --teal: #23796f;
  --teal-soft: #5fb3a5;
  --copper: #c28a65;
  --copper-deep: #9a6644;
  --paper: #f9f9f6;
  --concrete: #e9e7e0;
  --silt: #b5a98f;
  --ink: #17221d;
  --ink-muted: #4c5751;
  --on-dark: #f2f0ea;
  --on-dark-muted: rgba(242, 240, 234, 0.72);
  --rule-dark: rgba(242, 240, 234, 0.16);
  --rule-light: rgba(23, 34, 29, 0.14);
  --red: #a63a32;
  --red-dark: #dc5a3c;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --header: var(--sezmc-header-h, 4.5rem);

  display: block;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

.sezmc-page *,
.sezmc-page *::before,
.sezmc-page *::after {
  box-sizing: border-box;
}

.sezmc-page :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) {
  margin: 0;
}

.sezmc-page h1,
.sezmc-page h2,
.sezmc-page h3 {
  color: inherit;
}

.sezmc-page :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.sezmc-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sezmc-page :where(a) {
  color: inherit;
}

.sezmc-page figcaption {
  font-style: normal;
}

.sezmc-page button {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sezmc-page button:hover,
.sezmc-page button:focus {
  background: none;
  color: inherit;
}

.sezmc-page :focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.sezmc-page [hidden] {
  display: none !important;
}

/* ==========================================================================
   2. Shared parts
   ========================================================================== */

.pg-wrap {
  width: 100%;
  max-width: calc(84rem + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.pg-section {
  padding-block: var(--section-y);
}

.pg-eyebrow {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pg-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--copper);
}

.pg-eyebrow--dark {
  color: var(--on-dark-muted);
}

.pg-kicker {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 1.25rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pg-kicker span {
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.pg-kicker--dark {
  color: var(--on-dark-muted);
}

.pg-kicker--dark span {
  color: var(--red-dark);
}

.pg-h2 {
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(2.125rem, 1.4rem + 2.8vw, 4rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.pg-h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.pg-intro {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
}

.pg-source {
  margin-top: 1.5rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.pg-source--dark {
  color: var(--on-dark-muted);
}

.pg-link {
  border-bottom: 1px solid var(--copper);
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms var(--ease);
}

.pg-link:hover {
  color: var(--copper-deep);
}

/* Heading lines rise one by one. */
.pg-lines .pg-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.pg-lines .pg-line > span {
  display: inline-block;
}

@media (max-width: 47.99em) {
  .pg-lines .pg-line {
    display: inline;
  }
}

/* Buttons */
.pg-btn {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}

.pg-btn__arrow {
  width: 1rem;
  height: 0.75rem;
  background: currentColor;
  -webkit-mask: var(--sezmc-icon-arrow) center / contain no-repeat;
  mask: var(--sezmc-icon-arrow) center / contain no-repeat;
  transition: transform 300ms var(--ease);
}

.pg-btn:hover .pg-btn__arrow {
  transform: translateX(4px);
}

.pg-btn--solid {
  background: var(--on-dark);
  color: var(--night);
}

.pg-btn--solid:hover {
  background: #fff;
}

.pg-btn--line {
  border-color: rgba(242, 240, 234, 0.4);
  color: var(--on-dark);
}

.pg-btn--line:hover {
  border-color: var(--on-dark);
}

.pg-btn--ghost {
  padding-inline: 0;
  border-radius: 0;
  color: var(--on-dark);
}

.pg-btn--ghost span:first-child {
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.2rem;
}

/* Captions */
.pg-cap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.pg-cap__text {
  color: var(--ink);
  font-weight: 500;
}

.pg-cap--dark,
.pg-cap--dark .pg-cap__text {
  color: var(--on-dark-muted);
}

.pg-cap--dark .pg-cap__text {
  color: var(--on-dark);
}

/* Status chips and dots */
.pg-status {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pg-status::before,
.pg-dot::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--silt);
}

.pg-status--operational::before,
.pg-dot--operational::before {
  background: #3fb37f;
  box-shadow: 0 0 0 3px rgba(63, 179, 127, 0.22);
}

.pg-status--developing::before,
.pg-dot--developing::before {
  background: var(--copper);
  box-shadow: 0 0 0 3px rgba(194, 138, 101, 0.22);
}

.pg-status--planned::before,
.pg-dot--planned::before {
  border: 1.5px solid var(--teal-soft);
  background: transparent;
}

.pg-status--concept::before {
  border: 1.5px dashed var(--silt);
  background: transparent;
}

.pg-dot {
  display: inline-flex;
}

/* Land-use colours as drawn in the plans' legends. */
.pg-key--heavy { background: #8d8f90; }
.pg-key--medium { background: #b9bbbb; }
.pg-key--light { background: #dedfdf; }
.pg-key--warehouse { background: #c9a46c; }
.pg-key--commercial { background: #d0392f; }
.pg-key--residential { background: #f3e26b; }
.pg-key--amenities { background: #d6b5ef; }
.pg-key--green { background: #59c94a; }
.pg-key--road { background: #fff; box-shadow: inset 0 0 0 1px rgba(23, 34, 29, 0.25); }

/* Line icons */
.pg-icon {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Documents */
.pg-docs {
  display: grid;
  gap: 0.75rem;
}

.pg-docs__link {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.15rem 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rule-light);
  border-radius: 0.75rem;
  background: #fff;
  text-decoration: none;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}

.pg-docs__link:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}

.pg-docs__type {
  grid-row: span 2;
  display: grid;
  place-items: center;
  height: 3.25rem;
  border-radius: 0.5rem;
  background: var(--night);
  color: var(--on-dark);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pg-docs__title {
  font-weight: 600;
  line-height: 1.3;
}

.pg-docs__note {
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

.pg-docs-band {
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  border-top: 1px solid var(--rule-light);
}

.pg-docs-band__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 64em) {
  .pg-docs-band__grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

  .pg-docs {
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  }
}

/* Closing invitation (dark, with surveyor's lines) */
.pg-close {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 3.5rem + 6vw, 9rem);
  background: radial-gradient(120% 140% at 85% 0%, #0f4a43 0%, var(--night) 55%);
  color: var(--on-dark);
}

.pg-close__lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(242, 240, 234, 0.045) 0 1px, transparent 1px 6rem),
    repeating-linear-gradient(0deg, rgba(242, 240, 234, 0.035) 0 1px, transparent 1px 6rem);
  -webkit-mask-image: linear-gradient(110deg, transparent 20%, #000 70%);
  mask-image: linear-gradient(110deg, transparent 20%, #000 70%);
  pointer-events: none;
}

.pg-close__grid {
  position: relative;
  display: grid;
  gap: 2rem;
}

.pg-close__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
}

.pg-close__text {
  max-width: 34rem;
  color: var(--on-dark-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.pg-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 64em) {
  .pg-close__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

/* Filmstrip controls */
.pg-strip-controls {
  display: flex;
  gap: 0.5rem;
}

.pg-strip-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--rule-dark) !important;
  border-radius: 50% !important;
  color: var(--on-dark) !important;
  font-size: 1.125rem;
  transition: border-color 200ms var(--ease), opacity 200ms;
}

.pg-strip-btn:hover {
  border-color: var(--on-dark) !important;
}

.pg-strip-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.pg-strip-progress {
  height: 2px;
  margin-top: 2rem;
  background: var(--rule-dark);
}

.pg-strip-progress span {
  display: block;
  height: 100%;
  background: var(--copper);
  transform: scaleX(0.06);
  transform-origin: left;
  transition: transform 200ms linear;
}

/* Lightbox */
.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 4rem 1rem 1rem;
  background: rgba(4, 16, 18, 0.94);
  color: #f2f0ea;
  font-family: "Manrope", system-ui, sans-serif;
  opacity: 0;
  transition: opacity 260ms ease;
}

.pg-lightbox.is-open {
  opacity: 1;
}

.pg-lightbox[hidden],
.pg-lightbox [hidden] {
  display: none !important;
}

.pg-lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.pg-lightbox__img {
  max-width: min(100%, 110rem);
  max-height: calc(100vh - 9rem);
  object-fit: contain;
}

.pg-lightbox__cap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0 0;
  font-size: 0.875rem;
  text-align: center;
}

.pg-lightbox__count {
  color: #c28a65;
  font-variant-numeric: tabular-nums;
}

.pg-lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(242, 240, 234, 0.3);
  border-radius: 50%;
  background: rgba(7, 29, 32, 0.6);
  color: #f2f0ea;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.pg-lightbox__btn:hover,
.pg-lightbox__btn:focus {
  background: rgba(7, 29, 32, 0.9);
  color: #fff;
}

.pg-lightbox__close {
  top: 0.75rem;
  right: 0.75rem;
}

.pg-lightbox__prev,
.pg-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.pg-lightbox__prev {
  left: 0.75rem;
}

.pg-lightbox__next {
  right: 0.75rem;
}

html.pg-locked {
  overflow: hidden;
}

/* Editor content kept below the design */
.pg-editor {
  padding-block: 4rem;
  border-top: 1px solid var(--rule-light);
}

.pg-editor__body {
  max-width: 48rem;
  line-height: 1.7;
}

/* Entrances: only once pages.js has started (html.pg-motion). */
.pg-motion .sezmc-page [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.pg-motion .sezmc-page [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.pg-motion .sezmc-page [data-reveal="mask"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1200ms var(--ease-io);
  transition-delay: calc(var(--d, 0) * 140ms);
}

.pg-motion .sezmc-page [data-reveal="mask"].is-in {
  clip-path: inset(0 0 0 0);
}

.pg-motion .sezmc-page [data-reveal="shutter"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1000ms var(--ease-io);
  transition-delay: calc(var(--d, 0) * 110ms + 200ms);
}

.pg-motion .sezmc-page [data-reveal="shutter"].is-in {
  clip-path: inset(0 0 0 0);
}

.pg-motion .sezmc-page .pg-lines .pg-line > span {
  transform: translateY(105%);
  transition: transform 1100ms var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}

.pg-motion .sezmc-page .pg-lines.is-in .pg-line > span {
  transform: none;
}

/* Phones: heading lines wrap inline, so the whole heading fades instead. */
@media (max-width: 47.99em) {
  .pg-motion .sezmc-page .pg-lines .pg-line > span {
    transform: none;
    transition: none;
  }

  .pg-motion .sezmc-page .pg-lines {
    opacity: 0;
    transition: opacity 900ms var(--ease);
  }

  .pg-motion .sezmc-page .pg-lines.is-in {
    opacity: 1;
  }
}

/* Header over the dark openings (Projects, Dhabeji), as on the homepage. */
body.sezmc-designed--projects .sezmc-header-spacer,
body.sezmc-designed--dhabeji .sezmc-header-spacer {
  height: 0;
}

body.sezmc-designed--projects .sezmc-header:not(.is-scrolled):not(.is-menu-open)::before,
body.sezmc-designed--dhabeji .sezmc-header:not(.is-scrolled):not(.is-menu-open)::before {
  opacity: 0;
}

body.sezmc-designed--projects .sezmc-header:not(.is-scrolled):not(.is-menu-open)::after,
body.sezmc-designed--dhabeji .sezmc-header:not(.is-scrolled):not(.is-menu-open)::after {
  opacity: 1;
}

html:not(.sezmc-js) body.sezmc-designed--projects .sezmc-header::before,
html:not(.sezmc-js) body.sezmc-designed--dhabeji .sezmc-header::before {
  opacity: 1 !important;
}

/* ==========================================================================
   3. About SEZMC
   ========================================================================== */

.ab-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(4rem, 3rem + 4vw, 7rem);
  background: var(--paper);
}

.ab-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 58%;
  background: var(--concrete);
  pointer-events: none;
}

@media (max-width: 63.99em) {
  .ab-hero::after {
    width: 100%;
    height: 32%;
  }
}

.ab-hero__ornament {
  position: absolute;
  top: -12rem;
  left: -14rem;
  width: 44rem;
  aspect-ratio: 1;
  background: var(--sezmc-ornament-medallion) center / contain no-repeat;
  filter: invert(1);
  opacity: 0.35;
  pointer-events: none;
}

.ab-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
}

.ab-hero__title {
  margin-top: 1.5rem;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 6rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.ab-hero__lead {
  max-width: 34rem;
  margin-top: 2rem;
  color: var(--ink-muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}

.ab-index {
  margin-top: 2.75rem;
  max-width: 34rem;
}

.ab-index__label {
  margin-bottom: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ab-index__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-light);
}

.ab-index__list a {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.7rem 0.25rem 0.7rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms var(--ease), padding 300ms var(--ease);
}

.ab-index__list a:hover {
  padding-left: 0.4rem;
  color: var(--emerald);
}

.ab-index__n {
  color: var(--red);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.ab-montage {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
}

.ab-montage__item {
  position: relative;
}

.ab-montage__frame {
  overflow: hidden;
  border-radius: 0.375rem;
  box-shadow: 0 30px 60px -36px rgba(7, 29, 32, 0.6);
}

.ab-montage__frame img {
  width: 100%;
  object-fit: cover;
  transition: transform 1400ms var(--ease);
}

.ab-montage__item:hover .ab-montage__frame img {
  transform: scale(1.04);
}

.ab-montage__item--1 {
  z-index: 1;
  grid-column: 1 / 11;
  grid-row: 1;
  transform: translateY(calc(var(--p) * -1.5rem));
}

.ab-montage__item--1 .ab-montage__frame img {
  aspect-ratio: 16 / 10;
}

.ab-montage__item--2 {
  z-index: 2;
  grid-column: 6 / 13;
  grid-row: 2;
  margin-top: -4.5rem;
  transform: translateY(calc(var(--p) * 1.5rem));
}

.ab-montage__item--2 .ab-montage__frame {
  outline: 0.5rem solid var(--paper);
}

.ab-montage__item--2 .ab-montage__frame img {
  aspect-ratio: 16 / 10;
}

.ab-montage__item--3 {
  z-index: 2;
  grid-column: 1 / 6;
  grid-row: 2;
  margin-top: 1.5rem;
  transform: translateY(calc(var(--p) * 0.75rem));
}

.ab-montage__item--3 .ab-montage__frame img {
  aspect-ratio: 4 / 3;
}

.ab-montage__cap {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.ab-montage__n {
  color: var(--red);
  font-weight: 700;
}

.ab-montage__src {
  grid-column: 1 / -1;
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

@media (min-width: 64em) {
  .ab-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(3rem, 2rem + 3vw, 6rem);
    align-items: center;
  }
}

/* Overview register */
.ab-overview__grid {
  display: grid;
  gap: 2rem;
}

.ab-overview__lead {
  max-width: 44rem;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  font-weight: 300;
  line-height: 1.35;
}

.ab-overview__text {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin-top: 2rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.ab-register {
  margin-top: 3rem;
  border-top: 1px solid var(--ink);
}

.ab-register__row {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-light);
}

.ab-register dt {
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ab-register dd {
  font-size: 1.0625rem;
  font-weight: 500;
}

@media (min-width: 48em) {
  .ab-register__row {
    grid-template-columns: 12rem 1fr;
    align-items: baseline;
  }
}

@media (min-width: 64em) {
  .ab-overview__grid {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
  }

  .ab-overview__head {
    position: sticky;
    top: calc(var(--sezmc-header-h-compact, 4.5rem) + 2rem);
    align-self: start;
  }
}

/* Vision & mission: words light as the band scrolls */
.ab-vm {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 4rem + 8vw, 12rem);
  background: linear-gradient(160deg, var(--night) 0%, #0b3a35 55%, #0d4a40 100%);
  color: var(--on-dark);
}

.ab-vm__glow {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 60rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 179, 165, 0.22), transparent);
  pointer-events: none;
}

.ab-vm__inner {
  position: relative;
  display: grid;
  gap: 4rem;
}

.ab-vm__label {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--copper);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ab-vm__label span {
  color: var(--red-dark);
}

.ab-vm__text {
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.ab-vm__text--mission {
  max-width: 28ch;
  font-size: clamp(1.625rem, 1.1rem + 2.2vw, 3rem);
  line-height: 1.15;
}

.ab-vm__rule {
  height: 1px;
  background: linear-gradient(90deg, var(--copper), transparent);
}

.ab-vm.is-scrubbed .pg-word {
  opacity: 0.18;
  transition: opacity 500ms var(--ease);
}

.ab-vm.is-scrubbed .pg-word.is-lit {
  opacity: 1;
}

@media (min-width: 64em) {
  .ab-vm__inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: start;
  }

  .ab-vm__rule {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, var(--copper), transparent);
  }

  .ab-vm__block:last-child {
    padding-top: 6rem;
  }
}

/* Orbit: SEZMC between its partners */
.ab-role__head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.ab-role__stage {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.ab-orbit {
  position: relative;
  width: min(100%, 34rem);
  margin-inline: auto;
  aspect-ratio: 1;
}

.ab-orbit__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ab-orbit__ring {
  fill: none;
  stroke: var(--rule-light);
  stroke-dasharray: 2 6;
}

.ab-orbit__ring--inner {
  stroke: rgba(11, 93, 59, 0.18);
  stroke-dasharray: none;
}

.ab-orbit__spoke {
  stroke: var(--rule-light);
  stroke-width: 1;
  transition: stroke 400ms var(--ease), stroke-width 400ms var(--ease);
}

.ab-orbit__spoke.is-active {
  stroke: var(--copper);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: pg-dash 1.2s linear infinite;
}

@keyframes pg-dash {
  to { stroke-dashoffset: -24; }
}

.ab-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #0f5048, var(--night));
  color: var(--on-dark);
  text-align: center;
  box-shadow: 0 0 0 0.6rem rgba(11, 93, 59, 0.08), 0 30px 60px -30px rgba(7, 29, 32, 0.7);
  transform: translate(-50%, -50%);
}

.ab-orbit__core-name {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
  letter-spacing: 0.04em;
}

.ab-orbit__core-sub {
  margin-top: 0.2rem;
  color: var(--on-dark-muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ab-orbit__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  width: 9rem;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  transform: translate(-50%, -1.1rem);
}

.ab-orbit__dot {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--rule-light);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 0.45rem var(--paper), inset 0 0 0 2rem var(--silt);
  transition: box-shadow 400ms var(--ease), transform 400ms var(--ease);
}

.ab-orbit__name {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.ab-orbit__node:hover .ab-orbit__dot {
  transform: scale(1.1);
}

.ab-orbit__node[aria-selected="true"] .ab-orbit__dot {
  box-shadow: inset 0 0 0 0.35rem var(--paper), inset 0 0 0 2rem var(--copper), 0 0 0 0.45rem rgba(194, 138, 101, 0.2);
}

.ab-orbit__node[aria-selected="true"] .ab-orbit__name {
  color: var(--emerald);
}

.ab-role__panels {
  display: grid;
  gap: 2.5rem;
}

.ab-role__stage.is-tabbed .ab-role__panels {
  gap: 0;
}

.ab-role__panel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 30px 60px -44px rgba(7, 29, 32, 0.5);
}

.ab-role__panel.is-active {
  animation: pg-rise 600ms var(--ease) both;
}

@keyframes pg-rise {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}

.ab-role__n {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ab-role__name {
  margin-top: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.ab-role__short {
  margin-top: 0.5rem;
  color: var(--copper-deep);
  font-weight: 600;
}

.ab-role__body {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.ab-role__does {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-light);
  line-height: 1.6;
}

.ab-role__does-label {
  margin-bottom: 0.4rem;
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 47.99em) {
  .ab-orbit {
    width: 100%;
    aspect-ratio: auto;
  }

  .ab-orbit__lines {
    display: none;
  }

  .ab-orbit__core {
    position: relative;
    top: auto;
    left: auto;
    width: 7.5rem;
    margin: 0 auto 1.5rem;
    transform: none;
  }

  .ab-orbit__nodes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .ab-orbit__node {
    position: static;
    flex-direction: row;
    width: auto;
    margin: 0 !important;
    padding: 0.75rem !important;
    border: 1px solid var(--rule-light) !important;
    border-radius: 0.75rem !important;
    text-align: left;
    transform: none;
  }

  .ab-orbit__dot {
    flex: none;
    width: 1.4rem;
    height: 1.4rem;
  }

  .ab-orbit__node[aria-selected="true"] {
    border-color: var(--copper) !important;
    background: #fff !important;
  }
}

@media (min-width: 64em) {
  .ab-role__stage {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

/* Mandate: one mission, two tracks */
.ab-mandate {
  background: var(--concrete);
}

.ab-mandate__fork {
  display: none;
  width: 100%;
  height: 5rem;
  margin-top: 3rem;
  overflow: visible;
}

.ab-mandate__fork path {
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1400;
  stroke-dashoffset: 0;
}

.pg-motion .ab-mandate__fork[data-reveal="draw"] {
  opacity: 1;
  transform: none;
}

.pg-motion .ab-mandate__fork path {
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1800ms var(--ease-io);
}

.pg-motion .ab-mandate__fork.is-in path {
  stroke-dashoffset: 0;
}

.ab-mandate__tracks {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.ab-track {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: 1rem;
  background: var(--paper);
}

.ab-track--support {
  background: var(--night);
  color: var(--on-dark);
}

.ab-track__n {
  color: var(--red);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
}

.ab-track--support .ab-track__n {
  color: var(--copper);
}

.ab-track__title {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  font-weight: 300;
  line-height: 1.1;
}

.ab-track__text {
  max-width: 32rem;
  margin-top: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.ab-track--support .ab-track__text {
  color: var(--on-dark-muted);
}

.ab-track__list {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
}

.ab-ticket {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border: 1px solid var(--rule-light);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: border-color 260ms var(--ease), transform 260ms var(--ease);
}

.ab-track--support .ab-ticket {
  border-color: var(--rule-dark);
  background: rgba(255, 255, 255, 0.04);
}

.ab-ticket:hover {
  border-color: var(--copper);
  transform: translateX(4px);
}

.ab-ticket__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  background: var(--indus) var(--sezmc-ornament-medallion) center / 140% no-repeat;
}

.ab-ticket__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.ab-ticket:hover .ab-ticket__media img {
  transform: scale(1.08);
}

.ab-ticket__body {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.ab-ticket__name {
  font-weight: 700;
  line-height: 1.2;
}

.ab-ticket__type {
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

.ab-track--support .ab-ticket__type {
  color: var(--on-dark-muted);
}

@media (max-width: 29.99em) {
  .ab-ticket {
    grid-template-columns: 3.5rem 1fr;
  }

  .ab-ticket .pg-status {
    grid-column: 2;
  }
}

@media (min-width: 64em) {
  .ab-mandate__fork {
    display: block;
  }

  .ab-mandate__tracks {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }
}

/* Core values */
.ab-values__grid {
  display: grid;
  gap: 2.5rem;
}

.ab-values__list {
  border-top: 1px solid var(--ink);
}

.ab-value {
  border-bottom: 1px solid var(--rule-light);
}

.ab-value__summary {
  display: grid;
  grid-template-columns: 3rem 1fr 2rem;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  list-style: none;
  cursor: pointer;
}

.ab-value__summary::-webkit-details-marker {
  display: none;
}

.ab-value__n {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ab-value__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 300;
  line-height: 1.1;
  transition: color 240ms var(--ease);
}

.ab-value__summary:hover .ab-value__title {
  color: var(--emerald);
}

.ab-value__toggle {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
}

.ab-value__toggle::before,
.ab-value__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms var(--ease);
}

.ab-value__toggle::after {
  transform: rotate(90deg);
}

.ab-value[open] .ab-value__toggle::after {
  transform: rotate(0deg);
}

.ab-value__text {
  max-width: 46rem;
  padding: 0 0 1.75rem 4rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

@media (min-width: 64em) {
  .ab-values__grid {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
  }
}

/* Functions ledger */
.ab-functions {
  background: var(--night);
  color: var(--on-dark);
}

.ab-functions .pg-intro {
  color: var(--on-dark-muted);
}

.ab-ledger {
  margin-top: 3rem;
  border-top: 1px solid var(--on-dark);
}

.ab-ledger__row {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.35rem 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule-dark);
  transition: background-color 240ms var(--ease);
}

.ab-ledger__row:not(.ab-ledger__row--head):hover {
  background: rgba(255, 255, 255, 0.03);
}

.ab-ledger__row--head {
  display: none;
  color: var(--on-dark-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ab-ledger__n {
  color: var(--red-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ab-ledger__name {
  font-size: 1.0625rem;
  font-weight: 600;
}

.ab-ledger__desc {
  grid-column: 2;
  color: var(--on-dark-muted);
}

.ab-ledger__time {
  grid-column: 2;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.ab-ledger__bar {
  flex: none;
  width: 8rem;
  height: 0.375rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--copper) calc(var(--v) * 100%), var(--rule-dark) 0);
}

.ab-ledger__bar.is-none {
  background: repeating-linear-gradient(90deg, var(--rule-dark) 0 4px, transparent 4px 8px);
}

.ab-ledger__days {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 64em) {
  .ab-ledger__row,
  .ab-ledger__row--head {
    display: grid;
    grid-template-columns: 3rem 1.1fr 1.6fr 14rem;
    align-items: center;
    gap: 1.5rem;
  }

  .ab-ledger__desc,
  .ab-ledger__time {
    grid-column: auto;
  }
}

/* Governance */
.ab-gov__head {
  margin-bottom: 3.5rem;
}

.ab-board,
.ab-team,
.ab-org {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
  border-top: 1px solid var(--ink);
}

.ab-sub__title {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem);
  font-weight: 300;
  line-height: 1.1;
}

.ab-sub__intro {
  max-width: 24rem;
  margin: 0.75rem 0 1rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ab-seats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.ab-seat {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.25rem 0.75rem;
  padding: 1.1rem 1.1rem 1.25rem;
  border: 1px solid var(--rule-light);
  border-radius: 0.75rem;
  background: #fff;
}

.ab-seat__n {
  grid-row: span 2;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
}

.ab-seat__name {
  font-weight: 600;
  line-height: 1.35;
}

.ab-seat--office .ab-seat__name {
  color: var(--ink-muted);
  font-weight: 500;
}

.ab-seat__role {
  color: var(--copper-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ab-seat--chair {
  grid-column: 1 / -1;
  background: var(--night);
  border-color: transparent;
  color: var(--on-dark);
}

.ab-seat--chair .ab-seat__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 300;
}

.ab-seat--chair .ab-seat__role {
  color: var(--copper);
}

.ab-team__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-light);
}

.ab-person {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.1rem 0.9rem;
  align-items: center;
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--rule-light);
}

.ab-person__initials {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--concrete);
  color: var(--emerald);
  font-size: 0.8125rem;
  font-weight: 700;
}

.ab-person__role {
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ab-person__name {
  font-weight: 600;
}

.ab-person--lead .ab-person__initials {
  background: var(--emerald);
  color: var(--on-dark);
}

.ab-org__figure {
  min-width: 0;
}

.ab-org__open {
  position: relative;
  display: block;
  overflow: hidden;
  padding: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  border: 1px solid var(--rule-light);
  border-radius: 0.75rem;
  background: #fff;
  cursor: zoom-in;
}

.ab-org__open img {
  width: 100%;
  transition: transform 800ms var(--ease);
}

.ab-org__open:hover img {
  transform: scale(1.02);
}

.ab-org__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--night);
}

.ab-org__zoom::before,
.ab-org__zoom::after {
  content: "";
  position: absolute;
  background: var(--on-dark);
}

.ab-org__zoom::before {
  width: 1rem;
  height: 1.5px;
}

.ab-org__zoom::after {
  width: 1.5px;
  height: 1rem;
}

@media (min-width: 64em) {
  .ab-board,
  .ab-team,
  .ab-org {
    grid-template-columns: 1fr 2.4fr;
    gap: 4rem;
  }
}

/* Next steps */
.ab-next {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 3.5rem + 6vw, 9rem);
  background: linear-gradient(140deg, #0b4a3c, var(--night) 70%);
  color: var(--on-dark);
}

.ab-next__ornament {
  position: absolute;
  right: -10rem;
  bottom: -14rem;
  width: 40rem;
  aspect-ratio: 1;
  background: var(--sezmc-ornament-medallion) center / contain no-repeat;
  opacity: 0.8;
  animation: pg-spin 120s linear infinite;
  pointer-events: none;
}

@keyframes pg-spin {
  to { transform: rotate(360deg); }
}

.ab-next__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.ab-next__list {
  border-top: 1px solid var(--rule-dark);
}

.ab-path {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule-dark);
  text-decoration: none;
}

.ab-path__label {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.1;
  transition: transform 400ms var(--ease), color 300ms var(--ease);
}

.ab-path__text {
  grid-column: 1;
  color: var(--on-dark-muted);
}

.ab-path__arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  background: var(--on-dark);
  -webkit-mask: var(--sezmc-icon-arrow) center / 1.1rem no-repeat;
  mask: var(--sezmc-icon-arrow) center / 1.1rem no-repeat;
  transition: transform 400ms var(--ease);
}

.ab-path:hover .ab-path__label {
  color: #fff;
  transform: translateX(0.5rem);
}

.ab-path:hover .ab-path__arrow {
  transform: translateX(0.4rem);
}

@media (min-width: 64em) {
  .ab-next__grid {
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
  }
}

/* ==========================================================================
   4. Projects
   ========================================================================== */

.pj-hero {
  position: relative;
  padding: calc(var(--header) + clamp(2.5rem, 1.5rem + 4vw, 5rem)) 0 clamp(3rem, 2rem + 3vw, 5rem);
  background:
    radial-gradient(90% 60% at 80% 10%, rgba(35, 121, 111, 0.35), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, #082629 100%);
  color: var(--on-dark);
}

.pj-hero__grain {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(242, 240, 234, 0.025) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.pj-hero__head {
  position: relative;
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.pj-hero__title {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1.6rem + 4.8vw, 6.25rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.pj-hero__lead {
  max-width: 32rem;
  color: var(--on-dark-muted);
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
}

.pj-hero__count {
  margin-top: 1.5rem;
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pj-hero__count-n {
  margin-right: 0.35rem;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0;
  vertical-align: -0.35rem;
}

@media (min-width: 64em) {
  .pj-hero__head {
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
  }
}

/* Atlas */
.pj-atlas {
  position: relative;
}

.pj-atlas__grid {
  display: grid;
  gap: 1.5rem;
}

.pj-index {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-inline: calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pj-index::-webkit-scrollbar {
  display: none;
}

.pj-index__item {
  flex: none;
  scroll-snap-align: start;
}

.pj-index__btn {
  position: relative;
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  gap: 0 0.75rem;
  align-items: baseline;
  width: 100%;
  min-width: 13rem;
  padding: 0.9rem 1rem 1rem !important;
  border: 1px solid var(--rule-dark) !important;
  border-radius: 0.75rem !important;
  text-align: left;
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}

.pj-index__btn:hover {
  border-color: rgba(242, 240, 234, 0.4) !important;
}

.pj-index__btn[aria-selected="true"] {
  border-color: var(--copper) !important;
  background: rgba(194, 138, 101, 0.08) !important;
}

.pj-index__n {
  grid-row: span 2;
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pj-index__btn[aria-selected="true"] .pj-index__n {
  color: var(--copper);
}

.pj-index__name {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1.1;
}

.pj-index__type {
  grid-column: 2;
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.pj-index__status {
  grid-row: 1;
  grid-column: 3;
  align-self: center;
}

.pj-index__timer {
  position: absolute;
  right: 1rem;
  bottom: 0.45rem;
  left: 1rem;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
}

.pj-atlas.is-playing .pj-index__btn[aria-selected="true"] .pj-index__timer {
  animation: pg-timer 7s linear forwards;
}

@keyframes pg-timer {
  to { transform: scaleX(1); }
}

.pj-stage {
  position: relative;
  display: grid;
}

.pj-slide {
  display: grid;
  margin-bottom: 2rem;
}

.pj-atlas.is-live .pj-slide {
  grid-area: 1 / 1;
  margin-bottom: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 700ms var(--ease), visibility 0s 700ms;
}

.pj-atlas.is-live .pj-slide.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 700ms var(--ease), visibility 0s;
}

.pj-slide__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 1rem 1rem 0 0;
  background: var(--indus);
}

.pj-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s linear;
}

.pj-slide.is-active .pj-slide__media img {
  transform: scale(1);
}

.pj-atlas.is-live .pj-slide__media {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 900ms var(--ease-io);
}

.pj-atlas.is-live .pj-slide.is-active .pj-slide__media {
  clip-path: inset(0 0 0 0);
}

.pj-slide__media.is-plan {
  background: #f4f3ee;
}

.pj-slide__media.is-plan img {
  object-fit: contain;
  padding: 1rem;
}

.pj-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 32, 0) 50%, rgba(7, 29, 32, 0.55) 100%);
  pointer-events: none;
}

.pj-slide__media.is-plan::after {
  display: none;
}

.pj-slide__media.is-type {
  display: grid;
  place-items: center;
  background:
    var(--sezmc-ornament-medallion) center / 70% no-repeat,
    linear-gradient(150deg, #0d4a40, var(--night));
}

.pj-slide__type {
  display: grid;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.pj-slide__type-name {
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.6rem + 4vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 1px rgba(242, 240, 234, 0.7);
}

.pj-slide__type-note {
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pj-slide__cap {
  position: absolute;
  right: 1rem;
  bottom: 0.75rem;
  left: 1rem;
  z-index: 1;
  color: rgba(242, 240, 234, 0.85);
  font-size: 0.75rem;
  line-height: 1.4;
}

.pj-slide__media.is-plan .pj-slide__cap {
  color: var(--ink-muted);
}

.pj-slide__info {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--rule-dark);
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
  background: rgba(10, 39, 42, 0.9);
}

.pj-slide__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
}

.pj-slide__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pj-slide__title a {
  text-decoration: none;
}

.pj-slide__title span {
  display: block;
  margin-top: 0.4rem;
  color: var(--on-dark-muted);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pj-slide__summary {
  max-width: 36rem;
  color: var(--on-dark-muted);
  line-height: 1.6;
}

.pj-slide__facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}

.pj-slide__facts div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: 0.875rem;
}

.pj-slide__facts dt {
  color: var(--on-dark-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pj-locator {
  display: none;
}

@media (min-width: 64em) {
  .pj-atlas__grid {
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }

  .pj-index {
    flex-direction: column;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .pj-index__btn {
    min-width: 0;
  }

  .pj-stage {
    min-height: 40rem;
  }

  .pj-slide {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    min-height: 40rem;
  }

  .pj-slide__media {
    aspect-ratio: auto;
    border-radius: 1rem 0 0 1rem;
  }

  .pj-slide__info {
    align-content: end;
    padding: 14rem 2rem 2rem 2.25rem;
    border-top: 1px solid var(--rule-dark);
    border-left: 0;
    border-radius: 0 1rem 1rem 0;
  }

  .pj-locator {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    z-index: 2;
    display: block;
    width: 7.25rem;
    pointer-events: none;
  }

  .pj-locator svg {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .pj-locator__land {
    fill: rgba(242, 240, 234, 0.06);
    stroke: rgba(242, 240, 234, 0.45);
    stroke-width: 2;
  }

  .pj-locator__dot {
    fill: rgba(242, 240, 234, 0.35);
    transition: fill 300ms;
  }

  .pj-locator__dot.is-active {
    fill: var(--copper);
  }

  .pj-locator__pulse {
    fill: none;
    stroke: var(--copper);
    stroke-width: 3;
    transform-box: fill-box;
    transform-origin: center;
    animation: pg-pulse 2.2s var(--ease) infinite;
    transition: cx 700ms var(--ease), cy 700ms var(--ease), opacity 300ms;
  }

  .pj-locator__note {
    margin-top: 0.5rem;
    color: var(--on-dark-muted);
    font-size: 0.625rem;
    line-height: 1.35;
  }
}

@keyframes pg-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* Status track */
.pj-track__stages {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  counter-reset: stage;
}

.pj-stagecol {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
}

.pj-stagecol__head {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-light);
}

.pj-stagecol__n {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
}

.pj-stagecol__title {
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
}

.pj-stagecol__text {
  margin-top: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pj-stagecol__list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pj-pill {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--silt);
  border-radius: 0.5rem;
  background: var(--paper);
  text-decoration: none;
  transition: transform 260ms var(--ease), background-color 260ms var(--ease);
}

a.pj-pill:hover {
  background: var(--concrete);
  transform: translateX(4px);
}

.pj-stagecol--developing .pj-pill { border-color: var(--copper); }
.pj-stagecol--operational .pj-pill { border-color: #3fb37f; }
.pj-stagecol--planned .pj-pill { border-color: var(--teal-soft); }

.pj-pill__name {
  font-weight: 700;
  line-height: 1.25;
}

.pj-pill__stage {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.pj-pill--empty {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

@media (min-width: 64em) {
  .pj-track__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
  }

  .pj-track__stages {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .pj-stagecol {
    border-radius: 0;
  }

  .pj-stagecol:first-child {
    border-radius: 1rem 0 0 1rem;
  }

  .pj-stagecol:last-child {
    border-radius: 0 1rem 1rem 0;
  }

  .pj-stagecol + .pj-stagecol {
    border-left: 1px solid var(--rule-light);
  }

  .pj-stagecol:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.1rem;
    right: -0.75rem;
    z-index: 1;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--copper) var(--sezmc-icon-arrow) center / 0.7rem no-repeat;
    box-shadow: 0 0 0 0.35rem var(--paper);
    filter: none;
  }
}

/* Comparison table */
.pj-compare {
  background: var(--concrete);
}

.pj-compare__scroll {
  position: relative;
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rule-light);
}

.pj-compare__scroll.can-right {
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}

.pj-table {
  width: 100%;
  min-width: 62rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
}

.pj-table th,
.pj-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--rule-light);
  text-align: left;
  vertical-align: top;
}

.pj-table thead th {
  background: var(--night);
  color: var(--on-dark);
  font-weight: 600;
}

.pj-table thead th a {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  text-decoration: none;
}

.pj-table thead th:first-child {
  border-radius: 1rem 0 0 0;
}

.pj-table thead th:last-child {
  border-radius: 0 1rem 0 0;
}

.pj-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 9rem;
  background: #fff;
  color: var(--ink-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pj-table thead .pj-table__corner {
  position: sticky;
  left: 0;
  z-index: 2;
}

.pj-table tbody tr:hover td {
  background: var(--paper);
}

.pj-table td.is-empty {
  color: var(--silt);
}

/* Concepts */
.pj-concepts {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: var(--night-2);
  color: var(--on-dark);
}

.pj-concepts__title {
  margin-bottom: 2rem;
  font-family: var(--sans);
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pj-concept {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border: 1px dashed rgba(181, 169, 143, 0.5);
  border-radius: 1rem;
}

.pj-concept__name {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  font-weight: 300;
}

.pj-concept__text {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--on-dark-muted);
  line-height: 1.65;
}

.pj-concept__figures {
  display: grid;
  gap: 1.25rem;
}

.pj-concept__figures div {
  padding-left: 1rem;
  border-left: 1px solid var(--copper);
}

.pj-concept__figures dt {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.pj-concept__figures dd {
  margin-top: 0.35rem;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

@media (min-width: 64em) {
  .pj-concept {
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
  }
}

/* ==========================================================================
   5. Dhabeji SEZ
   ========================================================================== */

.dh-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header) + clamp(2.5rem, 1.5rem + 4vw, 5.5rem)) 0 clamp(2.5rem, 2rem + 2vw, 4rem);
  background: radial-gradient(120% 90% at 70% 20%, #0e4744 0%, #082a2c 50%, #051719 100%);
  color: var(--on-dark);
}

.dh-hero__plan {
  position: absolute;
  inset: -6% -10% -6% 18%;
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 70% at 55% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 55% 45%, #000 30%, transparent 75%);
}

.dh-hero__plan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) invert(1) sepia(1) hue-rotate(120deg) saturate(2.2) brightness(0.9) contrast(1.4);
  animation: dh-pan 48s ease-in-out infinite alternate;
}

@keyframes dh-pan {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.14) translate(-3%, 2%); }
}

.dh-hero__grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(95, 179, 165, 0.07) 1px, transparent 1px) 0 0 / 4rem 4rem,
    linear-gradient(90deg, rgba(95, 179, 165, 0.07) 1px, transparent 1px) 0 0 / 4rem 4rem;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.dh-hero__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: end;
}

.dh-hero__title {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.dh-hero__big {
  font-size: clamp(4rem, 1.5rem + 11vw, 11.5rem);
}

.dh-hero__small {
  margin-top: 0.6rem;
  color: var(--teal-soft);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  letter-spacing: -0.01em;
}

@media (max-width: 47.99em) {
  .dh-hero__title .pg-line {
    display: block;
  }
}

.dh-hero__lead {
  max-width: 34rem;
  margin-top: 2rem;
  color: var(--on-dark-muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}

.dh-hero__photo {
  position: relative;
  padding: 0.75rem;
}

.dh-hero__photo-frame {
  overflow: hidden;
  border-radius: 0.25rem;
}

.dh-hero__photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dh-ticks i {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border: 0 solid var(--copper);
}

.dh-ticks i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.dh-ticks i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.dh-ticks i:nth-child(3) { bottom: 2.4rem; left: 0; border-width: 0 0 1px 1px; }
.dh-ticks i:nth-child(4) { right: 0; bottom: 2.4rem; border-width: 0 1px 1px 0; }

.dh-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
  border-top: 1px solid var(--rule-dark);
}

.dh-stats__item {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
  padding: 1.25rem 1rem 0 0;
}

.dh-stats__value {
  color: var(--on-dark);
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dh-stats__label {
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

@media (min-width: 48em) {
  .dh-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .dh-stats__item + .dh-stats__item {
    padding-left: 1.5rem;
    border-left: 1px solid var(--rule-dark);
  }
}

@media (min-width: 64em) {
  .dh-hero__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
  }
}

/* Overview + spec sheet */
.dh-overview__grid {
  display: grid;
  gap: 3rem;
}

.dh-overview__text {
  display: grid;
  gap: 1.25rem;
  max-width: 42rem;
  margin-top: 2rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.dh-overview__text p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  font-weight: 300;
  line-height: 1.45;
}

.dh-spec {
  align-self: start;
  padding: 1.75rem;
  border: 1px solid var(--ink);
  background:
    linear-gradient(var(--rule-light) 1px, transparent 1px) 0 0 / 100% 2rem,
    #fff;
}

.dh-spec__head {
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dh-spec__row {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule-light);
}

.dh-spec__row dt {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
}

.dh-spec__n {
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dh-spec__row dd {
  margin-top: 0.4rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.dh-spec__src {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

@media (min-width: 64em) {
  .dh-overview__grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 5rem;
  }
}

/* Connectivity dial */
.dh-connect {
  background: linear-gradient(180deg, var(--night) 0%, #062023 100%);
  color: var(--on-dark);
}

.dh-connect .pg-intro {
  color: var(--on-dark-muted);
}

.dh-connect__grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.dh-dial__svg {
  display: block;
  width: 100%;
  max-width: 40rem;
  height: auto;
  margin-inline: auto;
  overflow: visible;
}

.dh-dial__ring {
  fill: none;
  stroke: var(--rule-dark);
  stroke-dasharray: 2 5;
}

.dh-dial__ring-label {
  fill: var(--on-dark-muted);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.dh-dial__spoke {
  stroke: rgba(95, 179, 165, 0.45);
  stroke-width: 1.25;
  stroke-dasharray: var(--len) var(--len);
  stroke-dashoffset: 0;
  transition: stroke 300ms, stroke-width 300ms, opacity 300ms;
}

.dh-dial__dot {
  fill: var(--night);
  stroke: var(--teal-soft);
  stroke-width: 1.5;
  transition: fill 300ms, stroke 300ms, opacity 300ms;
}

.dh-dial__node--sea .dh-dial__dot { stroke: #8fc9f0; }
.dh-dial__node--rail .dh-dial__dot { stroke: var(--copper); }
.dh-dial__node--air .dh-dial__dot { stroke: #e7d08a; }
.dh-dial__node--city .dh-dial__dot { stroke: var(--silt); }

.dh-dial__num {
  fill: var(--on-dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
  pointer-events: none;
}

.dh-dial__node {
  cursor: pointer;
  transition: opacity 300ms;
}

.dh-dial__node.is-hot .dh-dial__dot {
  fill: var(--copper);
  stroke: var(--copper);
}

.dh-dial__node.is-hot .dh-dial__spoke {
  stroke: var(--copper);
  stroke-width: 2.5;
}

.dh-connect.has-hot .dh-dial__node:not(.is-hot),
.dh-dial__node.is-dim {
  opacity: 0.25;
}

.dh-dial__core {
  fill: var(--copper);
}

.dh-dial__core-label {
  fill: var(--night);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-anchor: middle;
}

.pg-motion .dh-dial .dh-dial__spoke {
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1100ms var(--ease) calc(var(--d) * 120ms + 200ms), stroke 300ms, stroke-width 300ms;
}

.pg-motion .dh-dial.is-in .dh-dial__spoke {
  stroke-dashoffset: 0;
}

.pg-motion .dh-dial .dh-dial__dot,
.pg-motion .dh-dial .dh-dial__num {
  opacity: 0;
  transition: opacity 500ms var(--ease) calc(var(--d) * 120ms + 900ms), fill 300ms, stroke 300ms;
}

.pg-motion .dh-dial.is-in .dh-dial__dot,
.pg-motion .dh-dial.is-in .dh-dial__num {
  opacity: 1;
}

.dh-dial__note {
  margin-top: 1rem;
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  text-align: center;
}

.dh-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.dh-filter__btn {
  padding: 0.45rem 0.9rem !important;
  border: 1px solid var(--rule-dark) !important;
  border-radius: 999px !important;
  color: var(--on-dark-muted) !important;
  font-size: 0.8125rem !important;
  font-weight: 600;
  transition: all 200ms var(--ease);
}

.dh-filter__btn[aria-pressed="true"] {
  border-color: var(--copper) !important;
  background: var(--copper) !important;
  color: var(--night) !important;
}

.dh-routes {
  border-top: 1px solid var(--rule-dark);
}

.dh-route {
  display: grid;
  grid-template-columns: 1.75rem 2rem 1fr auto;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--rule-dark);
  transition: background-color 240ms, opacity 240ms;
  cursor: default;
}

.dh-route.is-hot {
  background: rgba(194, 138, 101, 0.08);
}

.dh-route.is-dim {
  opacity: 0.3;
}

.dh-route__num {
  color: var(--copper);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 2rem;
}

.dh-route__icon {
  display: block;
  width: 2rem;
  height: 2rem;
  color: var(--teal-soft);
}

.dh-route__body {
  display: grid;
  gap: 0.2rem;
}

.dh-route__name {
  font-weight: 700;
}

.dh-route__note {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.dh-route__src {
  color: var(--teal-soft);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dh-route__src.is-historical {
  color: var(--silt);
}

.dh-route__km {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dh-route__km small {
  margin-left: 0.2rem;
  color: var(--on-dark-muted);
  font-family: var(--sans);
  font-size: 0.75rem;
}

.dh-connect__extra {
  margin-top: 1.5rem;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 64em) {
  .dh-connect__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
    align-items: end;
  }

  .dh-connect__head .pg-kicker {
    grid-column: 1 / -1;
  }

  .dh-connect__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .dh-dial {
    position: sticky;
    top: calc(var(--sezmc-header-h-compact, 4.5rem) + 2rem);
  }
}

/* Enabler plates */
.dh-enablers {
  background: var(--concrete);
}

.dh-plates {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.dh-plate {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 0.75rem;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(23, 34, 29, 0.06);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}

.dh-plate:hover {
  box-shadow: 0 30px 50px -36px rgba(7, 29, 32, 0.6);
  transform: translateY(-4px);
}

.dh-plate__ref {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--ink-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.dh-plate__icon {
  display: block;
  width: 3rem;
  height: 3rem;
  color: var(--emerald);
}

.pg-motion .dh-plate .pg-icon {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 1600ms var(--ease) calc(var(--d) * 120ms + 300ms);
}

.pg-motion .dh-plate.is-in .pg-icon {
  stroke-dashoffset: 0;
}

.dh-plate__name {
  margin-top: 1.5rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dh-plate__figure {
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem);
  font-weight: 300;
  line-height: 1;
}

.dh-plate__spec {
  margin-top: 0.75rem;
  line-height: 1.5;
}

.dh-plate__meta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.dh-plate__meta div {
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule-light);
}

.dh-plate__meta dt {
  color: var(--ink-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dh-plate__meta dd {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.25rem;
  font-weight: 600;
}

.dh-plate__state {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.dh-plate__state::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
}

.dh-plate--complete .dh-plate__state::before {
  border-color: #2f9b6a;
  background: #2f9b6a;
}

.dh-plate--complete {
  box-shadow: inset 0 3px 0 #2f9b6a;
}

.dh-plate--target {
  box-shadow: inset 0 3px 0 var(--copper);
}

.dh-plate__date {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

@media (min-width: 48em) {
  .dh-plates {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 80em) {
  .dh-plates {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Master plan */
.dh-plan {
  background:
    linear-gradient(rgba(95, 179, 165, 0.06) 1px, transparent 1px) 0 0 / 3rem 3rem,
    linear-gradient(90deg, rgba(95, 179, 165, 0.06) 1px, transparent 1px) 0 0 / 3rem 3rem,
    #062124;
  color: var(--on-dark);
}

.dh-plan .pg-intro {
  color: var(--on-dark-muted);
}

.dh-plan__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.dh-viewer {
  min-width: 0;
}

.dh-viewer__port {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 1.41);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule-dark), 0 40px 80px -50px #000;
  touch-action: pan-y;
  cursor: zoom-in;
}

.dh-viewer.is-zoomed .dh-viewer__port {
  touch-action: none;
  cursor: grab;
}

.dh-viewer.is-zoomed .dh-viewer__port:active {
  cursor: grabbing;
}

.dh-viewer__canvas {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  will-change: transform;
}

.dh-viewer__canvas img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.dh-viewer__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}

.dh-viewer__btn {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.9rem !important;
  border: 1px solid var(--rule-dark) !important;
  border-radius: 999px !important;
  color: var(--on-dark) !important;
  font-size: 1.125rem !important;
  font-weight: 600;
  transition: border-color 200ms;
}

.dh-viewer__btn--fit {
  font-size: 0.8125rem !important;
}

.dh-viewer__btn:hover {
  border-color: var(--copper) !important;
}

.dh-viewer__level {
  min-width: 3.5rem;
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.dh-viewer__full {
  margin-left: auto;
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: 0.3em;
}

.dh-viewer:not(.is-live) .dh-viewer__btn,
.dh-viewer:not(.is-live) .dh-viewer__level {
  display: none;
}

.dh-landuse__total {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
}

.dh-landuse__bar {
  display: flex;
  overflow: hidden;
  height: 1.25rem;
  margin: 1.25rem 0 1.5rem;
  border-radius: 0.25rem;
  background: var(--rule-dark);
}

.dh-landuse__seg {
  flex: var(--s) 0 0;
  min-width: 2px;
  transition: opacity 300ms, transform 300ms var(--ease);
}

.dh-landuse.has-hot .dh-landuse__seg:not(.is-hot) {
  opacity: 0.25;
}

.dh-landuse__seg.is-hot {
  transform: scaleY(1.25);
}

.pg-motion .dh-landuse .dh-landuse__bar {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1600ms var(--ease-io) 300ms;
}

.pg-motion .dh-landuse.is-in .dh-landuse__bar {
  clip-path: inset(0 0 0 0);
}

.dh-landuse__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.dh-landuse__table th,
.dh-landuse__table td {
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--rule-dark);
  text-align: left;
  vertical-align: top;
}

.dh-landuse__table thead th {
  color: var(--on-dark-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dh-landuse__table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dh-landuse__table tbody tr {
  transition: background-color 200ms;
}

.dh-landuse__table tbody tr.is-hot {
  background: rgba(194, 138, 101, 0.1);
}

.dh-landuse__table tbody th {
  font-weight: 600;
}

.dh-landuse__swatch {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.5rem;
  border-radius: 2px;
  vertical-align: -0.1rem;
}

.dh-landuse__detail {
  display: block;
  margin-top: 0.2rem;
  padding-left: 1.3rem;
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
}

@media (min-width: 64em) {
  .dh-plan__grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}

/* Focused sectors */
.dh-scale {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.dh-scale__tabs {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.dh-scale__tab {
  width: 100%;
  min-width: 0;
}

.dh-scale__tab {
  display: grid !important;
  grid-template-columns: 3rem 1fr;
  gap: 0.15rem 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem !important;
  border: 1px solid var(--rule-light) !important;
  border-radius: 0.75rem !important;
  background: #fff !important;
  text-align: left;
  transition: border-color 260ms var(--ease), background-color 260ms var(--ease);
}

.dh-scale__tab[aria-selected="true"] {
  border-color: var(--night) !important;
  background: var(--night) !important;
  color: var(--on-dark) !important;
}

.dh-scale__meter {
  grid-row: span 2;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 1.75rem;
}

.dh-scale__meter i {
  width: 0.5rem;
  background: var(--copper);
}

.dh-scale__meter i:nth-child(1) { height: 35%; }
.dh-scale__meter i:nth-child(2) { height: 65%; }
.dh-scale__meter i:nth-child(3) { height: 100%; }

.dh-scale__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
}

.dh-scale__desc {
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

.dh-scale__tab[aria-selected="true"] .dh-scale__desc {
  color: var(--on-dark-muted);
}

.dh-scale__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.dh-scale__list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 1.0625rem;
  line-height: 1.45;
}

.dh-scale__panel.is-active .dh-scale__list li {
  animation: pg-rise 500ms var(--ease) both;
  animation-delay: calc(var(--j) * 60ms);
}

.dh-scale__code {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6rem;
}

@media (min-width: 64em) {
  .dh-scale {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }

  .dh-scale__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

/* Gallery filmstrip */
.dh-gallery {
  background: var(--night);
  color: var(--on-dark);
}

.dh-gallery .pg-intro {
  color: var(--on-dark-muted);
}

.dh-gallery__head {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
}

.dh-strip {
  margin-top: 3rem;
}

.dh-strip__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-inline: max(var(--gutter), calc((100vw - 84rem) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - 84rem) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.dh-strip__track::-webkit-scrollbar {
  display: none;
}

.dh-strip__track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

.dh-strip__item {
  flex: none;
  width: min(82vw, 36rem);
  scroll-snap-align: start;
}

.dh-strip__open {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: zoom-in;
}

.dh-strip__open img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1000ms var(--ease), filter 600ms;
  filter: saturate(0.85);
  pointer-events: none;
}

.dh-strip__open:hover img {
  transform: scale(1.04);
  filter: none;
}

.dh-strip__cap {
  color: var(--on-dark-muted);
  display: grid;
  gap: 0.2rem;
  margin-top: 1rem;
}

.dh-strip__date {
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dh-strip__text {
  color: var(--on-dark);
  font-weight: 600;
}

.dh-strip__src {
  color: var(--on-dark-muted);
  font-size: 0.75rem;
}

/* ==========================================================================
   6. Khairpur SEZ
   ========================================================================== */

.sezmc-page--khairpur {
  --date: #6b3a22;
  --sand: #efe6d6;
}

.kh-hero {
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
}

.kh-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.kh-hero__title {
  margin-top: 1.5rem;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1.5rem + 5vw, 6.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.kh-hero__title .pg-line:last-child {
  color: var(--date);
  font-style: italic;
}

.kh-hero__lead {
  max-width: 32rem;
  margin-top: 2rem;
  color: var(--ink-muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}

.kh-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(6.5rem, 4rem + 8vw, 11rem);
  gap: 0.6rem;
}

.kh-mosaic__tile {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--concrete);
}

.kh-mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1600ms var(--ease), filter 800ms;
  filter: saturate(0.9);
}

.kh-mosaic__tile:nth-child(1) { grid-column: 1 / 4; grid-row: span 2; }
.kh-mosaic__tile:nth-child(2) { grid-column: 4 / 7; }
.kh-mosaic__tile:nth-child(3) { grid-column: 4 / 6; }
.kh-mosaic__tile:nth-child(4) { grid-column: 6 / 7; }
.kh-mosaic__tile:nth-child(5) { grid-column: 1 / 3; }
.kh-mosaic__tile:nth-child(6) { grid-column: 3 / 7; }

.kh-mosaic__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem 0.75rem 0.6rem;
  background: linear-gradient(180deg, transparent, rgba(7, 29, 32, 0.75));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.kh-mosaic__tile:hover .kh-mosaic__cap,
.kh-mosaic__tile.is-lit .kh-mosaic__cap {
  opacity: 1;
  transform: none;
}

.kh-mosaic__tile:hover img,
.kh-mosaic__tile.is-lit img {
  filter: none;
  transform: scale(1.05);
}

@media (hover: none) {
  .kh-mosaic__cap {
    opacity: 1;
    transform: none;
  }
}

.kh-ticker {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-block: 1.75rem 1.5rem;
  background: var(--night);
  color: var(--on-dark);
}

.kh-ticker__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
}

.kh-ticker__item {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.3rem;
}

.kh-ticker__value {
  color: var(--copper);
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  font-weight: 300;
  line-height: 1;
}

.kh-ticker__label {
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
}

.kh-ticker__src {
  margin-top: 1.25rem;
  color: var(--on-dark-muted);
  font-size: 0.6875rem;
}

@media (min-width: 48em) {
  .kh-ticker__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .kh-ticker__item + .kh-ticker__item {
    padding-left: 1.5rem;
    border-left: 1px solid var(--rule-dark);
  }
}

@media (min-width: 64em) {
  .kh-hero__grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
  }
}

/* Timeline */
.kh-timeline {
  --p: 0;
  position: relative;
  display: grid;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-left: 2rem;
}

.kh-timeline::before,
.kh-timeline::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0.45rem;
  width: 2px;
  background: var(--rule-light);
}

.kh-timeline::after {
  background: var(--date);
  transform: scaleY(var(--p));
  transform-origin: top;
}

.kh-timeline__item {
  position: relative;
}

.kh-timeline__mark {
  position: absolute;
  top: 0.35rem;
  left: -2rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid var(--date);
  border-radius: 50%;
  background: var(--paper);
}

.kh-timeline__date {
  color: var(--date);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 300;
  line-height: 1.1;
}

.kh-timeline__title {
  margin-top: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.kh-timeline__text {
  max-width: 22rem;
  margin-top: 0.4rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (min-width: 64em) {
  .kh-timeline {
    grid-template-columns: repeat(var(--n), 1fr);
    gap: 2rem;
    padding: 2.5rem 0 0;
  }

  .kh-timeline::before,
  .kh-timeline::after {
    top: 0.5rem;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 2px;
  }

  .kh-timeline::after {
    transform: scaleX(var(--p));
    transform-origin: left;
  }

  .kh-timeline__mark {
    top: -2.55rem;
    left: 0;
  }
}

/* Documented progress */
.kh-figures {
  background: linear-gradient(150deg, #0b3f34 0%, var(--night) 65%);
  color: var(--on-dark);
}

.kh-figures .pg-intro {
  color: var(--on-dark-muted);
}

.kh-figures__grid {
  display: grid;
  gap: 3rem;
}

.kh-legend {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.kh-legend li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.kh-legend__key {
  width: 2rem;
  height: 0.75rem;
  border-radius: 999px;
}

.kh-legend__key--actual {
  background: var(--copper);
}

.kh-legend__key--projected {
  border: 1.5px dashed rgba(242, 240, 234, 0.6);
}

.kh-recognition {
  max-width: 28rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--copper);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.55;
}

.kh-bars {
  display: grid;
  gap: 2.25rem;
}

.kh-bar__label {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
}

.kh-bar__label span {
  margin-left: 0.4rem;
  color: var(--on-dark-muted);
  font-family: var(--sans);
  font-size: 0.8125rem;
}

.kh-bar__row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.kh-bar__track {
  position: relative;
  display: block;
  height: 1.5rem;
}

.kh-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) * 100%);
  border-radius: 0.25rem;
  background: var(--copper);
  transform-origin: left;
}

.kh-bar__row--projected .kh-bar__fill {
  border: 1.5px dashed rgba(242, 240, 234, 0.6);
  background: repeating-linear-gradient(135deg, rgba(242, 240, 234, 0.07) 0 6px, transparent 6px 12px);
}

.pg-motion .kh-bar .kh-bar__fill {
  transform: scaleX(0);
  transition: transform 1400ms var(--ease) calc(var(--d) * 150ms + 300ms);
}

.pg-motion .kh-bar__row--projected .kh-bar__fill {
  transition-delay: calc(var(--d) * 150ms + 700ms);
}

.pg-motion .kh-bar.is-in .kh-bar__fill {
  transform: scaleX(1);
}

.kh-bar__value {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.kh-bar__value strong {
  margin-right: 0.25rem;
  color: var(--on-dark);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

@media (min-width: 64em) {
  .kh-figures__grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
  }

  .kh-bar__row {
    grid-template-columns: 1fr 11rem;
    align-items: center;
    gap: 1.25rem;
  }
}

/* Inside Khairpur: photo story */
.kh-inside__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.kh-inside__rail {
  display: none;
}

.kh-inside__chapters {
  display: grid;
  gap: clamp(4rem, 3rem + 4vw, 8rem);
}

.kh-chapter {
  display: grid;
  gap: 1.5rem;
}

.kh-chapter__kicker {
  display: flex;
  gap: 0.75rem;
  color: var(--date);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kh-chapter__kicker span {
  color: var(--ink-muted);
}

.kh-chapter__title {
  margin-top: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 3rem);
  font-weight: 300;
  line-height: 1.05;
}

.kh-chapter__text {
  max-width: 28rem;
  margin-top: 1rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.kh-chapter__media {
  display: grid;
  gap: 1rem;
}

.kh-chapter__fig a {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: zoom-in;
}

.kh-chapter__fig img {
  width: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease);
}

.kh-chapter__fig a:hover img {
  transform: scale(1.04);
}

.kh-chapter--single .kh-chapter__fig img {
  aspect-ratio: 16 / 10;
}

.kh-chapter--pair .kh-chapter__fig--1 img {
  aspect-ratio: 4 / 3;
}

.kh-chapter--pair .kh-chapter__fig--2 img {
  aspect-ratio: 1;
}

@media (min-width: 64em) {
  .kh-inside__grid {
    grid-template-columns: 11rem 1fr;
    gap: 3rem;
  }

  .kh-inside__rail {
    display: block;
  }

  .kh-inside__steps {
    position: sticky;
    top: calc(var(--sezmc-header-h-compact, 4.5rem) + 3rem);
    display: grid;
    gap: 0.25rem;
  }

  .kh-inside__step {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    padding: 0.45rem 0 0.45rem 0.9rem;
    border-left: 2px solid var(--rule-light);
    color: var(--ink-muted);
    font-size: 0.875rem;
    transition: border-color 300ms, color 300ms;
  }

  .kh-inside__step.is-active {
    border-color: var(--date);
    color: var(--ink);
    font-weight: 600;
  }

  .kh-inside__step-n {
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
  }

  .kh-chapter {
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: center;
  }

  .kh-chapter.is-flip .kh-chapter__copy {
    order: 2;
  }

  .kh-chapter.is-flip {
    grid-template-columns: 1.6fr 1fr;
  }

  .kh-chapter--pair .kh-chapter__media {
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
  }

  .kh-chapter--pair .kh-chapter__fig--2 {
    margin-bottom: -3rem;
  }
}

/* Facilities explorer */
.kh-facilities {
  background: var(--sand);
}

.kh-facilities__grid {
  display: grid;
  gap: 3rem;
}

/* Grid children that hold sideways scrollers must not widen their column. */
.kh-facilities__grid > *,
.dh-plan__grid > *,
.dh-connect__grid > *,
.pj-atlas__grid > *,
.kh-plots__grid > * {
  min-width: 0;
}

.kh-states {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.kh-chip {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.kh-chip--listed {
  background: rgba(11, 93, 59, 0.12);
  color: var(--emerald);
}

.kh-chip--approved {
  background: rgba(194, 138, 101, 0.18);
  color: var(--copper-deep);
}

.kh-chip--proposed {
  border: 1px dashed var(--ink-muted);
  color: var(--ink-muted);
}

.kh-explorer__tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}

.kh-explorer__tab {
  display: inline-flex !important;
  flex: none;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 1rem !important;
  border: 1px solid rgba(23, 34, 29, 0.2) !important;
  border-radius: 999px !important;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 240ms var(--ease);
}

.kh-explorer__tab[aria-selected="true"] {
  border-color: var(--date) !important;
  background: var(--date) !important;
  color: #fff !important;
}

.kh-explorer__count {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.kh-explorer__list {
  display: grid;
  gap: 0.5rem;
}

.kh-facility {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--paper);
}

.kh-explorer__panel.is-active .kh-facility {
  animation: pg-rise 500ms var(--ease) both;
  animation-delay: calc(var(--j) * 70ms);
}

.kh-facility__name {
  flex: 1 1 16rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (min-width: 64em) {
  .kh-facilities__grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Plot sizes to scale */
.kh-plots__grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.kh-sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1rem;
  align-items: end;
}

.kh-size {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
}

.kh-size__plot {
  position: relative;
  display: block;
  width: calc(var(--side) * 100%);
  aspect-ratio: 1;
  min-width: 1.75rem;
  border: 1.5px solid var(--date);
  background:
    repeating-linear-gradient(45deg, rgba(107, 58, 34, 0.12) 0 2px, transparent 2px 7px),
    rgba(107, 58, 34, 0.06);
  transition: background-color 300ms;
}

.kh-size:hover .kh-size__plot {
  background-color: rgba(107, 58, 34, 0.18);
}

.kh-size__count {
  position: absolute;
  top: 0.35rem;
  left: 0.4rem;
  color: var(--date);
  font-size: 0.75rem;
  font-weight: 800;
}

.kh-size__label {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 300;
}

.kh-size__dims {
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.pg-motion .kh-size[data-reveal] .kh-size__plot {
  transform: scale(0.4);
  transform-origin: bottom left;
  transition: transform 900ms var(--ease) calc(var(--d) * 100ms + 200ms);
}

.pg-motion .kh-size.is-in .kh-size__plot {
  transform: none;
}

.kh-plots__total {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
}

.kh-plots__total span {
  color: var(--date);
  font-size: 3rem;
}

.kh-uses {
  margin-top: 1.5rem;
}

.kh-uses__bar {
  display: flex;
  overflow: hidden;
  height: 0.875rem;
  border-radius: 999px;
}

.kh-uses__seg {
  flex: var(--s) 0 0;
  min-width: 3px;
}

.kh-uses__seg--0 { background: var(--date); }
.kh-uses__seg--1 { background: #b9bbbb; }
.kh-uses__seg--2 { background: #c991e8; }
.kh-uses__seg--3 { background: #8dc65a; }
.kh-uses__seg--4 { background: var(--copper); }

.kh-uses__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.kh-uses__list li {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.kh-uses__swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.kh-layout {
  margin-top: 2rem;
}

.kh-layout a {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0.75rem;
  border: 1px solid var(--rule-light);
  border-radius: 0.75rem;
  background: #fff;
  cursor: zoom-in;
}

@media (min-width: 48em) {
  .kh-sizes {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 64em) {
  .kh-plots__head {
    max-width: 44rem;
  }

  .kh-plots__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .kh-sizes {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
  }
}

/* Opportunities */
.kh-opps {
  padding-top: 0;
}

.kh-crates {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.kh-crate {
  position: relative;
  padding: 1.75rem;
  border-top: 3px solid var(--date);
  border-radius: 0 0 0.75rem 0.75rem;
  background: #fff;
}

.kh-crate__n {
  color: var(--date);
  font-size: 0.75rem;
  font-weight: 700;
}

.kh-crate__name {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 300;
  line-height: 1.15;
}

.kh-crate__items {
  display: grid;
  gap: 0;
  margin-top: 1.25rem;
}

.kh-crate__items li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.9375rem;
  line-height: 1.45;
}

@media (min-width: 64em) {
  .kh-crates {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Region */
.kh-region {
  background: var(--night-2);
  color: var(--on-dark);
}

.kh-region__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.kh-region__text {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
  margin-top: 2rem;
  color: var(--on-dark-muted);
  line-height: 1.7;
}

.kh-region__figs {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.kh-region__figs div {
  display: flex;
  flex-direction: column-reverse;
  padding-left: 1rem;
  border-left: 1px solid var(--copper);
}

.kh-region__figs dd {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.kh-region__figs dt {
  margin-top: 0.4rem;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.kh-locator svg {
  display: block;
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  overflow: visible;
}

.kh-locator__land {
  fill: rgba(242, 240, 234, 0.05);
  stroke: rgba(242, 240, 234, 0.5);
  stroke-width: 1.5;
}

.kh-locator__dot {
  fill: var(--copper);
}

.kh-locator__ring {
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pg-pulse 2.6s var(--ease) infinite;
}

.kh-locator__label {
  fill: var(--on-dark);
  font-family: var(--serif);
  font-size: 24px;
}

.kh-locator__ref {
  fill: var(--on-dark-muted);
}

.kh-locator__ref-label {
  fill: var(--on-dark-muted);
  font-family: var(--sans);
  font-size: 15px;
}

@media (min-width: 48em) {
  .kh-region__figs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 64em) {
  .kh-region__grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
  }
}

/* Zone office card in the closing */
.kh-close {
  background: radial-gradient(120% 140% at 85% 0%, #4a2a1a 0%, var(--night) 60%);
}

.kh-office {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--rule-dark);
  border-radius: 0.75rem;
  font-style: normal;
  line-height: 1.5;
}

.kh-office__label {
  margin-bottom: 0.35rem;
  color: var(--copper);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kh-office a {
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: 0.25em;
}

/* ==========================================================================
   7. Reduced motion and print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .sezmc-page *,
  .sezmc-page *::before,
  .sezmc-page *::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
  }

  .dh-hero__plan img {
    transform: scale(1.06);
  }

  .pj-slide__media img {
    transform: none !important;
  }
}

@media print {
  .pg-motion .sezmc-page [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .pg-close,
  .pj-locator,
  .pg-strip-controls {
    display: none;
  }
}
