/* Mother Of Peppers first-preview visual system */
:root {
  --green-950: #102d25;
  --green-800: #194638;
  --green-700: #27604c;
  --red-700: #a92d26;
  --red-600: #c33d2f;
  --cream: #fff5db;
  --paper: #f6e7c4;
  --maple: #b97937;
  --caramel: #7c4b24;
  --ink: #20261e;
  --line: rgba(32, 38, 30, .24);
  --shadow: 0 14px 34px rgba(20, 39, 29, .15);
  --radius: 1.15rem;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 20% 15%, rgba(124, 75, 36, .07) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 70%, rgba(25, 70, 56, .06) 0 1px, transparent 1.5px);
  background-size: 19px 19px, 27px 27px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-800); text-underline-offset: .2em; }
a:hover { color: var(--red-700); }
button, input, select, textarea { font: inherit; }
button, .button { touch-action: manipulation; }
:focus-visible { outline: 3px solid #f2a93b; outline-offset: 3px; }

.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: .7rem 1rem; color: white; background: var(--red-700);
  border-radius: .45rem; transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 .4rem; color: var(--red-700); font: 800 .78rem/1.2 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.kicker { display: inline-flex; gap: .45rem; align-items: center; padding: .35rem .7rem; border: 1px solid currentColor; border-radius: 999px; font: 800 .74rem/1.2 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.preview-note { padding: .8rem 1rem; border-left: .35rem solid var(--maple); background: rgba(255,255,255,.55); font: 700 .9rem/1.45 system-ui, sans-serif; }

.site-header { position: relative; z-index: 20; color: white; background: var(--green-950); border-bottom: 4px solid var(--maple); }
.header-inner { display: flex; min-height: 4.6rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: white; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.brand-mark { width: 3rem; aspect-ratio: 3 / 1; object-fit: contain; }
.menu-toggle { display: none; padding: .55rem .7rem; color: white; background: transparent; border: 2px solid rgba(255,255,255,.7); border-radius: .5rem; font: 800 .8rem/1 system-ui, sans-serif; text-transform: uppercase; }
.site-nav ul { display: flex; margin: 0; padding: 0; align-items: center; gap: .15rem; list-style: none; }
.site-nav a { display: block; padding: .55rem .65rem; color: white; border-radius: .35rem; font: 700 .85rem/1.2 system-ui, sans-serif; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-950); background: var(--cream); }

.hero { position: relative; min-height: 34rem; display: grid; align-items: end; overflow: hidden; color: white; background: var(--green-950); isolation: isolate; }
.hero-media, .hero::after { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(9,32,25,.94) 0%, rgba(9,32,25,.68) 52%, rgba(9,32,25,.2) 100%), linear-gradient(0deg, rgba(9,32,25,.75), transparent 55%); }
.hero-copy { max-width: 43rem; padding-block: 5rem 4rem; }
.hero h1, .page-hero h1 { max-width: 14ch; margin: .75rem 0 1rem; font-size: clamp(2.55rem, 8vw, 5.6rem); line-height: .93; letter-spacing: -.045em; text-wrap: balance; }
.hero p { max-width: 38rem; font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: .7rem 1.05rem; color: white; background: var(--red-700); border: 2px solid var(--red-700); border-radius: .45rem; box-shadow: 3px 3px 0 var(--maple); font: 800 .86rem/1.2 system-ui, sans-serif; text-decoration: none; }
.button:hover { color: white; background: var(--green-700); border-color: var(--green-700); }
.button.secondary { color: var(--green-950); background: var(--cream); border-color: var(--cream); }
.button[disabled] { cursor: not-allowed; color: #d8d3c6; background: #625f56; border-color: #625f56; box-shadow: none; opacity: .9; }

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.tint { background: var(--paper); border-block: 1px solid var(--line); }
.section.dark { color: white; background: var(--green-950); }
.section-heading { max-width: 46rem; margin-bottom: 2rem; }
.section-heading h2, .split h2 { margin: .2rem 0 .65rem; color: var(--green-950); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.025em; }
.dark h2, .dark .eyebrow { color: var(--cream); }
.grid { display: grid; gap: 1rem; }
.category-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.card { position: relative; padding: 1.35rem; overflow: hidden; background: rgba(255,255,255,.66); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 5px 6px 0 rgba(124,75,36,.12); }
.card::before { content: ""; position: absolute; right: -1.5rem; top: -1.5rem; width: 5rem; height: 5rem; border: 2px dashed rgba(169,45,38,.23); border-radius: 50%; }
.card h3 { margin: .4rem 0; color: var(--green-800); font-size: 1.3rem; line-height: 1.15; }
.card p { margin: .45rem 0 0; }
.card-label { color: var(--red-700); font: 800 .72rem/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.icon { font-size: 1.65rem; line-height: 1; }

.split { display: grid; gap: 2rem; align-items: center; }
.photo-frame { position: relative; padding: .65rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-1deg); }
.photo-frame img { width: 100%; border-radius: .75rem; object-fit: cover; }
.stamp { display: inline-grid; width: 7rem; aspect-ratio: 1; place-content: center; text-align: center; color: var(--red-700); border: 3px double currentColor; border-radius: 50%; font: 900 .72rem/1.25 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-7deg); }

.page-hero { padding-block: clamp(4rem, 9vw, 7rem); color: white; background: var(--green-800); border-bottom: .75rem solid var(--maple); }
.page-hero h1 { margin-bottom: .8rem; font-size: clamp(2.5rem, 7vw, 4.8rem); }
.page-hero p { max-width: 45rem; margin-bottom: 0; font-size: 1.15rem; }
.timeline { display: grid; gap: 1rem; }
.event { display: grid; gap: .8rem; padding: 1.25rem; background: rgba(255,255,255,.68); border-left: .45rem solid var(--red-700); border-radius: 0 var(--radius) var(--radius) 0; }
.event time { color: var(--red-700); font: 900 .78rem/1.2 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.event h2 { margin: 0; color: var(--green-800); }

.map-card { position: relative; min-height: 25rem; display: grid; place-items: center; overflow: hidden; padding: 2rem; text-align: center; color: white; background-color: var(--green-700); background-image: linear-gradient(35deg, transparent 46%, rgba(255,245,219,.2) 47% 50%, transparent 51%), linear-gradient(-25deg, transparent 46%, rgba(255,245,219,.15) 47% 50%, transparent 51%); background-size: 8rem 7rem, 10rem 9rem; border: .65rem solid var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.map-card::before, .map-card::after { content: ""; position: absolute; width: 55%; height: 1.3rem; background: rgba(103,179,199,.55); border-radius: 50%; transform: rotate(-18deg); }
.map-card::before { left: -5%; top: 22%; }
.map-card::after { right: -8%; bottom: 18%; transform: rotate(12deg); }
.map-label { position: relative; z-index: 2; max-width: 27rem; padding: 1.4rem; background: rgba(16,45,37,.92); border: 2px solid var(--cream); border-radius: .8rem; }
.map-label h2 { margin: .2rem 0; color: var(--cream); }

.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label, .fieldset legend { color: var(--green-950); font: 800 .9rem/1.3 system-ui, sans-serif; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem; color: var(--ink); background: rgba(255,255,255,.8); border: 2px solid #83785f; border-radius: .45rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--red-700); box-shadow: 0 0 0 2px rgba(169,45,38,.15); }
.field-error { min-height: 1.3em; margin: 0; color: #851f1b; font: 700 .82rem/1.35 system-ui, sans-serif; }
.form-status { min-height: 1.5em; padding-top: .5rem; font-weight: 800; }
.demo-panel { padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }

.site-footer { padding-block: 3rem; color: white; background: var(--green-950); border-top: 5px solid var(--maple); }
.footer-grid { display: grid; gap: 1.5rem; }
.site-footer a { color: var(--cream); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 0; list-style: none; }
.fine-print { color: #d4d8ce; font: .82rem/1.5 system-ui, sans-serif; }

.reveal-pending { opacity: 0; transform: translateY(1rem); }
.reveal-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

@media (min-width: 46rem) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
  .event { grid-template-columns: 10rem 1fr; align-items: start; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
}

@media (max-width: 53.99rem) {
  .js .menu-toggle { display: inline-block; }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: .6rem 1rem 1rem; background: var(--green-950); border-bottom: 4px solid var(--maple); }
  .js .site-nav[data-open="true"] { display: block; }
  .site-nav ul { flex-wrap: wrap; }
  .js .site-nav ul { display: grid; }
  .js .site-nav a { padding: .8rem; }
}

@media (min-width: 54rem) {
  .hero-copy { padding-block: 7rem 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
