/* ============================================================
   UNTOLDEN — Editorial Nocturne
   Design tokens + component layer. Loads after style.css and
   restyles shared classes so every existing route inherits it.
   No images, no frameworks: gradients, hairlines, type.
   ============================================================ */

:root {
  /* surface */
  --u-void: #08080b;
  --u-ink: #0c0c11;
  --u-ink-2: #111117;
  --u-ink-3: #17171f;
  --u-line: rgba(255, 255, 255, 0.09);
  --u-line-soft: rgba(255, 255, 255, 0.055);

  /* type */
  --u-paper: #f5f2ea;
  --u-paper-dim: #d9d5ca;
  --u-muted: #98939d;
  --u-faint: #6d6976;

  /* accent */
  --u-amber: #f0a03c;
  --u-amber-hi: #ffbd63;
  --u-amber-ink: #1a1206;
  --u-violet: #8b7cf6;

  /* rhythm */
  --u-gutter: clamp(1.15rem, 4vw, 2.25rem);
  --u-max: 1180px;
  --u-section: clamp(3.75rem, 9vw, 7.5rem);
  --u-radius: 18px;
  --u-radius-sm: 10px;

  /* type scale */
  --u-display: clamp(2.6rem, 7.6vw, 5.6rem);
  --u-h2: clamp(1.75rem, 3.6vw, 2.8rem);
  --u-h3: clamp(1.15rem, 1.7vw, 1.4rem);
  --u-body: clamp(0.975rem, 1.05vw, 1.0625rem);
  --u-mono: 0.72rem;

  /* fonts */
  --u-serif: "Instrument Serif", "Serif Fallback", "Iowan Old Style", Georgia, serif;
  --u-sans: "Inter Tight", "Sans Fallback", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* motion */
  --u-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --u-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--u-sans);
  background: var(--u-void);
  color: var(--u-paper);
  font-size: var(--u-body);
  line-height: 1.68;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  font-feature-settings: "ss01" 1, "cv11" 1;
}

/* film grain + ambient wash, painted once, no layout cost */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(58vw 46vw at 12% -6%, rgba(240, 160, 60, 0.10), transparent 62%),
    radial-gradient(46vw 40vw at 92% 8%, rgba(139, 124, 246, 0.09), transparent 60%),
    radial-gradient(70vw 60vw at 50% 112%, rgba(240, 160, 60, 0.05), transparent 65%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
}
main, .navbar, .footer { position: relative; z-index: 1; }

::selection { background: var(--u-amber); color: var(--u-amber-ink); }

:focus-visible {
  outline: 2px solid var(--u-amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- type ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--u-sans);
  color: var(--u-paper);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h1 { font-size: var(--u-display); font-weight: 500; }
h2 { font-size: var(--u-h2); font-weight: 500; letter-spacing: -0.035em; }
h3 { font-size: var(--u-h3); line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

/* display serif moments */
.u-display,
.hero h1,
.th-hero h1,
.prompts-hero h1 {
  font-family: var(--u-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.hero h1 em,
.th-hero h1 em {
  font-style: italic;
  color: var(--u-amber);
}

p { color: var(--u-muted); margin-bottom: 1rem; line-height: 1.72; }
a { color: var(--u-amber); }
a:hover { color: var(--u-amber-hi); }

.u-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--u-sans);
  font-size: var(--u-mono);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--u-faint);
}
.u-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--u-amber);
}
.u-kicker--bare::before { display: none; }

.u-italic { font-family: var(--u-serif); font-style: italic; font-weight: 400; color: var(--u-amber); }

/* ---------- layout ---------- */
.container { max-width: var(--u-max); padding: 0 var(--u-gutter); }
.section, .u-section { padding: var(--u-section) 0; position: relative; }
.section.bordered, .u-hairline-top { border-top: 1px solid var(--u-line-soft); }

.section-header {
  max-width: 720px;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section-header h2 { margin-bottom: 0.65rem; }
.section-header p { color: var(--u-muted); font-size: 1.0125rem; margin: 0; }

.u-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.u-head__text { max-width: 680px; }
.u-head h2 { margin: 0.55rem 0 0.5rem; }
.u-head p { margin: 0; }
.u-head__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--u-paper);
  border-bottom: 1px solid var(--u-line);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color 0.2s var(--u-ease), border-color 0.2s var(--u-ease);
}
.u-head__link:hover { color: var(--u-amber); border-color: var(--u-amber); }

/* ---------- nav ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--u-amber);
  color: var(--u-amber-ink);
  padding: 0.65rem 1rem;
  z-index: 999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--u-line-soft);
  z-index: 60;
  display: block;
  transition: height 0.3s var(--u-ease), background 0.3s var(--u-ease);
}
.navbar.is-scrolled { height: 62px; background: rgba(8, 8, 11, 0.9); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-family: var(--u-serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--u-paper);
  text-transform: none;
  font-weight: 400;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-right: auto;
}
.logo::after { content: "."; color: var(--u-amber); }
.logo:hover { color: var(--u-paper); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links > a {
  color: var(--u-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: color 0.2s var(--u-ease), background 0.2s var(--u-ease);
}
.nav-links > a:hover { color: var(--u-paper); background: rgba(255, 255, 255, 0.05); }
.nav-links > a.is-active { color: var(--u-paper); }

.nav-links .nav-compact { display: none; }

.btn-primary, .nav-links .btn-primary {
  background: var(--u-amber);
  color: var(--u-amber-ink);
  border: 1px solid var(--u-amber);
  font-weight: 650;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  transition: transform 0.2s var(--u-ease), box-shadow 0.25s var(--u-ease), background 0.2s var(--u-ease);
}
.btn-primary:hover, .nav-links .btn-primary:hover {
  background: var(--u-amber-hi);
  color: var(--u-amber-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -10px rgba(240, 160, 60, 0.8);
}
.btn-ghost, .nav-links .btn-ghost {
  border: 1px solid var(--u-line);
  color: var(--u-paper);
  background: transparent;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 550;
  transition: border-color 0.2s var(--u-ease), background 0.2s var(--u-ease);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.04); color: var(--u-paper); }

/* mobile trigger */
.mobile-menu {
  display: none;
  border: 1px solid var(--u-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--u-paper);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- buttons ---------- */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--u-amber);
  color: var(--u-amber-ink);
  border: 1px solid var(--u-amber);
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.22s var(--u-ease), box-shadow 0.3s var(--u-ease), background 0.2s var(--u-ease);
  will-change: transform;
}
.btn-accent:hover {
  color: var(--u-amber-ink);
  background: var(--u-amber-hi);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -16px rgba(240, 160, 60, 0.9);
}
.btn-accent:active { transform: translateY(0); }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }

.btn-ghost.btn-lg { padding: 0.9rem 1.5rem; font-size: 0.97rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(6.5rem, 12vw, 9.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .container { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--u-line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 999px;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--u-paper-dim);
  font-weight: 600;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--u-amber);
  box-shadow: 0 0 0 4px rgba(240, 160, 60, 0.14);
}

.hero h1 {
  font-size: clamp(3rem, 8.4vw, 6.6rem);
  max-width: 15ch;
  margin-bottom: clamp(1.1rem, 2.2vw, 1.6rem);
  text-wrap: balance;
}
.hero p {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  max-width: 46ch;
  color: var(--u-muted);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* vertical side rail */
.hero-rail {
  position: absolute;
  right: var(--u-gutter);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--u-faint);
  display: none;
}
@media (min-width: 1100px) { .hero-rail { display: block; } }

/* floating quote card */
.hero-note {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1rem, 4vw, 4rem);
  width: min(320px, 38vw);
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--u-line);
  border-radius: var(--u-radius);
  background: linear-gradient(160deg, rgba(23, 23, 31, 0.9), rgba(12, 12, 17, 0.72));
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
  display: none;
}
@media (min-width: 1024px) { .hero-note { display: block; } }
.hero-note p {
  font-family: var(--u-serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--u-paper);
  margin: 0 0 0.85rem;
}
.hero-note span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--u-faint);
}

/* ---------- marquee ---------- */
.u-marquee {
  border-top: 1px solid var(--u-line-soft);
  border-bottom: 1px solid var(--u-line-soft);
  overflow: hidden;
  padding: 0.85rem 0;
  display: flex;
  gap: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.u-marquee__track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  will-change: transform;
  animation: u-marq 42s linear infinite;
}
.u-marquee:hover .u-marquee__track { animation-play-state: paused; }
.u-marquee a, .u-marquee span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--u-faint);
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.u-marquee a:hover { color: var(--u-amber); }
.u-marquee a::after { content: "✳"; color: rgba(240, 160, 60, 0.5); font-size: 0.7rem; }
@keyframes u-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats-section { padding: clamp(2rem, 4vw, 3.25rem) 0; border-bottom: 1px solid var(--u-line-soft); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--u-line-soft);
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  overflow: hidden;
}
.stat-item { background: var(--u-ink); padding: clamp(1.25rem, 3vw, 2rem); }
.stat-number {
  font-family: var(--u-serif);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1;
  color: var(--u-paper);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--u-faint);
}
@media (max-width: 620px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- cards (shared) ---------- */
.story-card,
.blog-card,
.category-card,
.figure-of-day-card,
.story-of-day-card,
.wall-submit-card,
.pr-card {
  background: linear-gradient(165deg, rgba(23, 23, 31, 0.85), rgba(12, 12, 17, 0.9));
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  transition: border-color 0.25s var(--u-ease), transform 0.3s var(--u-ease), background 0.3s var(--u-ease);
  position: relative;
  overflow: hidden;
}
.story-card::after,
.blog-card::after,
.category-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 160, 60, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--u-ease);
}
.story-card:hover::after,
.blog-card:hover::after,
.category-card:hover::after { opacity: 1; }

.story-card:hover,
.blog-card:hover,
.category-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

/* story cards */
.stories-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 720px) { .stories-grid { grid-template-columns: 1fr; } }

.story-card { padding: clamp(1.2rem, 2.4vw, 1.65rem); display: flex; flex-direction: column; text-decoration: none; }
.story-card h3 {
  font-size: 1.18rem;
  font-weight: 550;
  margin: 0.7rem 0 0.55rem;
  color: var(--u-paper);
  letter-spacing: -0.02em;
  line-height: 1.28;
}
.story-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--u-muted);
  margin-bottom: 1.1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-mood {
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(240, 160, 60, 0.1);
  color: var(--u-amber);
  border: 1px solid rgba(240, 160, 60, 0.18);
}
.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--u-faint);
  border-top: 1px solid var(--u-line-soft);
  padding-top: 0.75rem;
}

/* story of the day */
.story-of-day-card .sod-mood-badge { margin-bottom: 1rem; display: inline-block; }
.story-of-day-card h3 { font-family: var(--u-serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 400; }
.story-of-day-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.75rem; color: var(--u-faint); }

/* categories */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.75rem; }
.category-card { padding: 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.9rem; text-decoration: none; }
.category-icon { font-size: 1.5rem; line-height: 1; filter: saturate(0.9); }
.category-name { font-size: 0.93rem; font-weight: 550; color: var(--u-paper); }

/* trending */
.home-stories-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; }
@media (max-width: 960px) { .home-stories-layout { grid-template-columns: 1fr; } }
.trending-widget {
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  padding: 1.35rem 1.25rem;
  background: var(--u-ink);
  position: sticky;
  top: 92px;
}
.trending-widget h3 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--u-faint); font-weight: 600; margin-bottom: 0.35rem; }
.trending-sub { font-size: 0.8rem; color: var(--u-faint); margin-bottom: 1rem; }
.trending-list { display: flex; flex-direction: column; }
.trending-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--u-line-soft);
  text-decoration: none;
  align-items: baseline;
}
.trending-item:first-child { border-top: 0; }
.trending-rank { font-family: var(--u-serif); font-size: 1rem; color: var(--u-amber); min-width: 1.1rem; }
.trending-content { min-width: 0; }
.trending-title { font-size: 0.875rem; color: var(--u-paper-dim); line-height: 1.4; margin-bottom: 0.2rem; }
.trending-item:hover .trending-title { color: var(--u-amber); }
.trending-meta { display: flex; gap: 0.7rem; font-size: 0.68rem; color: var(--u-faint); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--u-line-soft);
  background: linear-gradient(180deg, rgba(12, 12, 17, 0.6), rgba(8, 8, 11, 1));
  padding-top: clamp(2.5rem, 5vw, 4rem);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--u-line-soft);
  margin-top: 2.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { font-size: 1.7rem; }
.footer-brand p { font-size: 0.9rem; max-width: 30ch; margin-top: 0.75rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links h4 {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--u-faint);
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.footer-links a { font-size: 0.875rem; color: var(--u-muted); }
.footer-links a:hover { color: var(--u-paper); }
.footer-bottom {
  border-top: 1px solid var(--u-line-soft);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--u-faint); margin: 0; }

/* ---------- forms ---------- */
.form-group input,
.form-group textarea,
.form-group select,
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="url"], textarea, select {
  background: var(--u-ink-2);
  border: 1px solid var(--u-line);
  color: var(--u-paper);
  border-radius: var(--u-radius-sm);
  padding: 0.75rem 0.9rem;
  font-family: var(--u-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--u-ease), background 0.2s var(--u-ease);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #5f5b68; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(240, 160, 60, 0.55);
  background: #16161d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 160, 60, 0.12);
}
.form-group label, label { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--u-paper-dim); font-weight: 550; }

.u-newsletter { border: 1px solid var(--u-line-soft); border-radius: var(--u-radius); padding: clamp(1.2rem, 3vw, 1.75rem); background: var(--u-ink); }
.u-newsletter h3 { font-family: var(--u-serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 0.35rem; }
.u-newsletter p { font-size: 0.9rem; margin-bottom: 1rem; }

/* ---------- alerts ---------- */
.alert { border-radius: var(--u-radius-sm); font-size: 0.9rem; padding: 0.85rem 1rem; border: 1px solid var(--u-line); background: var(--u-ink-2); }

/* ---------- breadcrumbs ---------- */
.breadcrumb-nav { margin: 1.25rem 0 1.75rem; }
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; font-size: 0.78rem; color: var(--u-faint); }
.breadcrumb-item a { color: var(--u-faint); }
.breadcrumb-item a:hover { color: var(--u-amber); }
.breadcrumb-item.active { color: var(--u-muted); }
.breadcrumb-sep { color: #3b3b46; }

/* ---------- page shell ---------- */
.page-content { padding-top: 72px; }

/* ---------- blog / guides ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { padding: clamp(1.4rem, 2.6vw, 1.9rem); }
.blog-category {
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: var(--u-amber); background: rgba(240, 160, 60, 0.08);
  border: 1px solid rgba(240, 160, 60, 0.16); padding: 0.24rem 0.6rem; border-radius: 999px;
}
.blog-card h2 { font-family: var(--u-serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0.85rem 0 0.6rem; letter-spacing: -0.01em; }
.blog-card h2 a { color: var(--u-paper); }
.blog-card h2 a:hover { color: var(--u-amber); }
.blog-excerpt { font-size: 0.9rem; color: var(--u-muted); line-height: 1.65; }
.blog-meta { display: flex; gap: 0.9rem; flex-wrap: wrap; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--u-faint); margin: 1rem 0; }
.blog-content { font-size: 1.0125rem; line-height: 1.78; color: #c9c5ce; }
.blog-content h2 { font-family: var(--u-serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2.25rem 0 0.85rem; }
.blog-content h3 { font-size: 1.15rem; margin: 1.75rem 0 0.6rem; }
.blog-content p { color: #b6b2bd; }
.blog-content li { color: #b6b2bd; line-height: 1.7; margin-bottom: 0.45rem; }
.blog-content blockquote {
  border-left: 2px solid var(--u-amber);
  padding: 0.35rem 0 0.35rem 1.25rem;
  margin: 1.75rem 0;
}
.blog-content blockquote p { font-family: var(--u-serif); font-size: 1.3rem; line-height: 1.45; color: var(--u-paper); }

/* ---------- themes ---------- */
.th-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--u-line-soft); }
.th-list { display: grid; gap: 0.5rem; }
.th-story {
  border: 1px solid var(--u-line-soft);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  background: rgba(17, 17, 23, 0.7);
  transition: border-color 0.2s var(--u-ease), transform 0.2s var(--u-ease);
}
.th-story:hover { border-color: rgba(255, 255, 255, 0.16); transform: translateX(3px); }

/* ---------- pricing ---------- */
.pr-card { padding: clamp(1.5rem, 3vw, 2rem); }
.pr-price { font-family: var(--u-serif); font-size: clamp(2rem, 4vw, 2.75rem); color: var(--u-paper); }

/* ---------- wall / emotions ---------- */
.secret-card {
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  padding: 1.25rem;
  background: var(--u-ink);
  transition: border-color 0.2s var(--u-ease);
}
.secret-card:hover { border-color: rgba(255, 255, 255, 0.16); }
.secret-content { font-family: var(--u-serif); font-size: 1.1rem; line-height: 1.5; color: var(--u-paper-dim); }
.emotion-bar-track { background: rgba(255, 255, 255, 0.06); border-radius: 999px; height: 6px; }
.emotion-bar-fill { border-radius: 999px; }

/* ---------- motion base states ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--u-ease-out), transform 0.7s var(--u-ease-out); }
.no-motion [data-reveal], .no-motion [data-reveal].is-in { opacity: 1; transform: none; transition: none; }

/* ---------- utilities ---------- */
.u-cta {
  position: relative;
  border-top: 1px solid var(--u-line-soft);
  border-bottom: 1px solid var(--u-line-soft);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
  overflow: hidden;
}
.u-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 120% at 50% 0%, rgba(240, 160, 60, 0.12), transparent 70%);
  pointer-events: none;
}
.u-cta h2 { font-family: var(--u-serif); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3.2rem); max-width: 20ch; margin: 0 auto 0.9rem; }
.u-cta p { max-width: 52ch; margin: 0 auto 1.6rem; }

.u-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .u-split { grid-template-columns: 1fr; } }

.u-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--u-line-soft); border: 1px solid var(--u-line-soft); border-radius: var(--u-radius); overflow: hidden; }
@media (max-width: 780px) { .u-steps { grid-template-columns: 1fr; } }
.u-step { background: var(--u-ink); padding: clamp(1.4rem, 3vw, 2rem); }
.u-step__num { font-family: var(--u-serif); font-size: 1.6rem; color: var(--u-amber); line-height: 1; margin-bottom: 0.9rem; }
.u-step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.u-step p { font-size: 0.9rem; margin: 0; }

/* responsive nav drawer */
@media (max-width: 1040px) {
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1rem var(--u-gutter) 1.5rem;
    background: rgba(8, 8, 11, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--u-line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--u-ease), transform 0.25s var(--u-ease);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.show { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a { padding: 0.8rem 0.25rem; font-size: 1rem; border-bottom: 1px solid var(--u-line-soft); border-radius: 0; }
  .nav-links .btn-primary, .nav-links .btn-ghost { margin: 0.6rem 0 0; text-align: center; border-bottom: 0; border-radius: 999px; }
  .nav-compact-hide { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
/* ---------- nav "More" disclosure ---------- */
.nav-more { position: relative; }
.nav-more > summary {
  list-style: none;
  cursor: pointer;
  color: var(--u-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s var(--u-ease), background 0.2s var(--u-ease);
}
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  opacity: 0.7;
}
.nav-more > summary:hover { color: var(--u-paper); background: rgba(255, 255, 255, 0.05); }
.nav-more[open] > summary { color: var(--u-paper); }

.nav-more__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  padding: 0.5rem;
  border: 1px solid var(--u-line);
  border-radius: 14px;
  background: rgba(12, 12, 17, 0.98);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  display: grid;
  gap: 1px;
  z-index: 70;
}
.nav-more__panel a {
  color: var(--u-muted);
  font-size: 0.86rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
}
.nav-more__panel a:hover { color: var(--u-paper); background: rgba(255, 255, 255, 0.05); }

@media (max-width: 1040px) {
  .nav-more { width: 100%; }
  .nav-more > summary { padding: 0.8rem 0.25rem; width: 100%; justify-content: space-between; font-size: 1rem; border-bottom: 1px solid var(--u-line-soft); border-radius: 0; }
  .nav-more__panel { position: static; border: 0; background: transparent; box-shadow: none; padding: 0.25rem 0 0.5rem 0.75rem; }
  .nav-more__panel a { padding: 0.5rem 0.4rem; }
}

/* ============================================================
   Page-level components: browse filters, wall, emotions,
   prompts, pricing, bio, figure. Same tokens, same rhythm.
   ============================================================ */

.page-content { padding-top: 84px; }
.page-content > .container > h1,
.page-content h1 { letter-spacing: -0.035em; }
.page-content > .container { padding-top: 1rem; }

/* --- filter pills / tabs (browse, wall, bio, languages) --- */
.mood-tabs, .emotion-tags, .lang-filter, .bio-sort, .bio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}
.mood-tab, .emotion-tag, .lang-filter a, .bio-sort-btn, .lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--u-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--u-muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s var(--u-ease), border-color 0.2s var(--u-ease), background 0.2s var(--u-ease);
}
.mood-tab:hover, .emotion-tag:hover, .lang-filter a:hover, .bio-sort-btn:hover, .lang-chip:hover {
  color: var(--u-paper);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}
.mood-tab.active, .emotion-tag.active, .bio-sort-btn.active, .lang-chip.active {
  background: var(--u-amber);
  border-color: var(--u-amber);
  color: var(--u-amber-ink);
  font-weight: 700;
}

/* --- search --- */
form input[type="search"], form input[type="text"][name="search"] { max-width: 100%; }
.search-row, .browse-search { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.search-row input { flex: 1 1 260px; }

/* --- wall of secrets --- */
.secrets-wall, .secrets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.secret-card { display: flex; flex-direction: column; gap: 0.85rem; }
.secret-card.has-emotion { border-color: rgba(240, 160, 60, 0.18); }
.secret-content { margin: 0; }
.secret-meta, .secret-chars {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--u-faint);
}
.secret-emotion-badge {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 160, 60, 0.22);
  color: var(--u-amber);
  background: rgba(240, 160, 60, 0.07);
}
.secret-form-row, .secret-submit-row, .wall-submit-card { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.wall-submit-card { padding: 1.25rem; flex-direction: column; align-items: stretch; }
.wall-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--u-faint); margin-bottom: 1.5rem; }
.emotion-picker { border: 1px solid var(--u-line-soft); border-radius: var(--u-radius); padding: 1rem 1.15rem; background: var(--u-ink); }
.emotion-picker-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--u-faint); margin-bottom: 0.6rem; }

/* --- emotional map --- */
.emotions-hero, .prompts-hero, .th-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--u-line-soft);
}
.emotion-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--u-line-soft);
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  overflow: hidden;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.emotion-stat-card { background: var(--u-ink); padding: clamp(1.1rem, 2.4vw, 1.6rem); }
.emotion-stat-number { font-family: var(--u-serif); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1; color: var(--u-paper); }
.emotion-stat-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--u-faint); margin-top: 0.35rem; }
.emotion-section { padding: clamp(1.75rem, 4vw, 3rem) 0; border-top: 1px solid var(--u-line-soft); }
.emotion-section h2 { font-family: var(--u-serif); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.emotion-section-desc { color: var(--u-muted); font-size: 0.95rem; }
.emotion-bars { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.emotion-bar-row { display: grid; grid-template-columns: minmax(120px, 190px) 1fr auto; gap: 1rem; align-items: center; }
.emotion-bar-label { font-size: 0.85rem; color: var(--u-paper-dim); text-transform: capitalize; }
.emotion-bar-track { overflow: hidden; }
.emotion-bar-fill { height: 100%; background: linear-gradient(90deg, rgba(240, 160, 60, 0.85), rgba(139, 124, 246, 0.85)); }
.emotion-count, .emotion-pct { font-size: 0.72rem; color: var(--u-faint); letter-spacing: 0.08em; min-width: 3rem; text-align: right; }
@media (max-width: 620px) {
  .emotion-bar-row { grid-template-columns: 1fr auto; }
  .emotion-bar-label { grid-column: 1 / -1; }
}
.emotion-cta { border: 1px solid var(--u-line-soft); border-radius: var(--u-radius); padding: clamp(1.25rem, 3vw, 2rem); background: var(--u-ink); margin: clamp(1.5rem, 3vw, 2.5rem) 0; }
.emotion-cta-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

/* --- weekly prompt --- */
.prompt-week-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(240, 160, 60, 0.25);
  background: rgba(240, 160, 60, 0.08);
  color: var(--u-amber);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: 1rem;
}
.archive-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--u-line-soft);
  align-items: baseline;
}
.archive-date { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--u-faint); }
.archive-category { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--u-amber); }
.archive-title { font-size: 1.02rem; color: var(--u-paper); font-weight: 550; margin: 0.3rem 0 0.25rem; }
.archive-desc { font-size: 0.88rem; color: var(--u-muted); margin: 0; }
@media (max-width: 620px) { .archive-item { grid-template-columns: 1fr; gap: 0.35rem; } }

/* --- pricing --- */
.pr-card { display: flex; flex-direction: column; gap: 0.75rem; }
.pr-card.pro, .pr-card[data-featured="1"] { border-color: rgba(240, 160, 60, 0.32); }
.pr-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--u-amber);
  border: 1px solid rgba(240, 160, 60, 0.25);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}
.pr-list { list-style: none; padding: 0; margin: 0.5rem 0 1rem; display: grid; gap: 0.5rem; }
.pr-list li { font-size: 0.88rem; color: var(--u-muted); padding-left: 1.35rem; position: relative; }
.pr-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 5px;
  border-left: 1.6px solid var(--u-amber);
  border-bottom: 1.6px solid var(--u-amber);
  transform: rotate(-45deg);
}
.pr-btn { align-self: flex-start; }

/* --- themes --- */
.th-wrap { max-width: 940px; margin: 0 auto; padding: 0 var(--u-gutter); }
.th-hero p { max-width: 62ch; }
.th-list a.th-story { display: block; text-decoration: none; }
.th-story h3 { font-family: var(--u-serif); font-weight: 400; font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--u-paper); }
.th-story p { font-size: 0.9rem; margin: 0; }
.th-faq { margin: clamp(2rem, 4vw, 3rem) 0; }
.th-faq h2 { font-family: var(--u-serif); font-weight: 400; }
.th-more { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.th-more a { font-size: 0.82rem; color: var(--u-muted); border: 1px solid var(--u-line); border-radius: 999px; padding: 0.4rem 0.85rem; }
.th-more a:hover { color: var(--u-paper); border-color: rgba(255, 255, 255, 0.24); }

/* --- bio + figure --- */
.bio-card, .figure-card, .figure-item {
  background: var(--u-ink);
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  padding: 1.25rem;
  transition: border-color 0.2s var(--u-ease);
}
.bio-card:hover, .figure-card:hover, .figure-item:hover { border-color: rgba(255, 255, 255, 0.16); }
.figure-tag { border: 1px solid var(--u-line); border-radius: 999px; padding: 0.2rem 0.6rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--u-muted); }

/* --- generic content lists that still inherit old spacing --- */
.story-content, .blog-content { max-width: 68ch; }
hr { border: 0; border-top: 1px solid var(--u-line-soft); margin: 2rem 0; }

/* ============================================================
   Second pass: browse, story reader, write, bio, figure, pricing
   ============================================================ */

/* --- generic page headers --- */
.browse-header, .wall-hero, .fig-page-header, .bio-page-header, .pr-hero, .write-header {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(1rem, 2.5vw, 1.75rem);
}
.browse-header h1, .wall-hero h1, .fig-page-header h1, .bio-page-header h1, .write-header h1 {
  font-family: var(--u-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.browse-header p, .wall-hero p, .write-header p, .pr-hero p { max-width: 60ch; }

/* --- browse --- */
.browse-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; margin-top: 1rem; }
@media (max-width: 980px) { .browse-layout { grid-template-columns: 1fr; } }
.browse-controls { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.search-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.search-bar input { flex: 1 1 240px; }
.active-filter, .clear-filter { font-size: 0.78rem; color: var(--u-faint); }
.stories-grid, .browse-main .stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .browse-main .stories-grid { grid-template-columns: 1fr; } }
.browse-main .story-card { border-left: 2px solid rgba(255, 255, 255, 0.08); }
.browse-main .story-card.mood-love { border-left-color: rgba(255, 107, 107, 0.55); }
.browse-main .story-card.mood-loss { border-left-color: rgba(155, 142, 196, 0.55); }
.browse-main .story-card.mood-regret { border-left-color: rgba(139, 124, 246, 0.55); }
.browse-main .story-card.mood-secret { border-left-color: rgba(162, 155, 254, 0.5); }
.browse-main .story-card.mood-letter { border-left-color: rgba(240, 160, 60, 0.55); }
.browse-main .story-card.mood-hope { border-left-color: rgba(243, 104, 224, 0.5); }
.browse-main .story-card.mood-health { border-left-color: rgba(46, 213, 115, 0.5); }
.emotion-bar { display: flex; height: 3px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.06); margin: 0.5rem 0 0.9rem; }
.emotion-segment { height: 100%; }

.browse-sidebar { display: grid; gap: 1rem; position: sticky; top: 92px; }
@media (max-width: 980px) { .browse-sidebar { position: static; } }
.sidebar-widget {
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  padding: 1.25rem 1.15rem;
  background: var(--u-ink);
}
.sidebar-widget h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--u-faint);
  font-weight: 650;
  margin-bottom: 0.9rem;
}
.sidebar-categories { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sidebar-cat {
  font-size: 0.8rem;
  color: var(--u-muted);
  border: 1px solid var(--u-line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  text-decoration: none;
}
.sidebar-cat:hover { color: var(--u-paper); border-color: rgba(255, 255, 255, 0.24); }
.sidebar-cat.active { background: var(--u-amber); border-color: var(--u-amber); color: var(--u-amber-ink); font-weight: 650; }
.sidebar-empty, .no-comments, .wall-empty, .emotion-empty { font-size: 0.9rem; color: var(--u-faint); }

/* --- pagination --- */
.pagination { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin: 2.5rem 0 1rem; }
.page-numbers { display: flex; gap: 0.35rem; }
.page-num, .page-link {
  border: 1px solid var(--u-line);
  border-radius: 9px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: var(--u-muted);
}
.page-num:hover, .page-link:hover { color: var(--u-paper); border-color: rgba(255, 255, 255, 0.24); }
.page-num.active { background: var(--u-amber); border-color: var(--u-amber); color: var(--u-amber-ink); font-weight: 700; }
.page-info { font-size: 0.78rem; color: var(--u-faint); }

/* --- story reader --- */
.story-article, .story-body { max-width: 70ch; }
.story-body p, .story-content p { font-family: var(--u-serif); font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.78; color: #d8d4dc; }
.story-header h1, .story-title { font-family: var(--u-serif); font-weight: 400; font-size: clamp(1.85rem, 4.2vw, 3rem); letter-spacing: -0.02em; }
.related-box, .related-stories, .sidebar-widget.related, .translate-box, .about-story {
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  padding: 1.25rem;
  background: var(--u-ink);
}
.related-box h4, .about-story h4, .translate-box h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--u-faint); }
.related-meta, .byline-sep { color: var(--u-faint); font-size: 0.75rem; }

/* comments */
.comments-section { margin-top: clamp(2rem, 4vw, 3rem); }
.comment { border-top: 1px solid var(--u-line-soft); padding: 1.1rem 0; }
.comment.reply { margin-left: 1.5rem; border-left: 1px solid var(--u-line-soft); padding-left: 1rem; }
.comment-author { font-weight: 650; color: var(--u-paper); font-size: 0.9rem; }
.comment-date { font-size: 0.72rem; color: var(--u-faint); }
.comment-body { font-size: 0.95rem; color: #c2bec8; }
.comment-form-row, .comment-form-footer { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.comment-reply-btn { font-size: 0.75rem; color: var(--u-faint); background: none; border: 0; cursor: pointer; }
.comment-reply-btn:hover { color: var(--u-amber); }
.comment-char-count { font-size: 0.7rem; color: var(--u-faint); }

/* --- write form --- */
.write-form { display: grid; gap: 1.25rem; max-width: 760px; }
.write-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .write-form .form-row { grid-template-columns: 1fr; } }
.form-text { font-size: 0.78rem; color: var(--u-faint); }
.checkbox-group, .checkbox-label { display: flex; gap: 0.6rem; align-items: flex-start; }
.checkbox-label input { width: auto; margin-top: 0.25rem; }
.write-tips { border: 1px solid var(--u-line-soft); border-radius: var(--u-radius); padding: 1.25rem; background: var(--u-ink); }

/* --- bio + figure grids --- */
.bios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.bio-search-bar, .fig-search-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.bio-search-bar input, .fig-search-bar input { flex: 1 1 240px; }
.bio-card-avatar, .figure-card-img, .fig-card-initial {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(240, 160, 60, 0.16), rgba(139, 124, 246, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--u-serif);
  font-size: 2rem;
  color: var(--u-amber);
  overflow: hidden;
}
.bio-card-name, .figure-card-name { font-weight: 600; color: var(--u-paper); margin-top: 0.85rem; }
.bio-card-excerpt { font-size: 0.88rem; }
.figures-grid, .fig-categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem; }
.fig-category-card, .figure-card { text-decoration: none; }
.alpha-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1.5rem 0; }
.alpha-nav a { font-size: 0.8rem; color: var(--u-faint); border: 1px solid var(--u-line); border-radius: 7px; padding: 0.25rem 0.55rem; }
.alpha-nav a:hover { color: var(--u-amber); border-color: rgba(240, 160, 60, 0.4); }

/* --- pricing extras --- */
.pr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 2rem 0; align-items: stretch; }
.pr-note, .pr-faq { font-size: 0.85rem; color: var(--u-faint); }

/* --- empty states --- */
.empty-state, .wall-empty, .emotion-empty {
  border: 1px dashed var(--u-line);
  border-radius: var(--u-radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}
.empty-icon { font-size: 1.5rem; opacity: 0.5; }

/* ============================================================
   Third pass: rules ported from page-level inline <style> blocks
   (those blocks were removed so v3.css owns every page). Values
   are re-expressed with the editorial tokens.
   ============================================================ */

/* --- browse/read layout with sidebar --- */
.read-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; padding-top: 1.5rem; }
.read-main, .browse-main { min-width: 0; }
@media (max-width: 900px) { .read-layout { grid-template-columns: 1fr; } }
.read-sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 900px) { .read-sidebar { position: static; } }
.sidebar-card, .reactions-section, .comment-form, .comment, .write-form {
  background: var(--u-ink);
  border: 1px solid var(--u-line-soft);
  border-radius: var(--u-radius);
  padding: 1.35rem;
}
.sidebar-card h4, .reactions-section h3 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--u-faint); font-weight: 650; margin-bottom: 0.9rem;
}

/* --- story header --- */
.story-header { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.story-category-badge {
  display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  background: rgba(240, 160, 60, 0.1); color: var(--u-amber); border: 1px solid rgba(240, 160, 60, 0.2); margin-bottom: 0.9rem;
}
.story-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; font-size: 0.83rem; color: var(--u-faint); }
.to-someone { color: var(--u-amber); font-family: var(--u-serif); font-style: italic; }
.expiry-notice { margin-top: 0.75rem; padding: 0.5rem 0.9rem; background: rgba(240, 160, 60, 0.1); border-radius: 8px; font-size: 0.78rem; color: var(--u-amber); display: inline-block; }
.story-content { white-space: pre-wrap; color: #d8d4dc; }

/* --- reactions --- */
.reactions-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.reaction-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.7rem 0.9rem;
  border-radius: 12px; background: var(--u-ink-2); border: 1px solid var(--u-line); cursor: pointer;
  transition: transform 0.2s var(--u-ease), border-color 0.2s var(--u-ease), background 0.2s var(--u-ease);
  min-width: 76px; color: var(--u-paper);
}
.reaction-btn:hover { border-color: rgba(240, 160, 60, 0.4); background: rgba(240, 160, 60, 0.06); transform: translateY(-2px); }
.reaction-btn.active { border-color: var(--u-amber); background: rgba(240, 160, 60, 0.14); }
.reaction-emoji { font-size: 1.4rem; line-height: 1; }
.reaction-label { font-size: 0.66rem; color: var(--u-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.reaction-count { font-size: 0.82rem; font-weight: 700; color: var(--u-paper); }
.reactions-footer { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem; font-size: 0.82rem; color: var(--u-faint); }
.story-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: clamp(1.75rem, 3vw, 2.5rem) 0; }

/* --- comments --- */
.comment-form-row textarea, .comment-form-row input, .reply-form input, .reply-form textarea { width: 100%; }
.comment-form-row { margin-bottom: 0.7rem; }
.comments-list { display: flex; flex-direction: column; gap: 0.85rem; }
.comment { padding: 1.15rem; }
.comment.reply { margin-left: 2rem; background: var(--u-ink-2); }
.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.45rem; }
.comment-author { font-weight: 600; font-size: 0.88rem; color: var(--u-amber); }
.replies { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.7rem; }
.reply-form { margin-top: 0.7rem; padding: 0.9rem; background: var(--u-void); border-radius: 10px; }
.reply-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
.no-comments { text-align: center; padding: 2rem; }

/* --- story info + related --- */
.story-info-list { list-style: none; padding: 0; margin: 0; }
.story-info-list li { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.83rem; color: var(--u-faint); border-bottom: 1px solid var(--u-line-soft); }
.story-info-list li:last-child { border-bottom: 0; }
.story-info-list li span:last-child { color: var(--u-paper-dim); font-weight: 550; }
.related-list, .related-blog-list { display: flex; flex-direction: column; gap: 0.5rem; }
.related-item, .related-blog-item { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.6rem 0.7rem; border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.related-item:hover, .related-blog-item:hover { background: rgba(240, 160, 60, 0.06); }
.related-title, .related-blog-title { font-size: 0.86rem; font-weight: 550; color: var(--u-paper-dim); line-height: 1.45; }
.sidebar-cta-card { text-align: center; }
.translate-select { width: 100%; }

/* --- alerts (colour + spacing) --- */
.alert { padding: 0.8rem 1rem; border-radius: var(--u-radius-sm); font-size: 0.86rem; margin-bottom: 1rem; }
.alert-success { background: rgba(38, 222, 129, 0.09); border: 1px solid rgba(38, 222, 129, 0.22); color: #4ee39a; }
.alert-error { background: rgba(255, 71, 87, 0.09); border: 1px solid rgba(255, 71, 87, 0.22); color: #ff7b86; }
.alert-info { background: rgba(139, 124, 246, 0.09); border: 1px solid rgba(139, 124, 246, 0.22); color: #a99cf8; }

/* --- centred page heroes (browse/emotions/wall/write/pricing) --- */
.browse-header, .emotions-hero, .wall-hero, .write-header {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1rem, 2.5vw, 1.75rem);
}
.browse-header h1, .emotions-hero h1, .wall-hero h1, .write-header h1 {
  font-family: var(--u-serif); font-weight: 400; font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.browse-header p, .emotions-hero p, .wall-hero p, .write-header p { max-width: 58ch; margin: 0 auto; }
.mood-tabs { justify-content: center; margin-bottom: 1.75rem; }
.search-bar { max-width: 620px; margin: 0 auto; }
.search-bar button { border: 1px solid var(--u-amber); background: var(--u-amber); color: var(--u-amber-ink); border-radius: 999px; padding: 0.7rem 1.3rem; font-weight: 650; cursor: pointer; }
.search-bar button:hover { background: var(--u-amber-hi); }
.active-filter { text-align: center; }
.clear-filter { color: var(--u-amber); }
.browse-controls { margin-bottom: 1.75rem; }
.emotion-bar { height: 5px; border-radius: 3px; }
.emotion-segment { background: var(--u-amber); }
.sidebar-cta { text-align: center; }
.sidebar-cta p { font-size: 0.86rem; }

/* --- emotions --- */
.lang-filter { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-top: 1rem; flex-wrap: wrap; }
.lang-filter label { font-size: 0.8rem; color: var(--u-faint); }
.lang-filter select { width: auto; min-width: 180px; }
.emotion-stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.emotion-stat-card { text-align: center; }
.emotion-stat-number { color: var(--u-amber); font-weight: 400; }
.emotion-bars { display: flex; flex-direction: column; gap: 0.75rem; }
.emotion-bar-row { grid-template-columns: minmax(140px, 200px) 1fr auto; }
.emotion-bar-track { height: 22px; background: rgba(255, 255, 255, 0.05); border-radius: 7px; overflow: hidden; }
.emotion-bar-fill { border-radius: 7px; min-width: 4px; transition: width 0.8s var(--u-ease-out); }
.emotion-count { font-size: 0.9rem; font-weight: 700; color: var(--u-paper); }
.emotion-cta { text-align: center; padding: clamp(2.25rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--u-line-soft); }
.emotion-cta p { max-width: 52ch; margin: 0 auto 1.5rem; }
.emotion-cta-actions { justify-content: center; }

/* --- wall of secrets --- */
.wall-stats { justify-content: center; }
.wall-stats strong { color: var(--u-amber); }
.wall-submit-card { margin-bottom: 2rem; }
.secret-form-row { display: block; }
.secret-form-row textarea { min-height: 90px; resize: none; }
.secret-form-footer { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.9rem; }
.emotion-picker { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.emotion-tag { cursor: pointer; font-family: var(--u-sans); }
.emotion-tag.active { background: rgba(240, 160, 60, 0.12); border-color: rgba(240, 160, 60, 0.45); color: var(--u-amber); }
.secret-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.secrets-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.secret-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.9); }
.secret-meta { margin-top: auto; padding-top: 0.6rem; border-top: 1px solid var(--u-line-soft); }
.wall-empty { text-align: center; padding: 3.5rem 0; }
.pagination { justify-content: center; }
@media (max-width: 700px) {
  .emotion-picker { flex-direction: column; align-items: flex-start; }
  .secret-submit-row { flex-direction: column; align-items: stretch; }
  .secret-submit-row button { width: 100%; }
}

/* --- write form --- */
.write-form { padding: clamp(1.4rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.form-group { margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 0.45rem; }
.form-group .required { color: var(--u-amber); }
.form-group textarea { resize: vertical; min-height: 220px; }
.char-counter { text-align: right; }
.checkbox-label { padding: 0.9rem 1rem; background: var(--u-void); border: 1px solid var(--u-line-soft); border-radius: 10px; transition: border-color 0.2s var(--u-ease); }
.checkbox-label:hover { border-color: rgba(240, 160, 60, 0.35); }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--u-amber); }
.checkbox-text strong { color: var(--u-amber); }
.write-tips { margin-top: 1.5rem; padding: 1.35rem 1.6rem; }
.write-tips h3 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--u-amber); margin-bottom: 0.85rem; }
.write-tips ul { list-style: none; padding: 0; margin: 0; }
.write-tips ul li { padding: 0.45rem 0 0.45rem 1.5rem; color: var(--u-muted); font-size: 0.9rem; position: relative; }
.write-tips ul li::before { content: "→"; position: absolute; left: 0; color: var(--u-amber); }

/* --- pricing --- */
.pr-hero { max-width: 780px; margin: 0 auto; text-align: center; padding-top: clamp(2.25rem, 5vw, 3.5rem); }
.pr-hero p { margin: 0 auto; }
.pr-grid { max-width: 960px; margin-left: auto; margin-right: auto; }
.pr-card.pro { background: linear-gradient(160deg, rgba(240, 160, 60, 0.09), rgba(255, 255, 255, 0.01)); }
.pr-card h2 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.pr-price { font-weight: 400; margin: 0.7rem 0 0.2rem; }
.pr-price span { font-size: 0.85rem; font-weight: 500; color: var(--u-faint); }
.pr-list { flex: 1; }
.pr-list li { display: flex; gap: 0; padding: 0.35rem 0; font-size: 0.92rem; line-height: 1.5; color: #c4c0ca; }
.pr-list li b { color: var(--u-paper); font-weight: 600; }
.pr-tag { position: absolute; top: -0.7rem; right: 1.2rem; background: var(--u-amber); color: var(--u-amber-ink); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; border: 0; }
.pr-btn { display: block; text-align: center; width: 100%; padding: 0.85rem; border-radius: 10px; font-weight: 700; font-size: 0.92rem; }
.pr-btn.primary { background: var(--u-amber); color: var(--u-amber-ink); }
.pr-btn.ghost { background: transparent; color: var(--u-paper); border: 1px solid var(--u-line); }
.pr-btn.ghost:hover { border-color: rgba(255, 255, 255, 0.3); }
.pr-note { text-align: center; max-width: 640px; margin: 0 auto 2rem; line-height: 1.6; }
.pr-faq { max-width: 780px; margin: 0 auto 3.5rem; }
.pr-faq h2 { text-align: center; margin-bottom: 1rem; }
.pr-faq details { border-bottom: 1px solid var(--u-line-soft); padding: 0.9rem 0; }
.pr-faq summary { cursor: pointer; font-weight: 600; font-size: 0.94rem; color: var(--u-paper); }
.pr-faq p { margin-top: 0.5rem; font-size: 0.92rem; }

/* --- about + contact --- */
.about-wrap { max-width: 780px; margin: 0 auto; padding: clamp(2.25rem, 5vw, 3.5rem) var(--u-gutter) 4rem; line-height: 1.75; }
.about-wrap h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 2rem 0 0.7rem; }
.about-lede { font-size: 1.1rem; color: #d5d5dc; }
.about-wrap strong { color: var(--u-paper); }
.about-stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.9rem; margin: 2rem 0; }
.about-stat div { border: 1px solid var(--u-line-soft); border-radius: 12px; padding: 1rem; text-align: center; background: var(--u-ink); }
.about-stat b { display: block; font-family: var(--u-serif); font-size: 1.6rem; font-weight: 400; color: var(--u-amber); }
.about-stat span { font-size: 0.78rem; color: var(--u-faint); }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { background: var(--u-ink); border: 1px solid var(--u-line-soft); border-radius: var(--u-radius); padding: 1.75rem; }
.contact-card h3 { color: var(--u-amber); margin-bottom: 0.4rem; }
.contact-card a { color: var(--u-paper); }
.contact-note { margin-top: 1.75rem; padding: 1.35rem; background: rgba(240, 160, 60, 0.05); border-radius: var(--u-radius); text-align: center; color: var(--u-muted); }

/* --- blog index --- */
.blog-grid { margin-top: 1.75rem; }
.blog-card h2 { margin-bottom: 0.65rem; }
.blog-meta { margin: 0.9rem 0; }

/* --- custom scrollbar (dark, unobtrusive) --- */
* { scrollbar-color: rgba(255, 255, 255, 0.16) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--u-void); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 99px; border: 3px solid var(--u-void); }
::-webkit-scrollbar-thumb:hover { background: rgba(240, 160, 60, 0.5); }

/* ============================================================
   Fourth pass: focus visibility + touch targets (WCAG 2.2 AA)
   ============================================================ */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--u-amber);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link:focus {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 200;
  background: var(--u-amber); color: var(--u-amber-ink);
  padding: 0.6rem 1rem; border-radius: 8px; outline: 2px solid var(--u-paper);
}
.nav-more > summary::-webkit-details-marker { display: none; }

@media (max-width: 980px) {
  .nav-links { padding-bottom: 1.25rem; }
  .nav-links a, .nav-links .btn-ghost, .nav-links .btn-primary {
    min-height: 46px; display: flex; align-items: center; justify-content: flex-start;
    padding: 0.7rem 0.4rem; font-size: 0.95rem; width: 100%;
  }
  .nav-links .btn-primary { justify-content: center; margin-top: 0.5rem; }
  .nav-more__panel a { min-height: 44px; }
  .mobile-menu { min-width: 46px; min-height: 46px; }
  .reaction-btn { min-width: 68px; min-height: 66px; }
  .mood-tab { min-height: 42px; }
  .blog-pager a, .pagination a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

/* prerequisite: keyboard users must never lose the ring on form controls */
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(240, 160, 60, 0.55); outline-offset: 2px; }

/* ============================================================
   Fifth pass: newsletter band (shared component) + a11y helpers
   ============================================================ */
.u-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;
}
.u-honeypot { position: absolute; left: -9999px; }
.u-newsletter {
  position: relative;
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--u-line);
  border-radius: var(--u-radius);
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(240, 160, 60, 0.09), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(139, 124, 246, 0.08), transparent 55%),
    var(--u-ink);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.u-newsletter__head {
  font-family: var(--u-serif); font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.45rem; color: var(--u-paper);
}
.u-newsletter__sub { margin: 0; font-size: 0.9rem; color: var(--u-muted); max-width: 46ch; }
.u-newsletter__form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.u-newsletter__form input[type="email"] { flex: 1 1 210px; }
.u-newsletter__form button { flex: 0 0 auto; }
.u-newsletter-msg { flex-basis: 100%; margin: 0; min-height: 1.25rem; font-size: 0.85rem; color: var(--u-muted); }
.u-newsletter-msg.is-ok { color: #4ee39a; }
.u-newsletter-msg.is-error { color: #ff7b86; }
@media (max-width: 860px) { .u-newsletter { grid-template-columns: 1fr; } }
