/* ==========================================================================
   The Gramco Media — Coming Soon
   Built from The Gramco Media design system (tokens.json):
   surface-100 #282727 (dark), ink #ffffff, brand-pink #ff348a,
   brand-yellow #ffe829. Display type: Bellavoir Serif (Georgia fallback —
   no numerals). Text type: Archivo.
   ========================================================================== */

:root {
  /* color */
  --surface-100: #282727;
  --surface-200: #322f2f;
  --ink: #ffffff;
  --ink-muted: rgba(255, 255, 255, 0.66);
  --ink-faint: rgba(255, 255, 255, 0.42);
  --border: rgba(255, 255, 255, 0.16);
  --brand-pink: #ff348a;
  --brand-yellow: #ffe829;

  /* type */
  --font-display: "Bellavoir Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* spacing (from tokens, extended upward on the same 8px rhythm for page layout) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;

  /* radius */
  --radius-sm: 6px;
  --radius-lg: 20px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ---------------------------------------------------------------------- */
/* Ambient background — soft brand-color glow, no imagery                  */
/* ---------------------------------------------------------------------- */

.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(52vw 52vw at 88% -6%, rgba(255, 52, 138, 0.22), transparent 60%),
    radial-gradient(46vw 46vw at 8% 108%, rgba(255, 232, 41, 0.14), transparent 60%);
  animation: glow-drift 22s ease-in-out infinite;
}

@keyframes glow-drift {
  0%, 100% { opacity: 1; transform: translate(0, 0) scale(1); }
  50% { opacity: 0.85; transform: translate(-1.5%, 1.5%) scale(1.04); }
}

/* ---------------------------------------------------------------------- */
/* Layout — single full-height screen, no scroll                          */
/* ---------------------------------------------------------------------- */

.page {
  position: relative;
  z-index: 2;
}

.page--full {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* A content page that scrolls normally, rather than the single-screen
   coming-soon layout above. */
.page--scroll {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------------------- */
/* Header                                                                   */
/* ---------------------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex: 0 0 auto;
}

.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: var(--space-3) var(--space-5);
  background: rgba(40, 39, 39, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo-link {
  display: inline-flex;
}

.logo {
  height: 34px;
  width: auto;
}

.hiring-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hiring-pill:hover {
  border-color: var(--brand-pink);
  background: rgba(255, 52, 138, 0.08);
  transform: translateY(-1px);
}

.hiring-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--brand-yellow);
  box-shadow: 0 0 0 0 rgba(255, 232, 41, 0.6);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 232, 41, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 232, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 232, 41, 0); }
}

/* ---------------------------------------------------------------------- */
/* Hero — centered, full-bleed typography                                  */
/* ---------------------------------------------------------------------- */

.hero-center {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
  padding: var(--space-4) 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 8.5rem);
  line-height: 1.02;
  margin: 0 0 var(--space-4);
  max-width: 22ch;
}

.blink {
  display: inline-block;
  color: var(--brand-yellow);
  animation: blink 1.4s steps(1) infinite;
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0.15; }
  100% { opacity: 1; }
}

.hero__rotator {
  min-height: 1.5em;
  margin: 0;
}

#rotator-text {
  display: inline-block;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  font-style: italic;
  color: var(--brand-yellow);
  border-bottom: 1px solid rgba(255, 232, 41, 0.35);
  padding-bottom: 2px;
}

/* ---------------------------------------------------------------------- */
/* Careers page content                                                     */
/* ---------------------------------------------------------------------- */

.careers-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin: 0 0 var(--space-3);
}

.careers__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.08;
  margin: 0 0 var(--space-4);
  max-width: 16ch;
}

.careers__copy {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 52ch;
  margin: 0 0 var(--space-5);
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                  */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--accent {
  background: var(--brand-yellow);
  color: #1a1919;
}

.btn--accent:hover {
  transform: translateY(-2px);
  background: #fff066;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------- */
/* Footer — icon-only social row                                           */
/* ---------------------------------------------------------------------- */

.site-footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.social-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: var(--ink-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  border: 1px solid var(--border);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  color: var(--ink);
  border-color: var(--brand-pink);
  transform: translateY(-2px);
}

.site-footer__copy {
  font-size: 12px;
  color: var(--ink-faint);
  margin: 0;
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */

@media (max-width: 640px) {
  .page--full {
    padding: var(--space-3) var(--space-3) var(--space-4);
  }

  .site-header--sticky {
    padding: var(--space-3);
  }

  .hiring-pill {
    padding: var(--space-2) var(--space-3);
    font-size: 11px;
  }

  .logo {
    height: 26px;
  }
}

@media (max-height: 560px) {
  .hero__title {
    font-size: clamp(2rem, 7vw, 4rem);
    margin-bottom: var(--space-2);
  }

  .hero__rotator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-glow,
  .hiring-pill__dot,
  .blink {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
