/* ============================================================
   MIDTOWN INVESTORS LLC
   Institutional / industrial — navy, steel, safety orange
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy:       #0D1B28;
  --navy-2:     #122433;
  --navy-3:     #1A3042;
  --ink:        #14202C;
  --gray:       #54616E;
  --steel:      #F2F4F6;
  --white:      #FFFFFF;
  --accent:     #E8632B;
  --accent-2:   #C94F1D;
  --line:       #DCE1E6;
  --line-dark:  rgba(255, 255, 255, .14);
  --line-faint: rgba(255, 255, 255, .08);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;

  --shell: min(1240px, calc(100vw - 48px));
  --topbar-h: 38px;
  --nav-h: 74px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
  --ease: cubic-bezier(.25, .8, .25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--white); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
strong { font-weight: 650; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  background: var(--navy); color: var(--white);
  padding: .55rem 1rem; font-size: .85rem;
  transform: translateY(-300%);
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: none; }

.shell { width: var(--shell); margin-inline: auto; }

/* arrow icon (standard, used everywhere) */
.arr {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}

/* ---------- Kicker / labels ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray);
}
.kicker-tick { width: 22px; height: 2px; background: var(--accent); flex: none; }
.kicker-light { color: rgba(255, 255, 255, .75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  padding: .95rem 1.55rem;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover .arr { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }

.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-3); }

.btn-lg { padding: 1rem 1.65rem; font-size: .95rem; }
.btn-nav { padding: .68rem 1.15rem; font-size: .88rem; }

/* ============================================================
   TOP BAR + NAV
   ============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  height: var(--topbar-h);
  display: flex; align-items: center;
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .08em;
  position: relative; z-index: 110;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar-label { text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-link { color: rgba(255, 255, 255, .85); transition: color .2s; white-space: nowrap; }
.topbar-link:hover { color: var(--accent); }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-scrolled { box-shadow: 0 6px 24px -18px rgba(13, 27, 40, .4); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .85rem; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-weight: 750; font-size: 1.05rem; letter-spacing: .02em;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 10px; height: 10px;
  background: var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text > span {
  font-family: var(--mono);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gray);
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  position: relative;
  font-size: .94rem; font-weight: 550;
  color: var(--gray);
  padding: .4rem 0;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: .9rem; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease);
}
.mobile-menu.open { max-height: 320px; }
.mobile-menu nav { padding: .6rem 24px 1.2rem; display: flex; flex-direction: column; }
.mobile-menu a {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 0;
  font-weight: 600; font-size: 1.02rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mm-idx { font-family: var(--mono); font-size: .72rem; color: var(--accent); }
.mm-cta { color: var(--accent-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 46%;
}
.hero-media img {
  transform-origin: center;
  filter: saturate(1.22) contrast(1.06) brightness(.96);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(80deg, rgba(7, 15, 24, .8) 0%, rgba(8, 18, 29, .42) 46%, rgba(9, 20, 33, .05) 78%, rgba(9, 20, 33, .1) 100%),
    linear-gradient(to top, rgba(7, 14, 22, .8) 0%, rgba(7, 14, 22, .18) 24%, rgba(7, 14, 22, 0) 42%),
    linear-gradient(rgba(11, 26, 44, .38), rgba(11, 26, 44, .38));
  mix-blend-mode: normal;
}

.hero-content {
  padding: clamp(4.5rem, 9vh, 7rem) 0 clamp(3rem, 7vh, 5.5rem);
  max-width: none;
}
.hero-title {
  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
  font-weight: 730;
  font-variation-settings: "wdth" 110;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 1.25rem 0 1.3rem;
  text-wrap: balance;
}
.hero-lede {
  max-width: 54ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; }

/* stat strip */
.hero-stats {
  border-top: 1px solid var(--line-dark);
  background: rgba(10, 18, 27, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hstat {
  padding: 1.35rem 1.6rem 1.45rem 0;
  border-left: 1px solid var(--line-dark);
  padding-left: 1.6rem;
}
.hstat:first-child { border-left: 0; padding-left: 0; }
.hstat-label {
  display: block;
  font-family: var(--mono);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .5rem;
}
.hstat-value {
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
  font-weight: 700;
  font-variation-settings: "wdth" 108;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.hstat-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 650; font-size: 1.02rem;
  color: var(--accent);
  margin-top: .2rem;
}
.hstat-link:hover .arr { transform: translateX(5px); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  border-top: 1px solid var(--line-faint);
  overflow: clip;
  padding: .78rem 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--mono);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track i { font-style: normal; color: var(--accent); margin: 0 1.1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 4rem);
}
.section-rail { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.rail-num {
  font-family: var(--mono);
  font-size: .8rem; color: var(--accent); font-weight: 600;
}
.rail-num::after { content: ""; display: block; width: 38px; height: 2px; background: var(--accent); margin-top: .55rem; }
.rail-label {
  font-size: .92rem; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray);
  margin-top: .5rem;
}

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2.5rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.8rem);
}
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 720;
  font-variation-settings: "wdth" 110;
  letter-spacing: -.018em;
  line-height: 1.08;
  margin-top: 1rem;
}
.section-lede {
  max-width: 38ch;
  color: var(--gray);
  font-size: clamp(.98rem, 1.25vw, 1.08rem);
  padding-bottom: .4rem;
}

/* ============================================================
   OVERVIEW
   ============================================================ */
.overview { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--white); }
.overview-text {
  font-size: clamp(1.22rem, 1.9vw, 1.62rem);
  font-weight: 480;
  line-height: 1.5;
  letter-spacing: -.01em;
  max-width: 33em;
  text-wrap: pretty;
}
.overview-text strong { font-weight: 700; color: var(--navy); }

.overview-media {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}
.photo-card { position: relative; overflow: hidden; background: var(--navy); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(15deg, rgba(13, 27, 40, .32), transparent 55%);
  pointer-events: none;
}

.overview-points { display: flex; flex-direction: column; }
.op {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.op:first-child { border-top: 1px solid var(--line); }
.op-term { font-weight: 650; font-size: 1.05rem; white-space: nowrap; }
.op-rule { flex: 1; height: 1px; background: var(--line); position: relative; }
.op-rule::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%);
  background: var(--accent);
}

/* ============================================================
   CRITERIA
   ============================================================ */
.criteria {
  background: var(--steel);
  border-block: 1px solid var(--line);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.crit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.crit-cell {
  position: relative;
  background: var(--white);
  padding: 1.9rem 1.8rem 2.1rem;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background-color .3s var(--ease);
}
.crit-cell::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.crit-cell:hover::before { transform: scaleX(1); }
.crit-cell:hover { background: #FBFCFD; }

.crit-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2.2rem; }
.crit-num {
  font-family: var(--mono);
  font-size: .8rem; font-weight: 600;
  color: var(--gray);
}
.crit-cell:hover .crit-num { color: var(--accent); }
.crit-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--steel);
  transition: background-color .3s var(--ease);
}
.crit-icon svg {
  width: 25px; height: 25px;
  fill: none; stroke: var(--navy); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .3s;
}
.crit-cell:hover .crit-icon { background: var(--accent); }
.crit-cell:hover .crit-icon svg { stroke: var(--white); }
.crit-cell h3 {
  font-size: 1.1rem; font-weight: 680;
  font-variation-settings: "wdth" 105;
  letter-spacing: -.01em; line-height: 1.25;
  max-width: 18ch;
}

/* ============================================================
   INDUSTRIES (dark)
   ============================================================ */
.industries {
  background: var(--navy);
  color: var(--white);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.industries .section-lede { color: rgba(255, 255, 255, .65); }

.ind-table { border-top: 1px solid var(--line-dark); }
.ind-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
  padding: clamp(.95rem, 1.6vw, 1.2rem) .4rem;
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  transition: background-color .3s var(--ease), padding-left .35s var(--ease);
}
.ind-row::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform .35s var(--ease);
}
.ind-row:hover { background: var(--navy-2); padding-left: 1.4rem; }
.ind-row:hover::before { transform: scaleY(1); }

.ind-idx {
  font-family: var(--mono);
  font-size: .82rem; font-weight: 500;
  color: rgba(255, 255, 255, .45);
  transition: color .3s;
}
.ind-row:hover .ind-idx { color: var(--accent); }
.ind-name {
  font-size: clamp(1.12rem, 1.9vw, 1.55rem);
  font-weight: 620;
  font-variation-settings: "wdth" 106;
  letter-spacing: -.012em;
  line-height: 1.2;
}
.ind-arr {
  width: clamp(22px, 2.4vw, 30px); height: clamp(22px, 2.4vw, 30px);
  opacity: .35;
}
.ind-row:hover .ind-arr { opacity: 1; transform: translateX(6px); color: var(--accent); }

/* ============================================================
   GEOGRAPHY (photo band)
   ============================================================ */
.geography {
  position: relative;
  color: var(--white);
  isolation: isolate;
  overflow: clip;
  display: flex; align-items: center;
  min-height: clamp(420px, 58vh, 560px);
}
.geo-media { position: absolute; inset: 0; z-index: -1; }
.geo-media img { width: 100%; height: 116%; object-fit: cover; object-position: center 30%; }
.geo-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(86deg, rgba(10, 18, 27, .93) 8%, rgba(10, 18, 27, .62) 55%, rgba(10, 18, 27, .42) 100%);
}
.geo-content { padding: clamp(4rem, 8vw, 6rem) 0; }
.geography .section-title { margin-top: 1.1rem; margin-bottom: 1.3rem; }
.geo-text {
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  font-weight: 480;
  line-height: 1.5;
  letter-spacing: -.008em;
  max-width: 36ch;
  color: rgba(255, 255, 255, .88);
}
.geo-text strong { font-weight: 720; color: var(--white); }

/* ============================================================
   INQUIRIES
   ============================================================ */
.inquiries {
  background: var(--white);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.inq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.inquiries .section-title { margin-bottom: 1.3rem; }
.inq-text {
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  color: var(--gray);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 2.2rem;
}
.inq-photo { aspect-ratio: 4 / 3; }
.inq-photo img { height: 100%; }
.inq-text-sub { margin-top: -1.1rem; }

/* ---------- Added: sub-paragraphs & criteria descriptions ---------- */
.overview-text-sub {
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  font-weight: 440;
  color: var(--gray);
  margin-top: 1.4rem;
}
.geo-text-sub {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(255, 255, 255, .78);
  margin-top: 1.2rem;
  max-width: 42ch;
}
.crit-cell { justify-content: flex-start; }
.crit-top { margin-bottom: 1.5rem; }
.crit-cell h3 { max-width: 22ch; margin-bottom: .85rem; }
.crit-desc {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 34ch;
}

/* ============================================================
   OWNER TRANSITION
   ============================================================ */
.transition {
  background: var(--white);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  border-top: 1px solid var(--line);
}
.trans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.trans-card {
  position: relative;
  background: var(--white);
  padding: 2.1rem 1.9rem 2.3rem;
}
.trans-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.trans-card:hover::before { transform: scaleX(1); }
.trans-num {
  font-family: var(--mono);
  font-size: .8rem; font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 1.4rem;
}
.trans-card h3 {
  font-size: 1.18rem; font-weight: 680;
  font-variation-settings: "wdth" 105;
  letter-spacing: -.01em; line-height: 1.25;
  margin-bottom: .9rem;
  color: var(--navy);
}
.trans-card p {
  font-size: .98rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ============================================================
   FIT (exclusions)
   ============================================================ */
.fit {
  background: var(--steel);
  border-top: 1px solid var(--line);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.fit-title { margin-bottom: 1.2rem; }
.fit-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--gray);
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 2.4rem;
}
.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.fit-list li {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.1rem .2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.04rem;
  font-weight: 560;
  color: var(--ink);
}
.fit-list li::before {
  content: "";
  flex: none;
  width: 9px; height: 2px;
  background: var(--accent);
  margin-top: .72em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2.5rem; flex-wrap: wrap;
  padding: 3.2rem 0 2.6rem;
  border-bottom: 1px solid var(--line-faint);
  width: var(--shell);
}
.footer-brand { display: flex; gap: 1.1rem; align-items: flex-start; max-width: 46ch; }
.footer .brand-mark { background: var(--white); color: var(--navy); }
.footer-name { font-weight: 700; font-size: 1.12rem; color: var(--white); margin-bottom: .3rem; }
.footer-tag { line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { transition: color .2s; font-weight: 550; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.3rem 0 1.6rem;
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
}

/* ============================================================
   ANIMATION GATING (applied only when JS+motion available)
   ============================================================ */
html.js-anim [data-hero] { opacity: 0; transform: translateY(30px); }
html.js-anim [data-hero-stats] { opacity: 0; transform: translateY(100%); }
html.js-anim [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js-anim [data-clip] { clip-path: inset(0 100% 0 0); }
html.js-anim .hero-media img { transform: scale(1.07); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .crit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hstat { border-top: 1px solid var(--line-dark); }
  .hstat:nth-child(-n+2) { border-top: 0; }
  .hstat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .section-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .section-rail { flex-direction: row; align-items: center; gap: 1rem; }
  .rail-num::after { display: none; }
  .rail-label { margin-top: 0; }
  .trans-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .mobile-menu { display: block; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .overview-media { grid-template-columns: 1fr; }
  .inq-grid { grid-template-columns: 1fr; }
  .inq-photo { order: -1; aspect-ratio: 16 / 9; }
  .footer-links { flex-direction: column; }
}

@media (max-width: 760px) {
  :root { --topbar-h: 34px; }
  .topbar-link { display: none; }
  .nav-right .btn-nav { display: none; }
  .hero { min-height: calc(94svh - var(--header-h)); }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.45rem); }
  .hero-ctas .btn { width: 100%; }
  .hero-stats-grid { grid-template-columns: 1fr; }
  .hstat { border-left: 0; padding-left: 0; padding-top: 1rem; padding-bottom: 1rem; }
  .hstat:nth-child(-n+2) { border-top: 0; }
  .hstat + .hstat { border-top: 1px solid var(--line-dark); }
  .crit-grid { grid-template-columns: 1fr; }
  .crit-cell { min-height: 0; }
  .crit-top { margin-bottom: 1.6rem; }
  .ind-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: .9rem; }
  .geo-media img { height: 100%; }
  .fit-list { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; transform: none; }
}
