@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@300;400;500&family=Dancing+Script:wght@400;600&display=swap');

:root {
  --blue:      #4a7fa5;
  --blue-lt:   #7ba7c2;
  --blue-pale: #c8dce9;
  --sky:       #e8f2f8;
  --white:     #ffffff;
  --paper:     #f7f9fb;
  --ink:       #2c3e50;
  --muted:     rgba(44,62,80,.52);
  --border:    rgba(74,127,165,.18);

  --serif:  "Cormorant Garamond", Georgia, serif;
  --sans:   "Jost", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --script: "Dancing Script", cursive;

  --max:  1100px;
  --pad:  clamp(20px, 4vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
  padding: clamp(200px, 22vw, 260px) var(--pad) clamp(180px, 20vw, 240px);
}

/* Illustration image — fills the hero as a border frame */
.hero-illus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

/* Decorative inner border */
.hero::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(123,167,194,0.20);
  pointer-events: none;
  z-index: 0;
}

.hero-center {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: clamp(9px, 1.3vw, 11px);
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 10px;
}

.hero-banner {
  width: 200px;
  margin: 0 auto 4px;
  opacity: 0.7;
}
.hero-banner svg { width: 100%; height: auto; }

.hero-script {
  font-family: var(--script);
  font-size: clamp(52px, 11vw, 110px);
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.hero-honoring {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: .12em;
  color: var(--muted);
  margin: 16px 0 8px;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
  line-height: 1;
}

.hero-rule {
  width: 50px;
  height: 1px;
  background: var(--blue-pale);
  margin: 0 auto 18px;
}

.hero-date {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.hero-venue {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0;
}

/* ── WELCOME CARD / STRIPE SECTION ── */
.stripe-section {
  background:
    repeating-linear-gradient(
      to right,
      var(--blue-pale) 0px,
      var(--blue-pale) 10px,
      var(--paper) 10px,
      var(--paper) 18px
    );
  padding: clamp(48px, 8vw, 100px) var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stripe-card {
  background: var(--white);
  max-width: 540px;
  width: 100%;
  padding: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 64px);
  text-align: center;
  box-shadow: 0 8px 48px rgba(74,127,165,.10);
  border: 1px solid rgba(123,167,194,.15);
}

.stripe-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 14px;
  display: block;
}

.stripe-script {
  font-family: var(--script);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 20px;
  line-height: 1.2;
}

.stripe-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.85;
  color: var(--muted);
}

/* ── SECTION SHARED ── */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 40px;
  line-height: 1.1;
}

/* ── DETAILS SECTION ── */
.details-section {
  padding: clamp(64px, 8vw, 110px) var(--pad);
  background: var(--sky);
}

.details-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(123,167,194,.12);
  border: 1px solid var(--border);
  overflow: hidden;
}

@media (max-width: 800px) {
  .details-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .details-grid { grid-template-columns: 1fr; }
}

.detail-card {
  background: var(--white);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.detail-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.detail-title {
  font-family: var(--serif);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--blue);
  margin: 0;
  line-height: 1;
}

.detail-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(12px, 1.4vw, 14px);
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── PROGRAMME SECTION ── */
.programme-section {
  padding: clamp(64px, 8vw, 110px) var(--pad);
  background: var(--white);
}

.programme-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

@media (max-width: 700px) {
  .programme-inner { grid-template-columns: 1fr; }
}

.programme-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

.schedule {
  border-top: 1px solid var(--border);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.schedule-time {
  font-family: var(--sans);
  font-size: clamp(10px, 1.3vw, 12px);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-lt);
  flex-shrink: 0;
  min-width: 70px;
}

.schedule-event {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  color: var(--ink);
  text-align: right;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: clamp(64px, 8vw, 110px) var(--pad);
  background: var(--sky);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-title {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: .88;
  margin: 0 0 28px;
}

.about-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 16px;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner {
  width: clamp(220px, 35vw, 380px);
  height: clamp(220px, 35vw, 380px);
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 8px 48px rgba(74,127,165,.08);
  position: relative;
}

.about-visual-inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(123,167,194,.3);
}

.about-monogram {
  font-family: var(--script);
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.about-visual-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin: 0 0 4px;
}

.about-visual-date {
  font-family: var(--serif);
  font-size: clamp(14px, 2vw, 18px);
  font-style: italic;
  color: var(--muted);
  margin: 0;
}

/* ── RSVP SECTION ── */
.rsvp-section {
  background:
    linear-gradient(rgba(74,127,165,.88), rgba(74,127,165,.88)),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(200,220,233,.3) 0%, transparent 70%);
  color: #fff;
  padding: clamp(64px, 8vw, 110px) var(--pad);
}

.rsvp-inner {
  max-width: 640px;
  margin: 0 auto;
}

.rsvp-eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  display: block;
}

.rsvp-title {
  font-family: var(--script);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1;
}

.rsvp-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 15px);
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
}
.rsvp-sub strong { color: rgba(255,255,255,.9); font-weight: 400; }

.rsvp-boy-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 36px;
  margin-top: -24px;
}

.rsvp-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.28); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(255,255,255,.6); }
.form-group select option { background: var(--blue); color: #fff; }
.form-group textarea { resize: vertical; min-height: 80px; }

.radio-group { display: flex; gap: 22px; align-items: center; padding: 10px 0; flex-wrap: wrap; }
.radio-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 300; font-size: 14px;
  color: rgba(255,255,255,.82); cursor: pointer;
}
.radio-label input[type="radio"] { width: 16px; height: 16px; accent-color: #fff; }

.form-submit { margin-top: 8px; }
.btn-rsvp {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  background: #fff;
  color: var(--blue);
  border: none;
  padding: 16px 52px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.btn-rsvp:hover { opacity: .88; transform: translateY(-1px); }
.btn-rsvp:active { transform: translateY(0); }

.rsvp-success { padding: 32px 0; }
.rsvp-success .serif-lg {
  font-family: var(--script);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.rsvp-success p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  color: rgba(255,255,255,.65);
  margin: 0;
}

/* ── FOOTER ── */
.footerbar {
  background: var(--blue);
  color: rgba(255,255,255,.55);
  font-family: var(--sans);
  font-size: 11px;
}
.footerbar .inner {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footerbar a { color: rgba(255,255,255,.45); margin-right: 18px; }
.footerbar a:hover { color: rgba(255,255,255,.85); }
.pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.65);
}