:root {
  --bg: #07090c;
  --panel: rgba(255, 255, 255, .06);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .68);
  --border: rgba(255, 255, 255, .12);
  --shadow: 0 18px 60px rgba(0, 0, 0, .45);
  --radius: 18px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

a {
  color: inherit;
  text-decoration: none
}




/* =========================
   HEADER / NAV SYSTEM
========================= */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 18px 18px;
}

.site-header-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-name {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, .90);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: rgba(255, 255, 255, .78);
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover {
  color: rgba(255, 255, 255, .95);
}

.nav-cta {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .95) !important;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, .22);
}

@media (max-width: 720px) {
  .brand-name {
    display: none;
  }

  .brand img {
    height: 34px;
  }

  .main-nav {
    gap: 12px;
  }
}

button {
  font-family: inherit
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: 26px 18px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .78)),
    url("img/cosplay-08-redfox-rooftop-wide.webp") center 38% / cover no-repeat;
}

/* Terms page hero background (swap the image by replacing this file) */
.hero--terms {
  min-height: 70svh;
}

.hero--terms .hero-bg {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .82)),
    url("img/editorial-03-red-car-door-open.webp") center 17% / cover no-repeat;
}

.hero-inner {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand-title {
  font-size: 28px;
  letter-spacing: .3px;
  font-weight: 680;
}

.brand-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 46px 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: .2px;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 650;
  gap: 10px;
}

.btn.primary {
  background: rgba(255, 255, 255, .92);
  color: #0b0d10;
  border-color: rgba(255, 255, 255, .92);
}

.btn.ghost {
  background: transparent;
}

.grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 820px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .brand-title {
    font-size: 34px;
  }
}

.tile {
  touch-action: manipulation;

  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.tile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .18s ease, border-color .18s ease;
  will-change: transform;
}

.tile:focus-visible img {
  outline: 2px solid rgba(255, 255, 255, .55);
  outline-offset: 2px;
}

@media (hover:hover) {
  .tile:hover img {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .18)
  }
}

.tile:active img {
  transform: scale(.99)
}


/* Subtle section breathers between groups (no headings) */
.grid-break {
  grid-column: 1 / -1;
  height: 18px;
}

@media (min-width: 820px) {
  .grid-break {
    height: 24px;
  }
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 820px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.card h3 {
  margin: 0;
  font-size: 16px
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45
}

.contact {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.fineprint {
  width: 100%;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 18px 30px 18px;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  display: none;
  align-items: center;
  justify-content: center;

  /* Safe-area aware padding (helps iOS / in-app browsers) */
  padding:
    calc(18px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left));

  z-index: 50;

  /* Prevent weird scroll/overscroll behavior */
  overscroll-behavior: contain;
}

.lightbox.open {
  display: flex;
}

/* Image should always fit inside viewport */
.lb-img {
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(1100px, calc(100vw - 48px));
  /* dvh is most reliable; fallback to vh */
  max-height: min(calc(100dvh - 140px), calc(100vh - 140px));
  object-fit: contain;

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--shadow);

  /* Avoid iOS blur/transform shimmer */
  transform: translateZ(0);
}

/* Controls */
.lb-close,
.lb-nav {
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .35);
  color: rgba(255, 255, 255, .95);
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

/* Close button */
.lb-close {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  right: calc(16px + env(safe-area-inset-right));
  font-size: 26px;
}

/* Nav buttons */
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
}

.lb-nav.prev {
  left: calc(16px + env(safe-area-inset-left));
}

.lb-nav.next {
  right: calc(16px + env(safe-area-inset-right));
}

/* Hide nav buttons on small screens (swipe/tap to advance is nicer) */
@media (max-width: 520px) {
  .lb-nav {
    display: none;
  }
}

/* Services bullets + strip */
.bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card-meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.service-strip {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.strip-item {
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.strip-item:first-child {
  border-top: 0;
}

.strip-title {
  font-weight: 650;
  font-size: 13px;
  letter-spacing: .2px;
}

.strip-text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 820px) {
  .service-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .strip-item {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, .10);
  }

  .strip-item:first-child {
    border-left: 0;
  }
}

/* FAQ */
.faq {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
}

.faq-q {
  min-height: 44px;

  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  font-weight: 650;
}

.faq-q+.faq-a {
  padding: 0 16px 14px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.faq-q:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.faq-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .88);
  flex: 0 0 auto;
}

/* Contact */
.contact-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.1fr .9fr;
  }
}

.contact-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.contact-card h3 {
  margin: 0;
  font-size: 16px;
}

.muted {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.contact-form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
  font-weight: 600;
}

.contact-form label[hidden] {
  display: none !important;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(255, 255, 255, .35);
}

.form-note {
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

.contact-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-meta {
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  display: grid;
  gap: 8px;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .75);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .65);
  color: rgba(255, 255, 255, .92);
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

.noscript {
  width: min(1100px, 100%);
  margin: 12px auto 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
  text-align: center;
}

/* Terms page cohesion */
.terms-hero {
  padding: 22px 18px 8px;
}

.terms-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.terms-heroCard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .30);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 18px;
}

.terms-kicker {
  color: rgba(255, 255, 255, .70);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.terms-heroCard h1 {
  margin: 10px 0 0;
  font-size: 28px;
  letter-spacing: .2px;
}

.terms-sub {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 72ch;
}

.terms-main {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 14px 18px 52px;
}

.terms-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.terms-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 900px) {
  .terms-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

.terms-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.terms-list strong {
  color: rgba(255, 255, 255, .86);
}


/* --- Terms page refinements --- */
.hero-inner--terms {
  padding-top: 14px;
}

.terms-heroStack {
  margin-top: 12px;
}

.terms-main>section+section {
  margin-top: 14px;
}

.terms-grid {
  gap: 16px;
}

@media (min-width: 900px) {
  .terms-grid {
    gap: 16px;
  }
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, .88);
}


/* ---- Fixes + polish (2026-01-29) ---- */

/* Ensure header is clickable and consistent */
.site-header {
  pointer-events: none;
}

.site-header-inner {
  pointer-events: auto;
}

/* Keep nav readable on bright hero images */
.site-header-inner {
  background: rgba(0, 0, 0, .32);
}

/* Make hero title/caption feel intentional without blocking */
.hero-minicap {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 0 10px;
}

.hero-title {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, .88);
}

.hero-sub {
  margin-top: 8px;
  max-width: 62ch;
  color: rgba(255, 255, 255, .70);
  font-size: 14px;
}

.hero-minicap .hero-ctas {
  margin-top: 14px;
}

/* Match terms title card width to main content */
.hero-inner {
  width: min(1100px, 100%);
}

/* Give terms hero card a touch more presence */
.hero-inner--terms {
  padding: 22px;
}

.hero--terms {
  min-height: 62svh;
}

.hero--signup {
  min-height: 64svh;
}

.hero--signup .hero-bg {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .82)),
    url("img/cosplay-06-green-fairy-treewide.webp") center 28% / cover no-repeat;
}

.hero--thanks {
  min-height: 64svh;
}

.hero--thanks .hero-bg {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .82)),
    url("img/cosplay-12-teal-poolside.webp") center 32% / cover no-repeat;
}

.hero-inner--signup {
  padding: 22px;
}

.signup-card {
  max-width: 760px;
}

.signup-form {
  margin-top: 14px;
}

.signup-thanks-inline {
  margin-top: 14px;
}

.signup-card-exit {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}

.signup-card-enter {
  animation: signupCardIn .26s ease;
}

@keyframes signupCardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll only when served (disabled for reduced motion) */
html {
  scroll-behavior: smooth;
}

/* Better default link affordance in text blocks */
.section-head a,
.card a,
.terms-card a,
.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ---- Shared footer spacing + layout ---- */
.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
