/* ============================================================
   GOLDEN HOUR — site styles (Code 1 Studios family)
   Storybook fantasy: night teal, warm gold, parchment.
   ============================================================ */
:root {
  --gh-ink: #071417;
  --gh-night: #0b1f24;
  --gh-deep: #10292f;
  --gh-raised: #163840;
  --gh-line: rgba(242, 196, 110, 0.18);
  --gh-line-strong: rgba(242, 196, 110, 0.38);
  --gh-gold: #f2b64a;
  --gh-gold-hot: #ffd27a;
  --gh-gold-deep: #b9782a;
  --gh-teal: #4cc4b3;
  --gh-violet: #a07af0;
  --gh-ember: #ff8a4c;
  --gh-cream: #f8ecd4;
  --gh-text: #e9e0cc;
  --gh-mute: #a9b3ad;
  --gh-display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --gh-body: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gh-radius: 18px;
  --gh-wrap: 1200px;
  --app-accent: #f2b64a;
  --gh-pad: clamp(20px, 4vw, 40px);
  --gh-section: clamp(64px, 9vw, 128px);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.gh {
  margin: 0;
  background: var(--gh-ink);
  color: var(--gh-text);
  font-family: var(--gh-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.gh img { max-width: 100%; display: block; }
.gh a { color: var(--gh-gold-hot); }
.gh :focus-visible { outline: 2px solid var(--gh-gold-hot); outline-offset: 3px; border-radius: 6px; }
.gh-wrap { max-width: var(--gh-wrap); margin: 0 auto; padding: 0 var(--gh-pad); }
.gh-skip { position: absolute; left: -9999px; }
.gh-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gh-gold); color: var(--gh-ink); padding: 8px 14px; border-radius: 8px; }

/* ---------- type ---------- */
.gh h1, .gh h2, .gh h3, .gh h4 { font-family: var(--gh-display); color: var(--gh-cream); margin: 0; line-height: 1.12; letter-spacing: -0.005em; }
.gh h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; }
.gh h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
.gh p { margin: 0; }
.gh-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--gh-display); font-weight: 600; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gh-gold);
}
.gh-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.gh-lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--gh-text); max-width: 62ch; }
.gh-mute { color: var(--gh-mute); }
.gh-quote { font-style: italic; color: var(--gh-cream); }
.gh-quote::before { content: "\201C"; color: var(--gh-gold); }
.gh-quote::after { content: "\201D"; color: var(--gh-gold); }

/* ---------- buttons ---------- */
.gh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--gh-display); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.gh-btn svg { width: 18px; height: 18px; flex: none; }
.gh-btn--gold { background: linear-gradient(180deg, var(--gh-gold-hot), var(--gh-gold)); color: #2a1604 !important; box-shadow: 0 6px 24px rgba(242, 182, 74, .28), inset 0 -2px 0 rgba(0,0,0,.15); }
.gh-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(242, 182, 74, .38), inset 0 -2px 0 rgba(0,0,0,.15); }
.gh-btn--ghost { border: 1.5px solid var(--gh-line-strong); color: var(--gh-cream) !important; background: rgba(7, 20, 23, .35); backdrop-filter: blur(6px); }
.gh-btn--ghost:hover { border-color: var(--gh-gold); background: rgba(242, 182, 74, .08); }
.gh-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- hero ---------- */
.gh-hero { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.gh-hero__art { position: absolute; inset: 0; z-index: -2; }
.gh-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.04); animation: gh-drift 26s ease-in-out infinite alternate; }
@keyframes gh-drift { to { transform: scale(1.1) translate3d(-1.2%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .gh-hero__art img { animation: none; } }
.gh-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,20,23,.55) 0%, rgba(7,20,23,.05) 28%, rgba(7,20,23,.25) 55%, rgba(7,20,23,.94) 88%, var(--gh-ink) 100%),
    radial-gradient(120% 70% at 0% 100%, rgba(7,20,23,.85), transparent 60%);
}
.gh-hero__inner { padding-top: 96px; padding-bottom: clamp(48px, 7vw, 88px); display: grid; gap: 22px; }
.gh-hero__mark { display: flex; align-items: center; gap: 14px; }
.gh-hero__mark img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 28px rgba(0,0,0,.5), 0 0 0 1px var(--gh-line-strong); }
.gh-hero__mark span { text-shadow: 0 1px 8px rgba(0,0,0,.9); font-family: var(--gh-display); font-weight: 600; color: var(--gh-cream); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; }
.gh-hero h1 {
  font-size: clamp(56px, 10vw, 132px); font-weight: 700; line-height: .92; letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff2c9 0%, var(--gh-gold-hot) 35%, var(--gh-gold) 70%, #d08a2c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.55));
}
.gh-hero__tag { font-family: var(--gh-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 28px); color: var(--gh-cream); text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.gh-hero__sub { max-width: 58ch; color: var(--gh-text); text-shadow: 0 1px 10px rgba(0,0,0,.7); font-size: 17px; }
.gh-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.gh-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-family: var(--gh-display); font-weight: 600; font-size: 14px; color: var(--gh-cream);
  background: rgba(7, 20, 23, .6); border: 1px solid var(--gh-line-strong); backdrop-filter: blur(6px);
}
.gh-badge svg { width: 16px; height: 16px; }
.gh-badge--dev { color: #2a1604; background: var(--gh-gold); border-color: transparent; }
.gh-badge--dev i { width: 8px; height: 8px; border-radius: 50%; background: #7a3d00; box-shadow: 0 0 0 0 rgba(122,61,0,.6); animation: gh-pulse 2s infinite; }
@keyframes gh-pulse { 0% { box-shadow: 0 0 0 0 rgba(122,61,0,.55); } 70% { box-shadow: 0 0 0 8px rgba(122,61,0,0); } 100% { box-shadow: 0 0 0 0 rgba(122,61,0,0); } }
@media (prefers-reduced-motion: reduce) { .gh-badge--dev i { animation: none; } }

/* ---------- status band ---------- */
.gh-status { border-top: 1px solid var(--gh-line); border-bottom: 1px solid var(--gh-line); background: linear-gradient(180deg, var(--gh-night), var(--gh-ink)); }
.gh-status__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.gh-stat { padding: 26px 22px; border-left: 1px solid var(--gh-line); display: grid; gap: 6px; }
.gh-stat:first-child { border-left: 0; }
.gh-stat__label { font-family: var(--gh-display); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gh-mute); }
.gh-stat__value { font-family: var(--gh-display); font-size: 22px; font-weight: 600; color: var(--gh-cream); line-height: 1.25; }
.gh-stat__value em { font-style: normal; color: var(--gh-gold); }
.gh-devices { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.gh-devices span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--gh-display); font-weight: 600; font-size: 16px; color: var(--gh-cream); }
.gh-devices svg { width: 18px; height: 18px; color: var(--gh-gold); }
@media (max-width: 900px) { .gh-status__grid { grid-template-columns: 1fr 1fr; } .gh-stat:nth-child(3) { border-left: 0; } .gh-stat:nth-child(n+3) { border-top: 1px solid var(--gh-line); } }
@media (max-width: 520px) { .gh-status__grid { grid-template-columns: 1fr; } .gh-stat { border-left: 0; border-top: 1px solid var(--gh-line); } .gh-stat:first-child { border-top: 0; } }

/* ---------- sections ---------- */
.gh-section { padding: var(--gh-section) 0; position: relative; }
.gh-section--night { background: var(--gh-night); }
.gh-section__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.gh-section__head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.gh-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.gh-split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .gh-split { grid-template-columns: 1fr; } .gh-split--rev > :first-child { order: 0; } }
.gh-prose { display: grid; gap: 16px; }
.gh-plate { position: relative; border-radius: var(--gh-radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px var(--gh-line); background: var(--gh-deep); }
.gh-plate img { width: 100%; height: 100%; object-fit: cover; }
.gh-plate figcaption, .gh-cap { font-size: 13px; color: var(--gh-mute); margin-top: 10px; }
.gh-oath {
  margin-top: 8px; padding: 22px 24px; border-radius: var(--gh-radius);
  background: linear-gradient(135deg, rgba(242,182,74,.12), rgba(76,196,179,.08)); border: 1px solid var(--gh-line-strong);
}
.gh-oath strong { display: block; font-family: var(--gh-display); font-size: clamp(22px, 2.4vw, 28px); color: var(--gh-gold-hot); font-weight: 600; line-height: 1.2; }
.gh-oath span { display: block; margin-top: 6px; color: var(--gh-text); }

/* ---------- timeline / history ---------- */
.gh-history { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: h; margin-top: 48px; }
.gh-history li { list-style: none; padding: 20px; border-radius: 16px; background: var(--gh-deep); border: 1px solid var(--gh-line); counter-increment: h; position: relative; }
.gh-history li::before { content: counter(h); position: absolute; top: -14px; left: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gh-gold); color: #2a1604; font-family: var(--gh-display); font-weight: 700; font-size: 14px; }
.gh-history h3 { font-size: 18px; margin: 6px 0 8px; }
.gh-history p { font-size: 14.5px; color: var(--gh-mute); line-height: 1.55; }
.gh-history { padding: 0; }
@media (max-width: 1000px) { .gh-history { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gh-history { grid-template-columns: 1fr; } }

/* ---------- caduceus ---------- */
.gh-cad { background: radial-gradient(90% 70% at 50% 0%, rgba(76,196,179,.16), transparent 60%), var(--gh-night); overflow: hidden; }
.gh-cad__hero { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.gh-cad__staff { max-width: 420px; justify-self: center; }
.gh-cad__staff img { border-radius: 24px; box-shadow: 0 0 80px rgba(242,182,74,.22), 0 0 0 1px var(--gh-line); }
@media (max-width: 860px) { .gh-cad__hero { grid-template-columns: 1fr; } }
.gh-pieces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.gh-piece { border-radius: 18px; overflow: hidden; background: var(--gh-deep); border: 1px solid var(--gh-line); display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.gh-piece:hover { transform: translateY(-4px); border-color: var(--gh-line-strong); }
.gh-piece__img { aspect-ratio: 1; overflow: hidden; background: #0e3a3c; }
.gh-piece__img img { width: 100%; height: 100%; object-fit: cover; }
.gh-piece__body { padding: 16px 16px 18px; display: grid; gap: 6px; }
.gh-piece__act { font-family: var(--gh-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gh-teal); font-weight: 600; }
.gh-piece h3 { font-size: 19px; }
.gh-piece p { font-size: 14.5px; color: var(--gh-mute); line-height: 1.5; }
.gh-piece__power { font-size: 13.5px; color: var(--gh-gold-hot) !important; font-weight: 700; }
@media (max-width: 1000px) { .gh-pieces { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gh-pieces { grid-template-columns: 1fr 1fr; } }

/* ---------- full-bleed band ---------- */
.gh-bleed { position: relative; min-height: clamp(360px, 56vw, 640px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.gh-bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gh-bleed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--gh-ink) 0%, rgba(7,20,23,0) 22%, rgba(7,20,23,0) 50%, rgba(7,20,23,.9) 88%, var(--gh-ink) 100%); }
.gh-bleed__text { padding-bottom: clamp(32px, 5vw, 64px); display: grid; gap: 10px; max-width: 720px; }
.gh-bleed__text p { text-shadow: 0 1px 12px rgba(0,0,0,.8); }

/* ---------- acts ---------- */
.gh-acts { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.gh-act { display: grid; grid-template-columns: 1.25fr 1fr; border-radius: 22px; overflow: hidden; background: var(--gh-deep); border: 1px solid var(--gh-line); min-height: 340px; }
.gh-act:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.gh-act:nth-child(even) .gh-act__art { order: 2; }
.gh-act__art { position: relative; overflow: hidden; }
.gh-act__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gh-act:hover .gh-act__art img { transform: scale(1.04); }
.gh-act__body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: center; }
.gh-act__num { font-family: var(--gh-display); font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--gh-gold); }
.gh-act h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.gh-act__place { font-family: var(--gh-display); color: var(--gh-teal); font-weight: 500; font-size: 17px; }
.gh-act__body > p { color: var(--gh-text); font-size: 15.5px; }
.gh-act__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.gh-act__thumbs button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; cursor: zoom-in; background: var(--gh-raised); box-shadow: 0 0 0 1px var(--gh-line); }
.gh-act__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gh-act__thumbs button:hover img { transform: scale(1.08); }
.gh-act__boss { font-size: 14px; color: var(--gh-mute); }
.gh-act__boss strong { color: var(--gh-ember); font-family: var(--gh-display); font-weight: 600; }
@media (max-width: 860px) { .gh-act, .gh-act:nth-child(even) { grid-template-columns: 1fr; } .gh-act:nth-child(even) .gh-act__art { order: 0; } .gh-act__art { aspect-ratio: 16/9; } }

/* ---------- character strip ---------- */
.gh-heroes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gh-hcard { position: relative; border-radius: 18px; overflow: hidden; background: var(--gh-deep); border: 1px solid var(--gh-line); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.gh-hcard:hover { transform: translateY(-4px); border-color: var(--gh-gold); }
.gh-hcard__img { aspect-ratio: 4/5; overflow: hidden; }
.gh-hcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.55); transform-origin: 50% 26%; transition: transform .5s ease; }
.gh-hcard:hover .gh-hcard__img img { transform: scale(1.62); }
.gh-hcard__body { padding: 14px; display: grid; gap: 3px; }
.gh-hcard__body strong { font-family: var(--gh-display); font-weight: 600; color: var(--gh-cream); font-size: 17px; line-height: 1.2; }
.gh-hcard__body span { font-size: 13px; color: var(--gh-mute); }
.gh-new { position: absolute; top: 10px; left: 10px; background: var(--gh-gold); color: #2a1604; font-family: var(--gh-display); font-weight: 700; font-size: 11px; letter-spacing: .14em; padding: 3px 8px; border-radius: 999px; }
@media (max-width: 1000px) { .gh-heroes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gh-heroes { grid-template-columns: 1fr 1fr; } }

.gh-party { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px; }
.gh-party a { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 2/3; display: block; background: #f3d3a0; box-shadow: 0 0 0 1px var(--gh-line); }
.gh-party img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gh-party a:hover img { transform: scale(1.05); }
.gh-party span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 10px; font-family: var(--gh-display); font-weight: 600; font-size: 14px; color: #fff; background: linear-gradient(0deg, rgba(7,20,23,.92), transparent); line-height: 1.2; }
@media (max-width: 900px) { .gh-party { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .gh-party { grid-template-columns: repeat(3, 1fr); } }

/* ---------- powers ---------- */
.gh-powers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gh-power { grid-column: span 2; border-radius: 18px; overflow: hidden; background: var(--gh-deep); border: 1px solid var(--gh-line); display: flex; flex-direction: column; }
.gh-power:nth-child(4), .gh-power:nth-child(5) { grid-column: span 3; }
.gh-power__img { aspect-ratio: 16/9; overflow: hidden; }
.gh-power__img img { width: 100%; height: 100%; object-fit: cover; }
.gh-power__body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.gh-power__tag { font-family: var(--gh-display); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.gh-power p { font-size: 15px; color: var(--gh-text); }
.gh-power .gh-quote { font-size: 14.5px; color: var(--gh-mute); }
@media (max-width: 900px) { .gh-powers { grid-template-columns: 1fr 1fr; } .gh-power, .gh-power:nth-child(4), .gh-power:nth-child(5) { grid-column: span 1; } .gh-power:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .gh-powers { grid-template-columns: 1fr; } .gh-power:last-child { grid-column: span 1; } }

/* ---------- loot preview ---------- */
.gh-coin { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(242,182,74,.14), rgba(242,182,74,.03)); border: 1px solid var(--gh-line-strong); }
.gh-coin__disc { flex: none; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1c2, var(--gh-gold) 45%, var(--gh-gold-deep)); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), 0 6px 18px rgba(242,182,74,.35); display: grid; place-items: center; color: #6b3a07; }
.gh-coin__disc svg { width: 34px; height: 34px; }
.gh-coin p { font-size: 15px; }
.gh-loot { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.gh-item {
  position: relative; display: grid; justify-items: center; gap: 8px; padding: 16px 12px 14px; border-radius: 16px; text-align: center; cursor: pointer;
  background: radial-gradient(80% 60% at 50% 30%, rgba(76,196,179,.16), transparent 70%), var(--gh-deep);
  border: 1px solid var(--gh-line); color: inherit; font: inherit; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gh-item:hover { transform: translateY(-3px); border-color: var(--rar, var(--gh-gold)); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.gh-item img { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.gh-item strong { font-family: var(--gh-display); font-weight: 600; font-size: 14.5px; line-height: 1.2; color: var(--rar, var(--gh-gold-hot)); }
.gh-item small { font-size: 12px; color: var(--gh-mute); line-height: 1.3; }
.gh-item[data-r="unique"] { --rar: #f2b64a; }
.gh-item[data-r="set"] { --rar: #7fe08a; }
.gh-item[data-r="supply"] { --rar: #8fd3ff; }
.gh-loot-foot { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- soundtrack ---------- */
.gh-music { position: relative; overflow: hidden; isolation: isolate; }
.gh-music__bg { position: absolute; inset: 0; z-index: -2; }
.gh-music__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.gh-music::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,20,23,.96) 0%, rgba(7,20,23,.86) 42%, rgba(7,20,23,.35) 100%); }
.gh-music__card { max-width: 560px; display: grid; gap: 18px; }
.gh-ns { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,106,193,.08); border: 1px solid rgba(255,106,193,.35); text-decoration: none; color: inherit !important; transition: background-color .2s ease; }
.gh-ns:hover { background: rgba(255,106,193,.14); }
.gh-ns img { width: 54px; height: 54px; border-radius: 12px; }
.gh-ns strong { display: block; font-family: var(--gh-display); font-weight: 600; color: #ffb3dd; font-size: 18px; }
.gh-ns span { font-size: 14px; color: var(--gh-mute); }
.gh-tracks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gh-tracks div { padding: 10px; border-radius: 12px; background: rgba(7,20,23,.6); border: 1px solid var(--gh-line); }
.gh-tracks b { display: block; font-family: var(--gh-display); color: var(--gh-gold); font-size: 13px; font-weight: 600; }
.gh-tracks span { font-size: 12.5px; color: var(--gh-mute); line-height: 1.35; display: block; }
.gh-tracks i { display: block; font-style: normal; letter-spacing: .18em; color: var(--gh-gold-hot); font-size: 13px; margin: 2px 0; }
@media (max-width: 640px) { .gh-tracks { grid-template-columns: 1fr 1fr; } .gh-music::after { background: rgba(7,20,23,.88); } }

/* ---------- books ---------- */
.gh-books { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.gh-book { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px; border-radius: 22px; background: var(--gh-deep); border: 1px solid var(--gh-line); align-items: center; }
.gh-book__cover { border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 0 1px var(--gh-line-strong); transform: rotate(-2deg); transition: transform .3s ease; }
.gh-book:hover .gh-book__cover { transform: rotate(0) scale(1.02); }
.gh-book__body { display: grid; gap: 12px; }
.gh-book__meta { font-size: 13px; color: var(--gh-mute); }
@media (min-width: 1181px) { .gh-book { grid-template-columns: 1fr; align-items: start; } .gh-book__cover { max-width: 220px; justify-self: center; } }
@media (max-width: 1180px) { .gh-books { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; } }
@media (max-width: 520px) { .gh-book { grid-template-columns: 1fr; } .gh-book__cover { max-width: 220px; } }

/* ---------- gallery ---------- */
.gh-gallery { columns: 3 280px; column-gap: 14px; }
.gh-gallery button { display: block; width: 100%; padding: 0; margin: 0 0 14px; border: 0; border-radius: 14px; overflow: hidden; break-inside: avoid; cursor: zoom-in; background: var(--gh-deep); box-shadow: 0 0 0 1px var(--gh-line); }
.gh-gallery img { width: 100%; height: auto; transition: transform .4s ease; }
.gh-gallery button:hover img { transform: scale(1.03); }

/* ---------- characters page ---------- */
.gh-pagehead { position: relative; padding: 96px 0 56px; overflow: hidden; isolation: isolate; }
.gh-pagehead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 30%; }
.gh-pagehead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,20,23,.6), rgba(7,20,23,.75) 50%, var(--gh-ink)); }
.gh-pagehead h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 700; color: var(--gh-gold-hot); text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.gh-pagehead .gh-lede { margin-top: 14px; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.gh-tabs { position: sticky; top: 0; z-index: 20; background: rgba(7,20,23,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gh-line); }
.gh-tabs__row { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.gh-tabs__row::-webkit-scrollbar { display: none; }
.gh-tabs a { flex: none; padding: 8px 16px; border-radius: 999px; font-family: var(--gh-display); font-weight: 600; font-size: 14.5px; color: var(--gh-text); text-decoration: none; border: 1px solid var(--gh-line); white-space: nowrap; }
.gh-tabs a:hover, .gh-tabs a.is-on { background: var(--gh-gold); color: #2a1604; border-color: transparent; }
.gh-tabs a span { opacity: .7; font-size: 12.5px; margin-left: 4px; }
.gh-group { padding: clamp(48px, 6vw, 80px) 0 0; scroll-margin-top: 40px; }
.gh-bio, .gh-card, .gh-person { scroll-margin-top: 80px; }
.gh-plate > button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gh-group:last-of-type { padding-bottom: var(--gh-section); }
.gh-group__head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 760px; }

.gh-bio { display: grid; grid-template-columns: minmax(260px, 1.1fr) 1fr; gap: 0; border-radius: 22px; overflow: hidden; background: var(--gh-deep); border: 1px solid var(--gh-line); margin-bottom: 20px; }
.gh-bio__art { position: relative; min-height: 300px; cursor: zoom-in; border: 0; padding: 0; background: var(--gh-raised); }
.gh-bio__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gh-bio__body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.gh-bio__role { font-family: var(--gh-display); font-weight: 600; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gh-teal); }
.gh-bio h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.gh-bio__body > p { font-size: 15.5px; }
.gh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gh-chip { padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--gh-cream); background: rgba(76,196,179,.12); border: 1px solid rgba(76,196,179,.32); }
.gh-chip--gold { background: rgba(242,182,74,.12); border-color: var(--gh-line-strong); }
.gh-callout { padding: 14px 16px; border-radius: 14px; background: rgba(242,182,74,.08); border-left: 3px solid var(--gh-gold); font-size: 14.5px; }
.gh-callout b { color: var(--gh-gold-hot); font-family: var(--gh-display); font-weight: 600; }
.gh-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14px; color: var(--gh-mute); padding: 0; margin: 0; list-style: none; }
.gh-facts li::before { content: "\2726  "; color: var(--gh-gold); }
.gh-bio--wide .gh-bio__art { min-height: 360px; }
.gh-bio--feature { grid-template-columns: 1fr; }
.gh-bio--feature .gh-bio__art { min-height: 0; aspect-ratio: 16/8; }
@media (max-width: 860px) { .gh-bio { grid-template-columns: 1fr; } .gh-bio__art { min-height: 0; aspect-ratio: 16/10; } }

.gh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.gh-card { border-radius: 20px; overflow: hidden; background: var(--gh-deep); border: 1px solid var(--gh-line); display: flex; flex-direction: column; }
.gh-card__art { display: block; width: 100%; border: 0; padding: 0; cursor: zoom-in; background: #f3d3a0; aspect-ratio: 4/5; overflow: hidden; }
.gh-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s ease; }
.gh-card:hover .gh-card__art img { transform: scale(1.04); }
.gh-card__art--wide { aspect-ratio: 16/10; background: var(--gh-raised); }
.gh-card__body { padding: 18px 18px 20px; display: grid; gap: 9px; align-content: start; flex: 1; }
.gh-card h3 { font-size: 21px; }
.gh-card p { font-size: 14.5px; line-height: 1.55; }
.gh-card .gh-quote { color: var(--gh-cream); }
.gh-card__unlock { font-size: 13px; color: var(--gh-gold-hot); font-weight: 700; }

.gh-actgroup { margin-bottom: 36px; }
.gh-actgroup__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; margin-bottom: 18px; border-radius: 20px; overflow: hidden; background: var(--gh-deep); border: 1px solid var(--gh-line); }
.gh-actgroup__head button { border: 0; padding: 0; cursor: zoom-in; height: 100%; min-height: 220px; position: relative; background: var(--gh-raised); }
.gh-actgroup__head button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gh-actgroup__head div { padding: 22px 24px 22px 0; display: grid; gap: 8px; }
@media (max-width: 760px) { .gh-actgroup__head { grid-template-columns: 1fr; } .gh-actgroup__head button { aspect-ratio: 16/9; min-height: 0; } .gh-actgroup__head div { padding: 0 20px 20px; } }
.gh-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gh-person { padding: 18px; border-radius: 16px; background: var(--gh-deep); border: 1px solid var(--gh-line); display: grid; gap: 8px; align-content: start; }
.gh-person h4 { font-size: 18px; font-weight: 600; }
.gh-person p { font-size: 14.5px; line-height: 1.55; }

/* ---------- armoury ---------- */
.gh-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.gh-filters button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gh-line); background: transparent; color: var(--gh-text); font-family: var(--gh-display); font-weight: 600; font-size: 14.5px; cursor: pointer; min-height: 40px; }
.gh-filters button[aria-pressed="true"] { background: var(--gh-gold); color: #2a1604; border-color: transparent; }
.gh-search { flex: 1 1 240px; max-width: 360px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--gh-line-strong); background: var(--gh-deep); color: var(--gh-cream); font: inherit; }
.gh-search::placeholder { color: var(--gh-mute); }
.gh-count { font-size: 14px; color: var(--gh-mute); margin-left: auto; }
.gh-empty { padding: 48px; text-align: center; color: var(--gh-mute); border: 1px dashed var(--gh-line-strong); border-radius: 18px; }

/* ---------- dialog ---------- */
.gh-dialog { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; color: var(--gh-text); }
.gh-dialog::backdrop { background: rgba(4, 10, 12, .88); backdrop-filter: blur(4px); }
.gh-dialog__inner { position: relative; border-radius: 18px; overflow: hidden; background: var(--gh-deep); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px var(--gh-line-strong); }
.gh-dialog__inner img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; }
.gh-dialog__cap { padding: 12px 18px; font-size: 14px; color: var(--gh-mute); }
.gh-dialog__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(7,20,23,.8); color: var(--gh-cream); font-size: 24px; cursor: pointer; display: grid; place-items: center; }
.gh-dialog--item .gh-dialog__inner { max-width: 460px; padding: 28px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.gh-dialog--item img { width: 140px; height: 140px; object-fit: contain; }
.gh-dialog--item h3 { color: var(--rar, var(--gh-gold-hot)); font-size: 26px; }
.gh-dialog--item ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: #9cc7ff; font-size: 15px; }
.gh-dialog--item .gh-val { font-family: var(--gh-display); font-weight: 600; color: var(--gh-gold-hot); }

/* ---------- reveal ---------- */
.gh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.gh-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gh-reveal { opacity: 1; transform: none; transition: none; } }
.no-js .gh-reveal { opacity: 1; transform: none; }

/* footer spacing */
.gh #family-footer { margin-top: 0; }
@media (max-width: 640px) {
  .gh-hero { min-height: 0; }
  .gh-hero::after { background: linear-gradient(180deg, rgba(7,20,23,.45) 0%, rgba(7,20,23,.78) 30%, rgba(7,20,23,.9) 70%, var(--gh-ink) 100%); }
  .gh-hero__art img { object-position: 50% 20%; }
}

/* FAQ (SEO pass 2026-11-22) */
.gh-faq { display: grid; gap: 14px; max-width: 860px; }
.gh-faq__item { border: 1px solid var(--gh-line); border-radius: var(--gh-radius); background: var(--gh-deep); overflow: hidden; }
.gh-faq__item summary { padding: 18px 52px 18px 22px; cursor: pointer; font-family: var(--gh-display); font-weight: 600; font-size: 1.08rem; color: var(--gh-cream); list-style: none; position: relative; }
.gh-faq__item summary::-webkit-details-marker { display: none; }
.gh-faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gh-gold); font-size: 24px; line-height: 1; }
.gh-faq__item[open] summary::after { content: "\2212"; }
.gh-faq__item[open] summary { border-bottom: 1px solid var(--gh-line); }
.gh-faq__item summary:focus-visible { outline: 2px solid var(--gh-gold); outline-offset: -2px; }
.gh-faq__item p { margin: 0; padding: 18px 22px; color: var(--gh-text); line-height: 1.6; }
