:root {
  color-scheme: dark;
  --bg: #091019;
  --bg-raised: #0f1924;
  --bg-panel: #111d29;
  --bg-panel-strong: #172534;
  --text: #f2f5f7;
  --muted: #a8b3bd;
  --soft: #788895;
  --line: #263746;
  --line-strong: #3a5264;
  --accent: #59d9c2;
  --accent-2: #8ce7d6;
  --accent-3: #d8faf3;
  --danger: #ef7777;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius: 12px;
  --max: 1160px;
}

/* Quiet surfaces and readable typography keep the work in focus. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 15% -10%, rgba(89, 217, 194, 0.09), transparent 30rem), var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(89, 217, 194, 0.42);
  outline-offset: 3px;
}

::selection { color: #061310; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 { margin-bottom: 1rem; font-size: clamp(3.25rem, 8vw, 6.5rem); font-weight: 780; }
h2 { margin-bottom: 0.8rem; font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 740; }
h3 { margin-bottom: 0.65rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
p { margin-bottom: 1rem; color: var(--muted); }

main {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: #061310;
  background: var(--accent);
  font-weight: 750;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  margin: 12px auto 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(58, 82, 100, 0.8);
  border-radius: 14px;
  background: rgba(9, 16, 25, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.home-link, .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.015em;
}

.home-link img, .footer-logo img { width: 36px; height: 36px; border-radius: 8px; }

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-left: auto;
}

.header-nav a {
  padding: 0.55rem 0.72rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.header-nav a:hover, .header-nav a:focus-visible, .header-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.eyebrow, .card-kicker {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.68fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  min-height: 670px;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.hero-copy { max-width: 760px; }

.hero-lede {
  max-width: 680px;
  margin-bottom: 1.75rem;
  color: #c0c9d0;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions, .not-found-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 44px;
  padding: 0.68rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--text);
  background: var(--bg-panel);
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover { border-color: #577083; background: var(--bg-panel-strong); transform: translateY(-1px); }
.button.primary { border-color: var(--accent); color: #071512; background: var(--accent); }
.button.primary:hover { border-color: var(--accent-2); background: var(--accent-2); }
.button.discord { border-color: #6e7cf4; background: #5865f2; }
.button.small { min-height: 40px; padding: 0.55rem 0.8rem; font-size: 0.9rem; }

.hero-logo-panel { display: grid; gap: 1.4rem; justify-items: center; }

.logo-orbit {
  width: min(100%, 300px);
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-raised);
  box-shadow: var(--shadow);
}

.logo-orbit img { width: 100%; aspect-ratio: 1; object-fit: contain; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 380px);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.stat-grid > li { min-width: 0; padding: 0.9rem 0.7rem; text-align: center; }
.stat-grid > li + li { border-left: 1px solid var(--line); }
.stat-icon { display: none; }
.stat-grid strong, .stat-grid span { display: block; }
.stat-grid strong { color: var(--text); font-size: 1rem; }
.stat-grid span { color: var(--soft); font-size: 0.72rem; font-weight: 680; text-transform: uppercase; }

.band, .content-section, .preview-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading { max-width: 820px; margin-bottom: 2rem; }
.section-heading.compact { max-width: 720px; }

.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
}

.about-layout p { margin: 0; font-size: 1.04rem; line-height: 1.75; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature-card { min-height: 190px; padding: 1.6rem 1.5rem 1.7rem 0; border-bottom: 1px solid var(--line); }
.feature-card:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.feature-card p { max-width: 460px; margin-bottom: 0; }

.preview-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.1rem; }

.preview-card {
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  transition: border-color 180ms ease, transform 180ms ease;
}

.preview-card.featured { grid-column: span 6; }
.preview-card.wide { grid-column: span 12; }
.preview-card:hover, .preview-card:focus-within { border-color: var(--line-strong); transform: translateY(-2px); }

.preview-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: #050a0f;
}

.preview-card.featured .preview-media, .preview-card.wide .preview-media { aspect-ratio: 16 / 9; }
.preview-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.preview-card:hover .preview-media img { transform: scale(1.02); }
.preview-copy { padding: 1.1rem 1.15rem 1.25rem; }
.preview-copy .card-kicker { margin-bottom: 0.55rem; }
.preview-copy p { margin-bottom: 0; font-size: 0.93rem; }
.product-details { margin-top: clamp(4rem, 8vw, 7rem); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.detail-card {
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.detail-card.accent-detail { grid-column: span 2; }
.detail-card p:last-child { margin-bottom: 0; }

.detail-card ul, .document-article ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.8rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.detail-card li::marker, .document-article li::marker { color: var(--accent); }
.fine-print, .document-note { color: var(--soft); font-size: 0.88rem; }

.statement-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  margin: 0 0 clamp(4rem, 8vw, 7rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-section h2, .statement-section p:last-child { margin-bottom: 0; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(140px, 0.55fr));
  gap: 2rem;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand p { max-width: 360px; margin: 0.8rem 0 0; font-size: 0.9rem; }
.footer-column { display: grid; align-content: start; gap: 0.48rem; }

.footer-column h2 {
  margin: 0 0 0.25rem;
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a { color: var(--muted); font-size: 0.9rem; }
.footer-column a:hover, .footer-column a:focus-visible { color: var(--text); }
.powered-by { display: inline-flex; align-items: center; gap: 0.65rem; }

.southland-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--accent);
  background: var(--bg-panel);
  font-size: 0.78rem;
  font-weight: 800;
}

.southland-icon img { display: none; }

.cookie-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(calc(100% - 32px), 560px);
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0c151f;
  box-shadow: var(--shadow);
}

.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { margin-bottom: 0.2rem; font-size: 1rem; letter-spacing: -0.01em; }
.cookie-consent p { margin-bottom: 0; font-size: 0.86rem; line-height: 1.5; }

.cookie-consent a, .policy-card a, .document-article a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(89, 217, 194, 0.4);
  text-underline-offset: 3px;
}

.policy-main, .paperwork-main { max-width: 920px; }
.policy-hero, .paperwork-hero { padding: clamp(4rem, 9vw, 7rem) 0 2rem; }
.policy-hero h1, .paperwork-hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); }

.policy-card {
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.3rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.policy-card h2 { margin: 2.2rem 0 0.7rem; font-size: 1.45rem; letter-spacing: -0.02em; }
.policy-card h2:first-child { margin-top: 0; }
.paperwork-group { margin-bottom: clamp(3rem, 7vw, 5rem); }
.paperwork-group-heading { margin-bottom: 1rem; }
.paperwork-group-heading h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.document-list { display: grid; border-top: 1px solid var(--line); }

.document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.document-row:hover strong { color: var(--accent); }
.document-row strong, .document-row small, .document-row em { display: block; }
.document-row small { color: var(--muted); }
.document-row em { color: var(--soft); font-size: 0.78rem; font-style: normal; font-weight: 680; text-align: right; }
.document-article h2 { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.back-link { display: inline-block; margin-bottom: 1.5rem; color: var(--accent); }

.not-found-main {
  display: grid;
  align-items: center;
  max-width: 900px;
  min-height: calc(100vh - 260px);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.not-found-card { padding: clamp(1.5rem, 5vw, 3rem) 0; }
.not-found-code { display: block; margin-bottom: 0.75rem; color: var(--accent); font-size: clamp(3.5rem, 12vw, 7.5rem); font-weight: 780; line-height: 0.9; }

@media (max-width: 940px) {
  .hero-section, .statement-section { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; }
  .hero-logo-panel { justify-items: start; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-card, .preview-card.featured, .preview-card.wide { grid-column: span 6; }
}

@media (max-width: 680px) {
  main { width: min(calc(100% - 32px), var(--max)); }
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .header-nav { width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; }
  .header-nav a { white-space: nowrap; }
  .hero-section { padding: 4.5rem 0; }
  .about-layout, .feature-grid, .detail-grid, .site-footer, .cookie-consent { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(even) { padding: 1.4rem 0; border-left: 0; }
  .preview-card, .preview-card.featured, .preview-card.wide { grid-column: span 12; }
  .detail-card.accent-detail { grid-column: span 1; }
  .document-row { grid-template-columns: 1fr; }
  .document-row em { text-align: left; }
  .cookie-consent .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Studio-wide visual refresh. */
:root { --bg: #101313; --bg-raised: #181c1c; --bg-panel: #1b2020; --bg-panel-strong: #222929; --line: #303838; --line-strong: #485353; --muted: #b1bab8; --soft: #8d9996; --accent: #a8cbb9; --accent-2: #c0decd; --radius: 4px; --shadow: none; }
body { background: var(--bg); font-family: "Segoe UI", system-ui, sans-serif; }
h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 650; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; }
.site-header { position: relative; top: 0; margin-top: 0; min-height: 80px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--bg); box-shadow: none; backdrop-filter: none; }
.button { border-radius: 4px; box-shadow: none; font-weight: 600; }
.eyebrow, .card-kicker { color: var(--muted); font-size: .8rem; font-weight: 500; letter-spacing: .06em; }
.hero-section { grid-template-columns: 1fr 1fr; gap: 50px; min-height: 0; padding: 80px 0; }
.hero-work { margin: 0; }
.hero-work img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; border-radius: 3px; }
.hero-work figcaption { color: var(--soft); font-size: .8rem; padding-top: 12px; }
.hero-lede { max-width: 480px; font-size: 1.12rem; }
.hero-actions { gap: 12px; }
.preview-card { background: none; border-radius: 3px; box-shadow: none; }
.preview-copy { padding-left: 0; padding-right: 0; }
.preview-media { background: var(--bg-raised); border-radius: 3px; }
.preview-card.wide { grid-column: span 6; }
.preview-media { aspect-ratio: 16 / 10; }
.product-details summary { cursor: pointer; padding: 18px 0; color: var(--text); border-top: 1px solid var(--line); }
.product-details details[open] summary { margin-bottom: 16px; }
.cookie-consent { border-radius: 4px; background: var(--bg-raised); box-shadow: none; }
.site-footer { border-top-color: var(--line); }
.header-account { margin-left: 16px; flex-shrink: 0; min-width: 92px; text-align: center; background: var(--accent); color: #14231b; border: 1px solid var(--accent); }
@media (max-width: 800px) { .hero-section { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; } .hero-work img { max-height: 380px; } }
@media (max-width: 680px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding-bottom: 8px; }
  .site-header .home-link { grid-column: 1; grid-row: 1; font-size: .92rem; }
  .site-header .header-account { grid-column: 2; grid-row: 1; min-width: 74px; margin-left: 0; padding: .5rem .7rem; font-size: .85rem; }
  .site-header .header-nav { grid-column: 1 / -1; grid-row: 2; }
  .header-nav { flex-wrap: wrap; overflow: visible; gap: 0; }
  .header-nav a { padding: .5rem .55rem; font-size: .85rem; }
  .preview-card.wide { grid-column: span 12; }
}
