:root {
  --ink: #28251f;
  --paper: #f8f4ec;
  --brick: #743c2e;
  --moss: #26352b;
  --line: #28251f38;
  --display: Georgia, 'Times New Roman', serif;
  --gutter: clamp(1.35rem, 7vw, 8rem);
  font: 16px/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(1440px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.top { position: relative; z-index: 2; }
.landing .top { position: absolute; inset: 0 0 auto; color: #fff8eb; }
.top-inner, .footer-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.25rem; }
.top-inner { justify-content: space-between; border-bottom: 1px solid currentColor; }
.landing .top-inner { border-color: #fff7e86b; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
nav a, footer a { text-decoration: none; font-size: .9rem; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-member { border: 1px solid currentColor; padding: .45rem .85rem; white-space: nowrap; }
.hero, .screen { min-block-size: 100vh; min-block-size: 100svh; }
.hero { position: relative; isolation: isolate; display: grid; align-items: end; overflow: hidden; background: #382820; color: #fff8eb; }
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero img { object-fit: cover; object-position: 50% 48%; }
.hero::after {
  content: '';
  background: linear-gradient(180deg, #21150ee0, transparent 33%),
              linear-gradient(0deg, #25170fef 2%, #2f1d12b0 23%, transparent 69%),
              linear-gradient(90deg, #38201667, transparent 63%);
}
.hero-copy { padding-block: 8rem clamp(3rem, 10vh, 7rem); }
.eyebrow { font-size: .875rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 1.65rem; }
.hero h1, h2, .dashboard h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.067em; line-height: .94; margin: 0; }
.hero h1 { font-size: clamp(4.25rem, 11vw, 11rem); }
.hero h1 em, h2 em { font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 2vw, 1.22rem); margin: 1.45rem 0 1.8rem; }
.button, .secondary {
  border: 1px solid currentColor;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .68rem 1.25rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
}
.button { background: var(--moss); color: #fff8eb; border-color: var(--moss); }
.button:hover { background: #3e5545; }
.hero .button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .button:hover { background: #e9ded0; }
.secondary { background: transparent; color: var(--ink); }
h2, .dashboard h1 { font-size: clamp(3rem, 7.4vw, 7.5rem); }
.screen { display: grid; align-items: center; }
.event { background: var(--moss); color: #faf4e9; }
.event-inner, .signup-inner { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(2rem, 9vw, 10rem); align-items: center; padding-block: clamp(4rem, 11vw, 10rem); }
.event h2 { max-width: 8ch; }
.event h2 em { color: #eac6a2; }
.event-photo { width: min(100%, 31rem); height: clamp(12rem, 26vw, 20rem); object-fit: cover; object-position: 50% 48%; margin-top: 2rem; }
.facts { margin: 0; }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.event .facts div { border-color: #fff7e85e; }
dt { font-size: .95rem; }
dd { margin: 0; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.8rem); }
.facts .meeting { display: grid; justify-content: start; gap: .45rem; }
.meeting-address, .meeting .text-link { display: block; font: 1rem/1.5 system-ui, sans-serif; }
.meeting .text-link { width: fit-content; font-weight: 650; }
.meeting-links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
.story { grid-template-columns: 1fr 1fr; background: #f8f4ec; }
.story-art { position: relative; min-block-size: 100%; background: #e9e0d1; }
.story-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.story-copy { padding: clamp(4rem, 9vw, 9rem) var(--gutter); }
.story-copy h2 em, .signup h2 em { color: var(--brick); }
.story-copy p:not(.eyebrow), .signup p:not(.eyebrow) { max-width: 42ch; }
.story-copy h2 + p, .signup h2 + p { margin-top: 1.6rem; }
.text-link { display: inline-block; margin-top: .65rem; font-weight: 650; text-underline-offset: .3em; }
.signup { background: #eee3d6; }
.signup-inner { grid-template-columns: 1fr 1fr; }
.signup-form { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.fields, .stack { display: grid; gap: 1rem; }
.fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wide { grid-column: 1 / -1; }
label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 650; }
input, select, textarea { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #776f63; color: var(--ink); padding: .65rem .1rem; background: transparent; font-size: 1rem; }
input::placeholder { color: #655d54; }
textarea { resize: vertical; }
select { appearance: none; padding-right: 1.8rem; background: linear-gradient(45deg, transparent 50%, #39342e 50%) right 13px center / 6px 6px no-repeat, linear-gradient(135deg, #39342e 50%, transparent 50%) right 7px center / 6px 6px no-repeat; }
.small { font-size: .875rem; margin: .2rem 0 0; }
.notice { padding: .75rem 1rem; background: #dbe8db; color: #20452c; }
.notice.error { background: #f5dad0; color: #742817; }
.dashboard { padding-block: clamp(3rem, 8vw, 7rem); min-height: 72vh; overflow-wrap: anywhere; }
.dashboard h1 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 1.4rem; }
.dashboard h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.05rem; }
.dashboard .facts { margin-bottom: 2.5rem; }
.panel { min-width: 0; border-top: 1px solid var(--line); padding-block: 1.4rem; }
.narrow { max-width: 480px; margin-block: 1.3rem; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 6vw, 5rem); margin-block: 2rem; }
.admin-summary { margin-block: 2.5rem; }
.summary-totals { display: grid; grid-template-columns: repeat(3, 1fr) minmax(max-content, 1.6fr); gap: 1rem; border-block: 1px solid var(--line); padding-block: 1rem; }
.summary-totals dd { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.2; }
.summary-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 6vw, 5rem); }
.summary-breakdown .facts { margin-top: .75rem; }
.summary-breakdown .facts div { padding-block: .5rem; }
.payment-form { min-width: 13rem; }
.table-scroll { overflow: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .8rem; border-bottom: 1px solid var(--line); }
.message h3, .message p { margin: 0; }
.message h3 { margin-bottom: .4rem; }
.logout { margin-top: 2rem; }
footer { background: var(--moss); color: #faf4e9; }
.footer-inner .wordmark { margin-right: auto; }
@media (max-width: 760px) {
  .summary-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-totals dd { overflow-wrap: anywhere; }
  .story, .event-inner, .signup-inner, .admin-grid, .summary-breakdown { grid-template-columns: 1fr; }
  .story-art { order: 2; min-block-size: 54svh; }
  .hero img { object-position: 45% 48%; }
  .hero::after { background: linear-gradient(180deg, #21150ec2, transparent 32%), linear-gradient(0deg, #25170ff5 3%, #2f1d12af 29%, transparent 73%); }
}
@media (max-width: 460px) {
  .fields { grid-template-columns: 1fr; }
  .top-inner { flex-wrap: wrap; gap: .5rem 1rem; }
  .top-inner nav { flex-wrap: wrap; gap: .25rem .8rem; }
  .top-inner nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-inner { flex-wrap: wrap; gap: .75rem; }
  .hero h1 { font-size: clamp(3.55rem, 13vw, 4.4rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

