/* ═══════════════════════════════════════════════════════════════════════════
   EloSpire — gothic ladder theme
   Warm near-black · single ember accent · gold reserved for crowns
   Cinzel (engraved caps) for display · Inter (tabular figures) for data
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0908;
  --bg-raised: #141210;
  --bg-row: #100e0c;
  --bg-panel: #131110;

  --ember: #d45a30;
  --ember-soft: #e07a52;
  --gold: #d4a94a;
  --silver: #c3c7cc;
  --bronze: #b07a48;

  --text: #e9e2d6;
  --text-dim: #8a8178;
  --text-faint: #5c554d;

  --line: rgba(233, 226, 214, 0.08);
  --line-strong: rgba(233, 226, 214, 0.14);

  --ember-glow: rgba(212, 90, 48, 0.35);
  --gold-glow: rgba(212, 169, 74, 0.28);

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: radial-gradient(120% 80% at 50% 120%, rgba(212,90,48,0.14), transparent 60%), var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ── frame + spire backdrop ────────────────────────────────────────────── */
.spire-bg {
  position: fixed; inset: 0; z-index: 0; display: flex; justify-content: center;
  pointer-events: none; opacity: 0.45;
  mask-image: linear-gradient(to bottom, #000 0, #000 42%, transparent 76%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 42%, transparent 76%);
}
.spire-bg svg { width: min(640px, 90vw); height: auto; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translateX(-6px);} 50% { transform: translateX(6px);} }

.page { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.main { min-height: 60vh; padding-bottom: 90px; }

/* ── nav ───────────────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0 20px; border-bottom: 1px solid var(--line);
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__glyph { color: var(--ember); filter: drop-shadow(0 0 9px var(--ember-glow)); display: inline-flex; }
.brand__word {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text);
}
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; transition: color 0.2s ease;
}
.nav__links > a:hover { color: var(--text); }
.nav__links > a.is-active { color: var(--ember-soft); }
.nav__auth { display: inline-flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav__toggle { display: none; }

/* Three-column banner: the side columns are equal-width (1fr) and the brand
   sits in an auto-width centre column, so the wordmark is centred on the PAGE
   rather than centred between two unequal blocks. */
.nav--center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav__side { display: flex; align-items: center; }
.nav__side--left { justify-content: flex-start; }
.nav__side--right { justify-content: flex-end; }
.brand--center { justify-self: center; }
.nav__socials { display: inline-flex; gap: 7px; }
.social--sm { width: 30px; height: 30px; }

/* About section on the home page — the standalone page's spacing, inlined. */
.about { margin-top: 96px; }
.about .section-head { text-align: center; }

/* Follow Us cluster in the banner. Uses the same social chip as the footer at a
   smaller size, so the two rows stay visually identical. */
.nav__follow { display: inline-flex; align-items: center; gap: 12px; margin-left: 4px; }
.nav__follow-label {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
  white-space: nowrap;
}
.nav__socials { display: inline-flex; gap: 7px; }
.social--sm { width: 30px; height: 30px; }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; padding: 9px 16px; border-radius: 7px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.18s ease;
  font-family: var(--font-body); font-weight: 500; white-space: nowrap;
}
.btn--solid { background: var(--ember); color: #140b06; font-weight: 600; }
.btn--solid:hover { background: var(--ember-soft); box-shadow: 0 0 18px var(--ember-glow); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--ember); color: var(--ember-soft); }
.btn--ghost.is-active { border-color: var(--ember); color: var(--ember-soft); }
.btn--lg { padding: 13px 24px; font-size: 14px; }

/* ── shared headings ───────────────────────────────────────────────────── */
.eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember); }
.section-head { text-align: center; margin: 72px 0 30px; }
.section-head--page { margin-top: 54px; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--text); }
.section-title--lg { font-size: clamp(28px, 4.4vw, 40px); margin-top: 12px; }
.section-sub { color: var(--text-dim); margin-top: 8px; font-size: 14px; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 72px 0 20px; }
.hero__title {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em;
  font-size: clamp(32px, 5.6vw, 56px); line-height: 1.08; color: var(--text);
  max-width: 16ch; margin: 20px auto 0;
}
.hero__title em { font-style: normal; color: var(--ember); }
.hero__lede { max-width: 56ch; margin: 22px auto 0; color: var(--text-dim); font-size: 16px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 44px; margin-top: 52px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--text); }
.stat__label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-top: 4px; }

/* ── features ──────────────────────────────────────────────────────────── */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 76px; }
.feat {
  border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px;
  background: linear-gradient(180deg, var(--bg-raised), var(--bg-row));
}
.feat__glyph { color: var(--ember); display: inline-flex; margin-bottom: 14px; filter: drop-shadow(0 0 8px var(--ember-glow)); }
.feat__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text); margin-bottom: 8px; }
.feat__body { color: var(--text-dim); font-size: 14px; }

/* ── games ─────────────────────────────────────────────────────────────── */
.games__grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.game {
  display: flex; align-items: center; gap: 14px; padding: 16px 22px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-raised);
}
.game__badge {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.05em;
  color: var(--ember); border: 1px solid var(--ember); border-radius: 6px; padding: 5px 9px;
}
.game__name { color: var(--text); font-size: 15px; }

/* ── leaderboard ───────────────────────────────────────────────────────── */
.board {
  margin-top: 40px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: linear-gradient(180deg, var(--bg-raised), var(--bg-row)); overflow: hidden;
}
.board--full { margin-top: 24px; }
.board__head { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); }
.board__title { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.05em; color: var(--text); }
.board__sub { font-size: 12px; color: var(--text-dim); margin-top: 3px; }

.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); }
.pill--live .pill__dot { background: var(--ember); box-shadow: 0 0 9px var(--ember-glow); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1;} 50% { opacity: 0.35;} }

.row { display: grid; grid-template-columns: 60px 1fr 92px 92px; align-items: center; gap: 12px; padding: 0 24px; }
.row--full { grid-template-columns: 64px 1fr 96px 96px 74px; }
.ralign { text-align: right; }
.colhead > span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); padding: 14px 0; border-bottom: 1px solid var(--line); }
.entry { min-height: 54px; border-bottom: 1px solid var(--line); transition: background 0.18s ease, transform 0.18s ease; }
.entry:last-of-type { border-bottom: none; }
.entry:hover { background: rgba(233,226,214,0.03); transform: translateX(2px); }

.rank { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--text-dim); display: inline-flex; align-items: center; gap: 6px; }
.gamertag { font-size: 15px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elo { text-align: right; font-size: 16px; font-weight: 600; color: var(--ember-soft); }
.wl { text-align: right; font-size: 14px; color: var(--text-dim); }
.wl b { color: var(--text); font-weight: 600; }
.winrate { text-align: right; font-size: 13px; color: var(--text-faint); }

.entry--first { background: linear-gradient(90deg, rgba(212,169,74,0.10), transparent 60%); }
.entry--first .rank { color: var(--gold); }
.entry--first .crown { color: var(--gold); display: inline-flex; filter: drop-shadow(0 0 8px var(--gold-glow)); animation: flicker 3.6s ease-in-out infinite; }
.entry--first .gamertag { color: #f4ecdd; font-weight: 600; }
@keyframes flicker { 0%,100% { opacity: 1;} 48% { opacity: .86;} 52% { opacity: 1;} }

.board__more { display: block; text-align: center; padding: 16px; color: var(--ember-soft); text-decoration: none; font-size: 13px; letter-spacing: 0.04em; border-top: 1px solid var(--line); transition: background 0.18s ease; }
.board__more:hover { background: rgba(212,90,48,0.06); }
.board__foot { padding: 15px 24px; font-size: 12px; color: var(--text-faint); border-top: 1px solid var(--line); }
.empty { padding: 46px 24px; text-align: center; color: var(--text-dim); font-size: 14px; }

/* ── tabs ──────────────────────────────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
  display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; text-decoration: none;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-raised); transition: all 0.18s ease;
}
.tab:hover { border-color: var(--ember); }
.tab.is-active { border-color: var(--ember); background: rgba(212,90,48,0.08); }
.tab__title { font-size: 14px; color: var(--text); font-weight: 500; }
.tab__meta { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }

/* ── coming soon ───────────────────────────────────────────────────────── */
.soon { text-align: center; padding: 110px 0 90px; max-width: 52ch; margin: 0 auto; }
.soon__glyph { color: var(--ember); display: inline-flex; filter: drop-shadow(0 0 12px var(--ember-glow)); }
.soon__tag { margin-top: 18px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember); }
.soon__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw, 46px); color: var(--text); margin: 12px 0 16px; }
.soon__blurb { color: var(--text-dim); font-size: 16px; margin-bottom: 30px; }

/* ── about ─────────────────────────────────────────────────────────────── */
.about-hero { text-align: center; padding: 60px 0 8px; }
.about-hero__glyph { color: var(--ember); display: inline-flex; filter: drop-shadow(0 0 12px var(--ember-glow)); margin-bottom: 18px; }
.prose { max-width: 62ch; margin: 22px auto 0; }
.prose p { color: var(--text-dim); font-size: 16px; margin-bottom: 18px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose__h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--text); margin: 34px 0 12px; }

.members__grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.member { border: 1px solid var(--line); border-radius: 10px; padding: 26px 30px; text-align: center; background: var(--bg-raised); min-width: 190px; }
.member__avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ember-soft);
  background: rgba(212,90,48,0.1); border: 1px solid var(--ember);
}
.member__name { font-size: 16px; color: var(--text); font-weight: 500; }
.member__role { font-size: 13px; color: var(--text-faint); margin-top: 4px; }

/* ── profile ───────────────────────────────────────────────────────────── */
.profile { padding: 48px 0 20px; max-width: 900px; margin: 0 auto; }
.profile__head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--ember-soft);
  background: rgba(212,90,48,0.1); border: 1px solid var(--ember);
}
.profile__id { flex: 1; min-width: 200px; }
.profile__name { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--text); }
.profile__rank { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.profile__rank-num { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ember-soft); }
.profile__rank-label { font-size: 13px; color: var(--text-dim); }
.profile__xp { font-size: 13px; color: var(--text-faint); margin-top: 4px; letter-spacing: 0.04em; }

.crowns { display: flex; gap: 16px; }
.crown-stat { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.crown-stat .crown-ico { display: inline-flex; }
.crown-stat--gold { color: var(--gold); }
.crown-stat--silver { color: var(--silver); }
.crown-stat--bronze { color: var(--bronze); }

.preview-note {
  margin: 26px 0 20px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 8px;
  font-size: 12px; color: var(--text-dim); text-align: center;
}
.profile__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--bg-panel); }
.panel__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text); }
.panel__sub { font-size: 13px; color: var(--text-dim); margin: 5px 0 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; min-height: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 7px;
  border: 1px solid var(--line-strong); background: var(--bg-raised); font-size: 13px; color: var(--text);
}
.chip__ico { display: inline-flex; color: var(--text-dim); }
.chip__plat { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember-soft); font-weight: 600; }
.chip__handle { color: var(--text); }
.chip__x { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; transition: color 0.15s ease; }
.chip__x:hover { color: var(--ember); }

.adder { display: flex; gap: 8px; flex-wrap: wrap; }
.adder select, .adder input {
  background: var(--bg-row); border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text);
  font-family: var(--font-body); font-size: 13px; padding: 9px 11px;
}
.adder input { flex: 1; min-width: 120px; }
.adder select:focus, .adder input:focus { outline: none; border-color: var(--ember); }

/* ── footer ────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; margin-top: 30px; }
.foot__follow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.foot__label { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.foot__socials { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); color: var(--text-dim); text-decoration: none; transition: all 0.18s ease;
}
.social:hover { color: var(--ember-soft); border-color: var(--ember); box-shadow: 0 0 14px var(--ember-glow); transform: translateY(-2px); }
.foot__handle { font-size: 13px; color: var(--text-faint); letter-spacing: 0.06em; }
.foot__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 24px; font-size: 12px; color: var(--text-faint); letter-spacing: 0.04em; }

/* ── motion ────────────────────────────────────────────────────────────── */
.rise { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0);} }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .feats { grid-template-columns: 1fr; }
  .profile__cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle {
    display: flex; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
  .nav__links {
    display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: flex-start;
    gap: 6px; padding: 16px 4px 20px; background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 10px; z-index: 20;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a { padding: 8px 4px; }
  .nav__auth { margin: 8px 0 0; }
}
@media (max-width: 560px) {
  .row--full { grid-template-columns: 48px 1fr 76px 76px; }
  .wr-col { display: none; }
  .crowns { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .spire-bg svg, .pill--live .pill__dot, .entry--first .crown { animation: none; }
  .rise { opacity: 1; transform: none; }
  .entry:hover, .social:hover { transform: none; }
}

/* ── locked Discord identity (profile) ─────────────────────────────────── */
.avatar--img { object-fit: cover; padding: 0; }
.ident {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 8px; font-size: 13px; color: var(--text-dim);
}
.ident__ico { display: inline-flex; color: var(--ems, var(--ember-soft)); }
.ident__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 50%; color: #140b06;
  background: var(--ember); box-shadow: 0 0 8px var(--ember-glow);
}
.ident__lock {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint);
}
.save-note {
  margin-top: 18px; font-size: 12px; color: var(--text-faint); text-align: center;
}

/* gamertag save/error message */
.gt-msg { margin-top: 12px; font-size: 13px; min-height: 18px; color: var(--text-dim); }
.gt-msg--ok { color: var(--ember-soft); }
.gt-msg--err { color: #e0684f; }

/* ── public player profiles ────────────────────────────────────────────── */
.gamertag--link {
  text-decoration: none;
  transition: color 0.16s ease;
  display: block;
}
.gamertag--link:hover { color: var(--ember-soft); text-decoration: underline; }

.link-ember { color: var(--ember-soft); text-decoration: none; }
.link-ember:hover { text-decoration: underline; }

.standings { display: flex; flex-direction: column; gap: 8px; }
.standing {
  display: grid;
  grid-template-columns: 1fr 68px 62px 52px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-raised);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.standing:hover { border-color: var(--ember); transform: translateX(2px); }
.standing__name {
  font-size: 14px; color: var(--text);
  display: flex; flex-direction: column; gap: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.standing__meta {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
}
.standing__elo { text-align: right; font-size: 15px; font-weight: 600; color: var(--ember-soft); }
.standing__wl  { text-align: right; font-size: 13px; color: var(--text-dim); }
.standing__wl b { color: var(--text); font-weight: 600; }
.standing__wr  { text-align: right; font-size: 12px; color: var(--text-faint); }

@media (max-width: 560px) {
  .standing { grid-template-columns: 1fr 58px 54px; }
  .standing__wr { display: none; }
}

/* social links on public profiles */
.social-links { display: flex; flex-wrap: wrap; gap: 9px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--bg-raised);
  color: var(--text); font-size: 13px; text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.social-link:hover { border-color: var(--ember); color: var(--ember-soft); }
.social-link__ico { display: inline-flex; color: var(--text-dim); }
.social-link:hover .social-link__ico { color: var(--ember-soft); }

/* single-column profile layout (socials panel removed) */
.profile__cols--single { grid-template-columns: minmax(0, 1fr); max-width: 560px; }


/* ── Banner on small screens ──
   The Follow Us row is six chips wide; left inline it pushes the Join Discord
   button off-screen. Stack the menu instead and let the chips wrap. */
@media (max-width: 820px) {
  .nav__follow { flex-direction: column; align-items: flex-start; gap: 8px; margin-left: 0; }
  .nav__socials { flex-wrap: wrap; }
}


/* ── Banner on small screens ──
   Six social chips plus a button will not sit either side of a wordmark on a
   phone. Stack it: brand first, then socials and the button on one row. */
@media (max-width: 820px) {
  .nav--center {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }
  .nav__side--left { order: 2; }
  .brand--center { order: 1; }
  .nav__side--right { order: 3; }
  .nav__socials { flex-wrap: wrap; justify-content: center; }
}
