@font-face {
  font-family: "Ibarra Real Nova";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibarra-600.woff2") format("woff2");
}
@font-face {
  font-family: "Ibarra Real Nova";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibarra-700.woff2") format("woff2");
}
@font-face {
  font-family: "Ibarra Real Nova";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibarra-italic.woff2") format("woff2");
}
@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/sora-regular.woff2") format("woff2");
}
@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/sora-semibold.woff2") format("woff2");
}

:root {
  --stone: #e4dccb;
  --paper: #f4efe3;
  --ink: #1c1914;
  --ink-soft: #4a453c;
  --oxide: #8a2e1d;
  --moss: #2d3328;
  --tile: #c4b59a;
  --street: #d7ceba;
  --link: #6b2418;
  --link-hover: #4a180f;
  --max: 68rem;
  --cut: 1.15rem;
}

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

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--stone);
  background-image:
    linear-gradient(90deg, rgba(138, 46, 29, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(138, 46, 29, 0.045) 1px, transparent 1px);
  background-size: 3.25rem 3.25rem;
}

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

a {
  color: var(--link);
}

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

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 1.6rem, var(--max));
  margin-inline: auto;
}

.masthead {
  background: var(--paper);
  border-bottom: 3px solid var(--oxide);
  margin-bottom: 1.4rem;
}

.masthead-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  padding: 0.85rem 0 0.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand img {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-name {
  font-family: "Ibarra Real Nova", Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oxide);
}

.menu-toggle {
  display: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--oxide);
  border: 0;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

#site-nav {
  width: 100%;
}

#site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.15rem;
  margin: 0;
  padding: 0.55rem 0 0.85rem;
}

#site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.1rem;
}

#site-nav a:hover,
#site-nav a[aria-current="page"] {
  color: var(--oxide);
  border-bottom-color: var(--oxide);
}

.disclaimer {
  margin: 0;
  padding: 0.55rem 0 0.95rem 0.9rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
  border-left: 3px solid var(--oxide);
}

.chamfer {
  background: var(--paper);
  clip-path: polygon(
    var(--cut) 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut)),
    0 var(--cut)
  );
}

.courtyard,
.prose,
.notfound {
  --cut: 1.15rem;
  padding: 1.55rem 1.45rem 1.7rem;
  margin: 0 0 1rem;
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--oxide);
}

h1 {
  font-family: "Ibarra Real Nova", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

h2 {
  font-family: "Ibarra Real Nova", Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 1.4rem 0 0.6rem;
}

.lead,
.prose p,
.notfound p {
  margin: 0 0 0.9rem;
}

.lead {
  font-size: 1.12rem;
}

.courtyard figure,
.prose figure {
  margin: 1.15rem 0 0;
}

.courtyard img,
.prose img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.illa {
  --cut: 0.8rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 9.5rem;
  padding: 1.05rem 1rem 1.15rem;
  color: inherit;
  text-decoration: none;
}

.illa:hover {
  background: #efe8d6;
  color: inherit;
}

.illa .num {
  font-family: "Ibarra Real Nova", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--oxide);
  margin: 0 0 0.15rem;
}

.illa h2 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

.illa p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.prose ul {
  margin: 0 0 0.9rem;
  padding-left: 1.15rem;
}

.prose li {
  margin: 0 0 0.35rem;
}

.plaque {
  --cut: 0.7rem;
  max-width: 24rem;
  margin: 0.4rem 0 1.8rem;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--moss);
  color: var(--paper);
}

.plaque-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #d7c4a0;
}

.plaque p {
  margin: 0;
}

.plaque a {
  color: #f3e6c8;
}

.plaque a:hover {
  color: #fff8ea;
}

.next-reading {
  margin: 1.4rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--tile);
  font-size: 0.95rem;
}

.next-reading span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--oxide);
  margin-bottom: 0.2rem;
}

footer {
  margin-top: 1rem;
  padding: 1.4rem 0 2.4rem;
  background: var(--paper);
  border-top: 3px solid var(--oxide);
}

footer .disclaimer {
  margin-bottom: 1rem;
  padding-top: 0;
  padding-bottom: 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  align-items: baseline;
}

.copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

footer nav a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--oxide);
}

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

  #site-nav {
    display: none;
    width: 100%;
  }

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

  #site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.15rem 0 0.85rem;
  }

  #site-nav a {
    display: block;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--tile);
  }

  .plan {
    grid-template-columns: minmax(0, 1fr);
  }

  .courtyard,
  .prose,
  .notfound {
    --cut: 0.7rem;
    padding: 1.15rem 1rem 1.3rem;
  }

  .illa {
    min-height: 0;
  }
}

@media (min-width: 721px) {
  .masthead-inner {
    display: block;
  }

  #site-nav ul {
    justify-content: flex-start;
    padding: 0.45rem 0 0.85rem;
  }
}
