/* ============================================================
   POPLAB STUDIO — DESIGN SYSTEM
   Pure CSS. No build step. Hostinger-static safe.
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  /* Color */
  --paper:      #FBFAF7;   /* warm near-white base */
  --paper-2:    #F4F1EA;   /* slightly deeper panel */
  --ink:        #18150F;   /* warm near-black */
  --ink-soft:   #57514A;   /* muted body text */
  --ink-faint:  #8B847A;   /* captions, meta */
  --ember:      #F26522;   /* PRIMARY ACCENT (PopLab orange) */
  --ember-deep: #D9521A;   /* hover */
  --line:       #E7E1D6;   /* hairlines */

  /* Soft section tints (warm-leaning pastels) */
  --peach: #FBE9DF;
  --sage:  #E7EFE7;
  --sky:   #E5ECF4;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 22px;
}

/* ---- RESET ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

/* ---- TYPE SCALE ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--ember);
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; }

.display-xl { font-size: clamp(2.8rem, 7.5vw, 6rem); line-height: 0.98; }
.display-l  { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
.display-m  { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}
.italic-accent { font-style: italic; }
.ink-accent { color: var(--ember); }

/* ---- LAYOUT HELPERS ---- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); width: 100%; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.tint-peach { background: var(--peach); }
.tint-sage  { background: var(--sage); }
.tint-sky   { background: var(--sky); }
.tint-paper2 { background: var(--paper-2); }
.tint-ink   { background: var(--ink); color: var(--paper); }
.tint-ink .lede { color: rgba(251,250,247,0.72); }
.tint-ink .eyebrow { color: rgba(251,250,247,0.6); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  border-radius: 100px;
  font-weight: 500; font-size: 0.97rem;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-deep); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-text { gap: 0.5rem; padding: 0; font-weight: 500; }
.btn-text::after { content: "→"; transition: transform 0.4s var(--ease); }
.btn-text:hover::after { transform: translateX(5px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav-wrap { position: sticky; top: 0; z-index: 100; padding: 0.8rem var(--gutter); }
.nav {
  max-width: var(--container); margin: 0 auto;
  background: rgba(24, 21, 15, 0.76); color: var(--paper);
  border-radius: 100px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0.5rem 0.5rem 0.5rem 1.6rem;
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.4);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-logo { grid-column: 1; justify-self: start; font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.5rem; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-logo b { color: var(--ember); font-weight: 400; }
.nav-links { grid-column: 2; justify-self: center; display: flex; gap: 2.2rem; }
.nav-links a { font-size: 0.92rem; color: rgba(251,250,247,0.92); transition: color 0.25s; position: relative; letter-spacing: 0.03em; }
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--ember);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
  transform-origin: center;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active::after {
  transform: scaleX(1);
  height: 2px;
}
.nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nav-cta {
  background: var(--ember); color: #fff;
  padding: 0.6rem 1.3rem; border-radius: 100px;
  font-size: 0.92rem; font-weight: 500;
  transition: background 0.25s, transform 0.4s var(--ease);
}
.nav-cta:hover { background: var(--ember-deep); transform: translateY(-1px); }
.nav-toggle { display: none; padding: 0.6rem; color: var(--paper); background: none; border: none; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 1.5rem var(--gutter);
  transform: translateY(-100%); transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-top button { color: var(--paper); }
.mobile-top svg { width: 26px; height: 26px; }
.mobile-links { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-links a { font-family: var(--display); font-size: 2.4rem; }
.mobile-menu .btn { margin-top: auto; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 7vw, 6rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem; }
.footer-logo { font-family: var(--display); font-size: 1.8rem; }
.footer-logo img { height: 26px; width: auto; display: block; }
.footer-logo b { color: var(--ember); font-weight: 400; }
.footer-tag { margin-top: 1rem; color: rgba(251,250,247,0.6); max-width: 30ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251,250,247,0.5); margin-bottom: 1.2rem; }
.footer-col a { display: block; padding: 0.35rem 0; color: rgba(251,250,247,0.8); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--ember); }
.footer-news p { color: rgba(251,250,247,0.6); font-size: 0.9rem; margin-bottom: 1rem; }
.news-form { display: flex; background: rgba(255,255,255,0.07); border-radius: 100px; padding: 0.35rem 0.35rem 0.35rem 1.2rem; }
.news-form input { flex: 1; background: none; border: none; color: var(--paper); outline: none; font-size: 0.9rem; }
.news-form input::placeholder { color: rgba(251,250,247,0.4); }
.news-form button { background: var(--ember); width: 42px; height: 42px; border-radius: 100px; display: grid; place-items: center; flex-shrink: 0; transition: background 0.2s; }
.news-form button:hover { background: var(--ember-deep); }
.news-form svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: rgba(251,250,247,0.5); }
.footer-bottom-links { display: flex; gap: 1.8rem; }
.footer-bottom-links a:hover { color: var(--ember); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.5rem 0.5rem 1.2rem;
  }
  .nav-links { display: none; }
  .nav-cta { display: block; padding: 0.55rem 1.1rem; font-size: 0.85rem; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-news { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* ============================================================
   PREMIUM UI LAYER  (added in enhancement pass)
   ============================================================ */

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--ember), #ffb077);
  z-index: 300; transition: width 0.08s linear;
}

/* ---- Cursor glow (desktop only) ---- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 600px; height: 600px;
  margin: -300px 0 0 -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,101,34,0.10) 0%, rgba(242,101,34,0) 60%);
  pointer-events: none; z-index: 1; opacity: 0;
  transition: opacity 0.4s var(--ease);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.on { opacity: 1; } }

/* ---- Film grain overlay ---- */
.grain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Reveal upgrade: add blur + stagger support ---- */
.reveal { filter: blur(6px); }
.reveal.in { filter: blur(0); }
[data-stagger] > * { opacity: 0; transform: translateY(22px); filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; filter: blur(0); }

/* ---- Magnetic button (JS sets transform; this just smooths it) ---- */
.magnetic { transition: transform 0.25s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease); }

/* ---- Soft radial glow utility (ambient depth) ---- */
.glow-host { position: relative; overflow: hidden; }
.glow-host > .container, .glow-host > * { position: relative; z-index: 1; }
.glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(80px); opacity: 0.5;
}
.glow.ember { background: radial-gradient(circle, rgba(242,101,34,0.35), transparent 70%); }
.glow.warm  { background: radial-gradient(circle, rgba(242,101,34,0.18), transparent 70%); }

/* ---- LIQUID GLASS (works on dark backgrounds) ---- */
.liquid-glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: none; position: relative; overflow: hidden; border-radius: 20px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12), 0 30px 60px -30px rgba(0,0,0,0.6);
}
.liquid-glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: linear-gradient(160deg,
    rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.12) 25%,
    rgba(255,255,255,0) 50%, rgba(255,255,255,0) 65%,
    rgba(255,255,255,0.12) 85%, rgba(255,255,255,0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ---- STATS BAND (dark, floating glass metric cards) ---- */
.stats { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.stats .eyebrow { color: rgba(251,250,247,0.55); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.stat-card { padding: 2.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.stat-card:nth-child(1) { animation: float 7s ease-in-out infinite; }
.stat-card:nth-child(2) { animation: float 7s ease-in-out infinite 1.2s; }
.stat-card:nth-child(3) { animation: float 7s ease-in-out infinite 2.4s; }
.stat-num { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #fff; }
.stat-num em { font-style: italic; color: var(--ember); }
.stat-label { color: rgba(251,250,247,0.65); font-size: 0.95rem; max-width: 24ch; }
.stat-kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,250,247,0.4); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .stat-card { animation: none !important; } }

/* ---- INFINITE MARQUEE ---- */
.marquee { border-block: 1px solid var(--line); padding-block: 1.6rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 3.5rem; font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--ink); opacity: 0.55; white-space: nowrap; }
.marquee-item::after { content: "✦"; color: var(--ember); font-size: 0.8em; opacity: 0.8; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- INTERACTIVE WORK CARDS (override base) ---- */
.work-thumb { position: relative; }
.work-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(24,21,15,0.85) 0%, rgba(24,21,15,0.1) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.5s var(--ease);
  display: flex; align-items: flex-end; padding: 1.6rem;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-metrics { display: flex; gap: 2rem; transform: translateY(12px); opacity: 0; transition: transform 0.5s var(--ease) 0.05s, opacity 0.5s var(--ease) 0.05s; }
.work-card:hover .work-metrics { transform: none; opacity: 1; }
.work-metric .v { font-family: var(--display); font-size: 1.8rem; color: #fff; line-height: 1; }
.work-metric .k { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 0.3rem; }

/* ---- FUNNEL (signature scroll viz) ---- */
.funnel { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.funnel .eyebrow { color: rgba(251,250,247,0.55); }
.funnel-head { max-width: 26ch; margin-bottom: 3.5rem; }
.funnel-head h2 { color: #fff; }
.funnel-stages { display: flex; flex-direction: column; gap: 1rem; max-width: 880px; margin: 0 auto; }
.funnel-stage { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 1.5rem; }
.funnel-label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(251,250,247,0.7); }
.funnel-bar-wrap { height: 54px; display: flex; align-items: center; }
.funnel-bar {
  height: 100%; border-radius: 12px; width: 0;
  background: linear-gradient(90deg, var(--ember), #ff9a5a);
  transition: width 1.1s var(--ease);
  display: flex; align-items: center; padding-left: 1.1rem;
  box-shadow: 0 10px 30px -12px rgba(242,101,34,0.6);
}
.funnel.in .funnel-stage:nth-child(1) .funnel-bar { width: 100%; transition-delay: 0.05s; }
.funnel.in .funnel-stage:nth-child(2) .funnel-bar { width: 78%;  transition-delay: 0.18s; }
.funnel.in .funnel-stage:nth-child(3) .funnel-bar { width: 54%;  transition-delay: 0.31s; }
.funnel.in .funnel-stage:nth-child(4) .funnel-bar { width: 34%;  transition-delay: 0.44s; }
.funnel.in .funnel-stage:nth-child(5) .funnel-bar { width: 20%;  transition-delay: 0.57s; }
.funnel-bar span { font-family: var(--display); color: #fff; font-size: 1.2rem; white-space: nowrap; }
.funnel-val { font-family: var(--display); font-size: 1.4rem; color: #fff; min-width: 90px; text-align: right; }
.funnel-note { text-align: center; margin-top: 2.5rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(251,250,247,0.4); }

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; }
  .funnel-stage { grid-template-columns: 90px 1fr; }
  .funnel-val { grid-column: 2; text-align: left; min-width: 0; font-size: 1.1rem; }
  .funnel-label { font-size: 0.68rem; }
}

/* ---- Proof screenshot (home stats band) ---- */
.proof-shot { margin-top:2.5rem; border:1px solid rgba(255,255,255,0.12); border-radius:var(--radius); overflow:hidden; background:rgba(255,255,255,0.03); max-width:880px; }
.proof-shot img { width:100%; display:block; }
.proof-shot figcaption { font-family:var(--mono); font-size:0.66rem; letter-spacing:0.06em; color:rgba(251,250,247,0.5); padding:0.9rem 1.2rem; border-top:1px solid rgba(255,255,255,0.1); }

/* ============================================================
   HERO ANIMATED MESH GRADIENT
   ============================================================ */
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  pointer-events: none;
}
.mesh-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.3;
  will-change: transform;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(242,101,34,0.45), transparent 70%);
  top: -15%; left: 20%;
  animation: orbit-1 18s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,233,223,0.6), transparent 70%);
  top: 10%; right: 5%;
  animation: orbit-2 22s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(229,236,244,0.5), transparent 70%);
  bottom: -10%; left: 40%;
  animation: orbit-3 16s ease-in-out infinite;
}

@keyframes orbit-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.15); }
  66% { transform: translate(-40px, 60px) scale(0.9); }
}
@keyframes orbit-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-60px, 30px) scale(1.1); }
  50% { transform: translate(-100px, -20px) scale(0.95); }
  75% { transform: translate(-30px, -40px) scale(1.05); }
}
@keyframes orbit-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(50px, -30px) scale(1.2); }
  80% { transform: translate(-30px, 20px) scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .mesh-orb { animation: none !important; }
}

/* ---- Hero pill pulsing dot ---- */
.hero-pill .dot {
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ============================================================
   SMOOTH PAGE TRANSITIONS
   ============================================================ */
body {
  animation: page-fade-in 0.5s var(--ease) both;
}
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   JOURNAL ARTICLE DETAIL PAGES
   ============================================================ */
.art-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: left;
}
.art-hero .cd-back {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.art-hero .cd-back:hover {
  color: var(--ember);
}
.art-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.art-meta .cat {
  color: var(--ember);
  text-transform: uppercase;
  font-weight: 500;
}
.art-hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  margin-top: 0.8rem;
  max-width: 24ch;
}
.art-hero h1 em {
  font-style: italic;
  font-family: var(--display);
}

.art-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.72;
  color: var(--ink-soft);
  padding-bottom: 4rem;
}
.art-body p {
  margin-bottom: 1.8rem;
}
.art-body h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  margin-top: 2.8rem;
  margin-bottom: 1.1rem;
  line-height: 1.15;
}
.art-body h3 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  color: var(--ink);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.art-body ul, .art-body ol {
  margin-bottom: 1.8rem;
  padding-left: 1.5rem;
}
.art-body li {
  margin-bottom: 0.6rem;
}
.art-body ul {
  list-style: disc;
}
.art-body ol {
  list-style: decimal;
}
.art-pull {
  border-left: 3px solid var(--ember);
  padding: 0.5rem 0 0.5rem 1.4rem;
  margin: 2rem 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--ink);
}
.art-body strong {
  color: var(--ink);
  font-weight: 600;
}
.art-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

/* Article footer pagination */
.art-footer {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  margin-top: 4rem;
}
.art-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   PLATFORM STRIP (Task 2)
   ============================================================ */
.platform-strip {
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.platform-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.5rem;
}
.platform-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  flex-wrap: wrap;
}
.platform-logo {
  color: var(--ink-faint);
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}
.platform-logo:hover {
  opacity: 1;
}
.platform-logo span {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}


