:root {
  --ink: #1a1f24;
  --ink-soft: #3d4248;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --rule: #c4b8a5;
  --accent: #b44a2a;
  --accent-dark: #8c351c;
  --sage: #3f5346;
  --white: #faf8f4;
  --focus: #1a1f24;
  --shadow: 0 12px 40px rgba(26, 31, 36, 0.08);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
  --narrow: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.header {
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.header__name {
  font-size: 0.95rem;
}

.header__toggle {
  display: none;
  font-family: inherit;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.header__list {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.header__list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
}

.header__list a:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 860px) {
  .header__toggle {
    display: inline-block;
  }

  .header__nav:not(.header__nav--open) {
    display: none;
  }

  .header__nav {
    width: 100%;
  }

  .header__list {
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
    gap: 0.65rem;
  }
}

.footer {
  margin-top: 4rem;
  border-top: 2px solid var(--ink);
  background: var(--white);
  padding: 2.5rem var(--space) 1.5rem;
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.75rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.footer__tag,
.footer p {
  margin: 0.25rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.5rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin: 0.3rem 0;
}

.footer__copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space);
}

.wrap--narrow {
  max-width: 46rem;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.6rem;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--ink);
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: var(--white);
}

.masthead {
  display: grid;
  grid-template-columns: 4.5rem 1fr 0.9fr;
  min-height: 78vh;
  border-bottom: 1px solid var(--rule);
}

.masthead__spine {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.masthead__copy {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--paper);
}

.masthead__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}

.masthead__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.masthead__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(26, 31, 36, 0.72));
  color: var(--white);
  padding: 2.5rem 1.2rem 1rem;
  font-size: 0.9rem;
}

.masthead__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.masthead__link {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 900px) {
  .masthead {
    grid-template-columns: 1fr;
  }

  .masthead__spine {
    writing-mode: horizontal-tb;
    transform: none;
    flex-direction: row;
  }
}

.band {
  padding: 3.5rem var(--space);
}

.band--sage {
  background: var(--sage);
  color: var(--paper);
}

.band--sage a {
  color: var(--paper);
}

.band--white {
  background: var(--white);
}

.band--rule {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.card-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card__body p {
  margin: 0;
  color: var(--ink-soft);
  flex: 1;
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  margin: 0;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--ink-soft);
}

.fair-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.fair-table th,
.fair-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--rule);
}

.fair-table th {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

.prose p,
.prose li {
  max-width: 42rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.hero-page {
  padding: 2.8rem var(--space) 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-page--media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
}

.hero-page--media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 800px) {
  .hero-page--media {
    grid-template-columns: 1fr;
  }
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 800px) {
  .portrait-grid {
    grid-template-columns: 1fr;
  }
}

.portrait img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.portrait h3 {
  margin: 0.8rem 0 0.2rem;
}

.portrait p {
  margin: 0;
  color: var(--ink-soft);
}

.rate {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.rate strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.testimonial {
  background: var(--white);
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.3rem;
  margin: 0 0 1.1rem;
}

.testimonial p {
  margin: 0;
}

.testimonial footer {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border: 0;
  padding: 0;
  background: none;
}

.story {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  border-radius: 2px;
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form__error {
  color: var(--accent-dark);
  font-size: 0.9rem;
  margin: 0;
}

.form__status {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule);
  background: var(--white);
}

.form__status[data-kind="ok"] {
  border-color: var(--sage);
}

.form__status[data-kind="err"] {
  border-color: var(--accent);
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 40;
}

.cookie__inner {
  max-width: 36rem;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem 1.2rem;
}

.cookie__title {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.cookie__text {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
}

.cookie__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-plain li {
  margin: 0.4rem 0;
}

.figure-full {
  margin: 0;
}

.figure-full img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
