/* Gateways Studio public shell. Scoped so it does not style wp-admin or unrelated pages. */

.gateways-site-shell {
  --gw-max: 72rem;
  --gw-copy: 68ch;
  background: var(--gateways-ink-950);
  color: var(--gateways-paper-50);
  font-family: var(--gateways-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

.gateways-site-shell *,
.gateways-site-shell *::before,
.gateways-site-shell *::after {
  box-sizing: border-box;
}

.gateways-site-shell h1,
.gateways-site-shell h2,
.gateways-site-shell h3 {
  font-family: var(--gateways-font-heading);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--gateways-space-4);
}

.gateways-site-shell .gw-display {
  font-family: var(--gateways-font-display);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 14ch;
}

.gateways-site-shell p,
.gateways-site-shell ul,
.gateways-site-shell ol {
  margin: 0 0 var(--gateways-space-4);
}

.gateways-site-shell a {
  color: var(--gateways-fissure-100);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.gateways-site-shell :focus-visible {
  outline: 2px solid var(--gateways-energonite-300);
  outline-offset: 3px;
}

.gw-skip {
  position: absolute;
  left: var(--gateways-space-4);
  top: -4rem;
  background: var(--gateways-paper-50);
  color: var(--gateways-ink-950);
  padding: var(--gateways-space-2) var(--gateways-space-4);
  z-index: 20;
}

.gw-skip:focus {
  top: var(--gateways-space-4);
}

.gw-header {
  align-items: center;
  display: flex;
  gap: var(--gateways-space-4);
  justify-content: space-between;
  padding: var(--gateways-space-4);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 16, 25, 0.92);
  border-bottom: 1px solid rgba(185, 194, 202, 0.18);
}

.gw-wordmark {
  color: var(--gateways-paper-50);
  font-family: var(--gateways-font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  max-width: 16rem;
  text-decoration: none;
}

.gw-nav__list,
.gw-footer__links,
.gw-footer__social,
.gw-breadcrumbs ol,
.gw-update-list,
.gw-points,
.gw-retailers ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gw-nav__list {
  display: none;
  gap: var(--gateways-space-4);
}

.gw-nav__toggle,
.gw-button,
.gw-nav__list a,
.gw-mobile-nav a,
.gw-footer a {
  min-height: 44px;
  min-width: 44px;
}

.gw-nav__toggle {
  background: transparent;
  border: 1px solid rgba(185, 194, 202, 0.4);
  border-radius: var(--gateways-radius-sm);
  color: var(--gateways-paper-50);
  font: inherit;
  padding: 0 var(--gateways-space-4);
}

.gw-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--gateways-energonite-500);
  border-radius: var(--gateways-radius-sm);
  color: var(--gateways-paper-50);
  display: inline-flex;
  font: inherit;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
}

.gw-button--secondary {
  border-color: rgba(185, 194, 202, 0.45);
}

.gateways-site-shell[data-gateways-motion~="hover_elevation"] .gw-button:hover,
.gateways-site-shell[data-gateways-motion~="hover_elevation"] .gw-button:focus-visible {
  transform: translateY(-1px);
}

.gw-hero__actions,
.gw-cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gateways-space-3);
}

.gw-main {
  display: block;
}

.gw-hero,
.gw-book-split,
.gw-split,
.gw-band,
.gw-statement,
.gw-author,
.gw-signup,
.gw-disclosure,
.gw-quote,
.gw-spotlight,
.gw-updates,
.gw-countdown,
.gw-retailers,
.gw-sample {
  padding: var(--gateways-space-12) var(--gateways-space-4);
}

.gw-hero {
  display: grid;
  gap: var(--gateways-space-6);
  min-height: 70vh;
  position: relative;
}

.gw-hero__media,
.gw-band__media,
.gw-split__media,
.gw-book-split__cover,
.gw-author__media {
  min-width: 0;
}

.gw-hero__content,
.gw-book-split__copy,
.gw-split__copy,
.gw-band__copy,
.gw-statement,
.gw-author__copy,
.gw-signup,
.gw-disclosure,
.gw-prose {
  max-width: var(--gw-copy);
}

.gw-hero--cinematic-full .gw-hero__content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: var(--gateways-space-8) 0;
}

.gw-hero--cinematic-full {
  align-content: end;
}

.gw-kicker,
.gw-byline,
.gw-note,
.gw-footer {
  font-family: var(--gateways-font-utility);
}

.gw-kicker {
  color: var(--gateways-energonite-300);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gw-hook {
  font-size: 1.25rem;
  max-width: 36ch;
}

.gw-statement--light {
  background: var(--gateways-paper-50);
  color: var(--gateways-ink-950);
}

.gw-statement--light a {
  color: var(--gateways-ink-900);
}

.gw-points li {
  border-top: 1px solid rgba(185, 194, 202, 0.28);
  padding: var(--gateways-space-3) 0;
}

.gw-statement--light .gw-points li {
  border-top-color: rgba(6, 16, 25, 0.16);
}

.gw-footer {
  border-top: 1px solid rgba(185, 194, 202, 0.18);
  color: var(--gateways-stone-300);
  font-size: 0.95rem;
  padding: var(--gateways-space-12) var(--gateways-space-4) var(--gateways-space-16);
}

.gw-footer__identity {
  color: var(--gateways-paper-50);
  font-family: var(--gateways-font-display);
  font-size: 1.4rem;
}

.gw-footer__links,
.gw-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gateways-space-3) var(--gateways-space-6);
}

.gw-breadcrumbs {
  padding: 0 var(--gateways-space-4) var(--gateways-space-8);
}

.gw-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gateways-space-2);
}

.gw-media {
  background: var(--gateways-ink-800);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gw-media--ratio-21-9 { aspect-ratio: 21 / 9; }
.gw-media--ratio-16-9 { aspect-ratio: 16 / 9; }
.gw-media--ratio-3-2 { aspect-ratio: 3 / 2; }
.gw-media--ratio-4-5 { aspect-ratio: 4 / 5; }
.gw-media--ratio-12-5 { aspect-ratio: 12 / 5; }
.gw-media--ratio-2-3 { aspect-ratio: 2 / 3; }
.gw-media--ratio-1-1 { aspect-ratio: 1 / 1; }
.gw-media--ratio-4-3 { aspect-ratio: 4 / 3; }

.gw-media__img,
.gw-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: var(--gw-focal-x, 50%) var(--gw-focal-y, 50%);
  width: 100%;
}

.gw-media--placeholder {
  background:
    linear-gradient(115deg, rgba(54, 191, 243, 0.08), transparent 42%),
    var(--gateways-ink-800);
}

.gw-media__label,
.gw-admin-placeholder,
.gw-media-withheld {
  color: var(--gateways-stone-300);
  font-family: var(--gateways-font-utility);
  font-size: 0.85rem;
}

.gw-media__label {
  left: var(--gateways-space-4);
  position: absolute;
  top: var(--gateways-space-4);
}

.gw-empty {
  padding: 0 var(--gateways-space-4);
}

@media (max-width: 767px) {
  .gw-media--mobile-cinematic-crop.gw-media--ratio-21-9 {
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 768px) {
  .gw-nav__toggle,
  .gw-mobile-nav {
    display: none;
  }

  .gw-nav__list {
    display: flex;
  }

  .gw-nav__list a {
    align-items: center;
    color: var(--gateways-paper-50);
    display: inline-flex;
    text-decoration: none;
  }

  .gw-split,
  .gw-book-split,
  .gw-author,
  .gw-band {
    align-items: center;
    display: grid;
    gap: var(--gateways-space-8);
    grid-template-columns: 1.1fr 0.9fr;
    margin-inline: auto;
    max-width: var(--gw-max);
  }

  .gw-hero {
    min-height: 78vh;
    padding-inline: var(--gateways-space-8);
  }

  .gw-statement,
  .gw-signup,
  .gw-disclosure,
  .gw-updates,
  .gw-footer {
    margin-inline: auto;
    max-width: var(--gw-max);
  }
}

@media (min-width: 1440px) {
  .gw-hero {
    padding-inline: var(--gateways-space-16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gateways-site-shell *,
  .gateways-site-shell *::before,
  .gateways-site-shell *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.gateways-site-shell[data-gateways-motion~="entrance"] .gw-hero__content {
  animation: gw-enter 700ms ease both;
}

.gateways-site-shell[data-gateways-motion~="fissure_pulse"] .gw-kicker {
  animation: gw-pulse 6.5s ease-in-out infinite;
}

.gateways-site-shell[data-gateways-motion~="media_drift"] .gw-hero__media img {
  animation: gw-drift 18s ease-in-out infinite alternate;
}

@keyframes gw-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes gw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

@keyframes gw-drift {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}
