@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --ink: #171717;
  --muted: #68645d;
  --paper: #f3f0e8;
  --white: #fffefa;
  --accent: #a64b35;
  --line: #ded9ce;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { min-height: 88px; padding: 9px clamp(22px, 7vw, 108px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-stamp { width: 66px; height: 66px; object-fit: contain; }
.brand-caption { display: flex; flex-direction: column; gap: 4px; padding-left: 13px; border-left: 1px solid var(--line); }
.brand-caption strong { font-family: "Playfair Display", Georgia, serif; font-size: 17px; }
.brand-caption small { color: var(--muted); font-size: 9px; letter-spacing: 1.8px; text-transform: uppercase; }
nav { display: flex; gap: 30px; font-size: 13px; color: #514d47; }
nav a:hover { color: var(--accent); }
.hero { min-height: 550px; padding: 72px clamp(22px, 11vw, 165px); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; background: var(--paper); overflow: hidden; }
.hero-content { max-width: 680px; }
.eyebrow { margin: 0 0 17px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 2.8px; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 700; letter-spacing: -.8px; }
h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.08; }
h1 span { color: var(--accent); }
.hero-lead { max-width: 460px; margin: 24px 0 30px; color: #5f5b54; font-size: 17px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 0; border-radius: 3px; padding: 15px 21px; font: 700 13px "DM Sans", sans-serif; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--accent); }
.hero-logo-wrap { display: flex; align-items: center; justify-content: center; }
.hero-logo { display: block; width: min(100%, 430px); max-height: 430px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(0,0,0,.08)); }
.section { padding: 92px clamp(22px, 11vw, 165px); }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(35px, 4vw, 49px); line-height: 1.13; }
.intro-copy { padding-top: 8px; color: #59564f; font-size: 16px; line-height: 1.8; }
.event-facts { display: flex; flex-wrap: wrap; gap: 35px; margin-top: 28px; }
.event-facts > div { display: flex; align-items: center; gap: 12px; }
.fact-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--accent); background: #eee7dc; font-size: 21px; }
.event-facts small, .event-facts strong { display: block; }
.event-facts small { color: #89847b; font-size: 11px; }
.event-facts strong { color: var(--ink); font-size: 13px; }
.signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.section-heading > p:last-child { max-width: 370px; color: var(--muted); line-height: 1.7; }
.signup-form { padding: 30px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 15px 45px rgba(23,23,23,.045); }
.signup-form label:not(.check-row) { display: block; margin-bottom: 17px; color: #4f4b45; font-size: 12px; font-weight: 600; }
input:not([type=checkbox]) { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #d9d4ca; border-radius: 3px; outline: none; background: #fff; color: var(--ink); font: 14px "DM Sans", sans-serif; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166,75,53,.12); }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 7px 0 21px; color: #68635b; font-size: 12px; line-height: 1.5; }
.check-row input { margin-top: 2px; accent-color: var(--ink); }
.signup-form .button { width: 100%; }
.form-note { margin: 13px 0 0; color: #929087; font-size: 10px; line-height: 1.5; }
.attendees { background: #e9e5dc; }
.attendees-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.count { display: flex; align-items: baseline; gap: 9px; color: var(--muted); font-size: 12px; }
.count strong { color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 43px; }
.bubble-empty { margin: 34px 0 18px; padding: 28px; border: 1px dashed #bdb6a9; border-radius: 8px; color: #777168; text-align: center; font-size: 13px; }
.bubble-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 25px 16px; }
.bubble { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.bubble-avatar { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: #d8d2c5; color: #272522; font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-weight: 700; box-shadow: 0 5px 14px rgba(23,23,23,.07); }
.bubble:nth-child(4n+2) .bubble-avatar { background: #e2cfc1; color: #653c2e; }
.bubble:nth-child(4n+3) .bubble-avatar { background: #d5d6cf; color: #394239; }
.bubble:nth-child(4n) .bubble-avatar { background: #ded8df; color: #4b3d4e; }
.bubble-name { color: #393630; font-size: 12px; font-weight: 600; }
.privacy-note { margin-top: 30px; color: #777168; font-size: 11px; line-height: 1.6; }
footer { display: flex; justify-content: space-between; padding: 25px clamp(22px, 7vw, 108px); color: #e9e5dc; background: var(--ink); font-size: 11px; letter-spacing: 1px; }
@media (max-width: 760px) {
  .site-header { min-height: 72px; flex-wrap: wrap; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .brand-stamp { width: 54px; height: 54px; }
  nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 11px; padding: 4px 0 7px; }
  .hero { min-height: 0; padding-top: 60px; padding-bottom: 60px; grid-template-columns: 1fr; gap: 38px; }
  .hero-logo { width: min(76vw, 310px); }
  .section { padding-top: 65px; padding-bottom: 65px; }
  .intro, .signup { grid-template-columns: 1fr; gap: 30px; }
  .attendees-heading { align-items: flex-start; }
  .count { flex-direction: column; gap: 0; align-items: flex-end; }
  .signup-form { padding: 22px; }
}


.hero-date { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--accent); }
.hero-date span:first-child { font-family: "Playfair Display", Georgia, serif; font-size: 42px; line-height: 1; }
.hero-date span:last-child { padding-left: 12px; border-left: 1px solid #c9b9a8; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.attendance-choice { margin: 5px 0 20px; padding: 0; border: 0; }
.attendance-choice legend { margin-bottom: 10px; color: #4f4b45; font-size: 12px; font-weight: 700; }
.choice-option { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; margin-bottom: 8px; border: 1px solid #ded9ce; border-radius: 4px; background: #fffefa; cursor: pointer; }
.choice-option input { margin-top: 3px; accent-color: var(--accent); }
.choice-option strong, .choice-option small { display: block; }
.choice-option strong { color: var(--ink); font-size: 12px; }
.choice-option small { margin-top: 3px; color: #817b72; font-size: 11px; }
.details { background: var(--white); border-top: 1px solid var(--line); }
.details-heading { margin-bottom: 35px; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card { min-height: 245px; padding: 25px; border: 1px solid var(--line); background: #fbfaf6; }
.detail-number { color: var(--accent); font-family: "Playfair Display", Georgia, serif; font-size: 28px; }
.detail-card h3 { margin: 22px 0 10px; font-family: "Playfair Display", Georgia, serif; font-size: 21px; }
.detail-card p { margin: 0; color: #625e56; font-size: 13px; line-height: 1.75; }
.planning-note { max-width: 850px; margin: 25px 0; color: #777168; font-size: 12px; line-height: 1.7; }
.help-callout { display: flex; flex-direction: column; gap: 6px; padding: 20px 23px; border-left: 3px solid var(--accent); background: #f1ece3; }
.help-callout strong { font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.help-callout span { color: #68635b; font-size: 13px; line-height: 1.6; }
@media (max-width: 760px) {
  .details-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 0; }
}

.contact-callout { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding: 20px 23px; border: 1px solid var(--line); background: #fbfaf6; }
.contact-callout strong { font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.contact-callout span { color: #68635b; font-size: 13px; line-height: 1.6; }
.contact-callout a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
footer a { color: inherit; }

.consent-row { padding-top: 12px; border-top: 1px solid var(--line); }
.error-note { color: #a12f24; }
.signup-form button:disabled { opacity: .65; cursor: wait; transform: none; }
.bubble-empty[hidden] { display: none; }

.success-panel {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid #b8cdbb;
  border-radius: 16px;
  background: #f0f6f0;
  color: #243d2c;
  text-align: center;
  animation: success-appear 0.4s ease-out;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #315d40;
  color: white;
  font-size: 32px;
  font-weight: bold;
}

.success-panel h3 {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.success-panel p {
  margin: 10px 0;
  line-height: 1.6;
}

.success-panel .success-highlight {
  margin-top: 22px;
  font-weight: 700;
  font-size: 1.1rem;
}

.success-panel small {
  display: block;
  margin-top: 20px;
  line-height: 1.6;
  color: #526457;
}

@keyframes success-appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .success-panel {
    padding: 24px 18px;
  }
}
