:root {
  color-scheme: light;
  color: #382419;
  background: #fbf5eb;
  font-family: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #78430d; text-underline-offset: .22em; }
a:focus-visible, video:focus-visible { outline: 3px solid #8c5015; outline-offset: 4px; }

.container { width: min(70rem, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { background: #f6ead7; border-bottom: 1px solid #e7d5bb; }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { color: #643917; font: 2rem Georgia, serif; text-decoration: none; }
.sign-in { padding: .45rem .85rem; border: 1px solid #c9a878; border-radius: .35rem; text-decoration: none; font-weight: 600; }
.sign-in:hover { background: #fffaf1; }

main { padding-block: clamp(2.5rem, 6vw, 5rem); }
.intro { margin-bottom: 2.25rem; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
h1 { margin: 0; font-size: clamp(2.65rem, 6vw, 4.5rem); line-height: 1.04; }
.intro p { margin: 1rem 0 0; color: #664f3b; line-height: 1.55; }

.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.video-card { overflow: hidden; border: 1px solid #e3d0b4; border-radius: .85rem; background: #fffdf8; box-shadow: 0 12px 30px #62401b12; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #f2e9d5; }
video:focus-visible { outline-offset: -4px; }
.card-content { padding: 1.1rem 1.3rem 1.35rem; border-top: 1px solid #e3d0b4; }
h2 { margin: 0 0 .35rem; font-size: 1.8rem; line-height: 1.2; }
.card-content a { font-size: .94rem; font-weight: 600; }

@media (max-width: 42rem) {
  .video-grid { grid-template-columns: 1fr; }
  .header-inner { min-height: 4.25rem; }
  .sign-in { font-size: .875rem; }
}
