:root {
  --paper: #faf7f1;
  --ink: #242c27;
  --accent: #305847;
  --line: #c6cdc6;
  --card: #fff;
  --brand-font: Georgia, serif;
  font: 100%/1.55 system-ui;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
#status {
  width: min(64rem, 100%);
  margin: auto;
  padding: 1rem clamp(1rem, 4vw, 3rem);
}
header {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
header > a,
h1,
h2 {
  font-family: var(--brand-font);
}
header > a {
  font-size: 1.5rem;
}
nav,
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
a {
  color: var(--accent);
}
main {
  padding-block: 2rem;
}
h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
}
h2 {
  font-size: 1.6rem;
}
form,
article,
fieldset,
details {
  background: var(--card);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  margin: 1rem 0;
  min-width: 0;
}
label {
  display: grid;
  gap: 0.25rem;
  margin: 0.6rem 0;
}
input,
select,
textarea,
button {
  font: inherit;
  max-width: 100%;
  padding: 0.45rem;
}
input,
select,
textarea {
  width: 100%;
}
button {
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 0.3rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
}
fieldset label:has(input[type='checkbox']),
label:has(input[type='checkbox']) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
input[type='checkbox'] {
  width: auto;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a2511e;
  outline-offset: 2px;
}
#status {
  color: #742c18;
  white-space: pre-line;
}
img {
  max-width: 100%;
  height: auto;
}
ul {
  padding-inline-start: 1.4rem;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sticker {
  border: 2px dashed var(--accent);
  padding: 1rem;
}
.pin {
  font: 2rem monospace;
  letter-spacing: 0.15em;
}
@media print {
  body:has(.sticker) :is(header, #status, main > *:not(.sticker), .sticker button) {
    display: none;
  }
  .sticker {
    break-inside: avoid;
  }
}
/* Neon-camp palette and approved original illustration derivatives. */
:root {
  --paper: #100e24;
  --ink: #f8f3ff;
  --accent: #aaf2dd;
  --line: #565072;
  --card: #211b36;
  --brand-font: Georgia, serif;
}
body {
  background: radial-gradient(ellipse at top right, #4f135e88, transparent 60%), var(--paper);
  min-height: 100vh;
}
main,
header,
footer,
#status {
  width: min(82rem, 100%);
}
footer {
  margin: auto;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
input,
select,
textarea {
  background: #fffaf5;
  color: #17152b;
  border: 2px solid #8b859b;
  border-radius: 0.3rem;
}
button,
.rsvp-link {
  background: #e84778;
  color: #fff;
  font-weight: 700;
}
a,
button {
  overflow-wrap: anywhere;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: #ffe28b;
}
#status {
  color: #ffce98;
}
.hero {
  display: grid;
  gap: 1.5rem;
}
.home-scene {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.home-scene img {
  display: block;
  width: 100%;
  height: auto;
}
.home-signpost {
  position: absolute;
  left: 11%;
  top: 17%;
  width: 23%;
  height: 64%;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 0;
}
.home-signpost a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff9dc;
  font-size: clamp(0.7rem, 1.5vw, 1.25rem);
  font-weight: 800;
  text-align: center;
  text-shadow: 1px 2px 3px #16091c;
  transform: rotate(-2deg);
}
.hero-copy {
  max-width: none;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #ee85dd;
  border-radius: 1rem;
  background: radial-gradient(circle at 90% 10%, #c02eaa66, transparent 35%),
    radial-gradient(circle at 10% 90%, #315b9c77, transparent 40%), #211b36;
  box-shadow: 0 0 32px #dd32aa44;
}
.page-art {
  margin: 1.5rem 0;
}
.page-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.7rem;
}
.page-art--portrait {
  max-width: 35rem;
}
.cycling-art {
  max-width: 35rem;
}
.hero h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #ffb6e4;
  text-shadow: 0 0 20px #f639ae77;
}
.eyebrow {
  letter-spacing: 0.12em;
  color: #acecdd;
  font-size: 0.9rem;
}
.rsvp-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
}
.home-signpost a:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -4px;
}
@media (max-width: 700px) {
  .home-signpost {
    position: static;
    width: auto;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 0.65rem;
    padding: 0.75rem;
  }
  .home-signpost a {
    transform: none;
    font-size: 1rem;
    text-shadow: none;
    min-height: 3.2rem;
  }
}
.home-signpost a {
  text-decoration: none;
}
@media (max-width: 700px) {
  .home-signpost a {
  background: repeating-linear-gradient(2deg, #ddb37c, #ddb37c 8px, #dbac70 10px, #e6be8a 14px);
  color: #1a1730;
    padding: 0.6rem;
    border-radius: 0.4rem;
    box-shadow: 0 4px 0 #926332;
  }
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: #fff;
  color: #111;
  padding: 1rem;
  z-index: 10;
}
.skip-link:focus {
  top: 1rem;
}
.book-page {
  min-height: 16rem;
  color: #211b36;
  background: #fff5e2;
  border: 4px double #a58358;
  box-shadow: inset 12px 0 24px #bca88455;
  white-space: pre-wrap;
}
@media (max-width: 700px) {
  header nav a {
    padding: 0.35rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .book-page {
    animation: page-in 0.25s ease;
  }
  @keyframes page-in {
    from {
      opacity: 0.5;
      transform: translateX(1rem);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media print {
  :root {
    --paper: #fff;
    --ink: #111;
    --card: #fff;
    --accent: #222;
  }
  body {
    background: white;
  }
  footer {
    display: none;
  }
}
.projector-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #100e24;
}
.projector-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.projector-screen {
  position: absolute;
  left: 19.6%;
  top: 21.8%;
  width: 57.3%;
  height: 57.3%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1%;
  background: #141414;
  color: #fff;
}
.projector-screen img {
  max-width: 100%;
  max-height: 85%;
  object-fit: contain;
}
.projector-screen h1 { font-size: clamp(0.9rem, 2.5vw, 2.6rem); }
.projector-screen p { margin: 0.3em; }
.projector-qr {
  position: absolute;
  left: 88.1%;
  top: 71.9%;
  width: 8.3%;
  height: 17.1%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.projector-qr img { width: 100%; height: 100%; object-fit: contain; }
.projector-message {
  font-size: clamp(0.8rem, 2vw, 2rem);
  line-height: 1.4;
}
main:fullscreen {
  background: #100e24;
  width: 100%;
  max-width: none;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
main:fullscreen .projector-stage {
  width: min(100vw, 177.78vh);
  margin: auto;
}
.hero h2 {
  line-height: 1.12;
  margin: 0.5em 0;
}
.chat-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
 .site-banner { margin: .5rem auto; max-width: 72rem; padding: .8rem 1rem; border: 2px solid currentColor; border-radius: .5rem; }
 .site-banner.urgent { font-weight: 700; }
