/* =========================================================================
   KOO  ·  HANCOCK   —   Telluride, June 2027
   Elevated editorial wildflower design system.
   Palette: #D4587A #6E8A3C · #4E78BC #D55749 · #E39C84 #BCD3E5
   ========================================================================= */

/* ---------- Custom web fonts ---------- */
@font-face {
  font-family: "The Youth";
  src: url("../fonts/TheYouth.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Belgion";
  src: url("../fonts/Belgion.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alligony";
  src: url("../fonts/Alligony-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alligony";
  src: url("../fonts/Alligony-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;   /* used only where italic is explicitly requested */
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette  (kept variable names stable; values per new scheme)
     Primary:   #D4587A rose · #6E8A3C green
     Secondary: #4E78BC blue · #D55749 red
     Tertiary:  #E39C84 coral · #BCD3E5 sky
     Rose & green lead; the rest are occasional accents. */
  --pink:  #D4587A;   /* rose (primary accent) */
  --green: #6E8A3C;   /* green (primary, ties to crest) */
  --blue:  #4E78BC;
  --red:   #D55749;
  --coral: #E39C84;
  --sky:   #BCD3E5;
  --cream: #FBF6EE;   /* warm paper */

  /* Deeper shades for hover / emphasis / text-on-light */
  --pink-deep:  #B23E5E;
  --green-deep: #556B2C;
  --blue-deep:  #3A5C95;

  /* Heading ink — very dark forest green, a deep draw from the primary green */
  --head:       #2C3A16;

  /* Neutrals (warm olive-charcoal to harmonize with the painting) */
  --ink:       #2E3320;   /* primary text */
  --ink-soft:  #5F6749;   /* secondary text */
  --line:      rgba(46,51,32,.16);
  --line-soft: rgba(46,51,32,.09);
  --paper:     #FFFFFF;
  --paper-warm:#FCF8F1;
  --veil:      #FBF6EE;   /* readability veil over the painting */

  --shadow-sm: 0 8px 30px rgba(46,51,32,.06);
  --shadow-md: 0 22px 54px rgba(46,51,32,.12);
  --shadow-lg: 0 38px 84px rgba(46,51,32,.16);

  --radius:    8px;
  --radius-lg: 14px;

  --maxw: 1160px;
  --nav-h: 100px;

  --serif:  "Alligony", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:   "Belgion", "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Alligony", "Pinyon Script", "Brush Script MT", cursive;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  font-size: 115%; /* 18.4px base — scales the whole site up 15% proportionally */
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  background: var(--cream);
}
/* The watercolor sits in a viewport-fixed layer (not background-attachment:fixed,
   which iOS ignores and then over-zooms). Being viewport-sized, `cover` always
   fills the height and crops the sides — never zooms. */
html::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: var(--cream) url("../images/painting.jpg") center center / cover no-repeat;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  /* transparent so the static painting (html::before) shows vivid by default;
     the readability veil now lives on the scrolling sections (see .section) */
  background: transparent;
  line-height: 1.7;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: .01em;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--pink-deep); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--green-deep); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; }

/* the painting now lives on <html>; this legacy layer is retired */
.page-wash { display: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--head);
  letter-spacing: -.01em; text-wrap: balance;
}
h1 { font-size: clamp(3rem, 9.2vw, 6rem); font-weight: 400; line-height: 1.0; letter-spacing: -.02em; }
h2 { font-size: clamp(2.1rem, 5.75vw, 3.6rem); font-weight: 400; line-height: 1.06; letter-spacing: -.015em; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.12; letter-spacing: -.008em; }
h4 { font-size: 1.2rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
p  { margin-bottom: 1rem; max-width: 64ch; }
.lead { font-size: clamp(1.1rem, 2.18vw, 1.35rem); color: var(--ink-soft); font-weight: 400; line-height: 1.65; }

.script { font-family: var(--script); font-weight: 400; line-height: 1; }
em.placeholder, .placeholder { font-style: italic; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .38em;
  font-size: .7rem; font-weight: 700; color: var(--green-deep);
  display: inline-block; line-height: 1;
}
.eyebrow.pink { color: var(--pink-deep); }
.eyebrow.blue { color: var(--blue-deep); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }
.narrow { width: min(100% - 3rem, 720px); margin-inline: auto; }
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative;
  /* readability veil that scrolls over the static painting */
  background: color-mix(in srgb, var(--veil) 82%, transparent); }
.section-head { text-align: center; margin-bottom: clamp(3rem,6vw,4.5rem); }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head h2 { margin-bottom: .6rem; }
.section-head p { margin-inline: auto; }
.center { text-align: center; }
.grid { display: grid; gap: 2rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .cols-3,.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons (couture, rectangular, letter-spaced) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 2rem; border-radius: 3px;
  font-family: var(--sans); font-weight: 700; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .2em;
  border: 1px solid var(--pink);
  background: var(--pink); color: var(--cream);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: var(--cream); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--green:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--coral { background: var(--blue); border-color: var(--blue); }
.btn--coral:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn--ghost:hover { background: transparent; color: var(--pink-deep); border-color: var(--pink); }
.btn--lg { padding: 1.15rem 2.5rem; font-size: .78rem; }

/* ---------- Cards / panels ---------- */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2.2rem;
  border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }

/* refined label (replaces colored pills) */
.card__tag {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .66rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 1rem;
}
.card__tag::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .5; }
.tag-rose  { color: var(--pink-deep); }
.tag-green { color: var(--green-deep); }
.tag-blue  { color: var(--blue-deep); }
.tag-coral { color: var(--pink-deep); }

.panel {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}

/* Image + text split panel (e.g. homepage "The setting") */
.venue-strip { display: grid; grid-template-columns: 1.1fr 1fr; }
.venue-strip__photo { border-radius: 0; aspect-ratio: auto; min-height: 340px; }
.venue-strip__body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 620px){
  .venue-strip { grid-template-columns: 1fr; }            /* stack image over text */
  .venue-strip__photo { min-height: 0; aspect-ratio: 4/3; }
  .venue-strip__body { padding: 1.8rem 1.5rem; text-align: center; }
  .venue-strip__body .divider { justify-content: center !important; }
  .venue-strip__body .spaced { justify-content: center; }
}

/* ---------- Photo placeholders (soft tonal, framed) ---------- */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  display: grid; place-items: center; color: var(--ink-soft);
  aspect-ratio: 4/3; min-height: 180px;
}
.photo::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.5), transparent 60%);
  mix-blend-mode: soft-light;
}
.photo span {
  position: relative; z-index: 1;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: var(--ink); opacity: .55; text-align: center; max-width: 80%; line-height: 1.3;
  letter-spacing: .01em;
}
.photo span::before {
  content: ""; display: block; width: 30px; height: 1px; background: currentColor;
  opacity: .5; margin: 0 auto .7rem;
}
/* real photo shows in full — natural proportions, no cropping */
.photo__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.photo--tall { aspect-ratio: 3/4; }
.photo--wide { aspect-ratio: 16/9; }
.photo--square { aspect-ratio: 1; }
/* tonal variants — gentle tints of the palette */
.photo      { background: linear-gradient(160deg, #fff, var(--cream)); }
.photo.alt2 { background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--pink) 16%, var(--cream))); }
.photo.alt3 { background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--blue) 16%, var(--cream))); }
.photo.alt4 { background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--green) 16%, var(--cream))); }

/* elegant arched + organic masks */
.blobmask  { border-radius: 50% 50% 6px 6px / 30% 30% 4px 4px; }  /* cathedral arch */
.blobmask2 { border-radius: 48% 52% 52% 48% / 56% 54% 46% 44%; }

/* =======================================================================
   NAVIGATION
   ======================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  /* always carries a background */
  background: rgba(251,246,238,.5); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.nav.scrolled {
  background: rgba(251,246,238,.5); backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px rgba(46,51,32,.1); height: 76px;
}
.nav__inner { width: min(100% - 3rem, 1320px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: .8rem; line-height: 1; text-align: left; }
.nav__crest { height: 86.94px; width: auto; transition: height .4s var(--ease); }
.nav.scrolled .nav__crest { height: 72.45px; }
.nav__brand .wm { display: flex; flex-direction: column; }
.nav__brand .mono { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: .04em; color: var(--head); }
.nav__brand .sub { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-top: 5px; }
.nav__links { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav__links a {
  color: var(--ink); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  padding: .6rem .65rem; position: relative; transition: color .3s var(--ease);
}
.nav__links a:hover { color: var(--pink-deep); }
.nav__links a.active { color: var(--green-deep); }
.nav__links a.active::after {
  content: ""; position: absolute; left: .65rem; right: .65rem; bottom: 0; height: 1px; background: currentColor;
}
.nav__links .btn { color: var(--cream); padding: .65rem 1.3rem; font-size: .68rem; margin-left: .6rem; }
.nav__links .btn:hover { color: var(--cream); }
.nav__toggle { display: none; background: none; border: none; padding: 0; width: 46px; height: 46px; place-items: center; align-content: center; }
.nav__toggle span { display: block; width: 26px; height: 1.5px; background: var(--ink); margin: 6px auto; transition: .3s var(--ease); }

/* Drawer backdrop — dims & blocks the page while the mobile menu is open */
.nav__scrim {
  position: fixed; inset: 0; z-index: 95; background: rgba(30,38,33,.42); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.nav__scrim.open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* Floating background-music toggle */
.music-toggle {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--green-deep);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.music-toggle:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.music-toggle.playing { background: var(--green); color: var(--cream); border-color: var(--green); }
.music-toggle svg { width: 20px; height: 20px; }
.music-toggle .eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.music-toggle .eq i { width: 2.5px; height: 40%; background: currentColor; border-radius: 1px; animation: eqbar .9s ease-in-out infinite; }
.music-toggle .eq i:nth-child(2) { animation-delay: .25s; }
.music-toggle .eq i:nth-child(3) { animation-delay: .5s; }
.music-toggle .eq i:nth-child(4) { animation-delay: .15s; }
@keyframes eqbar { 0%, 100% { height: 28%; } 50% { height: 100%; } }
@media (max-width: 560px){ .music-toggle { width: 44px; height: 44px; bottom: 1rem; right: 1rem; } }
.nav__toggle.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2){ opacity: 0; }
.nav__toggle.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px){
  .nav__toggle { display: grid; z-index: 110; }
  .nav__links {
    /* top/left + viewport units (not inset:0) so the panel fills the screen even
       though .nav's backdrop-filter makes it the containing block for fixed kids */
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: center; justify-content: center; gap: .85rem;
    background: var(--cream); padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2.5rem; box-shadow: none;
    opacity: 0; visibility: hidden; transform: scale(1.04);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s var(--ease);
    overflow-y: auto;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: scale(1); }
  .nav__links a { font-size: 1.2rem; letter-spacing: .14em; padding: .3rem .4rem; width: auto; text-align: center; }
  .nav__links a.active::after { left: 50%; right: auto; width: 24px; transform: translateX(-50%); }
  .nav__links .btn { margin: 1.3rem 0 0; padding: .9rem 2rem; font-size: .82rem; }
}
/* Shrink the bar (and everything offset from it) on phones */
@media (max-width: 768px){
  :root { --nav-h: 70px; }
  .nav.scrolled { height: 62px; }
  .nav__brand .mono { font-size: 1.4rem; }
  .nav__brand .sub { font-size: .62rem; letter-spacing: .28em; }
  .page-header { padding: calc(var(--nav-h) + 2.25rem) 0 2.75rem; }
}

/* =======================================================================
   HERO
   ======================================================================= */
.hero {
  min-height: 100svh; position: relative; display: grid; grid-template-rows: 1fr auto;
  place-items: center; text-align: center;
  padding: calc(var(--nav-h) + 1.25rem) 1.5rem .75rem; overflow: hidden;
  /* No background: the hero shows the static, viewport-fixed painting (html::before)
     vividly, with no veil over it. */
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(46,51,32,.12), rgba(46,51,32,0) 30%, rgba(46,51,32,0) 70%, rgba(46,51,32,.14));
}
/* frosted paper card holding the names — legible over the busy watercolor.
   Sizing is tied to viewport height (svh) so the whole card fits the window. */
.hero__inner {
  max-width: 660px; position: relative; z-index: 2;
  background: rgba(251,246,238,.82); backdrop-filter: blur(7px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem,3.5svh,2.6rem) clamp(1.5rem,5vw,3rem);
  box-shadow: var(--shadow-lg);
}
.hero__crest { width: clamp(144px,22.5svh,234px); height: auto; margin: 0 auto .6rem; }
.hero .kicker { font-family: var(--script); font-size: clamp(1.5rem,5.18svh,2.6rem); color: var(--green); display: block; margin-bottom: 0; }
.hero h1 { margin: 0; font-weight: 500; font-size: clamp(2.1rem,8.05svh,4.4rem); line-height: 1.0; letter-spacing: -.02em; }
.hero .amp { font-family: var(--script); color: var(--green); font-size: .8em; padding: 0 .08em; font-weight: 400; }
.hero__meta {
  display: inline-flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: center; align-items: center;
  margin: clamp(.7rem,1.6svh,1.2rem) 0 clamp(.7rem,1.4svh,1.1rem); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .68rem; color: var(--ink);
}
.hero__meta .dot { width: 4px; height: 4px; background: var(--pink); border-radius: 50%; }
.hero__welcome { font-size: clamp(.92rem,1.96svh,1.1rem); color: var(--ink-soft); max-width: 48ch; margin: 0 auto clamp(1rem,2svh,1.6rem); line-height: 1.6; }
.hero__cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

/* Mobile: size hero text by viewport WIDTH so each line fits on one row
   (the svh-based sizing above is height-driven and wraps on tall phones). */
@media (max-width: 640px){
  /* explicit shrinkable column so the grid track can't grow to the nowrap
     text's width and push the card past the screen edge */
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { width: 100%; min-width: 0; }
  .hero__welcome { max-width: 100%; }
  .hero .kicker { font-size: 6.6vw; white-space: nowrap; }
  .hero h1 { font-size: 10.5vw; white-space: nowrap; }
  .hero__meta {
    flex-wrap: nowrap; white-space: nowrap; gap: .4rem;
    letter-spacing: .03em; font-size: 2.6vw;
  }
}

.scroll-cue { z-index: 3; margin-top: .6rem; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: #fff; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-shadow: 0 1px 6px rgba(46,51,32,.5); }
.scroll-cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(#fff, transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%{ transform: scaleY(.15); transform-origin: top; } 50%{ transform: scaleY(1); transform-origin: top; } 100%{ transform: scaleY(.15); transform-origin: bottom; } }

/* =======================================================================
   PAGE HEADER (interior pages)
   ======================================================================= */
.page-header {
  padding: calc(var(--nav-h) + 5rem) 0 3.5rem; text-align: center; position: relative; overflow: hidden;
  background: color-mix(in srgb, var(--veil) 82%, transparent);
}
.page-header .eyebrow { margin-bottom: 1.2rem; }
.page-header h1 { font-size: clamp(2.6rem, 6.9vw, 4.6rem); }
.page-header p { margin: 1.4rem auto 0; }

.divider { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: 0 auto; color: var(--green); }
.divider::before, .divider::after { content: ""; height: 1px; width: clamp(40px,12vw,120px); background: linear-gradient(90deg, transparent, var(--line)); }
.divider::after { background: linear-gradient(90deg, var(--line), transparent); }
/* ornaments injected into legacy [data-flower] hooks */
[data-flower] { color: var(--green); line-height: 0; display: inline-flex; justify-content: center; align-items: center; }
.member [data-flower], .form-success [data-flower] { margin: 0 auto .4rem; }

/* =======================================================================
   COUNTDOWN  (refined, hairline-separated)
   ======================================================================= */
.countdown { display: inline-flex; gap: 0; justify-content: center; flex-wrap: wrap; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); overflow: hidden; }
.count-unit { padding: 1.6rem 1.9rem; min-width: 110px; position: relative; }
.count-unit + .count-unit::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-soft); }
.count-unit .num { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem,5.75vw,3.2rem); line-height: 1; letter-spacing: -.01em; color: var(--head); font-variant-numeric: tabular-nums; }
.count-unit .lbl { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-top: .7rem; }
@media (max-width:560px){ .count-unit { min-width: 78px; padding: 1.2rem 1rem; } }

/* =======================================================================
   QUICK NAV TILES  (editorial, hairline)
   ======================================================================= */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.4rem; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  padding: 2rem 2rem 1.8rem; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--paper); border: 1px solid var(--line-soft); color: var(--ink);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--pink); color: var(--ink); }
.tile .idx { position: absolute; top: 1.5rem; left: 2rem; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--pink); opacity: .8; }
.tile span { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: .35rem; }
.tile h3 { color: var(--ink); font-size: 1.55rem; font-weight: 500; }
.tile .arrow { position: absolute; top: 1.5rem; right: 1.8rem; font-size: 1.1rem; color: var(--ink-soft); transition: transform .4s var(--ease), color .4s var(--ease); }
.tile:hover .arrow { transform: translateX(5px); color: var(--pink); }
.tile::after { content: ""; position: absolute; left: 2rem; right: 2rem; bottom: 0; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tile:hover::after { transform: scaleX(1); }

/* =======================================================================
   TIMELINE  (Our Story)
   ======================================================================= */
.timeline { position: relative; max-width: 880px; margin-inline: auto; }
.timeline::before { content:""; position:absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 1rem 2.8rem 2.6rem; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::after { content:""; position:absolute; top: 1.6rem; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--pink); }
.tl-item:nth-child(odd)::after { right: -5.5px; }
.tl-item:nth-child(even)::after { left: -5.5px; }
.tl-item .when { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--pink-deep); line-height: 1; }
.tl-item h3 { margin: .3rem 0 .5rem; font-weight: 500; }
.tl-card { background: var(--paper); padding: 1.6rem 1.7rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.tl-card p { color: var(--ink-soft); }
@media (max-width: 720px){
  .timeline::before { left: 5px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 1rem 0 2.4rem 2.4rem; }
  .tl-item::after { left: 0 !important; right: auto !important; }
}

/* =======================================================================
   EVENT / SCHEDULE
   ======================================================================= */
.event { display: grid; grid-template-columns: 160px 1fr; gap: 2rem; align-items: stretch; }
.event__time {
  border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 1.4rem; border: 1px solid var(--line-soft); background: var(--cream);
}
.event__time .day { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.event__time .date { font-family: var(--serif); font-weight: 500; font-size: 3rem; line-height: 1; margin: .3rem 0; }
.event__time .time { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.ev-rose  .event__time { background: color-mix(in srgb, var(--pink) 9%, var(--cream)); }
.ev-rose  .event__time .date { color: var(--pink-deep); }
.ev-green .event__time { background: color-mix(in srgb, var(--green) 9%, var(--cream)); }
.ev-green .event__time .date { color: var(--green-deep); }
.ev-blue  .event__time { background: color-mix(in srgb, var(--blue) 9%, var(--cream)); }
.ev-blue  .event__time .date { color: var(--blue-deep); }
.ev-coral .event__time { background: color-mix(in srgb, var(--pink) 9%, var(--cream)); }
.ev-coral .event__time .date { color: var(--pink-deep); }
.event__body { padding-top: .4rem; }
.event__body h3 { margin-bottom: .3rem; font-weight: 500; }
.event__meta { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: .9rem 0; font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; }
.event__meta .k { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .62rem; color: var(--ink); display: block; margin-bottom: .15rem; }
.event__meta b { color: var(--ink); font-weight: 600; }
.event__body p { color: var(--ink-soft); }
@media (max-width: 560px){ .event { grid-template-columns: 1fr; } .event__time { flex-direction: row; gap: 1rem; padding: 1rem 1.3rem; } .event__time .date { font-size: 2rem; } }

/* =======================================================================
   FAQ accordion (clean list, hairline rules)
   ======================================================================= */
.faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem .2rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; transition: color .3s var(--ease); }
.faq-q:hover { color: var(--pink-deep); }
.faq-q .pm { flex: 0 0 auto; position: relative; width: 18px; height: 18px; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--pink); transition: transform .35s var(--ease); }
.faq-q .pm::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-q .pm::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 .2rem 1.6rem; margin: 0; color: var(--ink-soft); max-width: 68ch; }

/* =======================================================================
   GALLERY + lightbox
   ======================================================================= */
.gallery { columns: 3 250px; column-gap: 1.2rem; }
.gallery .photo { width: 100%; min-height: 0; margin-bottom: 1.2rem; break-inside: avoid; cursor: pointer; aspect-ratio: auto; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gallery .photo:hover { transform: scale(1.012); box-shadow: var(--shadow-md); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(30,38,33,.94); display: none; place-items: center; padding: 2rem; backdrop-filter: blur(8px); }
.lightbox.open { display: grid; }
.lightbox__inner { max-width: 880px; width: 100%; }
.lightbox .photo { aspect-ratio: 4/3; min-height: 52vh; }
.lightbox__img { display: block; width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: rgba(0,0,0,.2); }
.lightbox__cap { color: var(--cream); text-align: center; margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.lightbox__close { position: absolute; top: 1.6rem; right: 1.8rem; background: none; color: var(--cream); border: 1px solid rgba(250,240,232,.4); width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; transition: .3s var(--ease); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; color: var(--cream); border: 1px solid rgba(250,240,232,.4); width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; transition: .3s var(--ease); }
.lightbox__nav.prev { left: 1.4rem; } .lightbox__nav.next { right: 1.4rem; }
.lightbox button:hover { background: rgba(250,240,232,.15); border-color: var(--cream); }

/* =======================================================================
   FORMS
   ======================================================================= */
.form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.8rem,4vw,3.2rem); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem; color: var(--ink); }
.field .req { color: var(--pink-deep); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .9rem 0; border: none; border-bottom: 1px solid var(--line);
  background: transparent; transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field select { padding: .9rem 0; }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }
.radio-row, .check-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt label { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: 3px; background: transparent; border: 1px solid var(--line); cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin: 0; color: var(--ink); transition: .3s var(--ease); }
.opt input:checked + label { background: var(--green); color: var(--cream); border-color: var(--green); }
.opt input:focus-visible + label { box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 30%, transparent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; }
@media (max-width: 560px){ .form-grid { grid-template-columns: 1fr; } }
.form-note { background: color-mix(in srgb, var(--blue) 8%, var(--cream)); border-left: 2px solid var(--blue); padding: 1.1rem 1.3rem; border-radius: 4px; font-size: .94rem; margin-bottom: 1.8rem; color: var(--ink-soft); }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success.show { display: block; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

.deadline { display: inline-flex; align-items: center; gap: .7rem; background: transparent; color: var(--ink); padding: .7rem 1.4rem; border: 1px solid var(--line); border-radius: 100px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.deadline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* =======================================================================
   INFO rows / stats
   ======================================================================= */
.info-row { display: grid; grid-template-columns: 48px 1fr; gap: 1.3rem; align-items: start; padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--green-deep); }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row .ic.b2 { color: var(--blue-deep); }
.info-row .ic.b3 { color: var(--pink-deep); }
.info-row .ic.b4 { color: var(--green-deep); }
.info-row h4 { margin-bottom: .25rem; font-weight: 600; }
.info-row p { color: var(--ink-soft); }
.pricepill { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 0; color: var(--green-deep); margin-left: .6rem; vertical-align: middle; }
.pricepill::before { content: "· "; }

.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.stat { text-align: center; padding: 2rem 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line-soft); }
.stat .big { font-family: var(--serif); font-weight: 500; font-size: 2.4rem; color: var(--pink-deep); line-height: 1; }
.stat .lbl { font-size: .64rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-top: .7rem; }

/* registry */
.reg-card { text-align: center; padding: 2.6rem 1.8rem; display: flex; flex-direction: column; }
.reg-card .btn { margin-top: auto; align-self: center; }
.reg-logo { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin-bottom: .5rem; }
.reg-card .platform { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 1rem; }
.reg-card p { color: var(--ink-soft); }

/* wedding party */
.member { text-align: center; }
.member .photo { aspect-ratio: 1; border-radius: 50%; margin-bottom: 1.2rem; }
.member h4 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin-bottom: .15rem; }
.member .role { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-deep); font-weight: 700; }
.member .note { font-size: .92rem; color: var(--ink-soft); margin-top: .6rem; }

/* =======================================================================
   Decorative wildflowers
   ======================================================================= */
.flora-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.flora { position: absolute; will-change: transform; }
.flora svg { filter: drop-shadow(0 8px 16px rgba(37,48,42,.08)); }
.section > .wrap, .page-header > .wrap, .hero__inner { position: relative; z-index: 1; }
.flora-strip { display: inline-flex; gap: .5rem; justify-content: center; align-items: flex-end; }

/* =======================================================================
   FOOTER
   ======================================================================= */
.footer { background: var(--green); color: var(--cream); padding: 5rem 0 2.5rem; position: relative; overflow: hidden; }
.footer::before { content:""; position:absolute; top:0; left:50%; transform:translateX(-50%); width: 120px; height: 1px; background: var(--pink); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer__crest { width: 283.5px; height: auto; margin-bottom: 1.4rem; }
.footer__brand .mono { font-family: var(--serif); font-weight: 500; font-size: 2.4rem; color: var(--cream); line-height: 1.1; letter-spacing: .02em; }
.footer__brand p { color: rgba(255,251,245,.9); font-size: .92rem; margin-top: .8rem; }
.footer h4 { color: var(--cream); font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: .66rem; margin-bottom: 1.2rem; opacity: .85; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .65rem; }
.footer ul a { color: rgba(255,251,245,.9); font-weight: 400; font-size: .94rem; letter-spacing: .02em; }
.footer ul a:hover { color: var(--cream); }
.footer__bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(250,240,232,.15); text-align: center; font-size: .76rem; color: rgba(255,251,245,.8); letter-spacing: .08em; }
.footer__bottom .script { font-family: var(--script); font-size: 1.7rem; color: var(--cream); letter-spacing: 0; }
@media (max-width: 760px){ .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px){
  .footer__grid { grid-template-columns: 1fr 1fr; text-align: center; column-gap: 0; row-gap: 2.4rem; align-items: stretch; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__crest { margin-inline: auto; }
  /* vertical divider between the Explore / Plan Your Trip columns */
  .footer__grid > div:last-child { border-left: 1px solid rgba(250,240,232,.2); }
}

/* =======================================================================
   Scroll reveal
   ======================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.d5 { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* utility */
.mt0{margin-top:0}.mb0{margin-bottom:0}.mt1{margin-top:1rem}.mt2{margin-top:2rem}.mt3{margin-top:3rem}
.mb1{margin-bottom:1rem}.mb2{margin-bottom:2rem}
.text-rose{color:var(--pink-deep)}.text-green{color:var(--green-deep)}.text-coral{color:var(--blue-deep)}
.maxw-sm{max-width:600px;margin-inline:auto}
.spaced { display:flex; gap:1rem; flex-wrap:wrap; align-items:center; }
.spaced.center { justify-content:center; }
