@font-face {
  font-family: "Ringbearer";
  src: url("assets/ringbearer.TTF") format("truetype");
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body.about-body {
  margin: 0;
  min-height: 100vh;
  color: #382719;
  background:
    radial-gradient(circle at 50% 0, rgba(244, 211, 143, 0.15), transparent 28rem),
    linear-gradient(rgba(18, 11, 7, 0.28), rgba(18, 11, 7, 0.45)),
    linear-gradient(105deg, #21140d, #573724 35%, #754a30 50%, #4d301f 70%, #21140d);
  font-family: "Libre Baskerville", Georgia, serif;
}

.about-shell {
  box-sizing: border-box;
  width: 100%;
  padding: 104px 22px 48px;
}

.about-document {
  position: relative;
  box-sizing: border-box;
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(200, 155, 75, 0.86);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 232, 0.78), rgba(225, 202, 152, 0.4)),
    url("assets/map_parchment.png") center top / cover;
  box-shadow:
    0 30px 75px rgba(16, 9, 5, 0.52),
    inset 0 0 80px rgba(107, 67, 29, 0.14),
    inset 0 0 0 1px rgba(255, 247, 221, 0.5);
}

.about-document::before,
.about-document::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 16px;
  pointer-events: none;
}

.about-document::before {
  left: 0;
  background: linear-gradient(90deg, rgba(75, 43, 20, 0.25), transparent);
}

.about-document::after {
  right: 0;
  background: linear-gradient(270deg, rgba(75, 43, 20, 0.25), transparent);
}

.about-masthead {
  position: relative;
  padding: 64px clamp(28px, 7vw, 86px) 46px;
  border-bottom: 1px solid rgba(108, 69, 31, 0.35);
  text-align: center;
}

.about-masthead::after {
  content: "";
  position: absolute;
  right: clamp(28px, 7vw, 86px);
  bottom: -1px;
  left: clamp(28px, 7vw, 86px);
  height: 3px;
  background: linear-gradient(90deg, transparent, #b68a42 18%, #71352e 50%, #b68a42 82%, transparent);
}

.about-kicker {
  margin: 0 0 12px;
  color: #71352e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-masthead h1 {
  max-width: 850px;
  margin: 0 auto;
  color: #382418;
  font-family: "Ringbearer", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.025em;
  text-shadow: 0 1px rgba(255, 248, 220, 0.7);
}

.about-lede {
  max-width: 700px;
  margin: 18px auto 0;
  color: #654a30;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-style: italic;
  line-height: 1.45;
}

.about-status {
  display: grid;
  max-width: 760px;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 15px;
  margin: 28px auto 0;
  padding: 15px 18px;
  border: 1px solid rgba(113, 53, 46, 0.34);
  border-radius: 4px;
  background: rgba(113, 53, 46, 0.065);
  text-align: left;
}

.about-status__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid #b68a42;
  border-radius: 50%;
  color: #f5ebd0;
  background: #71352e;
  box-shadow: inset 0 0 0 2px #71352e, inset 0 0 0 3px rgba(245, 235, 208, 0.42);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.about-status p {
  margin: 0;
  color: #58402b;
  font-size: 0.78rem;
  line-height: 1.6;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(190px, 235px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  padding: 48px clamp(28px, 7vw, 86px) 64px;
}

.about-contents {
  align-self: start;
  padding: 19px 18px 17px;
  border: 1px solid rgba(103, 72, 37, 0.34);
  border-radius: 4px;
  background: rgba(255, 248, 224, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 251, 235, 0.42);
}

.about-contents__title {
  margin: 0 0 11px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(113, 53, 46, 0.25);
  color: #71352e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.about-contents ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2rem;
  color: #8a6334;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.about-contents a,
.about-section a {
  color: #662f29;
  text-decoration-color: rgba(102, 47, 41, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.about-contents a:hover,
.about-contents a:focus-visible,
.about-section a:hover,
.about-section a:focus-visible {
  color: #34502e;
  text-decoration-color: #b68a42;
}

.about-contents a:focus-visible,
.about-section a:focus-visible,
.about-return:focus-visible {
  outline: 2px solid #71352e;
  outline-offset: 3px;
  border-radius: 2px;
}

.about-sections {
  min-width: 0;
}

.about-section {
  position: relative;
  padding: 0 0 38px;
  scroll-margin-top: 24px;
}

.about-section + .about-section {
  padding-top: 38px;
  border-top: 1px solid rgba(103, 72, 37, 0.27);
}

.about-section__number {
  position: absolute;
  top: 4px;
  left: -40px;
  width: 27px;
  margin: 0;
  color: #a0773d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
}

.about-section + .about-section .about-section__number {
  top: 42px;
}

.about-section h2 {
  margin: 0 0 13px;
  color: #3d291a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  line-height: 1.08;
}

.about-section h3 {
  margin: 25px 0 8px;
  color: #71352e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
}

.about-section p {
  margin: 0 0 15px;
  color: #4c3826;
  font-size: 0.88rem;
  line-height: 1.75;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-disclaimer {
  margin: 8px 0 18px;
  padding: 20px 22px 18px;
  border-left: 4px solid #71352e;
  background: rgba(113, 53, 46, 0.075);
  box-shadow: inset 0 0 0 1px rgba(113, 53, 46, 0.12);
}

.about-disclaimer p:first-child {
  color: #3e291c;
}

.about-disclaimer p:last-child {
  color: #34502e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 700;
}

.about-ledger {
  display: grid;
  gap: 0;
  margin: 12px 0 18px;
  padding: 0;
  border-top: 1px solid rgba(103, 72, 37, 0.24);
  list-style: none;
}

.about-ledger li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.78fr);
  gap: 18px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(103, 72, 37, 0.2);
  color: #493321;
  font-size: 0.76rem;
  line-height: 1.5;
}

.about-ledger li > :last-child {
  color: #6b5137;
  font-style: italic;
}

.about-footer {
  padding: 35px clamp(28px, 7vw, 86px) 45px;
  border-top: 1px solid rgba(103, 72, 37, 0.32);
  background: rgba(91, 57, 27, 0.06);
  text-align: center;
}

.about-footer__flourish {
  margin: 0 0 8px;
  color: #9f7236;
  font-size: 1.25rem;
}

.about-footer > p:not(.about-footer__flourish) {
  max-width: 620px;
  margin: 0 auto 18px;
  color: #674d32;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
}

.about-return {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid #b68a42;
  border-radius: 999px;
  color: #f5ebd0;
  background: linear-gradient(#503522, #281911);
  box-shadow: 0 5px 12px rgba(43, 25, 13, 0.23);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.about-return:hover,
.about-return:focus-visible {
  color: #fff6dc;
  background: linear-gradient(#65452c, #3a261a);
}

@media (min-width: 900px) {
  .about-contents {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 18px;
  }

  .about-shell {
    padding: 92px 10px 22px;
  }

  .about-document {
    border-radius: 4px;
  }

  .about-masthead {
    padding: 42px 22px 34px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 34px 24px 46px;
  }

  .about-contents ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
  }

  .about-section__number {
    position: static;
    width: auto;
    margin-bottom: 5px;
    text-align: left;
  }

  .about-status {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 13px 14px;
  }

  .about-status__mark {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }

  .about-ledger li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 480px) {
  .about-shell {
    padding-top: 132px;
  }

  .about-contents ol {
    grid-template-columns: 1fr;
  }

  .about-masthead h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
