/* ==========================================================================
   TCV Vending — Trading Card Vending  ·  tcvending.co.uk
   --------------------------------------------------------------------------
   1.  Design tokens        8.  Media frames & photo placeholders
   2.  Reset & base         9.  Cards & grids
   3.  Layout              10.  Steps, stats, ticker
   4.  Typography          11.  Forms
   5.  Buttons             12.  Footer
   6.  Header & nav        13.  Motion & reveal
   7.  Hero                14.  Responsive
   ========================================================================== */

/* 1. ----------------------------------------------------------- TOKENS --- */
:root {
  /* Core palette — pulled from the logo: deep black, electric blue, silver */
  --bg:          #05080f;
  --bg-2:        #0a1020;
  --bg-3:        #0f1729;
  --surface:     rgba(255, 255, 255, 0.045);
  --surface-2:   rgba(255, 255, 255, 0.075);
  --line:        rgba(124, 186, 255, 0.16);
  --line-strong: rgba(124, 186, 255, 0.34);

  --blue:        #1e9bff;
  --blue-bright: #62c6ff;
  --blue-deep:   #0a5fc4;
  --blue-glow:   rgba(30, 155, 255, 0.45);

  --text:        #eef3fb;
  --text-soft:   #b7c4da;
  --muted:       #8697b2;

  /* Energy accents — echo the packs in the logo artwork */
  --e-fire:      #ff6a45;
  --e-water:     #3aa8ff;
  --e-electric:  #ffd23f;
  --e-psychic:   #b174ff;
  --e-grass:     #4ade80;
  --e-metal:     #cbd7e8;

  --accent:      var(--blue);

  /* Shape & depth */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow:     0 18px 50px -20px rgba(0, 0, 0, 0.85);
  --shadow-lg:  0 40px 90px -30px rgba(0, 0, 0, 0.9);
  --ring:       0 0 0 1px var(--line);

  /* Rhythm */
  --pad:      clamp(1.25rem, 4vw, 2rem);
  --section:  clamp(4.5rem, 10vw, 8rem);
  --maxw:     1200px;

  /* Type */
  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

/* 2. ------------------------------------------------------ RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background: soft blue light pools + a faint tech grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60rem 40rem at 78% -8%,  rgba(30, 155, 255, 0.22), transparent 62%),
    radial-gradient(48rem 38rem at 8% 12%,   rgba(10, 95, 196, 0.20),  transparent 60%),
    radial-gradient(52rem 44rem at 50% 108%, rgba(98, 198, 255, 0.12), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(124, 186, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 186, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 100%);
          mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 100%);
}

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

a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: #fff; }

ul, ol { padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blue); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: #fff; font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); color: #fff; }

/* 3. ----------------------------------------------------------- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container--wide { max-width: 1380px; }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: linear-gradient(180deg, transparent, rgba(10, 16, 32, 0.75) 12%, rgba(10, 16, 32, 0.75) 88%, transparent); }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.split--media-right > .split__media { order: 2; }

.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* 4. ------------------------------------------------------- TYPOGRAPHY --- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1, .h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.75rem); }
h2, .h2 { font-size: clamp(1.9rem, 1.35rem + 2.5vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.02rem + 0.6vw, 1.45rem); letter-spacing: -0.02em; }
h4      { font-size: 1.05rem; letter-spacing: -0.015em; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.45vw, 1.3rem);
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 62ch;
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Silver-chrome headline treatment, mirroring the logo's lettering */
.chrome {
  background: linear-gradient(175deg, #ffffff 4%, #dbe6f6 34%, #8fa7c6 56%, #ffffff 82%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hl {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.section-head { max-width: 58ch; }
.section-head > * + * { margin-top: 0.9rem; }

/* 5. ---------------------------------------------------------- BUTTONS --- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-fg: #02101f;
  border-color: transparent;
  background: linear-gradient(180deg, #7fd0ff, var(--blue) 55%, var(--blue-deep));
  box-shadow: 0 10px 30px -10px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--primary:hover {
  color: #02101f;
  box-shadow: 0 18px 44px -12px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn--ghost { background: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--blue); }

.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform 0.22s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-bright);
}
.link-arrow svg { transition: transform 0.22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Pills / chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 500;
}
.chip__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* 6. --------------------------------------------------- HEADER & NAV --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 0.7rem;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-stuck {
  padding-block: 0.4rem;
  background: rgba(5, 8, 15, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  position: relative;
  z-index: 101;          /* stays above the mobile drawer, which is a header child */
}
.brand:hover { color: var(--text); }
.brand__logo {
  width: auto;
  height: 52px;
  filter: drop-shadow(0 4px 14px rgba(30, 155, 255, 0.4));
  transition: height 0.3s var(--ease);
}
.is-stuck .brand__logo { height: 44px; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand__tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; align-items: center; gap: 0.35rem; }
.nav__list a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__list a:hover { color: #fff; background: var(--surface); }
.nav__list a.is-active { color: #fff; background: var(--surface-2); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 101;          /* keep the close button tappable over the open drawer */
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  place-items: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 19px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* 7. ------------------------------------------------------------- HERO --- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy > * + * { margin-top: 1.4rem; }
.hero h1 { margin-top: 1.1rem; }

.hero__title-line { display: block; }

.hero__media { position: relative; }

.hero__glow {
  position: absolute;
  inset: -12% -6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent 66%);
  filter: blur(46px);
  animation: pulse 7s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

.hero__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  aspect-ratio: 4 / 5;
}

.hero__badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: rgba(8, 13, 25, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.hero__badge--a { left: -1.25rem; top: 14%; }
.hero__badge--b { right: -1.25rem; bottom: 16%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 0.6rem;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.hero__trust svg { flex: none; color: var(--blue-bright); }

/* Compact page hero for interior pages */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}
.page-hero__inner > * + * { margin-top: 1.1rem; }
.page-hero h1 { max-width: 20ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-bright); }

/* 8. ----------------------------------------- MEDIA & PHOTO PLACEHOLDERS --- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(145deg, rgba(30, 155, 255, 0.10), rgba(255, 255, 255, 0.02) 46%),
    var(--bg-3);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.media--zoom:hover img { transform: scale(1.045); }

.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--16x9 { aspect-ratio: 16 / 9; }

/* Shine sweep on hover */
.media--zoom::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}
.media--zoom:hover::after { transform: translateX(120%); }

/* Placeholder shown until a real photo is dropped in (see assets/README.md) */
.media.is-empty img { display: none; }
.media.is-empty::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(183, 196, 218, 0.62);
  background:
    repeating-linear-gradient(135deg,
      rgba(124, 186, 255, 0.05) 0 12px,
      transparent 12px 24px);
  border-radius: inherit;
}
.media.is-empty::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 0;
  border: 1px dashed rgba(124, 186, 255, 0.28);
  border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
}

.media__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(3, 6, 13, 0.92));
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.gallery { display: grid; gap: clamp(0.75rem, 1.6vw, 1.1rem); }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 9. --------------------------------------------------- CARDS & GRIDS --- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}
.card p { color: var(--text-soft); font-size: 0.95rem; }

a.card, .card--link { color: var(--text); }
a.card:hover, .card--hover:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: var(--shadow-lg), 0 0 40px -22px var(--accent);
  color: var(--text);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.card__foot { margin-top: auto; padding-top: 0.6rem; }

.card--pad-0 { padding: 0; }
.card--pad-0 .card__body { padding: clamp(1.2rem, 2.2vw, 1.6rem); display: grid; gap: 0.5rem; }

/* Product / "what's inside" tile */
.tile {
  --accent: var(--blue);
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  right: -30%; top: -60%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 68%);
  filter: blur(26px);
  opacity: 0.75;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: var(--shadow-lg);
}
.tile:hover::after { opacity: 1; }
.tile__label {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tile p { position: relative; color: var(--text-soft); font-size: 0.9rem; }
.tile__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  color: var(--accent);
}

/* Bullet list with ticks */
.ticks { display: grid; gap: 0.75rem; }
.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--text-soft);
}
.ticks li::before {
  content: "";
  width: 22px; height: 22px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305080f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat,
    linear-gradient(180deg, var(--blue-bright), var(--blue));
}
.ticks strong { color: var(--text); font-weight: 600; }

/* Location card */
.location {
  display: grid;
  gap: 0.3rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-sm) var(--r) var(--r) var(--r-sm);
  background: var(--surface);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.location:hover { transform: translateX(4px); background: var(--surface-2); }
.location__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; }
.location__addr { color: var(--text-soft); font-size: 0.92rem; }
.location__meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; font-size: 0.82rem; color: var(--muted); }
.location__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Event row */
.event {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: center;
  padding: 1.25rem clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.event:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-3px); }
.event__date {
  display: grid;
  place-items: center;
  width: 74px;
  padding: 0.6rem 0.4rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(30, 155, 255, 0.2), rgba(30, 155, 255, 0.05));
  text-align: center;
  line-height: 1;
}
.event__day { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.04em; }
.event__mon { margin-top: 0.25rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); }
.event__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.event__where { color: var(--text-soft); font-size: 0.9rem; }
.event__tag {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-bright);
  white-space: nowrap;
}

/* Callout / CTA band */
.cta-band {
  position: relative;
  padding: clamp(2.25rem, 5vw, 3.75rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background:
    radial-gradient(48rem 24rem at 82% 0%, rgba(30, 155, 255, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(17, 27, 48, 0.9), rgba(8, 13, 25, 0.95));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: center;
}
.cta-band > * + * { margin-top: 1.1rem; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Notice / info box */
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.92rem;
}
.notice svg { flex: none; color: var(--blue-bright); margin-top: 0.15rem; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--blue-bright);
  border-bottom: 2px solid var(--blue-bright);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__body { padding: 0 1.3rem 1.25rem; color: var(--text-soft); }

/* 10. ---------------------------------------- STEPS, STATS & TICKER --- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(124, 186, 255, 0.4);
}
.step h3 { margin-top: 2rem; }
.step p { margin-top: 0.5rem; color: var(--text-soft); font-size: 0.95rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}
.stat {
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  background: rgba(8, 13, 25, 0.9);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.stat__label { margin-top: 0.3rem; font-size: 0.82rem; color: var(--muted); }

.ticker {
  position: relative;
  padding-block: 0.9rem;
  border-block: 1px solid var(--line);
  background: rgba(8, 13, 25, 0.6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: scroll 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding-inline: 1.15rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}
.ticker__item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 11. ------------------------------------------------------------ FORMS --- */
.form { display: grid; gap: 1.1rem; }

.field { display: grid; gap: 0.45rem; }
.field > label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.field__hint { font-size: 0.8rem; color: var(--muted); }
.req { color: var(--blue-bright); }

.input, .select, .textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(3, 6, 13, 0.55);
  color: var(--text);
  font-size: 0.97rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #61718c; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(3, 6, 13, 0.8);
  box-shadow: 0 0 0 4px rgba(30, 155, 255, 0.16);
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362c6ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 17px;
}
.select option { background: var(--bg-2); color: var(--text); }

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

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.6rem; }
.check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(3, 6, 13, 0.4);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.check:hover { border-color: var(--line-strong); }
.check input {
  appearance: none;
  flex: none;
  width: 19px; height: 19px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.check input:checked {
  border-color: var(--blue);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305080f' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(180deg, var(--blue-bright), var(--blue));
}
.check:has(input:checked) { border-color: var(--blue); background: rgba(30, 155, 255, 0.1); }

.form__status {
  padding: 0.95rem 1.15rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(30, 155, 255, 0.1);
  font-size: 0.92rem;
}
.form__status[hidden] { display: none; }
.form__status.is-error { border-color: rgba(255, 106, 69, 0.55); background: rgba(255, 106, 69, 0.1); }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-panel {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

/* Contact detail list */
.contact-list { display: grid; gap: 1.1rem; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: start; }
.contact-item__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--blue-bright);
}
.contact-item__label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-item__value { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }

/* 12. ----------------------------------------------------------- FOOTER --- */
.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(3, 6, 13, 0.85));
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.footer__brand > * + * { margin-top: 1rem; }
.footer__logo { height: 84px; width: auto; filter: drop-shadow(0 6px 22px rgba(30, 155, 255, 0.35)); }
.footer__blurb { max-width: 34ch; color: var(--text-soft); font-size: 0.92rem; }

.footer__title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.9rem;
}
.footer__links { display: grid; gap: 0.55rem; }
.footer__links a { color: var(--text-soft); font-size: 0.93rem; }
.footer__links a:hover { color: #fff; }

.socials { display: flex; gap: 0.6rem; }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-soft);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.socials a:hover { transform: translateY(-3px); border-color: var(--blue); color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.disclaimer {
  margin-top: 1.25rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: #5f6e87;
  max-width: 90ch;
}

/* 13. ------------------------------------------------- MOTION & REVEAL --- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* 14. ------------------------------------------------------- RESPONSIVE --- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 80px; }

  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 6.5rem var(--pad) 2rem;
    background: rgba(5, 8, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.38s var(--ease), visibility 0.38s;
  }
  body.nav-open .nav { transform: translateY(0); visibility: visible; }
  body.nav-open { overflow: hidden; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav__list a {
    padding: 0.95rem 1rem;
    border-radius: var(--r-sm);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .nav__cta .btn { width: 100%; padding: 0.95rem 1.5rem; font-size: 0.98rem; }

  /* Mobile hero order: eyebrow, headline, photo, then the pitch and buttons —
     so the offer reads before anything else, with the machine right beneath it. */
  .hero__grid { display: flex; flex-direction: column; gap: 1.35rem; }
  .hero__copy { display: contents; }
  .hero__copy > *,
  .hero__copy > h1 { margin-top: 0; }
  .hero__copy > .eyebrow     { order: 1; }
  .hero__copy > h1           { order: 2; }
  .hero__media               { order: 3; width: 100%; max-width: 440px; margin-inline: auto; }
  .hero__copy > .lead        { order: 4; }
  .hero__copy > .btn-row     { order: 5; }
  .hero__copy > .hero__trust { order: 6; padding-top: 0; }
  .hero__frame { aspect-ratio: 1 / 1; }
  .hero__badge--a { left: -0.5rem; }
  .hero__badge--b { right: -0.5rem; }

  .split { grid-template-columns: 1fr; }
  .split--media-right > .split__media { order: -1; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .brand__logo { height: 42px; }
  .brand__tag { display: none; }
  .brand__name { font-size: 1rem; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery--3, .gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .field-row { grid-template-columns: 1fr; }

  .event { grid-template-columns: auto 1fr; }
  .event__tag { grid-column: 2; justify-self: start; }

  .hero__badge { padding: 0.55rem 0.8rem; font-size: 0.74rem; }
  .hero__badge strong { font-size: 1rem; }

  .btn-row .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

@media print {
  body::before, body::after, .site-header, .ticker, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  /* Scroll-reveal never fires when printing — make sure nothing prints blank. */
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
