/* Layout concept: a royal purple field opens the page, brass buttons carry every key action,
   and the rest sits on cool lagoon mist like the water behind Ket in her welcome clip. */
/* Single committed look: black ground, a royal purple field, gold buttons.
   Purple carries the hero, the email band, and key accents; gold carries every main action. */
:root {
  --blazer: #6a1fb0;        /* royal purple: hero field + key accents */
  --blazer-deep: #4a1480;   /* deeper purple for panels */
  --brass: #e3a72f;         /* gold buttons: primary actions */
  --brass-deep: #b98317;
  --ink: #f3eef8;           /* text */
  --muted: #a99bb8;         /* secondary text */
  --ground: #0b0810;        /* black page ground */
  --surface: #17111f;       /* raised black */
  --line: #2c2238;
  --lagoon: #c9a6ff;        /* links: lavender */
  --accent-text: #c59bff;   /* small purple text on black */
  --tag: #eadbb6;           /* manila repair tag */
  --tag-ink: #2a1d0c;
  --on-blazer: #ffffff;
  --live: #ff4d63;

  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: 2.4rem;
  --step-4: clamp(2.8rem, 7vw, 5.2rem);
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; margin: 0; }
h2 { font-family: var(--display); font-weight: 400; font-size: var(--step-3); letter-spacing: 0.01em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; max-width: 62ch; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 9vw, 104px); }
.band + .band { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: #2a1020; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--blazer); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: var(--blazer); color: var(--on-blazer); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.55rem; color: var(--on-blazer); text-decoration: none; line-height: 1; }
.wordmark:hover { color: var(--on-blazer); }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-left: auto; }
.site-nav a { color: var(--on-blazer); text-decoration: none; font-weight: 700; font-size: var(--step--1); opacity: 0.92; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #2a1020;
  font-weight: 700; font-size: var(--step--1); padding: 4px 12px; border-radius: 999px; text-decoration: none;
}
.live-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (max-width: 640px) { .site-nav { margin-left: 0; width: 100%; } }

/* ---------- brass button (the signature) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; font: 700 var(--step-0)/1 var(--body);
  text-decoration: none; border-radius: 999px; padding: 8px 22px 8px 8px; border: 0; cursor: pointer;
}
.btn-brass { background: var(--brass); color: #2a1020; box-shadow: inset 0 -3px 0 var(--brass-deep); }
.btn-brass:hover { color: #2a1020; filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--on-blazer); border: 2px solid rgba(255,255,255,0.7); padding: 12px 22px; }
.btn-ghost:hover { color: var(--on-blazer); background: rgba(255,255,255,0.12); }
/* a sewn blazer button: brass disc, four thread holes */
.sewn {
  width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative;
  background: radial-gradient(circle at 35% 30%, #ffe3a3, var(--brass) 45%, var(--brass-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(42,16,32,0.18);
}
.sewn::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px;
  background:
    radial-gradient(circle, #2a1020 1.6px, transparent 2px) 0 0 / 6px 6px;
  opacity: 0.55;
}
.btn-brass .sewn { background: radial-gradient(circle at 35% 30%, #fff1cf, #f5c457 50%, var(--brass-deep) 100%); }

/* ---------- hero ---------- */
.hero { background: var(--blazer); color: var(--on-blazer); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 64px); align-items: end; padding-block: clamp(40px, 7vw, 84px) 0; }
.hero-copy { padding-bottom: clamp(40px, 7vw, 84px); display: grid; gap: 22px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: var(--step-4); line-height: 0.98; letter-spacing: 0.005em; }
.hero-lede { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
.hero-lede strong { font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.topics li { border: 1.5px solid rgba(255,255,255,0.55); border-radius: 999px; padding: 3px 12px; font-size: var(--step--1); font-weight: 700; }
.hero-media { position: relative; align-self: end; }
.hero-media video, .hero-media img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 220px 220px 0 0;
  background: var(--blazer-deep);
}
.replay {
  position: absolute; right: 14px; bottom: 16px; background: rgba(42,16,32,0.72); color: #fff;
  border: 0; border-radius: 999px; padding: 8px 14px; font: 700 var(--step--1)/1 var(--body); cursor: pointer;
}
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-media { max-width: 360px; justify-self: center; width: 100%; }
}

/* ---------- socials hub ---------- */
.socials { display: grid; gap: 10px; }
.social {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: transform .15s ease, border-color .15s ease;
}
.social:hover { color: var(--ink); border-color: var(--accent-text); transform: translateX(4px); }
.social-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ground); color: var(--accent-text); }
.social-icon svg { width: 28px; height: 28px; fill: currentColor; }
.social-name { font-family: var(--display); font-size: var(--step-2); line-height: 1; }
.social-handle { color: var(--muted); font-size: var(--step--1); display: block; margin-top: 4px; }
.social-status { font-weight: 700; font-size: var(--step--1); color: var(--muted); text-align: right; }
.social-status.is-live { color: #fff; background: var(--live); padding: 6px 12px; border-radius: 999px; }
.schedule { margin-top: 18px; color: var(--muted); }
@media (max-width: 520px) {
  .social { grid-template-columns: 44px minmax(0, 1fr); }
  .social-icon { width: 44px; height: 44px; }
  .social-status { grid-column: 2; text-align: left; justify-self: start; }
}

/* ---------- videos ---------- */
.watch { background: var(--surface); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 22px; }
.video { color: var(--ink); text-decoration: none; display: grid; gap: 10px; }
.video:hover { color: var(--accent-text); }
.video .thumb { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--ground); }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video h3 { font-size: var(--step-0); line-height: 1.35; }
.video time { color: var(--muted); font-size: var(--step--1); }
.live-card {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center;
  background: var(--blazer-deep); color: var(--ink); border-radius: var(--radius); padding: 18px; margin-bottom: 36px; text-decoration: none;
}
.live-card:hover { color: var(--ink); }
.live-card img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.live-card .badge { display: inline-block; background: var(--live); color: #fff; font-weight: 700; padding: 3px 10px; border-radius: 6px; margin-bottom: 10px; }
@media (max-width: 680px) { .live-card { grid-template-columns: 1fr; } }
.video-grid .empty-note { grid-column: 1 / -1; }
.empty-note { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); display: grid; gap: 14px; justify-items: start; }
.text-link { font-weight: 700; }

/* ---------- series ---------- */
.series-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.series-feature h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-3); line-height: 1.02; }
.series-feature .copy { display: grid; gap: 16px; }
.working-title { font-size: var(--step--1); color: var(--muted); }
/* the placket: seasons as buttons down a blazer front */
.placket { list-style: none; margin: 0; padding: 0 0 0 0; display: grid; gap: 0; position: relative; }
.placket::before { content: ""; position: absolute; left: 16px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 11px); }
.placket li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; align-items: center; padding-block: 8px; position: relative; }
.placket .sewn.off { background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.placket .sewn.off::before { opacity: 0.25; }
.placket .s-title { font-weight: 700; }
.placket .s-goal { color: var(--muted); font-size: var(--step--1); display: block; }
.placket li.current .s-title::after { content: "Now filming"; margin-left: 10px; font-size: 0.75rem; background: var(--blazer); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; }
.ledger-row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.ledger-row span:last-child { font-weight: 700; }
.meter { height: 12px; background: var(--ground); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--blazer); border-radius: 999px; }
.more-shows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.more-shows div { display: grid; gap: 6px; align-content: start; }
.more-shows p { color: var(--muted); font-size: var(--step--1); }
.soon { font-size: 0.75rem; font-weight: 700; color: var(--accent-text); }
@media (max-width: 760px) { .series-feature, .more-shows { grid-template-columns: 1fr; } }

/* ---------- for sale: repair tags ---------- */
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.tag {
  position: relative; background: var(--tag); color: var(--tag-ink); padding: 44px 20px 22px;
  clip-path: polygon(22% 0, 78% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
  display: grid; gap: 10px; align-content: start;
}
.tag::before { content: ""; position: absolute; top: 14px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 3px rgba(59,42,18,0.25); }
.tag img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; width: 100%; }
.tag h3 { font-size: var(--step-0); }
.tag .price { font-family: var(--display); font-size: var(--step-2); line-height: 1; }
.tag .fix { font-size: var(--step--1); }
.tag .buy-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tag .buy-links a { color: var(--tag-ink); font-weight: 700; font-size: var(--step--1); }
.tag.is-empty { max-width: 420px; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { padding-block: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.service-list li:first-child { border-top: 1px solid var(--line); }
.service-list p { color: var(--muted); font-size: var(--step--1); }
.test-card { background: var(--blazer-deep); color: var(--ink); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; align-content: start; }
.test-card h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-2); }
.test-card dl { margin: 0; display: grid; gap: 12px; }
.test-card dt { font-weight: 700; color: var(--brass); }
.test-card dd { margin: 0; font-size: var(--step--1); }
.test-card .seal { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 14px; font-size: var(--step--1); }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- bench ---------- */
.bench-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 26px; }
.bench-groups h3 { font-size: var(--step-0); color: var(--accent-text); margin-bottom: 8px; }
.bench-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bench-groups li { display: grid; gap: 1px; }
.bench-groups li span { color: var(--muted); font-size: var(--step--1); }
.disclosure { margin-top: 32px; color: var(--muted); font-size: var(--step--1); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-grid img { border-radius: 50% 50% 18px 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 380px; }
.about-copy { display: grid; gap: 16px; }
.about-copy .big { font-size: var(--step-1); line-height: 1.45; }
.other-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.other-work a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); padding: 18px; border-left: 3px solid var(--brass); background: var(--surface); }
.other-work a:hover { color: var(--accent-text); }
.other-work span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 760px) { .about-grid, .other-work { grid-template-columns: 1fr; } .about-grid img { max-width: 280px; } }

/* ---------- email list ---------- */
.list-band { background: var(--blazer); color: var(--on-blazer); }
.list-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.list-band p { font-size: var(--step-1); line-height: 1.45; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0; font: var(--step-0) var(--body); padding: 14px 18px; border-radius: 999px;
  border: 2px solid transparent; background: #fff; color: #2a1020;
}
.signup input:focus-visible { outline: 3px solid var(--brass); }
.form-note { font-size: var(--step--1); margin-top: 10px; min-height: 1.4em; }
@media (max-width: 760px) { .list-band .wrap { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: var(--step--1); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: var(--step-0) var(--body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); width: 100%;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-ways { display: grid; gap: 14px; align-content: start; }
.contact-ways ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.hp { position: absolute; left: -5000px; }
@media (max-width: 760px) { .contact-grid, .contact-form .row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #000000; color: var(--ink); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--ink); }
.site-footer .wordmark { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--step--1); }
.site-footer small { color: var(--muted); display: block; width: 100%; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--blazer); color: var(--on-blazer); }
.page-hero .wrap { padding-block: clamp(40px, 7vw, 80px); display: grid; gap: 16px; }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: var(--step-4); line-height: 1; }
.page-hero p { font-size: var(--step-1); line-height: 1.45; }
.prose { display: grid; gap: 18px; max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 18px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.test-card .btn { justify-self: start; }
