/* ==========================================================================
   Cole Kander — Bywater · Green Hill Country
   Textured Shire treatment. No framework, no build step.

   Contents
     1.  Tokens
     2.  Reset & base
     3.  Shared primitives (paper, nails, buttons, eyebrows, forms)
     4.  Header + navigation
     5.  Hero
     6.  My Story
     7.  The Notices (platform)
     8.  Gallery
     9.  Membership
     10. The Purse (donate)
     11. Lend a Hand (volunteer)
     12. Send Word (contact)
     13. Closer
     14. Footer
     15. Responsive
     16. Reduced motion / print
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   The palette below is the design's "The Shire" set, in its original order.
   ========================================================================== */
:root {
  /* Palette — The Shire */
  --ink:            #2E2013;
  --ink-2:          #1E1409;
  --ink-hover:      #3E2C1A;
  --paper:          #EFE1C0;
  --paper-2:        #F8F0DA;
  --paper-3:        #F2E7CB;
  --paper-4:        #E4D2AC;
  --primary:        #4C6B33;
  --primary-hover:  #5C7F3D;
  --primary-soft:   #A9C08B;
  --accent:         #B5651D;
  --accent-hover:   #C87A2C;
  --accent-dark:    #7E3F12;
  --line:           #C9B48A;
  --line-2:         #B39C6E;
  --line-3:         #DCCBA6;
  --text-2:         #4A3A26;
  --text-3:         #5C4A32;
  --muted:          #7A6547;
  --muted-2:        #94805F;
  --muted-3:        #AD9A78;

  /* Timber, cream and trim */
  --timber:         #2A1D11;
  --timber-2:       #3A2917;
  --timber-3:       #35251A;
  --timber-4:       #5A4026;
  --timber-5:       #6B4C2A;
  --chain:          #6B4B27;
  --cream:          #F6ECCF;
  --cream-2:        #F3E7C9;
  --cream-3:        #FBF3DD;
  --cream-4:        #E9DCBB;
  --cream-5:        #EBDCB9;
  --cream-6:        #D8C7A2;
  --gold:           #E7B96A;
  --leaf:           #8CA96F;
  --sky:            #7FAAC2;
  --seal-ink:       #FBEDE6;
  --green-dark:     #33501F;
  --paper-5:        #EAD9B2;
  --label-muted:    #6B5535;
  --placeholder:    #A08A63;
  --token-shadow:   #A6906A;
  --err-ink:        #7E2A12;
  --err-bg:         #F0D8BE;
  --err-line:       #C39A6E;

  /* Shadows & washes */
  --shadow-deep:    rgba(30, 20, 9, 0.4);
  --shadow-timber:  rgba(20, 13, 6, 0.55);
  --emboss:         rgba(255, 232, 190, 0.25);

  /* Type */
  --font-body:  "EB Garamond", Georgia, serif;
  --font-display: "IM Fell English", Georgia, serif;
  --font-caps:  "IM Fell English SC", Georgia, serif;
  --font-hand:  "Caveat", "Segoe Script", cursive;

  /* Textures */
  --tex-parchment:  url("assets/shire/parchment.png");
  --tex-plank:      url("assets/shire/plank-wall.png");
  --tex-hero:       url("assets/shire/hero-shire.png");
  --tex-grass:      url("assets/shire/grass-strip.png");
  --tex-veg:        url("assets/shire/veg-row.png");
  --tex-vine:       url("assets/shire/vine-divider.png");
  --tex-seal:       url("assets/shire/wax-seal.png");

  /* Layout */
  --shell:      1260px;
  --gutter:     clamp(18px, 5vw, 30px);
  --section-y:  clamp(70px, 9vw, 110px);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper-4);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page { width: 100%; overflow-x: hidden; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

input, select, textarea, button { font-family: inherit; }
input, select, textarea { min-width: 0; width: 100%; }
input::placeholder, textarea::placeholder { color: var(--placeholder); opacity: 1; }

p, li, h1, h2, h3 { text-wrap: pretty; overflow-wrap: break-word; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--timber);
  color: var(--cream);
  font-family: var(--font-caps);
  padding: 12px 20px;
  border: 2px solid var(--gold);
}
.skip-link:focus { left: 8px; top: 8px; color: var(--cream); }

.shell { max-width: var(--shell); margin: 0 auto; }

@keyframes swing {
  from { transform: rotate(-1.8deg); }
  to   { transform: rotate(1.8deg); }
}

/* ==========================================================================
   3. Shared primitives
   ========================================================================== */

/* --- Section frames ----------------------------------------------------- */
.section {
  position: relative;
  padding: var(--section-y) var(--gutter);
}

.section--parchment {
  background-color: var(--paper);
  background-image: var(--tex-parchment);
  background-size: 900px auto;
  background-repeat: repeat;
}

.section--planks {
  background-color: var(--timber-2);
  background-image: var(--tex-plank);
  background-size: 1000px auto;
  background-repeat: repeat;
  padding: clamp(70px, 9vw, 110px) var(--gutter) clamp(90px, 11vw, 140px);
}
.section--planks::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(120% 90% at 50% 10%, rgba(255, 232, 190, 0.10), rgba(20, 13, 6, 0.55) 75%);
  pointer-events: none;
}

.section--planks-dark {
  background-color: var(--timber-3);
  background-image: linear-gradient(180deg, rgba(20, 13, 6, 0.55), rgba(20, 13, 6, 0.35)), var(--tex-plank);
  background-size: auto, 1200px auto;
  padding: clamp(70px, 9vw, 110px) var(--gutter) clamp(150px, 16vw, 230px);
}

.section--green {
  background-color: var(--primary);
  background-image: radial-gradient(130% 90% at 50% 0%, rgba(255, 232, 190, 0.16), rgba(20, 13, 6, 0.10) 40%, rgba(20, 13, 6, 0.46) 100%);
}

.section--gallery { padding: clamp(64px, 8vw, 100px) var(--gutter); }

/* --- Parchment sheets --------------------------------------------------- */
.paper {
  position: relative;
  background-color: var(--paper);
  background-image: var(--tex-parchment);
  background-size: cover;
  background-position: center;
}

/* --- Nails & seals ------------------------------------------------------ */
.nail {
  position: absolute;
  z-index: 3;
  width: 36px;
  height: 36px;
  pointer-events: none;
}

.wax-seal { pointer-events: none; }

/* --- Eyebrows / headings ------------------------------------------------ */
.eyebrow {
  font-family: var(--font-caps);
  font-size: 15px;
  letter-spacing: 0.2em;
  margin: 0 0 14px;
  line-height: 1.4;
}
.eyebrow--brown { color: var(--accent-dark); }
.eyebrow--gold  { color: var(--gold); }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.02;
  margin: 0 0 22px;
}
.h2--ink   { color: var(--ink); }
.h2--cream { color: var(--cream); text-shadow: 0 3px 0 rgba(20, 13, 6, 0.7); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-caps);
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: 3px solid var(--timber);
  padding: 16px 28px;
  font-size: 18px;
  cursor: pointer;
}

.btn--lg { font-size: 19px; padding: 17px 30px; }
.btn--sm { font-size: 17px; padding: 14px 24px; }

.btn--gold {
  color: var(--cream-3);
  background-color: var(--accent);
  background-image: linear-gradient(180deg, rgba(255, 232, 190, 0.22), rgba(20, 13, 6, 0.2));
  box-shadow: 0 5px 0 var(--accent-dark), 0 14px 22px rgba(30, 20, 9, 0.32);
}
.btn--gold:hover { background-color: var(--accent-hover); color: var(--cream-3); }

.btn--green {
  color: var(--cream-3);
  background-color: var(--primary);
  box-shadow: 0 4px 0 var(--green-dark);
}
.btn--green:hover { background-color: var(--primary-hover); color: var(--cream-3); }

.btn-underline {
  font-family: var(--font-caps);
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--ink);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 3px;
}
.btn-underline:hover { color: var(--primary); }

.btn-underline--gold {
  font-size: 17px;
  border-bottom-color: var(--accent);
}
.btn-underline--gold:hover { color: var(--accent); }

.btn-submit {
  font-family: var(--font-caps);
  font-size: 21px;
  letter-spacing: 0.05em;
  color: var(--cream-3);
  border: 3px solid var(--timber);
  border-radius: 4px;
  padding: 18px 24px;
  cursor: pointer;
  background-image: linear-gradient(180deg, rgba(255, 232, 190, 0.22), rgba(20, 13, 6, 0.2));
}
.btn-submit--gold  { background-color: var(--accent);  box-shadow: 0 5px 0 var(--accent-dark); }
.btn-submit--gold:hover:not(:disabled)  { background-color: var(--accent-hover); }
.btn-submit--green { background-color: var(--primary); box-shadow: 0 5px 0 var(--green-dark); font-size: 20px; padding: 17px 24px; }
.btn-submit--green:hover:not(:disabled) { background-color: var(--primary-hover); }
.btn-submit--block { width: 100%; }
.btn-submit:disabled { opacity: 0.66; cursor: progress; }

/* --- Forms -------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form--letter { gap: 24px; }
.form[hidden] { display: none; }

.card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  margin: 0 0 6px;
  color: var(--ink);
  line-height: 1.1;
}
.card-title--sm { font-size: clamp(28px, 3vw, 34px); margin: 0; }

.card-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--label-muted);
  margin: 0;
}

.field { display: grid; gap: 4px; }
.field--gap { gap: 8px; }

.field__label {
  font-family: var(--font-caps);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  padding: 0;
}
.field__label--gold { color: var(--gold); }

.input {
  border: none;
  border-bottom: 2px solid var(--line-2);
  background-color: transparent;
  padding: 6px 2px;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.input--hand { font-family: var(--font-hand); font-size: 26px; }
.input--hand-lg { font-size: 28px; }
.input--select { font-family: var(--font-body); font-size: 19px; }
.input:focus { border-bottom-color: var(--primary); }

.input--dark {
  border-bottom-color: rgba(231, 185, 106, 0.6);
  color: var(--cream);
}
.input--dark::placeholder { color: var(--placeholder); }
.input--dark:focus { border-bottom-color: var(--cream); }

.textarea {
  border: none;
  background-color: transparent;
  background-image: repeating-linear-gradient(180deg,
    rgba(179, 156, 110, 0) 0px,
    rgba(179, 156, 110, 0) 37px,
    rgba(179, 156, 110, 0.55) 38px);
  padding: 4px 2px;
  line-height: 38px;
  font-family: var(--font-hand);
  font-size: 27px;
  color: var(--ink);
  outline: none;
  resize: vertical;
}
.textarea:focus { box-shadow: inset 0 -2px 0 var(--primary); }

.row { display: grid; gap: 20px; }
.row--2      { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.row--2-sm   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.row--wide   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.row--gap-lg { gap: 22px; }

.checkline {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-3);
}
.checkline input {
  margin-top: 4px;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  accent-color: var(--primary);
}

.fineprint {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.form-error {
  font-size: 16px;
  line-height: 1.6;
  color: var(--err-ink);
  background-color: var(--err-bg);
  border: 2px solid var(--err-line);
  padding: 12px 14px;
  margin: 0;
}
.form-error[hidden] { display: none; }

/* --- Success ("done") states -------------------------------------------- */
.done { padding: 20px 4px; }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done--center { text-align: center; padding: 24px 4px; }

.done__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.1;
}
.done__title--green { color: var(--primary); margin-bottom: 12px; }

.done__text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 26px;
}
.done .done__text:last-child { margin-bottom: 0; }

.wax-seal--done { margin: 0 auto 18px; }
.wax-seal--sent { margin: 0 0 18px; }

/* ==========================================================================
   4. Header + navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--timber);
  background-image: var(--tex-plank);
  background-size: 900px auto;
  box-shadow: 0 4px 0 rgba(20, 13, 6, 0.8), 0 16px 28px rgba(30, 20, 9, 0.30);
}

.site-header__wash {
  background-image: linear-gradient(180deg, rgba(255, 232, 190, 0.16), rgba(20, 13, 6, 0.44));
  padding: 13px clamp(16px, 4vw, 30px);
}

.site-header__bar {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 11px;
  flex-shrink: 0;
  color: var(--cream-2);
  text-shadow: 0 2px 0 rgba(20, 13, 6, 0.9);
}
.wordmark:hover { color: #FFF6E0; }
.wordmark__name {
  font-family: var(--font-caps);
  font-size: clamp(21px, 5.4vw, 27px);
  letter-spacing: 0.05em;
}
.wordmark__riding {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
}

.header__mobile {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.header__join-sm {
  font-family: var(--font-caps);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--cream-3);
  background-color: var(--accent);
  padding: 12px 16px;
  border: 2px solid var(--timber);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 232, 190, 0.4), 0 3px 0 var(--accent-dark);
  white-space: nowrap;
}
.header__join-sm:hover { background-color: var(--accent-hover); color: var(--cream-3); }

.menu-toggle {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 13, 6, 0.35);
  border: 2px solid rgba(243, 231, 201, 0.4);
  border-radius: 3px;
  color: var(--cream-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 46px;
}
.menu-toggle:hover { background-color: rgba(20, 13, 6, 0.55); }

.nav--desktop {
  display: flex;
  gap: 24px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}

.nav__link {
  font-family: var(--font-caps);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--cream-4);
  text-shadow: 0 1px 0 rgba(20, 13, 6, 0.8);
}
.nav__link:hover { color: #FFF6E0; }

.nav__purse {
  font-family: var(--font-caps);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--cream-2);
  border: 2px solid rgba(243, 231, 201, 0.45);
  padding: 9px 17px;
  border-radius: 3px;
}
.nav__purse:hover { background-color: rgba(243, 231, 201, 0.12); color: var(--cream-2); }

.nav__join {
  font-family: var(--font-caps);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--cream-3);
  background-color: var(--accent);
  padding: 11px 20px;
  border: 2px solid var(--timber);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 232, 190, 0.4), 0 3px 0 var(--accent-dark);
}
.nav__join:hover { background-color: var(--accent-hover); color: var(--cream-3); }

.nav--mobile {
  display: none;
  gap: 1px;
  padding: 4px 16px 18px;
  background-color: rgba(20, 13, 6, 0.5);
}
.nav--mobile a {
  padding: 15px 8px;
  font-family: var(--font-caps);
  font-size: 18px;
  color: var(--cream-2);
  border-bottom: 1px solid rgba(243, 231, 201, 0.18);
}
.nav--mobile a:hover { color: #FFF6E0; }
.nav--mobile__purse {
  margin-top: 10px;
  text-align: center;
  font-size: 17px !important;
  border: 2px solid rgba(243, 231, 201, 0.45) !important;
  border-radius: 3px;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--sky);
  background-image: var(--tex-hero);
  background-size: cover;
  background-position: 50% 100%;
  min-height: clamp(600px, 90vh, 980px);
  display: flex;
  align-items: center;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(102deg, rgba(46, 32, 19, 0.52) 0%, rgba(46, 32, 19, 0.24) 44%, rgba(46, 32, 19, 0) 68%);
}

/* Hanging village sign */
.hero__sign {
  position: absolute;
  top: 0;
  right: clamp(20px, 7vw, 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
.hero__sign-chains { display: flex; gap: 78px; }
.hero__sign-chains span {
  width: 3px;
  height: 46px;
  background-color: var(--chain);
}
.hero__sign-board {
  transform-origin: top center;
  animation: swing 6.5s ease-in-out infinite alternate;
  background-color: var(--timber-4);
  background-image: var(--tex-plank);
  background-size: 420px auto;
  border: 3px solid var(--timber);
  border-radius: 6px;
  padding: 14px 26px 16px;
  text-align: center;
  box-shadow: 0 12px 24px var(--shadow-deep), inset 0 2px 0 var(--emboss);
}
.hero__sign-name {
  font-family: var(--font-caps);
  font-size: 19px;
  letter-spacing: 0.07em;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(20, 13, 6, 0.9);
}
.hero__sign-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-top: 2px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: 0 auto;
  width: 100%;
  padding: clamp(70px, 10vw, 120px) var(--gutter) clamp(120px, 14vw, 190px);
}

.hero__notice {
  position: relative;
  max-width: 720px;
  filter: drop-shadow(0 18px 26px rgba(30, 20, 9, 0.5));
}

.nail--hero-a { top: -12px; left: 52px; width: 40px; height: 40px; }
.nail--hero-b { top: -14px; right: 68px; width: 36px; height: 36px; transform: rotate(18deg); }

.hero__paper {
  padding: clamp(34px, 5vw, 58px) clamp(26px, 5vw, 56px) clamp(38px, 5vw, 56px);
  clip-path: polygon(0.6% 2.2%, 12% 0.4%, 26% 2.4%, 41% 0.3%, 57% 2.2%, 73% 0.4%, 88% 2.4%, 99.4% 0.9%, 98.6% 14%, 99.6% 29%, 98.2% 45%, 99.5% 61%, 98.4% 77%, 99.6% 92%, 88% 99.4%, 72% 97.6%, 56% 99.6%, 40% 97.4%, 25% 99.5%, 11% 97.8%, 0.5% 99%, 1.7% 84%, 0.4% 68%, 1.8% 52%, 0.3% 36%, 1.6% 20%);
}

.hero__eyebrow { font-size: 15px; letter-spacing: 0.18em; margin-bottom: 20px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 5.6vw, 84px);
  line-height: 0.98;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero__title em { font-style: italic; color: var(--primary); }

.hero__lede {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--text-2);
  margin: 0 0 32px;
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__grass {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 170px;
  background-image: var(--tex-grass);
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: auto 170px;
  z-index: 4;
  pointer-events: none;
}

/* ==========================================================================
   6. My Story
   ========================================================================== */
#story { padding: clamp(72px, 10vw, 120px) var(--gutter); }

.story__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(44px, 5vw, 76px);
  align-items: start;
}

.story__copy .h2 { margin-bottom: 26px; }

.story__lede {
  font-size: 21px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 16px;
}
.story__para {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-3);
  margin: 0 0 16px;
}
.story__para--last { margin-bottom: 34px; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 34px);
}
.stat { text-align: center; width: 132px; }
.stat__disc {
  width: 108px;
  height: 108px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background-color: var(--timber-4);
  background-image: var(--tex-plank);
  background-size: 260px auto;
  border: 4px solid var(--timber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 3px 0 rgba(255, 232, 190, 0.28), 0 8px 16px rgba(30, 20, 9, 0.32);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(20, 13, 6, 0.9);
  line-height: 1;
}
.stat__label {
  font-family: var(--font-caps);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--label-muted);
  line-height: 1.35;
}

.story__media {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 3vw, 38px);
  justify-content: center;
}

.figure { margin: 0; }
.figure--lg { width: min(100%, 340px); }
.figure--sm { width: min(100%, 260px); }
.figure--gallery { width: min(100%, 300px); }

/* Round portrait inside a carved window frame */
.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: 0 18px 30px rgba(30, 20, 9, 0.34);
}
.figure--sm .portrait { box-shadow: 0 14px 24px rgba(30, 20, 9, 0.32); }
.figure--gallery .portrait { box-shadow: 0 16px 26px rgba(30, 20, 9, 0.3); }

.portrait__photo {
  position: absolute;
  inset: 13.5%;
  width: 73%;
  height: 73%;
  border-radius: 50%;
  object-fit: cover;
}
.portrait__photo--family { object-position: 50% 62%; }
.portrait__photo--son    { object-position: 50% 15%; }
.portrait__photo--pp     { object-position: 50% 50%; }
.portrait__photo--klf    { object-position: 50% 55%; }

.portrait__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--label-muted);
  padding-top: 12px;
  text-align: center;
}
.figcaption--gallery { font-size: 17px; line-height: 1.45; color: var(--text-3); }

.pullquote {
  position: relative;
  width: min(100%, 420px);
  filter: drop-shadow(0 14px 20px rgba(30, 20, 9, 0.34));
}
.nail--quote { top: -10px; left: 50%; width: 34px; height: 34px; margin-left: -17px; }
.pullquote__paper {
  margin: 0;
  background-color: var(--paper-3);
  background-position: 30% 40%;
  padding: 34px 30px 30px;
  transform: rotate(-1.4deg);
  clip-path: polygon(1% 3%, 14% 0.6%, 30% 3%, 46% 0.5%, 62% 3%, 78% 0.6%, 99% 2%, 97.8% 18%, 99.4% 36%, 98% 54%, 99.5% 72%, 98.2% 92%, 84% 99.4%, 66% 97.4%, 48% 99.5%, 30% 97.6%, 12% 99.4%, 0.6% 96%, 2% 78%, 0.5% 58%, 2% 40%, 0.6% 22%);
}
.pullquote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.42;
  margin: 0 0 14px;
  color: var(--ink);
}
.pullquote__cite {
  font-family: var(--font-hand);
  font-size: 30px;
  color: var(--primary);
  font-style: normal;
}

.vine-divider {
  max-width: var(--shell);
  margin: clamp(50px, 6vw, 80px) auto 0;
  height: 90px;
  background-image: var(--tex-vine);
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 90px;
}

/* ==========================================================================
   7. The Notices
   ========================================================================== */
.platform__inner { position: relative; }

.platform__head {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(44px, 6vw, 68px);
}
.platform__head-copy { max-width: 30ch; }
.platform__head-copy .h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  margin: 0;
  text-shadow: 0 3px 0 rgba(20, 13, 6, 0.75);
}
.platform__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: var(--paper-4);
  max-width: 34ch;
  margin: 0;
}

.notices {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 3.4vw, 46px);
  justify-content: center;
}

.notice {
  position: relative;
  width: min(100%, 350px);
  filter: drop-shadow(0 16px 22px var(--shadow-timber));
}
.notice--6 { filter: drop-shadow(0 18px 26px rgba(20, 13, 6, 0.6)); }

.notice__paper { padding: 38px 30px 34px; }
.notice__paper--seal { background-color: var(--paper-5); padding-bottom: 44px; }

.notice__kicker {
  font-family: var(--font-caps);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--accent-dark);
  margin: 0 0 12px;
}
.notice__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--ink);
}
.notice__body {
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-2);
  margin: 0;
}
.notice__body--narrow { max-width: 26ch; }

/* Each notice hangs a little differently — that is the point. */
.notice--1 .notice__paper {
  background-position: 20% 10%;
  transform: rotate(-1.8deg);
  clip-path: polygon(1% 2.4%, 13% 0.5%, 28% 2.6%, 44% 0.4%, 60% 2.4%, 76% 0.5%, 99% 1.8%, 97.8% 17%, 99.4% 34%, 98% 51%, 99.5% 68%, 98.2% 86%, 99% 98.8%, 84% 97%, 66% 99.4%, 48% 97.2%, 30% 99.4%, 12% 97.4%, 0.7% 99%, 2% 82%, 0.5% 64%, 2% 46%, 0.6% 28%, 2% 12%);
}
.notice--2 .notice__paper {
  background-position: 70% 30%;
  transform: rotate(1.5deg);
  clip-path: polygon(0.8% 2%, 14% 0.4%, 30% 2.6%, 46% 0.4%, 62% 2.4%, 78% 0.5%, 99.2% 2%, 98% 18%, 99.5% 36%, 98% 53%, 99.4% 70%, 98.2% 88%, 99% 99%, 82% 97.2%, 64% 99.4%, 46% 97.2%, 28% 99.4%, 10% 97.4%, 0.6% 98.8%, 2% 80%, 0.5% 62%, 2% 44%, 0.6% 26%, 2% 10%);
}
.notice--3 .notice__paper {
  background-position: 40% 70%;
  transform: rotate(-0.9deg);
  clip-path: polygon(1.2% 2.6%, 15% 0.5%, 31% 2.4%, 47% 0.4%, 63% 2.6%, 79% 0.4%, 98.8% 2.2%, 97.8% 19%, 99.5% 37%, 98% 55%, 99.4% 72%, 98% 89%, 99.2% 99%, 83% 97%, 65% 99.4%, 47% 97.4%, 29% 99.2%, 11% 97.6%, 0.8% 99%, 2.2% 81%, 0.6% 63%, 2% 45%, 0.5% 27%, 1.8% 11%);
}
.notice--4 .notice__paper {
  background-position: 60% 55%;
  transform: rotate(2.1deg);
  clip-path: polygon(1% 2.2%, 13% 0.5%, 29% 2.6%, 45% 0.4%, 61% 2.2%, 77% 0.5%, 99% 1.9%, 98% 17%, 99.4% 35%, 98.2% 52%, 99.5% 69%, 98% 87%, 99% 98.8%, 81% 97%, 63% 99.5%, 45% 97.2%, 27% 99.4%, 9% 97.4%, 0.6% 99%, 2% 81%, 0.5% 63%, 2.2% 45%, 0.6% 27%, 2% 11%);
}
.notice--5 .notice__paper {
  background-position: 10% 80%;
  transform: rotate(-2.3deg);
  clip-path: polygon(1% 2.4%, 14% 0.4%, 30% 2.5%, 46% 0.5%, 62% 2.4%, 78% 0.4%, 99% 2%, 97.8% 18%, 99.5% 36%, 98% 54%, 99.4% 71%, 98% 88%, 99% 99%, 82% 97.2%, 64% 99.4%, 46% 97.4%, 28% 99.2%, 10% 97.6%, 0.7% 98.8%, 2% 80%, 0.5% 62%, 2% 44%, 0.6% 26%, 1.8% 10%);
}
.notice--6 .notice__paper {
  background-position: 90% 90%;
  transform: rotate(1.1deg);
  clip-path: polygon(1% 2%, 13% 0.4%, 29% 2.6%, 45% 0.4%, 61% 2.4%, 77% 0.4%, 99.2% 1.8%, 98% 18%, 99.5% 35%, 98% 53%, 99.4% 70%, 98.2% 87%, 99% 99%, 83% 97%, 65% 99.5%, 47% 97.2%, 29% 99.4%, 11% 97.4%, 0.6% 99%, 2% 81%, 0.5% 63%, 2% 45%, 0.6% 27%, 2% 11%);
}

.nail--n1  { top: -13px; left: 50%; margin-left: -19px; width: 38px; height: 38px; }
.nail--n2a { top: -12px; left: 34px; width: 36px; height: 36px; }
.nail--n2b { top: -14px; right: 40px; width: 34px; height: 34px; transform: rotate(22deg); }
.nail--n3  { top: -13px; left: 50%; margin-left: -17px; width: 34px; height: 34px; }
.nail--n4  { top: -12px; left: 46px; width: 35px; height: 35px; transform: rotate(-14deg); }
.nail--n5  { top: -13px; left: 50%; margin-left: -18px; width: 36px; height: 36px; }
.nail--n6  { top: -12px; left: 40px; width: 36px; height: 36px; }

.wax-seal--notice {
  position: absolute;
  bottom: -18px;
  right: 14px;
  width: 96px;
  height: 96px;
  z-index: 3;
  transform: rotate(-8deg);
}

/* ==========================================================================
   8. Gallery — out among the party
   ========================================================================== */
.rule-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}
.rule-head .eyebrow { margin: 0; }
.rule-head__line { flex: 1; height: 2px; background-color: var(--line); }

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 3vw, 40px);
  align-items: flex-start;
}

.team-card {
  flex: 1 1 320px;
  min-width: min(100%, 320px);
  position: relative;
  filter: drop-shadow(0 14px 20px rgba(30, 20, 9, 0.3));
}
.nail--team { top: -11px; left: 60px; width: 34px; height: 34px; }
.team-card__paper {
  background-color: var(--paper-3);
  background-position: 50% 60%;
  padding: 36px 32px 32px;
  transform: rotate(-0.8deg);
  clip-path: polygon(1% 2.6%, 14% 0.5%, 30% 2.5%, 46% 0.4%, 62% 2.6%, 78% 0.4%, 99% 2%, 98% 18%, 99.4% 36%, 98% 54%, 99.5% 72%, 98% 90%, 84% 99%, 66% 97.2%, 48% 99.4%, 30% 97.4%, 12% 99.2%, 0.6% 97%, 2% 79%, 0.5% 61%, 2% 43%, 0.6% 25%);
}
.team-card__text {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 22px;
}

/* ==========================================================================
   9. Membership
   ========================================================================== */
.membership__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 4.5vw, 70px);
  align-items: start;
}

.membership__copy .h2 { font-size: clamp(38px, 4.4vw, 66px); line-height: 1; margin-bottom: 24px; }

.membership__lede {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.55;
  color: var(--paper);
  margin: 0 0 30px;
  max-width: 42ch;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 18px;
}
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__num {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 2px solid var(--timber);
  color: var(--cream-3);
  font-family: var(--font-display);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps__text { font-size: 18px; line-height: 1.6; color: var(--cream-5); }

.aside-note {
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 20px;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--paper-4);
}
.aside-note a { color: var(--cream-3); border-bottom: 1px solid rgba(251, 243, 221, 0.6); }
.aside-note a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.member-card {
  position: relative;
  filter: drop-shadow(0 22px 30px var(--shadow-timber));
}
.nail--m-a { top: -14px; left: 44px; width: 40px; height: 40px; }
.nail--m-b { top: -15px; right: 52px; width: 38px; height: 38px; transform: rotate(20deg); }

.member-card__paper {
  background-position: 50% 20%;
  padding: clamp(34px, 4vw, 50px) clamp(26px, 4vw, 44px) clamp(34px, 4vw, 44px);
  clip-path: polygon(0.6% 1.6%, 12% 0.3%, 26% 1.8%, 41% 0.3%, 57% 1.7%, 73% 0.3%, 88% 1.8%, 99.4% 0.7%, 98.6% 11%, 99.6% 22%, 98.2% 34%, 99.5% 46%, 98.4% 58%, 99.6% 70%, 98.4% 82%, 99.5% 94%, 88% 99.5%, 72% 98.2%, 56% 99.6%, 40% 98%, 25% 99.6%, 11% 98.3%, 0.5% 99.2%, 1.6% 87%, 0.4% 75%, 1.8% 63%, 0.3% 51%, 1.6% 39%, 0.5% 27%, 1.7% 15%);
}

/* ==========================================================================
   10. The Purse
   ========================================================================== */
.donate__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 4.5vw, 70px);
  align-items: start;
}
.donate__copy { min-width: 0; }

.donate__lede {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 26px;
  max-width: 40ch;
}

.impact { display: grid; gap: 16px; margin-bottom: 30px; }
.impact__row { display: flex; gap: 14px; align-items: baseline; }
.impact__amt {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  flex: 0 0 78px;
}
.impact__what { font-size: 17.5px; line-height: 1.55; color: var(--text-3); }

.legal {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  border-top: 2px solid var(--line);
  padding-top: 18px;
}

.donate__panel { position: relative; min-width: 0; }

.donate-card {
  position: relative;
  background-color: var(--timber-5);
  background-image: linear-gradient(180deg, rgba(255, 232, 190, 0.18), rgba(255, 232, 190, 0.04)), var(--tex-plank);
  background-size: auto, 700px auto;
  border: 4px solid var(--timber);
  border-radius: 6px;
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3.4vw, 34px);
  box-shadow: inset 0 3px 0 rgba(255, 232, 190, 0.24), 0 20px 34px var(--shadow-deep);
  min-width: 0;
}

.donate-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 22px;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(20, 13, 6, 0.85);
}

.cadence { display: flex; gap: 10px; margin-bottom: 24px; }
.cadence__btn {
  flex: 1;
  padding: 13px 10px;
  font-family: var(--font-caps);
  font-size: 16px;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 3px;
  border: 2px solid var(--timber);
  background-color: rgba(20, 13, 6, 0.3);
  color: var(--cream-6);
}
.cadence__btn.is-active {
  background-color: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.cadence__btn:disabled { cursor: default; }

.amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  justify-content: center;
}

/* Coin tokens */
.amount__btn {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
  background-color: var(--paper-3);
  background-image: linear-gradient(180deg, var(--paper-2), var(--paper-4));
  border: 3px solid var(--timber);
  color: var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 4px 0 var(--token-shadow);
  transition: transform 0.14s ease;
}
.amount__btn.is-active {
  background-color: var(--accent);
  background-image: linear-gradient(180deg, rgba(255, 232, 190, 0.28), rgba(20, 13, 6, 0.22));
  color: var(--cream-3);
  box-shadow: inset 0 2px 0 rgba(255, 232, 190, 0.4), 0 4px 0 var(--accent-dark);
  transform: translateY(-2px);
}
.amount__btn:disabled { cursor: default; }

.field--dark { margin-bottom: 22px; gap: 5px; }

.donor-fields { display: grid; gap: 18px; margin-bottom: 24px; }
.donor-fields__row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }

.purse {
  border: 2px dashed rgba(231, 185, 106, 0.45);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 24px;
}
.purse__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.purse__label {
  font-family: var(--font-caps);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.purse__seal {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--line);
}
.purse__slot {
  height: 46px;
  border: 1px solid rgba(231, 185, 106, 0.3);
  border-radius: 3px;
  background-color: rgba(20, 13, 6, 0.28);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--placeholder);
  font-size: 17px;
}
.purse__slot--full { margin-bottom: 10px; }
.purse__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Coming-soon overlay */
.coming-soon {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 20, 9, 0.82);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 22px;
}
.coming-soon[hidden] { display: none; }

.coming-soon__notice {
  position: relative;
  filter: drop-shadow(0 16px 24px rgba(20, 13, 6, 0.6));
  max-width: 400px;
}
.nail--cs { top: -13px; left: 50%; margin-left: -18px; width: 36px; height: 36px; }

.coming-soon__paper {
  background-position: 40% 40%;
  padding: 34px 28px 30px;
  text-align: center;
  transform: rotate(-3deg);
  clip-path: polygon(1% 3%, 14% 0.6%, 30% 3%, 46% 0.5%, 62% 3%, 78% 0.6%, 99% 2%, 97.8% 20%, 99.4% 40%, 98% 60%, 99.5% 80%, 98.2% 97%, 84% 99.4%, 66% 97.4%, 48% 99.5%, 30% 97.6%, 12% 99.4%, 0.6% 96%, 2% 76%, 0.5% 56%, 2% 36%, 0.6% 18%);
}
.coming-soon__eyebrow { font-size: 14px; margin-bottom: 12px; }
.coming-soon__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.06;
  margin: 0 0 12px;
  color: var(--ink);
}
.coming-soon__text {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 22px;
}

/* ==========================================================================
   11. Lend a Hand
   ========================================================================== */
.volunteer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 4.5vw, 70px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.volunteer__copy { min-width: 0; }

.volunteer__lede {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.55;
  color: var(--paper-4);
  margin: 0 0 30px;
  max-width: 40ch;
}

.shifts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.shifts li {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--paper-4);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.shifts__dot {
  flex: 0 0 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background-color: var(--leaf);
}

.volunteer-card {
  position: relative;
  filter: drop-shadow(0 20px 28px rgba(20, 13, 6, 0.6));
}
.nail--v-a { top: -13px; left: 50px; width: 38px; height: 38px; }
.nail--v-b { top: -14px; right: 46px; width: 34px; height: 34px; transform: rotate(-16deg); }

.volunteer-card__paper {
  background-position: 60% 70%;
  padding: clamp(32px, 4vw, 46px) clamp(24px, 4vw, 40px);
  clip-path: polygon(0.7% 2%, 13% 0.4%, 28% 2.2%, 44% 0.4%, 60% 2%, 76% 0.4%, 99.2% 1.4%, 98.2% 14%, 99.5% 28%, 98% 42%, 99.4% 56%, 98.2% 70%, 99.5% 84%, 98.4% 97%, 84% 99.5%, 66% 98%, 48% 99.6%, 30% 98%, 12% 99.5%, 0.6% 98%, 1.8% 84%, 0.5% 70%, 1.8% 56%, 0.4% 42%, 1.8% 28%, 0.6% 14%);
}

.help-group {
  display: grid;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 12px;
}
.help-grid label {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 17px;
  color: var(--text-2);
}
.help-grid input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  accent-color: var(--primary);
}

.veg-row {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 190px;
  background-image: var(--tex-veg);
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: auto 190px;
  pointer-events: none;
}

/* ==========================================================================
   12. Send Word
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 4.5vw, 70px);
  align-items: start;
}
.contact__copy { min-width: 0; }

.contact__lede {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 34px;
  max-width: 38ch;
}

.contact-details {
  position: relative;
  max-width: 460px;
  filter: drop-shadow(0 14px 20px rgba(30, 20, 9, 0.3));
}
.nail--cd { top: -11px; left: 40px; width: 34px; height: 34px; }

.contact-details__paper {
  background-color: var(--paper-3);
  background-position: 80% 20%;
  padding: 32px 28px 28px;
  transform: rotate(1.2deg);
  display: grid;
  gap: 20px;
  margin: 0;
  clip-path: polygon(1% 2.4%, 14% 0.5%, 30% 2.4%, 46% 0.4%, 62% 2.4%, 78% 0.5%, 99% 2%, 98% 18%, 99.4% 36%, 98% 54%, 99.5% 72%, 98% 90%, 84% 99%, 66% 97.4%, 48% 99.4%, 30% 97.6%, 12% 99.2%, 0.6% 97%, 2% 79%, 0.5% 61%, 2% 43%, 0.6% 25%);
}
.contact-details__paper dt { margin-bottom: 4px; }
.contact-details__paper dd { margin: 0; }
.contact-details__value {
  font-family: var(--font-hand);
  font-size: 26px;
  color: var(--ink);
}
.contact-details__value a { color: var(--ink); }
.contact-details__value a:hover { color: var(--accent); }

.boards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 18px;
  margin-top: 4px;
}

.letter {
  position: relative;
  min-width: 0;
  filter: drop-shadow(0 20px 28px rgba(30, 20, 9, 0.34));
}

.quill {
  position: absolute;
  top: -54px;
  right: -18px;
  width: 150px;
  height: 150px;
  z-index: 4;
  transform: rotate(12deg);
  pointer-events: none;
}

.letter__paper {
  background-color: var(--paper-2);
  background-image: linear-gradient(180deg, rgba(201, 180, 138, 0.22) 0%, rgba(201, 180, 138, 0) 22%), var(--tex-parchment);
  background-size: auto, cover;
  background-position: 0 0, 20% 60%;
  padding: clamp(34px, 4vw, 50px) clamp(26px, 4vw, 42px) clamp(30px, 4vw, 42px);
  transform: rotate(-0.7deg);
  clip-path: polygon(0.7% 1.8%, 13% 0.4%, 28% 2%, 44% 0.3%, 60% 1.9%, 76% 0.4%, 99.2% 1.2%, 98.2% 13%, 99.5% 26%, 98% 39%, 99.4% 52%, 98.2% 65%, 99.5% 78%, 98.2% 91%, 99.2% 99%, 84% 97.6%, 66% 99.5%, 48% 97.6%, 30% 99.5%, 12% 97.8%, 0.6% 99%, 1.8% 86%, 0.5% 73%, 1.8% 60%, 0.4% 47%, 1.8% 34%, 0.5% 21%, 1.7% 8%);
}

.letter__salutation {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--label-muted);
  margin: 0;
}

.letter__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.seal-button {
  position: relative;
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  background-image: var(--tex-seal);
  background-size: 100% 100%;
  cursor: pointer;
  font-family: var(--font-caps);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--seal-ink);
  text-shadow: 0 2px 3px rgba(60, 14, 8, 0.9);
  transition: transform 0.15s ease;
}
.seal-button:hover:not(:disabled) { transform: rotate(-6deg) scale(1.05); }
.seal-button:disabled { opacity: 0.7; cursor: progress; }

.letter__hint {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--label-muted);
  max-width: 24ch;
}

/* ==========================================================================
   13. Closer — cried in the square
   ========================================================================== */
.closer {
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
  background-image: linear-gradient(180deg, rgba(20, 13, 6, 0.32), rgba(20, 13, 6, 0.5)), var(--tex-hero);
  background-size: auto, cover;
  background-position: 0 0, 50% 78%;
  padding: clamp(64px, 8vw, 100px) var(--gutter) clamp(110px, 13vw, 160px);
}

.closer__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  z-index: 2;
}

.closer__notice {
  position: relative;
  filter: drop-shadow(0 18px 26px var(--shadow-timber));
}
.nail--closer { top: -13px; left: 50%; margin-left: -19px; width: 38px; height: 38px; }

.closer__paper {
  background-position: 50% 80%;
  padding: clamp(38px, 5vw, 56px) clamp(26px, 4vw, 48px);
  text-align: center;
  transform: rotate(-1deg);
  clip-path: polygon(0.8% 2.4%, 13% 0.5%, 28% 2.6%, 44% 0.4%, 60% 2.4%, 76% 0.5%, 99% 2%, 98% 20%, 99.5% 40%, 98% 60%, 99.4% 80%, 98.2% 97%, 84% 99.4%, 66% 97.4%, 48% 99.5%, 30% 97.6%, 12% 99.4%, 0.6% 96%, 2% 76%, 0.5% 56%, 2% 36%, 0.6% 18%);
}
.closer__paper .eyebrow { margin-bottom: 16px; }

.closer__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
  margin: 0 0 18px;
  color: var(--ink);
}
.closer__num { font-size: 1.5em; color: var(--accent); }

.closer__text {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
  margin: 0 auto 30px;
  max-width: 46ch;
  color: var(--text-2);
}

.closer__grass {
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 150px;
  background-image: var(--tex-grass);
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: auto 150px;
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: var(--ink-2);
  background-image: var(--tex-plank);
  background-size: 1100px auto;
  color: var(--line);
  padding: clamp(48px, 6vw, 64px) var(--gutter) 32px;
}
.site-footer__wash {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 13, 6, 0.62);
}

.site-footer__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__about { max-width: 46ch; }
.site-footer__name {
  font-family: var(--font-caps);
  font-size: 26px;
  letter-spacing: 0.05em;
  color: var(--cream-2);
  margin-bottom: 12px;
  text-shadow: 0 2px 0 rgba(20, 13, 6, 0.9);
}
.site-footer__pitch {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  color: var(--cream-6);
}
.site-footer__pitch a {
  color: var(--gold);
  border-bottom: 1px solid rgba(231, 185, 106, 0.55);
}
.site-footer__pitch a:hover { color: #FFF6E0; border-bottom-color: #FFF6E0; }

.site-footer__cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: grid; gap: 10px; }
.footer-col__head {
  font-family: var(--font-caps);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.footer-col a {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--cream-6);
}
.footer-col a:hover { color: var(--gold); }

.site-footer__base {
  position: relative;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(231, 185, 106, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: baseline;
  justify-content: space-between;
}
.site-footer__demo {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(201, 180, 138, 0.6);
}
.site-footer__back {
  font-family: var(--font-caps);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: rgba(201, 180, 138, 0.62);
}
.site-footer__back:hover { color: var(--gold); }

/* ==========================================================================
   15. Responsive
   The prototype branched on `isMobile = viewport <= 1080`. Same threshold,
   handled in CSS instead of JavaScript width sniffing.
   ========================================================================== */
@media (max-width: 1080px) {
  .nav--desktop { display: none; }
  .header__mobile { display: flex; }
  .nav--mobile { display: none; }
  .nav--mobile.is-open { display: grid; }
}

@media (max-width: 720px) {
  .hero__sign { right: 12px; transform: scale(0.82); transform-origin: top right; }
  .hero__sign-chains { gap: 60px; }
  .nail--hero-a { left: 26px; }
  .nail--hero-b { right: 30px; }
  .quill { width: 108px; height: 108px; top: -40px; right: -6px; }
  .donor-fields__row { grid-template-columns: 1fr; }
  .letter__send { gap: 14px; }
}

@media (max-width: 520px) {
  .amount__btn { width: 88px; height: 88px; font-size: 18px; }
  .stat { width: 108px; }
  .stat__disc { width: 92px; height: 92px; }
  .stat__num { font-size: 34px; }
  .purse__row { grid-template-columns: 1fr; }
  .site-footer__cols { gap: 32px; }
}

/* ==========================================================================
   16. Reduced motion / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__sign-board { animation: none; }
  .seal-button:hover:not(:disabled) { transform: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .coming-soon, .hero__grass, .closer__grass, .veg-row { display: none; }
  body { background: #fff; }
}
