:root {
  --wine: #4a202e;
  --wine-dark: #351722;
  --wine-light: #6a3545;
  --cream: #f5f0e8;
  --paper: #fffdf9;
  --ink: #2e2927;
  --muted: #746b66;
  --line: #ded5ca;
  --gold: #c39b62;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: white; background: var(--wine-light); }
.page-width { width: min(var(--page), calc(100% - 56px)); margin-inline: auto; }
.section { padding-block: 92px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-inline: max(28px, calc((100vw - var(--page)) / 2));
  color: var(--paper);
  background: var(--wine-dark);
}
.brand { font-family: var(--serif); font-size: 20px; }
.brand span { color: var(--gold); padding-inline: 4px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: #eee3dc; }
.main-nav a { transition: color .15s ease; }
.main-nav a:hover { color: var(--gold); }
.menu-toggle { display: none; }

.hero { color: var(--paper); background: var(--wine); }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 410px);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  min-height: 610px;
  padding-block: 68px;
}
.date-line, .section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.hero h1 em, .toast h2 em { color: #e2c69e; font-family: var(--serif); font-weight: 400; }
.hero-lead { max-width: 570px; margin: 26px 0 30px; color: #f0e4dc; font-size: 17px; line-height: 1.8; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition: background .15s ease, color .15s ease;
}
.button-light { color: var(--wine-dark); background: var(--cream); }
.button-light:hover { background: white; }
.button-dark { color: white; background: var(--wine); }
.button-dark:hover { background: var(--wine-light); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero-photo { width: 100%; margin: 0; }
.hero-photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: 50% 34%;
  border: 7px solid rgba(255,255,255,.13);
}
.hero-photo figcaption { margin-top: 12px; color: #e8d8ce; font-family: var(--serif); font-size: 17px; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.story h2, .drinks h2, .kaliakra h2, .memory h2 {
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.12;
}
.story-copy { color: var(--muted); }
.story-copy p:first-child { margin-top: 0; color: var(--ink); font-size: 19px; }
.story-copy p:last-child { margin-bottom: 0; }
.small-joke {
  margin-top: 48px;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  color: var(--wine-dark);
  background: #eee5da;
}
.small-joke strong { margin-right: 5px; }

.drinks { color: var(--paper); background: #3a2428; }
.drinks .section-label { color: #d7b987; }
.drinks-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.drinks h2 { color: var(--paper); }
.drinks-heading > p { max-width: 390px; margin: 0 0 6px; color: #d7c9c1; }
.drink-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 42px; }
.drink-item { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.25); }
.drink-number { color: var(--gold); font-family: var(--serif); font-size: 25px; }
.drink-item h3 { margin: 0 0 7px; color: white; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.drink-item p { margin: 0; color: #d7c9c1; }

.kaliakra-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 30px; }
.kaliakra-heading h2 { max-width: 600px; }
.kaliakra-heading > p { max-width: 390px; margin: 0 0 7px; color: var(--muted); }
.kaliakra-photo { margin: 0; padding: 10px; border: 1px solid var(--line); background: var(--paper); }
.kaliakra-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #e7e1d8;
}
.kaliakra-photo figcaption { padding: 14px 8px 5px; color: var(--muted); font-size: 14px; text-align: center; }

.memory { display: grid; grid-template-columns: minmax(260px, 440px) 1fr; align-items: center; gap: clamp(42px, 8vw, 100px); }
.memory-photo { max-width: 440px; }
.memory-photo img { width: 100%; height: auto; max-height: 610px; object-fit: cover; object-position: center; }
.memory-copy h2 { margin-bottom: 22px; }
.memory-copy > p:not(.section-label) { max-width: 490px; color: var(--muted); }

.toast { color: var(--paper); background: var(--wine); text-align: center; }
.toast-inner { display: flex; flex-direction: column; align-items: center; }
.toast .section-label { color: #e0c69f; }
.toast h2 { margin: 0; color: white; font-size: clamp(58px, 8vw, 86px); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.toast-inner > p:not(.section-label) { max-width: 560px; margin: 22px 0 28px; color: #f0e4dc; font-size: 17px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 25px; color: var(--muted); font-size: 13px; }
.site-footer span:first-child { color: var(--wine-dark); font-family: var(--serif); font-size: 17px; }
.site-footer span:last-child { text-align: right; }

.toast-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility .18s ease; }
.toast-modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(26,17,18,.72); }
.modal-card { position: relative; width: min(100%, 560px); padding: 42px; border-top: 5px solid var(--gold); background: var(--paper); box-shadow: 0 18px 70px rgba(0,0,0,.28); }
.modal-card .section-label { margin-bottom: 12px; }
.modal-card h2 { margin: 0 34px 18px 0; color: var(--wine-dark); font-family: var(--serif); font-size: clamp(34px, 6vw, 46px); font-weight: 400; line-height: 1.12; }
.modal-card #modal-message { color: var(--muted); }
.modal-signoff { margin: 22px 0; color: var(--wine); font-family: var(--serif); font-size: 20px; font-style: italic; }
.modal-close { position: absolute; top: 12px; right: 16px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 30px; }

@media (max-width: 760px) {
  .page-width { width: min(var(--page), calc(100% - 38px)); }
  .site-header { min-height: 66px; padding-inline: 19px; }
  .brand { font-size: 18px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 3px; background: transparent; }
  .menu-toggle span { width: 100%; height: 2px; background: white; }
  .main-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 19px 16px; background: var(--wine-dark); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; min-height: auto; padding-block: 58px; }
  .hero h1 { font-size: clamp(48px, 12vw, 72px); }
  .hero-lead { font-size: 16px; }
  .hero-photo { width: min(100%, 430px); }
  .hero-photo img { height: auto; max-height: 620px; object-fit: contain; }
  .section { padding-block: 68px; }
  .story-grid { grid-template-columns: 1fr; gap: 23px; }
  .story h2, .drinks h2, .kaliakra h2, .memory h2 { font-size: clamp(36px, 9vw, 48px); }
  .small-joke { margin-top: 30px; padding: 17px 18px; }
  .drinks-heading, .kaliakra-heading { display: block; }
  .drinks-heading > p, .kaliakra-heading > p { margin-top: 17px; }
  .drink-list { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
  .kaliakra-photo { padding: 6px; }
  .kaliakra-photo figcaption { padding: 12px 6px 5px; font-size: 13px; }
  .memory { grid-template-columns: 1fr; gap: 30px; }
  .memory-photo { width: min(100%, 420px); margin-inline: auto; }
  .memory-photo img { max-height: none; }
  .toast-inner > p:not(.section-label) { font-size: 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .site-footer span:last-child { text-align: left; }
  .modal-card { padding: 34px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
