:root {
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --ink: #292725;
  --muted: #77716a;
  --sage: #6f7d68;
  --sage-dark: #4d5b48;
  --line: #ded8ce;
  --accent: #a66b58;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}


/* ------------------------------
   RESET
------------------------------ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}


/* ------------------------------
   HERO
------------------------------ */

.hero {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(79, 96, 72, 0.95),
      rgba(113, 126, 96, 0.82)
    );
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero::before {
  width: 650px;
  height: 650px;
  left: -250px;
  top: -250px;
}

.hero::after {
  width: 800px;
  height: 800px;
  right: -400px;
  bottom: -450px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      transparent 0%,
      rgba(0, 0, 0, 0.08) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}

.hero h1 {
  margin: 18px 0 8px;

  font-family: var(--serif);
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.hero-date {
  margin: 28px 0 0;

  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

.eyebrow {
  margin: 0;

  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero .eyebrow {
  opacity: 0.8;
}

.intro {
  max-width: 400px;
  margin: 30px auto 0;

  font-size: 0.95rem;
  opacity: 0.85;
}

.flourish {
  margin: 25px 0;

  font-family: var(--serif);
  font-size: 1.4rem;
}


/* ------------------------------
   MAIN
------------------------------ */

main {
  max-width: 950px;
  margin: 0 auto;
}

.section {
  padding: 100px 32px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 55px;
}

.section-number {
  padding-top: 5px;

  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent);
}

.section-heading h2 {
  margin: 4px 0 0;

  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 0.9;
}


/* ------------------------------
   TRAVEL TIMELINE
------------------------------ */

.timeline {
  position: relative;
  padding-left: 45px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 70px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -45px;
  top: 0;

  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--sage);
  border-radius: 50%;

  background: var(--cream);
  color: var(--sage-dark);

  font-family: var(--serif);
  font-size: 1.1rem;
}

.date {
  margin: 0 0 15px;

  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.travel-card {
  padding: 28px;

  background: var(--paper);
  border: 1px solid var(--line);
}

.flight-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 25px;
}

.airline {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.flight-type {
  color: var(--muted);
  font-size: 0.75rem;
}

.flight-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.flight-route strong {
  display: block;

  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.flight-route span {
  display: block;

  margin-top: 6px;

  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.align-right {
  text-align: right;
}

.flight-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sage);
}

.flight-line::before,
.flight-line::after {
  content: "";
  display: block;
  width: 35px;
  height: 1px;
  background: var(--line);
}

.travel-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  margin-top: 18px;
  padding: 18px;

  background: rgba(111, 125, 104, 0.08);
}

.note-icon {
  font-size: 1.2rem;
}

.travel-note strong {
  font-size: 0.85rem;
}

.travel-note p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}


/* ------------------------------
   WEDDING
------------------------------ */

.wedding-section {
  padding-bottom: 110px;
}

.wedding-intro {
  margin: -15px 0 55px 65px;
}

.big-date {
  margin: 0;

  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

.location {
  margin: 5px 0 0;

  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 35px;

  padding: 45px;

  background: var(--paper);
  border: 1px solid var(--line);
}

.event-time {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--sage-dark);
}

.event-time small {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.event-type {
  margin: 0 0 5px;

  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.event-details h3 {
  margin: 0;

  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.address {
  margin: 20px 0;

  color: var(--muted);
  font-size: 0.85rem;
}

.attire {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;

  padding-top: 12px;

  border-top: 1px solid var(--line);

  font-family: var(--serif);
  font-size: 1.2rem;
}

.attire span {
  color: var(--muted);

  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.event-connector {
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.important-note {
  display: flex;
  gap: 18px;

  margin-top: 28px;
  padding: 22px;

  border: 1px dashed #c9bcae;
  background: #f4eee5;
}

.important-icon {
  flex: 0 0 auto;

  width: 27px;
  height: 27px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--accent);
  color: white;

  font-weight: 600;
  font-size: 0.75rem;
}

.important-note strong {
  font-size: 0.85rem;
}

.important-note p {
  margin: 3px 0 0;

  color: var(--muted);
  font-size: 0.82rem;
}


/* ------------------------------
   OTHER PLANS
------------------------------ */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan {
  min-height: 180px;
  padding: 28px;

  background: var(--paper);
  border: 1px solid var(--line);
}

.plan-number {
  display: block;
  margin-bottom: 35px;

  color: var(--accent);

  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.plan h3 {
  margin: 0;

  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.plan p {
  margin: 3px 0 0;

  color: var(--muted);
  font-size: 0.8rem;
}


/* ------------------------------
   QUICK REFERENCE
------------------------------ */

.quick-reference {
  padding: 65px 32px;

  background: var(--sage-dark);
  color: var(--white);

  text-align: center;
}

.quick-reference .eyebrow {
  opacity: 0.65;
}

.quick-grid {
  max-width: 700px;
  margin: 35px auto 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-grid div {
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

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

.quick-grid span {
  display: block;

  margin-bottom: 7px;

  font-size: 0.65rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
}

.quick-grid strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}


/* ------------------------------
   FOOTER
------------------------------ */

footer {
  padding: 70px 24px;

  text-align: center;

  background: var(--cream);
}

footer .flourish {
  margin: 0 0 15px;
  color: var(--accent);
}

footer p {
  margin: 0;

  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

footer span {
  display: block;

  margin-top: 5px;

  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* ------------------------------
   MOBILE
------------------------------ */

@media (max-width: 650px) {

  .hero {
    min-height: 580px;
  }

  .section {
    padding: 70px 20px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 3.3rem;
  }

  .timeline {
    padding-left: 35px;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-marker {
    left: -35px;
    width: 27px;
    height: 27px;
    font-size: 0.9rem;
  }

  .travel-card {
    padding: 20px;
  }

  .flight-main {
    flex-direction: column;
    gap: 2px;
  }

  .flight-route {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flight-line {
    display: none;
  }

  .align-right {
    text-align: left;
  }

  .flight-route strong {
    font-size: 1.7rem;
  }

  .wedding-intro {
    margin-left: 45px;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px;
  }

  .event-time {
    font-size: 2.6rem;
  }

  .event-details h3 {
    font-size: 2.1rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: auto;
  }

  .plan-number {
    margin-bottom: 15px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .quick-grid div {
    padding: 0 0 25px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .quick-grid div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}
