@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/libre-baskerville-latin-400-normal.woff2") format("woff2");
}

:root {
  --espresso: #302019;
  --rich-brown: #654838;
  --sand: #ddc9ac;
  --cream: #f7f0e5;
  --terracotta: #a34830;
  --teal: #24615b;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --text: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --page: 1160px;
  --pad: clamp(1.15rem, 4.2vw, 3.25rem);
  --mast-pad-top: 2.85rem;
  --mast-pad-bottom: 1.7rem;
  --mast-h1: clamp(3.35rem, 7.5vw, 5.15rem);
  --mast-tag: clamp(0.92rem, 1.55vw, 1.12rem);
  --logo-band: calc(
    var(--mast-pad-top) + var(--mast-pad-bottom) + 0.85rem +
    (var(--mast-h1) * 0.92) + (var(--mast-tag) * 1.2)
  );
  --logo-size: calc(var(--logo-band) * 0.8);
}

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

html {
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

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

h1, h2, h3, p {
  margin: 0;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--cream);
  color: var(--espresso);
  padding: 0.45rem 0.7rem;
  font-family: var(--text);
  font-size: 0.85rem;
}

.skip:focus {
  top: 0.5rem;
}

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

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--cream);
}

.wrap {
  width: min(var(--page), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.7rem;
}

.site-header .bar {
  justify-content: flex-end;
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 2.45rem;
  max-width: none;
}

.site-header,
.site-footer {
  background: var(--espresso);
  color: var(--cream);
}

.site-header nav ul,
.site-footer nav ul {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-header nav a,
.site-footer nav a {
  font-family: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--cream);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.15rem;
  cursor: pointer;
}

main {
  position: relative;
}

.corner-logo {
  position: absolute;
  z-index: 1;
  top: calc((var(--logo-band) - var(--logo-size)) / 2);
  left: max(var(--pad), calc((100% - var(--page)) / 2 + var(--pad)));
  height: var(--logo-size);
  display: block;
  line-height: 0;
}

.corner-logo img {
  height: 100%;
  width: auto;
  max-width: none;
}

body:not(.home) .listing,
body:not(.home) .article,
body:not(.home) .missing {
  padding-top: calc(var(--logo-band) + 0.35rem);
}

.masthead {
  padding: var(--mast-pad-top) 0 var(--mast-pad-bottom);
  text-align: center;
  background: var(--cream);
}

.masthead h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.35rem, 7.5vw, 5.15rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--espresso);
}

.tagline {
  margin-top: 0.85rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(0.92rem, 1.55vw, 1.12rem);
  letter-spacing: 0.28em;
  line-height: 1.2;
  color: var(--espresso);
}

.hero {
  margin: 0;
  background: var(--espresso);
  aspect-ratio: 3.25 / 1;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 36%;
}

.featured {
  padding: 2.15rem 0 1.15rem;
}

.label-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.eyebrow {
  flex: none;
  font-family: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.rule {
  flex: 1;
  height: 1px;
  background: var(--sand);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
  margin-top: 1.15rem;
}

.featured-grid img {
  width: 100%;
  height: auto;
}

.featured-copy .place,
.card .place {
  font-family: var(--text);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rich-brown);
}

.featured-copy h2 {
  margin-top: 0.45rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.15rem + 0.85vw, 1.72rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--espresso);
}

.excerpt {
  margin-top: 0.85rem;
  font-family: var(--text);
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--espresso);
}

.button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.72rem 1.05rem;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--text);
  font-size: 0.86rem;
  line-height: 1;
  text-decoration: none;
}

.stories {
  padding: 1.5rem 0 2.6rem;
}

.stories-head {
  align-items: baseline;
}

.stories-head h2,
.author h2 {
  flex: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1;
  color: var(--espresso);
}

.stories-head .rule {
  align-self: center;
}

.text-link {
  flex: none;
  color: var(--teal);
  font-family: var(--text);
  font-size: 0.86rem;
  text-decoration: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.15rem;
}

.card {
  display: block;
  text-decoration: none;
  color: var(--espresso);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 4.45;
  object-fit: cover;
  background: var(--sand);
}

.card h3 {
  margin-top: 0.7rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.12;
  color: var(--espresso);
}

.card .place {
  margin-top: 0.35rem;
}

.author {
  background: var(--sand);
  padding: 1.55rem 0 1.7rem;
}

.author .rule {
  background: var(--rich-brown);
  opacity: 0.45;
}

.byline {
  margin-top: 0.7rem;
  font-family: var(--text);
  font-size: 0.92rem;
  color: var(--espresso);
}

.author .text-link {
  display: inline-block;
  margin-top: 0.45rem;
}

.site-footer .bar {
  min-height: 2.85rem;
}

.missing {
  padding: 4.5rem 0 6rem;
}

.missing h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}

.missing p {
  max-width: 38rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.missing .text-link {
  display: inline-block;
  margin-top: 1.2rem;
}

@media (max-width: 899px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1.1rem;
  }
}

@media (max-width: 719px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-header .bar {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .site-header nav {
    display: none;
    flex-basis: 100%;
    padding: 0.2rem 0 0.75rem;
  }

  .site-header.is-open nav {
    display: block;
  }

  .site-header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .site-header nav a {
    font-size: 1rem;
  }

  .corner-logo {
    position: static;
    height: var(--logo-size);
    width: fit-content;
    margin: 0.85rem 0 0 max(var(--pad), calc((100% - var(--page)) / 2 + var(--pad)));
  }

  body:not(.home) .listing,
  body:not(.home) .article,
  body:not(.home) .missing {
    padding-top: 1.15rem;
  }

  .masthead {
    --mast-pad-top: 1.15rem;
    --mast-pad-bottom: 1.2rem;
    padding: var(--mast-pad-top) 0 var(--mast-pad-bottom);
  }

  .tagline {
    letter-spacing: 0.14em;
  }

  .hero {
    aspect-ratio: 1.65 / 1;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .stories-head {
    flex-wrap: wrap;
    row-gap: 0.45rem;
  }

  .stories-head .rule {
    display: none;
  }

  .site-footer .bar {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 0.85rem 1rem;
    gap: 0.35rem;
  }

  .site-footer nav {
    width: 100%;
  }

  .site-footer nav ul {
    width: 100%;
    justify-content: flex-start;
    gap: 0.15rem 1.15rem;
  }

  .site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.2rem 0;
  }
}

@media (max-width: 380px) {
  .site-footer nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.page-head h1,
.article-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.page-head {
  margin-bottom: 1.4rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  margin-top: 0.9rem;
}

.filters button {
  min-height: 2.75rem;
  padding: 0.35rem 0.05rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--espresso);
  font-family: var(--text);
  font-size: 0.86rem;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.result-count {
  margin-top: 0.35rem;
  font-family: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rich-brown);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem 1.15rem;
}

.story-card {
  display: block;
  color: var(--espresso);
  text-decoration: none;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 4.45;
  object-fit: cover;
  background: var(--sand);
}

.story-card h2 {
  margin-top: 0.7rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.12;
}

.story-card .meta {
  margin-top: 0.35rem;
  font-family: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rich-brown);
}

.story-card .excerpt {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.listing {
  padding: 2.2rem 0 3rem;
}

.article {
  padding: 1.6rem 0 3.2rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin-bottom: 1.15rem;
  font-family: var(--text);
  font-size: 0.78rem;
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "→";
  margin-left: 0.45rem;
  color: var(--rich-brown);
}

.breadcrumb [aria-current="page"] {
  color: var(--espresso);
}

.article-head,
.prose,
.related,
.back,
.contact-form {
  max-width: 45rem;
  margin-inline: auto;
}

.byline,
.subtitle {
  margin-top: 0.7rem;
  font-family: var(--text);
  font-size: 0.92rem;
}

.subtitle {
  font-style: italic;
}

.article-photo {
  max-width: 960px;
  margin: 1.35rem auto 1.5rem;
}

.article-photo img,
.prose img {
  width: 100%;
  height: auto;
}

.prose img.is-portrait {
  width: auto;
  max-width: min(100%, 24rem);
  margin-inline: auto;
}

.prose {
  font-family: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure,
.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1rem;
}

.prose h2,
.prose h3,
.prose h4,
.related h2 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
}

.prose h2,
.related h2 {
  font-size: 1.8rem;
}

.prose h3 {
  font-size: 1.4rem;
}

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

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose blockquote {
  padding-left: 0.9rem;
  border-left: 2px solid var(--sand);
}

.prose hr {
  margin-top: 1.4rem;
  border: 0;
  border-top: 1px solid var(--sand);
}

.prose figcaption,
.article-photo figcaption {
  margin-top: 0.4rem;
  font-family: var(--text);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--rich-brown);
}

.prose .layout-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.prose .layout-gallery figure {
  margin-top: 0;
}

.prose a,
.related a,
.missing-links a {
  color: var(--teal);
}

.prose figure {
  margin-inline: 0;
}

.prose figure.embed {
  width: 100%;
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0.4rem;
  background: var(--espresso);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.related {
  margin-top: 2rem;
}

.related ul {
  margin-top: 0.7rem;
}

.related li {
  margin-top: 0.45rem;
  font-family: var(--text);
}

.related span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rich-brown);
}

.back {
  margin-top: 1.6rem;
}

.contact-mail {
  margin-top: 0.9rem;
  font-family: var(--text);
  line-height: 1.6;
}

.contact-mail a {
  color: var(--teal);
}

.contact-form {
  margin-top: 1rem;
}

.notice {
  font-family: var(--text);
  line-height: 1.6;
}

.field {
  margin-top: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--text);
  font-size: 0.86rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--espresso);
  border-radius: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--text);
  font-size: 1rem;
}

.contact-form .button {
  margin-top: 1.1rem;
  border: 0;
}

.contact-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.missing-links {
  display: flex;
  gap: 1.2rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 899px) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .story-grid,
  .prose .layout-gallery {
    grid-template-columns: 1fr;
  }

  .article {
    padding-top: 1.2rem;
  }
}
