/* =====================================================================
   PROBOSCIS — "The Proboscis Thesis"  (Concept B / editorial gazette)
   System-font newspaper aesthetic. Palette lives in :root below —
   change --acid / --paper / --ink to re-skin.
   No web fonts on purpose: Arial + Georgia are the newsprint stack.
   ===================================================================== */

:root {
  --ink:    #11100d;               /* near-black ink            */
  --paper:  #eee6d8;               /* newsprint cream           */
  --acid:   #e94728;               /* bright red-orange accent  */
  --orange: #cc5636;               /* burnt orange (join block) */
  --line:   rgba(13, 13, 11, .3);  /* hairline rules            */
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--paper);
  /* fine dot-grid + subtle paper sheen */
  background-image:
    radial-gradient(rgba(20, 17, 12, .12) .55px, transparent .7px),
    linear-gradient(90deg, rgba(80, 55, 25, .025), transparent 22%, rgba(255, 255, 255, .08) 55%, transparent);
  background-size: 4px 4px, 100% 100%;
}
/* faint print scanlines over everything */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 99;
  opacity: .15;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(52, 38, 20, .08) 4px);
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1400px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- inline icon (replaces the emoji arrows) ---------- */
.ico { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.08em; transition: transform .18s ease; }
.ico svg { display: block; width: 100%; height: 100%; }
/* nudge in the arrow's own direction on hover of the containing link */
a:hover .ico--ne { transform: translate(2px, -2px); }
a:hover .ico--dn { transform: translate(0, 2px); }

/* ---------- nav ---------- */
.nav {
  height: 86px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); position: relative; z-index: 5;
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 25px; font-weight: 950; letter-spacing: -1.5px; }
.wordmark span { color: var(--acid); }
.wordmark__mark {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid var(--ink); flex: 0 0 auto;
}
.navlinks { display: flex; align-items: center; gap: 34px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.navlinks > a { transition: color .15s ease; }
.navlinks > a:not(.navCta):hover { color: var(--acid); }
.navCta { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 14px 18px; transition: transform .18s ease, background-color .18s ease; }
.navCta:hover { transform: translateY(-2px); }
.navCta__short { display: none; }

/* ---------- gazette masthead ---------- */
.gazette {
  height: 116px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: 4px double var(--ink); font-family: Georgia, serif;
}
.gazette b { font-size: clamp(34px, 4.5vw, 67px); letter-spacing: -.055em; text-transform: uppercase; }
.gazette span { font: 700 9px Arial, sans-serif; letter-spacing: .14em; }
.gazette span:last-child { text-align: right; }
.edition {
  height: 34px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--ink); font-size: 8px; font-weight: 900; letter-spacing: .14em;
}

/* ---------- hero ---------- */
.hero { min-height: 730px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.heroCopy { padding: 78px 24px 70px 0; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { font-size: 11px; font-weight: 900; letter-spacing: .15em; display: flex; align-items: center; gap: 10px; }
.eyebrow > span:first-child { width: 8px; height: 8px; background: var(--acid); border-radius: 50%; flex: none; }
.hero h1 { font-size: clamp(76px, 8.6vw, 145px); line-height: .78; letter-spacing: -.075em; margin: 34px 0 30px; font-weight: 950; }
.hero h1 em, .join h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--acid); }
.lede { font-family: Georgia, serif; font-size: 24px; line-height: 1.4; max-width: 520px; }
.heroActions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 18px; }
.primary {
  display: inline-flex; gap: 40px; align-items: center; background: var(--acid); color: #fff;
  padding: 18px 20px; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  transition: transform .18s ease, background-color .18s ease;
}
.primary:hover { transform: translateY(-2px); background: #d63c1e; }
.micro { font-size: 10px; line-height: 1.5; text-transform: uppercase; font-weight: 800; letter-spacing: .09em; margin-top: 20px; }

/* ---- secondary (outline) button — pairs with .primary ---- */
.ghost {
  display: inline-flex; align-items: center; gap: 14px;
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
  padding: 17px 20px; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.ghost--onOrange { border-color: #170a07; color: #170a07; }
.ghost--onOrange:hover { background: #170a07; color: var(--orange); }

/* ---- contract-address chip with copy (editorial: ruled + monospace) ---- */
.ca { display: inline-flex; align-self: flex-start; align-items: stretch; margin-top: 24px; max-width: 100%; border: 1px solid var(--ink); background: transparent; }
.ca__label {
  display: flex; align-items: center; background: var(--ink); color: var(--paper);
  font: 900 8px/1 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 0 12px; white-space: nowrap;
}
.ca__addr {
  display: flex; align-items: center; min-width: 0;
  font-family: "Courier New", ui-monospace, monospace; font-size: 12.5px; letter-spacing: 0;
  padding: 11px 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ca__copy {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; flex-shrink: 0;
  border: 0; border-left: 1px solid var(--ink); background: transparent; color: var(--ink);
  padding: 0 14px; font: 900 10px Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease;
}
.ca__copy:hover { background: var(--acid); color: #fff; }
.ca__ico { display: inline-flex; width: 15px; height: 15px; }
.ca__ico svg { width: 100%; height: 100%; }
.ca__ico--done { display: none; }
.ca.is-copied .ca__ico--copy { display: none; }
.ca.is-copied .ca__ico--done { display: inline-flex; }
.ca.is-copied .ca__copy { background: var(--acid); color: #fff; }
/* copy chip on the orange join block */
.ca--onOrange { border-color: #170a07; }
.ca--onOrange .ca__label { background: #170a07; color: var(--orange); }
.ca--onOrange .ca__addr { color: #170a07; }
.ca--onOrange .ca__copy { border-left-color: #170a07; color: #170a07; }
.ca--onOrange .ca__copy:hover, .ca--onOrange.is-copied .ca__copy { background: #170a07; color: var(--orange); }

/* join CTA pair */
.joinCtas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 4px; }

.heroVisual {
  position: relative; overflow: hidden; margin-left: 30px;
  background: url('../images/hero-monkey.png?v=8') center / cover no-repeat,
              linear-gradient(155deg, #251714, #050505 65%);
}
.noseStamp {
  position: absolute; z-index: 2; top: 56px; left: 38px;
  border: 1px solid rgba(255, 255, 255, .45); color: #fff; border-radius: 50%;
  width: 118px; height: 118px; display: grid; place-content: center; text-align: center;
  font-size: 10px; line-height: 1.25; letter-spacing: .18em; transform: rotate(-9deg);
}
.noseStamp b { font-size: 24px; letter-spacing: -.04em; }
.species {
  position: absolute; left: 28px; right: 28px; bottom: 24px; color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 14px;
  font-size: 9px; letter-spacing: .18em; font-weight: 800; display: flex; justify-content: space-between;
}

/* ---------- ticker ---------- */
.ticker { background: var(--acid); color: #fff; overflow: hidden; padding: 15px 0; font-weight: 950; font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
.ticker__track { display: inline-flex; width: max-content; animation: marquee 20s linear infinite; }
.ticker__seq { flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- front briefs ---------- */
.frontBriefs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 4px double var(--ink); }
.frontBriefs p { margin: 0; padding: 15px 20px 15px 0; display: flex; gap: 14px; border-right: 1px solid var(--line); font-family: Georgia, serif; font-size: 13px; }
.frontBriefs p + p { padding-left: 20px; }
.frontBriefs p:last-child { border: 0; }
.frontBriefs b { font: 900 8px Arial, sans-serif; color: var(--acid); letter-spacing: .12em; white-space: nowrap; }

/* ---------- thesis ---------- */
.sectionKicker { font-size: 10px; font-weight: 900; letter-spacing: .17em; border-top: 1px solid var(--line); padding-top: 18px; }
.thesis { padding: 110px 0 130px; }
.thesisGrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; margin-top: 70px; }
.thesis h2, .proof h2 { font-size: clamp(58px, 7.2vw, 112px); line-height: .88; letter-spacing: -.065em; margin: 0; font-weight: 950; }
.thesis h2 span { color: var(--acid); }
.byline { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.manifesto { font-size: 18px; line-height: 1.65; }
.manifesto .leadQuote { font-family: Georgia, serif; font-size: 30px; line-height: 1.3; margin-top: 0; }
.articleColumns { column-count: 2; column-gap: 28px; column-rule: 1px solid var(--line); font-family: Georgia, serif; font-size: 15px; text-align: justify; }
.articleColumns p { margin-top: 0; }
.articleColumns p:first-child:first-letter { float: left; font-size: 62px; line-height: .72; padding: 9px 8px 0 0; font-weight: 900; color: var(--acid); }
blockquote { margin: 32px 0; padding: 24px 0; border-top: 4px double var(--ink); border-bottom: 4px double var(--ink); font: italic 29px/1.2 Georgia, serif; text-align: center; }
.finalLine { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 22px; }

/* ---------- proof (dark) ---------- */
.proof { background: var(--ink); color: #fff; padding: 100px 0; }
.proofHead { display: flex; justify-content: space-between; align-items: flex-start; }
.proofHead > p { font-size: 10px; letter-spacing: .18em; font-weight: 900; }
.proof h2 { text-align: right; }
.proof h2 i { font-family: Georgia, serif; font-weight: 400; color: var(--acid); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 85px; border-top: 1px solid #454541; }
.pillars article { padding: 30px 32px 16px 0; border-right: 1px solid #454541; min-height: 270px; }
.pillars article + article { padding-left: 32px; }
.pillars article:last-child { border-right: 0; }
.pillarTop { display: flex; justify-content: space-between; align-items: center; color: #777; font-size: 11px; }
.pillarTop .ico { width: 14px; height: 14px; color: #777; transition: color .18s ease, transform .18s ease; }
.pillars article:hover .pillarTop .ico { color: var(--acid); transform: translate(2px, -2px); }
.pillars h3 { font-size: 28px; margin: 70px 0 15px; letter-spacing: -.04em; }
.pillars p { color: #aaa; line-height: 1.6; font-size: 14px; max-width: 330px; }

/* ---------- gallery : "the visual archive" ---------- */
.gallery { padding: 120px 0; }
.galleryHeader { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: end; margin-bottom: 60px; }
.galleryHeader h2 { font-size: clamp(62px, 8vw, 126px); line-height: .8; letter-spacing: -.07em; margin: 38px 0 0; font-weight: 950; }
.galleryHeader h2 i { font-family: Georgia, serif; font-weight: 400; color: var(--acid); }
.galleryHeader > p { font: 22px/1.45 Georgia, serif; max-width: 430px; }
.galleryGrid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 420px 390px; grid-auto-rows: 390px; gap: 14px; }
.galleryGrid figure { margin: 0; position: relative; overflow: hidden; background: #161512; color: #fff; }
.galleryGrid img, .galleryGrid video { width: 100%; height: 100%; display: block; object-fit: cover; filter: contrast(1.04) saturate(.88); transition: transform .7s ease, filter .5s ease; }
.galleryGrid figure:hover img { transform: scale(1.025); filter: contrast(1.08) saturate(1); }
.galleryFeature { grid-column: span 2; }
.galleryFeature img { object-position: center 42%; }
.galleryVideo { grid-column: span 2; }
.galleryClassic img { object-position: 72% center; }
.galleryGrid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 45px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.82)); display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 14px; }
.galleryGrid figcaption b { font-size: 8px; letter-spacing: .14em; color: #ff6748; }
.galleryGrid figcaption span { font: 18px/1.1 Georgia, serif; }
.galleryGrid figcaption small { font-size: 7px; letter-spacing: .13em; }
.liveTag, .filmLabel { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--acid); padding: 8px 10px; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.liveTag { display: flex; align-items: center; gap: 7px; }
.liveTag > span:first-child { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: blink 1s steps(1) infinite; flex: none; }
.filmLabel { background: #f1eadf; color: #111; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- culture ---------- */
.culture { padding: 120px 0; }
.cultureLine { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding: 20px 0; }
.cultureLine span { font-size: clamp(54px, 9vw, 142px); font-weight: 950; letter-spacing: -.075em; }
.cultureLine b { color: var(--acid); font-size: 12px; }
.cultureNote { font-family: Georgia, serif; font-size: 23px; line-height: 1.4; max-width: 520px; margin: 45px 0 0 auto; }

/* ---------- join (orange) ---------- */
.join { background: var(--orange); color: #170a07; padding: 110px 0; }
.joinInner { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; }
.join h2 { font-size: clamp(76px, 10vw, 160px); line-height: .76; letter-spacing: -.08em; margin: 22px 0 0; font-weight: 950; }
.join h2 em { color: #ffe8d5; }
.joinInner > div > p:first-child { font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.joinRight { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 24px; }
.joinRight > p { font-family: Georgia, serif; font-size: 25px; line-height: 1.35; }
.primary.light { background: #f7efe5; color: #111; }
.primary.light:hover { background: #fff; }
.joinRight small { font-size: 9px; line-height: 1.7; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- footer ---------- */
footer { height: 110px; display: flex; align-items: center; justify-content: space-between; font-size: 9px; font-weight: 900; letter-spacing: .15em; }

/* =====================================================================
   RESPONSIVE — standard breakpoints (desktop-first)
     base   >= 1024   full editorial desktop
     lg     <  1024   tablet — relax tight multi-column text blocks
     md     <   768   mobile — big display type scales with vw, full stack
     xs     <   480   small mobile — compact masthead + nav CTA
   ===================================================================== */

/* ---------- lg : < 1024 — tablet ---------- */
@media (max-width: 1024px) {
  /* thesis: headline stacks above a full-width, still-2-col article */
  .thesisGrid { grid-template-columns: 1fr; gap: 46px; margin-top: 52px; }

  /* pillars stay 3-across; shrink padding + heading so long words fit
     (UNMANUFACTURED etc. no longer force the grid past the viewport) */
  .pillars { margin-top: 64px; }
  .pillars article { padding: 26px 18px 14px 0; min-height: auto; }
  .pillars article + article { padding-left: 18px; }
  .pillars h3 { font-size: 21px; margin: 52px 0 12px; }
  .pillars p { font-size: 13px; }

  /* join stacks */
  .joinInner { grid-template-columns: 1fr; gap: 46px; }
  .proofHead { display: block; }
  .proof h2 { text-align: left; margin-top: 30px; }
  .cultureNote { margin-top: 36px; }

  /* gallery: keep the 3-col mosaic but shorten rows so it fits tablet */
  .gallery { padding: 96px 0; }
  .galleryHeader { gap: 40px; margin-bottom: 46px; }
  .galleryGrid { grid-template-rows: 320px 280px; grid-auto-rows: 280px; }
}

/* ---------- md : < 768 — mobile ---------- */
@media (max-width: 768px) {
  .nav { height: 72px; }
  .navlinks > a:not(.navCta) { display: none; }

  .gazette { height: 92px; grid-template-columns: 1fr; }
  .gazette b { text-align: center; font-size: 10vw; }
  .gazette span { display: none; }
  .edition span:nth-child(2) { display: none; }

  .hero { display: block; min-height: auto; }
  .heroCopy { padding: 55px 0 48px; }
  .hero h1 { font-size: 19vw; }
  .heroVisual { height: 520px; margin: 0 0 16px; }

  .frontBriefs { grid-template-columns: 1fr; }
  .frontBriefs p, .frontBriefs p + p { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }

  .thesis { padding: 80px 0; }
  .articleColumns { column-count: 1; }
  .thesis h2, .proof h2 { font-size: 16vw; }

  .pillars { grid-template-columns: 1fr; }
  .pillars article, .pillars article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid #454541; min-height: auto; }
  .pillars h3 { font-size: 28px; margin-top: 46px; }
  .pillars p { font-size: 14px; }

  .cultureLine span { font-size: 14vw; }
  .join h2 { font-size: 21vw; }
  .joinRight { max-width: 500px; }
  footer { flex-wrap: wrap; gap: 8px; }
  .micro { display: none; }

  /* gallery: stack every frame full-width */
  .gallery { padding: 80px 0; }
  .galleryHeader { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .galleryHeader h2 { font-size: 17vw; }
  .galleryGrid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 340px; gap: 12px; }
  .galleryGrid figure, .galleryFeature, .galleryVideo { grid-column: auto; height: 340px; }
  .galleryGrid figcaption { grid-template-columns: auto 1fr; }
  .galleryGrid figcaption small { display: none; }
}

/* ---------- xs : < 480 — small mobile ---------- */
@media (max-width: 480px) {
  .wordmark { font-size: 19px; gap: 9px; }
  .wordmark__mark { width: 26px; height: 26px; }
  .navCta { padding: 12px 14px; font-size: 11px; gap: 9px; }
  .navCta__full { display: none; }
  .navCta__short { display: inline; }
  .gazette b { font-size: 8.6vw; }
  .cultureLine { gap: 12px; }
  .cultureLine span { font-size: 12.5vw; min-width: 0; overflow-wrap: anywhere; }
  .lede { font-size: 21px; }
  .manifesto .leadQuote { font-size: 25px; }
  blockquote { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .ico, .primary, .navCta, .pillarTop .ico { transition: none; }
}

/* =====================================================================
   PREMIUM POLISH LAYER
   Additive only — none of this changes layout or content. Everything is
   gated behind `html.polish` (added by JS) so a no-JS visitor still gets
   the full static site, and all motion is disabled under reduced-motion.
   ===================================================================== */

/* ---- film grain (tactile print texture over the whole page) ---- */
.fx-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url('../images/noise.png?v=8'); background-size: 160px 160px;
  opacity: .55; mix-blend-mode: multiply; will-change: transform;
  animation: fx-grain 1.1s steps(3) infinite;
}
@keyframes fx-grain {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-4%, 3%); }
  66%  { transform: translate(3%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ---- reading-progress bar (editorial touch) ---- */
.fx-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9998;
  background: var(--acid); pointer-events: none;
}

/* ---- custom cursor (fine-pointer only; blends over any background) ---- */
.fx-cursor-dot, .fx-cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference;
  opacity: 0; transition: opacity .3s ease;
}
.fx-cursor-dot { width: 7px; height: 7px; background: #fff; }
.fx-cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid #fff;
  transition: width .28s cubic-bezier(.2,.7,.2,1), height .28s cubic-bezier(.2,.7,.2,1),
              background-color .28s ease, opacity .3s ease;
}
.fx-cursor-ring.is-hover { width: 58px; height: 58px; background: rgba(255,255,255,.12); }
.fx-cursor-ready .fx-cursor-dot, .fx-cursor-ready .fx-cursor-ring { opacity: 1; }
/* hide the native cursor once ours is live (no form inputs on this page) */
html.fx-cursor-ready, html.fx-cursor-ready * { cursor: none; }

/* ---- scroll reveals (existing elements fade + rise into place) ---- */
html.polish [data-reveal] {
  opacity: 0; transform: translateY(26px); will-change: opacity, transform;
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
html.polish [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- hero headline: line-by-line mask reveal ---- */
html.polish .fx-line { display: block; overflow: hidden; }
html.polish .fx-line__i { display: block; transform: translateY(115%); will-change: transform; transition: transform 1s cubic-bezier(.16,1,.3,1); }
html.polish .fx-line.is-in .fx-line__i { transform: none; }

/* ---- nav link animated underline ---- */
.polish .navlinks > a:not(.navCta) { position: relative; }
.polish .navlinks > a:not(.navCta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px;
  background: var(--acid); transform: scaleX(0); transform-origin: right;
  transition: transform .38s cubic-bezier(.16,1,.3,1);
}
.polish .navlinks > a:not(.navCta):hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- primary buttons: light sweep on hover ---- */
.polish .primary { position: relative; overflow: hidden; }
.polish .primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.polish .primary:hover::after { transform: translateX(130%); }

/* ---- ticker: pause on hover ---- */
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---- hero visual: reveal wipe + parallax hook ---- */
.polish .heroVisual { --px: 0px; }
.polish .heroVisual::before { content: none; }
html.polish .fx-reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.16,1,.3,1); }
html.polish .fx-reveal-clip.is-in { clip-path: inset(0 0 0 0); }

/* ---- refined numerals + accessible focus ---- */
.edition, .species, .byline, .frontBriefs b, .pillarTop span, .cultureLine b, .gazette span {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.polish a:focus-visible, .polish button:focus-visible {
  outline: 2px solid var(--acid); outline-offset: 3px;
}

/* ---- branded preloader ---- */
.fx-preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: transform .8s cubic-bezier(.76,0,.24,1); will-change: transform;
}
.fx-preloader.is-done { transform: translateY(-100%); }
.fx-preloader__mark {
  font-family: Georgia, serif; font-size: clamp(30px, 6vw, 58px);
  letter-spacing: -.04em; text-transform: uppercase; color: var(--ink);
  overflow: hidden;
}
.fx-preloader__mark span { display: inline-block; transform: translateY(110%); animation: fx-pre-in .7s cubic-bezier(.16,1,.3,1) forwards; }
.fx-preloader__bar { width: min(240px, 60vw); height: 2px; background: rgba(13,13,11,.18); overflow: hidden; }
.fx-preloader__bar i { display: block; height: 100%; width: 0; background: var(--acid); }
.fx-preloader__tag { font: 900 9px Arial, sans-serif; letter-spacing: .22em; color: var(--ink); opacity: .55; text-transform: uppercase; }
@keyframes fx-pre-in { to { transform: none; } }

/* ============================ REDUCED MOTION (polish) ============================ */
@media (prefers-reduced-motion: reduce) {
  .fx-grain { animation: none; }
  html.polish [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  html.polish .fx-line__i { transform: none !important; transition: none; }
  html.polish .fx-reveal-clip { clip-path: none !important; transition: none; }
  .fx-cursor-dot, .fx-cursor-ring { display: none; }
  html.fx-cursor-ready, html.fx-cursor-ready * { cursor: auto; }
  .fx-preloader { display: none; }
  .polish .primary::after { display: none; }
}

/* ---- touch / coarse pointer: no custom cursor ---- */
@media (pointer: coarse) {
  .fx-cursor-dot, .fx-cursor-ring { display: none; }
  html.fx-cursor-ready, html.fx-cursor-ready * { cursor: auto; }
}

/* =====================================================================
   X / Twitter link  +  language toggle  (added)
   ===================================================================== */
.xIco { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; }
.navX { display: inline-flex; align-items: center; font-size: 17px; color: var(--ink); transition: color .15s ease; }
.navX:hover { color: var(--acid); }
.langToggle { display: inline-flex; align-items: stretch; border: 1.6px solid var(--ink); line-height: 1; }
.langToggle button { font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 6px 8px; background: transparent; color: var(--ink); border: 0; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.langToggle button + button { border-left: 1.6px solid var(--ink); }
.langToggle button.is-active { background: var(--ink); color: var(--paper); }
.footX { display: inline-flex; align-items: center; gap: 7px; color: inherit; font-size: 9px; font-weight: 900; letter-spacing: .15em; transition: color .15s ease; }
.footX .xIco { font-size: 13px; }
.footX:hover { color: var(--acid); }
@media (max-width: 480px) { .langToggle button { padding: 5px 6px; font-size: 10px; } .navX { display: none; } }

/* =====================================================================
   中文 (CJK) — font fallback + drop the Latin display tracking so
   Chinese glyphs don't overlap. Brand wordmark stays Latin/untouched.
   ===================================================================== */
body[data-lang="zh"] { font-family: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC", Arial, sans-serif; }
body[data-lang="zh"] .lede,
body[data-lang="zh"] .hero h1 em, body[data-lang="zh"] .join h2 em,
body[data-lang="zh"] .frontBriefs p,
body[data-lang="zh"] blockquote,
body[data-lang="zh"] .manifesto .leadQuote,
body[data-lang="zh"] .articleColumns p,
body[data-lang="zh"] .finalLine,
body[data-lang="zh"] .gazette b { font-family: "Songti SC","STSong","Noto Serif SC","PingFang SC","Microsoft YaHei", Georgia, serif; }
body[data-lang="zh"] .gazette b,
body[data-lang="zh"] .hero h1,
body[data-lang="zh"] .thesis h2, body[data-lang="zh"] .proof h2,
body[data-lang="zh"] .galleryHeader h2,
body[data-lang="zh"] .cultureLine span,
body[data-lang="zh"] .join h2,
body[data-lang="zh"] .noseStamp b,
body[data-lang="zh"] .pillars h3 { letter-spacing: 0; }
body[data-lang="zh"] .hero h1 { line-height: .94; }
body[data-lang="zh"] .thesis h2, body[data-lang="zh"] .proof h2,
body[data-lang="zh"] .galleryHeader h2, body[data-lang="zh"] .join h2 { line-height: 1; }
body[data-lang="zh"] .cultureLine span { line-height: 1.02; }

/* keep the nav (wordmark + language toggle + CTA) within tiny 320px screens */
@media (max-width: 480px) {
  .navlinks { gap: 13px; }
  .wordmark { font-size: 18px; }
  .wordmark__mark { width: 24px; height: 24px; }
}


/* ---------- "Launched on Robinhood" (hero) ---------- */
.launchedOn { display: flex; align-items: center; gap: 9px; margin-top: 13px; font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .09em; color: var(--ink); }
.rhLogo { height: 16px; width: auto; display: block; }
@media (max-width: 720px) { .launchedOn { margin-top: 16px; } }
