/* Standup Studio LA
   Same palette and fonts as the old site, far fewer layers:
   one column, strong headlines, alternating bands. */

/* Headline font: Acrylic Hand Thick by Tom Chalky (licensed), self-hosted. */
@font-face {
  font-family: "Acrylic Hand";
  src: url("/fonts/AcrylicHand-Thick.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* The typewriter-ish partner face from the same family, used for small labels. */
@font-face {
  font-family: "Acrylic Hand Serif";
  src: url("/fonts/AcrylicHand-Serif.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #EDEEE1;
  --cream-2: #E2E4D2;
  --ink: #231F20;
  --black: #0B0B0B;
  --olive: #71743F;
  --gold: #D3C77C;
  --white: #FFFFFF;
  --rule: #C9CBB6;
  --muted: #5F5F50;
  --mustard: #C9B341;
  --paint: #161512;
  --type: "Acrylic Hand Serif", "Courier New", monospace;
  /* Fine paper tooth, layered over the flat cream sections. */
  --tooth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='t' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' stitchTiles='stitch' baseFrequency='0.8' numOctaves='3' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.05 0 0 0 0.9 -0.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
  --head: "Acrylic Hand", "Open Sans", sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
  /* Dry-brush grain laid over headline letters, so they stay live text. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' stitchTiles='stitch' baseFrequency='0.02 0.55' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -8 6.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tooth), var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
[id] { scroll-margin-top: 64px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Painted headlines */
.paint, .wordmark { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: 1.08; }
.paint {
  -webkit-mask-image: var(--grain); mask-image: var(--grain);
  -webkit-mask-size: 260px 260px; mask-size: 260px 260px;
}
.paint { color: var(--paint); margin: 0 0 .45em; font-size: clamp(30px, 5vw, 46px); text-wrap: balance; }

/* Top bar */
.topbar { background: var(--black); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.wordmark { color: var(--white); text-decoration: none; font-size: 22px; letter-spacing: .01em; }
.topbar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar nav a { color: #F5F5F5; text-decoration: none; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.topbar nav a:hover { color: var(--gold); }

/* Mustard painted paper: the real background from the studio's promo artwork. */
.mustard { background: #C9B341 url("/images/paper-mustard.jpg") center / cover no-repeat; color: var(--paint); }
.mustard .paint { color: var(--paint); }

/* Hero: laid out like the promos. Headline up top, mic left, stool right, art bleeding off the bottom. */
.hero { position: relative; overflow: hidden; padding-top: clamp(34px, 5vw, 64px); text-align: center; }
.hero-copy { position: relative; z-index: 2; max-width: 800px; }
.hero .paint { font-size: clamp(44px, 9vw, 108px); line-height: .95; margin-bottom: .18em; }
.kicker { font-family: var(--type); font-size: clamp(17px, 2.6vw, 30px); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.lede { font-size: clamp(17px, 2vw, 20px); max-width: 30em; margin: 0 auto; font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.stage { position: relative; max-width: 1180px; margin: 0 auto; height: clamp(210px, 27vw, 340px); }
.stage img { position: absolute; bottom: 0; width: auto; max-width: none; }
.stage-mic { left: 5%; height: 205%; }
.stage-stool { right: 5%; height: 96%; }

/* Buttons */
.btn {
  display: inline-block; border: 2px solid var(--ink); border-radius: 2px; cursor: pointer;
  background: var(--ink); color: var(--white); text-decoration: none; text-align: center;
  font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1.1; text-transform: uppercase;
  padding: 13px 22px; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--olive); border-color: var(--olive); }
.btn-mustard { background: var(--mustard); border-color: var(--mustard); color: var(--paint); }
.btn-mustard:hover { background: var(--white); border-color: var(--white); color: var(--paint); }
.btn-line { background: transparent; color: var(--paint); border-color: var(--paint); }
.btn-line:hover { background: var(--paint); border-color: var(--paint); color: var(--white); }

/* Bands */
.band { padding: clamp(48px, 7vw, 84px) 0; }
.band-alt { background: var(--tooth), var(--cream-2); }
.band-dark { background: var(--tooth), var(--paint); color: var(--cream); }
.band-dark .paint { color: var(--mustard); }
.intro { max-width: 40em; margin-bottom: 30px; }
.loading, .empty { color: var(--muted); }

/* This month's class */
.feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border: 3px solid var(--paint); box-shadow: 8px 8px 0 var(--paint); }
.feature-main { padding: clamp(20px, 3.4vw, 34px); }
.feature + .feature { margin-top: 34px; }
/* With a promo poster: the whole square poster on the left, never cropped; details above the buy bar on the right. */
.feature.has-art { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); grid-template-rows: 1fr auto; background: var(--tooth), var(--paint); }
.feature-art { grid-row: 1 / span 2; align-self: center; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.has-art .feature-main { background: var(--white); border-left: 3px solid var(--paint); }
.has-art .feature-buy { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-top: 20px; padding-bottom: 20px; }
.has-art .feature-buy .btn { margin-top: 0; }
.has-art .bigprice { font-size: clamp(44px, 6vw, 60px); }
.per { display: block; }
.tag { display: inline-block; background: var(--paint); color: var(--mustard); font-family: var(--type); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 12px; }
.feature h3 { font-family: var(--head); text-transform: uppercase; font-size: clamp(30px, 4.6vw, 46px); line-height: 1; margin: 0 0 16px; font-weight: 800; -webkit-mask-image: var(--grain); mask-image: var(--grain); -webkit-mask-size: 260px 260px; mask-size: 260px 260px; }
.dates { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; padding: 0; }
.dates li { border: 2px solid var(--paint); background: rgba(255,255,255,.35); padding: 8px 14px; text-align: center; line-height: 1.15; min-width: 76px; }
.dates small { display: block; font-family: var(--type); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.dates b { font-size: 20px; }
.facts { margin: 0; }
.feature-buy { background: var(--tooth), var(--paint); color: var(--cream); padding: clamp(22px, 4vw, 38px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; }
.bigprice { font-family: var(--head); font-size: clamp(54px, 8vw, 76px); line-height: 1; color: var(--mustard); }
.feature-buy .btn { margin-top: 14px; align-self: stretch; }
.buy-note { font-size: 14px; margin: 8px 0 0; min-height: 1.4em; color: inherit; opacity: .85; }

/* How private lessons work */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 0 38px; padding: 0; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 12px; font-size: 16px; }
.steps li::before { content: counter(s); display: block; font-family: var(--head); font-size: 38px; line-height: 1; color: var(--paint); margin-bottom: 6px; }
.steps strong { display: block; }

/* Coach cards */
.coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.coach { background: var(--white); border: 2px solid var(--paint); box-shadow: 5px 5px 0 var(--paint); display: flex; flex-direction: column; }
.coach > img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream-2); border-bottom: 2px solid var(--ink); }
.coach-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.coach h3 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; }
.coach dl { margin: 0; font-size: 15px; }
.coach dt { font-family: var(--type); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-top: 6px; }
.coach dd { margin: 0; }
.coach details { border: 0; padding: 0; font-size: 15px; }
.coach summary { font-size: 15px; font-weight: 700; color: var(--olive); }
.coach .buy { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price b { font-size: 26px; font-weight: 800; }
.price span { color: var(--muted); font-size: 14px; }
.coach .buy-note { flex-basis: 100%; margin: 0; }

/* Friends */
.friends { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 760px; }
.friend { display: flex; align-items: center; gap: 16px; text-decoration: none; background: var(--white); border: 2px solid var(--ink); padding: 14px; transition: transform .15s; }
.friend:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.friend img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; background: var(--cream-2); flex: none; }
.friend strong { display: block; font-size: 19px; line-height: 1.2; }
.friend em { font-style: normal; color: var(--olive); font-weight: 600; font-size: 15px; }

/* Newsletter */
.signup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.signup input { font: inherit; padding: 12px 14px; border: 2px solid var(--cream); border-radius: 2px; background: var(--white); color: var(--ink); flex: 1 1 200px; min-width: 0; }
.form-note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; min-height: 1.4em; }

/* FAQ */
.faq { max-width: 780px; }
details { border-top: 1px solid var(--rule); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 700; font-size: 19px; }
details p { margin: 10px 0 0; }

.footer { background: var(--black); color: #CFCFC2; padding: 34px 0; font-size: 14px; }
.footer p { margin: 8px 0 0; }

/* Mid widths: keep the mic clear of the headline and subline. */
@media (max-width: 1100px) {
  .stage-mic { left: 1%; height: 130%; }
  .stage-stool { right: 1%; height: 88%; }
}
@media (max-width: 760px) {
  .feature, .feature.has-art, .steps { grid-template-columns: minmax(0, 1fr); }
  .feature.has-art { grid-template-rows: auto; }
  .feature-art { grid-row: auto; }
  .has-art .feature-main { border-left: 0; border-top: 3px solid var(--paint); }
  .stage-mic { left: -2%; height: 120%; }
  .stage-stool { right: -4%; height: 80%; }
  .feature-art { padding: 18px 18px 0; }
  .steps { gap: 16px; }
  .topbar nav { gap: 14px; }
  .topbar nav a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
