/* Leyva Law demo: Socials Up Front layer. Loads after styles.css and proof-rhythm.css, overrides only.
   Spacing scale follows proof-rhythm.css: 8 / 16 / 24 / 40 / 64 / 96. Gold is structure, never fill.
   Call and Text stay the loudest actions: every social control here is outline or text only. */

/* ---------- header icons ---------- */
/* The group lives inside #nav, so it reaches the phone menu by itself. */
.nav .nav-social { display: flex; align-items: center; }
.nav-social-label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nav .nav-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; font-size: 0; line-height: 0;
  color: var(--gold);
}
.nav .nav-social a:hover { color: var(--gold-soft); }
.nav .nav-social a:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: 3px; }
.nav-social svg { width: 18px; height: 18px; flex: none; }

/* phone menu: a hairline, the label, and the three icons on the right edge */
@media (max-width: 960px) {
  .nav .nav-social {
    justify-content: space-between; margin-top: 8px; padding: 10px 11px 6px 24px;
    border-top: 1px solid rgba(194, 161, 76, 0.25);
  }
  .nav-social-label {
    position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); white-space: normal;
  }
}

/* Desktop bar: no icons (Angel, 3 Nov 2026: the bar looked busy). The header keeps the live
   styles.css layout; the hero follow line, the video section and the footer carry the links. */
@media (min-width: 961px) {
  .nav .nav-social { display: none; }
}

/* ---------- hero follow line ---------- */
.hero-follow {
  display: flex; align-items: center; flex-wrap: wrap; margin-top: 18px;
  font-size: 0.84rem; line-height: 1.4; color: #b9c2cd; clear: both;
}
.hero-follow-handle { color: var(--gold-soft); font-weight: 600; letter-spacing: 0.02em; }
.hero-follow-icons { display: inline-flex; margin-left: 4px; }
.hero-follow a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--gold); transition: color 0.15s;
}
.hero-follow a:hover { color: var(--gold-soft); }
.hero-follow a:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: 3px; }
.hero-follow svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 720px) {
  .hero-inner > .hero-follow { grid-area: trust; clear: none; }
}
@media (max-width: 560px) {
  .hero-follow { margin-top: 12px; }
}

/* ---------- video section ---------- */
.watch { background: var(--navy-950); color: var(--pr-on-navy); }
.watch .wrap { border-top: 1px solid rgba(194, 161, 76, 0.42); padding-top: 40px; }
.watch .wrap > h2 { text-align: center; color: #fff; margin-bottom: 16px; }
.watch-lede {
  text-align: center; max-width: 36rem; margin: 0 auto 56px; color: var(--pr-on-navy);
  font-size: 1.05rem; text-wrap: balance;
}

.clip-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px;
  max-width: 980px; margin: 0 auto;
}
.clip { display: flex; flex-direction: column; margin: 0; min-width: 0; }

/* frame: the portrait's language without the arch: 6 px corners, gold edge, concentric hairline */
.clip-frame { position: relative; margin: 10px 10px 0; border-radius: 6px; }
.clip-frame::before {
  content: ''; position: absolute; inset: -10px; pointer-events: none;
  border: 1px solid rgba(194, 161, 76, 0.38); border-radius: 12px;
}
.clip-video {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #000;
  border: 1px solid rgba(194, 161, 76, 0.55); border-radius: 6px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}
.clip-video:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
/* play pill: top left, the one corner every poster keeps clear; triangle plus the duration */
.clip-play {
  position: absolute; left: 14px; top: 14px; bottom: auto; margin: 0;
  box-shadow: 0 0 0 1px rgba(10, 21, 35, 0.35);
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px;
  border: 1px solid var(--gold); border-radius: 999px; background: rgba(10, 21, 35, 0.82);
  color: #fff; font: 600 0.82rem/1 var(--sans); letter-spacing: 0.04em; cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.clip-play:hover { background: var(--gold); color: var(--navy-950); }
.clip-play:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; box-shadow: 0 0 0 3px var(--navy-950); }
.clip-video.is-poster { cursor: pointer; }
.clip-play::before {
  content: ''; position: static; flex: none; width: 0; height: 0; margin: 0;
  border-style: solid; border-width: 3.5px 0 3.5px 11px; border-color: transparent transparent transparent #fff;
  transition: border-left-color 0.18s;
}
.clip-play:hover::before { border-left-color: var(--navy-950); }
.clip.is-playing .clip-play { display: none; }

.clip figcaption { display: flex; flex-direction: column; flex: 1; margin-top: 26px; padding: 0 10px; text-align: left; }
.clip-n {
  display: block; box-sizing: content-box; height: 2.2rem; margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(194, 161, 76, 0.42);
  font-family: var(--serif); font-weight: 500; font-size: 2.2rem; line-height: 1; color: var(--gold);
  font-variant-numeric: lining-nums;
}
.clip-title {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2;
  color: #fff; margin: 0 0 10px; text-wrap: balance;
}
.clip-sum { font-size: 0.92rem; line-height: 1.6; color: var(--pr-on-navy); margin: 0; max-width: none; text-wrap: wrap; }
.clip-meta {
  margin: auto 0 0; padding-top: 16px; font-size: 0.68rem; font-weight: 600; line-height: 1.5;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.clip-meta span { display: block; }

/* follow row */
.watch-follow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px; margin: 48px 0 0;
}
.watch-follow-lead { font-size: 0.95rem; font-weight: 600; color: #dbe1e8; margin-right: 8px; }
.watch-follow-handle { color: var(--gold-soft); }
.watch-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border: 1px solid rgba(194, 161, 76, 0.6); border-radius: 3px;
  color: #dbe1e8; font-size: 0.88rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: border-color 0.18s, color 0.18s;
}
.watch-pill svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.watch-pill:hover { border-color: var(--gold); color: #fff; }
.watch-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 900 px and up: three columns, titles share a two line height so summaries start together */
@media (min-width: 900px) {
  .clip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
  .clip-title { min-height: 2.4em; }
}

/* below 900 px: a swipe row, the third card peeks */
@media (max-width: 899px) {
  .clip-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px;
    gap: 20px; padding: 0 24px 16px; margin: 0 -24px; max-width: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
  }
  .clip-grid > .clip { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
  .watch-lede { margin-bottom: 40px; }
}
/* ---------- featured clip (English homepage, one video) ---------- */
/* Same system as the cards: framed 9:16 poster, serif title, gold hairline where the numeral sat. */
.clip-featured { display: block; max-width: 980px; margin: 0 auto; flex: none; scroll-snap-align: none; }
.clip-featured .clip-frame { width: calc(100% - 20px); max-width: 400px; margin: 10px auto 0; }
.clip-featured figcaption {
  display: block; flex: none; max-width: 34rem; margin: 26px auto 0; padding: 24px 10px 0;
  border-top: 1px solid rgba(194, 161, 76, 0.42);
}
.clip-topic {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.clip-featured .clip-title {
  font-size: 2.6rem; line-height: 1.08; min-height: 0; margin-bottom: 18px; max-width: 16ch;
}
.clip-pull {
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.6rem; line-height: 1.25;
  color: var(--gold-soft); margin: 4px 0 24px; max-width: none; padding-left: 18px;
  border-left: 2px solid var(--gold); text-wrap: initial;
}
.clip-featured .clip-sum { font-size: 1.1rem; line-height: 1.65; max-width: 28rem; margin-bottom: 0; text-wrap: pretty; }
.clip-featured .clip-meta { margin: 22px 0 0; padding-top: 0; }
.clip-featured .watch-follow {
  justify-content: flex-start; gap: 10px; margin: 32px 0 0; padding-top: 24px;
  border-top: 1px solid rgba(194, 161, 76, 0.25);
}
@media (min-width: 480px) {
  .clip-featured .watch-follow-lead { flex: 0 0 100%; margin: 0 0 2px; }
}
@media (min-width: 760px) {
  .clip-featured {
    display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 40px; align-items: start;
  }
  .clip-featured .clip-frame { width: auto; max-width: none; margin: 10px 10px 0; align-self: start; }
  .clip-featured figcaption {
    display: block; align-self: start; max-width: none; margin: 10px 0 0; padding: 24px 0 0;
  }
  .clip-featured .watch-follow { margin-top: 28px; }
}
/* 760 to 999 px: text column 380 px at 768 with no side padding; pills 354 px fit one row.
   Lighter stack so the column stays close to the 498 px video; no stretch, no centring. */
@media (min-width: 760px) and (max-width: 999px) {
  .clip-featured .watch-pill { padding: 0 12px; gap: 8px; }
  .clip-featured .clip-title { font-size: 2.2rem; }
  .clip-pull { font-size: 1.45rem; }
  .clip-featured .clip-sum { font-size: 1rem; max-width: none; }
}
/* 1000 px and up: column as tall as the row, stack centred under the hairline at the video top */
@media (min-width: 1000px) {
  .clip-featured { grid-template-columns: 400px minmax(0, 1fr); column-gap: 72px; }
  .clip-featured figcaption {
    align-self: stretch; display: flex; flex-direction: column; justify-content: center;
    padding: 24px 10px 8px;
  }
  .clip-pull { font-size: 1.9rem; }
  .clip-topic { margin-bottom: 18px; }
  .clip-featured .clip-title { margin-bottom: 22px; }
  .clip-featured .clip-meta { margin-top: 28px; }
  .clip-featured .watch-follow { margin-top: 36px; }
}
@media (max-width: 479px) {
  .clip-featured .watch-follow-lead { width: 100%; margin: 0 0 4px; text-align: left; }
  .clip-featured .watch-follow { max-width: none; }
}

@media (max-width: 479px) {
  .watch-follow-lead { margin-right: 0; }
  .watch-follow { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .watch-pill { justify-content: flex-start; }
  .watch-follow-lead { text-align: center; }
}
