@charset "UTF-8";
/* ==========================================================================
   Pak Super - site.css  (v2)
   Language : dark arcade-editorial. Deep green-black ground, one locked
              electric-lime accent, oversized geometric sans, flat hairline
              panels. No shadows, no pills, no gradients-as-decoration.
   Theme    : LOCKED DARK. No section inverts.
   Shape    : ONE radius system. --r: 2px everywhere. No exceptions.
   Accent   : ONE accent (--accent). Used identically on every section.
   Width    : ONE content width. Every bounded element shares the masthead's
              left and right edges (--shell + --gutter).
   ========================================================================== */

:root {
  /* ---- Ground (brand green driven to near-black) ---------------------- */
  --ink:        #060F0C;
  --ink-2:      #0A1712;
  --surface:    #0C1B15;
  --surface-2:  #11251C;
  --surface-3:  #163024;

  /* ---- Single locked accent ------------------------------------------ */
  --accent:     #B8FF3C;
  --accent-dim: #8FD41F;
  --accent-ink: #08150A;

  /* ---- Text ----------------------------------------------------------- */
  --text:       #E9F3EC;
  --text-muted: #94A99D;
  --text-dim:   #64766C;

  /* ---- Lines (no shadows anywhere) ------------------------------------ */
  --line:       rgba(233,243,236,.10);
  --line-2:     rgba(233,243,236,.18);
  --line-accent: rgba(184,255,60,.34);

  /* ---- Type ----------------------------------------------------------- */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Manrope', ui-sans-serif, system-ui, sans-serif;

  /* ---- Shape (one system) --------------------------------------------- */
  --r: 2px;

  /* ---- Layout ---------------------------------------------------------- */
  --shell:   1200px;
  --gutter:  1.5rem;
  --mast-h:  4.5rem;

  /* ---- Motion ---------------------------------------------------------- */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur:  .42s;

  /* ---- Layers ---------------------------------------------------------- */
  --z-mast: 50; --z-overlay: 40; --z-raised: 10;

  color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* The UA stylesheet gives <figure> a 40px side margin, which would push every
   figure off the shared content edges. Reset it. */
figure, figcaption { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--text);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.2; letter-spacing: -.02em; }
h4 { font-size: .95rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.1rem; }
li { margin-bottom: .45rem; }

strong { font-weight: 700; color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r); }
::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .7rem 1.1rem; border-radius: var(--r); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   THE SHARED CONTENT WIDTH
   Every bounded element resolves to these exact edges. Do not add a
   max-width to anything below this block, including headings and body copy.
   Text runs the full container width; there are no typographic comfort caps.
   ========================================================================== */
.shell,
.mast-inner,
.colophon-inner,
.colophon-legal-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.panel, .panel-grid, .marklist, .duo, .plate, .mosaic,
.faq-list, .rail, .compliance, .headline-block, .statement,
.lede-panel, .section > .shell > * {
  max-width: none;
  width: 100%;
}

/* Section rhythm: 50px top and bottom, so 50px of air between any two
   adjacent sections (they do not double up, padding is per-section). */
section { padding: 25px 0; position: relative; }
.section--tight { padding: 25px 0; }

/* ==========================================================================
   Section headings - left aligned, no eyebrow by default
   ========================================================================== */
.headline-block { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.headline-block h2 { margin-bottom: .7rem; }
.headline-block p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

/* Eyebrow exists but is rationed to 1 per 3 sections. */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.accent-word { color: var(--accent); }

/* ==========================================================================
   Buttons - one shape, one accent, no pills
   ========================================================================== */
.btn, .btn-2 {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: .94rem;
  line-height: 1; letter-spacing: -.01em;
  padding: 1.05rem 1.6rem; min-height: 48px;
  border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .12s var(--ease);
}
.btn {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn:hover { background: var(--accent-dim); border-color: var(--accent-dim); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }

.btn-2 {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-2:hover { border-color: var(--accent); color: var(--accent); background: rgba(184,255,60,.06); }
.btn-2:active { transform: translateY(1px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Text link with an accent rule that grows on hover */
.link-mark {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .84rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line-accent);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.link-mark:hover { border-color: var(--accent); color: var(--accent); }
.link-mark::after { content: "\2192"; transition: transform .2s var(--ease); }
.link-mark:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Masthead - single row, 72px, sticky
   ========================================================================== */
.masthead {
  position: sticky; top: 0; z-index: var(--z-mast);
  background: rgba(6,15,12,.86);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.masthead.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(6,15,12,.96);
}
.mast-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--mast-h);
}
.mast-brand { display: inline-flex; align-items: center; flex: none; }
.mast-brand img {
  height: 38px; width: auto; object-fit: contain;
  border-radius: var(--r);
  /* The mark is a dark-green tile on a near-black page: give it an edge. */
  box-shadow: 0 0 0 1px var(--line-2);
}

.mast-nav { margin-left: auto; position: relative; }
.mast-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.mast-nav li { margin: 0; }
.mast-nav a {
  display: block; padding: .3rem 0;
  color: var(--text-muted);
  font-size: .89rem; font-weight: 600; letter-spacing: -.01em;
  transition: color .2s var(--ease);
}
.mast-nav a:hover, .mast-nav a.active { color: var(--text); }
.nav-rule {
  position: absolute; bottom: -.1rem; left: 0; height: 2px; width: 0;
  background: var(--accent); opacity: 0;
  transition: transform .34s var(--ease), width .34s var(--ease), opacity .2s var(--ease);
  pointer-events: none;
}
.mast-cta { flex: none; }
.mast-cta .btn { padding: .78rem 1.25rem; min-height: 42px; font-size: .86rem; }

.mast-toggle {
  display: none; flex: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: var(--r); cursor: pointer;
}
.mast-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--text);
  transition: transform .28s var(--ease), opacity .18s var(--ease);
}
.mast-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mast-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mast-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ==========================================================================
   Hero background layer - .stage and .page-head
   The image sits behind the copy at low opacity under a scrim, so headline
   and CTA contrast stay above WCAG AA on every page.
   ========================================================================== */
.stage, .page-head { position: relative; overflow: hidden; isolation: isolate; }

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .30; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 8%, rgba(6,15,12,.86) 46%, rgba(6,15,12,.60) 100%),
    linear-gradient(180deg, rgba(6,15,12,.55) 0%, rgba(6,15,12,.10) 40%, var(--ink) 100%);
}
.stage > .shell, .page-head > .shell { position: relative; z-index: 1; }

@media (max-width: 900px) {
  /* Narrow screens put the copy over the middle of the frame: darken further. */
  .hero-bg img { opacity: .22; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(6,15,12,.72) 0%, rgba(6,15,12,.86) 55%, var(--ink) 100%);
  }
}

/* ==========================================================================
   Stage - asymmetric editorial hero
   ========================================================================== */
.stage { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: 25px; }
.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.stage h1 { margin-bottom: 1.15rem; }
.stage-lede {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  margin-bottom: 2rem;
}
.stage-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.stage-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.stage-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,12,0) 55%, rgba(6,15,12,.55));
  pointer-events: none;
}

/* ==========================================================================
   Rail - big numerals, hairline separated, no card boxes
   ========================================================================== */
.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Symmetric inset so numerals never touch a divider; the first and last
   cells stay flush with the shared content edges. */
.rail-cell {
  padding: 1.6rem 1.75rem;
  border-right: 1px solid var(--line);
}
.rail-cell:first-child { padding-left: 0; }
.rail-cell:last-child  { padding-right: 0; border-right: 0; }
.rail-n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 600; letter-spacing: -.045em; line-height: 1;
  color: var(--accent);
  margin-bottom: .4rem;
}
.rail-l {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--text-dim); letter-spacing: .02em;
}

/* ==========================================================================
   Compliance band - inline, under the hero, never inside it
   ========================================================================== */
.compliance { display: flex; flex-wrap: wrap; gap: .5rem; }
.compliance-item {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  color: var(--text-muted);
}
.compliance-item svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* ==========================================================================
   Panel - the one card. Flat, hairline, accent rule on hover.
   ========================================================================== */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  transition: border-color .28s var(--ease), background-color .28s var(--ease);
}
.panel::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.panel:hover { border-color: var(--line-2); background: var(--surface-2); }
.panel:hover::before { transform: scaleX(1); }
.panel > :last-child { margin-bottom: 0; }
.panel h3 { margin-bottom: .55rem; }
.panel p { color: var(--text-muted); font-size: .95rem; }

.panel--static:hover { border-color: var(--line); background: var(--surface); }
.panel--static::before { display: none; }

.panel--wide { padding: clamp(1.75rem, 3vw, 2.5rem); }

/* Lede panel - leftover intro paragraphs */
.lede-panel {
  border-left: 2px solid var(--accent);
  padding: .35rem 0 .35rem 1.5rem;
}
.lede-panel p { color: var(--text-muted); font-size: 1.02rem; }
.lede-panel > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Panel grid - column count follows item count
   ========================================================================== */
.panel-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); }
.panel-grid .panel { border: 0; border-radius: 0; }
.panel-grid--n1 { grid-template-columns: minmax(0, 1fr); }
.panel-grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel-grid--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel-grid--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Stacked variant - tiles carrying h4 subheads and lists */
.panel-grid--stack { grid-template-columns: minmax(0, 1fr); }
.panel-grid--stack .panel { padding: clamp(1.75rem, 3vw, 2.4rem); }
.panel-grid--stack h4 {
  margin: 1.75rem 0 .9rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}

/* ==========================================================================
   Marklist - long lists split into two columns, accent marks, no dividers
   ========================================================================== */
.marklist {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .75rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.marklist--single { grid-template-columns: minmax(0, 1fr); }
.marklist li {
  margin: 0; padding-left: 1.6rem; position: relative;
  color: var(--text-muted); font-size: .95rem; line-height: 1.55;
}
.marklist li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 8px; height: 8px; border-radius: 1px;
  background: var(--accent);
}
.marklist li strong { color: var(--text); }

/* ==========================================================================
   Duo - copy beside media (used at most twice in a row)
   ========================================================================== */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.duo-copy > :last-child { margin-bottom: 0; }
.duo-copy p { color: var(--text-muted); }
.duo-media {
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; background: var(--surface);
}
.duo-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.duo:not(:has(.duo-media)) { grid-template-columns: minmax(0, 1fr); }

/* ==========================================================================
   Plate - contained editorial figure between sections
   ========================================================================== */
.plate {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: end;
}
.plate-media {
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; background: var(--surface);
}
.plate-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.plate-note { padding-bottom: .5rem; }
.plate-note h3 { margin-bottom: 0; color: var(--text); }
.plate:not(:has(.plate-media)) { display: none; }

/* ==========================================================================
   Mosaic - homepage game floor. Exactly as many cells as items.
   ========================================================================== */
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.mosaic .panel { display: flex; flex-direction: column; grid-column: span 2; }
.mosaic .panel .link-mark { margin-top: auto; align-self: flex-start; }
.mosaic .panel--lead { grid-column: span 3; }
.mosaic .panel--full { grid-column: 1 / -1; }
.mosaic .panel--tone { background: var(--surface-2); }
.mosaic .panel--tone:hover { background: var(--surface-3); }

/* Image-backed mosaic cell keeps grid variety */
.mosaic-figure {
  grid-column: span 3;
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r);
  min-height: 220px;
}
.mosaic-figure img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ==========================================================================
   Statement - oversized closing editorial block
   ========================================================================== */
.statement { border-top: 1px solid var(--line); padding-top: 25px; }
.statement h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  margin-bottom: 1.5rem;
}
.statement-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.statement-body p { color: var(--text-muted); }
.statement-body > div > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Page head - inner pages
   ========================================================================== */
.page-head { padding: clamp(2.25rem, 4vw, 3.5rem) 0 25px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .8rem; margin-bottom: 1.1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; color: var(--text-dim); }
.crumbs li + li::before { content: "/"; color: var(--surface-3); }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--accent); }
.page-head h1 { margin-bottom: .9rem; }
.page-head .page-lede { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1rem; }
.byline {
  display: flex; flex-wrap: wrap; gap: .35rem 1.25rem;
  font-size: .8rem; color: var(--text-dim); margin: 0;
}
.byline strong { color: var(--text-muted); font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-row { border-bottom: 1px solid var(--line); }
.faq-row summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 600;
  letter-spacing: -.02em; color: var(--text); line-height: 1.25;
  transition: color .2s var(--ease);
}
.faq-row:hover .faq-q, .faq-row[open] .faq-q { color: var(--accent); }
.faq-mark {
  flex: none; position: relative; width: 18px; height: 18px;
  transition: transform .3s var(--ease);
}
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--accent); transform: translate(-50%, -50%);
}
.faq-mark::before { width: 14px; height: 2px; }
.faq-mark::after  { width: 2px; height: 14px; }
.faq-row[open] .faq-mark { transform: rotate(135deg); }
.faq-a { padding: 0 0 1.5rem; }
.faq-a p { color: var(--text-muted); margin: 0; font-size: .98rem; }

/* ==========================================================================
   Closing CTA - own section, no overlap
   ========================================================================== */
.closer { border-top: 1px solid var(--line-accent); }
.closer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.closer h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: .8rem; }
.closer p { color: var(--text-muted); margin-bottom: 0; }
.closer .btn-row { justify-content: flex-start; }

/* ==========================================================================
   Colophon - footer. Link map, then oversized ghost wordmark.
   ========================================================================== */
.colophon { border-top: 1px solid var(--line); background: var(--ink-2); }
.colophon-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.colophon-brand img { height: 44px; width: auto; object-fit: contain; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); }
.colophon-brand p { color: var(--text-dim); font-size: .9rem; margin: 1rem 0 1.25rem; }
.pay-row { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.pay-row li {
  margin: 0; padding: .35rem .7rem;
  border: 1px solid var(--line); border-radius: var(--r);
  font-size: .72rem; font-weight: 600; color: var(--text-dim);
}
.colophon-col h3 {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 1.1rem;
}
.colophon-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.colophon-col li { margin: 0; }
.colophon-col a { color: var(--text-muted); font-size: .92rem; font-weight: 500; }
.colophon-col a:hover { color: var(--accent); }

.colophon-mark {
  overflow: hidden; border-top: 1px solid var(--line);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.colophon-mark > span { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.colophon-mark span {
  display: block; text-align: center;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 15vw, 12rem);
  font-weight: 700; letter-spacing: -.055em; line-height: .82;
  color: transparent;
  -webkit-text-stroke: 1px var(--surface-3);
  user-select: none;
}
.colophon-legal { border-top: 1px solid var(--line); }
.colophon-legal-inner {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.35rem;
  font-size: .8rem; color: var(--text-dim);
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound { padding: clamp(4rem, 10vw, 8rem) 0; }
.notfound-n {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 15rem); font-weight: 700;
  letter-spacing: -.06em; line-height: .8; margin: 0 0 1.5rem;
  color: transparent; -webkit-text-stroke: 2px var(--surface-3);
}
.notfound p { color: var(--text-muted); }

/* ==========================================================================
   Motion - opt-in, gated on .js so no-JS and crawlers see everything
   ========================================================================== */
.js .rise { opacity: 0; transform: translateY(20px); }
.js .rise.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   RTL (Punjabi mirror)
   ========================================================================== */
[dir="rtl"] ul, [dir="rtl"] ol { padding-left: 0; padding-right: 1.1rem; }
[dir="rtl"] .marklist { padding-right: 0; }
[dir="rtl"] .marklist li { padding-left: 0; padding-right: 1.6rem; }
[dir="rtl"] .marklist li::before { left: auto; right: 0; }
[dir="rtl"] .lede-panel { border-left: 0; border-right: 2px solid var(--accent); padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .mast-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .rail-cell { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .rail-cell:first-child { padding-left: 1.75rem; padding-right: 0; }
[dir="rtl"] .rail-cell:last-child  { padding-right: 1.75rem; padding-left: 0; border-left: 0; }
[dir="rtl"] .link-mark::after { content: "\2190"; }
[dir="rtl"] .link-mark:hover::after { transform: translateX(-3px); }
/* English link labels stay LTR so trailing punctuation stays put */
[dir="rtl"] .mast-nav ul,
[dir="rtl"] .colophon-col ul,
[dir="rtl"] .pay-row,
[dir="rtl"] .colophon-legal-inner { direction: ltr; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .stage-media { max-height: 420px; }
  .mosaic .panel, .mosaic .panel--lead, .mosaic-figure { grid-column: span 3; }
  .colophon-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .mast-toggle { display: block; margin-left: auto; }
  .mast-cta { display: none; }
  .nav-rule { display: none; }

  .mast-nav {
    position: fixed; inset: 0; margin: 0;
    background: var(--ink);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .28s var(--ease), visibility .28s var(--ease);
    z-index: var(--z-overlay);
  }
  .mast-nav.is-open { opacity: 1; visibility: visible; }
  .mast-nav ul { flex-direction: column; gap: 1.3rem; padding: 2rem; }
  .mast-nav a { font-family: var(--font-display); font-size: 1.55rem; color: var(--text); letter-spacing: -.03em; }
  body.nav-lock { overflow: hidden; }

  .panel-grid--n3, .panel-grid--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-cell:nth-child(odd)  { padding-left: 0; padding-right: 1.75rem; }
  .rail-cell:nth-child(even) { padding-right: 0; padding-left: 1.75rem; border-right: 0; }
  .rail-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  [dir="rtl"] .rail-cell:nth-child(odd)  { padding-right: 0; padding-left: 1.75rem; }
  [dir="rtl"] .rail-cell:nth-child(even) { padding-left: 0; padding-right: 1.75rem; border-left: 0; }

  .duo, .plate, .statement-body, .closer-grid { grid-template-columns: minmax(0, 1fr); }
  .duo-media { order: -1; }
  .plate-note { padding-bottom: 0; }
}

@media (max-width: 700px) {
  :root { --gutter: 1.25rem; }
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .mosaic .panel, .mosaic .panel--lead, .mosaic-figure { grid-column: 1 / -1; }
  .marklist { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .panel-grid--n2, .panel-grid--n3, .panel-grid--n4 { grid-template-columns: minmax(0, 1fr); }
  .colophon-inner { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn, .btn-row .btn-2 { width: 100%; }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .rail-cell,
  .rail-cell:nth-child(odd),
  .rail-cell:nth-child(even) {
    border-right: 0; border-left: 0;
    border-bottom: 1px solid var(--line);
    padding-left: 0; padding-right: 0;
  }
  .rail-cell:last-child { border-bottom: 0; }
}
