/* ============================================================
   mashoor — saara Urdu landing
   - RTL throughout, Nastaliq display + body
   - Hero: crossfade + Ken-Burns, staggered word entrances,
     wordmark with tilt + scrolling photo strip + sheen
============================================================ */

:root {
  --ur: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  --san: 'Urbanist', system-ui, sans-serif;
  --num: 'Playfair Display', serif;

  --ink: #0f1a13;
  --ink-2: #1d2922;
  --paper: #f2f0e1;
  --paper-2: #e9ead6;
  --rule: #1d2922;
  --muted: #5d6b58;
  --accent: #1f6242;
  --accent-2: #2d8659;
  --accent-soft: rgba(31, 98, 66, 0.16);
}

* { box-sizing: border-box; }
html { direction: rtl; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ur);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.9;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.num, .stat__num, .row__num, .rail__num, .step__num,
.manifesto__eyebrow-num {
  font-family: var(--ur);
  font-feature-settings: "lnum";
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: 28px 56px 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
}

/* Crossfading skylines + Ken-Burns */
.hero__bgs { position: absolute; inset: 0; z-index: -2; }
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.6s ease;
  filter: contrast(1.04) saturate(0.95);
}
.hero__bg.is-active {
  opacity: 1;
  animation: kenburns 12s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.14); }
}
.hero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(242,240,225,0.42) 0%, rgba(238,240,224,0.62) 55%, rgba(232,238,218,0.82) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* vertical side labels */
.hero__side {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-family: var(--san);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  z-index: 3;
}
.hero__side--left  { left: 18px;  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.hero__side--right { right: 18px; writing-mode: vertical-rl; }
.hero__side span {
  font-family: var(--ur);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* chrome */
.hero__chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  position: relative; z-index: 3;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { width: 110px; height: 44px; display: inline-block; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__name {
  font-family: var(--ur);
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
}
.navlinks {
  display: flex; gap: 36px; align-items: center;
  font-family: var(--ur);
  font-size: 18px;
  font-weight: 500;
}
.navlinks a { transition: opacity 0.2s; }
.navlinks a:hover { opacity: 0.55; }
.navlinks__cta {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.25s;
}
.navlinks__cta:hover {
  background: var(--accent); color: var(--paper); opacity: 1 !important;
}
.navlinks__cta-arrow { display: inline-block; transition: transform 0.25s; font-size: 16px; }
.navlinks__cta:hover .navlinks__cta-arrow { transform: translateX(-4px); }

/* stage */
.hero__stage {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  padding: 4vh 0 2vh;
  gap: 18px;
}

.hero__eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--ur);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
  animation: fadeUp 0.7s 0.05s both;
}
.hero__eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.hero__line {
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  margin: 0;
}
.hero__word {
  display: inline-block;
  animation: wordIn 0.85s cubic-bezier(.2,.7,.2,1) both;
}
.hero__word--city      { animation-delay: 0.05s; }
.hero__word--connector { animation-delay: 0.18s; color: var(--muted); font-weight: 400; }
.hero__word--item      { animation-delay: 0.32s; }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__tail {
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1;
  margin-top: -6px;
  color: var(--ink);
  font-weight: 500;
  text-align: center;
  animation: wordIn 0.85s 0.7s both;
}

.hero__sub {
  margin-top: 36px;
  font-family: var(--ur);
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-2);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  animation: fadeUp 0.85s 0.85s both;
}
.hero__sub-line {
  width: 56px; height: 1px;
  background: var(--ink);
  opacity: 0.3;
}

/* WORDMARK — photo-filled PNG with tilt parallax + soft entrance */
.wordmark {
  position: relative;
  width: clamp(320px, 42vw, 620px);
  aspect-ratio: 934 / 367;
  margin: 0;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  animation: wordmarkIn 1.1s 0.45s cubic-bezier(.2,.7,.2,1) both;
  filter: drop-shadow(0 14px 26px rgba(20,17,13,0.20));
}
.wordmark img {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
}
@keyframes wordmarkIn {
  from { opacity: 0; transform: scale(0.92) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* RAIL */
.hero__rail {
  position: relative; z-index: 3;
  display: flex;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 28px;
}
.rail__arrow {
  background: transparent; border: 0;
  padding: 0 24px;
  font-size: 28px; cursor: pointer;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
  border-left: 1px solid var(--rule);
}
.rail__arrow:last-child { border-left: 0; border-right: 1px solid var(--rule); }
.rail__arrow:hover { background: var(--ink); color: var(--paper); }
.rail__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  flex: 1;
}
.rail__list li { border-left: 1px solid var(--rule); }
.rail__list li:last-child { border-left: 0; }
.rail__list button {
  width: 100%;
  background: transparent; border: 0; cursor: pointer;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 12px;
  text-align: right;
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
  font-family: var(--ur);
}
.rail__num {
  grid-row: 1 / span 2;
  font-size: 14px;
  opacity: 0.55;
  font-feature-settings: "lnum";
}
.rail__city { font-size: 22px; font-weight: 600; line-height: 1.1; }
.rail__item {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
  font-weight: 400;
}
.rail__list li.is-active button { background: var(--ink); color: var(--paper); }
.rail__list li.is-active .rail__item { color: rgba(244,237,225,0.7); }
.rail__list li:not(.is-active) button:hover { background: rgba(20,17,13,0.06); }

.hero__progress {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; z-index: 3;
  background: rgba(20,17,13,0.08);
}
.hero__progress-fill {
  height: 100%;
  background: var(--ink);
  width: 0;
  animation: progress 5s linear forwards;
  transform-origin: right center;
}
.hero__progress-fill.is-paused { animation-play-state: paused; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

.hero__scroll {
  position: absolute;
  bottom: 80px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-family: var(--ur);
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
  opacity: 0.7;
}
.hero__scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--ink), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.4); }
}

/* ============================================================
   MANIFESTO
============================================================ */
.manifesto {
  padding: 140px 80px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  max-width: 1500px;
  margin: 0 auto;
}
.manifesto__head { margin-bottom: 80px; max-width: 1100px; }
.manifesto__eyebrow,
.directory__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ur);
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  border: 1px solid var(--rule);
  padding: 8px 16px;
  border-radius: 999px;
}
.directory__eyebrow.on-dark {
  border-color: rgba(244,237,225,0.4);
  color: rgba(244,237,225,0.7);
}
.manifesto__eyebrow-num {
  font-family: var(--ur);
  font-feature-settings: "lnum";
  color: var(--accent);
  font-weight: 600;
}
.manifesto__title {
  font-family: var(--ur);
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1.4;
  font-weight: 500;
  margin: 0;
}
.manifesto__title em {
  font-style: normal;
  color: var(--accent);
}
.manifesto__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1300px;
}
.manifesto__lead {
  font-family: var(--ur);
  font-size: clamp(26px, 2vw, 32px);
  line-height: 1.9;
  font-weight: 500;
  margin: 0;
}
.manifesto__body p:last-child {
  font-size: clamp(20px, 1.4vw, 24px);
  line-height: 2;
  margin: 0;
  color: var(--ink-2);
}
.manifesto__body strong {
  font-weight: 600;
  background: linear-gradient(to top, var(--accent-soft) 0 38%, transparent 38%);
  padding: 0 4px;
  color: var(--accent);
}

.manifesto__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(20,17,13,0.02) 100%);
}
.stat {
  padding: 56px 40px 48px;
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.3s ease;
  position: relative;
}
.stat:hover { background: rgba(20,17,13,0.025); }
.stat:last-child { border-left: 0; }
.stat__num {
  font-size: clamp(72px, 6vw, 112px);
  line-height: 1;
  font-weight: 600;
  font-feature-settings: "lnum";
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat__plus {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--accent);
  margin-right: 4px;
  font-weight: 400;
}
.stat__lbl {
  font-size: 24px;
  color: var(--ink);
  font-family: var(--ur);
  font-weight: 600;
  margin-top: 2px;
}
.stat__desc {
  font-family: var(--ur);
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  max-width: 320px;
}

/* ============================================================
   DIRECTORY
============================================================ */
.directory {
  padding: 140px 80px;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}
.directory__head {
  max-width: 1500px;
  margin: 0 auto 80px;
}
.directory__title {
  font-family: var(--ur);
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1.3;
  margin: 0 0 16px;
  font-weight: 500;
}
.directory__sub {
  font-size: 24px;
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}
.directory__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1500px;
  margin: 0 auto;
}
.province__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
}
.province__name {
  font-family: var(--ur);
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 600;
  line-height: 1.2;
}
.province__rule {
  height: 1px;
  background: var(--rule);
  opacity: 0.4;
}
.province__count {
  font-family: var(--ur);
  font-size: 16px;
  color: var(--muted);
}
.province__rows {
  list-style: none; margin: 0; padding: 0;
}
.row {
  display: grid;
  grid-template-columns: 50px 240px 1fr 360px 28px;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(20,17,13,0.18);
  cursor: pointer;
  transition: padding 0.25s ease, background 0.25s ease;
}
.row:hover {
  padding-right: 16px;
  padding-left: 16px;
  background: rgba(20,17,13,0.04);
}
.row__num {
  font-size: 14px;
  color: var(--muted);
  font-feature-settings: "lnum";
}
.row__city {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}
.row__rule {
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(20,17,13,0.3), transparent);
}
.row__item {
  font-size: 24px;
  color: var(--ink-2);
  line-height: 1.5;
}
.row__arrow {
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.25s, color 0.25s;
}
.row:hover .row__arrow {
  transform: translate(-6px, -6px);
  color: var(--accent);
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.how {
  padding: 140px 80px;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--rule);
}
.how__head {
  max-width: 1500px;
  margin: 0 auto 80px;
}
.how__title {
  font-family: var(--ur);
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1.3;
  margin: 0;
  font-weight: 500;
  max-width: 1100px;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1500px;
  margin: 0 auto;
  gap: 0;
}
.step {
  padding: 48px 36px;
  border-right: 1px solid rgba(244,237,225,0.18);
}
.step:last-child { border-right: 0; }
.step__num {
  font-family: var(--ur);
  font-feature-settings: "lnum";
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.step__rule {
  height: 1px;
  background: rgba(244,237,225,0.25);
  margin-bottom: 28px;
  width: 60px;
}
.step__title {
  font-family: var(--ur);
  font-size: clamp(32px, 2.5vw, 44px);
  line-height: 1.3;
  margin: 0 0 18px;
  font-weight: 600;
}
.step__body {
  font-family: var(--ur);
  font-size: 22px;
  line-height: 1.9;
  margin: 0;
  color: rgba(244,237,225,0.78);
}

/* ============================================================
   QUOTE
============================================================ */
.quote {
  padding: 140px 80px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.quote__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 56px;
  max-width: 360px;
}
.quote__eyebrow-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
  opacity: 0.45;
}
.quote__eyebrow-text {
  font-family: var(--ur);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.quote__text {
  font-family: var(--ur);
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1.85;
  margin: 0 auto 36px;
  max-width: 920px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  quotes: "\201C" "\201D";
}
.quote__text::before,
.quote__text::after {
  content: open-quote;
  font-family: var(--num);
  font-size: 1.4em;
  line-height: 0;
  color: var(--accent);
  opacity: 0.55;
  vertical-align: -0.18em;
  margin: 0 0.08em;
}
.quote__text::after { content: close-quote; }
.quote__cite {
  font-family: var(--ur);
  font-size: 17px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   DOWNLOAD
============================================================ */
.download {
  padding: 140px 80px;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}
.download__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
  align-items: center;
}
.download__title {
  font-family: var(--ur);
  font-size: clamp(56px, 5vw, 96px);
  line-height: 1.25;
  margin: 16px 0 24px;
  font-weight: 600;
}
.download__sub {
  font-family: var(--ur);
  font-size: 24px;
  color: var(--ink-2);
  margin: 0 0 40px;
  line-height: 1.8;
}
.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.app-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 28px 22px;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  font-family: var(--ur);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.28s, color 0.28s, transform 0.28s, box-shadow 0.28s;
}
.app-card:hover {
  background: var(--ink); color: var(--paper);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(20,17,13,0.35);
}
.app-card--vendor { background: var(--paper-2); }
.app-card--vendor:hover { background: var(--ink); }
.app-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-card__kind {
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.65;
}
.app-card__name {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}
.app-card__desc {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.78;
  margin: 0;
  flex: 1;
}
.app-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid currentColor;
  opacity: 0.85;
}
.app-card__cta-sup { font-size: 14px; }
.app-card__cta-arrow { font-size: 16px; transition: transform 0.25s; }
.app-card:hover .app-card__cta-arrow { transform: translateX(-6px); }

/* phone mock */
.download__visual { display: flex; justify-content: center; }
.download__phone {
  width: 280px; height: 560px;
  background: var(--ink);
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 40px 80px -20px rgba(20,17,13,0.4),
              0 16px 32px -8px rgba(20,17,13,0.3);
  position: relative;
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.download__phone:hover { transform: rotate(0deg) scale(1.02); }
.download__phone-notch {
  width: 110px; height: 28px;
  background: var(--ink);
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  z-index: 2;
}
.download__phone-screen {
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
}
.download__phone-bg {
  position: absolute; inset: 0;
  background-image: url("assets/bg-multan.jpg");
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.download__phone-mark {
  position: relative; z-index: 1;
  width: 190px; height: 75px;
}
.download__phone-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.download__phone-tag {
  position: relative; z-index: 1;
  font-family: var(--ur);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  padding: 80px 80px 40px;
  background: var(--ink);
  color: var(--paper);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(244,237,225,0.18);
  max-width: 1500px;
  margin: 0 auto;
}
.footer__brand-mark { width: 180px; height: 71px; margin-bottom: 20px; opacity: 0.95; }
.footer__brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; filter: brightness(1.05); }
.footer__brand-tag {
  font-family: var(--ur);
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 320px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.footer__cols h4 {
  font-family: var(--ur);
  font-size: 14px;
  margin: 0 0 18px;
  opacity: 0.55;
  font-weight: 600;
}
.footer__cols a {
  display: block;
  font-family: var(--ur);
  font-size: 18px;
  padding: 4px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.footer__cols a:hover { opacity: 0.65; }

.footer__bottom {
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--ur);
  font-size: 14px;
  opacity: 0.55;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
============================================================ */
@media (max-width: 1024px) {
  .hero__chrome { padding: 18px 32px 0; padding-bottom: 22px; }
  .hero__side { display: none; }
  .navlinks { gap: 24px; font-size: 16px; }
  .navlinks__cta { padding: 8px 16px; }

  .manifesto, .directory, .how, .download, .quote { padding: 100px 40px; }
  .footer { padding: 60px 40px 32px; }

  .manifesto__title { font-size: clamp(40px, 6vw, 72px); }
  .manifesto__body { grid-template-columns: 1fr; gap: 32px; }

  .row { grid-template-columns: 40px 180px 1fr 200px 20px; }

  .download__inner { grid-template-columns: 1fr; gap: 60px; }
  .download__visual { order: 2; }
  .download__copy { order: 1; }

  .footer__top { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   RESPONSIVE — Tablet portrait / large phone (≤768px)
============================================================ */
@media (max-width: 768px) {
  body { font-size: 15px; }

  /* Header — collapse nav, keep brand + CTA only */
  .hero__chrome { padding: 16px 20px 16px; }
  .brand__mark { width: 84px; height: 34px; }
  .navlinks { gap: 0; }
  .navlinks a:not(.navlinks__cta) { display: none; }
  .navlinks__cta { font-size: 14px; padding: 8px 14px; }
  .navlinks__cta-arrow { font-size: 14px; }

  /* Hero — relax full-height lock, allow content to flow */
  .hero {
    min-height: auto;
    padding: 0 16px 24px;
    grid-template-rows: auto auto auto;
  }
  .hero__stage { padding: 32px 0 28px; gap: 14px; }
  .hero__eyebrow { font-size: 12px; gap: 8px; margin-bottom: 4px; letter-spacing: 0; }
  .hero__line {
    font-size: clamp(32px, 8.5vw, 52px);
    gap: 8px;
    line-height: 1.25;
    flex-wrap: wrap;
    row-gap: 4px;
    padding: 0 8px;
  }
  .wordmark { width: clamp(220px, 76vw, 360px); margin: 0 auto; }
  .hero__tail { font-size: clamp(24px, 6vw, 36px); margin-top: -2px; }
  .hero__sub {
    font-size: 13px;
    gap: 8px;
    margin-top: 18px;
    padding: 0 16px;
    line-height: 1.7;
  }
  .hero__sub-line { display: none; }

  /* City rail — flex with snap scroll, no fixed 6-col grid */
  .hero__rail { margin-top: 16px; border-bottom: 0; }
  .rail__arrow { padding: 0 10px; font-size: 22px; }
  .rail__list {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .rail__list::-webkit-scrollbar { display: none; }
  .rail__list li {
    flex: 0 0 56vw;
    scroll-snap-align: start;
    border-left: 1px solid var(--rule);
  }
  .rail__list button { padding: 10px 14px; }
  .rail__city { font-size: 17px; }
  .rail__item { font-size: 12px; }
  .rail__num { font-size: 11px; }

  .hero__scroll { display: none; }
  .hero__progress { position: relative; }

  /* Sections paddings */
  .manifesto, .directory, .how, .download, .quote { padding: 72px 20px; }
  .footer { padding: 48px 20px 28px; }

  /* Manifesto */
  .manifesto__title { font-size: clamp(32px, 7vw, 52px); }
  .manifesto__lead { font-size: 18px !important; line-height: 1.85 !important; }
  .manifesto__body p:last-child { font-size: 17px !important; line-height: 1.85 !important; }
  .manifesto__stats {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }
  .stat { padding: 32px 20px; border-left: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
  .stat__num { font-size: clamp(56px, 14vw, 84px); }
  .stat__lbl { font-size: 20px; }
  .stat__desc { font-size: 15px; max-width: none; }

  /* Directory */
  .directory__head { margin-bottom: 48px; }
  .directory__title { font-size: clamp(36px, 8vw, 64px); }
  .directory__sub { font-size: 18px; }
  .province__head { grid-template-columns: 1fr auto; padding: 14px 0; gap: 12px; }
  .province__name { font-size: clamp(28px, 6vw, 40px); }
  .province__rule { display: none; }
  .row {
    grid-template-columns: 32px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    padding: 14px 0;
  }
  .row__num { font-size: 12px; grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .row__city { font-size: 18px; font-weight: 600; grid-column: 2; grid-row: 1; }
  .row__rule { display: none; }
  .row__item { font-size: 15px; color: var(--muted); grid-column: 2; grid-row: 2; }
  .row__arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; opacity: 0.6; }

  /* How it works */
  .how__title { font-size: clamp(32px, 7vw, 56px); }
  .how__steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 36px 20px; border-left: 0; border-top: 1px solid rgba(244,237,225,0.18); }
  .step:first-child { border-top: 0; }
  .step__title { font-size: clamp(24px, 5vw, 32px); }
  .step__body { font-size: 16px; }

  /* Quote */
  .quote__eyebrow { margin-bottom: 36px; max-width: 240px; gap: 12px; }
  .quote__eyebrow-text { font-size: 12px; }
  .quote__text { font-size: clamp(20px, 5vw, 28px) !important; line-height: 1.85; padding: 0 8px; }
  .quote__cite { font-size: 15px; }

  /* Download */
  .download__title { font-size: clamp(40px, 8vw, 64px); }
  .download__sub { font-size: 18px; margin-bottom: 28px; }
  .apps { grid-template-columns: 1fr; gap: 14px; }
  .app-card { padding: 22px 22px 18px; }
  .app-card__name { font-size: 26px; }
  .app-card__desc { font-size: 15px; }
  .download__phone { width: 240px; height: 480px; }

  /* Footer */
  .footer__top { gap: 36px; padding-bottom: 36px; }
  .footer__brand-mark { width: 140px; height: 56px; }
  .footer__brand-tag { font-size: 16px; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols h4 { font-size: 13px; margin-bottom: 12px; }
  .footer__cols a { font-size: 16px; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — Small phone (≤480px)
============================================================ */
@media (max-width: 480px) {
  .hero__chrome { padding: 12px 14px; padding-bottom: 14px; }
  .brand__mark { width: 72px; height: 30px; }
  .navlinks__cta { font-size: 13px; padding: 7px 12px; gap: 6px; }

  .hero { padding: 0 12px 20px; }
  .hero__stage { padding: 24px 0 20px; gap: 12px; }
  .hero__eyebrow { font-size: 11px; }
  .hero__line { font-size: clamp(28px, 9vw, 40px); gap: 6px; padding: 0 4px; }
  .wordmark { width: clamp(200px, 82vw, 300px); }
  .hero__tail { font-size: clamp(20px, 6vw, 30px); }
  .hero__sub { font-size: 12px; padding: 0 4px; line-height: 1.6; }

  .rail__list li { flex: 0 0 72vw; }
  .rail__city { font-size: 16px; }
  .rail__item { font-size: 11px; }

  .manifesto, .directory, .how, .download, .quote { padding: 56px 16px; }
  .footer { padding: 40px 16px 24px; }

  .manifesto__title { font-size: clamp(28px, 8vw, 44px); }
  .stat { padding: 28px 16px; }
  .stat__num { font-size: clamp(48px, 16vw, 72px); }
  .stat__lbl { font-size: 18px; }
  .stat__desc { font-size: 14px; }

  .directory__title { font-size: clamp(32px, 9vw, 48px); }
  .row { padding: 12px 0; }
  .row__city { font-size: 16px; }
  .row__item { font-size: 14px; }

  .how__title { font-size: clamp(28px, 8vw, 44px); }
  .step { padding: 28px 16px; }
  .step__title { font-size: clamp(22px, 5.5vw, 28px); }
  .step__body { font-size: 15px; }

  .quote__eyebrow { margin-bottom: 28px; max-width: 200px; }
  .quote__text { font-size: clamp(18px, 5.2vw, 24px) !important; line-height: 1.8; }

  .download__title { font-size: clamp(34px, 9vw, 52px); }
  .download__sub { font-size: 16px; }
  .download__phone { width: 220px; height: 440px; border-radius: 36px; }
  .download__phone-mark { width: 150px; height: 60px; }
  .download__phone-tag { font-size: 14px; }

  .app-card { padding: 20px 18px 16px; }
  .app-card__name { font-size: 22px; }
  .app-card__kind { font-size: 12px; }
  .app-card__desc { font-size: 14px; }
  .app-card__cta-sup { font-size: 13px; }

  .footer__brand-mark { width: 120px; height: 48px; }
  .footer__brand-tag { font-size: 14px; }
  .footer__cols a { font-size: 15px; }
}
