/* ============================================================
   Rose Engineering Ltd.
   Dark editorial ledger. Keyed to sodium-vapour airfield light.
   ============================================================ */

:root {
  --bg: #0a0e15;
  --bg-raise: #0e1320;
  --panel: #121826;
  --panel-2: #161d2d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ecf0f6;
  --text-soft: #b4bdcc;
  --muted: #85909f;
  --amber: #e8a33d;
  --amber-bright: #ffc169;
  --amber-dim: rgba(232, 163, 61, 0.13);
  --green: #79d6a0;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bangla: "Tiro Bangla", serif;
  --container: 1220px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
/* the picture wrapper is a fallback mechanism, not a layout box */
picture { display: contents; }
a { color: var(--amber-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
b, strong { font-weight: 600; }

::selection { background: var(--amber); color: #14100a; }

/* ---------- skip link & scroll progress ---------- */
.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--amber); color: #171006; font-weight: 600;
  padding: 12px 20px; border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip:focus { top: 0; text-decoration: none; }
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-bright));
  box-shadow: 0 0 12px rgba(232, 163, 61, 0.7);
  z-index: 140; pointer-events: none;
  /* driven by transform, not width, so scrolling never triggers layout */
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- Bangla mode typography ---------- */
:root.lang-bn body { font-family: "Hind Siliguri", var(--sans); }
:root.lang-bn .hero__title,
:root.lang-bn .section__title,
:root.lang-bn .lrow__body h3,
:root.lang-bn .story__body h3,
:root.lang-bn .register__title,
:root.lang-bn .principal__title { font-family: var(--bangla); font-weight: 400; }
:root.lang-bn .hero__title { line-height: 1.2; font-size: clamp(30px, 4.6vw, 64px); }
:root.lang-bn .section__title { line-height: 1.18; }
:root.lang-bn .lrow__bigsub, :root.lang-bn .hstat__label { letter-spacing: 0.02em; }
/* Bengali has no monospace design; keep the label role but hand it a real Bengali face
   and drop the Latin display tracking, which would otherwise split conjunct clusters. */
:root.lang-bn .kicker, :root.lang-bn .viz-title, :root.lang-bn .side-card__title,
:root.lang-bn .contact-card h3, :root.lang-bn .story__no, :root.lang-bn .lrow__bigsub,
:root.lang-bn .hstat__label, :root.lang-bn .rd-item span, :root.lang-bn .cap-row__certs,
:root.lang-bn .register__meta, :root.lang-bn .kind-badge, :root.lang-bn .lic__name,
:root.lang-bn .footer__tag, :root.lang-bn .principal__sub {
  font-family: "Hind Siliguri", var(--sans);
  letter-spacing: 0.04em;
  text-transform: none;
}
:root.lang-bn .hero__meta { font-family: "Hind Siliguri", var(--sans); letter-spacing: 0.06em; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

}
@media (prefers-reduced-motion: reduce) {
  .pastcta { box-shadow: 0 0 0 1px rgba(232, 163, 61, 0.1), 0 0 40px -8px rgba(232, 163, 61, 0.38); }
  .pastcta::before { display: none; }
}

/* ============================================================ BRAND */
.brand { display: flex; flex-direction: column; line-height: 1.25; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__en { font-weight: 700; letter-spacing: 0.22em; font-size: 13.5px; }
.brand__bn { font-family: var(--bangla); font-size: 13px; color: var(--amber-bright); letter-spacing: 0.02em; }

/* ============================================================ NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(10, 14, 21, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--text-soft); font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; }
.nav__links a:hover { color: var(--amber-bright); text-decoration: none; }
.nav__cta {
  padding: 9px 20px; border: 1px solid rgba(232, 163, 61, 0.6);
  color: var(--amber-bright) !important;
}
.nav__cta:hover { background: var(--amber-dim); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 7px 14px; cursor: pointer;
  font-size: 12px; letter-spacing: 0.06em;
  transition: border-color 0.2s ease;
}
.lang-toggle:hover { border-color: var(--amber); }
.lang-toggle .lt { color: var(--muted); transition: color 0.2s ease; }
.lang-toggle .lt.is-active { color: var(--amber-bright); font-weight: 600; }
.lang-toggle .lt-bn { font-family: var(--bangla); font-size: 13px; }
.lang-toggle .lt-sep { color: var(--line-strong); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform 0.3s, opacity 0.3s; }

@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; top: 76px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 14, 21, 0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav__links a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__cta { border: 0; padding: 13px 4px; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================ HERO */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.07) translateY(-1.2%); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,21,0.6) 0%, rgba(10,14,21,0.12) 32%, rgba(10,14,21,0.55) 66%, rgba(10,14,21,0.96) 100%),
    radial-gradient(110% 70% at 20% 100%, rgba(10,14,21,0.6), transparent 65%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 70px; }
.hero__meta {
  font-size: 11.5px; letter-spacing: 0.18em; color: var(--amber-bright);
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.04; letter-spacing: -0.015em;
  margin-bottom: 30px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 8px 40px rgba(0, 0, 0, 0.65);
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--amber-bright); }
/* hero credential plate: the enlistment set as a rating plate, one labelled cell per field.
   The credential earns prominence through precision and adjacency to the headline, not through
   display scale, which is what sank the earlier one-big-line attempts. */
.plate {
  display: flex; flex-wrap: wrap; align-items: stretch;
  border: 1px solid rgba(232, 163, 61, 0.42);
  border-radius: 6px;
  background: rgba(10, 14, 21, 0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  margin-bottom: 34px;
  width: fit-content; max-width: 100%;
}
.plate__cell {
  display: flex; flex-direction: column; gap: 5px;
  padding: 13px 22px;
  border-right: 1px solid rgba(232, 163, 61, 0.22);
}
.plate__cell:last-child { border-right: 0; }
.plate__k {
  font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); white-space: nowrap;
}
.plate__v {
  font-size: clamp(14px, 1.25vw, 17px); font-weight: 500; letter-spacing: 0.04em;
  color: var(--text); white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
@media (max-width: 700px) {
  .plate { width: 100%; }
  .plate__cell { flex: 1 1 50%; padding: 11px 16px; }
  .plate__cell:nth-child(2n) { border-right: 0; }
  .plate__cell:nth-child(-n+2) { border-bottom: 1px solid rgba(232, 163, 61, 0.22); }
}
:root.lang-bn .plate__k { font-family: "Hind Siliguri", var(--sans); letter-spacing: 0.06em; text-transform: none; }
:root.lang-bn .plate__v { font-family: "Hind Siliguri", var(--sans); letter-spacing: 0; }

.hero__stand {
  max-width: 660px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-soft); margin-bottom: 38px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75), 0 4px 22px rgba(0, 0, 0, 0.6);
}
.hero__stand strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 4px;
  font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: #171006; box-shadow: 0 10px 34px rgba(232, 163, 61, 0.35); }
.btn--amber:hover { background: var(--amber-bright); box-shadow: 0 14px 40px rgba(232, 163, 61, 0.5); }
.btn--line { border: 1px solid var(--line-strong); color: var(--text); background: rgba(10, 14, 21, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--line:hover { border-color: var(--amber); color: var(--amber-bright); }
.btn__arrow { font-size: 16px; line-height: 1; }

.hero__stats.reveal { transform: none; }
.hero__stats { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.18); background: rgba(8, 11, 17, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__stats-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.hstat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 26px 26px 26px 0; margin-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.hstat:last-child { border-right: 0; margin-right: 0; }
.hstat__num { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; color: var(--amber-bright); line-height: 1.1; text-shadow: 0 0 30px rgba(232, 163, 61, 0.35); }
.hstat__unit { font-size: 0.55em; color: var(--amber); }
.hstat__label { font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 900px) {
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hstat { padding: 18px 18px 18px 0; margin-right: 18px; }
  .hstat:nth-child(2n) { padding-right: 0; margin-right: 0; }
  .hstat:nth-child(2n) { border-right: 0; }
  .hstat:last-child { display: none; }
}

/* ============================================================ SECTION FURNITURE */
.section { padding: 120px 0; position: relative; }
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 20px;
}
.kicker__no { color: var(--amber); }
.kicker::after { content: ""; flex: 0 0 46px; height: 1px; background: var(--amber); opacity: 0.6; }
.kicker--amber { color: var(--amber-bright); }
.section__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 4.8vw, 62px); line-height: 1.05; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section__lede { max-width: 640px; color: var(--text-soft); font-size: 17px; margin-bottom: 60px; }

/* approach-light divider */
.lights { display: flex; justify-content: center; gap: 26px; padding: 6px 0 0; }
.lights i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px 2px rgba(232, 163, 61, 0.55);
  opacity: 0.9;
}
.lights i:nth-child(odd) { opacity: 0.45; box-shadow: 0 0 7px 1px rgba(232, 163, 61, 0.35); }

/* ============================================================ LEDGER (the record) */
.section--record { background: var(--bg); padding-bottom: 100px; }
.ledger { border-top: 1px solid var(--line-strong); }
.lrow {
  display: grid;
  grid-template-columns: 64px 1.05fr 1.5fr 1fr;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.lrow__no { color: var(--muted); font-size: 13px; padding-top: 10px; }
.lrow__stat { display: flex; flex-direction: column; gap: 10px; }
.lrow__big {
  font-size: clamp(52px, 5.5vw, 84px); font-weight: 500; line-height: 0.95;
  color: var(--amber-bright);
  text-shadow: 0 0 44px rgba(232, 163, 61, 0.3);
  letter-spacing: -0.03em;
}
.lrow__pct { font-size: 0.45em; color: var(--amber); letter-spacing: 0; }
.lrow__bigsub { font-size: 12.5px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; max-width: 240px; }
.lrow__body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.15; margin-bottom: 14px; }
.lrow__body h3 em { font-style: italic; color: var(--amber-bright); }
.lrow__body p { color: var(--text-soft); font-size: 15px; max-width: 520px; }
.lrow__body strong { color: var(--text); }
.lrow__data { border-top: 1px solid var(--line-strong); padding-top: 4px; }
.dline { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dline span { color: var(--muted); font-size: 12.5px; }
.dline b { font-size: 13.5px; font-weight: 500; color: var(--text); white-space: nowrap; }
.dline--hl b { color: var(--amber-bright); font-weight: 600; }
@media (max-width: 1020px) {
  .lrow { grid-template-columns: 1fr 1.4fr; gap: 28px; }
  .lrow__no { display: none; }
  .lrow__data { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lrow { grid-template-columns: 1fr; gap: 22px; padding: 40px 0; }
}

/* ============================================================ WORKS */
.section--works { background: var(--bg-raise); }
.viz-sites {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 60px;
}
@media (max-width: 480px) { .viz-sites { padding: 24px 18px; } }
.viz-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.viz-sites__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 56px; }
@media (max-width: 900px) { .viz-sites__grid { grid-template-columns: 1fr; } }

.srow { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 1.6fr) auto; align-items: center; gap: 12px; padding: 9px 0; }
.srow__name { font-size: 13px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow__bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.srow__fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--amber), var(--amber-bright)); width: 0; transition: width 1s cubic-bezier(0.16, 1, 0.3, 1); }
.bars-in .srow__fill { width: var(--w); }
.srow__val { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }

@media (max-width: 480px) {
  .srow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 10px; }
}
@media (max-width: 420px) {
  /* the bar is decorative; below this the name and the figure need the whole row */
  .srow { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .srow__bar { display: none; }
}

/* ---------- principal ---------- */
.principal { margin-bottom: 60px; }
.principal__title { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.2; margin-bottom: 26px; }
.principal__sub { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0.06em; margin-left: 10px; }
.principal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1020px) { .principal__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .principal__grid { grid-template-columns: 1fr; } }
.pcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 22px 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pcard:hover { border-color: rgba(232, 163, 61, 0.45); }
.pcard__val { font-family: var(--mono); font-weight: 600; font-size: 17px; color: var(--amber-bright); }
.pcard__desc { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; flex: 1; }
.pcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.pcard__egp { font-family: var(--mono); color: var(--green); font-size: 11px; }

/* ---------- register ---------- */
.register__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.register__title { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.2; }
.register__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.reg-input {
  appearance: none; -webkit-appearance: none;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px;
  color: var(--text); font-family: var(--sans); font-size: 13.5px;
  padding: 10px 14px; min-width: 130px;
}
.reg-input:focus { outline: 2px solid var(--amber); outline-offset: -1px; }
input.reg-input { min-width: 210px; }
.register__meta { font-size: 12px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.04em; }

.register__tablewrap {
  overflow: auto; max-height: min(680px, 78vh);
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: var(--radius);
  /* scroll-shadow affordance: covers scroll with the content, shadows stay pinned to the edges */
  background:
    linear-gradient(90deg, var(--panel) 40%, rgba(18, 24, 38, 0)) 0 0,
    linear-gradient(270deg, var(--panel) 40%, rgba(18, 24, 38, 0)) 100% 0,
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent) 0 0,
    linear-gradient(270deg, rgba(0, 0, 0, 0.55), transparent) 100% 0,
    var(--panel);
  background-repeat: no-repeat;
  background-size: 48px 100%, 48px 100%, 18px 100%, 18px 100%, auto;
  background-attachment: local, local, scroll, scroll, scroll;
}
.regtable { width: 100%; border-collapse: collapse; min-width: 700px; }
.regtable thead th {
  text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 15px 16px;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 var(--line-strong);
  position: sticky; top: 0; background: var(--panel-2); z-index: 2;
}
.regtable tbody tr.rrow { cursor: pointer; transition: background 0.15s ease; }
.regtable tbody tr.rrow:hover { background: rgba(232, 163, 61, 0.05); }
.regtable tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
.rt-num { width: 40px; }
.rt-site { width: 150px; }
.rt-year { width: 62px; }
.rt-val { width: 140px; text-align: right; }
.regtable td.rt-val { font-family: var(--mono); text-align: right; white-space: nowrap; color: var(--text); }
.rt-egp { width: 90px; }
td.rt-num { color: var(--muted); font-family: var(--mono); font-size: 12px; }
td.rt-year { font-family: var(--mono); color: var(--text-soft); }
td.rt-site { color: var(--text-soft); font-size: 12.5px; }
.rrow__desc { color: var(--text); }
.egp-badge {
  display: inline-block; font-family: var(--mono); font-size: 10.5px;
  color: var(--green); border: 1px solid rgba(121, 214, 160, 0.4);
  background: rgba(121, 214, 160, 0.07);
  border-radius: 5px; padding: 3px 7px; white-space: nowrap;
}
.kind-badge {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong); border-radius: 5px; padding: 2px 7px;
  margin-left: 8px; vertical-align: 1px; white-space: nowrap;
}
tr.rdetail td { background: var(--bg-raise); padding: 22px 24px 26px; }
.rdetail__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 26px; }
.rd-item { display: flex; flex-direction: column; gap: 3px; }
.rd-item span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.rd-item strong { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text); word-break: break-word; }
.rd-item strong.under { color: var(--green); }
.rd-item strong.over { color: #e88a8a; }
.register__foot { font-size: 12.5px; color: var(--muted); margin-top: 16px; max-width: 740px; }

/* ---------- phones: restack the register as cards. A sideways-scrolling table is
     undiscoverable, so below this width each contract becomes its own block and the
     column headers move into per-cell labels. ---------- */
@media (max-width: 760px) {
  .register__tablewrap {
    overflow: visible; border: 0; border-radius: 0; background: none;
    max-height: none;
  }
  .regtable { min-width: 0; display: block; }
  .regtable thead { display: none; }
  .regtable tbody { display: block; }
  .regtable tbody tr.rrow {
    display: block; position: relative;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    padding: 18px 18px 14px 46px; margin-bottom: 10px;
  }
  .regtable tbody tr.rrow:hover { background: var(--panel); border-color: rgba(232, 163, 61, 0.45); }
  .regtable tbody td { display: block; border: 0; padding: 0; }
  .regtable tbody td.rt-num {
    position: absolute; left: 16px; top: 18px;
    font-size: 11px; color: var(--muted);
  }
  .rrow__desc { display: block; font-size: 14px; line-height: 1.45; margin-bottom: 12px; }
  .regtable tbody td.rt-site, .regtable tbody td.rt-year, .regtable tbody td.rt-val {
    display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
    /* the desktop column widths would otherwise squeeze these into 2-3 wrapped lines */
    width: auto; padding: 7px 0; border-top: 1px solid var(--line); text-align: right;
  }
  .regtable tbody td.rt-site::before,
  .regtable tbody td.rt-year::before,
  .regtable tbody td.rt-val::before {
    content: attr(data-label);
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted); flex: none;
  }
  .regtable tbody td.rt-val { font-size: 14.5px; color: var(--amber-bright); font-weight: 600; }
  .kind-badge { margin-left: 0; margin-top: 4px; }
  tr.rdetail { display: block; margin: -10px 0 14px; }
  tr.rdetail td { display: block; padding: 16px 18px 18px; border-radius: 0 0 12px 12px; }
  .rdetail__grid { grid-template-columns: 1fr 1fr; gap: 12px 18px; }
}
@media (max-width: 420px) {
  .rdetail__grid { grid-template-columns: 1fr; }
}

/* ============================================================ SUB-PAGE HEAD */
.page-sub { padding-top: 0; }
.pagehead {
  position: relative;
  padding: 150px 0 60px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(232, 163, 61, 0.09), transparent 60%),
    var(--bg-raise);
}
.crumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 22px; }
.crumb a { color: var(--amber); }
.pagehead__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.pagehead__lede { max-width: 660px; color: var(--text-soft); font-size: 17px; margin-bottom: 44px; }
.pagehead__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 14px 56px; justify-content: start; }
.phstat { display: flex; flex-direction: column; gap: 4px; }
.phstat__num { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; color: var(--amber-bright); line-height: 1.1; text-shadow: 0 0 30px rgba(232, 163, 61, 0.3); }
.phstat__unit { font-size: 0.55em; color: var(--amber); }
.phstat__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) {
  .pagehead { padding: 120px 0 48px; }
  .pagehead__stats { grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
}
.section--register { background: var(--bg); padding-top: 70px; }
/* the dedicated page has room, so no nested scroll region here: the page itself scrolls */
.section--register .register__tablewrap {
  max-height: none; overflow: visible;
  background: var(--panel);
}
.section--register .regtable thead th { top: 76px; }
.register__hint { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.scrollcue {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 2px 0 18px;
  padding: 9px 16px 9px 14px;
  border: 1px solid rgba(232, 163, 61, 0.35);
  border-radius: 999px;
  background: rgba(232, 163, 61, 0.08);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber-bright);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.scrollcue.is-done { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.scrollcue__arrow {
  display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(232, 163, 61, 0.18); color: var(--amber-bright);
  font-size: 12px; line-height: 1;
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(2px); }
}

/* ============================================================ AIRSIDE MOSAIC */
.mosaic-wrap { background: var(--bg); padding: 0 0 30px; }
.mosaic {
  display: grid;
  /* tall cell fills the left column; the two landscape cells stack on the right,
     so every grid slot is occupied and the block reads as one composition */
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 244px 244px;
  gap: 12px;
}
.mosaic__cell {
  position: relative; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--line);
  margin: 0;
}
.mosaic__cell--tall { grid-row: span 2; }
.mosaic__cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: saturate(0.96) brightness(0.99);
}
.mosaic__cell:hover img { transform: scale(1.04); filter: saturate(1.05) brightness(1); }
.mosaic__cell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 11, 17, 0.85));
  pointer-events: none;
}
.mosaic__cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber-bright);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.mosaic__note { font-size: 12px; color: var(--muted); margin-top: 14px; }
@media (max-width: 820px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 190px; }
  .mosaic__cell--tall { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 520px) {
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .mosaic__cell { height: 210px; }
  .mosaic__cell--tall { grid-column: span 1; }
}
:root.lang-bn .mosaic__cap { font-family: "Hind Siliguri", var(--sans); letter-spacing: 0.04em; text-transform: none; }

/* ============================================================ CROSS-PAGE CTA */
.pastcta {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(120deg, rgba(232, 163, 61, 0.07), var(--panel) 45%, var(--bg-raise));
  border: 1px solid rgba(232, 163, 61, 0.35); border-radius: var(--radius);
  padding: 34px 36px; color: var(--text);
  /* slow amber breathing glow so the card reads as the primary action on the section */
  box-shadow: 0 0 0 1px rgba(232, 163, 61, 0.05), 0 0 30px -10px rgba(232, 163, 61, 0.26);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
/* the pulse lives on a pseudo-element and animates opacity only, so it composites
   instead of repainting the card on every frame */
.pastcta::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  box-shadow: 0 0 52px -6px rgba(232, 163, 61, 0.55);
  opacity: 0; pointer-events: none;
  animation: ctaGlow 3.6s ease-in-out infinite;
  will-change: opacity;
}
@keyframes ctaGlow { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.pastcta:hover {
  text-decoration: none; border-color: var(--amber);
  transform: translateY(-3px);
  background: linear-gradient(120deg, rgba(232, 163, 61, 0.13), var(--bg-raise));
  animation: none;
  box-shadow: 0 0 0 1px rgba(232, 163, 61, 0.18), 0 14px 60px -10px rgba(232, 163, 61, 0.55);
}
.pastcta__body { display: flex; flex-direction: column; gap: 8px; }
.pastcta__label { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.pastcta__title { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.pastcta__note { color: var(--text-soft); font-size: 14.5px; max-width: 620px; }
.pastcta__go {
  flex: none; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--amber-bright); font-size: 20px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.pastcta:hover::before { animation: none; opacity: 1; }
.pastcta:hover .pastcta__go { background: var(--amber); border-color: var(--amber); color: #171006; transform: translateX(4px); }
.pastcta--back { margin-top: 60px; }
@media (max-width: 640px) {
  .pastcta { padding: 26px 24px; gap: 20px; align-items: flex-start; flex-direction: column; }
  .pastcta__go { width: 46px; height: 46px; }
}

/* ============================================================ BAND */
.band { position: relative; min-height: 400px; display: flex; align-items: center; overflow: hidden; }
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,21,0.93) 0%, rgba(10,14,21,0.55) 55%, rgba(10,14,21,0.2) 100%); }
.band__inner { position: relative; z-index: 2; padding: 90px 28px; width: 100%; }
.band__stat { max-width: 580px; display: flex; flex-direction: column; gap: 16px; }
.band--agl .band__scrim { background: linear-gradient(90deg, rgba(10,14,21,0.94) 0%, rgba(10,14,21,0.6) 58%, rgba(10,14,21,0.3) 100%); }
.band--agl .band__bg img { object-position: center 60%; }
.band__num { font-size: clamp(40px, 5.4vw, 66px); font-weight: 500; color: var(--amber-bright); line-height: 1; text-shadow: 0 0 44px rgba(232, 163, 61, 0.35); letter-spacing: -0.02em; }
.band__label { color: var(--text-soft); font-size: 16.5px; line-height: 1.65; }

/* ============================================================ CAPABILITIES */
.section--cap { background: var(--bg); }
.cap-index { border-top: 1px solid var(--line-strong); margin-bottom: 90px; }
.cap-row {
  display: grid; grid-template-columns: 56px 1.4fr 2fr auto auto; gap: 22px; align-items: center;
  padding: 17px 0; border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.cap-row:hover { background: rgba(232, 163, 61, 0.04); }
.cap-row__idx { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cap-row__name { font-size: 15px; font-weight: 600; color: var(--text); }
.cap-row__bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.cap-row__fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(232,163,61,0.55), var(--amber-bright)); width: 0; transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.bars-in .cap-row__fill { width: var(--w); }
.cap-row__certs { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.cap-row__val { font-family: var(--mono); font-size: 13.5px; font-weight: 600; color: var(--amber-bright); white-space: nowrap; min-width: 118px; text-align: right; }
.cap-note { font-size: 12.5px; color: var(--muted); padding-top: 14px; max-width: 700px; }
@media (max-width: 820px) {
  .cap-row { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 15px 0; }
  .cap-row__idx, .cap-row__bar { display: none; }
  .cap-row__name { grid-column: 1; }
  .cap-row__certs { grid-column: 1; }
  .cap-row__val { grid-row: 1 / 3; grid-column: 2; align-self: center; }
}

/* ---------- stories ---------- */
.stories { display: flex; flex-direction: column; gap: 28px; }
.story {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.story--flip .story__img { order: 2; }
@media (max-width: 900px) { .story, .story--flip { grid-template-columns: 1fr; } .story--flip .story__img { order: 0; } }
.story__img { position: relative; min-height: 300px; }
.story__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__body { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.story__no { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.story__body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 2.5vw, 32px); line-height: 1.15; }
.story__body p { color: var(--text-soft); font-size: 15.5px; }
.story__body strong { color: var(--text); }

/* ============================================================ RECENT AWARDS */
.section--current { background: var(--bg-raise); overflow: hidden; }
.current__bg { position: absolute; inset: 0; }
.current__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.current__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,17,0.9) 0%, rgba(8,11,17,0.94) 55%, rgba(8,11,17,0.97) 100%); }
.current__inner { position: relative; z-index: 2; }
.current-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.cur-row {
  display: grid; grid-template-columns: 110px 1fr 210px 110px; gap: 22px; align-items: center;
  padding: 19px 6px; border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.cur-row:hover { background: rgba(232, 163, 61, 0.04); }
@media (max-width: 900px) { .cur-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 2px; } }
.cur-id { font-family: var(--mono); font-size: 13px; color: var(--amber-bright); }
.cur-title { font-size: 14px; color: var(--text-soft); line-height: 1.5; }
.cur-office { font-size: 12.5px; color: var(--muted); }
.cur-date { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 900px) { .cur-date { text-align: left; } }

/* ============================================================ COMPANY */
.section--company { background: var(--bg); }
.company-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 52px; align-items: start; margin-top: 56px; }
@media (max-width: 900px) { .company-grid { grid-template-columns: 1fr; } }
.company-story p { color: var(--text-soft); font-size: 16.5px; margin-bottom: 20px; max-width: 610px; }
.company-story strong { color: var(--text); }
.company-story em { color: var(--amber-bright); }
.company-story .mono { font-size: 0.85em; color: var(--text); }

.timeline { margin-top: 40px; border-left: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 26px; padding-left: 28px; }
.tl-item { position: relative; display: flex; flex-direction: column; gap: 3px; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.15), 0 0 12px rgba(232, 163, 61, 0.6);
}
.tl-year { color: var(--amber-bright); font-weight: 600; font-size: 14px; }
.tl-text { color: var(--text-soft); font-size: 14.5px; }

.company-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.side-card__title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.side-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.side-row:last-of-type { border-bottom: 0; }
.side-row span { color: var(--muted); }
.side-row strong { color: var(--text); font-weight: 600; text-align: right; }
.side-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.lic-list { display: flex; flex-direction: column; }
.lic { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lic:last-child { border-bottom: 0; }
.lic__name { font-size: 13px; color: var(--muted); }
.lic__no { font-family: var(--mono); font-size: 13.5px; color: var(--text); font-weight: 500; }
.lic__detail { font-size: 11.5px; color: var(--muted); }

/* ============================================================ CONTACT */
.section--contact { overflow: hidden; padding-bottom: 140px; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.contact__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,16,0.94) 0%, rgba(7,10,16,0.84) 100%); }
.contact__inner { position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 1020px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: rgba(19, 25, 38, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 28px 26px;
}
.contact-card h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; font-weight: 500; }
.contact-card p { color: var(--text-soft); font-size: 14.5px; }
.contact-line { display: block; color: var(--text); font-size: 14px; padding: 5px 0; }
.contact-line:hover { color: var(--amber-bright); }

/* ============================================================ FOOTER */
.footer { border-top: 1px solid var(--line); background: #070a10; padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 26px; align-items: flex-start; }
.footer__brand { display: flex; flex-direction: column; line-height: 1.3; }
.footer__brand .brand__en { font-size: 13px; }
.footer__brand .brand__bn { font-size: 13px; }
.footer__brand p { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.footer__fine { color: var(--muted); font-size: 12px; max-width: 460px; line-height: 1.7; }

@media (max-width: 900px) {
  /* no vertical cap on touch: a nested scroller inside page scroll is a trap */
  .register__tablewrap { max-height: none; }
}

@media (max-width: 640px) {
  .hero__title br, .section__title br { display: none; }
  .section { padding: 90px 0; }
  .section--contact { padding-bottom: 110px; }
  .brand__en { font-size: 11px; letter-spacing: 0.16em; }
  .brand__bn { font-size: 11px; }
  /* keep the tap areas comfortable on touch without changing the visual weight */
  .brand { padding: 7px 0; }
  .lang-toggle { padding: 10px 12px; }
  .nav__burger { padding: 10px 6px; }
  .nav__right { gap: 6px; }
}

/* keyboard focus */
a:focus-visible, button:focus-visible, tr.rrow:focus-visible,
.reg-input:focus-visible, .lang-toggle:focus-visible {
  outline: 2px solid var(--amber-bright); outline-offset: 2px; border-radius: 4px;
}

/* print: a procurement officer should get a clean, legible register */
@media print {
  body { background: #fff; color: #111; font-size: 11pt; }
  .nav, .progress, .skip, .hero__bg, .hero__scrim, .band__bg, .band__scrim,
  .contact__bg, .contact__scrim, .lights, .hero__actions, .register__tools,
  .lang-toggle, .story__img, .pastcta, .crumb, .mosaic-wrap, .current__bg,
  .current__scrim, .scrollcue, .progress { display: none !important; }
  .hero { min-height: 0; }
  .hero__title, .hero__stand, .section__title, .section__lede, .lrow__body p,
  .band__label, .company-story p, .tl-text, .register__foot { color: #111 !important; text-shadow: none !important; }
  .hero__meta, .kicker, .lrow__big, .band__num, .hstat__num, .cap-row__val { color: #7a5410 !important; text-shadow: none !important; }
  .hstat__label, .lrow__bigsub, .dline span, .srow__name, .srow__val, .cap-row__certs,
  .cur-title, .cur-office, .cur-date, .side-row span, .lic__name, .lic__detail,
  .side-note, .footer__fine, .footer__brand p, .pcard__desc, .pcard__meta, .register__meta { color: #444 !important; }
  .lrow, .cap-row, .dline, .side-row, .lic, .cur-row, .side-card, .pcard,
  .viz-sites, .register__tablewrap, .story { border-color: #ccc !important; background: #fff !important; }
  .register__tablewrap { max-height: none; overflow: visible; }
  .regtable { min-width: 0; }
  .regtable thead th { position: static; background: #f2f2f2 !important; color: #333 !important; }
  .regtable tbody td { border-color: #ddd !important; color: #222; }
  .rrow__desc, .rt-val, td.rt-year, td.rt-site { color: #222 !important; }
  .egp-badge, .kind-badge { color: #333 !important; border-color: #999 !important; background: none !important; }
  .section { padding: 24pt 0; }
  .band { min-height: 0; }
  .band--agl { display: none; }
  .plate { border-color: #999 !important; background: none !important; }
  .plate__k { color: #7a5410 !important; }
  .plate__v { color: #111 !important; }
  .plate__cell { border-right-color: #ccc !important; }
  .srow__bar, .cap-row__bar { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .story { grid-template-columns: 1fr; }
  .contact-card { background: #fff !important; border-color: #ccc !important; }
  .contact-card p, .contact-line { color: #222 !important; }
  .footer { background: #fff; border-top-color: #ccc; }
  .brand__bn, .footer__brand .brand__en { color: #111; }
  /* sub-page header */
  .pagehead { background: #fff !important; padding: 0 0 18pt; border-bottom-color: #ccc !important; }
  .pagehead__title { color: #111 !important; text-shadow: none !important; }
  .pagehead__lede { color: #333 !important; }
  .phstat__num { color: #7a5410 !important; text-shadow: none !important; }
  .phstat__label { color: #444 !important; }
  .register__hint { color: #444 !important; }
  .section--register { padding-top: 12pt; }
  /* card-stacked register must return to table form on paper */
  .regtable, .regtable tbody, .regtable thead { display: table-row-group; }
  .regtable { display: table !important; }
  .regtable thead { display: table-header-group !important; }
  .regtable tbody tr.rrow { display: table-row !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
  .regtable tbody td { display: table-cell !important; padding: 6pt 8pt !important; border-top: 0 !important; }
  .regtable tbody td.rt-num { position: static !important; }
  .regtable tbody td.rt-site::before,
  .regtable tbody td.rt-year::before,
  .regtable tbody td.rt-val::before { content: none !important; }
  tr.rrow { break-inside: avoid; }
}

/* large desktop and ultrawide: let the page breathe in proportion */
@media (min-width: 1920px) {
  :root { --container: 1420px; }
  body { font-size: 17px; }
  .section { padding: 150px 0; }
  .hero__inner { padding-bottom: 90px; }
  .hstat { padding-top: 32px; padding-bottom: 32px; }
  .band { min-height: 480px; }
  /* the mosaic and story panels would otherwise look squat against the taller rhythm */
  .mosaic { grid-template-rows: 290px 290px; }
  .story__img { min-height: 340px; }
  .story__body { padding: 56px 54px; }
  .band__stat { max-width: 640px; }
  .pagehead { padding: 170px 0 70px; }
}

/* skip the slow hero pan on small screens and on coarse pointers: it is the single
   most expensive continuous effect on the page and least noticed on a phone */
@media (max-width: 900px), (hover: none) {
  .hero__bg img { animation: none; }
  .scrollcue__arrow { animation: none; }
  /* blurring a full-width fixed bar on every scroll frame is the main jank source
     on low-end phones; an opaque bar looks near-identical and costs nothing */
  .nav.is-solid, .nav__links, .hero__stats, .btn--line, .contact-card, .plate {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav.is-solid { background: rgba(10, 14, 21, 0.96); }
  .hero__stats { background: rgba(8, 11, 17, 0.86); }
  .contact-card { background: rgba(19, 25, 38, 0.94); }
  .plate { background: rgba(10, 14, 21, 0.8); }
  .btn--line { background: rgba(10, 14, 21, 0.6); }
}

/* browsers without backdrop-filter get the same opaque treatment */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.is-solid { background: rgba(10, 14, 21, 0.96); }
  .hero__stats { background: rgba(8, 11, 17, 0.86); }
  .contact-card { background: rgba(19, 25, 38, 0.94); }
  .plate { background: rgba(10, 14, 21, 0.8); }
