@font-face {
  font-family: Agatho;
  src: url("/assets/agatho-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f4eb;
  --ink: #34241d;
  --wine: #48232e;
  --line: #d1c4ae;
  --brass: #91683c;
  --serif: Agatho, Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, input:focus-visible { outline: 3px solid #bd642e; outline-offset: 5px; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
.frame { width: min(100% - 2 * clamp(1.25rem, 5.3vw, 5.2rem), 86rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; transform: translateY(-160%); padding: .6rem 1rem; background: white; color: var(--ink); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner, nav, .footer-inner { display: flex; align-items: center; }
.masthead-inner { min-height: 5.1rem; justify-content: space-between; gap: 1.1rem; }
.brand-signature { display: grid; justify-items: center; align-content: center; padding-block: .65rem .8rem; }
.department-home { display: block; }
.department-home img { width: 7.5rem; height: auto; }
.parent-endorsement { margin-top: .1rem; font-size: .875rem; line-height: 1.35; color: #624b40; text-decoration: none; }
.parent-endorsement:hover { text-decoration: underline; text-underline-offset: .22em; }
nav { gap: clamp(1rem, 3vw, 2.8rem); }
nav a, .family-link { font-size: .94rem; text-underline-offset: .32em; text-decoration: none; }
nav a:hover, .family-link:hover { text-decoration: underline; }
nav .nav-contact { border-bottom: 1px solid currentColor; }
.hero { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(2rem, 5.6vw, 5.5rem); padding-block: clamp(2.3rem, 5.2vw, 5rem); }
.hero-copy { min-width: 0; }
.motto { display: flex; align-items: center; gap: .85rem; color: var(--wine); font: 600 .83rem/1.5 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.motto::before { content: ""; width: 2.7rem; height: 1px; background: var(--brass); flex-shrink: 0; }
h1 { margin: 1.1rem 0 1.12rem; font-size: clamp(3.25rem, 5.65vw, 5.8rem); letter-spacing: -.045em; line-height: 1.01; color: var(--wine); }
h1 span { display: block; }
.standfirst { max-width: 34ch; font-size: clamp(1.06rem, 1.46vw, 1.32rem); line-height: 1.57; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .78rem 1.45rem; border: 1px solid var(--wine); background: var(--wine); color: #fff8ec; font-size: .98rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.hero .button { margin-top: 1.85rem; }
.button:hover { background: #633341; }
.hero-image { overflow: hidden; background: #4e2827; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 1.36; object-fit: cover; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4.4rem); border-top: 1px solid var(--line); padding-block: clamp(2.4rem, 5.5vw, 5.2rem); }
.feature, .updates { scroll-margin-top: 1rem; }
.feature-image { aspect-ratio: 1.9; overflow: hidden; background: #d3c0aa; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.collection-images { display: grid; grid-template-columns: 2.2fr 1fr; gap: 4px; }
.collection-images img { min-width: 0; min-height: 0; }
.feature h2 { margin: 1.25rem 0 .58rem; font-size: clamp(2.0rem, 3vw, 3.05rem); letter-spacing: -.035em; line-height: 1.12; color: var(--wine); }
.feature p { max-width: 53ch; line-height: 1.65; }
.text-link { display: inline-block; margin-top: 1rem; padding-block: .2rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .28em; color: var(--wine); }
.text-link:hover { text-decoration-thickness: 2px; }
.updates { background: var(--wine); color: #fff7eb; }
.updates-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4.4rem); padding-block: clamp(2.7rem, 5.4vw, 5rem); align-items: start; }
.updates h2 { font-size: clamp(2.8rem, 4.6vw, 4.5rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: .8rem; }
.updates p { max-width: 44ch; color: #f2e7d8; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 1.2rem; }
legend { padding: 0; margin: 0 0 .45rem; font-weight: 600; }
.topic-options { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.topic-options label { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; cursor: pointer; }
.topic-options input { accent-color: #e6bd87; width: 1rem; height: 1rem; margin: 0; }
.button-light { background: #fbf1df; border-color: #fbf1df; color: var(--wine); }
.button-light:hover { background: #edddc3; }
.updates .email-note { margin-top: .8rem; max-width: 46ch; font-size: .89rem; line-height: 1.55; }
.footer-inner { padding-block: 1.7rem; gap: clamp(1rem, 2.8vw, 2.6rem); }
.parent-mark { display: block; width: 4.7rem; flex-shrink: 0; }
.parent-mark img { width: 100%; height: auto; }
footer p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; }
footer a { text-underline-offset: .22em; }
footer p a { text-decoration: none; }
footer p a:hover { text-decoration: underline; }
.address { font-size: .96rem; }
.family-link { margin-left: auto; text-decoration: underline; }
@media (max-width: 859px) {
  .hero { grid-template-columns: 1fr; gap: 2.1rem; }
  .hero-copy { max-width: 42rem; }
  h1 { font-size: clamp(3.1rem, 8.3vw, 4.75rem); }
  .standfirst { max-width: 47ch; }
  .hero-image img { aspect-ratio: 1.68; }
}
@media (max-width: 640px) {
  .masthead-inner { min-height: 4.1rem; }
  .department-home img { width: 5.5rem; }
  .brand-signature { padding-block: .55rem; }
  nav { gap: 1rem; }
  nav a { font-size: .88rem; }
  .hero { padding-block: 2.1rem 2.35rem; gap: 1.7rem; }
  .motto { font-size: .78rem; }
  .motto::before { width: 1.75rem; }
  h1 { margin-top: .82rem; }
  .hero .button { margin-top: 1.25rem; }
  .hero-image img { aspect-ratio: 1.5; }
  .features, .updates-inner { grid-template-columns: 1fr; }
  .features { gap: 2.6rem; }
  .updates-inner { gap: 1.65rem; }
  .feature-image { aspect-ratio: 1.72; }
  .feature h2 { margin-top: 1rem; }
  .footer-inner { flex-wrap: wrap; gap: .75rem 1.1rem; }
  .parent-mark { width: 3.7rem; }
  footer p { font-size: 1.17rem; }
  .family-link { flex-basis: 100%; margin-left: 0; }
}
@media (max-width: 460px) {
  .masthead-inner { flex-direction: column; gap: 0; padding-bottom: .3rem; }
  .brand-signature { padding-bottom: .15rem; }
  nav { gap: 1.5rem; }
  nav a { display: inline-flex; align-items: center; min-height: 2.4rem; }
  nav .nav-contact { border-bottom: 0; text-decoration: underline; }
}
@media (max-width: 365px) {
  nav { gap: .75rem; }
  .frame { width: calc(100% - 2rem); }
  .footer-inner { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
