/* ===== Fonts (hosted with the site, see assets/fonts/LICENSE.txt) ===== */
@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/anton-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}

/* ===== Crushed Beets — theme tokens ===== */
:root {
  --bg: #09070c;
  --bg-2: #110c17;
  --surface: #191223;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f1ecf6;
  --muted: #a99cb8;
  --beet: #8a2be2;        /* logo violet */
  --beet-hot: #e45cf2;    /* logo neon pink */
  --beet-deep: #2a0f52;   /* deep indigo */
  --leaf: #3d4dff;        /* logo electric blue, used sparingly */
  --display: "Anton", "Avenir Next Condensed", "sans-serif-condensed", "Impact", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; right: 0; left: 0; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 20px var(--gutter);
  transition: background .3s, padding .3s, backdrop-filter .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed mobile menu inside the header's box. */
.site-header::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -2;
  opacity: 0; transition: opacity .3s;
  background: rgba(9, 7, 12, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { padding-block: 12px; }
.site-header.scrolled::before { opacity: 1; }
.wordmark {
  font-family: var(--display);
  font-size: 24px; letter-spacing: 0.04em; line-height: 1;
}
.wordmark span { color: var(--beet-hot); margin-left: 0.18em; }
.site-header .wordmark { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
.site-header.brand-visible .wordmark { opacity: 1; visibility: visible; pointer-events: auto; }
.wordmark.small { font-size: 20px; }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: calc(50% - 0.8em - 2px); height: 2px; width: 0;
  background: var(--beet-hot); transition: width .25s;
}
.main-nav a:hover::after { width: 100%; }

.socials { display: flex; gap: 14px; }
.socials svg, .nav-socials svg, .footer-socials svg, .hero-socials svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; opacity: .8; transition: opacity .2s, color .2s;
}
.socials svg .fill, .nav-socials svg .fill, .footer-socials svg .fill, .hero-socials svg .fill { fill: currentColor; stroke: none; }
.socials a:hover svg, .nav-socials a:hover svg, .footer-socials a:hover svg, .hero-socials a:hover svg { opacity: 1; color: var(--beet-hot); }

/* The same social links again in the phone menu and the footer (the header row is hidden on phones) */
.footer-socials, .nav-socials, .hero-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.footer-socials a, .nav-socials a, .hero-socials a { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; justify-content: center; }
.footer-socials svg, .nav-socials svg, .hero-socials svg { width: 24px; height: 24px; }
.hero-socials { display: none; margin-top: 20px; } /* shown on phones/tablets, where the header row is hidden */
.nav-socials { display: none; }

/* A link whose address hasn't been filled in yet (an <a> with no href): dimmed, does nothing.
   Scoped to <a> so the real Sign up <button> and the Sold out badges keep full strength. */
a:not([href]) { cursor: default; }
a.stream:not([href]), a.btn:not([href]) { opacity: .55; }
a.more-link:not([href]) span { opacity: .4; }
a.btn:not([href]):hover { transform: none; }
a.btn-primary:not([href]):hover { background: var(--beet); }
a.btn-ghost:not([href]):hover { background: transparent; color: var(--text); }
a.btn-small:not([href]):hover { background: transparent; }
a.stream:not([href]):hover { border-color: var(--line); background: var(--surface); }
a.more-link:not([href]):hover { color: var(--muted); }
a.feature-card:not([href]):hover, a.feature-card:not([href]):hover::before, a.merch-item:not([href]):hover .merch-img { transform: none; }

/* Hover bubble showing where each social icon goes */
.socials a { position: relative; display: block; }
.socials .tip {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, -4px);
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  background: var(--text); color: var(--bg);
  font-size: 13px; font-weight: 500; line-height: 1.3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.socials .tip strong { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--beet); }
.socials .tip::before { /* the bubble's pointer */
  content: ""; position: absolute; bottom: 100%; left: 50%; margin-left: -6px;
  border: 6px solid transparent; border-bottom-color: var(--text);
}
/* Right-most icons: anchor the bubble to the right so it never runs off-screen */
.socials a:nth-last-child(-n+2) .tip { left: auto; right: -8px; transform: translateY(-4px); }
.socials a:nth-last-child(-n+2) .tip::before { left: auto; right: 12px; margin-left: 0; }
.socials a:hover .tip, .socials a:focus-visible .tip {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.socials a:nth-last-child(-n+2):hover .tip,
.socials a:nth-last-child(-n+2):focus-visible .tip { transform: none; }
/* Invisible bridge so the mouse can travel from icon into the bubble */
.socials a::after { content: ""; position: absolute; left: -6px; right: -6px; top: 100%; height: 14px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; text-align: center; background: var(--bg); overflow: hidden; }
.hero-art img {
  display: block; width: 100%;
  /* Show the full artwork, but leave room below it for the buttons on short screens */
  height: min(47.45vw, calc(100vh - 150px));
  height: min(47.45vw, calc(100svh - 150px));
  min-height: 320px;
  object-fit: cover; object-position: center 45%;
  /* Fade only the bottom edge into the page (96px, or 10% on smaller images), so the logo's tail stays crisp */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - min(96px, 10%)), transparent 100%);
  mask-image: linear-gradient(180deg, #000 calc(100% - min(96px, 10%)), transparent 100%);
}
/* Short laptop screens (e.g. 1366x768): show the whole artwork rather than cropping the logo's tail */
@media (min-width: 701px) and (max-height: 820px) {
  .hero-art img {
    object-position: center 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 calc(100% - 24px), transparent 100%);
  }
}
.hero-content {
  position: relative; z-index: 1; max-width: 900px; margin: -24px auto 0;
  padding: 0 var(--gutter) clamp(48px, 6vw, 72px);
}
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--beet-hot); margin-bottom: 16px;
}
.hero-quote { font-size: clamp(17px, 2.2vw, 22px); color: var(--text); opacity: .85; margin: 4px 0 28px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  font-family: var(--body); transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--beet); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--beet-hot); color: var(--bg); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-small { padding: 10px 20px; font-size: 12px; border-color: var(--beet); color: var(--text); }
.btn-small:hover { background: var(--beet); }
.btn-soldout { border-color: var(--line); color: var(--muted); pointer-events: none; }

/* ===== Sections ===== */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--gutter); }
/* Menu links and #shows-style links stop with the heading clear of the fixed header (and the iPhone notch) */
.section[id] { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 36px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.section-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 84px); line-height: .95; letter-spacing: .01em; overflow-wrap: anywhere;
}
.card-title { overflow-wrap: anywhere; }
.more-link { color: var(--muted); font-weight: 500; transition: color .2s; }
.more-link:hover { color: var(--beet-hot); }
.lede { color: var(--muted); font-size: 18px; max-width: 560px; margin: 18px 0 28px; }

/* Release */
.release { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cover-placeholder {
  aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center;
  background: conic-gradient(from 200deg at 40% 60%, var(--beet-deep), var(--beet), var(--beet-hot), var(--beet-deep));
  box-shadow: 0 30px 80px rgba(138, 43, 226, .35);
}
.release-art img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; box-shadow: 0 30px 80px rgba(138, 43, 226, .35);
}
.stream-links { display: flex; flex-wrap: wrap; gap: 10px; }
.stream {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--surface); transition: border-color .2s, background .2s;
}
.stream:hover { border-color: var(--beet-hot); background: var(--beet-deep); }
.stream { display: inline-flex; align-items: center; gap: 8px; }
.stream svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stream svg .fill { fill: currentColor; stroke: none; }
.player { width: 100%; border: 0; border-radius: 12px; margin-bottom: 20px; }
/* Earlier singles */
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.catalogue-item { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.catalogue-item img, .cover-placeholder.small { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 16px 40px rgba(138, 43, 226, .25); }
.catalogue-item:hover img { opacity: .9; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.video-card.featured { grid-column: 1 / -1; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--surface); }
.video-frame iframe { position: absolute; top: 0; left: 0; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame:focus-within { outline: 3px solid var(--beet-hot); outline-offset: -3px; }
/* Thumbnail shown until the visitor taps play */
.video-facade { position: absolute; inset: 0; display: grid; place-items: center; background: var(--surface); }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-facade .play { position: relative; z-index: 1; }
.video-facade:focus-visible { outline: 3px solid var(--beet-hot); outline-offset: -3px; }
.video-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, var(--beet), var(--beet-deep) 60%, #000);
}
.video-placeholder.alt1 { background: radial-gradient(circle at 70% 40%, #3d4dff, var(--beet-deep) 60%, #000); }
.video-placeholder.alt2 { background: radial-gradient(circle at 40% 70%, var(--leaf), var(--beet-deep) 60%, #000); }
.play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); position: relative; transition: transform .2s, background .2s; }
.play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video-card:hover .play { transform: scale(1.08); background: var(--beet-hot); }
.video-card figcaption { margin-top: 12px; color: var(--muted); }
.video-card figcaption strong { color: var(--text); }

/* Feature cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(max(240px, 30%), 1fr)); padding-top: 0; }
.feature-card {
  position: relative; min-height: 340px; padding: 32px; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  transition: transform .35s;
}
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform .6s; }
.feature-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55)); }
.feature-card { border: 1px solid var(--line); }
.feature-card.c1::before { background: radial-gradient(120% 90% at 0% 0%, var(--beet-hot), transparent 60%), radial-gradient(80% 80% at 100% 100%, var(--leaf), transparent 60%), var(--beet-deep); }
.feature-card.c2::before { background: radial-gradient(100% 80% at 100% 0%, var(--beet), transparent 60%), radial-gradient(70% 70% at 0% 100%, #3d4dff, transparent 60%), #1a0b33; }
.feature-card.c3::before { background: radial-gradient(90% 90% at 50% 0%, var(--beet), transparent 65%), radial-gradient(80% 60% at 100% 100%, var(--beet-hot), transparent 60%), #1a0b33; }
.feature-card:hover { transform: translateY(-6px); }
.feature-card:hover::before { transform: scale(1.08); }
.card-kicker { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; opacity: .75; }
.card-title { font-family: var(--display); font-size: clamp(36px, 4vw, 52px); text-transform: uppercase; line-height: 1; margin: 8px 0; }
.card-sub { color: rgba(255,255,255,.75); }

/* Shows */
.shows-list { list-style: none; border-top: 1px solid var(--line); }
.shows-list li {
  display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .2s;
}
.shows-list li:hover { background: linear-gradient(90deg, rgba(138,43,226,.12), transparent); }
.shows-list time { font-family: var(--display); font-size: 28px; color: var(--beet-hot); }
.venue { display: flex; flex-direction: column; }
.venue strong { font-size: 18px; }
.venue em { font-style: normal; color: var(--muted); font-size: 14px; }
.empty-state { color: var(--muted); margin-top: 24px; }
.shows-list li[hidden] { display: none; }

/* Merch */
.merch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.merch-item { display: flex; flex-direction: column; gap: 4px; }
.merch-img { aspect-ratio: 4 / 5; border-radius: 6px; margin-bottom: 10px; background: var(--surface); transition: transform .3s; }
img.merch-img { width: 100%; height: auto; object-fit: cover; }
.merch-img.m1 { background: radial-gradient(circle at 50% 45%, var(--beet) 0 22%, var(--surface) 23%); }
.merch-img.m2 { background: radial-gradient(circle at 50% 45%, var(--beet-hot) 0 18%, #1d1428 19%); }
.merch-img.m3 { background: linear-gradient(160deg, var(--beet-deep), var(--beet) 60%, var(--beet-hot)); }
.merch-img.m4 { background: radial-gradient(circle at 30% 30%, var(--beet) 0 14%, transparent 15%), radial-gradient(circle at 70% 65%, var(--leaf) 0 12%, transparent 13%), var(--surface); }
.merch-item:hover .merch-img { transform: scale(1.03); }
.merch-item span { font-weight: 700; }
.merch-item em { font-style: normal; color: var(--muted); }

/* Signup */
.signup { text-align: center; }
.signup .lede { margin-inline: auto; }
.signup-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.signup-form input {
  flex: 1; min-width: 0; padding: 15px 22px; border-radius: 999px; font: inherit;
  background: var(--surface); color: var(--text); border: 1px solid rgba(255, 255, 255, .35);
}
.signup-form input::placeholder { color: var(--muted); }
.consent-note { color: var(--muted); font-size: 13px; max-width: 520px; margin: 16px auto 0; }
.consent-note a { text-decoration: underline; }
.signup-form input:focus { outline: 2px solid var(--beet-hot); outline-offset: 2px; }
.form-note { min-height: 1.6em; margin-top: 14px; color: var(--muted); }
/* About */
.about { max-width: 760px; }
.about-text p { color: var(--muted); font-size: 17px; margin: 18px 0 0; }
.about-text .section-title { margin-bottom: 8px; }
.about.has-photo { max-width: var(--max); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { width: 100%; height: auto; border-radius: 6px; }
.legal { max-width: 720px; padding-top: 80px; }
.legal p { color: var(--muted); margin: 18px 0; }
.legal .section-title { font-size: clamp(36px, 6vw, 64px); }
.more-videos { text-align: center; margin-top: 32px; }
.contact { text-align: center; }
.contact h2.eyebrow { font-size: 12px; }
.contact .lede { margin: 12px auto 24px; }
.signup + .contact { padding-top: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding: 40px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px;
}
/* Script logo in the footer: the PNG is only a stencil, the colour comes from background */
.footer-mark {
  display: block; width: 120px; aspect-ratio: 240 / 177; background: var(--text);
  -webkit-mask: url("assets/logo/wordmark-mask.png") center / contain no-repeat;
  mask: url("assets/logo/wordmark-mask.png") center / contain no-repeat;
  transition: background .2s;
}
.footer-mark:hover { background: var(--beet-hot); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.copyright { color: var(--muted); font-size: 13px; margin-left: auto; }

/* Scroll reveal */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
.reveal.in { opacity: 1; translate: none; }
/* Sections only fade (no slide): a slide would make menu links land 24px short of the heading */
.section.reveal { translate: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .site-header > .socials { display: none; }
  .hero-socials { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1; flex-direction: column; justify-content: flex-start; align-items: center; gap: 28px;
    padding: 88px 24px 32px; overflow-y: auto; overscroll-behavior: contain;
    background: rgba(9, 7, 12, .97); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s;
  }
  /* Centred when there's room, scrollable when there isn't (phone held sideways) */
  .main-nav > :first-child { margin-top: auto; }
  .main-nav > :last-child { margin-bottom: auto; }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .about.has-photo { grid-template-columns: 1fr; }
  .main-nav a { font-family: var(--display); font-size: 40px; letter-spacing: .04em; font-weight: 400; }
  .main-nav .nav-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; max-width: 100%; margin-top: 12px; }
  .nav-socials a { font-size: 0; padding: 0; }
  .nav-socials a::after { content: none; }
  .release { grid-template-columns: 1fr; }
  .release-art { order: 2; } /* phones: title and streaming buttons first, cover after */
  .video-grid { grid-template-columns: 1fr; }
  .shows-list li { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .shows-list time { grid-column: 1 / -1; font-size: 22px; }
  .signup-form { flex-direction: column; }
  .copyright { margin-left: 0; }
}
@media (max-width: 760px) and (max-height: 500px) {
  .main-nav { gap: 10px; }
  .main-nav > a { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; }
}

/* ===== Phones (iOS Safari + Android Chrome) ===== */
/* Keep content clear of notches / rounded corners / home indicator */
.site-header {
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  padding-top: max(20px, env(safe-area-inset-top));
}
.site-header.scrolled { padding-top: max(12px, env(safe-area-inset-top)); }
.site-footer { padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 24px)); }
/* 16px+ stops iOS Safari from zooming in when the email field is tapped */
.signup-form input { font-size: 16px; }
/* Menu open: lock scrolling on the page behind (iOS needs it on <html> too) */
html.menu-open, html.menu-open body { overflow: hidden; }
/* Comfortable tap targets */
.main-nav a, .stream, .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.menu-toggle { min-width: 44px; min-height: 44px; }
.section, .hero-content, .site-footer {
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
/* Touch screens have no hover: don't leave anything "stuck" in its hover look after a tap */
@media (hover: none) {
  .btn:hover, .feature-card:hover { transform: none; }
  .feature-card:hover::before, .merch-item:hover .merch-img { transform: none; }
  .footer-socials a:hover svg, .nav-socials a:hover svg, .hero-socials a:hover svg { opacity: .8; color: inherit; }
  .btn-primary:hover { background: var(--beet); color: #fff; }
  .btn-ghost:hover { background: transparent; color: var(--text); }
  .btn-small:hover { background: transparent; }
  .stream:hover { border-color: var(--line); background: var(--surface); }
  .shows-list li:hover { background: none; }
  .more-link:hover, .footer-links a:hover { color: var(--muted); }
  .main-nav a:hover::after { width: 0; }
  .video-card:hover .play { background: rgba(255,255,255,.14); transform: none; }
  .catalogue-item:hover img { opacity: 1; }
  .footer-mark:hover { background: var(--text); }
}
/* A quick "pressed" look the instant something is tapped */
.btn[href]:active, button.btn:active { transform: scale(.97); }
.btn-primary[href]:active, button.btn-primary:active { background: var(--beet-hot); color: var(--bg); }
.btn-ghost[href]:active { background: var(--text); color: var(--bg); }
.btn-small[href]:active { background: var(--beet); }
.stream[href]:active { border-color: var(--beet-hot); background: var(--beet-deep); }
.feature-card[href]:active { transform: scale(.99); }
.main-nav a, .more-link, .wordmark, .footer-mark { min-height: 44px; display: inline-flex; align-items: center; }
/* Phones: show the whole logo crop (no cover-cropping) and clear the fixed header */
@media (max-width: 700px) {
  .hero-art { display: block; padding-top: max(60px, calc(env(safe-area-inset-top) + 52px)); }
  .hero-art img {
    height: auto; min-height: 0;
    aspect-ratio: auto 900 / 634; /* the phone artwork's shape, so the page doesn't jump when it loads */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
  }
  .hero-content { margin-top: 0; }
}
