/* copeland.css — branch-specific additions only. Sparse, formal, no CTA
   styling exists here on purpose (no CTAs on this branch — CLAUDE.md §1). */

/* Webfont: self-hosted Inter, latin subset, variable — body and (heavier +
   larger) headings. src/assets/fonts/; falls back to the system sans until
   present (font-display: swap). */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.branch-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.branch-header .logo { color: var(--color-heading); }
.branch-header nav a {
  color: var(--color-heading);
  text-decoration: none;
}
.branch-header nav a:hover { text-decoration: underline; }

.hero {
  padding-block: 1.5rem 2.5rem;
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2.15rem, 5vw + 0.4rem, 3.1rem);
  max-width: 20ch;
  color: var(--color-heading);
}
.hero__lede {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 60ch;
  margin-top: 1rem;
  color: var(--color-text);
}

/* --- Content sections — formal, sparse, more air than Rouse (§4) ---------- */
.section {
  margin-block: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--color-border);
}
.section:first-of-type { border-top: 0; padding-top: 0; }
.section h2 {
  font-size: clamp(1.55rem, 2.6vw + 0.5rem, 2.1rem);
  color: var(--color-heading);
  margin: 0 0 0.9rem;
}
.section p { margin: 0 0 1rem; }
.section a { color: var(--color-accent); }
.section a:hover { color: var(--color-link-hover); }

/* Dated list — experience, education, admissions. */
.facts { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.facts li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--color-border);
  max-width: 64ch;
}
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts__when {
  font-weight: 600;
  color: var(--color-heading);
  margin-right: 0.6rem;
}

/* Reported / notable matters — citation list. */
.matters { list-style: none; padding: 0; margin: 1rem 0 0; }
.matters li {
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  max-width: 64ch;
}
.matters li:first-child { border-top: 0; padding-top: 0; }
.matters__name { font-style: italic; }
a.matters__name { color: var(--color-accent); }
.matters__cite {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}
.matters__note {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

/* --- Media: click-to-load video (CLAUDE.md §7) --------------------------- */
.clips {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 2rem;
}
.clip { max-width: 34rem; }

.clip__play {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--color-border-strong);
  background: #000;
  cursor: pointer;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.clip__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* crop the 4:3 auto-thumbnail to 16:9 */
  display: block;
  opacity: 0.88;
  transition: opacity 0.15s ease;
}
.clip__play:hover img,
.clip__play:focus-visible img { opacity: 1; }
.clip__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--color-accent);
}
.clip__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.8rem 0 0.8rem 1.25rem;
  border-color: transparent transparent transparent #fff;
  transform: translateX(0.15rem);
}

.clip__frame {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border-strong);
}
.clip__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.clip__meta { margin-top: 0.75rem; }
.clip__title { font-weight: 600; color: var(--color-heading); margin: 0; }
.clip__sub { color: var(--color-text-muted); font-size: 0.9rem; margin: 0.2rem 0 0; }
.clip__desc { margin: 0.4rem 0 0; }
.clip__fallback { margin: 0.4rem 0 0; font-size: 0.9rem; }

.copeland-contact address { font-style: normal; margin-bottom: 0.75rem; }
.copeland-contact {
  padding-block: 1.5rem 2.5rem;
  color: var(--color-text-muted);
}
.reveal-email {
  font: inherit;
  background: none;
  border: 1px solid var(--color-border-strong);
  border-radius: 4px;
  padding: 0.5rem 0.9rem;
  color: var(--color-link);
  cursor: pointer;
}
.reveal-email:hover { color: var(--color-link-hover); }
