:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #1d1a24;
  --muted: #6b6475;
  --line: #e8e2da;
  --accent: #d6336c;
  --accent-ink: #ffffff;
  --deep: #241b35;
  --radius: 14px;
  --wrap: 1200px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 .75rem; }
.meta { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.meta a { color: inherit; }

.btn { display: inline-block; padding: .75em 1.3em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 2px solid var(--accent); }
.btn:hover { filter: brightness(1.08); }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--deep); border-color: #fff; }
.btn-small { padding: .45em 1em; font-size: .9rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-header nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }

.hero { padding: 64px 0 48px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start; }
/* Square art, never cropped. static/hero.js sets --art to the text column's height
   on wide screens so the two line up exactly; 480px is the no-JS fallback. */
.hero-art { width: var(--art, 480px); aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(36, 27, 53, .18); }
.hero-art img { width: 100%; height: 100%; }
.lede { font-size: 1.1rem; color: var(--muted); }
.lede p { margin: 0 0 .8em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.latest { background: var(--deep); color: #fff; border-radius: var(--radius); padding: 32px; }
.latest h2 a { color: #fff; text-decoration: none; }
.latest .meta { color: rgba(255, 255, 255, .7); }
.latest .eyebrow { color: #ff8fb5; }
.latest-video { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.latest-video .yt-embed { margin: 0; }
.latest h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.latest-excerpt { color: rgba(255, 255, 255, .78); font-size: .95rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.latest-link { color: #ff8fb5; font-weight: 600; text-decoration: none; font-size: .95rem; }
.latest-link:hover { text-decoration: underline; }
audio { width: 100%; margin: 16px 0; }
.yt-embed { position: relative; aspect-ratio: 16 / 9; margin: 16px 0 8px; border-radius: var(--radius); overflow: hidden; background: #000; }
.yt-embed iframe, .yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { padding: 0; cursor: pointer; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .15s; }
.yt-play svg { width: 68px; height: 48px; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { transform: translate(-50%, -50%) scale(1.1); }
.listen { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.listen-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.pill { display: inline-block; padding: .35em .9em; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 6px; }
.pill svg, .pill img { width: auto; height: 16px; flex: none; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
section.wrap { margin-bottom: 56px; }

/* Kit-style lists: featured card + wide rows */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row + .row { border-top: 1px solid var(--line); }
.row a { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; padding: 22px 24px; color: inherit; text-decoration: none; }
.row a:hover h3, .feature h2 a:hover { color: var(--accent); }
.row h3 { font-size: 1.25rem; margin: 0 0 .35em; transition: color .15s; }
.row-body { display: block; min-width: 0; }
.row-excerpt, .feature-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); font-size: .95rem; margin-bottom: .5em; }
.row .meta { display: block; margin: 0; font-size: .82rem; }
.thumb { display: block; overflow: hidden; border-radius: 10px; background: #d5cecf; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-square, .thumb-art { aspect-ratio: 1 / 1; }
.thumb-video { aspect-ratio: 16 / 9; }
.row .thumb-art { aspect-ratio: 16 / 9; }
.row .thumb-art img { object-fit: contain; }

.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.feature h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: .5em 0 .4em; }
.feature h2 a { color: inherit; text-decoration: none; transition: color .15s; }
.feature-excerpt { -webkit-line-clamp: 3; font-size: 1rem; }
.feature-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.feature-foot .meta { margin: 0; font-size: .85rem; }
.feature-media { display: block; }
.feature .thumb-photo { aspect-ratio: 4 / 3; }
.chip { display: inline-block; padding: .25em .7em; border-radius: 6px; background: #fbe4ec; color: var(--accent); font-size: .78rem; font-weight: 600; }

.band { background: var(--accent); color: #fff; padding: 48px 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band p { margin: 0; opacity: .9; }
.band-inner > div { flex: 1 1 320px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup { flex: 1 1 360px; max-width: 520px; margin: 0; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"] { flex: 1 1 180px; min-width: 0; padding: .75em 1.2em; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; }
.signup input[type="email"]:focus { outline: none; border-color: var(--accent); }
.signup-light input[type="email"] { border-color: #fff; }
.signup-light input[type="email"]:focus { border-color: var(--deep); }
.signup .btn:disabled { opacity: .6; cursor: wait; }
.signup .signup-status { margin: .6em 0 0; min-height: 1.4em; font-size: .92rem; }
.signup .signup-status:empty { margin: 0; min-height: 0; }
.signup .signup-status[data-state="ok"], .signup .signup-status[data-state="error"] { font-weight: 600; }

.page { padding-top: 48px; }
.prose { overflow-wrap: anywhere; }
.prose img { border-radius: 8px; margin: 1em auto; }
.kit-content table { max-width: 100% !important; width: auto !important; }
.cta { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cta p { margin: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Below this width there isn't room for a square as tall as the text beside it,
   so stack the hero: art on top, square and centered. Keep in sync with hero.js. */
@media (max-width: 1179px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; width: 100%; max-width: 560px; justify-self: center; }
}

@media (max-width: 760px) {
  /* Header: brand + Subscribe on row 1, links on row 2. */
  .header-inner { justify-content: flex-start; gap: 10px 18px; padding-top: 10px; padding-bottom: 10px; }
  .site-header nav { display: contents; }
  .brand { order: 1; }
  .site-header nav .btn { order: 2; margin-left: auto; }
  .header-inner::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
  .site-header nav > a:not(.btn) { order: 4; }
  .hero { padding-top: 40px; }
  .hero-art { max-width: none; }
  .latest { padding: 24px 20px; }
  .latest-video { grid-template-columns: 1fr; gap: 20px; }
  .feature { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .feature-media { order: -1; }
  .row a { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; }
  .row h3 { font-size: 1.05rem; }
  .row-excerpt { font-size: .88rem; }
}

@media (max-width: 380px) {
  .header-inner { gap: 8px 10px; }
  .brand { font-size: 1.1rem; }
  .site-header nav > a:not(.btn) { font-size: .95rem; }
  .site-header .btn-small { padding: .4em .85em; font-size: .85rem; }
}

/* Winter Club: site-wide banner while registration is promoted, and its page */
.announce { display: block; background: var(--deep); color: #fff; text-decoration: none; font-size: .9rem; }
.announce .wrap { display: block; padding-top: 10px; padding-bottom: 10px; }
.announce strong { color: #ff8fb5; white-space: nowrap; }
.announce:hover strong { text-decoration: underline; }

.wc { max-width: 900px; }
.wc-intro { max-width: 720px; }
.wc-lede { font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.wc-intro p:not(.eyebrow):not(.wc-lede) { color: var(--muted); }
.wc-section { margin-top: 56px; }
.wc-included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wc-included li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.wc-included h3 { margin: 0 0 .3em; }
.wc-included p { margin: 0; color: var(--muted); }
.wc-quote { margin: 24px 0 0; padding-left: 16px; border-left: 3px solid var(--accent); font-style: italic; }
.wc-quote span { display: block; margin-top: 4px; font-style: normal; font-weight: 600; font-size: .9rem; color: var(--muted); }
.wc-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.plan-main { border: 2px solid var(--accent); }
.plan h3 { margin: 0; }
.plan .price { font-family: var(--serif); font-size: 2.6rem; font-weight: 800; line-height: 1.1; margin: .2em 0 .1em; color: var(--ink); }
.plan .price span { font-size: 1rem; font-weight: 600; color: var(--muted); font-family: var(--sans); }
.plan p { margin: 0 0 18px; color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan .plan-note { margin: 10px 0 0; font-size: .85rem; }
.wc-small { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.wc-letter { max-width: 720px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.wc-letter p { margin: 0 0 .9em; }
.wc-letter .wc-sign { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin: 0; }
.wc-join-lede { margin: -.2em 0 18px; color: var(--muted); }

@media (max-width: 640px) {
  .wc-included, .wc-plans { grid-template-columns: 1fr; }
}
