:root {
  --cream: #f3efe5;
  --paper: #fbf9f4;
  --olive: #596348;
  --olive-dark: #36402d;
  --sage: #9ca68a;
  --clay: #a36f52;
  --ink: #292b25;
  --muted: #6e7068;
  --line: rgba(54, 64, 45, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
  linear-gradient(90deg, rgba(40, 47, 34, 0.82), rgba(48, 58, 39, 0.38), rgba(37, 44, 31, 0.68)),
  url("foto.jpg") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: repeating-linear-gradient(115deg, transparent 0 20px, rgba(255,255,255,.25) 21px, transparent 22px 44px);
}
.nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 6vw, 96px);
}
.monogram { text-decoration: none; font: 600 25px Georgia, serif; letter-spacing: .06em; }
.monogram .amp { color: #d9c8aa; font-style: italic; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 14px; letter-spacing: .04em; opacity: .88; }
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.hero-content { z-index: 1; max-width: 920px; text-align: center; padding: 130px 24px 100px; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; }
.hero h1 {
  margin: 0;
  font: 400 clamp(58px, 10vw, 132px)/.95 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.hero h1 .amp { color: #d7c7a9; font-style: italic; font-size: .75em; }
.hero-copy { margin: 34px 0 0; font: italic 30px Georgia, serif; }
.date { margin: 8px 0 32px; color: rgba(255,255,255,.82); }
.photo-note {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 4vw, 70px);
  bottom: 28px;
  max-width: 210px;
  padding: 10px 14px;
  border-left: 1px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.58);
  font-size: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 13px "Segoe UI", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--olive-dark); background: var(--cream); }
.button-dark { color: white; background: var(--olive-dark); }
.section { padding: clamp(80px, 11vw, 150px) clamp(24px, 8vw, 140px); }
.section h2 { margin: 0; font: 400 clamp(43px, 6vw, 78px)/1.08 Georgia, serif; letter-spacing: -.035em; }
.intro { text-align: center; }
.intro .eyebrow, .venue .eyebrow, .rsvp .eyebrow, .accommodation .eyebrow { color: var(--clay); }
.lead { max-width: 750px; margin: 28px auto 70px; color: var(--muted); font-size: 19px; }
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: auto; border: 1px solid var(--line); }
.schedule-card { padding: 46px 30px; background: var(--paper); }
.schedule-card + .schedule-card { border-left: 1px solid var(--line); }
.schedule-card.featured { color: white; background: var(--olive); transform: scale(1.04); box-shadow: 0 18px 60px rgba(54,64,45,.2); }
.schedule-card .day { margin: 0; color: var(--clay); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.schedule-card.featured .day { color: #e4d4b8; }
.schedule-card h3 { margin: 8px 0 18px; font: 400 29px Georgia, serif; }
.schedule-card p:last-child { margin: 0; color: var(--muted); }
.schedule-card.featured p:last-child { color: rgba(255,255,255,.8); }
.venue { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; padding: 0; background: var(--cream); }
.venue-copy { align-self: center; padding: clamp(70px, 10vw, 150px); }
.venue-copy p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.text-link { display: inline-block; margin-top: 16px; color: var(--olive-dark); font-weight: 700; text-underline-offset: 5px; }
.venue-art { position: relative; min-height: 500px; overflow: hidden; background: #c9c5ad; }
.sun { position: absolute; width: 160px; height: 160px; border-radius: 50%; top: 18%; right: 16%; background: #e3c993; }
.arch { position: absolute; z-index: 3; inset: 16% 18% 0; border: 35px solid var(--olive-dark); border-bottom: 0; border-radius: 300px 300px 0 0; opacity: .9; }
.hill { position: absolute; bottom: -18%; width: 95%; height: 55%; border-radius: 50% 50% 0 0; transform: rotate(-7deg); }
.hill-one { right: -15%; background: var(--sage); }
.hill-two { left: -24%; bottom: -30%; background: var(--olive); transform: rotate(12deg); }
.rsvp { background: var(--olive-dark); color: #fff; }
.section-heading { max-width: 720px; margin: 0 auto 55px; text-align: center; }
.section-heading > p:last-child { color: rgba(255,255,255,.7); }
.rsvp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; max-width: 820px; margin: auto; }
.field { display: grid; gap: 9px; }
.field-wide { grid-column: 1 / -1; }
.field > span, .choice-group legend { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 4px;
  padding: 14px 15px;
  color: #fff;
  background: rgba(255,255,255,.075);
  font: inherit;
}
select option { color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid #d9c8aa; outline-offset: 2px; }
.choice-group { margin: 0; padding: 0; border: 0; }
.choice-group label { display: inline-flex; align-items: center; margin: 4px 26px 0 0; gap: 8px; }
.choice-group input { width: auto; accent-color: #d9c8aa; }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.form-actions .button { background: #d9c8aa; color: var(--olive-dark); }
.form-status { margin: 0; color: #e8ddca; font-size: 14px; }
.accommodation { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 80px; background: var(--paper); }
.accommodation-copy { max-width: 700px; }
.accommodation-copy p:last-child { color: var(--muted); font-size: 18px; }
.qr-placeholder { justify-self: center; display: grid; place-items: center; width: 260px; aspect-ratio: 1; border: 1px solid var(--line); background: white; box-shadow: 0 25px 60px rgba(54,64,45,.12); }
.qr-grid { width: 94px; height: 94px; opacity: .18; background: repeating-conic-gradient(var(--olive-dark) 0 25%, transparent 0 50%) 0 0 / 20px 20px; }
.qr-placeholder strong { margin-top: -15px; font: 400 24px Georgia, serif; }
.qr-placeholder span { margin-top: -30px; color: var(--muted); font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 38px clamp(24px, 8vw, 140px); color: rgba(255,255,255,.7); background: #252b21; font-size: 13px; }
footer p { margin: 0; color: white; font: 400 19px Georgia, serif; }

@media (max-width: 760px) {
  .nav { padding: 22px; }
  .nav-links { display: none; }
  .hero-content { padding-top: 100px; }
  .hero h1 { font-size: clamp(55px, 19vw, 82px); }
  .photo-note { left: 22px; right: auto; }
  .schedule { grid-template-columns: 1fr; }
  .schedule-card + .schedule-card { border-left: 0; border-top: 1px solid var(--line); }
  .schedule-card.featured { transform: none; }
  .venue { grid-template-columns: 1fr; }
  .venue-copy { padding: 80px 24px; }
  .venue-art { min-height: 420px; }
  .rsvp-form { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .choice-group label { display: flex; margin-right: 0; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .accommodation { grid-template-columns: 1fr; gap: 50px; }
  footer { flex-direction: column; }
}
