@font-face {
  font-family: 'Cheque';
  src: url('fonts/Cheque-Regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Cheque';
  src: url('fonts/Cheque-Black.otf') format('opentype');
  font-weight: 900;
}

/* =============================================
   Base
   ============================================= */
:root {
  --gray-bg: #e5e3de;
  --green:   #293727;
  --text:    #1a1a1a;
}

* { box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--gray-bg);
  margin: 0;
}

a { color: inherit; }
a:hover { opacity: 0.75; }

.gray-bg  { background: var(--gray-bg); }
.green-bg { background: var(--green); }

.display-heading {
  font-family: 'Cheque', 'Abril Fatface', serif;
  line-height: 1;
}

.script-heading {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 80px 20px 50px;
  text-align: center;
  background: var(--gray-bg);
  overflow-x: hidden;
}

.hero h1 {
  font-size: min(7vw, 8rem);
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.1;
  white-space: nowrap;
}

.display-word {
  font-family: 'Cheque', 'Abril Fatface', serif;
  color: var(--green);
}

.script-word {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  color: var(--green);
  font-size: 0.75em;
  vertical-align: middle;
}

.botanicals-row-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 20px;
  overflow: visible;
}

/* Wrapper for images that need 90° rotation without disrupting flex layout */
.bot-rotated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

/* =============================================
   COUPLE PHOTO
   ============================================= */
.couple-photo {
  width: 100%;
  line-height: 0;
}

.couple-photo img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* =============================================
   DATE / HIGHLIGHTS
   ============================================= */
.highlights {
  padding: 70px 20px;
  text-align: center;
}


.date-heading {
  font-family: 'Cheque';
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--green);
  margin-bottom: 50px;
  letter-spacing: 0.03em;
}

.highlight-img {
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.highlight-label {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 6px;
}

.highlight-rule {
  width: 100%;
  height: 1px;
  background: var(--green);
  margin: 8px 0 12px;
}

.highlight-text {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   PROGRAMME
   ============================================= */
.programme {
  padding: 0;
  overflow: hidden;
}

.programme-photo-col {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.programme-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%);
}

.programme-content {
  padding: 50px 50px 50px 30px;
  position: relative;
}


.programme-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.programme-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0;
  flex-shrink: 0;
}

.prog-deco-svg {
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

.timeline { color: #fff; }

.tl-row {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  align-items: baseline;
}

.tl-time {
  font-size: 0.8rem;
  font-weight: 300;
  width: 65px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

.tl-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tl-detail strong {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.tl-detail span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

/* =============================================
   GETTING THERE & ACCOMMODATION
   ============================================= */
.travel {
  padding: 0;
  overflow: hidden;
}

.travel-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "heading img"
    "content img";
  padding: 70px 60px;
  gap: 0 40px;
}

.travel-heading {
  grid-area: heading;
  align-self: start;
}

.travel-botanicals {
  grid-area: img;
  display: flex;
  align-items: center;
  justify-content: center;
}

.travel-content {
  grid-area: content;
  align-self: start;
}

.travel-heading {
  margin-bottom: 35px;
  line-height: 1.1;
  /* grid-area set above */
}

.travel-heading .script-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green);
}

.travel-heading .display-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--green);
}

.travel-label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.travel-block p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 480px;
}

.travel-rule {
  width: 100%;
  height: 1px;
  background: #aaa;
  margin: 20px 0;
  max-width: 480px;
}


/* =============================================
   FAQ
   ============================================= */
.faq {
  padding: 70px 60px;
  overflow: hidden;
}

.faq-heading {
  line-height: 1.2;
  margin-bottom: 30px;
}

.faq-heading .script-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #b3cfaa;
}

.faq-heading .display-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}


.faq-right {
  padding-top: 10px;
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.faq-q {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 6px;
}

.faq-a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
}

.faq-a a { color: rgba(255,255,255,0.9); text-decoration: underline; }

/* =============================================
   CONTACT / RSVP
   ============================================= */
.contact {
  padding: 0;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "heading img"
    "content img";
  padding: 70px 60px;
  gap: 0 40px;
}

.contact-heading {
  grid-area: heading;
  line-height: 1.1;
  margin-bottom: 20px;
  align-self: start;
}

.contact-heading .display-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--green);
}

.contact-heading .script-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--green);
}

.contact-botanicals {
  grid-area: img;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-botanicals-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
}

.contact-content {
  grid-area: content;
  align-self: start;
}

.rsvp-link {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-decoration: underline;
  margin-bottom: 6px;
}

.contact-rule {
  max-width: 100%;
  height: 1px;
  background: var(--text);
  margin: 8px 0;
}

.contact-label {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.contact-details {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.contact-details p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 2px;
}

@media (max-width: 600px) {
  .travel-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "img"
      "content";
    padding: 50px 24px;
    gap: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "img"
      "content";
    padding: 50px 24px;
    gap: 0;
  }

  .contact-botanicals-svg { max-width: 220px; margin: 20px auto; }
  .contact-details { flex-direction: column; }
}

/* =============================================
   Responsive
   ============================================= */
.section-botanicals-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
}

@media (max-width: 768px) {
  .faq { padding: 50px 24px; }

  .section-botanicals-svg { max-height: 220px; }

  .programme-photo-col { min-height: auto; padding: 30px 30px 0; }
  .programme-content   { padding: 30px 24px; }
  .programme-header    { justify-content: center; }

  .highlight-label { font-size: 1rem; }
  .highlight-text  { font-size: 1rem; }

  .tl-time   { font-size: 0.95rem; }
  .tl-detail strong { font-size: 0.95rem; }
  .tl-detail span   { font-size: 0.9rem; }

  .travel-label, .contact-label { font-size: 0.95rem; }
  .travel-block p, .contact-details p { font-size: 1rem; }

  .faq-q { font-size: 0.95rem; }
  .faq-a  { font-size: 0.95rem; }

}

