@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --cream: #f8f5f1;
  --ink: #18191d;
  --red: #a3121a;
  --red-hover: #831018;
  --text: #49464a;
  --line: #ded8d1;
  --gutter: clamp(1.25rem, 4.35vw, 4.5rem);
  --serif: Fraunces, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.038em;
}

h1 {
  font-size: clamp(2.75rem, 9vw, 5.15rem);
  line-height: .99;
}

h2 {
  font-size: clamp(2.125rem, 6vw, 3.85rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.65rem;
  line-height: 1.1;
}

em { color: var(--red); }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 2 * var(--gutter)), 76rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  padding: .6rem 1rem;
  top: .75rem;
  left: var(--gutter);
  background: var(--cream);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  padding-block: 1rem .375rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  align-self: flex-start;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-content: center;
  width: 2.55rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: .25rem;
  color: #fff;
  background: var(--red);
  font: 500 1.65rem/1 var(--serif);
}

.brand-name {
  display: block;
  font: 600 clamp(1.05rem, 4.8vw, 1.4rem)/1.1 var(--serif);
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand-byline {
  display: block;
  margin-top: .23rem;
  color: var(--text);
  font-size: .8125rem;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 5vw, 2.125rem);
}

.site-nav .button { display: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .27em;
}

.nav-link:hover { color: var(--red); text-decoration: underline; }

.hero {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.9rem, 6.2vw, 5.65rem) clamp(2.75rem, 5.3vw, 5.1rem);
}

.hero-copy { align-self: center; }

.eyebrow {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--red);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 1.45rem;
  height: 1px;
  background: currentColor;
}

.hero h1 em { display: block; }

.hero-intro {
  margin-top: 1.4rem;
  max-width: 32rem;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.125rem;
  padding: .7rem 1.25rem;
  border: 1px solid var(--red);
  border-radius: .28rem;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.button:hover { background: var(--red-hover); border-color: var(--red-hover); }
.button:focus-visible { outline-color: var(--ink); }

.button-outline { color: var(--red); background: transparent; }
.button-outline:hover { color: #fff; }
.button-small { min-height: 2.75rem; padding: .55rem 1rem; font-size: .875rem; }

.hero-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.2;
  overflow: hidden;
  border-radius: .24rem .24rem .24rem 0;
  background: #585654;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.hero-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  gap: .65rem;
  align-items: center;
  padding: .68rem .95rem;
  border-left: .22rem solid var(--red);
  border-radius: 0 .23rem 0 0;
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
}

.location-pin {
  position: relative;
  width: .72rem;
  height: .72rem;
  margin-top: -.18rem;
  border: 1px solid currentColor;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
}

.location-pin::after {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: currentColor;
}

.story {
  border-top: 1px solid var(--line);
  background: #eee8e0;
  padding-block: clamp(3.3rem, 7.55vw, 7rem);
}

.story-inner { display: grid; gap: 1.625rem; }
.story h2 { max-width: 10.5em; }
.story-copy > p { color: var(--text); max-width: 38rem; }
.story-list { margin-top: 1.55rem; }

.story-list > div {
  border-top: 1px solid #d2c8bf;
  padding-block: .85rem;
}

.story-list > div:last-child { padding-bottom: 0; }
.story-list dt { font-weight: 700; }
.story-list dd { color: var(--text); margin-top: .18rem; }

.guide { padding-block: clamp(3.3rem, 7vw, 6.25rem); }
.guide h2 { max-width: 15em; }
.guide-intro { max-width: 42rem; margin-top: 1rem; color: var(--text); }
.guide p a, .story-copy p a { color: var(--red); text-underline-offset: .18em; }
.guide-grid { display: grid; gap: 1.5rem; margin-block: 2rem; }
.guide-grid > div { padding-top: 1rem; border-top: 1px solid var(--line); }
.guide-grid p, .quote-example p { margin-top: .7rem; color: var(--text); }
.resource-cards h3 a { color: var(--red); text-underline-offset: .17em; text-decoration-thickness: 1px; }
.resource-cards h3 a:hover { text-decoration-thickness: 2px; }
.checklist-intro a { color: #ffe0dc; text-underline-offset: .2em; }
.quote-example {
  display: grid;
  align-items: center;
  gap: 1.3rem;
  padding: clamp(1rem, 3vw, 2rem);
  border-left: .2rem solid var(--red);
  background: #eee8e0;
}
.quote-example table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.quote-example caption { padding-bottom: .6rem; text-align: left; font-weight: 650; }
.quote-example th, .quote-example td { padding: .55rem .2rem; border-bottom: 1px solid #cbbeb1; text-align: right; }
.quote-example th:first-child { text-align: left; }
.worksheet-actions { display: grid; justify-items: start; gap: .5rem; }
.worksheet-actions a { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: .2em; font-size: .9375rem; }

.checklist {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(3.5rem, 7.9vw, 7rem);
}

.checklist-heading { display: grid; gap: 1.35rem; }
.checklist-eyebrow { color: #f0aaac; }
.checklist h2 { max-width: 13em; }
.checklist-intro { margin-top: .95rem; color: #ded9db; max-width: 34rem; }
.checklist-heading .button { justify-self: start; }
.checklist .button:focus-visible { outline-color: var(--cream); }

.print-icon {
  position: relative;
  width: 1.03rem;
  height: .68rem;
  margin-block: .18rem;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.print-icon::before, .print-icon::after {
  content: "";
  position: absolute;
  inset-inline: .15rem;
  height: .38rem;
  border: 1px solid currentColor;
  background: var(--red);
}

.print-icon::before { bottom: 100%; border-bottom: 0; }
.print-icon::after { top: 45%; }
.button:hover .print-icon::before, .button:hover .print-icon::after { background: var(--red-hover); }

.checklist-grid {
  display: grid;
  gap: .85rem;
  margin-top: 1.75rem;
}

.checklist-card {
  min-width: 0;
  margin: 0;
  padding: 1.1rem 1.2rem .7rem;
  border: 1px solid #444249;
  border-radius: .3rem;
  background: #222328;
}

.checklist-card h3 { margin-bottom: .45rem; }

.checklist-card label {
  display: grid;
  grid-template-columns: 1.13rem minmax(0, 1fr);
  align-items: start;
  gap: .72rem;
  min-height: 2.75rem;
  padding-block: .57rem;
  cursor: pointer;
  font-size: .9375rem;
  line-height: 1.5;
}

.checklist-card label + label { border-top: 1px solid #444249; }
.checklist-card label:hover span { color: #f0aaac; }

.checklist-card input {
  display: grid;
  place-content: center;
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  margin: .16rem 0 0;
  border: 1px solid #c3b9bf;
  border-radius: .15rem;
  color: var(--cream);
  cursor: pointer;
}

.checklist-card input:checked { background: var(--red); border-color: #f0aaac; }

.checklist-card input:checked::after {
  content: "";
  width: .55rem;
  height: .31rem;
  margin-top: -.08rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  rotate: -45deg;
}

.print-only { display: none; }

.closing {
  padding-block: clamp(3rem, 6vw, 5.3rem);
  background: #f2e6e2;
}

.closing-inner { display: grid; justify-items: start; gap: 1.15rem; }
.closing h2 { font-size: clamp(2.1rem, 5vw, 3.45rem); }
.closing p { margin-top: .65rem; color: var(--text); max-width: 37rem; }
.closing p a { color: var(--red); font-weight: 600; text-underline-offset: .2em; }
.closing p a:hover { text-decoration-thickness: 2px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 1rem; padding-block: 1.5rem 1.75rem; }
.footer-inner .brand-name { width: fit-content; }
.photo-credit { color: var(--text); font-size: .8125rem; }
.photo-credit a { text-underline-offset: .2em; }

@media (max-width: 29rem) {
  .actions { flex-direction: column; }
}

@media (min-width: 42rem) {
  .header-inner, .footer-inner, .closing-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .header-inner { padding-block: 1.05rem; }
  .hero-photo { aspect-ratio: 1.6; }
  .closing-inner > .button { flex: none; }
}

@media (min-width: 58rem) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .resource-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-example { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .worksheet-actions { justify-items: end; }
  .worksheet-actions .button { justify-self: end; }
  .site-nav .button { display: inline-flex; }

  .hero {
    grid-template-columns: .98fr 1.02fr;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .hero h1 { font-size: clamp(3.4rem, 5.65vw, 5.15rem); }
  .hero-photo { aspect-ratio: auto; min-height: clamp(26rem, 37vw, 34rem); }
  .hero-photo img { position: absolute; inset: 0; }
  .story-inner { grid-template-columns: .93fr 1.07fr; gap: clamp(2.5rem, 8.25vw, 7.65rem); }
  .checklist-heading { grid-template-columns: 1fr auto; align-items: end; }
  .checklist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

@page { size: auto; margin: .58in; }

@media print {
  :focus-visible { outline: 0; }
  body { background: #fff; color: #000; font-size: 10pt; line-height: 1.32; }
  body > :not(main), body:not(.resource-page) main > :not(#checklist), .worksheet-actions, .checklist-eyebrow { display: none !important; }
  .shell { width: 100%; }
  .checklist { background: #fff; color: #000; padding: 0; }
  .checklist h2 { max-width: none; font-size: 29pt; line-height: 1.05; }
  .checklist-heading, .checklist-grid { display: block; }
  .checklist-intro { margin-top: .12in; max-width: none; color: #000; }
  .checklist-grid { margin-top: .18in; }
  .checklist-card { margin-bottom: .1in; padding: .08in 0 0; border: 0; border-top: 1px solid #777; border-radius: 0; background: #fff; break-inside: avoid; }
  .checklist-card h3, .print-notes h3 { font-size: 14pt; margin-bottom: .04in; }
  .checklist-card label { font-size: 10pt; gap: .08in; min-height: 0; padding: .032in 0; }
  .checklist-card label + label { border: 0; }
  .checklist-card input, .checklist-card input:checked { width: .13in; height: .13in; background: #fff; border: 1px solid #222; color: #000; margin-top: .015in; }
  .print-only { display: block; }
  .print-notes { margin-top: .22in; break-inside: avoid; }
  .worksheet-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: .08in; }
  .worksheet-table th, .worksheet-table td { border: .6pt solid #888; padding: .05in .08in; text-align: left; }
  .worksheet-table th:first-child { width: 27%; }
  .worksheet-table tbody th { height: .54in; font-weight: 500; }
  .print-credit { margin-top: .2in; font-size: 9pt; }
}
