/* =========================================================
   Peg Master Bartending Academy — "the bar after dark"
   Mobile-first. Ink (night bar) / paper (menu card) / red (bitters).
   ========================================================= */

:root {
  --ink: #150e0c;
  --ink-2: #211613;
  --paper: #f3e8d3;
  --paper-2: #eadbbf;
  --paper-hi: #fffaf0;
  --cream: #fff7e8;
  --red: #c7372b;
  --red-ink: #a12a20;
  --red-bright: #ff6a4d;
  --copper: #c8763d;
  --gold: #e3b55b;
  --muted-ink: #bfae98;
  --muted-paper: #6a5647;
  --line-dark: rgba(243, 232, 211, 0.14);
  --line-paper: rgba(21, 14, 12, 0.2);
  --field-border: #8a7462;
  --wa: #25d366;
  --focus: var(--gold);

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-serif: "DM Serif Display", Georgia, serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Space Mono", ui-monospace, "Courier New", monospace;

  --header-h: 64px;
  --bar-h: 68px;
  --gutter: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .15 0 0 0 0 .08 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  scroll-padding-bottom: calc(var(--bar-h) + var(--safe-b) + 8px);
  overflow-x: clip;
}
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: calc(var(--bar-h) + var(--safe-b));
  -webkit-tap-highlight-color: rgba(199, 55, 43, 0.25);
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
a, button, input, select, textarea, summary, label { touch-action: manipulation; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1; text-wrap: balance; font-weight: 800; }
p { text-wrap: pretty; }
strong { font-weight: 800; }

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

.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: var(--cream);
  padding: 10px 16px; font-weight: 800; text-decoration: none;
  transition: transform 0.2s;
}
.skip-link:focus-visible { transform: translateY(72px); }

.container {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.container--narrow { max-width: 820px; }
.center { text-align: center; margin-top: 32px; }

/* ---------- Surfaces ---------- */
.ink { background: var(--ink); color: var(--paper); }
.paper, .paper-2 { color: var(--ink); --focus: var(--red-ink); }
.paper { background: var(--grain), var(--paper); }
.paper-2 { background: var(--grain), var(--paper-2); }
.red { background: var(--grain), var(--red); color: var(--cream); --focus: var(--cream); }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.paper .kicker, .paper-2 .kicker { color: var(--red-ink); }
.red .kicker { color: var(--cream); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head--left { text-align: left; margin-inline: 0; }
.sec-head h2 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 15vw, 6rem); line-height: 0.88; letter-spacing: 0.005em;
}
.sec-lead {
  margin-top: 14px; font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.2rem, 4.6vw, 1.5rem); line-height: 1.3; color: var(--muted-ink);
}
.paper .sec-lead, .paper-2 .sec-lead { color: var(--muted-paper); }
.note { margin-top: 22px; text-align: center; font-family: var(--f-mono); font-size: 0.82rem; color: var(--muted-paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 22px;
  border-radius: 4px; border: 2px solid transparent;
  font-family: var(--f-body); font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-red { background: var(--red); color: var(--cream); box-shadow: 4px 4px 0 var(--copper); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--red); }
.btn-red:hover, .btn-ink:hover { transform: translate(-2px, -2px); }
.btn-red:hover { box-shadow: 6px 6px 0 var(--copper); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--red); }
.btn-red:active, .btn-ink:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--copper); }
.btn-line { border-color: var(--paper); color: var(--paper); }
.btn-line:hover { background: var(--paper); color: var(--ink); }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }
.btn-ink-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 46px; padding: 10px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--grain), var(--ink);
  border-bottom: 8px solid var(--red);
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}
.no-loader .loader { display: none; }
.loader.is-done { transform: translateY(calc(-100% - 8px)); }
.loader-glass { position: relative; width: min(56vw, 230px); }
.loader-logo { width: 100%; height: auto; }
.loader-logo--ghost { opacity: 0.14; filter: grayscale(1); }
.loader-logo--fill {
  position: absolute; inset: 0;
  clip-path: inset(100% 0 0 0);
  animation: pour-fill 1.25s 0.35s cubic-bezier(0.55, 0, 0.3, 1) forwards;
}
.loader-stream {
  position: absolute; left: 50%; bottom: 30%; width: 3px; height: 100vh;
  margin-left: -1.5px; border-radius: 2px;
  background: linear-gradient(var(--gold), var(--copper));
  transform-origin: top; transform: scaleY(0);
  animation: pour-stream 1.6s 0.05s ease-in-out forwards;
}
.loader-text {
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted-ink);
}
@keyframes pour-fill { to { clip-path: inset(0 0 0 0); } }
@keyframes pour-stream {
  0% { transform: scaleY(0); opacity: 1; }
  25% { transform: scaleY(1); opacity: 1; }
  80% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(21, 14, 12, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: block; margin-right: auto; }
.brand img { width: 74px; height: auto; }
.header-cta { display: none; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; color: var(--paper);
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--grain), var(--ink);
  padding: 20px var(--gutter) calc(32px + var(--safe-b));
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav ul a {
  display: block; padding: 10px 0;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 12vw, 3.4rem); line-height: 1;
  text-decoration: none; transition: color 0.2s;
}
.nav ul a:hover { color: var(--red-bright); }
.nav-social { display: flex; gap: 12px; }
.nav-social a, .footer-social a {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 2px solid var(--line-dark); border-radius: 50%;
  transition: color 0.2s, border-color 0.2s;
}
.nav-social a:hover, .footer-social a:hover { color: var(--gold); border-color: var(--gold); }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 60% at 90% 70%, rgba(199, 55, 43, 0.28), transparent 60%),
    radial-gradient(80% 40% at 0% 0%, rgba(200, 118, 61, 0.14), transparent 70%),
    var(--grain), var(--ink);
  padding-block: 36px 56px;
}
.hero-grid { display: grid; gap: 40px; }
.hero h1 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(5rem, 30vw, 11.5rem); line-height: 0.8; letter-spacing: -0.005em;
}
.h1-line { display: block; }
.h1-indent { padding-left: 0.42em; color: transparent; -webkit-text-stroke: 2px var(--paper); }
.h1-fire {
  background: linear-gradient(95deg, var(--red-bright) 10%, var(--copper) 55%, var(--gold) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 24px; font-size: 1.1rem; max-width: 30em; color: #e9dcc6; }
.hero-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.hero-proof { display: flex; gap: 0; margin-top: 30px; }
.hero-proof li + li { border-left: 1px solid var(--line-dark); }
.hero-proof a {
  display: grid; min-height: 44px; padding: 2px 22px 2px 0; text-decoration: none;
}
.hero-proof li + li a { padding-left: 22px; }
.hero-proof strong { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.hero-proof span { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-ink); }
.hero-proof a:hover strong { color: var(--paper); }

.hero-visual { position: relative; width: min(82%, 400px); margin-left: auto; margin-right: 4px; }
.arch {
  position: relative; aspect-ratio: 3 / 4.2;
  border-radius: 999px 999px 10px 10px; overflow: hidden;
  outline: 1.5px solid var(--gold); outline-offset: 8px;
  background: var(--ink-2);
}
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.video-toggle {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255, 247, 232, 0.4);
  background: rgba(21, 14, 12, 0.6); color: var(--cream); cursor: pointer;
  transition: background-color 0.2s;
}
.video-toggle:hover { background: rgba(21, 14, 12, 0.9); }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .icon-play, .video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }

.badge {
  position: absolute; left: -22%; bottom: 12%; width: 118px; height: 118px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  will-change: transform;
}
.badge-bg { fill: var(--red); }
.badge text { fill: var(--cream); font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; }
.badge-star { color: var(--gold); }

/* Hero intro (after loader) */
.js .h1-line, .js .hero-lead, .js .hero-actions, .js .hero-proof {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .hero-visual { opacity: 0; transform: scale(0.96); transition: opacity 0.9s ease 0.35s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s; }
.is-ready .h1-line, .is-ready .hero-lead, .is-ready .hero-actions, .is-ready .hero-proof, .is-ready .hero-visual { opacity: 1; transform: none; }
.is-ready .h1-line:nth-child(2) { transition-delay: 0.1s; }
.is-ready .h1-line:nth-child(3) { transition-delay: 0.2s; }
.is-ready .hero-lead { transition-delay: 0.3s; }
.is-ready .hero-actions { transition-delay: 0.4s; }
.is-ready .hero-proof { transition-delay: 0.5s; }

/* ---------- Ticker band ---------- */
.ticker {
  position: relative; z-index: 2;
  margin: -14px -5vw 0; padding-block: 14px;
  background: var(--red); color: var(--cream);
  transform: rotate(-2.5deg);
  overflow: hidden; white-space: nowrap;
  border-block: 3px solid var(--ink);
}
.ticker-track { display: inline-flex; align-items: center; gap: 22px; will-change: transform; }
.ticker span { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.ticker i { font-style: normal; color: var(--gold); font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding-block: 84px; }
.ticker + .section { padding-top: 100px; margin-top: -24px; }

/* ---------- Courses: the menu card ---------- */
.menu-card {
  max-width: 860px; margin-inline: auto;
  padding: 26px 18px 18px;
  background: var(--paper-hi);
  border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: -8px;
  box-shadow: 10px 10px 0 var(--ink);
}
.menu-top {
  text-align: center; font-family: var(--f-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-ink);
  padding: 4px 12px 14px;
}
.menu-item { position: relative; padding: 26px 8px; border-top: 1.5px dashed var(--line-paper); }
.menu-item--featured {
  margin-inline: -8px; padding-inline: 16px;
  background: rgba(199, 55, 43, 0.07);
}
.menu-for {
  font-family: var(--f-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-paper);
}
.menu-row { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.menu-row h3 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 0.95; min-width: 0;
}
.dots { flex: 1 1 24px; min-width: 24px; border-bottom: 3px dotted rgba(21, 14, 12, 0.45); transform: translateY(-6px); }
.menu-dur { font-family: var(--f-mono); font-weight: 700; color: var(--red-ink); white-space: nowrap; }
.menu-desc { margin-top: 10px; font-family: var(--f-serif); font-style: italic; font-size: 1.18rem; line-height: 1.35; }
.menu-spec { margin-top: 10px; font-size: 0.92rem; color: var(--muted-paper); }
.menu-spec i { font-style: normal; color: var(--red-ink); padding-inline: 2px; }
.menu-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px;
  font-family: var(--f-mono); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--red-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
  transition: gap 0.2s, color 0.2s;
}
.menu-link:hover { gap: 14px; color: var(--ink); }
.stamp {
  position: absolute; top: -20px; right: 6px;
  width: 74px; height: 74px; background: var(--paper-hi); display: grid; place-items: center; text-align: center;
  border: 3px double var(--red-ink); border-radius: 50%;
  font-family: var(--f-mono); font-size: 0.66rem; font-weight: 700; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-ink);
  transform: rotate(14deg);
}
.menu-item--featured .menu-for { padding-right: 76px; }
.menu-foot {
  border-top: 3px double var(--ink); padding: 16px 8px 4px; text-align: center;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- Curriculum ---------- */
.learn-layout { display: grid; gap: 48px; }
.skills { counter-reset: skill; }
.skills li {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--line-dark);
}
.skills li:last-child { border-bottom: 1px solid var(--line-dark); }
.skill-no {
  font-family: var(--f-display); font-weight: 900; font-size: 3.2rem; line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
.skills h3 { font-family: var(--f-body); font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.skills p { margin-top: 4px; color: var(--muted-ink); font-size: 0.95rem; }

.learn-media { position: relative; max-width: 420px; margin-inline: auto; transform: rotate(2deg); }
.learn-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%;
  border: 10px solid var(--paper); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
}
.sticker {
  position: absolute; left: -10px; bottom: -22px;
  width: 128px; height: 128px; display: grid; place-content: center; text-align: center;
  border-radius: 50%; background: var(--gold); color: var(--ink);
  font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; line-height: 0.95; text-transform: uppercase;
  transform: rotate(-12deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}
.sticker span { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.08em; font-weight: 700; margin-top: 4px; display: block; }

/* ---------- Mentor ---------- */
.mentor-layout { display: grid; gap: 48px; }
.mentor-media { position: relative; max-width: 420px; width: 88%; margin-inline: auto; }
.mentor-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%;
  border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--red);
}
.tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 32px; margin-left: -60px;
  background: rgba(255, 247, 232, 0.72); transform: rotate(-4deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.mentor-line {
  font-family: var(--f-serif); font-style: italic; color: var(--red-ink);
  font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.1; margin-bottom: 20px;
}
.mentor-body p + p { margin-top: 12px; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px; border-block: 2px solid var(--ink);
}
.stats div { padding: 14px 6px; text-align: center; min-width: 0; }
.stats div + div { border-left: 1px solid var(--line-paper); }
.stats dt { font-family: var(--f-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-paper); }
.stats dd { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.9rem, 9vw, 2.8rem); line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mentor-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Viral reels ---------- */
.reels-section {
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(199, 55, 43, 0.25), transparent 70%),
    var(--grain), var(--ink);
}
.reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reels-nav { display: none; gap: 10px; margin-bottom: 40px; }
.reels-arrow {
  width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer;
  border: 2px solid var(--paper); border-radius: 50%; background: none; color: var(--paper);
  transition: background-color 0.2s, color 0.2s;
}
.reels-arrow:hover { background: var(--paper); color: var(--ink); }
.reels {
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.reels-list { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; }
.reel {
  position: relative; scroll-snap-align: start;
  aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line-dark);
}
.reel-btn {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  border: 0; background: none; cursor: pointer; text-align: left; color: var(--cream);
}
.reel-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.reel-btn:hover img { transform: scale(1.04); }
.reel-btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(21, 14, 12, 0.92) 100%);
}
.reel-play {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--red); color: var(--cream);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}
.reel-play .icon { width: 18px; height: 18px; margin-left: 2px; }
.reel-btn:hover .reel-play { transform: scale(1.1); }
.reel-meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: grid; gap: 4px; }
.reel-views { font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; line-height: 0.9; color: var(--gold); }
.reel-views small { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); }
.reel-title { font-weight: 800; font-size: 0.98rem; line-height: 1.25; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reels-cta { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }

/* ---------- The bill ---------- */
.steps-layout { display: grid; gap: 8px; }
.receipt {
  position: relative; width: 100%; max-width: 420px; margin: 20px auto 0;
  padding: 28px 22px 30px;
  background: var(--grain), var(--paper-hi); color: var(--ink);
  font-family: var(--f-mono); font-size: 0.86rem; line-height: 1.5;
  transform: rotate(-1.5deg);
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.55));
  --focus: var(--red-ink);
}
.receipt::before, .receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background:
    linear-gradient(-45deg, transparent 6px, var(--paper-hi) 0) 0 0 / 12px 12px repeat-x,
    linear-gradient(45deg, transparent 6px, var(--paper-hi) 0) 0 0 / 12px 12px repeat-x;
}
.receipt::before { top: -11px; transform: rotate(180deg); }
.receipt::after { bottom: -11px; }
.receipt-head { text-align: center; padding-bottom: 14px; border-bottom: 2px dashed var(--line-paper); }
.receipt-brand { font-family: var(--f-display); font-weight: 900; font-size: 2.2rem; line-height: 1; letter-spacing: 0.04em; }
.receipt-items li { padding: 14px 0; border-bottom: 1px dashed var(--line-paper); }
.r-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; text-transform: uppercase; }
.r-row b { white-space: nowrap; }
.receipt-items p { margin-top: 2px; color: var(--muted-paper); font-size: 0.8rem; }
.r-total { padding-top: 16px; font-size: 1.05rem; border-top: 2px dashed var(--ink); margin-top: 2px; }
.r-total b { color: var(--red-ink); }
.receipt-foot { margin-top: 18px; text-align: center; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted-paper); }

/* ---------- Gallery: snapshots ---------- */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter)); padding: 24px var(--gutter) 28px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.snap {
  scroll-snap-align: center;
  background: var(--paper-hi); padding: 10px 10px 0;
  box-shadow: 0 18px 30px -16px rgba(21, 14, 12, 0.55);
}
.snap:nth-child(odd) { transform: rotate(-2deg); }
.snap:nth-child(even) { transform: rotate(1.6deg); }
.snap img, .snap-video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.snap-video { position: relative; }
.snap-video video { width: 100%; height: 100%; object-fit: cover; }
.snap figcaption { padding: 10px 4px 14px; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; text-align: center; }
.gallery-play {
  position: absolute; top: 10px; right: 10px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255, 247, 232, 0.5);
  background: rgba(21, 14, 12, 0.65); color: var(--cream); cursor: pointer;
  transition: background-color 0.2s;
}
.gallery-play:hover { background: rgba(21, 14, 12, 0.9); }
.gallery-play .icon { width: 18px; height: 18px; }
.gallery-play .icon-pause, .gallery-play[aria-pressed="true"] .icon-play { display: none; }
.gallery-play[aria-pressed="true"] .icon-pause { display: block; }

/* ---------- Careers: bottle labels ---------- */
.labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px; max-width: 900px; margin-inline: auto; }
.labels li {
  padding: 10px 16px; border: 2px solid var(--ink);
  font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; line-height: 1; text-transform: uppercase;
  background: var(--cream); color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.labels li:nth-child(3n+2) { background: var(--ink); color: var(--cream); box-shadow: 3px 3px 0 var(--gold); }
.labels li:nth-child(3n) { background: var(--gold); }
.labels li:nth-child(odd) { transform: rotate(-2deg); }
.labels li:nth-child(even) { transform: rotate(1.5deg); }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 0;
  font-weight: 800; font-size: 1.08rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-family: var(--f-display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--red-ink);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red-ink); }
.faq details p { padding: 0 0 20px; color: var(--muted-paper); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 40px; }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contact-list .icon {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
}
.contact-list a, .contact-list span { overflow-wrap: anywhere; min-width: 0; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.contact-list a:hover { color: var(--gold); }
.contact-list span { color: var(--muted-ink); }

.slip {
  display: grid; gap: 18px;
  padding: 22px 18px 24px;
  background: var(--grain), var(--paper); color: var(--ink);
  border-top: 8px solid var(--red);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.8);
  --focus: var(--red-ink);
}
.slip-head {
  display: flex; justify-content: space-between; padding-bottom: 12px;
  border-bottom: 2px dashed var(--line-paper);
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.slip-head span:last-child { color: var(--red-ink); }
.field { display: grid; gap: 8px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 800; font-size: 0.95rem; }
.field legend { margin-bottom: 8px; padding: 0; }
.optional { color: var(--muted-paper); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border-radius: 4px; border: 2px solid var(--field-border);
  background: var(--paper-hi); color: var(--ink);
  font-size: 1rem; /* 16px prevents iOS zoom-on-focus */
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background: var(--paper-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23150e0c' stroke-width='2.4' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  padding-right: 44px;
}
.field select option { background: var(--paper-hi); color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6f5c4e; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(199, 55, 43, 0.35);
}
.field [aria-invalid="true"] { border-color: var(--red-ink); }
.field-error { color: var(--red-ink); font-size: 0.88rem; font-weight: 600; }
.field-error:empty { display: none; }
.radio-row { display: flex; gap: 10px; }
.radio {
  flex: 1; display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 12px 14px; border-radius: 4px; cursor: pointer;
  border: 2px solid var(--field-border); background: var(--paper-hi);
  font-weight: 700; transition: border-color 0.2s, background-color 0.2s;
}
.radio:has(input:checked) { border-color: var(--ink); background: rgba(199, 55, 43, 0.1); }
.radio input { accent-color: var(--red); width: 18px; height: 18px; }
.form-hint { color: var(--muted-paper); font-size: 0.85rem; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 40px 28px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.wordmark {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 18vw, 15rem); line-height: 0.8; white-space: nowrap; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px rgba(243, 232, 211, 0.28);
  margin-bottom: 32px;
}
.footer-inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer-logo { width: 120px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-family: var(--f-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none; color: var(--muted-ink); transition: color 0.2s;
}
.footer-links a:hover { color: var(--paper); }
.footer-social { display: flex; gap: 12px; }
.footer-note, .copyright { margin-top: 18px; text-align: center; color: var(--muted-ink); font-size: 0.82rem; }
.copyright { margin-top: 6px; font-family: var(--f-mono); font-size: 0.75rem; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + var(--safe-b)) max(12px, env(safe-area-inset-left));
  background: rgba(21, 14, 12, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 4px;
  font-weight: 800; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none;
  transition: transform 0.15s, filter 0.2s;
}
.action-bar a:active { transform: scale(0.97); }
.action-call { border: 2px solid var(--paper); }
.action-wa { background: var(--wa); color: #06210f; }
.action-wa:hover { filter: brightness(1.08); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .snap.reveal:nth-child(odd) { transform: translateY(22px) rotate(-2deg); }
.js .snap.reveal:nth-child(even) { transform: translateY(22px) rotate(1.6deg); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .snap.reveal.is-visible:nth-child(odd) { transform: rotate(-2deg); }
.js .snap.reveal.is-visible:nth-child(even) { transform: rotate(1.6deg); }
.js .learn-media.reveal.is-visible { transform: rotate(2deg); }

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .menu-card { padding: 34px 34px 22px; }
  .gallery { grid-auto-columns: 40%; }
  .reels-list { grid-auto-columns: 34%; }
  .reels-cta { flex-direction: row; flex-wrap: wrap; }
  .slip { padding: 30px 28px; }
  .badge { width: 136px; height: 136px; }
}

@media (min-width: 960px) {
  :root { --header-h: 78px; --bar-h: 0px; --gutter: 40px; }
  body { padding-bottom: 0; }
  .action-bar { display: none; }

  .brand img { width: 90px; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .nav {
    position: static; inset: auto; padding: 0; background: none;
    flex-direction: row; align-items: center; gap: 18px;
    opacity: 1; visibility: visible; transform: none; overflow: visible;
  }
  .nav ul { display: flex; gap: 2px; }
  .nav ul a {
    font-family: var(--f-mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em;
    padding: 10px 12px; color: var(--muted-ink);
  }
  .nav ul a:hover { color: var(--paper); }
  .nav-social { gap: 4px; }
  .nav-social a { width: 40px; height: 40px; border-color: transparent; color: var(--muted-ink); }

  .hero { padding-block: 56px 96px; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 56px; }
  .hero-visual { width: 100%; max-width: 410px; margin: 0 0 0 auto; }
  .badge { left: -70px; bottom: 16%; width: 150px; height: 150px; }

  .section { padding-block: 120px; }
  .ticker span { font-size: 2.4rem; }

  .menu-card { padding: 44px 56px 26px; }
  .menu-item { padding: 30px 12px; }
  .menu-item--featured { margin-inline: -20px; padding-inline: 32px; }
  .stamp { top: -26px; right: 24px; width: 92px; height: 92px; font-size: 0.72rem; }
  .menu-item--featured .menu-for { padding-right: 110px; }

  .learn-layout { grid-template-columns: 1.2fr 0.8fr; gap: 72px; align-items: center; }
  .skills { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .skills li:nth-last-child(2) { border-bottom: 1px solid var(--line-dark); }

  .mentor-layout { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
  .mentor-media { width: 100%; }

  .reels-nav { display: flex; }
  .reels-list { grid-auto-columns: calc((100% - 3 * 18px) / 4.3); gap: 18px; }

  .steps-layout { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .receipt { margin-top: 0; }

  .gallery {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    overflow: visible; margin-inline: 0; padding: 12px 0 0; gap: 28px;
  }

  .labels li { font-size: 1.7rem; padding: 12px 20px; }

  .contact-layout { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
  .slip { padding: 36px 40px 32px; }

  .footer-inner { grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; text-align: left; }
  .footer-links { justify-self: center; }
}

@media (min-width: 960px) and (max-width: 1099px) {
  .nav-social { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .loader { display: none; }
  .js .reveal, .js .h1-line, .js .hero-lead, .js .hero-actions, .js .hero-proof, .js .hero-visual { opacity: 1; transform: none; }
}
