/* =====================================================================
   GHANA GROUND UP - site.css
   Theme driven by attributes on <html>:
     data-direction="dark" | "light"
     data-type="editorial" | "geometric" | "impact"
   Accent (--gold) injected inline from settings.
   ===================================================================== */

/* ---------- fonts (Montserrat variations) ---------- */
:root {
  --f-mont: "Montserrat", system-ui, sans-serif;
  --f-mont-alt: "Montserrat Alternates", "Montserrat", system-ui, sans-serif;

  --gold: #f1c40f;
  --gold-ink: #0b0b0c;            /* text that sits on gold */
  --maxw: 1920px;
  --pad: clamp(20px, 5vw, 72px);
  --r: 8px;            /* standard subtle corner radius for boxes/images */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* type systems - all Montserrat variations */
html[data-type="editorial"] { --f-display: var(--f-mont);     --f-body: var(--f-mont); --disp-weight: 800; --disp-tracking: -0.02em; --disp-lh: 1.0; }
html[data-type="geometric"] { --f-display: var(--f-mont-alt); --f-body: var(--f-mont); --disp-weight: 700; --disp-tracking: -0.015em; --disp-lh: 1.02; }
html[data-type="impact"]    { --f-display: var(--f-mont);     --f-body: var(--f-mont); --disp-weight: 900; --disp-tracking: -0.01em; --disp-lh: 0.94; }

/* directions */
html[data-direction="dark"] {
  --bg: #08080a;
  --bg2: #0d0d10;
  --surface: #131317;
  --surface2: #1b1b20;
  --text: #f6f5ef;
  --muted: #9b9b97;
  --faint: #6a6a67;
  --line: rgba(255,255,255,0.12);
  --line-soft: rgba(255,255,255,0.07);
  --hero-overlay: linear-gradient(180deg, rgba(8,8,10,.30), rgba(8,8,10,.88));
}
html[data-direction="light"] {
  --bg: #f4f2ea;
  --bg2: #eceae1;
  --surface: #ffffff;
  --surface2: #f7f5ee;
  --text: #0d0d0e;
  --muted: #5f5e58;
  --faint: #9a9892;
  --line: rgba(0,0,0,0.13);
  --line-soft: rgba(0,0,0,0.07);
  --hero-overlay: linear-gradient(180deg, rgba(8,8,9,.15), rgba(8,8,9,.78));
}

/* Light mode: the gold accent (#f1c40f) is pale on light backgrounds, so give
   gold *text* a soft dark shadow to keep it legible. Gold fills (buttons,
   badges, cards) pair with dark ink and are already fine, so they're left as-is. */
html[data-direction="light"] .hl,
html[data-direction="light"] .gold,
html[data-direction="light"] .eyebrow,
html[data-direction="light"] .index-num,
html[data-direction="light"] .ep__guest,
html[data-direction="light"] .post__cat,
html[data-direction="light"] .arrow-link .dot,
html[data-direction="light"] .marquee__item .star,
html[data-direction="light"] .info-row .k,
html[data-direction="light"] .value .num {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.38), 0 0 1px rgba(0, 0, 0, 0.45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, image-slot { display: block; max-width: 100%; }
.ph-img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--gold-ink); }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.bg-surface { background: var(--bg2); }
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow--center::before { display: none; }

/* display type */
.display {
  font-family: var(--f-display);
  font-weight: var(--disp-weight);
  letter-spacing: var(--disp-tracking);
  line-height: var(--disp-lh);
  text-wrap: balance;
}
html[data-type="impact"] .display { text-transform: uppercase; }
.h-xxl { font-size: clamp(44px, 8.5vw, 132px); }
.h-xl  { font-size: clamp(36px, 6vw, 84px); }
.h-l   { font-size: clamp(30px, 4.4vw, 60px); }
.h-m   { font-size: clamp(24px, 3vw, 40px); }
.lead  { font-size: clamp(17px, 1.5vw, 22px); color: var(--muted); line-height: 1.55; max-width: 60ch; text-wrap: pretty; }

.gold { color: var(--gold); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { transform: translateY(-2px); }
.btn--ghost { border: 2px solid #f1c40f; color: var(--text); }
.btn--ghost:hover { border-color: #f1c40f; color: #f1c40f; }
.btn--ink { background: var(--text); color: var(--bg); }
.btn--ink:hover { transform: translateY(-2px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.03em;
  color: var(--text);
}
.arrow-link .dot { color: var(--gold); transition: transform .35s var(--ease); }
.arrow-link:hover .dot { transform: translateX(6px); }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-head[data-scrolled="true"] {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: var(--disp-weight); letter-spacing: -0.01em; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--gold-ink);
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800; letter-spacing: -0.03em;
  font-family: var(--f-display);
}
html[data-type="impact"] .brand .mark { font-size: 16px; }
/* uploaded image logo: scale to the header height, keep aspect ratio */
.brand__logo { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 760px) { .brand__logo { height: 34px; max-width: 160px; } }
.brand .bname { font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  padding: 9px 15px; border-radius: 999px;
  color: var(--muted); transition: color .25s, background .25s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); transition: border-color .25s, color .25s, background .25s, transform .25s; flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); transform: rotate(18deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.nav-cta { display: inline-flex; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; gap: 4px; flex-direction: column; }
.burger span { width: 16px; height: 1.6px; background: var(--text); transition: transform .3s, opacity .3s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(2.8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-2.8px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--bg); padding: 100px var(--pad) 40px;
  display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--f-display); font-weight: var(--disp-weight);
  font-size: clamp(34px, 9vw, 60px); padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
}
html[data-type="impact"] .mobile-menu a { text-transform: uppercase; }
.mobile-menu a .n { font-family: var(--f-body); font-size: 14px; color: var(--gold); font-weight: 700; }

/* ---------- footer ---------- */
.site-foot { background: var(--bg2); border-top: 1px solid var(--line-soft); padding-block: clamp(56px, 8vw, 96px) 32px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-brand .display { font-size: clamp(30px, 4vw, 52px); }
.foot-brand p { color: var(--muted); max-width: 38ch; margin-top: 16px; }
.foot-col h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; font-weight: 700; }
.foot-col a { display: block; color: var(--muted); padding: 7px 0; transition: color .25s; font-weight: 500; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: clamp(48px, 7vw, 80px); padding-top: 28px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 13px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.foot-social a:hover { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.foot-social svg { width: 17px; height: 17px; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s;
}
.card:hover { border-color: var(--line); }

/* episode card */
.ep {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.ep:hover { transform: translateY(-6px); border-color: var(--gold); }
.ep__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface2); }
.ep__media .ph-img, .ep__media img { width: 100%; height: 100%; object-fit: cover; }
.ep__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; padding: 6px 11px; border-radius: 999px; }
.ep__play { position: absolute; bottom: 14px; right: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); color: var(--text); display: grid; place-items: center; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .4s, transform .4s; }
.ep:hover .ep__play { opacity: 1; transform: translateY(0) scale(1); }
.ep__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ep__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: 0.03em; }
.ep__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.ep__title { font-family: var(--f-display); font-weight: var(--disp-weight); font-size: 22px; line-height: 1.12; letter-spacing: -0.01em; }
html[data-type="impact"] .ep__title { text-transform: uppercase; font-size: 24px; }
.ep__guest { font-size: 13px; color: var(--gold); font-weight: 700; }
.ep__sum { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.ep__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* post card */
.post { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); transition: border-color .3s; }
.post__media { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface2); }
.post__media .ph-img, .post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__cat { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.post__title { font-family: var(--f-display); font-weight: var(--disp-weight); font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; transition: color .25s; }
html[data-type="impact"] .post__title { text-transform: uppercase; }
.post:hover .post__title { color: var(--gold); }
.post__excerpt { color: var(--muted); font-size: 15px; }
.post__meta { font-size: 12.5px; color: var(--faint); font-weight: 600; }

/* ---------- reveal animation ---------- */
/* visible by default; only hidden once JS opts in (html.has-reveal) so a
   slow/failed script, print, or reduced-motion never shows a blank page */
.reveal { opacity: 1; transform: none; }
html.has-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.has-reveal .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html.has-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- section heading block ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.sec-head .display { max-width: 16ch; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-soft); padding-block: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 56px; font-family: var(--f-display); font-weight: var(--disp-weight); font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -0.01em; color: var(--text); }
html[data-type="impact"] .marquee__item { text-transform: uppercase; }
.marquee__item .star { color: var(--gold); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- misc page bits ---------- */
.page-hero { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(40px, 6vw, 72px); }
.divider { height: 1px; background: var(--line-soft); }
.stat-row { display: flex; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap; }
.stat .n { font-family: var(--f-display); font-weight: var(--disp-weight); font-size: clamp(34px, 4.5vw, 58px); line-height: 1; }
.stat .l { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; margin-top: 8px; font-weight: 600; }

/* =====================================================================
   REFERENCE DESIGN LANGUAGE - highlight blocks, ghost type, vbars,
   numbered index, spec rows, side rail, page pager, yellow cards
   ===================================================================== */

/* highlighted word (ref: Грио) - coloured text in the accent colour, with
   no background block, so it can never cover adjacent lines of text. */
.hl {
  color: var(--gold);
}

/* outline / stroke text */
.stroke { color: transparent; -webkit-text-stroke: 1.4px var(--text); }
html[data-direction="light"] .stroke { -webkit-text-stroke-color: var(--text); }

/* vertical accent bar (ref: EVS, Грио) */
.vbar { display: inline-block; width: 5px; align-self: stretch; background: var(--gold); border-radius: 2px; }
.vbar--tall { min-height: 120px; }

/* oversized ghost numeral / word behind content (ref: Moonwatch, EVS) */
.ghost { position: absolute; font-family: var(--f-display); font-weight: 900; line-height: .8; color: rgba(255,255,255,.04); pointer-events: none; z-index: 0; letter-spacing: -.03em; user-select: none; white-space: nowrap; }
html[data-direction="light"] .ghost { color: rgba(0,0,0,.045); }
.ghost--num { font-size: clamp(180px, 34vw, 460px); }

/* editorial numbered index "/ 01" (ref: Aer, EVS) */
.index-num { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 800; font-size: 14px; letter-spacing: .04em; color: var(--gold); }
.index-num .slash { color: var(--text); opacity: .35; }
.index-num .line { width: 56px; height: 1px; background: var(--gold); }

/* spec row with thin outline icons (ref: Moonwatch) */
.spec-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.spec-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { display: flex; align-items: center; gap: 16px; padding: 28px clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line-soft); }
.spec:first-child { border-left: none; }
.spec__ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--gold); }
.spec__ic svg { width: 20px; height: 20px; }
.spec__k { font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.1; }
.spec__v { font-size: 12px; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }
@media (max-width: 860px) { .spec-row { grid-template-columns: 1fr 1fr; } .spec:nth-child(odd) { border-left: none; } .spec:nth-child(n+3) { border-top: 1px solid var(--line-soft); } }
@media (max-width: 460px) { .spec-row { grid-template-columns: 1fr; } .spec { border-left: none; border-top: 1px solid var(--line-soft); } .spec:first-child { border-top: none; } }

/* fixed side rail labels (ref: Moonwatch, EVS "scroll") */
.side-rail { position: fixed; left: 22px; top: 0; bottom: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 92px 0 32px; pointer-events: none; }
.side-rail__line { width: 1px; flex: 1; background: var(--line); margin: 18px 0; }
.side-rail__txt { writing-mode: vertical-rl; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 600; pointer-events: auto; }
.side-rail__soc { display: flex; flex-direction: column; gap: 14px; pointer-events: auto; }
.side-rail__soc a { color: var(--faint); transition: color .25s; }
.side-rail__soc a:hover { color: var(--gold); }
.side-rail__soc svg { width: 16px; height: 16px; }
@media (max-width: 1180px) { .side-rail { display: none; } }

/* overlapping yellow card (ref: EVS) */
.ycard { background: var(--gold); color: var(--gold-ink); border-radius: var(--r); padding: 26px; }
.ycard .n { font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1; }
.ycard .k { font-weight: 700; font-size: 14px; margin-top: auto; }

/* feature cards row, one filled yellow (ref: Грио) */
.feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; min-height: 260px; position: relative; transition: transform .5s var(--ease), border-color .4s; }
.feat-card:hover { transform: translateY(-6px); }
.feat-card--gold { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.feat-card__ic { width: 48px; height: 48px; display: grid; place-items: center; color: var(--gold); }
.feat-card--gold .feat-card__ic { color: var(--gold-ink); }
.feat-card__ic svg { width: 30px; height: 30px; }
.feat-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 21px; }
.feat-card p { font-size: 14.5px; color: var(--muted); margin-top: auto; }
.feat-card--gold p { color: rgba(0,0,0,.7); }
.feat-card__edge { position: absolute; left: 0; bottom: -8px; width: 60%; height: 4px; background: var(--gold); }
.feat-card--gold .feat-card__edge { display: none; }
@media (max-width: 860px) { .feat-cards { grid-template-columns: 1fr; } }

/* right-side numbered pager (ref: EVS) */
.pager { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 14px; }
.pager button { font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: .05em; transition: color .25s; position: relative; padding-right: 18px; }
.pager button::after { content: ""; position: absolute; right: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .25s; transform: translateY(-50%); }
.pager button.on { color: var(--gold); }
.pager button.on::after { width: 12px; }
@media (max-width: 1180px) { .pager { display: none; } }

/* ---------- tweaks panel ---------- */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 300px; max-width: calc(100vw - 40px);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  font-family: var(--f-body);
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tweaks.open { opacity: 1; transform: none; pointer-events: auto; }
.tweaks__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.tweaks__title { font-family: var(--f-display); font-weight: 700; font-size: 16px; }
.tweaks__x { width: 28px; height: 28px; border-radius: 50%; color: var(--muted); display: grid; place-items: center; font-size: 13px; }
.tweaks__x:hover { background: var(--surface2); color: var(--text); }
.tweaks__body { padding: 8px 18px 20px; max-height: 70vh; overflow-y: auto; }
.tw-sec { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin: 18px 0 9px; }
.tw-seg { display: flex; gap: 6px; background: var(--surface2); padding: 4px; border-radius: 10px; }
.tw-seg button { flex: 1; padding: 8px 6px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.tw-seg button.on { background: var(--gold); color: var(--gold-ink); }
.tw-swatches { display: flex; gap: 10px; }
.tw-sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); transition: transform .2s; }
.tw-sw.on { border-color: var(--text); transform: scale(1.12); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--text); }
.tw-slider { display: flex; align-items: center; gap: 12px; }
.tw-slider input { flex: 1; accent-color: var(--gold); }
.tw-slider span { font-family: var(--f-display); font-weight: 700; width: 20px; text-align: right; }
.tw-admin { display: block; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; font-weight: 700; color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .sec-head { align-items: flex-start; }
}
