/* GAS Music component classes (gm-btn etc.), copied from the GAS Music Design System. Load after gas-tokens.css. */
/* ============================================================
   GAS Music — component stylesheet
   Loaded after tokens.css. Holds the values tokens.json cannot
   carry (composite borders, motion), the base + semantic type
   styles from colors_and_type.css, and the website kit (gm-*).
   ============================================================ */

:root {
  /* Borders */
  --border-hairline: 1px solid var(--line);
  --border-strong:   1px solid var(--line-strong);
  --border-accent:   1px solid var(--fg1);

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);   /* expo-out, cinematic: the house curve */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-linear: linear;
  --dur-fast:   150ms;
  --dur-base:   320ms;
  --dur-slow:   600ms;
  --dur-cinema: 900ms;
}

/* ---------- Base + semantic styles ---------------------------- */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-sans);
  font-weight: var(--weight-book);
  font-size: var(--fs-16);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.display-xxl, h1.display {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(var(--fs-64), 12vw, var(--fs-160));
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tightest);
  text-transform: uppercase;
  margin: 0;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(var(--fs-48), 8vw, var(--fs-96));
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  margin: 0;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--fs-64);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  margin: 0 0 var(--sp-5);
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--fs-48);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  margin: 0 0 var(--sp-4);
}

h3, .h3 {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: var(--fs-32);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--sp-4);
}

h4, .h4 {
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: var(--fs-24);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-3);
}

h5, .h5 {
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: var(--fs-20);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-3);
}

h6, .h6 {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--fg2);
  margin: 0 0 var(--sp-2);
}

/* The signature eyebrow above heroes and sections */
.eyebrow, .kicker {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--fg2);
  display: inline-block;
}

p, .body {
  font-family: var(--font-sans);
  font-weight: var(--weight-book);
  font-size: var(--fs-16);
  line-height: var(--lh-normal);
  color: var(--fg1);
  margin: 0 0 var(--sp-4);
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-20);
  font-weight: var(--weight-light);
  line-height: 1.55;
  color: var(--fg1);
}

small, .caption {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-wide);
  color: var(--fg3);
}

code, kbd, samp, .mono {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-wide);
  font-size: 0.92em;
  color: var(--fg1);
}

a {
  color: var(--fg1);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--dur-fast) var(--ease-out);
}
a:hover { opacity: 0.6; }

:focus-visible { outline: 2px solid var(--fg1); outline-offset: 3px; }

hr {
  border: 0;
  border-top: var(--border-hairline);
  margin: var(--sp-7) 0;
}

::selection {
  background: var(--gas-signal);
  color: var(--gas-white);
}

/* ============================================================
   Marketing website kit (gm-*) — ui_kits/website/styles.css
   ============================================================ */

/* ---------- NAV ----------- */
.gm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center;
  padding: 18px 48px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gm-brand {
  font-weight: 900; font-size: 22px; letter-spacing: -0.03em;
  color: #fff; text-decoration: none; border: 0;
}
.gm-brand sup { font-size: 9px; vertical-align: super; margin-left: 2px; opacity: 0.8; }
.gm-nav-links {
  display: flex; gap: 32px; margin-left: 64px;
}
.gm-nav-links > a {
  position: relative;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff; text-decoration: none; border: 0;
  cursor: pointer; padding: 8px 0;
  transition: opacity 200ms;
}
.gm-nav-links > a:hover { opacity: 0.6; }
.gm-submenu {
  position: absolute; top: 100%; left: -16px; padding: 16px;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 12px;
  min-width: 240px;
}
.gm-submenu a { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; }
.gm-nav-socials {
  display: flex; gap: 16px; margin-left: auto;
}
.gm-nav-socials a {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  color: #fff; border: 0; opacity: 0.7; transition: opacity 200ms;
}
.gm-nav-socials a:hover { opacity: 1; }
.gm-nav-socials svg { width: 16px; height: 16px; }

/* ---------- HERO ----------- */
.gm-hero {
  position: relative; height: 100vh; min-height: 720px; width: 100%; overflow: hidden;
}
.gm-hero-bg {
  position: absolute; inset: 0;
  animation: heroIn 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes heroIn {
  from { transform: scale(1.06); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.gm-hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 240px 40px rgba(0,0,0,0.85);
}
.gm-hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.85) 100%);
}
.gm-hero-content {
  position: absolute; left: 64px; bottom: 80px; z-index: 3; max-width: 60%;
}
.gm-hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: #fff; opacity: 0.85; margin-bottom: 32px;
}
.gm-hero-category {
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: #fff; opacity: 0.6; margin-bottom: 12px;
}
.gm-hero-title {
  font-size: clamp(48px, 7vw, 96px); font-weight: 900; letter-spacing: -0.03em;
  text-transform: uppercase; line-height: 0.95; margin: 0 0 16px;
  color: #fff;
}
.gm-hero-client {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; opacity: 0.7;
}
.gm-hero-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; border: 2px solid #fff; background: transparent;
  color: #fff; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.gm-hero-play:hover { transform: translate(-50%, -50%) scale(1.08); background: rgba(255,255,255,0.1); }
.gm-hero-play svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.gm-hero-thumbs {
  position: absolute; right: 64px; bottom: 80px; z-index: 3;
  display: flex; flex-direction: column; gap: 8px;
}
.gm-hero-thumb {
  background: transparent; border: 0; padding: 8px 0;
  font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 12px; color: rgba(255,255,255,0.4);
  cursor: pointer; text-align: right; min-width: 60px;
  border-right: 2px solid rgba(255,255,255,0.2); padding-right: 16px;
  transition: all 200ms;
}
.gm-hero-thumb.active { color: #fff; border-right-color: #fff; padding-right: 24px;}
.gm-hero-thumb:hover { color: rgba(255,255,255,0.8); }
.gm-hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: #fff; opacity: 0.7; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ---------- SECTION DEFAULTS ----------- */
.gm-section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gas-fog); margin-bottom: 24px;
}
.gm-section-title {
  font-size: clamp(48px, 6vw, 80px); font-weight: 900; letter-spacing: -0.03em;
  text-transform: uppercase; line-height: 0.95; margin: 0 0 64px; color: #fff;
}

/* ---------- SERVICES ----------- */
.gm-services { padding: 128px 64px; background: #000; }
.gm-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gas-graphite); border: 1px solid var(--gas-graphite); }
.gm-service {
  padding: 48px 40px; background: #000;
  display: flex; flex-direction: column; gap: 32px;
  min-height: 360px; cursor: pointer; transition: background 320ms;
}
.gm-service:hover { background: #0d0d0d; }
.gm-service-num { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 11px; color: var(--gas-fog); letter-spacing: 0.08em; }
.gm-service-title { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.0; margin: 0; color: #fff; }
.gm-service-desc { font-size: 14px; line-height: 1.6; color: var(--gas-mist); margin: 0; flex: 1; }
.gm-service-arrow { align-self: flex-end; opacity: 0.5; transition: opacity 320ms, transform 320ms cubic-bezier(0.16,1,0.3,1); }
.gm-service:hover .gm-service-arrow { opacity: 1; transform: translateX(4px); }

/* ---------- WORK ----------- */
.gm-work { padding: 128px 64px; background: #000; }
.gm-work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gm-work-tile {
  position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer;
}
.gm-work-bg { position: absolute; inset: 0; transition: transform 900ms cubic-bezier(0.16,1,0.3,1);}
.gm-work-tile:hover .gm-work-bg { transform: scale(1.04); }
.gm-work-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%); }
.gm-work-tile::after { content: ""; position: absolute; inset: 0; pointer-events:none; box-shadow: inset 0 0 120px 0 rgba(0,0,0,0.5);}
.gm-work-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.7);
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid #fff; background: transparent;
  display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer;
  opacity: 0; transition: opacity 320ms, transform 320ms cubic-bezier(0.16,1,0.3,1); z-index: 3;
}
.gm-work-tile:hover .gm-work-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gm-work-play svg { width: 24px; height: 24px; fill: #fff; margin-left: 2px; }
.gm-work-copy { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; }
.gm-work-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #fff; opacity: 0.8; }
.gm-work-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.0; margin: 6px 0 8px; color: #fff; }
.gm-work-meta { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; opacity: 0.6; }
.gm-work-more { margin: 64px auto 0; display: flex; gap: 8px; align-items: center; }

/* ---------- CLIENTS ----------- */
.gm-clients { padding: 128px 64px; background: #000; }
.gm-clients-grid {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 1px; background: var(--gas-graphite); border: 1px solid var(--gas-graphite);
}
.gm-client-cell {
  background: #000; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; letter-spacing: -0.02em; color: #fff;
  text-transform: uppercase; transition: background 200ms, color 200ms;
}
.gm-client-cell:hover { background: #fff; color: #000; }

/* ---------- CONTACT ----------- */
.gm-contact { padding: 128px 64px; background: #000; }
.gm-form { max-width: 720px; display: flex; flex-direction: column; gap: 32px; }
.gm-field { display: flex; flex-direction: column; gap: 8px; }
.gm-field label { font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gas-fog); }
.gm-field input, .gm-field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--gas-iron);
  color: #fff; font-family: var(--font-sans); font-size: 18px; padding: 12px 0; outline: none;
  transition: border-color 200ms;
}
.gm-field input:focus, .gm-field textarea:focus { border-bottom-color: #fff; }
.gm-field textarea { resize: vertical; }
.gm-field.error input, .gm-field.error textarea { border-bottom-color: var(--gas-signal); }
.gm-err { color: var(--gas-signal); font-size: 11px; letter-spacing: 0.04em; }
.gm-check { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gas-mist); cursor: pointer; }
.gm-check input { accent-color: #fff; }
.gm-contact-success { padding: 48px 0; display: flex; gap: 16px; align-items: center; }
.gm-success-mark { color: var(--gas-signal); font-size: 24px; }
.gm-lead { font-size: 20px; font-weight: 300; color: #fff; margin: 0; }

/* ---------- FOOTER ----------- */
.gm-footer { padding: 64px; background: #000; border-top: 1px solid var(--gas-graphite); }
.gm-footer-row { display: flex; gap: 64px; align-items: flex-start; padding-bottom: 48px; }
.gm-footer-addr { font-size: 12px; line-height: 1.7; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.gm-footer-socials { display: flex; gap: 12px; margin-left: auto; }
.gm-footer-socials a {
  width: 40px; height: 40px; border: 1px solid var(--gas-iron);
  display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 0;
  transition: background 200ms, color 200ms; opacity: 0.85;
}
.gm-footer-socials a:hover { background: #fff; color: #000; }
.gm-footer-socials svg { width: 16px; height: 16px; }
.gm-footer-bottom {
  display: flex; gap: 12px; align-items: center; padding-top: 24px;
  border-top: 1px solid var(--gas-graphite);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gas-fog);
}
.gm-footer-bottom a { color: var(--gas-fog); border: 0; }

/* ---------- BUTTONS ----------- */
.gm-btn {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 18px 32px; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 12px;
  transition: opacity 200ms, background 200ms, color 200ms;
}
.gm-btn-primary { background: #fff; color: #000; }
.gm-btn-primary:hover { opacity: 0.85; }
.gm-btn-outline { background: transparent; color: #fff; border: 1px solid #fff; }
.gm-btn-outline:hover { background: #fff; color: #000; }
.gm-btn-signal { background: var(--gas-signal); color: #fff; }
.gm-btn-ghost { background: transparent; color: #fff; padding: 8px 0; border: 0; border-bottom: 1px solid #fff; }
.gm-btn-ghost:hover { opacity: 0.6; }
.gm-btn:active { transform: scale(0.98); box-shadow: var(--shadow-press); }
.gm-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.gm-btn svg { width: 14px; height: 14px; }

/* ---------- NOW PLAYING ----------- */
.gm-np {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px; min-width: 480px;
  background: rgba(13, 13, 13, 0.95); backdrop-filter: blur(20px);
  border: 1px solid var(--gas-graphite);
}
.gm-np-toggle {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gas-iron);
  background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.gm-np-toggle svg { width: 14px; height: 14px; }
.gm-np-icon { display: flex; }
.gm-np-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gas-signal); box-shadow: 0 0 12px var(--gas-signal); animation: npPulse 1.4s ease-in-out infinite; }
.gm-np.playing .gm-np-dot { animation-play-state: running; }
.gm-np:not(.playing) .gm-np-dot { animation-play-state: paused; opacity: 0.4; box-shadow: none; }
@keyframes npPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.gm-np-meta { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.gm-np-title { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; }
.gm-np-sub { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gas-fog); }
.gm-np-bars { display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.gm-np-bars span { width: 3px; background: #fff; height: 6px; animation: npBar 1s ease-in-out infinite; }
.gm-np:not(.playing) .gm-np-bars span { animation-play-state: paused; height: 4px; opacity: 0.3; }
.gm-np-bars span:nth-child(2){ animation-delay: 0.15s; }
.gm-np-bars span:nth-child(3){ animation-delay: 0.3s; }
.gm-np-bars span:nth-child(4){ animation-delay: 0.45s; }
.gm-np-bars span:nth-child(5){ animation-delay: 0.6s; }
@keyframes npBar { 0%,100% { height: 6px; } 50% { height: 22px; } }
.gm-np-time { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 11px; color: var(--gas-fog); }
