/* Bell Family Reunion 2027 — shared site styles */

:root {
  --bell-black: #1A1A1A;
  --legacy-gold: #C6952F;
  --soft-gold: #E7C46A;
  --warm-cream: #FAF6EE;
  --white: #FFFFFF;
  --hairline: #D8D2C4;

  --font-script: 'Kaushan Script', cursive;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  font-family: var(--font-body);
  color: var(--bell-black);
}

a { color: var(--legacy-gold); }
a:hover { color: var(--soft-gold); }

.crown {
  fill: var(--legacy-gold);
  flex-shrink: 0;
}

/* Nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bell-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-nav .brand-name {
  font-family: var(--font-script);
  color: var(--legacy-gold);
  font-size: 26px;
  line-height: 1;
}

.site-nav .links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 26px);
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-link:hover { color: var(--soft-gold); }

.nav-link.nav-cta {
  background: var(--legacy-gold);
  color: var(--bell-black);
  padding: 9px 18px;
  border-radius: 7px;
}

.nav-link.nav-cta:hover { background: var(--soft-gold); }

/* Page header */

.page-header {
  background: var(--bell-black);
  color: var(--white);
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.page-header h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 52px);
}

.page-header h1 .script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--legacy-gold);
}

.page-header p {
  margin: 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--warm-cream);
}

.underline {
  width: 120px;
  height: 5px;
  background: var(--legacy-gold);
  border-radius: 3px;
  transform: rotate(-1.2deg);
}

/* Sections */

.section {
  padding: clamp(44px, 7vw, 70px) 20px;
  display: flex;
  justify-content: center;
}

.section-cream { background: var(--warm-cream); }
.section-white { background: var(--white); }

.section-stack {
  padding: clamp(48px, 7vw, 76px) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--legacy-gold);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 4.5vw, 36px);
}

/* Pricing box / cards */

.card {
  max-width: 680px;
  width: 100%;
  background: var(--white);
  border: 2px solid var(--legacy-gold);
  border-radius: 10px;
  padding: clamp(24px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card ul {
  margin: 0;
  padding-left: 22px;
  font-size: 16px;
  line-height: 2;
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* Shirt gallery */

.shirt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  width: 100%;
}

.shirt-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shirt-item img {
  width: 100%;
  border-radius: 8px;
  border: 3px solid var(--legacy-gold);
  display: block;
}

.shirt-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shirt-caption .title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shirt-caption .desc {
  font-size: 14px;
  opacity: 0.75;
}

/* Form */

.rsvp-form {
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field .hint {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

.field input,
.field select,
.field textarea {
  padding: 13px 14px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--white);
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--legacy-gold);
  outline: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.addon-box {
  background: var(--warm-cream);
  border: 2px solid var(--legacy-gold);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.addon-box .addon-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.addon-box .addon-title .optional { color: var(--legacy-gold); }

.addon-box .addon-desc {
  font-size: 13px;
  opacity: 0.75;
}

.btn {
  background: var(--legacy-gold);
  color: var(--bell-black);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 32px;
  border-radius: 7px;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
}

.btn:hover { background: var(--soft-gold); }

.btn-hero { padding: 16px 36px; }
.btn-cta { padding: 14px 30px; font-size: 14px; }

.form-status {
  font-size: 14px;
  font-style: italic;
  min-height: 1.4em;
}

.form-status.error { color: #8a2f1a; }

/* Payment section */

#payment { display: none; }
#payment.is-visible { display: flex; }

.confirm-banner {
  max-width: 680px;
  width: 100%;
  background: var(--white);
  border: 2px solid var(--legacy-gold);
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.confirm-banner svg { flex-shrink: 0; margin-top: 2px; }
.confirm-banner p { margin: 0; font-size: 16px; line-height: 1.7; }

.payment-inner {
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.payment-inner h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(22px, 4vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.payment-inner p { margin: 0; font-size: 16px; line-height: 1.7; }

.total-box {
  background: var(--bell-black);
  border-radius: 8px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.total-box .label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--soft-gold);
}

.total-box .amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 34px;
  color: var(--white);
}

.total-box .breakdown {
  font-size: 13px;
  color: var(--warm-cream);
  opacity: 0.75;
}

.total-box .pay-method {
  font-size: 14px;
  color: var(--soft-gold);
  font-weight: 700;
  margin-top: 4px;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
}

.pay-card {
  background: var(--warm-cream);
  border: 2px solid var(--legacy-gold);
  border-radius: 8px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.pay-card .title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pay-card .value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--legacy-gold);
  word-break: break-all;
  text-align: center;
}

.pay-card .note { font-size: 13px; opacity: 0.75; }

/* Closing / contact */

.closing {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.closing p { margin: 0; font-size: 16px; line-height: 1.7; }

/* Footer */

.site-footer {
  background: var(--bell-black);
  color: var(--warm-cream);
  padding: 56px 20px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-seal {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid var(--legacy-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
}

.footer-seal .seal-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-seal .seal-year {
  font-family: var(--font-script);
  color: var(--legacy-gold);
  font-size: 24px;
}

.footer-seal .seal-tagline {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--soft-gold);
}

.footer-committee {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-committee .label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--legacy-gold);
}

.footer-committee .names { font-size: 14px; }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--warm-cream);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-link:hover { color: var(--soft-gold); }

.footer-meta { font-size: 12px; opacity: 0.55; }

/* Home hero */

.hero-lg {
  background: var(--bell-black);
  color: var(--white);
  text-align: center;
  padding: clamp(56px, 10vw, 110px) 20px clamp(48px, 8vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-lg .eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft-gold);
}

.hero-lg h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.1;
  max-width: 800px;
  text-wrap: balance;
}

.hero-lg h1 .script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--legacy-gold);
}

.hero-lg .underline {
  width: clamp(120px, 20vw, 200px);
  height: 6px;
}

.hero-lg p {
  margin: 0;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  color: var(--warm-cream);
  max-width: 560px;
}

.hero-lg .btn { margin-top: 8px; }

/* Countdown */

.countdown {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 64px;
}

.countdown-item .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--white);
}

.countdown-item .unit {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--legacy-gold);
  font-weight: 700;
}

.countdown-caption {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--warm-cream);
  opacity: 0.7;
}

/* Generic section-stack used on Home for welcome / weekend / closing blocks */

.section-stack.section-white,
.section-stack.section-black {
  padding: clamp(56px, 8vw, 90px) 20px;
}

.section-stack p {
  margin: 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
}

.section-stack h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 4.5vw, 38px);
  max-width: 680px;
  text-wrap: balance;
}

/* Photo grid ("Remember this?") */

.section-black {
  background: var(--bell-black);
  color: var(--warm-cream);
}

.section-black h2.script-heading {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 42px);
  color: var(--white);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1040px;
  width: 100%;
}

.photo-grid img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid var(--legacy-gold);
  display: block;
}

/* Weekend at a glance cards */

.weekend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1040px;
  width: 100%;
}

.weekend-card {
  background: var(--white);
  border-top: 5px solid var(--legacy-gold);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.weekend-card .date {
  font-family: var(--font-script);
  color: var(--legacy-gold);
  font-size: 22px;
}

.weekend-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.weekend-card .meta {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bell-black);
  opacity: 0.65;
}

.weekend-card p { margin: 0; font-size: 15px; line-height: 1.65; }

/* Pricing snapshot (Home) */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 720px;
  width: 100%;
}

.pricing-tile {
  background: var(--bell-black);
  color: var(--white);
  border-radius: 8px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-tile .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--soft-gold);
}

.pricing-tile .amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
}

.pricing-tile .unit { font-size: 13px; opacity: 0.75; }

/* Event detail sections */

.detail-block {
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-block .date {
  font-family: var(--font-script);
  color: var(--legacy-gold);
  font-size: 26px;
}

.detail-block h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(22px, 4vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.detail-block .meta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bell-black);
  opacity: 0.7;
}

.detail-block .meta-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-block p { margin: 0; font-size: 16px; line-height: 1.75; }

.detail-block ul {
  margin: 0;
  padding-left: 22px;
  font-size: 16px;
  line-height: 2;
}

.gala-box {
  background: var(--bell-black);
  border-radius: 8px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.gala-box .date {
  font-family: var(--font-script);
  color: var(--legacy-gold);
  font-size: 26px;
}

.gala-box .meta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft-gold);
}

.gala-box p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--warm-cream); }

.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--bell-black);
  border: 2px solid var(--bell-black);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 11px 26px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 14px;
}

.btn-outline:hover { background: var(--bell-black); color: var(--white); }

.section-black .detail-block ul strong { color: var(--soft-gold); }

/* Coming-soon stub pages */

.coming-soon {
  padding: clamp(60px, 12vw, 120px) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.coming-soon h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 44px);
}

.coming-soon p {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
}
