:root {
  --bg: #1B0F1E;
  --surface: #2A1533;
  --text: #FDF4FF;
  --muted: #F5D0FE;
  --primary: #E879F9;
  --secondary: #22D3EE;
  --accent: #FACC15;
  --border: rgba(253, 244, 255, 0.12);
  --grunge-texture: distressed;
  --raw-edge: imperfect;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, var(--bg) 0%, #120a14 45%, var(--surface) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    -3deg,
    transparent,
    transparent 96px,
    rgba(232, 121, 249, 0.02) 96px,
    rgba(232, 121, 249, 0.02) 98px
  );
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

.disclosure-box {
  max-width: 800px;
  margin: 10px auto;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  position: relative;
  z-index: 200;
}

.disclosure-box p {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-desktop a:hover {
  opacity: 1;
  color: var(--text);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.3s;
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-mobile-overlay.open {
  display: flex;
}

.nav-mobile-overlay a {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  background: var(--surface);
  color: var(--text);
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-top: 3px solid var(--primary);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--secondary),
    var(--secondary) 12px,
    transparent 12px,
    transparent 20px
  );
  opacity: 0.35;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.footer-logo img {
  height: 34px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-badge {
  display: block;
}

.footer-badge img {
  height: 48px;
  width: auto;
}

.footer-nz-disclosure {
  font-size: 11px;
  color: rgba(245, 208, 254, 0.7);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.footer-nz-disclosure p {
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(245, 208, 254, 0.5);
  margin-top: 14px;
}

.page-shell {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-shell main {
  flex: 1;
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
  transform: skewX(-1deg);
}

.legal-page h2 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-page h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

.legal-page p {
  margin-bottom: 14px;
  color: var(--muted);
}

.legal-page ul {
  margin: 0 0 16px 24px;
  color: var(--muted);
}

.legal-page li {
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 28px;
  padding: 24px;
  background: rgba(42, 21, 51, 0.8);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  border-radius: 0;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: var(--accent);
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-submit {
  background: var(--primary);
  color: var(--bg);
  border: none;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 0;
}

.form-submit:hover {
  background: var(--secondary);
  color: var(--bg);
}

.form-success {
  display: none;
  padding: 28px;
  background: rgba(42, 21, 51, 0.8);
  border: 1px solid var(--border);
  text-align: center;
}

.form-success.visible {
  display: block;
}

.hidden {
  display: none !important;
}

.form-success h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}

.age-overlay,
.cookie-banner {
  position: fixed;
  z-index: 1000;
}

.age-overlay {
  inset: 0;
  background: rgba(27, 15, 30, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-overlay.hidden {
  display: none;
}

.age-modal {
  background: var(--surface);
  max-width: 440px;
  width: 100%;
  padding: 36px 28px;
  text-align: center;
  border: 2px solid var(--primary);
  border-radius: 0;
}

.age-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text);
}

.age-modal p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.age-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-btn {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  border-radius: 0;
}

.age-btn-yes {
  background: var(--primary);
  color: var(--bg);
}

.age-btn-no {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.cookie-banner {
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  max-width: 640px;
}

.cookie-accept {
  background: var(--secondary);
  color: var(--bg);
  border: none;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
}

.subpage-hero {
  padding: 56px 24px 40px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 121, 249, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.subpage-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.subpage-hero h1 {
  color: var(--text);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 720px;
  transform: skewX(-0.8deg);
}

.subpage-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.subpage-content h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.subpage-content h3 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
  color: var(--primary);
}

.subpage-content p {
  margin-bottom: 14px;
  color: var(--muted);
}

.subpage-content ul {
  margin: 0 0 16px 24px;
  color: var(--muted);
}

.subpage-content li {
  margin-bottom: 6px;
}

.subpage-cta-home {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 22px;
  background: var(--primary);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
}

.subpage-cta-home:hover {
  color: var(--bg);
  background: var(--secondary);
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 64px;
}

.error-page h1 {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  transform: skewX(-4deg);
}

.error-page p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.error-link {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
}

.error-link:hover {
  color: var(--bg);
  background: var(--secondary);
}

.sp-layout-sidebar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.sp-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sp-sidebar-nav {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 0;
}

.sp-sidebar-nav li a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-left: 3px solid transparent;
}

.sp-sidebar-nav li a:hover {
  border-left-color: var(--primary);
  color: var(--text);
}

.sp-img-rail {
  float: right;
  margin: 0 0 18px 24px;
  max-width: 320px;
}

.sp-img-rail img {
  max-width: 500px;
  max-height: 320px;
  object-fit: cover;
  border: 2px solid var(--border);
}

.sp-stat-band {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.sp-stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  color: var(--text);
}

.sp-stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
}

.sp-split-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.sp-callout {
  background: var(--surface);
  padding: 22px;
  margin: 22px 0;
  border-left: 4px solid var(--accent);
}

.sp-mosaic-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.sp-mosaic-band img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.sp-quote-block {
  background: rgba(232, 121, 249, 0.12);
  padding: 28px;
  margin: 28px 0;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  border: 1px dashed var(--primary);
  transform: rotate(-0.4deg);
}

.grunge-section {
  position: relative;
}

.grunge-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grunge-texture);
  opacity: 0;
  pointer-events: none;
}

.raw-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  margin: 24px 0;
  transform: skewX(-2deg);
}

.texture-overlay {
  position: relative;
}

.texture-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.distressed-edge {
  clip-path: polygon(0 2%, 98% 0, 100% 98%, 2% 100%);
}

.imperfect-crop img {
  transform: rotate(0.6deg);
  border: 2px solid var(--border);
}

.decor-img-wrap {
  max-width: 100%;
  overflow: hidden;
}

.decor-img-wrap img,
.subpage-content img,
.sp-mosaic-band img,
.sp-img-rail img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .site-header {
    background: var(--bg);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  }

  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: block;
  }

  .footer-top {
    flex-direction: column;
  }

  .sp-layout-sidebar,
  .sp-split-col,
  .sp-mosaic-band {
    grid-template-columns: 1fr;
  }

  .sp-sidebar {
    position: static;
  }

  .sp-img-rail {
    float: none;
    margin: 0 0 18px;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .subpage-content,
  .sp-split-col,
  .sp-layout-sidebar,
  .sp-mosaic-band {
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
  }

  .decor-img-wrap img,
  .sp-mosaic-band img,
  .sp-split-col img {
    max-width: 100%;
    max-height: 220px;
  }
}
