:root {
  color-scheme: light;
  --paper: #f4f3ed;
  --paper-deep: #e9e9e2;
  --ink: #24352e;
  --muted: #777e78;
  --green: #365847;
  --green-dark: #243f33;
  --sage: #dce4db;
  --silver: #aeb8b5;
  --silver-light: #d5dad6;
  --line: #d8dcd6;
  --white: #fbfbf7;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(#65776d0c .65px, transparent .65px);
  background-size: 7px 7px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #758e7b;
  outline-offset: 3px;
}
.page-shell { width: min(100% - 48px, 1040px); margin: auto; }
.masthead, .admin-topbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--silver-light);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--silver);
  border-radius: 50%;
  color: var(--green-dark);
  font: 17px/1 var(--serif);
  letter-spacing: -.08em;
}
.brand-mark span { color: var(--silver); font-size: 12px; padding: 0 1px; }
.brand-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--green-dark);
  font: 15px/1.1 var(--serif);
  letter-spacing: .005em;
}
.brand-name small {
  color: var(--muted);
  font: 8px/1.2 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.event-note {
  color: var(--muted);
  font: 10px var(--sans);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  min-height: 370px;
  padding: 54px 7% 42px;
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .2em;
}
.live-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin: 0 9px 1px 0;
  border-radius: 50%;
  background: #78917d;
  box-shadow: 0 0 0 4px #78917d1a;
}
h1, h2, p { margin-top: 0; }
.hero h1, .gallery-hero h1, .state-card h1, .login-card h1, .admin-title-row h1 {
  margin: 0;
  color: var(--green-dark);
  font: 400 clamp(52px, 7vw, 78px)/.98 var(--serif);
  letter-spacing: -.055em;
}
.hero-intro {
  max-width: 400px;
  margin: 19px 0 13px;
  color: #5f6a62;
  font-size: 15px;
  line-height: 1.8;
}
.handwritten {
  display: inline-block;
  color: #667e6e;
  font: italic 19px var(--serif);
  transform: rotate(-2deg);
}
.hero-art { height: 285px; position: relative; }
.art-halo {
  position: absolute;
  width: 232px;
  height: 232px;
  top: 25px;
  right: 28px;
  border: 1px solid var(--silver-light);
  border-radius: 50%;
  background: radial-gradient(circle, #e8ebe51c 0 54%, #e8ebe58c 55% 55.5%, transparent 56%);
}
.art-halo::before, .art-halo::after {
  position: absolute;
  content: "";
  border: 1px solid #d5dad699;
  border-radius: 50%;
}
.art-halo::before { inset: 10px; }
.art-halo::after { inset: 19px; }
.botanical {
  position: absolute;
  z-index: 1;
  width: 210px;
  height: 255px;
  top: 2px;
  right: 54px;
  overflow: visible;
  stroke: #698271;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.art-seal {
  position: absolute;
  z-index: 2;
  top: 103px;
  right: 112px;
  display: flex;
  width: 95px;
  height: 95px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9c4bd;
  border-radius: 50%;
  background: #f7f7f1e8;
  box-shadow: 0 0 0 5px #f4f3edb5;
  color: var(--green-dark);
}
.art-seal > span { font: 21px var(--serif); letter-spacing: -.04em; }
.art-seal i { color: #8c9e91; font-size: 14px; font-weight: 400; }
.art-seal small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 6px;
  line-height: 1.5;
  letter-spacing: .15em;
  text-align: center;
}
.art-caption {
  position: absolute;
  right: 76px;
  bottom: 4px;
  color: #748076;
  font: italic 13px var(--serif);
  letter-spacing: .04em;
  transform: rotate(-4deg);
}
.content-card, .admin-panel {
  border: 1px solid var(--line);
  background: #fbfbf7eF;
  box-shadow: 0 12px 38px #26372d08;
}
.upload-card { max-width: 820px; margin: 0 auto 72px; padding: 38px 7% 40px; }
.section-heading, .panel-heading { display: flex; align-items: center; gap: 15px; }
.step-number {
  padding-right: 15px;
  border-right: 1px solid var(--silver-light);
  color: #718678;
  font: italic 22px var(--serif);
}
.section-heading .eyebrow, .panel-heading .eyebrow { margin-bottom: 4px; }
.section-heading h2, .panel-heading h2 {
  margin: 0;
  color: var(--green-dark);
  font: 400 25px/1.2 var(--serif);
  letter-spacing: -.025em;
}
.upload-form { margin-top: 29px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.field > span { color: #34453b; font-size: 11px; font-weight: 650; }
.field em { margin-left: 5px; color: #959d96; font-weight: 400; font-style: normal; }
.field input, .field select {
  min-width: 0;
  border: 1px solid #d5dad4;
  border-radius: 0;
  outline: none;
  padding: 13px 14px;
  background: #fffefa;
  color: var(--ink);
  font: 13px var(--sans);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus { border-color: #78907e; box-shadow: 0 0 0 3px #36584712; }
.challenge-picker { display: flex; gap: 9px; }
.challenge-picker select {
  flex: 1;
  appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, #617168 50%), linear-gradient(135deg, #617168 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.spin-button {
  white-space: nowrap;
  border: 1px solid #bdc9c0;
  border-radius: 0;
  padding: 0 14px;
  background: #eff2ec;
  color: var(--green);
  font: 600 11px var(--sans);
  cursor: pointer;
}
.spin-button span { margin-right: 4px; font-size: 17px; vertical-align: -1px; }
.spin-button:hover { background: #e5ebe3; }
.spin-button.spinning span { display: inline-block; animation: spin .25s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.field-hint, .file-list { margin: 0; color: #8a938c; font-size: 10px; }
.spin-result, .file-list-ready { color: var(--green); font-weight: 600; }
.dropzone {
  position: relative;
  display: flex;
  min-height: 138px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed #aebbb1;
  padding: 17px;
  background: #f6f7f1;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.dropzone:hover { border-color: var(--green); background: #eef2ec; }
.upload-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #c7d1c9;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  font-size: 19px;
}
.dropzone strong { color: #34453b; font: 600 12px var(--sans); }
.dropzone > span:last-of-type { color: #858e87; font-size: 10px; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { margin-top: 8px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  font: 650 11px var(--sans);
  cursor: pointer;
  transition: transform .18s, background .18s, border-color .18s;
}
.button:hover { transform: translateY(-1px); }
.button-primary { padding: 14px 18px; background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.submit-button { width: 100%; margin-top: 5px; }
.submit-button span { font-size: 16px; }
.privacy-note { margin: 13px 0 0; color: #929992; font-size: 10px; text-align: center; }
.alert { margin-top: 18px; border: 1px solid #dcbdb2; padding: 12px 14px; background: #fbf2ed; color: #914f3d; font-size: 12px; }
.site-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--silver-light);
  color: #818a83;
  font-size: 10px;
  letter-spacing: .04em;
}
.site-footer a { color: #6f7d73; text-decoration: none; }
.state-card { width: min(100%, 650px); margin: 90px auto 110px; padding: 20px 24px 35px; text-align: center; }
.closed-illustration { height: 115px; display: flex; align-items: center; justify-content: center; gap: 17px; color: #809181; font-size: 23px; }
.camera-icon { display: grid; width: 72px; height: 61px; place-items: center; border: 1px solid #879b8c; border-radius: 3px; background: var(--green); color: #e4e9e1; font-size: 36px; }
.closed-illustration span:first-child { align-self: flex-start; margin-top: 20px; }
.closed-illustration span:last-child { align-self: flex-end; margin-bottom: 15px; color: var(--silver); }
.state-card .eyebrow { margin: 8px 0 16px; }
.state-card h1 { font-size: clamp(43px, 7vw, 64px); }
.state-copy { max-width: 430px; margin: 20px auto 30px; color: #737d75; line-height: 1.75; }
.countdown { display: flex; align-items: center; justify-content: center; gap: 20px; color: #809181; }
.countdown div { min-width: 67px; display: flex; flex-direction: column; gap: 4px; }
.countdown strong { color: var(--green); font: 400 39px var(--serif); }
.countdown span { color: #858e87; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.countdown i { margin-top: -17px; color: var(--silver); font: normal 23px var(--serif); }
.countdown-caption { margin: 14px 0 27px; color: #929a93; font-size: 9px; letter-spacing: .17em; }
.text-link, .back-link { color: var(--green); font-size: 11px; text-decoration: none; }
.text-link span { margin-left: 5px; color: #829286; }
.thanks-card { margin-top: 115px; }
.thanks-mark { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid #b9c8bc; border-radius: 50%; background: #e7ece5; color: var(--green); font-size: 26px; }
.thanks-card h1 { font-size: clamp(42px, 7vw, 62px); }
.thanks-card .state-copy { max-width: 430px; }
.button-outline { border: 1px solid #aebbb1; padding: 12px 16px; background: transparent; color: var(--green); }
.button-outline:hover { background: #edf1eb; }
.gallery-hero { padding: 70px 10px 40px; text-align: center; }
.gallery-hero h1 { font-size: clamp(43px, 7vw, 70px); }
.gallery-hero > p:last-child { margin: 14px 0 0; color: #6d8172; font: italic 16px/1.6 var(--serif); }
.category-nav { display: flex; gap: 8px; overflow: auto; padding: 0 0 19px; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-chip { flex: none; border: 1px solid #cdd4cd; border-radius: 99px; padding: 9px 13px; background: transparent; color: #626f66; font: 10px var(--sans); cursor: pointer; }
.category-chip.active, .category-chip:hover { border-color: var(--green); background: var(--green); color: #fff; }
.gallery-category { padding: 25px 0 30px; }
.gallery-category-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.category-rule { width: 23px; height: 1px; background: var(--silver); }
.gallery-category-heading h2 { margin: 0; color: var(--green-dark); font: 400 19px var(--serif); }
.photo-count { color: #8c958e; font-size: 10px; }
.photo-grid { columns: 3 220px; column-gap: 14px; }
.gallery-photo { display: block; break-inside: avoid; overflow: hidden; margin: 0 0 14px; background: var(--paper-deep); }
.gallery-photo img { width: 100%; display: block; transition: transform .4s; }
.gallery-photo:hover img { transform: scale(1.035); }
.empty-gallery, .admin-empty { padding: 70px 15px; color: #858e87; text-align: center; }
.empty-gallery > span, .admin-empty > span { color: #849789; font-size: 26px; }
.empty-gallery h2 { margin: 11px 0; color: var(--ink); font: 400 23px var(--serif); }
.empty-gallery p, .admin-empty p { font-size: 12px; }
.admin-login-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(ellipse at 80% 20%, #dfe4dc 0, transparent 30%), var(--paper); }
.login-card { width: min(100% - 36px, 440px); border: 1px solid var(--line); padding: 38px; background: var(--white); box-shadow: 0 15px 45px #26372d0b; }
.login-card > .brand { margin-bottom: 45px; }
.login-card .eyebrow { margin-bottom: 10px; }
.login-card h1 { margin-bottom: 26px; font-size: 48px; }
.login-card form .button { width: 100%; margin: 4px 0 19px; }
.login-card .back-link { display: inline-block; }
.admin-page { min-height: 100vh; background-color: #f1f2ec; }
.admin-topbar { padding: 0 max(24px, calc((100% - 1150px) / 2)); background: var(--paper); }
.admin-top-actions { display: flex; align-items: center; gap: 22px; }
.admin-top-actions a, .quiet-button { color: #68766d; font: 10px var(--sans); text-decoration: none; }
.quiet-button { border: 0; background: none; cursor: pointer; }
.admin-shell { width: min(100% - 40px, 1120px); margin: 42px auto 0; }
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 0 25px; }
.admin-title-row h1 { font-size: 45px; }
.admin-title-row .eyebrow { margin-bottom: 9px; }
.state-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 50px; padding: 8px 11px; background: #e4ebe3; color: #49694f; font-size: 10px; font-weight: 600; }
.state-pill i { width: 6px; height: 6px; border-radius: 50%; background: #72966e; }
.state-closed { background: #f0ece0; color: #8b784b; }
.state-closed i { background: #baa365; }
.state-live { background: #e5e9e7; color: #536d61; }
.state-live i { background: #718a7a; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 13px; }
.stat-card { min-height: 126px; border: 1px solid var(--line); padding: 17px 19px; background: var(--white); }
.stat-card > span { display: block; color: #7d8880; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.stat-card > strong { display: block; margin: 9px 0 0; color: var(--green); font: 400 37px var(--serif); }
.stat-card > small { color: #909991; font-size: 10px; }
.mini-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 15px; margin-top: 11px; }
.mini-counts div { display: flex; justify-content: space-between; gap: 7px; color: #717c74; font-size: 9px; }
.mini-counts strong { color: var(--green); font-size: 10px; }
.admin-columns { display: grid; grid-template-columns: 1.1fr .9fr; gap: 13px; margin: 13px 0; }
.admin-panel { padding: 22px; }
.panel-heading { justify-content: space-between; }
.panel-heading h2 { font-size: 22px; }
.panel-copy { margin: 20px 0; color: #737e76; font-size: 11px; line-height: 1.7; }
.state-form { display: flex; align-items: flex-end; gap: 12px; }
.state-form .field { flex: 1; margin: 0; }
.state-form .button, .panel-actions .button { white-space: nowrap; padding: 13px 15px; }
.input-suffix { display: flex; border: 1px solid var(--line); background: #fff; }
.input-suffix input { width: 85px; border: 0 !important; padding: 10px !important; }
.input-suffix span { padding: 11px 12px 0 0; color: #8b958d; font-size: 11px; }
.panel-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.go-live-date { margin: 0 0 16px; color: #777; font-size: 10px; }
.go-live-date strong { display: block; margin-top: 6px; color: var(--green); font-size: 12px; }
.qr-content { display: flex; align-items: center; gap: 15px; margin-top: 14px; }
.qr-content img { width: 100px; height: 100px; image-rendering: pixelated; }
.qr-content p { margin: 0 0 5px; color: #737e76; font-size: 11px; }
.url-text { display: block; color: var(--green); font-size: 10px; word-break: break-all; }
.download-link { display: table; margin-top: 12px; padding: 9px 11px; font-size: 10px; }
.moderation-panel { margin: 0 0 28px; padding: 23px; }
.moderation-heading { margin-bottom: 20px; }
.review-count { margin-left: 6px; color: #89928b; font: 400 10px var(--sans); }
.bulk-actions { display: flex; gap: 7px; }
.button-small { padding: 8px 10px; font-size: 10px; }
.button-approve { background: #e4ece2; color: #426447; }
.button-approve:hover { background: #d7e4d4; }
.button-reject, .button-delete { background: #f1e8e3; color: #925d50; }
.button-reject:hover, .button-delete:hover { background: #e8d8d1; }
.moderation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.moderation-card { min-width: 0; border: 1px solid #dfe2dc; padding-bottom: 10px; background: #fbfbf7; }
.moderation-card > a:first-child { display: block; background: #e8e9e2; }
.moderation-card img { width: 100%; height: 175px; display: block; object-fit: cover; }
.moderation-meta { display: flex; flex-direction: column; gap: 5px; padding: 10px 10px 4px; }
.photo-challenge { font: 400 12px/1.35 var(--serif); }
.photo-guest { color: #7d8780; font-size: 9px; }
.approval-label { color: #9a8256; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.approval-approved { color: #527454; }
.approval-rejected { color: #9c6256; }
.moderation-actions { display: flex; align-items: center; gap: 6px; padding: 5px 10px 0; }
.moderation-actions form { margin: 0; }
.download-single { margin-right: auto; color: var(--green); font-size: 9px; text-decoration: none; }
.admin-footer { padding: 5px 0 30px; color: #89928b; font-size: 10px; text-align: center; }
.admin-footer span { padding: 0 6px; color: #829286; }
[hidden] { display: none !important; }
.password-shell { max-width: 760px; }
.password-panel { max-width: 560px; }
.password-form { max-width: 400px; }
.password-form .button { margin-top: 4px; }
.form-notice { margin-top: 18px; border: 1px solid #b9cdb7; padding: 12px 14px; background: #f1f6ef; color: #426447; font-size: 12px; }

@media (max-width: 700px) {
  .page-shell { width: min(100% - 28px, 560px); }
  .masthead { min-height: 70px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; font-size: 15px; }
  .brand-name { max-width: 190px; font-size: 12px; }
  .brand-name small { font-size: 7px; }
  .event-note { max-width: 125px; font-size: 8px; line-height: 1.5; text-align: right; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 40px 5% 10px; }
  .hero h1 { font-size: 59px; }
  .hero-intro { max-width: 340px; font-size: 14px; }
  .hero-art { width: 100%; height: 225px; margin-top: 6px; }
  .art-halo { width: 180px; height: 180px; top: 18px; right: calc(50% - 90px); }
  .botanical { width: 165px; height: 206px; top: 1px; right: calc(50% - 84px); }
  .art-seal { width: 77px; height: 77px; top: 73px; right: calc(50% - 38px); }
  .art-seal > span { font-size: 18px; }
  .art-caption { right: calc(50% - 81px); bottom: 4px; font-size: 12px; }
  .upload-card { margin-bottom: 43px; padding: 27px 19px 29px; }
  .section-heading h2 { font-size: 21px; }
  .field-row { gap: 10px; }
  .field-row .field input { padding: 12px 10px; font-size: 12px; }
  .challenge-picker { flex-direction: column; }
  .challenge-picker select { height: 45px; }
  .spin-button { height: 40px; }
  .dropzone { min-height: 120px; }
  .site-footer { min-height: 60px; font-size: 9px; }
  .state-card { margin: 65px auto 80px; padding: 20px 8px 28px; }
  .closed-illustration { height: 95px; }
  .state-copy { font-size: 13px; }
  .countdown { gap: 10px; }
  .countdown strong { font-size: 33px; }
  .countdown div { min-width: 60px; }
  .gallery-hero { padding: 48px 0 28px; }
  .gallery-hero h1 { font-size: 46px; }
  .gallery-hero > p:last-child { font-size: 14px; }
  .category-nav { margin-right: -14px; }
  .photo-grid { columns: 2 145px; column-gap: 9px; }
  .gallery-photo { margin-bottom: 9px; }
  .gallery-category-heading h2 { font-size: 17px; }
  .admin-topbar { min-height: 65px; padding: 0 15px; }
  .admin-topbar .brand-name { max-width: 165px; font-size: 10px; }
  .admin-topbar .brand-name small { font-size: 6px; }
  .admin-top-actions { gap: 10px; }
  .admin-top-actions a, .quiet-button { font-size: 9px; }
  .admin-shell { width: calc(100% - 28px); margin-top: 27px; }
  .admin-title-row { align-items: flex-start; gap: 10px; flex-direction: column; }
  .admin-title-row h1 { font-size: 37px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { min-height: 112px; padding: 14px; }
  .category-stat { grid-column: 1 / -1; min-height: 0; }
  .mini-counts { grid-template-columns: 1fr 1fr; }
  .admin-columns { grid-template-columns: 1fr; gap: 9px; margin: 9px 0; }
  .admin-panel { padding: 17px; }
  .state-form { align-items: stretch; flex-direction: column; }
  .state-form .field { width: 100%; }
  .state-form .button { width: 100%; }
  .qr-content img { width: 90px; height: 90px; }
  .moderation-panel { padding: 17px; }
  .moderation-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .moderation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .moderation-card img { height: 145px; }
  .panel-actions { align-items: stretch; flex-direction: column; }
  .panel-actions .button { width: 100%; }
  .admin-footer { padding-bottom: 22px; }
}
@media (max-width: 380px) {
  .field-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 53px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mini-counts { grid-template-columns: 1fr; }
  .moderation-card img { height: 120px; }
  .moderation-actions { gap: 4px; padding-right: 7px; padding-left: 7px; }
  .button-small { padding: 7px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
