/* ==========================================================================
   Cupmark marketing site — shared styles
   Palette and type are derived from the real in-repo brand mark
   (public/brand/roastlab-mark.svg / roastlab-lockup.svg): near-black,
   warm cream, and a copper gradient. Not invented for this site.
   ========================================================================== */

:root {
  /* Brand palette — matches assets/logo-mark.svg exactly */
  --ink: #17140f;
  --espresso: #3d2b1f;
  --cream: #f3ebdd;
  --paper: #fbf6ec;
  --paper-raised: #ffffff;
  --copper: #d8905c;
  --copper-light: #e0a070;
  --copper-deep: #a85f34;
  --olive: #6b7d53;
  --olive-deep: #4f5e3c;
  --line: #e6dbc7;
  --line-strong: #d8c9ac;
  --ink-soft: #5a4f3f;
  --ink-faint: #8a7c65;

  --shadow-sm: 0 1px 2px rgba(23, 20, 15, 0.06), 0 4px 14px rgba(23, 20, 15, 0.05);
  --shadow-md: 0 8px 30px rgba(23, 20, 15, 0.1);
  --shadow-lg: 0 24px 64px rgba(23, 20, 15, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    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.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.09 0 0 0 0 0.078 0 0 0 0 0.059 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--paper);
  color: var(--espresso);
  font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

em, .accent-italic {
  font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-style: italic;
  font-weight: 500;
  color: var(--copper-deep);
}

p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

a { color: var(--copper-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.mono {
  font-family: 'Roboto Mono', ui-monospace, 'SF Mono', monospace;
  font-variant-numeric: tabular-nums;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--copper);
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

@media (max-width: 720px) {
  section { padding: 56px 0; }
  section.tight { padding: 36px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.btn-primary {
  background: linear-gradient(160deg, var(--copper-light), var(--copper));
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--copper); background: rgba(216, 144, 92, 0.08); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* Google Play badge-style link -- swap the href in every page once the real
   Play Store listing exists; see the TODO comments beside each usage. */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.play-badge:hover { text-decoration: none; background: #000; }
.play-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.play-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.play-badge .small { font-size: 10px; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; }
.play-badge .big { font-size: 15px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-lockup { display: flex; align-items: center; gap: 10px; }
.brand-lockup img { height: 34px; width: 34px; border-radius: 8px; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand-lockup:hover img { transform: rotate(-6deg) scale(1.06); }
.brand-lockup .wordmark {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}
.brand-lockup .wordmark span { color: var(--copper-deep); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--espresso);
  padding-bottom: 3px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--copper);
  transition: right 0.25s ease;
}
.main-nav a:hover { color: var(--copper-deep); text-decoration: none; }
.main-nav a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav a { padding: 10px 0; width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 32px;
}
.site-footer a { color: var(--cream); opacity: 0.82; }
.site-footer a:hover { opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(243, 235, 221, 0.14);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .brand-lockup .wordmark { color: var(--cream); }
.footer-brand p { color: rgba(243, 235, 221, 0.66); font-size: 13.5px; max-width: 32ch; margin-top: 14px; }
.footer-col h4 {
  font-family: 'Roboto Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 235, 221, 0.5);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 12.5px;
  color: rgba(243, 235, 221, 0.5);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(216, 144, 92, 0.16), transparent),
    var(--paper);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; text-align: left; }
}
.hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero .lede { font-size: 18px; max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust div { font-size: 12.5px; color: var(--ink-faint); }
.hero-trust strong { display: block; font-family: 'Roboto', sans-serif; font-size: 21px; color: var(--ink); font-weight: 600; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art::before {
  /* Static, not animated -- an animated blur filter is expensive to
     repaint every frame (confirmed while testing this pass: it visibly
     stalled rendering). A fixed soft glow gets the same depth cheaply. */
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 144, 92, 0.32), transparent 68%);
  filter: blur(30px);
  z-index: 0;
}
/* A real screenshot used directly inside .hero-art (ranks page) needs the same
   stacking treatment as .frame above -- otherwise the ambient glow (z-index:0,
   positioned) paints over it, since a plain static child paints *before* a
   positioned z-index:0 sibling, not after. */
.hero-art .screenshot-tile {
  position: relative;
  z-index: 1;
}
.hero-art .frame {
  /* No continuous loop here -- see the note on .hero-art::before above. The
     one-time hero-in entrance (further down) is the only motion this gets. */
  width: min(320px, 100%);
  aspect-ratio: 9 / 18.5;
  border-radius: 40px 40px 40px 10px;
  background: linear-gradient(165deg, #221c16, var(--ink));
  border: 6px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--cream);
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-art:hover .frame { transform: translateY(-6px); }
.hero-art .frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(216, 144, 92, 0.22), transparent 60%);
  pointer-events: none;
}
.hero-art .stat-card {
  background: rgba(243, 235, 221, 0.08);
  border: 1px solid rgba(243, 235, 221, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
}
.hero-art .stat-card .k { font-family: 'Roboto Mono', monospace; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; }
.hero-art .stat-card .v { font-family: 'Roboto', sans-serif; font-size: 20px; font-weight: 600; margin-top: 4px; }
.hero-art .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--copper-light), var(--copper));
  color: var(--ink);
  width: fit-content;
}
.hero-art .float-badge {
  position: absolute;
  background: var(--paper-raised);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.hero-art .float-badge.top { top: 6%; left: -8%; }
.hero-art .float-badge.bottom { bottom: 10%; right: -10%; }
@media (max-width: 560px) {
  .hero-art .float-badge { display: none; }
}

/* ---------- Feature grid ---------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 920px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pillar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-strong); }
.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 144, 92, 0.14);
  color: var(--copper-deep);
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pillar-card:hover .pillar-icon { transform: scale(1.08) rotate(-4deg); }
.pillar-icon svg { width: 24px; height: 24px; }
.pillar-card h3 { font-size: 18px; margin-bottom: 8px; }
.pillar-card p { font-size: 14px; }
.pillar-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.pillar-card li { font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.pillar-card li::before { content: "—"; color: var(--copper); flex-shrink: 0; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: var(--copper);
  box-shadow: var(--shadow-md);
  border-radius: 26px 26px 26px 8px;
}
.price-card.featured:hover { box-shadow: var(--shadow-lg); }
.price-card .tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(160deg, var(--copper-light), var(--copper));
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; font-family: 'Roboto Mono', monospace; color: var(--ink-faint); margin-bottom: 10px; }
.price-card .amount { font-family: 'Roboto', sans-serif; font-size: 42px; font-weight: 600; color: var(--ink); }
.price-card .amount sub { font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.price-card .sub { font-size: 13px; color: var(--ink-faint); margin: 6px 0 20px; }
.price-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 8px; }
.price-card li svg { width: 16px; height: 16px; color: var(--olive-deep); flex-shrink: 0; margin-top: 1px; }
.price-card .btn { width: 100%; }
.pricing-note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(155deg, var(--ink), #241d16);
  color: var(--cream);
  border-radius: 26px 26px 26px 8px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 144, 92, 0.16), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-band p { color: rgba(243, 235, 221, 0.7); max-width: 44ch; }
@media (max-width: 720px) { .cta-band { padding: 36px 24px; } }

/* ---------- Legal / document pages ---------- */
.doc-page { padding: 56px 0 96px; }
.doc-shell { max-width: 800px; margin: 0 auto; }
.doc-shell .updated { font-size: 13px; color: var(--ink-faint); margin-bottom: 8px; }
.doc-shell h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 6px; }
.doc-shell .lede { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 40px; }
.doc-body h2 { font-size: 21px; margin-top: 40px; }
.doc-body h3 { font-size: 16.5px; margin-top: 26px; font-family: 'Roboto', sans-serif; font-weight: 700; color: var(--espresso); }
.doc-body p, .doc-body li { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.doc-body ul, .doc-body ol { padding-left: 22px; }
.doc-body li { margin-bottom: 6px; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13.5px; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-body th { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); }
.doc-body a { text-decoration: underline; }
.callout {
  background: rgba(107, 125, 83, 0.08);
  border: 1px solid rgba(107, 125, 83, 0.28);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--olive-deep);
  margin: 24px 0;
}
.callout.warn {
  background: rgba(216, 144, 92, 0.1);
  border-color: rgba(216, 144, 92, 0.35);
  color: var(--copper-deep);
}
.toc {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 36px;
}
.toc h2 { font-size: 12px; font-family: 'Roboto Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 24px; }
.toc li { font-size: 13.5px; margin-bottom: 6px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- Ranks page specifics ---------- */
.tier-ladder { display: flex; flex-direction: column; gap: 12px; }
.tier-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 18px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tier-row:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.tier-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.tier-row h4 { margin: 0; font-size: 16px; }
.tier-row .desc { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.tier-xp { font-family: 'Roboto Mono', monospace; font-size: 13px; color: var(--ink-faint); white-space: nowrap; }

.xp-source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 680px) { .xp-source-grid { grid-template-columns: 1fr; } }
.xp-source {
  display: flex;
  gap: 14px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.xp-source:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--line-strong); }
.xp-source .ic {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(107, 125, 83, 0.12); color: var(--olive-deep);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.xp-source:hover .ic { transform: scale(1.08) rotate(-4deg); }
.xp-source .ic svg { width: 20px; height: 20px; }
.xp-source h4 { font-size: 14.5px; margin: 0 0 4px; }
.xp-source p { font-size: 13px; margin: 0; }

.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 780px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }
.collection-card {
  text-align: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.collection-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-strong); }
.collection-badge {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 16px;
  background: conic-gradient(from 200deg, var(--copper-light), var(--olive), var(--copper));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.collection-card:hover .collection-badge { transform: scale(1.1) rotate(8deg); }
.collection-badge svg { width: 26px; height: 26px; color: var(--paper-raised); }
.collection-card h4 { font-size: 13.5px; margin: 0 0 4px; }
.collection-card p { font-size: 11.5px; color: var(--ink-faint); margin: 0; }

.progress-track { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--copper-light), var(--copper)); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--paper-raised);
  color: var(--ink);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(216, 144, 92, 0.18);
}
.contact-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.contact-card .row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-card .row:last-child { border-bottom: none; }
.contact-card .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(216,144,92,0.14); color: var(--copper-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .ic svg { width: 18px; height: 18px; }
.contact-card h4 { font-size: 14px; margin: 0 0 2px; }
.contact-card p { font-size: 13px; margin: 0; }

/* ---------- Misc ---------- */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: 'Roboto Mono', monospace;
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Screenshot strip ---------- */
.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 780px) { .screenshot-strip { grid-template-columns: repeat(2, 1fr); } }
.screenshot-tile {
  aspect-ratio: 9 / 18;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.screenshot-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.screenshot-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ---------- Depth: a faint top highlight on raised cards, as if light is
   catching the edge. Ties every card surface together without adding a
   new color -- it's the existing --paper-raised, just lighter at the seam. ---------- */
.pillar-card, .price-card, .xp-source, .collection-card, .contact-card, .tier-row {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ---------- Section rhythm: a barely-there tonal shift so long stretches of
   identical background don't blur together page-to-page. No new colors --
   color-mix of tokens already in the palette. ---------- */
.section-alt {
  background: color-mix(in srgb, var(--ink) 3%, var(--paper));
  position: relative;
}
.section-alt::before, .section-alt::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

/* ---------- Scroll-triggered reveal. Vanilla IntersectionObserver in
   js/main.js toggles .is-visible; CSS-only otherwise. Reduced-motion users
   get is-visible applied immediately (see main.js) so nothing ever hides
   content from them. ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger children of a revealed group by DOM position -- cheap, no JS math. */
.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: 0.54s; }
.reveal-group.is-visible > *:nth-child(9) { transition-delay: 0.6s; }
.reveal-group.is-visible > *:nth-child(10) { transition-delay: 0.66s; }
.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }

/* Hero gets its own on-load entrance (not scroll-triggered -- it's already
   in view on first paint), staggered left-to-right / top-to-bottom. */
.hero-enter > * { opacity: 0; transform: translateY(16px); animation: hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-enter > *:nth-child(1) { animation-delay: 0.05s; }
.hero-enter > *:nth-child(2) { animation-delay: 0.13s; }
.hero-enter > *:nth-child(3) { animation-delay: 0.21s; }
.hero-enter > *:nth-child(4) { animation-delay: 0.29s; }
.hero-enter > *:nth-child(5) { animation-delay: 0.37s; }
.hero-art { opacity: 0; transform: translateY(16px) scale(0.97); animation: hero-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.25s; }
@keyframes hero-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-group > *, .hero-enter > *, .hero-art {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Roaster Portal (roasters.html) ---------- */
.rp-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.rp-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink-soft); display: block; margin-bottom: 8px;
}
.rp-code-input {
  width: 100%; max-width: 260px; font-family: 'Roboto Mono', monospace; font-size: 22px;
  font-weight: 700; letter-spacing: 0.18em; text-align: center; text-transform: uppercase;
  padding: 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink); margin-bottom: 14px; display: block;
}
.rp-code-input:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(216, 144, 92, 0.18); }
.rp-error { color: var(--danger, #a15a3f); font-size: 13.5px; margin: 0 0 14px; font-weight: 600; }

.rp-locked-banner {
  background: rgba(107, 125, 83, 0.12); border: 1px solid rgba(107, 125, 83, 0.3);
  color: var(--olive-deep); border-radius: 12px; padding: 12px 16px; font-size: 14px;
  margin-bottom: 28px;
}

.rp-form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.rp-form .field-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink-soft);
}
.rp-form .rp-optional { text-transform: none; font-weight: 400; color: var(--ink-faint); }
.rp-form input[type="text"], .rp-form input[type="number"], .rp-form input[type="email"],
.rp-form select, .rp-form textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--paper-raised); color: var(--ink);
}
.rp-form textarea { min-height: 90px; resize: vertical; }
.rp-form input:focus, .rp-form select:focus, .rp-form textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(216, 144, 92, 0.18);
}

.rp-section { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.rp-section:last-of-type { border-bottom: none; }
.rp-section-num {
  font-family: 'Roboto Mono', monospace; font-size: 13px; font-weight: 700; color: var(--copper);
  flex-shrink: 0; width: 28px; padding-top: 2px;
}
.rp-section-body { flex: 1; min-width: 0; }
.rp-section-body h2 { font-size: 18px; margin: 0 0 14px; }
.rp-note { font-size: 13px; color: var(--ink-soft); margin: 10px 0 0; }

.rp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rp-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .rp-grid-2, .rp-grid-3 { grid-template-columns: 1fr; } }

.method-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.method-pill {
  position: relative; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--paper-raised); font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: all 0.15s ease;
}
.method-pill input { position: absolute; opacity: 0; pointer-events: none; }
.method-pill:has(input:checked), .method-pill.is-checked {
  background: var(--copper); border-color: var(--copper); color: #fff;
}
.method-pill:hover { border-color: var(--copper); }

.stage-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.stage-row {
  display: grid; grid-template-columns: 22px 90px 76px 1fr 32px; gap: 8px; align-items: center;
}
.stage-idx {
  font-family: 'Roboto Mono', monospace; font-size: 12px; font-weight: 700; color: var(--ink-faint);
  text-align: center;
}
.stage-row input { font-size: 13.5px; padding: 10px 10px; }
.stage-row .mono { font-family: 'Roboto Mono', monospace; }
.stage-remove {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink-faint); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stage-remove:hover { border-color: var(--danger, #a15a3f); color: var(--danger, #a15a3f); }
@media (max-width: 560px) {
  .stage-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; row-gap: 6px; }
  .stage-row .stage-idx { grid-column: 1 / -1; text-align: left; }
  .stage-row .stage-text { grid-column: 1 / -1; }
  .stage-row .stage-remove { grid-column: 1 / -1; justify-self: start; }
}

.rp-honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

.rp-closing-list { padding-left: 20px; }
.rp-closing-list li { margin-bottom: 8px; color: var(--ink-soft); }

/* scrollIntoView({block:'start'}) targets on this page land right under the sticky 72px header
   (position: sticky, z-index: 40) without this -- scroll-margin-top makes the browser stop short
   instead of tucking the target's top edge underneath it. */
#rp-gate, #rp-authed { scroll-margin-top: 92px; }

/* ---------- Roaster Portal: re-entry dashboard ("your submissions") ---------- */
.rp-dashboard { margin-bottom: 28px; }
.rp-dashboard h3 {
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft);
  margin: 0 0 12px;
}
.rp-submission-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper-raised);
}
.rp-submission-row + .rp-submission-row { margin-top: 8px; }
.rp-submission-main { min-width: 0; }
.rp-submission-bag { font-weight: 700; color: var(--ink); }
.rp-submission-meta { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.rp-status-pill {
  flex-shrink: 0; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  white-space: nowrap;
}
.rp-status-pill.is-pending { background: rgba(216, 144, 92, 0.14); color: var(--copper-deep); }
.rp-status-pill.is-approved { background: rgba(107, 125, 83, 0.14); color: var(--olive-deep); }
.rp-status-pill.is-needs-look { background: var(--line); color: var(--ink-soft); }

.rp-form-heading { font-size: 18px; margin: 0 0 4px; }

.rp-toast {
  background: rgba(107, 125, 83, 0.12); border: 1px solid rgba(107, 125, 83, 0.3);
  color: var(--olive-deep); border-radius: 12px; padding: 12px 16px; font-size: 14px;
  margin-bottom: 20px; font-weight: 600;
}

/* ---------- Public profile (/u/:handle) ----------
   Scoped under .public-profile so the marketing pages are unchanged.
   The document reuses the site header, footer, type, and palette. */
.profile-hero .wrap { display: block; }
.profile-hero { padding-bottom: 28px; }
.public-profile { padding-top: 8px; }
.public-profile .wrap { max-width: 880px; }
.profile-identity {
  display: flex;
  align-items: center;
  gap: 28px;
}
.public-profile .avatar-wrap {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.public-profile .avatar-wrap svg { width: 100%; height: 100%; }
.public-profile .avatar-fallback { font-size: 40px; }
.profile-identity h1 { margin-bottom: 8px; }
.profile-identity .lede { margin-bottom: 0; max-width: 46ch; }
.profile-meta {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15px;
}
.profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.profile-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(216, 144, 92, 0.14);
  color: var(--copper-deep);
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}
.profile-pill.olive {
  background: rgba(107, 125, 83, 0.14);
  color: var(--olive-deep);
}
.profile-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.profile-board div {
  padding: 16px 18px 14px;
  border-right: 1px solid var(--line);
}
.profile-board div:last-child { border-right: 0; }
.profile-board span {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
.profile-board strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.method-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.method-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper-raised);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 700;
}
.public-profile .profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: start;
}
.public-profile .profile-main,
.public-profile .profile-side { display: flex; flex-direction: column; gap: 16px; }
.public-profile .milestone-meta {
  margin-top: 6px;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: var(--ink-faint);
}
.public-profile .card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}
.public-profile .card-title {
  font-family: 'Roboto Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin: 0 0 14px;
}
.public-profile .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.public-profile .stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.public-profile .stat-value {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.public-profile .stat-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: var(--ink-faint);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.public-profile .skill-row + .skill-row,
.public-profile .palate-row + .palate-row { margin-top: 12px; }
.public-profile .skill-row-head,
.public-profile .palate-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--espresso);
}
.public-profile .palate-row-head span:last-child,
.public-profile .skill-row-head span:last-child {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.public-profile .skill-value { font-weight: 700; font-family: 'Roboto Mono', monospace; }
.public-profile .skill-track,
.public-profile .palate-track,
.public-profile .verified-track,
.public-profile .milestone-track {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.public-profile .skill-fill,
.public-profile .palate-fill,
.public-profile .verified-fill,
.public-profile .milestone-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--copper-deep), var(--copper-light));
}
.public-profile .milestone-track { height: 8px; margin-top: 10px; }
.public-profile .taste-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.public-profile .taste-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(107, 125, 83, 0.14);
  color: var(--olive-deep);
  font-size: 12px;
  font-weight: 700;
}
.public-profile .taste-note,
.public-profile .verified-note,
.public-profile .empty-note {
  color: var(--ink-faint);
  font-size: 13px;
  margin: 8px 0 0;
}
.public-profile .empty-note { margin: 0; }
.public-profile .badge-grid,
.public-profile .skill-card-grid,
.public-profile .verified-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.public-profile .badge,
.public-profile .skill-card,
.public-profile .verified-slot,
.public-profile .signature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.public-profile .badge-rarity {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper-deep);
}
.public-profile .badge-title,
.public-profile .signature-name,
.public-profile .milestone-title,
.public-profile .verified-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}
.public-profile .badge-category,
.public-profile .signature-method,
.public-profile .skill-card-label,
.public-profile .verified-percent,
.public-profile .skill-card-detail {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 2px;
}
.public-profile .profile-side .skill-card-grid,
.public-profile .profile-side .verified-grid { grid-template-columns: 1fr; }
.public-profile .skill-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 12px;
}
.public-profile .skill-card-tier { font-size: 14px; font-weight: 800; margin: 0; }
.public-profile .skill-card-detail { margin: 0; text-align: right; white-space: nowrap; }
.public-profile .verified-check { color: var(--olive-deep); font-size: 13px; font-weight: 700; }
.public-profile .story-text { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.public-profile .timeline-row {
  display: grid;
  grid-template-columns: 96px 12px 1fr;
  align-items: center;
  gap: 10px;
}
.public-profile .timeline-row + .timeline-row { margin-top: 10px; }
.public-profile .timeline-date {
  font-size: 11px;
  color: var(--ink-faint);
  font-family: 'Roboto Mono', monospace;
  text-align: right;
}
.public-profile .timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--copper);
  justify-self: center;
}
.public-profile .timeline-label { font-size: 14px; color: var(--espresso); }
.public-profile .circle-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.public-profile .circle-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--espresso);
}
.public-profile .profile-actions { margin-top: 4px; }
.public-profile .profile-missing h1 { margin-bottom: 12px; }
@media (max-width: 860px) {
  .profile-identity { flex-direction: column; align-items: flex-start; gap: 16px; }
  .profile-board { grid-template-columns: 1fr 1fr; }
  .profile-board div:nth-child(2) { border-right: 0; }
  .profile-board div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .public-profile .profile-layout,
  .public-profile .badge-grid,
  .public-profile .skill-card-grid,
  .public-profile .verified-grid { grid-template-columns: 1fr; }
  .public-profile .timeline-row { grid-template-columns: 72px 12px 1fr; }
}
