/* Ivory field notes: the receiver's materials, with readable editorial type. */
:root {
  color-scheme: light;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 350;
  color: #494333;
  background: #f7f4ec;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: clamp(12px, 4vw, 56px);
  background: radial-gradient(ellipse at 50% 10%, #fffdf7, transparent 70%);
}
main {
  max-width: 960px;
  margin: auto;
  padding: clamp(24px, 5vw, 56px);
  background: linear-gradient(115deg, #f3eddf, #ece5d6);
  border: 1px solid #c7bead;
  border-radius: 30px;
  box-shadow:
    inset 0 0 0 3px #faf7ee,
    inset 0 0 0 5px #ddd5c5,
    0 24px 36px -21px #6c5a3d70,
    0 3px 5px #82725218;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 2px clamp(26px, 4vw, 42px);
  font-size: 11px;
}
.brand {
  font-size: clamp(17px, 3vw, 24px);
  font-weight: 600;
  letter-spacing: 0.26em;
  color: #292b25;
  text-decoration: none;
}
.return-key {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #b9a98c;
  border-radius: 8px;
  text-decoration: none;
  color: #62523a;
  background: linear-gradient(145deg, #f8f3e7, #e7ddc9);
  box-shadow:
    inset 0 0 0 2px #fbf7ee,
    0 2px 3px #6c5a3d12;
}
section {
  margin-top: 24px;
}
.introduction {
  position: relative;
  padding: clamp(24px, 5vw, 44px);
  border: 3px solid #bcb39f;
  border-radius: 18px;
  background: linear-gradient(145deg, #d8cdb6, #eee5d2 65%, #e3d5b9);
  box-shadow:
    inset 0 5px 13px #544b3b25,
    inset 0 -2px 6px #fffcf36b;
}
.introduction::after {
  content: "";
  display: block;
  margin-top: 26px;
  height: 10px;
  width: 100%;
  opacity: 0.5;
  background: repeating-linear-gradient(
    90deg,
    #8a7758 0 1px,
    transparent 1px 9px
  );
  border-left: 2px solid #a3592f;
}
.eyebrow,
h2 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #665438;
}
.eyebrow {
  margin: 0 0 22px;
  text-align: left;
}
h1 {
  font-size: clamp(30px, 5.8vw, 49px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 24px;
  color: #39372e;
}
p,
li {
  font-size: 15px;
  line-height: 1.85;
}
p {
  margin: 14px 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.intro {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.65;
  font-weight: 300;
}
strong {
  font-weight: 600;
}
.note-block {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #cec3af;
  border-radius: 14px;
  background: linear-gradient(120deg, #faf6eb85, #eee6d645);
  box-shadow: inset 0 1px 0 #fffaf2;
}
h2 {
  margin: 0 0 25px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d5cbb7;
  line-height: 1.7;
}
.section-index {
  color: #8d502b;
  margin-right: 12px;
}
h3 {
  font-size: 23px;
  font-weight: 350;
  letter-spacing: -0.02em;
  margin: 25px 0 12px;
}
h3 .meta {
  display: block;
  margin-top: 5px;
  letter-spacing: 0.03em;
}
a {
  color: #854b26;
  text-decoration-color: #b69672;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
a:hover {
  color: #623314;
  text-decoration-color: currentColor;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #a36532;
  outline-offset: 4px;
  border-radius: 3px;
}
.meta {
  font-size: 12px;
  color: #655b49;
  line-height: 1.8;
  text-align: left;
}
.note-block > .meta {
  margin: 22px 0 0;
  padding: 14px 0 0 16px;
  border-left: 2px solid #b89e79;
}
.note-block > ul {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}
.note-block > ul li {
  border-bottom: 1px solid #d8cdbb;
  padding: 8px 0;
  font-size: 13px;
}
.note-block > ul a {
  display: inline-block;
  padding: 3px 0;
}
details {
  border: 1px solid #cbbda4;
  border-radius: 9px;
  margin: 12px 0;
  padding: 0 20px;
  background: #e9dfca45;
}
summary {
  cursor: pointer;
  padding: 17px 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}
summary::marker {
  color: #9a6138;
  font-size: 12px;
}
summary span {
  display: block;
  margin: 5px 0 0 17px;
  color: #665b49;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.015em;
}
details[open] {
  padding-bottom: 14px;
  background: #faf6ec70;
}
details[open] summary {
  border-bottom: 1px solid #d4c7b0;
  margin-bottom: 16px;
}
.sources {
  list-style: none;
  padding: 0;
}
.sources li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #ddd3bf;
}
.sources a {
  display: inline-block;
  min-height: 28px;
  font-weight: 400;
}
.sources small {
  display: block;
  color: #665b49;
  font-size: 11px;
  line-height: 1.8;
}
footer {
  text-transform: uppercase;
  margin-top: 30px;
  padding: 20px 4px 0;
  border-top: 1px solid #d5cbb7;
  font-size: 11px;
  line-height: 2;
  color: #665b49;
}
footer a {
  display: inline-block;
  min-height: 26px;
}
@media (max-width: 540px) {
  body {
    padding: 10px;
  }
  main {
    padding: 25px 18px;
    border-radius: 22px;
  }
  nav {
    gap: 12px;
  }
  .return-key {
    font-size: 10px;
    padding: 8px 10px;
    gap: 7px;
  }
  .introduction,
  .note-block {
    padding: 22px 18px;
  }
  p {
    text-align: left;
  }
  p,
  li {
    font-size: 14px;
  }
  .intro {
    font-size: 18px;
  }
  details {
    padding: 0 13px;
  }
  summary {
    font-size: 16px;
  }
}
