@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-italic.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* The red margin note's hand. */
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/caveat.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar-h);
}

body {
  padding-top: var(--bar-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.caps {
  font-size: var(--text-caps);
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── Shared editorial type ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--ink-soft);
}

.eyebrow::after {
  content: '';
  width: 4.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-title {
  font-family: var(--serif);
  font-weight: 450;
  font-size: var(--text-h2);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* Line breaks are fixed in markup, one phrase per span. */
.section-title > span {
  display: block;
}

.eyebrow + .section-title {
  margin-top: clamp(1.25rem, 2vw, 1.875rem);
}

.section-title + .prose {
  margin-top: clamp(1.5rem, 2.2vw, 2.25rem);
}

.prose p {
  max-width: 34em;
  font-family: var(--serif);
  font-size: var(--text-body);
  line-height: 1.62;
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 1.1em;
}

/* Phone wording: some passages carry a shorter phone version beside the
   wider one, and only one of each pair is shown (and read). A phone version
   that leads its prose block still counts as a sibling while hidden, so the
   wider paragraph after it keeps a first paragraph's spacing. */
@media (min-width: 768px) {
  .copy-phone {
    display: none;
  }
}

@media (max-width: 767px) {
  .copy-wide {
    display: none;
  }
}

.prose .copy-phone + .copy-wide {
  margin-top: 0;
}

/* ── Buttons ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 3.5rem;
  border: 0;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
}

/* Primary: the arrow sits in a darker bay cut on the same slant as the photographs. */
.btn--primary {
  padding: 0 5.1rem 0 1.75rem;
  overflow: hidden;
  border-radius: 2px;
  background: var(--red);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0.9rem 1.6rem -0.9rem rgba(163, 16, 22, 0.85);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -0.7rem;
  width: 4.2rem;
  background: var(--red-deep);
  transform: skewX(-13deg);
  transition: width var(--dur) var(--ease);
}

.btn--primary svg {
  position: absolute;
  right: 1.05rem;
  z-index: 1;
  width: 1.3rem;
  height: 1.3rem;
  transition: transform var(--dur) var(--ease);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1.2rem 1.9rem -0.9rem rgba(163, 16, 22, 0.95);
}

.btn--primary:hover::after {
  width: 4.7rem;
}

.btn--primary:hover svg {
  transform: translateX(0.25rem);
}

/* Light: a paper button on the dark card and the red close, its arrow in red. */
.btn--light {
  gap: 0.9rem;
  padding: 0 1.6rem;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  transition: background var(--dur) var(--ease);
}

.btn--light svg {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--red);
  transition: transform var(--dur) var(--ease);
}

.btn--light:hover {
  background: var(--white);
}

.btn--light:hover svg {
  transform: translateX(0.25rem);
}

/* Secondary: a ringed play mark and a label, no box. */
.btn--play {
  gap: 0.95rem;
  color: var(--ink);
}

.btn__ring {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(20, 19, 18, 0.4);
  border-radius: 50%;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn__ring svg {
  width: 0.95rem;
  height: 0.95rem;
  /* A triangle's visual centre sits right of its box centre. */
  margin-left: 0.15rem;
}

.btn__label {
  padding-bottom: 0.2rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}

.btn--play:hover .btn__ring {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--play:hover .btn__label {
  background-size: 100% 1px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
