/* Better Way Foundry — studio homepage.
   Sep 17, 2026: rebuilt to match the CalAgent Suite design system, since
   CalAgent Suite is the flagship and the studio should read as the same
   family. Tokens are lifted from the live app: Inter throughout, ink
   #0f1729, accent #2463eb, page #f9fafb on white cards, 12px radii,
   hairline #e5e7eb borders. The previous parchment/brass/Fraunces
   identity is gone on purpose — do not reintroduce it piecemeal.

   Sep 19, 2026: .flagship gave way to .lineup — the studio now shows the
   StatewiseAgent / CalAgent Suite pair rather than one flagship product — and
   the footer grew a "Follow our work" row. Same tokens throughout; no new
   colours, fonts or radii were introduced for either. */

:root {
  --ink:         #0f1729;
  --ink-soft:    #475569;
  --ink-faint:   #64748b;
  --page:        #f9fafb;
  --surface:     #ffffff;
  --surface-alt: #f1f5f9;
  --line:        #e5e7eb;
  --line-soft:   #f1f5f9;
  --accent:      #2463eb;
  --accent-deep: #1d4ed8;
  --accent-wash: #eff6ff;
  --live:        #059669;
  --live-wash:   #ecfdf5;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 41, 0.06);
  --shadow-lg: 0 18px 48px rgba(15, 23, 41, 0.10);

  --wrap: 1140px;
  --step: clamp(1rem, 0.62rem + 1.5vw, 1.0625rem);
}

*, *::before, *::after { box-sizing: border-box; }

/* The browser's default `[hidden] { display: none }` is a plain element rule,
   so ANY class that sets `display` beats it. Every form on this page sets one,
   which meant `form.hidden = true` in app.js silently did nothing and a
   submitted form stayed on screen next to its own "thanks, that's sent"
   message. Caught in testing Sep 1, 2026. Do not remove. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.08; margin: 0; font-weight: 800; }
h3 { letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 520px) { .wrap { width: min(100% - 2rem, var(--wrap)); } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 0.975rem;
  padding: 0.8rem 1.3rem; border-radius: var(--radius);
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #cbd5e1; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1e293b; }
.btn:active { transform: translateY(1px); }

/* --- header ------------------------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.9rem;
}

.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.wordmark__mark {
  width: 1.6rem; height: 1.6rem; flex: none;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent) 0%, #4f83f1 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.85);
}
.wordmark__text { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; }
.wordmark__text strong { font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; font-size: 0.94rem; font-weight: 500; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav__cta {
  color: #fff !important; background: var(--ink);
  padding: 0.55rem 1rem; border-radius: 10px; font-weight: 600;
}
.site-nav__cta:hover { background: #1e293b; }
@media (max-width: 760px) {
  .site-nav { gap: 1rem; font-size: 0.88rem; }
  .site-nav a:not(.site-nav__cta) { display: none; }
}

/* --- hero --------------------------------------------------------------- */

.hero { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2rem, 4vw, 3.25rem); }

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-block;
  background: var(--accent-wash); color: var(--accent-deep);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border-radius: 999px; margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 1.2rem + 4.6vw, 4.25rem);
  max-width: 17ch;
  letter-spacing: -0.045em;
}
.hero .lede {
  margin-top: 1.5rem; max-width: 58ch;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: var(--ink-soft); line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.proof { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.9rem; padding: 0; list-style: none; }
.proof li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--ink-faint); font-weight: 500;
}
.proof li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: none;
}

/* --- section furniture -------------------------------------------------- */

.section-title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); }
.section-sub { margin-top: 0.85rem; max-width: 60ch; color: var(--ink-soft); font-size: 1.02rem; }

.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.75rem;
}

/* --- lineup (the two shipped brands) ------------------------------------ */
/* Sep 19, 2026. Replaces the old single-card .flagship block, which showed
   CalAgent Suite alone. Two equal cards now, because the point of the section
   is the relationship between them: StatewiseAgent is the brand, CalAgent
   Suite is the software inside it.

   Card language is borrowed wholesale from .product-card below — same
   surface, same hairline border, same radius and shadow — so the page still
   reads as one system even though these two are hand-written and everything
   in the directory is rendered from PocketBase. */

.lineup { padding-block: clamp(2.5rem, 5vw, 4rem); }

.lineup__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}
@media (max-width: 860px) { .lineup__grid { grid-template-columns: 1fr; } }

.lineup__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.lineup__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.lineup__kicker {
  color: var(--ink-faint); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}

.lineup__card h3 { font-size: clamp(1.45rem, 1rem + 1.7vw, 2rem); font-weight: 800; letter-spacing: -0.035em; }
.lineup__blurb { color: var(--ink-soft); }

.lineup__list {
  list-style: none; margin: 0.35rem 0 0; padding: 0.95rem 0 0;
  border-top: 1px solid var(--line-soft); display: grid; gap: 0.6rem;
}
.lineup__list li {
  position: relative; padding-left: 1.35rem;
  color: var(--ink-soft); font-size: 0.95rem;
}
.lineup__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* margin-top:auto pins the buttons to the bottom, so the StatewiseAgent card
   (no bullet list) and the CalAgent Suite card (four bullets) still line their
   CTAs up with each other on a wide screen. */
.lineup__actions { margin-top: auto; padding-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* App-window mock. Pure CSS on purpose — no screenshot to go stale, no image
   weight, and it still reads as the product at a glance. */
.mock {
  background: var(--surface-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; font-size: 0.8rem;
}
.mock__bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 0.8rem; background: var(--surface); border-bottom: 1px solid var(--line);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; flex: none; }
.mock__url {
  margin-left: 0.5rem; flex: 1; background: var(--page); border: 1px solid var(--line);
  border-radius: 6px; padding: 0.2rem 0.55rem; color: var(--ink-faint); font-size: 0.72rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock__body { padding: 0.9rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.mock__col { display: grid; gap: 0.5rem; align-content: start; }
.mock__colhead {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.4rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-faint);
}
.mock__deal {
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  padding: 0.55rem 0.6rem; box-shadow: var(--shadow-sm); display: grid; gap: 0.15rem;
}
.mock__deal strong { font-size: 0.76rem; font-weight: 600; letter-spacing: -0.01em; }
.mock__deal span { font-size: 0.68rem; color: var(--ink-faint); }
.mock__deal--flagged { border-color: #fecaca; }
.mock__deal em { font-style: normal; font-size: 0.68rem; font-weight: 600; color: #b91c1c; }
.mock__deal--active { border-color: #bfdbfe; box-shadow: 0 0 0 3px var(--accent-wash); }
@media (max-width: 480px) { .mock__body { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mock__col:last-child { display: none; } }

/* --- split / beliefs ---------------------------------------------------- */

.split { padding-block: clamp(2.5rem, 5vw, 4rem); }
.split__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .split__grid { grid-template-columns: 1fr; } }

.split__col {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.split__col h2 { font-size: 1.4rem; }
.split__col p { margin-top: 0.85rem; color: var(--ink-soft); font-size: 0.99rem; }
.split__label { color: var(--accent); }

/* --- product directory -------------------------------------------------- */

.products { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Two labelled rows: agent tools, then short-term rental. The heading and its
   grid are wrapped together so app.js can hide an empty group whole — a
   labelled row with nothing under it looks broken. */
.group { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.group__title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.group__sub { margin-top: 0.35rem; color: var(--ink-faint); font-size: 0.94rem; max-width: 56ch; }

.product-grid {
  display: grid; gap: 1.25rem; margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 680px) and (max-width: 999px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* One card should not stretch the full page width. */
.product-grid:has(> :only-child) { max-width: 560px; }

.product-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.7rem;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); border-color: #d7dde5; }
.product-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.product-card__kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.product-card h3 { font-size: 1.14rem; }
.product-card > p { color: var(--ink-soft); font-size: 0.96rem; }
.product-card__cta, .product-card__link {
  margin-top: auto; align-self: flex-start;
  color: var(--accent-deep); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.product-card__cta:hover, .product-card__link:hover { text-decoration: underline; }

.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 999px;
  white-space: nowrap;
}
.pill--live { background: var(--live-wash); color: var(--live); }
.pill--live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.pill--soon { background: var(--surface-alt); color: var(--ink-faint); }

.buy-btn {
  align-self: flex-start; margin-top: 0.4rem;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  background: var(--accent); color: #fff; border: 0;
  padding: 0.7rem 1.15rem; border-radius: var(--radius); cursor: pointer;
}
.buy-btn:hover { background: var(--accent-deep); }
.buy-btn[disabled] { opacity: 0.6; cursor: default; }

/* --- forms -------------------------------------------------------------- */

input[type="email"], input[type="text"], textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.85rem; width: 100%;
}
input::placeholder, textarea::placeholder { color: #94a3b8; }
input:focus-visible, textarea:focus-visible { border-color: var(--accent); outline-offset: 0; }
textarea { resize: vertical; min-height: 8rem; }

/* margin-top:auto pins every notify form to the bottom of its card, so a row
   of cards with different blurb lengths still lines its inputs up. */
.notify-form { display: flex; gap: 0.5rem; margin-top: auto; padding-top: 0.4rem; flex-wrap: wrap; }
.notify-form input { flex: 1 1 10rem; min-width: 0; }
.notify-form button {
  font: inherit; font-weight: 600; font-size: 0.92rem; background: var(--ink); color: #fff;
  border: 0; border-radius: 10px; padding: 0.7rem 1.05rem; cursor: pointer; flex: none;
}
.notify-form button:hover { background: #1e293b; }

.form-status { font-size: 0.88rem; margin-top: 0.6rem; color: var(--ink-faint); }
.form-status[data-tone="ok"] { color: var(--live); }
.form-status[data-tone="error"] { color: #dc2626; }

/* --- signup band -------------------------------------------------------- */

.signup { padding-block: clamp(2.5rem, 5vw, 4rem); }
.signup__inner {
  background: var(--ink); color: #fff; border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
}
@media (max-width: 800px) { .signup__inner { grid-template-columns: 1fr; } }
.signup h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.signup__copy p { margin-top: 0.85rem; color: #cbd5e1; font-size: 0.99rem; max-width: 46ch; }
.signup__form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.signup__form input { flex: 1 1 12rem; min-width: 0; background: #1e293b; border-color: #334155; color: #fff; }
.signup__form input::placeholder { color: #94a3b8; }
.signup__form button {
  font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0;
  border-radius: 10px; padding: 0.75rem 1.2rem; cursor: pointer; flex: none;
}
.signup__form button:hover { background: var(--accent-deep); }
.signup .form-status { grid-column: 1 / -1; color: #cbd5e1; }
.signup .form-status[data-tone="ok"] { color: #6ee7b7; }
.signup .form-status[data-tone="error"] { color: #fca5a5; }

/* --- contact ------------------------------------------------------------ */

.contact { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.contact__inner {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm); padding: clamp(1.6rem, 3.5vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 3rem); align-items: start;
}
@media (max-width: 800px) { .contact__inner { grid-template-columns: 1fr; } }
.contact h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.contact__copy p { margin-top: 0.85rem; color: var(--ink-soft); max-width: 40ch; }
.contact__form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.contact__form button[type="submit"] {
  justify-self: start; font: inherit; font-weight: 600; font-size: 0.975rem;
  background: var(--accent); color: #fff; border: 0; border-radius: var(--radius);
  padding: 0.8rem 1.3rem; cursor: pointer;
}
.contact__form button[type="submit"]:hover { background: var(--accent-deep); }
.contact__status { grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- footer ------------------------------------------------------------- */

.site-foot { border-top: 1px solid var(--line); background: var(--surface); }

/* Two rows now: identity + socials on top, brand line + meta underneath,
   split by the same hairline used everywhere else. .site-foot__inner is gone
   — it was the single flex row this replaced. */
.site-foot__top {
  padding-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  align-items: flex-start; justify-content: space-between;
}
.site-foot__brand { font-weight: 700; letter-spacing: -0.02em; }
.site-foot__line { color: var(--ink-faint); font-size: 0.92rem; margin-top: 0.15rem; }

.site-foot__bottom {
  margin-top: 1.6rem; padding-block: 1.25rem 2.25rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  align-items: center; justify-content: space-between;
}
.site-foot__tagline { color: var(--ink-faint); font-size: 0.92rem; }
.site-foot__meta { color: var(--ink-faint); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.site-foot__meta a { color: var(--ink-soft); text-decoration: none; }
.site-foot__meta a:hover { color: var(--ink); }

/* --- follow our work ----------------------------------------------------- */
/* Icons are inline SVG rather than an icon font or remote sprite: the CSP is
   default-src 'self' and img-src 'self' data:, and four paths are cheaper
   than any request. Each link carries its own aria-label because the SVG is
   aria-hidden — the mark alone is not an accessible name. */

.social__label {
  color: var(--ink-faint); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.social__list { list-style: none; margin: 0.7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social__list a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.social__list a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-wash); }
.social__list svg { width: 1.15rem; height: 1.15rem; display: block; }

/* --- standalone pages (404, thanks) ------------------------------------- */

.centered { padding-block: clamp(4rem, 12vw, 8rem); max-width: 40rem; display: grid; gap: 1.1rem; }
.centered h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem); }
.centered p { color: var(--ink-soft); }

/* --- narrow-screen button behaviour ------------------------------------- */

@media (max-width: 520px) {
  .hero__actions .btn, .lineup__actions .btn { flex: 1 1 100%; }
}

/* --- watch -------------------------------------------------------------- */
/* Click-to-play facade. The poster is a local file and the iframe only exists
   after a click, so the page costs the same as it did before this section. */

.watch { padding-block: clamp(2.5rem, 5vw, 4rem); }

.watch__card {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
}

.watch__title { font-size: clamp(1.25rem, 0.9rem + 1.2vw, 1.6rem); line-height: 1.25; }
.watch__blurb { margin-top: 0.9rem; color: var(--ink-soft); }
.watch__rule {
  margin-top: 1.1rem; font-weight: 700; color: var(--ink);
  border-left: 3px solid var(--accent); padding-left: 0.85rem;
}
.watch__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
}
.player__poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.player__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(15, 23, 41, 0.25);
  transition: background 160ms ease;
}
.player__play:hover { background: rgba(15, 23, 41, 0.14); }
.player__play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

.player__play-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(36, 99, 235, 0.45);
  display: grid; place-items: center;
  transition: transform 160ms ease;
}
.player__play:hover .player__play-icon { transform: scale(1.05); }
.player__play-icon::after {
  content: ""; display: block;
  margin-left: 5px;
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent #fff;
}

.player__soon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(15, 23, 41, 0.45);
}
.player__soon > span {
  background: var(--surface); color: var(--ink);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 0.9rem; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.player__time {
  position: absolute; right: 0.6rem; bottom: 0.6rem;
  background: rgba(15, 23, 41, 0.85); color: #fff;
  font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 0.2rem 0.45rem; border-radius: 6px;
}
.player.is-playing .player__time { display: none; }

@media (max-width: 860px) {
  .watch__card { grid-template-columns: minmax(0, 1fr); }
  .player__play-icon { width: 58px; height: 58px; }
  .player__play-icon::after { border-width: 10px 0 10px 17px; }
}
