@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --paper-light: #fbf9f4;
  --ink: #381e14;
  --clay: #8c4a32;
  --muted: #806f63;
  --line: #e5ddd2;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
a { color: inherit; }

.page-shell { position: relative; width: min(1120px, 100%); min-height: 100vh; margin: 0 auto; padding: 0 clamp(22px, 6vw, 82px) 54px; }
.page-header { position: relative; z-index: 5; display: flex; height: 90px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.archive-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand-mark-window { position: relative; display: block; width: 52px; height: 39px; overflow: hidden; flex: 0 0 52px; }
.brand-mark-image { position: absolute; inset: 0 auto auto 0; width: auto; max-width: none; height: 39px; }
.brand-name { color: #381e14; font: italic 400 25px/1.25 var(--serif); }

.menu-toggle { display: grid; width: 44px; height: 42px; align-content: center; gap: 8px; padding: 7px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { width: 30px; height: 2px; background: var(--clay); transition: transform 200ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.about-menu { position: absolute; z-index: 6; top: 77px; right: clamp(22px, 6vw, 82px); display: flex; width: min(330px, calc(100% - 44px)); flex-direction: column; padding: 12px 22px; border: 1px solid rgb(140 74 50 / 19%); border-radius: 13px; background: rgb(251 249 244 / 98%); box-shadow: 0 16px 45px rgb(56 30 20 / 11%); }
.about-menu[hidden] { display: none; }
.about-menu a { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 14px var(--serif); text-decoration: none; }
.about-menu a:last-child { border-bottom: 0; }
.about-menu a:hover, .about-menu a[aria-current="page"] { color: var(--clay); }
.about-menu a span { color: #a58a77; font-family: var(--sans); }

.about-page, .contributor-page { max-width: 770px; margin: 0 auto; padding: clamp(52px, 8vw, 94px) 0 30px; }
.page-eyebrow { margin: 0 0 19px; color: #987660; font-size: 10px; font-weight: 600; letter-spacing: .17em; line-height: 1.6; }
.about-page h1, .contributor-page h1 { max-width: 730px; margin: 0 0 25px; font: 400 clamp(36px, 6vw, 63px)/1.23 var(--serif); letter-spacing: -.045em; }
.about-page h1 em, .contributor-page h1 em { color: var(--clay); font-weight: 400; }
.about-lead { max-width: 710px; margin: 0 0 54px; color: #68564a; font: 400 clamp(17px, 2.2vw, 22px)/1.9 var(--serif); }
.about-section { padding: 27px 0 29px; border-top: 1px solid var(--line); }
.about-section h2 { margin: 0 0 13px; font: 400 22px/1.5 var(--serif); }
.about-section p { max-width: 720px; margin: 0 0 13px; color: #6f6258; font-size: 14px; line-height: 1.9; }
.about-section p:last-child { margin-bottom: 0; }
.about-quote { margin: 22px 0 26px; padding: 26px 30px; border-left: 2px solid var(--clay); background: #eee8de; }
.about-quote span { color: #937560; font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.about-quote p { margin: 14px 0 0; color: #63483a; font: italic 400 17px/1.8 var(--serif); }
.back-link { display: inline-block; margin-top: 17px; color: var(--clay); font-size: 12px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.contributor-page { max-width: 790px; }
.contributor-page h1 { margin-bottom: 15px; font-size: clamp(35px, 5vw, 51px); }
.page-intro { max-width: 650px; margin: 0 0 25px; color: #75665a; font-size: 14px; line-height: 1.8; }
.submission-notice { display: grid; gap: 5px; margin: 0 0 34px; padding: 17px 19px; border: 1px solid #d9c2ae; border-radius: 7px; background: #f1e9df; color: #654736; font-size: 12px; line-height: 1.65; }
.submission-notice strong { font-size: 13px; font-weight: 600; }
.contributor-form fieldset { min-width: 0; margin: 0 0 30px; padding: 25px 0 31px; border: 0; border-top: 1px solid var(--line); }
.contributor-form legend { padding: 0 13px 0 0; color: var(--ink); font: 400 22px var(--serif); }
.fieldset-intro { margin: -2px 0 20px; color: #87776a; font-size: 11px; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 18px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > span:first-child { color: #57453a; font-size: 12px; font-weight: 500; }
.required-mark { color: var(--clay); }
.form-field input, .form-field textarea { width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid #ded4c8; border-radius: 5px; outline: none; background: var(--paper-light); color: var(--ink); font-size: 13px; }
.form-field textarea { min-height: 94px; resize: vertical; line-height: 1.7; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgb(140 74 50 / 9%); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #b0a093; }
.form-field small { color: #8a7a6e; font-size: 10px; line-height: 1.6; }
.policy-fieldset { padding-bottom: 18px !important; }
.policy-fieldset .fieldset-intro { margin-top: 0; }
.policy-item { display: flex; align-items: flex-start; gap: 12px; margin: 15px 0; color: #69594e; font-size: 12px; line-height: 1.75; cursor: pointer; }
.policy-item input { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0; accent-color: var(--clay); }
.submit-contribution { min-height: 49px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--clay); color: #fffaf3; font-size: 12px; font-weight: 500; }
.submit-contribution:disabled { background: #b6a294; color: #f9f5ef; opacity: 0.65; cursor: wait; }
.form-feedback { padding: 12px 15px; border-radius: 5px; background: #f1e9df; color: #654736; font-size: 12px; line-height: 1.6; }
.form-feedback[data-status="success"] { background: #e8f0e5; color: #36513a; }
.form-feedback[data-status="warning"],
.form-feedback[data-status="error"] { background: #f7e7e1; color: #763f31; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; }

@media (max-width: 600px) {
  .page-shell { padding-inline: 21px; }
  .page-header { height: 78px; }
  .brand-mark-window { width: 43px; height: 33px; flex-basis: 43px; }
  .brand-mark-image { height: 33px; }
  .brand-name { font-size: 21px; }
  .about-menu { top: 69px; right: 21px; }
  .about-page, .contributor-page { padding-top: 52px; }
  .about-lead { margin-bottom: 38px; }
  .about-section { padding-block: 23px; }
  .about-section h2 { font-size: 19px; }
  .about-section p { font-size: 13px; }
  .about-quote { padding: 21px; }
  .about-quote p { font-size: 15px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-field-wide { grid-column: auto; }
  .contributor-form fieldset { padding-top: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
