:root {
  --paper: #f1efe9;
  --ink: #232521;
  --muted: #62645f;
  --line: #bfc0b8;
  --accent: #c45132;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: -100px;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 1rem; }
.top nav [aria-current="page"] { border-bottom: 2px solid var(--accent); }
.top nav a:hover,
footer a:hover,
.text-link:hover { color: var(--accent); }
.top nav a:nth-child(2) { display: inline; }
.card { color: inherit; }
.card:hover .card-text,
.card:focus-visible .card-text { transform: translateY(-7px); }
.card-text { transition: transform .25s ease; }
.text-link {
  display: inline-flex;
  gap: 2.5rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: .6rem;
  font-weight: 700;
  font-size: .88rem;
}

.interior { padding: 0 5.2% 7rem; }
.page-intro { padding: 7.5rem 0 5.5rem; max-width: 62rem; }
.page-intro .eyebrow { color: var(--muted); }
.page-intro h1 {
  font: 500 clamp(4.5rem, 10vw, 9rem)/.96 Georgia, 'Times New Roman', serif;
  letter-spacing: -.085em;
  margin: 2.5rem 0 2rem;
}
.page-intro h1 em { color: var(--accent); font-weight: 400; }
.page-intro p {
  max-width: 39rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}
.feature-figure { margin: 0 0 5rem; }
.feature-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #d9ddd2;
}
.feature-figure figcaption,
.study-number,
.principles article > span,
.closing-note > span {
  display: block;
  font-size: .7rem;
  letter-spacing: .16em;
  font-weight: 700;
}
.feature-figure figcaption { margin-top: 1rem; color: var(--muted); }
.study-list { border-top: 1px solid var(--line); }
.study {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}
.study-number { padding-top: .65rem; color: var(--muted); }
.study h2 {
  font: 500 clamp(2.8rem, 5vw, 5.5rem)/1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.07em;
  margin: 0 0 1.5rem;
}
.study p { max-width: 40rem; font-size: 1.08rem; line-height: 1.65; }
.study-note { color: var(--muted); font-size: .9rem !important; }
.interior-next { margin: 4rem 0 0; }
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 7rem;
}
.principles article {
  min-height: 23rem;
  padding: 2rem;
  background: #dcded4;
  display: flex;
  flex-direction: column;
}
.principles article:nth-child(2) { background: #39483e; color: #f7f5e9; }
.principles article:nth-child(3) { background: #dd6948; color: #fff; }
.principles h2 {
  font: 500 clamp(2rem, 3vw, 3.2rem)/1.08 Georgia, 'Times New Roman', serif;
  letter-spacing: -.055em;
  margin: auto 0 1.5rem;
}
.principles p { line-height: 1.55; max-width: 24rem; margin: 0; }
.closing-note {
  border-top: 1px solid var(--line);
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.closing-note p {
  font: 500 clamp(2.8rem, 5vw, 5rem)/1.05 Georgia, 'Times New Roman', serif;
  letter-spacing: -.065em;
  margin: 0;
}
.closing-note .arrow { grid-column: 2; justify-self: start; }

@media (max-width: 800px) {
  .page-intro { padding: 5rem 0 3.5rem; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 16rem; }
  .study, .closing-note { grid-template-columns: 1fr; }
  .closing-note .arrow { grid-column: 1; }
}
@media (max-width: 480px) {
  .top nav a:nth-child(2) { display: inline; }
  .top nav { gap: .8rem; font-size: .75rem; }
  .brand { font-size: 1.1rem; }
  .page-intro h1 { font-size: 3.9rem; }
  .interior { padding-bottom: 4rem; }
  .feature-figure { margin-bottom: 3rem; }
  .study { padding: 2.5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-text { transition: none; }
}
