/* ============================================================
   Guilty As Charged — site styles
   Static-HTML versions of the design system components
   (SiteHeader, SiteFooter, ReleaseHero, PlatformButton, Card,
   Badge, Button, Tabs, Article template). Tokens come from
   ds/styles.css; never hard-code a color that has a token.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--gac-ice-300); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--action); color: var(--text-on-accent);
  border-radius: var(--radius-md); font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: var(--ls-caps); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--container-pad); }
.section { padding: clamp(48px, 7vw, 96px) 0; }

/* ---------- Type helpers ---------- */
.overline {
  font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: var(--ls-overline); font-size: 12px; font-weight: 600;
  color: var(--text-muted); margin: 0 0 8px;
}
.overline--ice { color: var(--accent); }
.h-page {
  font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1; font-weight: 700;
  color: var(--text-heading); font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 28px; text-shadow: var(--glow-text-ice);
}
.h-section {
  font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: 0.04em; font-weight: 700; color: var(--text-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 12px;
}
.lede { font-size: 17px; color: var(--gac-ice-500); margin: 0 0 36px; }

/* ---------- SiteHeader ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(8, 11, 22, 0.82);
  -webkit-backdrop-filter: var(--blur-md); backdrop-filter: var(--blur-md);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__logo img { display: block; height: 38px; width: auto; }
.site-nav { display: flex; gap: clamp(14px, 2.5vw, 34px); align-items: center; }
.site-nav a {
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text-primary); text-decoration: none;
  transition: color var(--dur-base);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gac-ice-400); }
.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0;
  align-items: center; justify-content: center;
  background: rgba(126, 200, 227, 0.12); color: var(--accent);
  border: 1px solid transparent; border-radius: var(--radius-md); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--gac-ice-300); box-shadow: var(--glow-ice-strong); }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-raised); border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px clamp(20px, 5vw, 56px); font-size: 17px; }
}

/* ---------- SiteFooter ---------- */
.site-footer {
  padding: 56px 24px 40px; text-align: center;
  border-top: 1px solid var(--border-subtle); background: var(--bg-void);
}
.site-footer__logo { height: 72px; width: auto; margin-bottom: 28px; opacity: 0.95; }
.social { display: flex; gap: 14px; justify-content: center; margin-bottom: 22px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  background: rgba(126, 200, 227, 0.12); color: var(--gac-ice-400);
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.icon-btn:hover { background: rgba(126, 200, 227, 0.07); border-color: var(--gac-ice-300); box-shadow: var(--glow-ice-strong); color: var(--gac-ice-400); }
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer__legal { font-size: 14px; color: var(--text-muted); }
.site-footer__legal a { color: var(--text-secondary); }

/* ---------- Button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: var(--ls-caps);
  font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none;
  padding: 11px 22px; font-size: 13px;
  border: 1px solid transparent; border-radius: var(--radius-md); cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { box-shadow: var(--glow-ice-strong); border-color: var(--gac-ice-300); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 7px 14px; font-size: 12px; }
.btn--primary { background: var(--action); color: var(--text-on-accent); }
.btn--primary:hover { background: var(--action-hover); color: var(--text-on-accent); }
.btn--ghost { background: transparent; color: var(--text-heading); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-card); color: var(--text-heading); }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 11px; font-weight: 600; line-height: 1; color: var(--badge, var(--gac-ice-400));
  text-decoration: none;
}
.badge::before {
  content: ""; width: 14px; height: 2px; flex: none;
  background: var(--badge, var(--gac-ice-400)); box-shadow: 0 0 8px var(--badge, var(--gac-ice-400));
}
.badge--steel { --badge: var(--gac-steel-500); }
.badge--amber { --badge: var(--gac-amber-400); }
.badge--neutral { --badge: var(--text-muted); }
a.badge:hover { --badge: var(--gac-ice-400); }

/* ---------- Card ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-void); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.card__body .badge { margin-bottom: 12px; align-self: flex-start; }
.card__title {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--text-heading); font-size: 20px; line-height: 1.1; margin: 0 0 10px;
}
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--gac-ice-300); }
.card__meta { font-style: italic; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.card__text { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 20px; flex: 1; }
.card__body > .btn { align-self: flex-start; }

.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--merch { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

/* ---------- Tabs ---------- */
.tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border-subtle); margin-bottom: 36px;
}
.tabs a, .tabs button {
  background: transparent; border: none; cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; font-size: 13px; padding: 10px 14px; margin-bottom: -1px;
  color: var(--text-muted); border-bottom: 2px solid transparent;
  transition: color var(--dur-base), border-color var(--dur-base);
}
.tabs a:hover, .tabs button:hover { color: var(--text-heading); }
.tabs [aria-selected="true"], .tabs [aria-current="page"] { color: var(--text-heading); border-bottom-color: var(--gac-ice-400); }

/* ---------- ReleaseHero ---------- */
.release-hero { background: var(--grad-thaw); padding: clamp(40px, 7vw, 84px) clamp(20px, 5vw, 56px); }
.release-hero__grid {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; max-width: 1040px; margin: 0 auto;
}
.release-hero__cover {
  display: block; width: 100%; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-strong);
}
.release-hero .badge { margin-bottom: 18px; }
.release-hero h1 {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.03em;
  line-height: 1; font-weight: 700; color: var(--text-heading);
  font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 0 0 20px; text-shadow: var(--glow-text-ice);
}
.release-hero p { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 30px; max-width: 44ch; }
@media (max-width: 760px) { .release-hero__grid { grid-template-columns: 1fr; } }

/* ---------- StreamingLinks / PlatformButton ---------- */
.streaming { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .streaming { grid-template-columns: 1fr; } }
.platform {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: var(--surface-card); color: var(--text-primary); text-decoration: none;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.platform:hover { background: var(--surface-hover); border-color: var(--gac-ice-400); box-shadow: var(--glow-ice-soft); transform: translateX(3px); color: var(--text-primary); }
.platform__chip {
  width: 38px; height: 38px; flex: none; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 18px;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
}
.platform__chip svg { width: 20px; height: 20px; fill: currentColor; }
.platform__label { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.platform__label small { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em; }
.platform__label strong { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; font-size: 15px; line-height: 1; }
.platform__arrow { color: var(--text-muted); font-size: 18px; flex: none; transition: color var(--dur-base); }
.platform:hover .platform__arrow { color: var(--gac-ice-400); }

/* ---------- Thaw hero band (About, Article, Merch, Contact) ---------- */
.thaw-hero {
  position: relative; overflow: hidden; background: var(--grad-thaw);
  padding: clamp(48px, 8vw, 104px) var(--container-pad) clamp(32px, 5vw, 56px);
}
.thaw-hero__motif {
  position: absolute; right: -4%; bottom: -10%; height: 130%; width: auto; max-width: none;
  opacity: 0.16; pointer-events: none; filter: drop-shadow(var(--glow-ice-soft));
}
.thaw-hero__inner { position: relative; max-width: 760px; margin: 0 auto; }
.thaw-hero h1 {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.02em;
  line-height: 1.02; font-weight: 700; color: var(--text-primary);
  font-size: clamp(2.25rem, 5vw, 3.75rem); margin: 0 0 24px; text-shadow: var(--glow-text-ice);
}
.thaw-hero p { font-size: 19px; line-height: 1.7; color: var(--text-secondary); margin: 0; max-width: 56ch; }

/* ---------- Article ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 12px; color: var(--gac-ice-400); margin-bottom: 22px;
}
.chip {
  display: inline-block; font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 10px; font-weight: 600; padding: 4px 9px;
  border-radius: var(--radius-sm); background: rgba(126, 200, 227, 0.14);
  color: var(--gac-ice-300); border: 1px solid rgba(126, 200, 227, 0.35);
  text-decoration: none; margin: 0 6px 18px 0;
}
.chip:hover { color: var(--gac-white); border-color: var(--gac-ice-400); }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 14px; }
.avatar {
  width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--surface-hover);
  color: var(--gac-ice-400); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600;
}
.byline .sep { opacity: 0.5; }
.article-figure { max-width: 880px; margin: clamp(32px, 5vw, 56px) auto 0; padding: 0 var(--container-pad); }
.article-figure img { display: block; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg); }

.prose { max-width: 720px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--container-pad) clamp(48px, 7vw, 96px); }
.prose > :first-child { margin-top: 0; }
.prose > p:first-child { font-size: 20px; line-height: 1.6; color: var(--text-primary); }
.prose p, .prose li { font-size: 17px; line-height: 1.75; color: var(--text-secondary); }
.prose p { margin: 0 0 24px; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text-primary); }
.prose h2 {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-heading); font-size: 26px; line-height: 1.2; margin: 44px 0 16px;
}
.prose h3 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-heading); font-size: 20px; margin: 32px 0 12px; }
.prose hr { border: 0; border-top: 1px solid var(--border-subtle); margin: 36px 0; }
.prose img { display: block; border-radius: var(--radius-md); margin: 32px auto; }
.prose blockquote { margin: 0 0 36px; padding: 4px 0 4px 26px; border-left: 2px solid var(--gac-ice-400); }

.share {
  display: flex; align-items: center; gap: 14px; margin-top: 44px; padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.share span { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: var(--text-muted); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav a {
  display: block; padding: 16px 18px; text-decoration: none;
  background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.post-nav a:hover { border-color: var(--gac-ice-400); box-shadow: var(--glow-ice-soft); }
.post-nav small { display: block; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.post-nav strong { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-heading); font-size: 16px; line-height: 1.2; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; } }

/* ---------- About ---------- */
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 12px; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); }
.principle { border-left: 2px solid var(--gac-ice-400); padding-left: 22px; }

/* ---------- Merch ---------- */
.merch-promo {
  display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
}
.merch-promo img { display: block; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .merch-promo { grid-template-columns: 1fr; } }
.merch-promo h2 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-heading); font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.05; margin: 0 0 12px; text-shadow: var(--glow-text-ice); }
.merch-promo p { color: var(--text-secondary); font-size: 17px; margin: 0 0 24px; }
.merch-group { margin-top: clamp(40px, 6vw, 64px); }
.merch-group h2 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); font-size: 18px; margin: 0 0 20px; }
.card--merch .card__media { aspect-ratio: 1 / 1; background: var(--gac-marble-100); }
.card--merch .card__media img { object-fit: contain; }
.card--merch .card__title { color: var(--text-primary); font-size: 18px; margin-bottom: 8px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font-family: var(--font-heading); color: var(--gac-ice-400); font-size: 22px; font-weight: 700; }
.display-stone { color: var(--text-display); }

/* ---------- Panels & forms (HubSpot embed restyled) ---------- */
.panel {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.hs-form fieldset { max-width: none !important; border: 0; padding: 0; margin: 0; }
.hs-form fieldset.form-columns-2 .hs-form-field { width: 50%; float: left; padding-right: 12px; }
.hs-form fieldset.form-columns-2 .hs-form-field + .hs-form-field { padding-right: 0; padding-left: 12px; }
.hs-form fieldset::after { content: ""; display: table; clear: both; }
.hs-form p, .hs-form a { color: var(--text-muted); }
.hs-form a { color: var(--accent); }
.hs-form .hs-form-field { margin-bottom: 18px; }
.hs-form label {
  display: block; margin-bottom: 6px; font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 12px; font-weight: 600; color: var(--text-secondary);
}
.hs-form .hs-form-required { color: var(--gac-amber-400); margin-left: 2px; }
.hs-form .input { margin-right: 0 !important; }
.hs-form input[type="text"], .hs-form input[type="email"], .hs-form input[type="tel"],
.hs-form input[type="number"], .hs-form select, .hs-form textarea {
  width: 100% !important; padding: 11px 14px; font: inherit; font-size: 15px;
  color: var(--text-primary); background: var(--surface-raised);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.hs-form textarea { min-height: 140px; resize: vertical; }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus { outline: none; border-color: var(--gac-ice-400); box-shadow: var(--glow-ice); }
.hs-form .inputs-list { list-style: none; padding: 0; margin: 0; }
.hs-form .inputs-list label { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.hs-form input[type="checkbox"], .hs-form input[type="radio"] { accent-color: var(--gac-ice-400); margin-top: 3px; }
.hs-form .hs-error-msgs { list-style: none; padding: 0; margin: 6px 0 0; }
.hs-form .hs-error-msg, .hs-form .hs-main-font-element { color: var(--gac-danger); font-size: 13px; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.hs-form .legal-consent-container, .hs-form .hs-richtext { font-size: 13px; color: var(--text-muted); }
.hs-form .hs-richtext p { margin: 0 0 8px; }
.hs-form input[type="submit"], .hs-form .hs-button {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: var(--ls-caps);
  font-weight: 600; font-size: 13px; padding: 13px 26px; cursor: pointer;
  background: var(--action); color: var(--text-on-accent);
  border: 1px solid transparent; border-radius: var(--radius-md);
  transition: background var(--dur-base), box-shadow var(--dur-base), border-color var(--dur-base);
}
.hs-form input[type="submit"]:hover, .hs-form .hs-button:hover { background: var(--action-hover); box-shadow: var(--glow-ice-strong); border-color: var(--gac-ice-300); }
.submitted-message { color: var(--text-primary); font-size: 17px; }

/* ---------- Plain content pages (Privacy) ---------- */
.prose--page h2 { font-size: 20px; margin-top: 36px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
