@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond_600SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond_600SemiBold_Italic.ttf')
    format('truetype');
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans_400Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans_500Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f1e5d4;
  --surface: #faf5ec;
  --ink: #222027;
  --muted: #686055;
  --coral: #c86f62;
  --coral-dark: #85463e;
  --sage: #8aa293;
  --sage-dark: #405c4e;
  --saffron: #e4aa61;
  --line: #d9cbb7;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(
      ellipse at 12% 18%,
      rgb(255 255 255 / 34%),
      transparent 44%
    ),
    repeating-linear-gradient(
      0deg,
      rgb(91 69 45 / 2%) 0,
      rgb(91 69 45 / 2%) 1px,
      transparent 1px,
      transparent 5px
    );
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--ink);
  background: #e9bd8d;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--coral-dark);
  outline-offset: 4px;
}

.masthead,
.footer {
  width: min(1240px, calc(100% - 72px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masthead {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 27px;
  height: 18px;
  place-items: center;
  border: 1.5px solid var(--coral-dark);
  border-radius: 100% 12%;
  transform: rotate(-7deg);
}

.brand-mark span {
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--coral-dark);
  border-radius: 50%;
  background: var(--saffron);
}

.masthead-note {
  color: var(--muted);
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
}

.top-link,
.back-top {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.top-link span {
  margin-left: 4px;
  color: var(--coral-dark);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  width: min(1240px, calc(100% - 72px));
  min-height: 535px;
  margin: 0 auto;
  padding-block: 64px 72px;
}

.hero-copy {
  padding-block: 18px;
}

.eyebrow,
.section-kicker,
.contents-label {
  margin: 0;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgb(200 111 98 / 15%);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  max-width: 670px;
  margin: 28px 0 16px;
  font-family: var(--display);
  font-size: 68px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.94;
}

h1 em {
  color: var(--coral-dark);
  font-weight: 600;
}

.hero-intro {
  max-width: 550px;
  margin-bottom: 18px;
  color: #49443e;
  font-size: 17px;
  line-height: 1.75;
}

.review-date {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
}

.review-date span {
  padding-inline: 5px;
  color: var(--coral-dark);
}

.text-link,
.inline-link {
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link span {
  margin-left: 7px;
}

.artwork {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 9px 9px 0;
  background: var(--surface);
  box-shadow: 0 16px 32px rgb(55 42 25 / 13%);
  transform: rotate(1.4deg);
}

.artwork img {
  display: block;
  width: 100%;
  height: 355px;
  object-fit: cover;
  object-position: center 49%;
  background: #ded2bf;
}

.artwork figcaption {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.artwork figcaption span:first-child {
  color: var(--coral-dark);
  font-weight: 500;
}

.hero-stamp {
  position: absolute;
  right: 0;
  bottom: 42px;
  display: grid;
  width: 76px;
  height: 76px;
  place-content: center;
  border: 1px solid var(--sage-dark);
  border-radius: 50%;
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-align: center;
  transform: rotate(8deg);
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary > div {
  display: grid;
  grid-template-columns: 34px auto;
  align-content: center;
  align-items: baseline;
  column-gap: 10px;
  padding: 0 28px;
}

.summary > div:first-child {
  padding-left: 0;
}

.summary > div + div {
  border-left: 1px solid var(--line);
}

.summary-index {
  grid-row: span 2;
  color: var(--coral-dark);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}

.summary strong {
  font-size: 13px;
  font-weight: 500;
}

.summary > div > span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  gap: clamp(42px, 7vw, 108px);
  justify-content: center;
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
  padding-block: 72px 90px;
}

.contents {
  position: sticky;
  top: 28px;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
}

.contents-label {
  margin-bottom: 5px;
  color: var(--muted);
}

.contents a {
  color: #4c463f;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

.contents a:hover {
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contents-rule {
  width: 35px;
  height: 1px;
  margin-block: 8px 1px;
  background: var(--coral);
}

.contents-small {
  max-width: 165px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.policy-section {
  padding-bottom: 43px;
  scroll-margin-top: 28px;
}

.policy-section + .policy-section {
  padding-top: 37px;
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 11px;
  color: var(--sage-dark);
}

h2 {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

h3 {
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.policy p {
  color: #48433d;
}

.data-list {
  margin-block: 26px 21px;
  border-top: 1px solid #bcae99;
}

.data-row {
  display: grid;
  grid-template-columns: minmax(115px, 0.72fr) minmax(105px, 0.7fr) minmax(
      190px,
      1.7fr
    );
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #48433d;
  font-size: 12px;
  line-height: 1.55;
}

.data-row strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.data-head {
  padding-block: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.small-note {
  color: var(--muted) !important;
  font-size: 12px;
  line-height: 1.7;
}

.inline-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 15px 17px;
  border-left: 3px solid var(--sage);
  background: rgb(138 162 147 / 13%);
}

.inline-note p {
  margin: 0;
  font-size: 13px;
}

.note-mark {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--sage-dark);
  border-radius: 50%;
  color: var(--sage-dark);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.recipient-list {
  margin-block: 24px 19px;
  border-top: 1px solid #bcae99;
}

.recipient-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 84px;
  gap: 15px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.recipient-number {
  color: var(--coral-dark);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

.recipient-row h3 {
  margin-bottom: 6px;
}

.recipient-row p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.7;
}

.recipient-type {
  justify-self: end;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

.editorial-list {
  margin: 21px 0;
  padding: 0;
  list-style: none;
  counter-reset: choice;
}

.editorial-list li {
  position: relative;
  margin: 0;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--line);
  color: #48433d;
  font-size: 14px;
}

.editorial-list li::before {
  position: absolute;
  left: 0;
  color: var(--coral-dark);
  content: counter(choice, decimal-leading-zero);
  counter-increment: choice;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

#safety h3 {
  margin-top: 27px;
}

.publication-note {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  margin-block: 22px;
  padding: 17px;
  border: 1px solid #bb8450;
  background: rgb(228 170 97 / 17%);
}

.publication-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}

.publication-note strong {
  font-size: 13px;
  font-weight: 500;
}

.publication-note p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.footer {
  min-height: 96px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
}

.footer-brand {
  font-size: 11px;
}

.footer small {
  color: var(--muted);
  font-size: 10px;
}

.back-top {
  font-size: 12px;
}

@media (max-width: 760px) {
  .masthead,
  .footer,
  .hero,
  .summary,
  .policy-layout {
    width: min(100% - 40px, 600px);
  }

  .masthead {
    min-height: 70px;
  }

  .masthead-note {
    display: none;
  }

  .brand {
    gap: 9px;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: 0;
    padding-block: 45px 38px;
  }

  h1 {
    margin-top: 23px;
    font-size: 52px;
  }

  .hero-intro {
    max-width: 540px;
    font-size: 16px;
  }

  .artwork {
    width: min(100%, 420px);
    justify-self: center;
  }

  .artwork img {
    height: 350px;
  }

  .hero-stamp {
    right: 1px;
    bottom: 22px;
    width: 67px;
    height: 67px;
    font-size: 8px;
  }

  .summary {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 7px;
  }

  .summary > div,
  .summary > div:first-child {
    min-height: 66px;
    padding: 10px 0;
  }

  .summary > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .summary-index {
    font-size: 19px;
  }

  .policy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-block: 37px 62px;
  }

  .contents {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--line);
  }

  .contents-label,
  .contents-rule,
  .contents-small {
    grid-column: 1 / -1;
  }

  .contents-label {
    margin-bottom: 1px;
  }

  .contents a {
    font-size: 12px;
  }

  .contents-rule {
    margin-block: 2px 0;
  }

  .contents-small {
    max-width: 360px;
  }

  .policy-section {
    padding-bottom: 32px;
  }

  .policy-section + .policy-section {
    padding-top: 30px;
  }

  h2 {
    font-size: 35px;
  }

  .data-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 6px 14px;
    padding-block: 13px;
  }

  .data-head {
    display: none;
  }

  .data-row strong {
    grid-column: 1 / -1;
  }

  .data-row span:nth-child(2)::before {
    color: var(--muted);
    content: 'Where: ';
  }

  .data-row span:nth-child(3)::before {
    color: var(--muted);
    content: 'Use: ';
  }

  .recipient-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 11px;
  }

  .recipient-row > div {
    grid-column: 2;
  }

  .recipient-type {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .footer {
    min-height: 82px;
  }

  .footer p {
    display: none;
  }

  .footer small {
    max-width: 122px;
    text-align: right;
  }
}

@media (max-width: 390px) {
  .masthead,
  .footer,
  .hero,
  .summary,
  .policy-layout {
    width: calc(100% - 32px);
  }

  .top-link {
    font-size: 12px;
  }

  h1 {
    font-size: 46px;
  }

  .artwork img {
    height: 305px;
  }

  .hero-stamp {
    right: -3px;
  }

  h2 {
    font-size: 32px;
  }
}

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