/* videos.brandontinder.com: same tokens and fonts as brandontinder.com (site/assets/styles.css). */
@font-face {
  font-family: "Newsreader Display";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/newsreader-display.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #0D1A2B;
  --navy: #14273F;
  --charcoal: #24282E;
  --ivory: #F5F2EC;
  --sand: #ECE7DE;
  --brass: #B4915D;   /* decorative only */
  --label: #35597A;   /* small labels on ivory */
  --muted: #4E5560;
  --hair: #CFC6B5;
  --focus: #14273F;
  --serif: "Newsreader Display", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: clamp(1rem, 4vw, 3.75rem);
  --max: 72rem;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--navy); text-underline-offset: 0.2em; }
a:focus-visible, video:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip {
  position: absolute;
  left: var(--gut);
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--ivory);
  z-index: 10;
}
.skip:focus { top: 0.75rem; }

.top, main, .foot {
  width: min(100% - 2 * var(--gut), var(--max));
  margin-inline: auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  border-bottom: 1px solid var(--hair);
}
.brand { font: 500 1.375rem/1 var(--serif); color: var(--navy); text-decoration: none; }
.back { font-size: 0.9375rem; color: var(--label); }

.intro { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 4vw, 2.5rem); max-width: 48rem; }
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label);
}
h1 {
  margin: 0;
  font: 400 clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem)/1.05 var(--serif);
  color: var(--navy);
  text-wrap: balance;
}
.lede { margin: 1.25rem 0 0; font-size: 1.1875rem; color: var(--muted); max-width: 40rem; text-wrap: pretty; }

.player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: 0.5rem;
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(13, 26, 43, 0.45);
}

.next { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding-block: 2rem 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.btn-solid { background: var(--navy); color: var(--ivory); }
.btn-line { border: 2px solid var(--navy); color: var(--navy); }
.btn:hover { text-decoration: underline; }
.call { flex-basis: 100%; margin: 0.5rem 0 0; color: var(--muted); }
.call a { white-space: nowrap; } /* keep "(916) 572-9932" on one line; it broke at the hyphen at 390px */

.transcript { max-width: 46rem; padding-block: 2rem 3rem; border-top: 1px solid var(--hair); margin-top: 1.5rem; }
.transcript h2 { margin: 0 0 1rem; font: 400 1.75rem/1.2 var(--serif); color: var(--navy); }
.transcript p { margin: 0 0 0.9rem; }

.foot { padding-block: 1.5rem 2.5rem; border-top: 1px solid var(--hair); font-size: 0.9375rem; color: var(--muted); }
.foot p { margin: 0; }
