/* Drop It Like It's Hot Laundry
   Neon-on-dark palette taken from the client's original concept art. */

/* Self-hosted fonts (SIL OFL, latin subset from Google Fonts) so the site makes
   no third-party requests and the CSP can stay 'self'-only. */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/anton-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Bangers";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bangers-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  /* Surfaces */
  --bg: #0b0b12;
  --surface: #16161f;
  --surface-2: #1f1f2b;
  --line: #2c2c3a;

  /* Text */
  --text: #f5f5f7;
  --text-muted: #b4b4c2;

  /* Neon accents = the 500 Core swatches in the logo (DILIH_Color_Guide.pdf).
     HOT family (warm): calls to action, highlights. FRESH family (cool): links, small headings.
     Gradients stay inside one family; text on any neon is dark, never white. */
  --neon-yellow: #ffd60a;   /* HOT */
  --neon-orange: #ff7a00;   /* HOT */
  --neon-red: #ff1f1f;      /* HOT */
  --neon-magenta: #ff0a5a;  /* HOT */
  --neon-pink: #ff2e88;     /* HOT */
  --neon-cyan: #22d3ee;     /* FRESH */
  --neon-lime: #7cff4f;     /* FRESH */
  /* "DILIH HOT", the gradient on the HOT lettering (same stops, turned sideways) */
  --hot-gradient: linear-gradient(90deg, var(--neon-yellow) 20%, var(--neon-orange) 35%, var(--neon-red) 50%, var(--neon-magenta) 75%, var(--neon-pink));
  /* "DILIH Wordmark Blend", the gradient on DROP IT LIKE IT'S: the FRESH family, for clean/fresh words */
  --fresh-gradient: linear-gradient(90deg, var(--neon-cyan), var(--neon-lime));

  /* Type */
  --font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-accent: "Bangers", "Comic Sans MS", cursive;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --content: 960px;
  --gutter: 16px;
  --radius: 14px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--neon-cyan); }
a:hover { color: var(--neon-yellow); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

.container {
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: var(--gutter);
  top: 8px;
  z-index: 100;
  background: var(--neon-yellow);
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1;
}

.nav-toggle {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}
.site-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 16px;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] { color: var(--neon-yellow); }
.site-nav .btn { margin-top: 12px; width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 20px;
    padding: 0;
    border: 0;
    background: none;
  }
  .site-nav ul { display: flex; gap: 20px; }
  .site-nav a { border: 0; padding: 6px 0; font-size: 0.95rem; }
  .site-nav .btn { margin: 0; width: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  /* border-box: span the gradient under the 2px transparent border too; otherwise it
     tiles into the border and each rounded end shows a sliver of the opposite color. */
  background: var(--hot-gradient) border-box;
  color: #0b0b12;
}
.btn-primary:hover { color: #0b0b12; filter: brightness(1.08); }
.btn-secondary {
  min-height: 40px;
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: transparent;
}
.btn-secondary:hover { background: var(--neon-cyan); color: #0b0b12; }
.site-nav a.btn-primary { display: flex; color: #0b0b12; padding: 0 20px; }
@media (min-width: 900px) {
  .site-nav a.btn-primary { display: inline-flex; min-height: 40px; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); }
.eyebrow {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--neon-lime);
  margin: 0 0 4px;
}
.hot-text,
.fresh-text {
  background: var(--hot-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fresh-text { background-image: var(--fresh-gradient); }
.placeholder {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text-muted);
}

/* ---------- Home ---------- */
.hero { padding: 24px 0 56px; }
.hero-logo {
  max-width: 420px;
  margin: 0 auto 24px;
  /* Pause control sits on its own line under the logo, never over the artwork. */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-video { width: 100%; }
.motion-toggle {
  background: rgba(11, 11, 18, 0.8);
  border: 1px solid var(--line);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 4px 12px;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.motion-toggle:hover,
.motion-toggle:focus-visible { color: var(--text); }
.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 60ch; }
.btn-lg { width: 100%; min-height: 52px; font-size: 1.05rem; }
.microcopy { margin: 12px 0 0; font-size: 0.9rem; color: var(--text-muted); }

.steps {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.step h3 { margin-bottom: 0.25em; }
.step p { margin: 0; color: var(--text-muted); }
.step-icon {
  width: 40px;
  height: 40px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}
.text-link { font-weight: 600; text-decoration: none; }

.cards {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card p { margin: 0; color: var(--text-muted); }
.card .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  margin: 4px 0 12px;
}
.price .unit { font-size: 1.2rem; color: var(--text-muted); margin-left: 4px; }
.card-list { margin: 0; padding-left: 1.2em; color: var(--text-muted); }
.note { color: var(--text-muted); font-size: 0.95rem; }
.audience { color: var(--neon-lime); font-weight: 600; margin: 0; }

.booking-band {
  padding: 56px 0;
  text-align: center;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
.booking-band p { color: var(--text-muted); }

@media (min-width: 900px) {
  .hero { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .btn-lg { width: 240px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

.page-hero { padding: 48px 0 24px; }

/* ---------- Inner pages ---------- */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.jump a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}
.jump a:hover,
.jump a:focus-visible { border-color: var(--neon-cyan); color: var(--neon-cyan); }

.price-grid { display: grid; gap: 40px; }
.price-block { scroll-margin-top: calc(var(--header-h) + 16px); }
.price-block h2,
.price-block h3 { margin-bottom: 12px; }
#plans,
#students,
#fresh-start,
#holiday { scroll-margin-top: var(--header-h); }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}
.price-table th,
.price-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.price-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}
.price-table tbody th { font-weight: 400; padding-right: 16px; }
.price-table td,
.price-table thead th:last-child {
  text-align: right;
  white-space: nowrap;
}
.price-table td { font-weight: 700; color: var(--neon-yellow); }
.price-table caption { text-align: left; padding-bottom: 4px; }
.price-table .sub {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cards-3 { grid-template-columns: 1fr; }
.card-title { font-size: 1.35rem; }

.flow {
  list-style: none;
  counter-reset: flow;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
}
.flow li {
  counter-increment: flow;
  position: relative;
  padding-left: 64px;
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--hot-gradient);
  color: #0b0b12;
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.flow h2 { font-size: 1.6rem; margin-bottom: 0.25em; }
.flow p { margin: 0; color: var(--text-muted); max-width: 60ch; }

.checklist { padding-left: 1.2em; color: var(--text-muted); max-width: 70ch; }
.checklist li { margin-bottom: 8px; }

.prose { max-width: 65ch; }
.prose p { color: var(--text-muted); font-size: 1.1rem; }

.legal { max-width: 75ch; color: var(--text-muted); }
.legal section { margin-bottom: 32px; }
.legal h2 { font-size: 1.5rem; color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal ul ul { margin-top: 6px; }

.scan-hero { text-align: center; padding-bottom: 56px; }
.scan-logo { width: 220px; margin: 0 auto 16px; }
.scan-hero > .container > p:not(.eyebrow):not(.microcopy) { margin-left: auto; margin-right: auto; }
.promo {
  margin: 24px auto;
  max-width: 360px;
  border: 2px dashed var(--neon-yellow);
  border-radius: var(--radius);
  padding: 16px;
}
.promo p { margin: 0; }
.promo .promo-code {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 3px;
  line-height: 1.2;
  color: var(--neon-yellow);
  user-select: all;
}

@media (min-width: 900px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}
.page-hero p { color: var(--text-muted); max-width: 60ch; }
.page-hero .eyebrow { color: var(--neon-lime); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 24px; }
.site-footer h2 {
  font-size: 1.2rem;
  color: var(--text);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--neon-yellow); }
.footer-legal {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.footer-legal p { margin: 0 0 6px; }
.site-credit { color: var(--text-muted); font-size: 0.8rem; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

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