/* a 704 party — site styles */
:root {
  --red: #ff0000;
  --red-deep: #e00000;
  --ink: #1f1f1f;
  --black: #111;
  --paper: #f8f8f8;
  --muted: rgba(248, 248, 248, 0.72);
  --line: rgba(248, 248, 248, 0.18);
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.6 var(--body);
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: 0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h4 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.on-paper :focus-visible { outline-color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { font: 600 0.8rem/1.2 var(--body); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; opacity: 0.85; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 500 0.95rem/1 var(--body); letter-spacing: 0.02em;
  padding: 1em 1.8em; border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--paper); }
.btn-red:hover { background: var(--red-deep); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-sm { padding: 0.75em 1.25em; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: var(--header-h); padding: 10px var(--gutter);
  background: rgba(17, 17, 17, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ig-link { justify-self: start; display: inline-flex; padding: 6px; opacity: 0.9; }
.ig-link:hover { opacity: 1; }
.header-center { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.logo { font: 400 1.6rem/1 var(--display); text-decoration: none; letter-spacing: 0.02em; }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a, .dropdown-toggle {
  font: 500 0.78rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); opacity: 0.85; padding: 6px 0; background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .dropdown-toggle:hover, .main-nav a[aria-current] { opacity: 1; }
.main-nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.header-cta { justify-self: end; }
.nav-only-mobile { display: none !important; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 220px; padding: 8px; border-radius: 8px; background: var(--black); border: 1px solid var(--line);
  display: none; flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.dropdown-menu a { padding: 10px 12px; border-radius: 4px; letter-spacing: 0.08em; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.06); }
.dropdown.open .dropdown-menu { display: flex; }
@media (hover: hover) and (min-width: 901px) { .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: flex; } }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  /* no backdrop-filter here: it would trap the fixed slide-out menu inside the header */
  .site-header { grid-template-columns: auto 1fr auto; background: var(--black); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-center { align-items: center; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; justify-self: end;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--paper); transition: transform .2s, opacity .2s; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--black);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .main-nav a, .dropdown-toggle { font: 400 1.9rem/1 var(--display); text-transform: none; letter-spacing: 0.01em; padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; opacity: 1; }
  .nav-only-mobile { display: block !important; }
  .dropdown-menu { position: static; transform: none; display: flex; background: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .dropdown-menu a { font-size: 1.35rem; }
  .dropdown-toggle span { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 10vw, 128px) 0; }
.section-red { background: var(--red); color: var(--paper); }
.section-ink { background: var(--ink); }
.section-black { background: var(--black); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper .muted { color: rgba(31,31,31,0.7); }
/* wavy top edge: the svg takes the colour of the section it sits in */
.wave { position: absolute; left: 0; right: 0; top: -79px; width: 100%; height: 80px; display: block; }
.section-red .wave path { fill: var(--red); }
.section-ink .wave path { fill: var(--ink); }
.section-black .wave path { fill: var(--black); }
.section-paper .wave path { fill: var(--paper); }

/* ---------- Ticker ---------- */
.ticker { display: block; overflow: hidden; white-space: nowrap; text-decoration: none; padding: 0.15em 0; }
.ticker-track { display: inline-flex; animation: ticker 28s linear infinite; font: 400 clamp(3rem, 8vw, 6.5rem)/1.1 var(--display); }
.ticker-link:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(110px, 14vw, 170px); overflow: hidden;
  background: linear-gradient(rgba(17,17,17,0.55), rgba(17,17,17,0.75)), url("/assets/img/img_3627.jpg") center 40% / cover no-repeat, var(--black);
}
.hero .ticker { margin-bottom: clamp(24px, 4vw, 48px); text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
/* white signup card on the photo */
.hero-card {
  max-width: 460px; margin: 0 auto; padding: clamp(24px, 4vw, 36px);
  background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
@media (max-width: 640px) { .hero-card { margin: 0 16px; } }
.hero-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.hero-sub { text-align: center; color: rgba(31,31,31,0.75); margin-bottom: 1.25rem; }
.hero-card input[type=tel] { border-color: rgba(31,31,31,0.2); background: #fff; }
.hero-card .consent { color: rgba(31,31,31,0.7); }
.hero-card :focus-visible { outline-color: var(--ink); }
.hero-card .form-status.ok { color: #0a7a33; }
.hero-card .form-status.err { color: #b00000; }

.media-band { position: relative; height: clamp(360px, 70vh, 760px); overflow: hidden; background: #000; }
.media-band > img, .media-band > video { width: 100%; height: 100%; object-fit: cover; }
.media-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.0) 60%, rgba(0,0,0,0.35)); pointer-events: none; }

.page-hero { position: relative; min-height: clamp(380px, 62vh, 640px); display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--black); }
.page-hero-ink { background: var(--ink); }
.page-hero > img, .page-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero .wrap { position: relative; padding-top: 60px; padding-bottom: 100px; }

/* ---------- Home ---------- */
.big-statement { font: 400 clamp(2.2rem, 10.5vw, 10.5rem)/0.95 var(--display); margin: 0 0 0.4em; color: rgba(255,255,255,0.92); }
/* each phrase stays on its own single line */
.big-statement > span { display: block; white-space: nowrap; }
@media (max-width: 640px) { .big-statement { font-size: 12.5vw; } }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 6vw, 72px); }
.principle-num { font: 400 1.4rem/1 var(--display); opacity: 0.8; margin-bottom: 0.6rem; }
.principle h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photo-grid img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.photo-grid.three { grid-template-columns: repeat(3, 1fr); }
.photo-grid.four { grid-template-columns: repeat(4, 1fr); }
.photo-grid .tall { aspect-ratio: 3 / 4; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: clamp(32px, 5vw, 56px) 0; }
.stat { border-top: 2px solid var(--red); padding-top: 18px; }
.stat-num { font: 400 clamp(2.6rem, 5vw, 4rem)/1 var(--display); margin-bottom: 8px; }
.stat-label { font-size: 0.9rem; color: var(--muted); }
.impact { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 80px); margin-top: clamp(28px, 5vw, 56px); }
.impact h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------- Cards / layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
.split img { width: 100%; border-radius: 6px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 36px); }
.section-red .card { background: rgba(0,0,0,0.12); border-color: rgba(255,255,255,0.3); }
.section-paper .card { background: #fff; border-color: rgba(0,0,0,0.08); }
.card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.pill-row li { border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding-left: 1.6em; position: relative; margin-bottom: 0.5em; }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--red); }
.section-red .check-list li::before { color: var(--paper); }
blockquote { margin: 0; padding: clamp(22px, 3vw, 36px); border-left: 4px solid var(--red); background: rgba(255,255,255,0.04); font-size: 1.1rem; }
blockquote cite { display: block; margin-top: 1em; font-style: normal; font-weight: 600; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2rem 0; }
.metric { background: var(--red); border-radius: 10px; padding: 24px; }
.metric strong { display: block; font: 400 clamp(2.2rem, 4vw, 3.2rem)/1 var(--display); margin-bottom: 6px; }
.closed-banner { display: inline-block; background: var(--paper); color: var(--ink); font-weight: 600; padding: 8px 16px; border-radius: 999px; margin-bottom: 1.4rem; font-size: 0.9rem; }
.notice { border: 1px dashed var(--line); padding: 14px 18px; border-radius: 8px; color: var(--muted); font-size: 0.95rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.prose h3 { margin-top: 1.4em; font-size: 1.5rem; }
.prose p, .prose li { color: inherit; }
.divider-star { text-align: center; font-size: 1.6rem; margin: 2rem 0; opacity: 0.8; }

/* ---------- Events ---------- */
.event { display: grid; grid-template-columns: 180px 1fr; gap: clamp(18px, 3vw, 40px); padding: 36px 0; border-top: 1px solid var(--line); }
.event-date { font: 400 1.6rem/1.1 var(--display); }
.event-date small { display: block; font: 500 0.8rem/1.4 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.event h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 0.3em; }
.event-meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.event-body p { margin-bottom: 0.6em; }
.event-body details summary { cursor: pointer; color: var(--muted); margin-bottom: 0.6em; }
.feature-event { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.feature-event img { border-radius: 8px; width: 100%; }

/* ---------- Shop ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.product-card { text-decoration: none; display: block; }
.product-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: #2a2a2a; transition: transform .3s ease; }
.product-card:hover img { transform: scale(1.015); }
.product-card h3 { font-size: 1.6rem; margin: 16px 0 4px; }
.price { font-weight: 600; font-size: 1.1rem; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: #2a2a2a; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--red); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info { position: sticky; top: calc(var(--header-h) + 24px); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: none; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0.5rem 0 1.5rem; padding: 0; list-style: none; }
.sizes li { border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font-size: 0.9rem; }
.buy-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, fieldset legend { font-size: 0.9rem; font-weight: 500; }
.field small, fieldset small { color: var(--muted); font-size: 0.82rem; }
.req::after { content: " *"; color: var(--red); }
.section-red .req::after { color: var(--paper); }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 2px solid transparent; border-radius: 6px; padding: 12px 14px;
}
.section-paper input, .section-paper select, .section-paper textarea { border-color: rgba(0,0,0,0.15); background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choices label, .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; cursor: pointer; }
.consent { font-size: 0.78rem; line-height: 1.45; color: var(--muted); }
.consent a { color: inherit; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #7dffa1; }
.form-status.err { color: #ffd2d2; }
.section-paper .form-status.ok { color: #0a7a33; }
.section-paper .form-status.err { color: #b00000; }
.form.done > :not(.form-status) { display: none; }
.form.done .form-status { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--display); color: inherit; }
.form-panel { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 4vw, 44px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); padding: 64px var(--gutter) 40px; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-brand { font: 400 clamp(2.4rem, 6vw, 4rem)/1 var(--display); }
.footer-tag { color: var(--muted); margin: 10px 0 24px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 24px; }
.footer-nav a { text-decoration: none; font-size: 0.9rem; opacity: 0.85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-copy { color: var(--muted); font-size: 0.8rem; margin: 0; }

/* ---------- Admin ---------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th, .admin-table td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); }
.admin-table td pre { margin: 0; white-space: pre-wrap; font: inherit; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 24px; }
.admin-bar .field { min-width: 200px; }
.table-scroll { overflow-x: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .principles, .impact, .split, .cards, .product, .feature-event { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .photo-grid.four { grid-template-columns: repeat(2, 1fr); }
  .product-info { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .photo-grid.three { grid-template-columns: 1fr 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; gap: 8px; }
  .products { grid-template-columns: 1fr; }
  .wave { height: 40px; top: -39px; }
}
