/* Nikita & Jeff — wedding site
   Palette: cream #FBF7EF · forest #22372E · rust #A6552F · gold #D9B77C · sand #E2D6BC */

:root {
  --cream: #FBF7EF;
  --cream-card: #FEFBF5;
  --forest: #22372E;
  --forest-rule: #3A5449;
  --rust: #A6552F;
  --gold: #D9B77C;
  --gold-muted: #B9A87F;
  --sand: #E2D6BC;
  --sand-line: #CBBB9C;
  --ink: #2A2B26;
  --ink-soft: #5E5B4E;
  --ink-light: #8A7C63;
  --on-dark: #C9BFA9;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Karla, system-ui, sans-serif;
}

html, body { margin: 0; background: var(--cream); overflow-x: hidden; }
* { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: #7A4A2B; text-decoration: none; }
a:hover { color: var(--forest); }
::selection { background: #E3D6B9; }

.page {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Centre column ---------------------------------------------------------- */

.col {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Full-bleed sections escape the column and span the viewport */
.band {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(44px, 10vw, 64px) clamp(18px, 5vw, 22px);
}
.band--dark { background: var(--forest); color: #EFE6D6; }
.band--cream { background: var(--cream); }

/* Palm rails ------------------------------------------------------------- */

.rail {
  position: absolute;
  top: 120px;
  width: clamp(72px, 22vw, 330px);
  aspect-ratio: 33 / 86;
  pointer-events: none;
  z-index: 0;
}
.rail--left { left: calc((100% - 100vw) / 2 + 4px); }
.rail--right { right: calc((100% - 100vw) / 2 + 4px); }
.rail img { width: 100%; height: 100%; object-fit: contain; }

/* Masthead --------------------------------------------------------------- */

.masthead {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: clamp(38px, 9vw, 56px) 0 0;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.eyebrow--dark { color: var(--gold-muted); }

.names {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 7.6vw, 72px);
  line-height: 1;
  white-space: nowrap;
  color: var(--forest);
}
.amp { font-style: italic; color: var(--rust); padding: 0 .04em; }

.rule { display: flex; align-items: center; gap: 14px; }
.rule-line { display: block; width: 54px; height: 1px; background: var(--sand-line); }
.diamond { display: block; width: 7px; height: 7px; background: var(--rust); transform: rotate(45deg); }

.date {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--forest);
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 1;
  width: min(100%, calc(100vw - 200px));
  max-width: 576px;
  margin: clamp(28px, 7vw, 44px) auto 0;
  height: clamp(220px, 52vw, 400px);
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 100%, 0 30%, 10% 14%, 28% 3%, 50% 0, 72% 3%, 90% 14%, 100% 30%, 100% 100%);
}

/* Shared type ------------------------------------------------------------ */

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 9vw, 52px);
  line-height: 1.02;
  color: var(--forest);
}
.display--dark { color: var(--cream); }

.note {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.note--dark { color: var(--on-dark); }
.note--tight { margin-top: 10px; font-size: 14px; }
.note--wide { max-width: 38ch; margin: 16px auto 0; }
.note--wider { max-width: 40ch; margin-left: auto; margin-right: auto; }

.subhead {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.btn {
  width: 100%;
  text-align: center;
  background: var(--forest);
  color: var(--cream);
  padding: 19px 24px;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  border: 1px solid var(--forest);
  transition: background .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--rust); border-color: var(--rust); color: var(--cream); }

.link-gold { color: var(--gold); }
.link-gold:hover { color: #F4EDE1; }

/* Invitation ------------------------------------------------------------- */

.invite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: clamp(44px, 10vw, 64px) 0 0;
}
.invite-title {
  margin-bottom: 6px;
  font-size: clamp(34px, 8.5vw, 48px);
  line-height: 1.06;
}
.invite .note { max-width: 34ch; }

/* Dividers --------------------------------------------------------------- */

.divider-block {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: clamp(26px, 7vw, 40px) 0 clamp(28px, 8vw, 44px);
}
.divider-block--flush { margin: 34px 0 0; }
.divider-block--travel { margin: 10px 0 0; }
.divider-block--faq { margin: 38px 0 0; }
.divider { width: clamp(84px, 24vw, 168px); height: auto; }

/* Location --------------------------------------------------------------- */

.location { align-items: center; gap: 10px; }
.location .display { font-size: clamp(36px, 9vw, 52px); line-height: 1.04; }

.venue {
  position: relative;
  width: min(100vw - 36px, 864px);
  margin: 30px auto 0;
  margin-left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 16 / 7;
}
.venue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Schedule --------------------------------------------------------------- */

.schedule { gap: 22px; }

.agenda {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin: 8px auto 0;
  width: 100%;
  max-width: 576px;
}
.agenda-row {
  display: grid;
  grid-template-columns: clamp(62px, 18vw, 92px) 1fr;
  gap: clamp(12px, 4vw, 16px);
  padding: 22px 0;
  border-top: 1px solid var(--sand);
}
.agenda-row--last { border-bottom: 1px solid var(--sand); }
.agenda-time { margin: 0; font-family: var(--serif); font-size: 25px; color: var(--rust); }
.agenda-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--forest);
}
.agenda-note { margin: 5px 0 0; font-size: 15px; color: var(--ink-soft); }

.attire { margin-top: 26px; }
.attire .eyebrow { margin-bottom: 8px; letter-spacing: .3em; }
.attire .display { font-size: clamp(36px, 9vw, 52px); }
.attire .note { margin-top: 6px; }

/* Travel ----------------------------------------------------------------- */

.travel { margin-top: clamp(36px, 9vw, 56px); padding: clamp(44px, 10vw, 66px) clamp(18px, 5vw, 22px); }
.travel-inner {
  max-width: 576px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 34px;
  text-align: center;
}
.travel .subhead { margin-bottom: 14px; }
.travel .subhead + .note { margin-top: 0; }

.hotels { display: flex; flex-direction: column; }
.hotel {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--forest-rule);
  font-family: var(--serif);
  font-size: 25px;
  color: var(--cream);
}
.hotel--last { border-bottom: 1px solid var(--forest-rule); }

/* Closing ---------------------------------------------------------------- */

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 48px 0 90px;
  text-align: center;
}
.closing-title {
  max-width: 14ch;
  font-size: clamp(32px, 8vw, 48px);
  line-height: 1.06;
}

/* Questions -------------------------------------------------------------- */

.faq { gap: 12px; }
.faq-title { margin-bottom: 16px; }
.faq-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 576px;
  margin: 0 auto;
}
.faq-item { padding: 24px 0; border-top: 1px solid var(--forest-rule); }
.faq-item--last { border-bottom: 1px solid var(--forest-rule); }
.faq-q {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
}

/* Cards ------------------------------------------------------------------ */

.cards { display: flex; flex-direction: column; gap: 24px; padding: 20px 0 90px; }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sand);
  background: var(--cream-card);
  transition: background .2s ease;
}
.card:hover { background: #F5EDDD; }
.card-body { padding: 24px 26px 28px; }
.card-body .eyebrow { margin-bottom: 8px; letter-spacing: .3em; }
.card-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--forest);
}

/* Footer ----------------------------------------------------------------- */

footer {
  border-top: 1px solid var(--sand);
  padding: 28px 22px;
  display: flex;
  justify-content: center;
  text-align: center;
}
footer p {
  margin: 0;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* Image slots -----------------------------------------------------------
   Placeholders for artwork that hasn't been chosen yet. To fill one, drop the
   file in assets/ and replace the <div class="slot …"> with
   <img class="slot-img …" src="assets/your-file.jpg" alt="">                */

.slot,
.slot-img {
  width: 100%;
  max-width: 576px;
}
.slot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--sand-line);
  background: rgba(203, 187, 156, .08);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-align: center;
  padding: 0 16px;
}
.slot--dark {
  border-color: var(--forest-rule);
  background: rgba(185, 168, 127, .07);
  color: var(--gold-muted);
}
.slot-img { object-fit: cover; }

.slot--schedule { height: clamp(150px, 40vw, 190px); margin: 26px auto 8px; }
.slot--travel { height: clamp(100px, 26vw, 130px); max-width: none; }
.slot--band { height: clamp(104px, 26vw, 150px); margin: clamp(34px, 9vw, 52px) auto 0; max-width: none; }
.slot--card { height: clamp(150px, 40vw, 190px); max-width: none; border: 0; border-bottom: 1px dashed var(--sand-line); }
.slot--motif {
  width: min(100%, 170px);
  aspect-ratio: 1;
  margin: 0 auto 56px;
}
.slot--card.slot-img, .slot--travel.slot-img, .slot--band.slot-img { max-width: none; }
.slot--motif.slot-img { object-fit: contain; height: auto; }
