
:root {
  --wood: #3a2418;
  --wood-dark: #26150e;
  --cream: #f5eee3;
  --paper: #f8f2e9;
  --ink: #2e2118;
  --muted: #796958;
  --olive: #687052;
  --gold: #9a7a50;
  --line: #b99c79;
  --white: #fff;
  --script: "Alex Brush", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --body: "Libre Baskerville", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  z-index: 9999;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(74,48,26,.09) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 60%, rgba(74,48,26,.06) 0 1px, transparent 1.5px);
  background-size: 11px 13px, 17px 19px;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 78px;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 4.2vw, 70px);
  background:
    linear-gradient(rgba(38,21,14,.12),rgba(38,21,14,.12)),
    repeating-linear-gradient(
      0deg,
      #3b2417 0 7px,
      #43291b 7px 10px,
      #342015 10px 14px
    );
  border-bottom: 1px solid rgba(0,0,0,.6);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.logo {
  color: #fff;
  font: 400 38px/1 var(--script);
  white-space: nowrap;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: clamp(24px, 3vw, 52px);
  align-items: center;
}

.nav a {
  color: rgba(255,255,255,.92);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav a:hover { color: #e9d5bb; }

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 550px;
  padding-top: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(54,35,20,.03), rgba(54,35,20,.1)),
    radial-gradient(circle at 50% 44%, rgba(255,252,241,.96) 0 35%, rgba(233,216,190,.78) 68%, rgba(103,82,55,.46) 100%),
    url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=2200&q=85") center 48% / cover;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 70px;
  width: 24%;
  height: 90%;
  z-index: 1;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(66,87,51,.95) 0 6%, transparent 7%),
    radial-gradient(ellipse at 62% 16%, rgba(69,94,54,.95) 0 5%, transparent 6%),
    radial-gradient(ellipse at 70% 46%, rgba(76,99,58,.9) 0 7%, transparent 8%),
    radial-gradient(ellipse at 45% 68%, rgba(76,99,58,.88) 0 6%, transparent 7%);
  filter: blur(.2px);
  opacity: .8;
}

.hero::before { left: -6%; transform: rotate(-8deg); }
.hero::after { right: -6%; transform: scaleX(-1) rotate(-8deg); }

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(53,33,20,.08), rgba(35,21,12,.08)),
    radial-gradient(circle, transparent 45%, rgba(63,44,29,.35) 125%);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(850px, calc(100% - 40px));
  text-align: center;
  padding: 75px 20px 45px;
}

.tiny-heading,
.eyebrow {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 4px 0 -5px;
  color: #382318;
  font: 400 clamp(72px, 8vw, 124px)/1 var(--script);
  letter-spacing: .01em;
}

.hero h1 span { font-size: .78em; }

.divider,
.small-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.divider { margin: 5px auto 20px; width: 280px; }

.divider span,
.small-divider span {
  height: 1px;
  background: var(--gold);
}

.divider span { width: 108px; }

.divider b,
.small-divider b {
  color: #876941;
  font-size: 14px;
  font-weight: 400;
}

.wedding-date {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .21em;
}

.countdown {
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 600px;
}

.countdown-item {
  position: relative;
  min-height: 72px;
}

.countdown-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  height: 56px;
  width: 1px;
  background: rgba(129,94,61,.55);
}

.countdown strong {
  display: block;
  font: 500 52px/1 var(--serif);
}

.countdown small {
  display: block;
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .08em;
}

.lantern {
  position: absolute;
  top: 130px;
  z-index: 3;
  width: 54px;
}

.lantern-left { left: 17%; }
.lantern-right { right: 17%; top: 205px; }

.lantern-top {
  width: 24px;
  height: 18px;
  margin: auto;
  border-radius: 7px 7px 1px 1px;
  background: #2b2822;
}

.lantern-body {
  height: 90px;
  border: 7px solid #272620;
  border-radius: 7px;
  background: rgba(244,212,138,.15);
  box-shadow: 0 8px 12px rgba(0,0,0,.2);
  display: grid;
  place-items: center;
}

.flame {
  width: 12px;
  height: 28px;
  border-radius: 50% 50% 35% 35%;
  background: #ffc966;
  box-shadow: 0 0 20px 9px rgba(255,186,70,.5);
}

.parchment {
  background:
    radial-gradient(circle at 25% 30%, rgba(113,80,45,.04) 0 1px, transparent 1.5px),
    radial-gradient(circle at 60% 40%, rgba(113,80,45,.035) 0 1px, transparent 1.5px),
    #f6efe6;
  background-size: 12px 14px, 18px 19px, auto;
}

.story-section {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 65px;
  padding: 42px clamp(28px, 9vw, 170px) 52px;
  align-items: center;
}

.story-copy {
  text-align: center;
}

.story-copy h2,
.section-title {
  margin: 0;
  color: #392419;
  font: 400 clamp(52px, 5vw, 82px)/1 var(--script);
}

.small-divider { margin: 14px auto 26px; }
.small-divider span { width: 82px; }
.small-divider.centered { width: 230px; }

.story-copy p {
  max-width: 430px;
  margin: 20px auto;
  font-size: 18px;
  line-height: 1.65;
}

.signature {
  margin-top: 20px;
  font: 400 42px/1.1 var(--script);
}

.little-heart { margin-top: 6px; color: #715433; }

.story-photo-wrap {
  border: 1px solid #a48767;
  padding: 5px;
  background: #eadfce;
}

.story-photo {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(52,31,17,.08), rgba(52,31,17,.18)),
    url("https://images.unsplash.com/photo-1510076857177-7470076d4098?auto=format&fit=crop&w=1600&q=90") center/cover;
}

.wood-sign {
  position: relative;
  z-index: 2;
  width: min(70%, 550px);
  min-height: 175px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(54,28,13,.7);
  box-shadow:
    inset 0 0 0 4px rgba(255,255,255,.05),
    0 14px 28px rgba(0,0,0,.3);
  background:
    repeating-linear-gradient(
      0deg,
      #5a321d 0 7px,
      #643922 7px 12px,
      #4b2a19 12px 16px
    );
  transform: rotate(-.4deg);
}

.wood-sign span {
  color: rgba(255,255,255,.94);
  font: 400 clamp(62px, 7vw, 98px)/1 var(--script);
  text-shadow: 0 2px 3px rgba(0,0,0,.25);
}

.greenery {
  position: absolute;
  z-index: 3;
  left: 13%;
  right: 13%;
  height: 90px;
  pointer-events: none;
}

.top-greenery {
  top: 10%;
  background:
    radial-gradient(ellipse at 10% 60%, #6d8462 0 9%, transparent 10%),
    radial-gradient(ellipse at 20% 30%, #80936d 0 8%, transparent 9%),
    radial-gradient(ellipse at 32% 62%, #728962 0 8%, transparent 9%),
    radial-gradient(ellipse at 45% 25%, #879879 0 8%, transparent 9%),
    radial-gradient(ellipse at 59% 55%, #758b68 0 8%, transparent 9%),
    radial-gradient(ellipse at 72% 27%, #859577 0 9%, transparent 10%),
    radial-gradient(ellipse at 86% 57%, #687f5d 0 9%, transparent 10%);
}

.bottom-greenery {
  bottom: 6%;
  transform: rotate(180deg);
  background:
    radial-gradient(ellipse at 10% 60%, #6d8462 0 9%, transparent 10%),
    radial-gradient(ellipse at 20% 30%, #80936d 0 8%, transparent 9%),
    radial-gradient(ellipse at 32% 62%, #728962 0 8%, transparent 9%),
    radial-gradient(ellipse at 45% 25%, #879879 0 8%, transparent 9%),
    radial-gradient(ellipse at 59% 55%, #758b68 0 8%, transparent 9%),
    radial-gradient(ellipse at 72% 27%, #859577 0 9%, transparent 10%),
    radial-gradient(ellipse at 86% 57%, #687f5d 0 9%, transparent 10%);
}

.candle {
  position: absolute;
  bottom: 18px;
  z-index: 4;
  width: 40px;
  height: 45px;
  border-radius: 4px;
  background: rgba(239,211,160,.75);
  box-shadow: 0 0 18px rgba(255,193,93,.7);
}

.candle::before {
  content: "";
  position: absolute;
  left: 16px;
  top: -18px;
  width: 8px;
  height: 18px;
  border-radius: 50% 50% 40% 40%;
  background: #ffc85d;
  box-shadow: 0 0 12px rgba(255,175,50,.8);
}

.candle-one { left: 7%; }
.candle-two { right: 7%; }

.content-section {
  padding: 85px clamp(25px, 8vw, 120px);
  text-align: center;
}

.cards {
  width: min(1120px, 100%);
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 35px 28px;
  border: 1px solid #b9a182;
  background: rgba(255,255,255,.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  border: 1px solid #9f8769;
  border-radius: 50%;
  color: #6c7459;
}

.card h3,
.travel-grid h3 {
  margin: 0 0 12px;
  font: 600 28px var(--serif);
}

.card p { margin: 7px 0; }
.muted { color: var(--muted); font-size: 14px; }

.schedule-section {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  background:
    url("https://images.unsplash.com/photo-1507504031003-b417219a0fde?auto=format&fit=crop&w=2200&q=88") center/cover;
}

.schedule-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(48,35,23,.7);
}

.schedule-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 40px));
  text-align: center;
  color: #fff;
  padding: 70px 0;
}

.light { color: #fff !important; }

.schedule-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,.35);
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.schedule-grid div {
  padding: 28px 14px;
  border-right: 1px solid rgba(255,255,255,.25);
}

.schedule-grid div:last-child { border-right: 0; }

.schedule-grid span,
.schedule-grid strong {
  display: block;
}

.schedule-grid span {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .12em;
}

.schedule-grid strong {
  font: 500 22px var(--serif);
}

.travel-grid {
  width: min(1050px, 100%);
  margin: 45px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.travel-grid p { color: var(--muted); line-height: 1.7; }

.rsvp-section {
  padding: 90px 20px;
  background:
    linear-gradient(rgba(44,29,18,.65), rgba(44,29,18,.65)),
    url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=2200&q=88") center/cover;
}

.rsvp-box {
  width: min(820px, 100%);
  margin: auto;
  padding: 55px;
  background: rgba(248,242,233,.97);
  text-align: center;
}

.rsvp-box form { text-align: left; margin-top: 30px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #b39b7c;
  border-radius: 0;
  background: rgba(255,255,255,.65);
  padding: 13px;
  font: 15px var(--serif);
  color: var(--ink);
}

button[type="submit"] {
  padding: 13px 27px;
  border: 1px solid #3d2a1f;
  background: #3d2a1f;
  color: #fff;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-message {
  display: none;
  margin-top: 16px;
  color: var(--olive);
}

.faq-list {
  width: min(800px, 100%);
  margin: 40px auto 0;
  text-align: left;
}

details { border-top: 1px solid #baa181; }
details:last-child { border-bottom: 1px solid #baa181; }

summary {
  cursor: pointer;
  padding: 18px 0;
  font: 600 22px var(--serif);
}

details p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.7;
}

footer {
  padding: 45px 20px;
  text-align: center;
  color: #fff;
  background:
    repeating-linear-gradient(
      0deg,
      #3a2417 0 7px,
      #43291b 7px 10px,
      #322016 10px 14px
    );
}

.footer-names {
  font: 400 44px var(--script);
}

footer p { margin: 4px 0 0; font-family: var(--serif); letter-spacing: .12em; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 25px 22px;
    background: #3a2417;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; text-align: center; }

  .story-section { grid-template-columns: 1fr; }
  .story-photo { min-height: 360px; }

  .cards,
  .travel-grid { grid-template-columns: 1fr; }

  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .schedule-grid div { border-bottom: 1px solid rgba(255,255,255,.22); }

  .lantern-left { left: 7%; }
  .lantern-right { right: 7%; }
}

@media (max-width: 650px) {
  .site-header { height: 70px; padding: 0 18px; }
  .logo { font-size: 32px; }
  .nav { top: 70px; }

  .hero { padding-top: 70px; min-height: 610px; }
  .hero-content { padding-top: 80px; }

  .tiny-heading { font-size: 13px; letter-spacing: .18em; }
  .hero h1 { font-size: 70px; line-height: .84; }
  .hero h1 span { display: block; line-height: .6; margin: 12px 0 5px; }

  .wedding-date { font-size: 14px; letter-spacing: .13em; }

  .countdown { margin-top: 30px; }
  .countdown strong { font-size: 37px; }
  .countdown small { font-size: 10px; }
  .countdown-item:not(:last-child)::after { height: 45px; }

  .lantern { display: none; }

  .story-section { padding: 55px 20px; gap: 35px; }
  .story-copy p { font-size: 16px; }
  .story-photo { min-height: 285px; }
  .wood-sign { width: 76%; min-height: 135px; }
  .wood-sign span { font-size: 58px; }

  .content-section { padding: 70px 20px; }

  .schedule-grid { grid-template-columns: 1fr; }
  .schedule-grid div { border-right: 0; }

  .two-col { grid-template-columns: 1fr; gap: 0; }
  .rsvp-box { padding: 40px 22px; }
}
