/* ==========================================================================
   Fatimah & Brady — wedding site
   Visual language follows the couple's mockups: textured paper, white
   hydrangea photography, taupe/brown ink, tall serif headings with script
   accents, brown ribbon bands.
   Motion: one envelope opening, then quiet fades as sections arrive.
   ========================================================================== */
/* Garet (Spacetype) is not on Google Fonts — it loads from site/fonts/ when the
   files are there (or if installed on the device); until then Lexend stands in. */
@font-face { font-family: 'Garet'; font-weight: 100 500; font-style: normal; font-display: swap;
  src: local('Garet Book'), local('Garet-Book'), url('../fonts/Garet-Book.woff2') format('woff2'), url('../fonts/Garet-Book.woff') format('woff'), url('../fonts/Garet-Book.ttf') format('truetype'), url('../fonts/Garet-Book.otf') format('opentype'); }
@font-face { font-family: 'Garet'; font-weight: 600 900; font-style: normal; font-display: swap;
  src: local('Garet Heavy'), local('Garet-Heavy'), url('../fonts/Garet-Heavy.woff2') format('woff2'), url('../fonts/Garet-Heavy.woff') format('woff'), url('../fonts/Garet-Heavy.ttf') format('truetype'), url('../fonts/Garet-Heavy.otf') format('opentype'); }
:root {
  --paper: #F2F0EC;
  --white: #FDFCFA;
  --ink: #1C2B4A;          /* headings — navy */
  --text: #2A3A5C;         /* body — navy */
  --muted: #5B6987;
  --brown: #1C2B4A;        /* buttons — navy (variable name kept) */
  --brown-deep: #33476E;   /* button hover */
  --line: #C3CAD7;
  --field: #E6E3DF;

  --display: 'Cormorant Garamond', Georgia, serif;          /* titles */
  --script: 'Pinyon Script', cursive;                        /* all cursive */
  --sans: 'Garet', 'Lexend', 'Helvetica Neue', Arial, sans-serif;   /* all smaller text */
  --cond: 'Garet', 'Lexend', 'Helvetica Neue', Arial, sans-serif;
  --italic: 'Cormorant Garamond', Georgia, serif;           /* the verse only */

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 60px;
  --paper-tex: url("../images/design/paper.jpg");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
html.is-locked, html.is-locked body { overflow: hidden; height: 100%; }
body { margin: 0; background: var(--paper) var(--paper-tex); color: var(--text); font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 900px) { body { font-size: 16px; } }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink); }
p { margin: 0 0 .9em; }
strong { font-weight: 500; color: var(--ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--brown); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--white); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
html.is-locked .skip-link { display: none; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.display--split { display: inline-flex; align-items: center; gap: .3em; }
.display--split .and { font-family: var(--script); text-transform: none; font-size: .62em; position: relative; padding: .45em .1em; }
.display--split .and::before, .display--split .and::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); }
.display--split .and::before { top: .2em; } .display--split .and::after { bottom: .2em; }
.display--stack { line-height: 1.05; }
.script-inline { font-family: var(--script); text-transform: none; font-size: .78em; margin-left: .05em; }
.script-accent { font-family: var(--script); font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--ink); line-height: 1; margin: -.15em 0 .8em 1.6em; }
.script-accent--center { margin-left: 0; }
.script-title { font-family: var(--script); font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: .2em; }
.kicker { font-family: var(--cond); font-weight: 500; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--text); margin: 0 0 .3em; }
.label { font-family: var(--cond); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .86rem; color: var(--text); margin: .4em 0; }
.label--strong { font-weight: 600; color: var(--ink); font-size: 1rem; letter-spacing: .1em; }
.note { font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.note--center { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 22px; border-radius: 8px;
  background: var(--brown); color: #fff; border: 1px solid var(--brown);
  font-family: var(--cond); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn:hover { background: var(--brown-deep); border-color: var(--brown-deep); }
.btn--outline { background: transparent; color: var(--brown-deep); }
.btn--outline:hover { background: var(--brown); color: #fff; }
.btn--ghost { background: transparent; color: var(--brown-deep); }
.btn--ghost:hover { background: var(--brown); color: #fff; }
.btn--small { min-height: 36px; padding: 0 16px; font-size: .74rem; }
.btn--block { width: 100%; }
.btn[disabled] { background: #CFC6BB; border-color: #CFC6BB; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--ink); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 8px; font-family: var(--sans); font-style: normal; font-size: .88rem; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  background: rgba(253, 252, 250, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(207, 195, 179, .55);
  opacity: 0; visibility: hidden; transition: opacity 1000ms var(--ease) 600ms;
}
html.is-open .nav { opacity: 1; visibility: visible; }
.nav--static { opacity: 1; visibility: visible; position: sticky; transition: none; }
.nav__inner { max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { font-family: var(--display); font-weight: 500; font-size: 1.6rem; color: var(--ink); text-decoration: none; letter-spacing: .04em; }
.nav__brand span { font-family: var(--display); font-style: italic; font-size: .95em; margin: 0 .08em; }
.nav__links { display: none; gap: 4px; }
.nav__links a { font-family: var(--cond); font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 11px; border-bottom: 1px solid transparent; transition: color 200ms, border-color 200ms; }
.nav__links a:hover { color: var(--muted); }
.nav__links a.is-active { border-bottom-color: var(--ink); }
.nav__back { font-family: var(--cond); font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav__back:hover { color: var(--muted); }
.nav__toggle { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ink); transition: transform 250ms var(--ease), top 250ms var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
@media (min-width: 1000px) { .nav__links { display: flex; } .nav__toggle { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: 45; padding-top: var(--nav-h); background: var(--paper) var(--paper-tex); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 300ms var(--ease); }
.mobile-menu.is-visible { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu a { font-family: var(--display); font-size: 1.6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 4px 12px; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.site { position: relative; z-index: 1; overflow-x: hidden; overflow-x: clip; }
html:not(.is-open) .site { visibility: hidden; }
.section { position: relative; padding: clamp(64px, 8vw, 104px) 24px; text-align: center; }
.section--paper { background: var(--paper) var(--paper-tex); }
.section--white { background: var(--white); }
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 1000ms var(--ease) var(--d, 0ms), transform 1200ms var(--ease-out) var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

.split { max-width: 1000px; margin: 0 auto; display: grid; gap: clamp(36px, 6vw, 90px); grid-template-columns: 1fr; align-items: center; text-align: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; text-align: left; }
  .split__text { max-width: 420px; }
  .split__text--center { text-align: center; justify-self: center; }
}
.split__text .display, .split__text .kicker { text-align: center; }
.split__text .script-accent { text-align: center; margin-left: 2.4em; }
.split__text--center .script-accent { margin-left: 1.4em; }

/* Ribbons (marquee bands) */
.ribbon { background: var(--ink); color: #fff; text-align: center; padding: 9px 16px; }
.ribbon p { margin: 0; font-family: var(--cond); font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.ribbon--light { background: var(--ink); color: #fff; }
.ribbon--footer { margin-top: 56px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: start center; text-align: center; color: var(--hero-ink);
  --hero-ink: #FFFFFF;   /* white over the photo */
  --hero-photo: url("../images/cover-meadow-wide.jpg");   /* wide crop for desktop */
  background: #6E7A5E; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(40px, 12vh, 120px)) 20px 70px;
}
@media (max-width: 700px) { .hero { --hero-photo: url("../images/cover-meadow.jpg"); padding-top: calc(var(--nav-h) + 16vh); } }
/* the photo, softly blurred so it doesn't compete with the writing */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--hero-photo) 50% 60% / cover no-repeat; }
@media (max-width: 700px) { .hero::before { background-position: 50% 100%; } }
/* gentle wash, a little darker behind the writing */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 30, 26, .45) 0%, rgba(22, 30, 26, .32) 45%, rgba(22, 30, 26, .18) 75%, rgba(22, 30, 26, .1) 100%); }
.hero__inner, .hero__names, .hero__date, .hero__venue { text-shadow: 0 1px 14px rgba(15, 22, 18, .35); }
.hero__inner { position: relative; }
.hero__mono { width: clamp(110px, 12vw, 150px); height: auto; margin: 0 auto 6px; color: #fff; filter: drop-shadow(0 1px 6px rgba(40, 30, 20, .25)); }
.hero__names { color: var(--hero-ink); font-family: var(--display); font-weight: 500; font-size: clamp(3.4rem, 8.6vw, 6.6rem); line-height: .9; }
.hero__names span { display: block; }
.hero__amp { font-family: var(--display); font-style: italic; font-weight: 400; font-size: .62em; line-height: 1; margin: .02em 0 .06em; }
.hero__date { margin: 4.2em 0 .7em; font-family: var(--cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.86rem, 1.2vw, 1rem); }
.hero__venue { font-family: var(--cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; line-height: 1.6; }
.hero__venue { white-space: nowrap; }
@media (max-width: 420px) { .hero__venue { letter-spacing: .08em; font-size: .7rem; } }
.hero__inner { max-width: 100%; }
@media (max-width: 360px) { .hero__names { font-size: 2.9rem; } .hero__date { letter-spacing: .08em; font-size: .8rem; } .hero__venue { white-space: normal; } }
.hero .hero__inner { opacity: 0; transform: translateY(12px) scale(.99); }
html.is-open .hero .hero__inner { opacity: 1; transform: none; transition: opacity 1600ms cubic-bezier(.45, 0, .25, 1) 400ms, transform 2000ms var(--ease-out) 400ms; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--hero-ink); opacity: .8; padding: 8px; }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; }

/* ==========================================================================
   INVITATION
   ========================================================================== */
.photo-print { margin: 0 auto; width: min(100%, 340px); background: #fff; padding: 10px 10px 34px; box-shadow: 0 1px 2px rgba(60, 45, 30, .1), 0 14px 30px rgba(60, 45, 30, .12); transform: rotate(-1.5deg); }
.photo-print img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 62%; }
.invitation__lead { font-size: 1.02em; }
.meta { font-family: var(--cond); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--ink); margin-top: 1.2em; }
.verse { margin: 1.4em 0 1.2em; padding: 0; }
.verse p { font-family: var(--italic); font-style: italic; font-size: 1.15rem; line-height: 1.55; color: var(--ink); margin-bottom: .3em; }
.verse cite { font-family: var(--cond); font-style: normal; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--text); }
.signoff-script { font-family: var(--script); font-size: 1.6rem; color: var(--ink); margin: 0; text-align: center; }
.signoff { font-family: var(--cond); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; text-align: center; }

/* ==========================================================================
   COUNTDOWN
   ========================================================================== */
.countdown { background: var(--white); text-align: center; padding: 52px 20px 48px; }
.countdown .label { font-weight: 600; color: var(--ink); }
.countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); justify-content: center; gap: 4px; margin: 14px auto 10px; }
.cd-num { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 3.7rem); line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.cd-label { display: block; font-family: var(--cond); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; color: var(--muted); }
.label--date { letter-spacing: .2em; }
.countdown__done { font-family: var(--script); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--ink); margin: 12px 0; }

/* ==========================================================================
   TWO HEARTS (collage)
   ========================================================================== */
.collage { position: relative; width: min(100%, 540px); margin: 0 auto; aspect-ratio: 540 / 600; }
.collage__back { position: absolute; left: 0; top: 0; width: 62%; height: 70%; object-fit: cover; object-position: 47% 74%; box-shadow: 0 10px 24px rgba(28, 43, 74, .12); }
.collage__front { position: absolute; right: 0; bottom: 0; width: 58%; height: 72%; object-fit: cover; object-position: 60% 40%; box-shadow: 0 14px 30px rgba(28, 43, 74, .18); z-index: 2; }
/* ==========================================================================
   DATE & VENUE
   ========================================================================== */
.line-icon { margin: 18px auto; height: auto; }
.line-icon--glasses { width: 66px; }
.line-icon--hanger { width: 130px; margin: 10px auto 18px; }
.line-icon--key { width: 62px; margin: 0 auto 12px; }
.venue__grid { display: flex; justify-content: center; gap: clamp(40px, 10vw, 110px); margin: 8px auto 6px; text-align: left; }
.venue__item p { margin: 0; font-size: .92em; }
.venue__place { margin: 18px 0 0; font-size: .92em; }
.venue__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.map { max-width: 900px; margin: 34px auto 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.map iframe { display: block; width: 100%; height: clamp(240px, 34vw, 360px); border: 0; }

/* ==========================================================================
   WEDDING TIMELINE + DRESS CODE (side by side, as in the mockup)
   ========================================================================== */
.split--even { align-items: start; }
.split--day > * { text-align: center; max-width: 400px; margin: 0 auto; width: 100%; }
.split--day .script-accent { margin-left: 0; margin-top: -.25em; }
.line-icon--bouquet { width: 70px; margin: 4px auto 22px; }
.timeline__list { list-style: none; margin: 0 auto; padding: 0; max-width: 380px; position: relative; }
.timeline__list::before { content: ''; position: absolute; left: calc((100% - 28px) / 2.6 + 14px); top: 12px; bottom: 12px; width: 1px; background: var(--ink); transform: translateX(-50%); }
.timeline__item { display: grid; grid-template-columns: 1fr 28px 1.6fr; align-items: center; padding: 15px 0; }
.timeline__time { text-align: right; font-size: .9rem; color: var(--text); padding-right: 14px; font-variant-numeric: lining-nums; }
.timeline__dot { justify-self: center; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); position: relative; z-index: 1; }
.timeline__event { text-align: left; font-size: .9rem; color: var(--ink); padding-left: 14px; }
.dress { padding-top: 0; }
.dress-section .dress { max-width: 480px; margin: 0 auto; text-align: center; }
.rsvp__title { margin-bottom: .2em; }
.dress .label { margin-bottom: .8em; }
.dress__row { padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.dress__row:first-of-type { border-top: 1px solid var(--line); margin-top: 8px; }
.dress__row p { margin: 0; }
.dress .note { margin-top: 18px; }
@media (max-width: 859px) { .split--day { gap: 70px; } }
/* ==========================================================================
   PHOTO SECTIONS (gift registry, questions)
   ========================================================================== */
.photo-section { position: relative; padding: clamp(80px, 10vw, 130px) 24px; text-align: center; background: #EEE9E2 center / cover no-repeat; }
.photo-section--soft { background-image: url("../images/design/hydrangea-soft.jpg"); }
.photo-section--pale { background-image: url("../images/design/hydrangea-pale.jpg"); }
.photo-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(250, 248, 245, .78) 0%, rgba(250, 248, 245, .45) 60%, rgba(250, 248, 245, .25) 100%); }
.photo-section__inner { position: relative; max-width: 560px; margin: 0 auto; }
.gift__lead { font-size: 1.12em; color: var(--ink); font-weight: 400; margin-top: .4em; }
.gift__text { font-style: italic; }
.gift-section .btn { margin-top: 18px; }
.ship-note { margin: 26px auto 0; max-width: 400px; padding: 16px 20px 14px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: 6px; }
.ship-note .label { margin: 0 0 .4em; font-weight: 600; color: var(--ink); }
.ship-note p { margin: 0 0 .3em; font-size: .9rem; }
.ship-note address { font-style: normal; color: var(--ink); font-size: .95rem; line-height: 1.55; font-weight: 500; }
.gift__note { font-family: var(--sans); font-style: normal; color: var(--muted); margin-top: 10px; font-size: .8rem; }

.questions__lead { margin: 1.2em 0 1.6em; }
.questions__list { text-align: left; }
.q-item { padding: 18px 0 20px; border-bottom: 1px solid var(--ink); }
.q-item:last-child { border-bottom: 0; }
.q-item__num { font-family: var(--sans); font-size: .9rem; color: var(--ink); margin: 0; }
.q-item__name { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); font-size: 1rem; margin: 0 0 6px; }
.q-item__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.q-item__phone { margin: 0; letter-spacing: .08em; }
.q-item__links { display: flex; gap: 8px; }

/* ==========================================================================
   WHERE TO STAY
   ========================================================================== */
.stay__grid { max-width: 1000px; margin: 34px auto 30px; display: grid; gap: 34px; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 760px) { .stay__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.stay-card { display: flex; flex-direction: column; max-width: 320px; margin: 0 auto; width: 100%; }
.stay-card__name { font-family: var(--cond); font-weight: 600; font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 .2em; line-height: 1.35; }
.stay-card__kind { font-size: .88em; color: var(--muted); margin: 0 0 .6em; }
.stay-card__text { font-size: .92em; flex: 1; }
.stay-card .btn { align-self: flex-start; margin-top: 8px; }
.stay-card__km { font-family: var(--cond); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; color: var(--ink); margin: 0 0 .5em; }
.stay__more { margin: 6px 0 26px; }


/* Full accommodation page (accommodation.html) */
.accom__tools { max-width: 860px; margin: 22px auto 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.accom__count { margin: 0; font-family: var(--cond); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.accom__list { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid #E4DED6; border-radius: 6px; padding: 8px 26px; text-align: left; box-shadow: 0 2px 10px rgba(60, 45, 30, .05); }
.accom__row { padding: 16px 0 14px; border-bottom: 1px solid #EEE8E0; }
.accom__row:last-child { border-bottom: 0; }
.accom__main { display: flex; align-items: baseline; gap: 12px; }
.accom__name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); line-height: 1.3; }
.accom__dots { flex: 1; border-bottom: 1px solid var(--line); transform: translateY(-4px); min-width: 20px; }
.accom__km { font-family: var(--cond); font-weight: 600; letter-spacing: .1em; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.accom__contact { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; font-size: .86rem; }
.accom__contact a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; word-break: break-all; transition: color 200ms, border-color 200ms; }
.accom__contact a:hover { color: var(--ink); border-bottom-color: var(--line); }
.accom__contact a:last-child { font-family: var(--cond); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; color: var(--ink); }
@media (max-width: 560px) { .accom__list { padding: 4px 16px; } .accom__name { font-size: 1rem; } .accom__contact { flex-direction: column; gap: 2px; } }

/* ==========================================================================
   RSVP
   ========================================================================== */
.rsvp__script { font-family: var(--script); font-size: clamp(3rem, 6vw, 4rem); color: var(--ink); line-height: 1; }
.rsvp .note { margin-bottom: 1.4em; }
.demo-note { max-width: 520px; margin: 0 auto 16px; font-size: .78rem; color: var(--muted); font-style: italic; }
.demo-note code { font-style: normal; background: var(--field); padding: 1px 5px; border-radius: 3px; }
.rsvp__card { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid #E4DED6; border-radius: 6px; padding: 22px 18px 18px; text-align: left; box-shadow: 0 2px 10px rgba(60, 45, 30, .06); position: relative; }
.field { display: block; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field__label { display: block; font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--ink); margin-bottom: 6px; padding: 0; }
.field input:not([type=radio]), .field textarea, .field select {
  display: block; width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #B9C1CF; border-radius: 6px; background: #fff;
  font: inherit; font-size: .92rem; color: var(--ink); transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231C2B4A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center / 15px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(28, 43, 74, .15); }
.field input::placeholder { color: #A9A097; }
.field--choice { display: flex; flex-direction: column; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 5px; background: var(--field); font-size: .86rem; color: var(--ink); transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.choice:hover span { background: #DCD7D1; }
.choice input:checked + span { background: var(--brown); color: #fff; }
.choice input:focus-visible + span { outline: 1px solid var(--brown); outline-offset: 2px; }
.field__error { display: none; font-size: .8rem; font-style: italic; color: #9A5B4B; margin-top: 4px; }
.field.has-error .field__error { display: block; }
.field.has-error input { border-color: #C9A090; }
.rsvp__status { font-style: italic; color: #9A5B4B; font-size: .86rem; margin: 0 0 10px; }
.rsvp__status:empty { display: none; }
.rsvp__form .btn { text-decoration: none; text-transform: none; letter-spacing: .02em; font-family: var(--sans); font-size: .9rem; border-radius: 8px; }
.rsvp__thanks { text-align: center; padding: 10px 4px; }
.rsvp__thanks h3 { font-family: var(--script); font-size: 2.6rem; line-height: 1.1; margin-bottom: .3em; }
.thanks-flower { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--white); text-align: center; padding: 70px 0 0; }
.footer__mono { width: clamp(120px, 14vw, 160px); height: auto; margin: 0 auto 10px; color: var(--ink); }
.footer__line { font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--ink); margin: 0 20px .4em; }
.footer__contact { font-size: .86rem; color: var(--muted); margin: 0 20px; }
.footer__contact a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   REGISTRY PAGE (registry.html)
   ========================================================================== */
.registry-page .section { padding-top: 56px; }
.registry__bouquet { width: 62px; margin: 0 auto 14px; }
.registry__how { max-width: 560px; margin: 0 auto 1.2em; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--muted); }
.holds { max-width: 1000px; margin: 0 auto; }
.hold { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; margin: 0 auto 14px; }
.hold p { margin: 0; color: var(--ink); }
.hold__actions { display: flex; gap: 8px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px auto 28px; }
.chip { min-height: 38px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-family: var(--cond); font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); transition: background-color 200ms, color 200ms, border-color 200ms; }
.chip:hover { border-color: var(--brown); }
.chip.is-active { background: var(--brown); border-color: var(--brown); color: #fff; }
.select select { min-height: 38px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231C2B4A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; -webkit-appearance: none; appearance: none; font: inherit; font-size: .86rem; color: var(--ink); cursor: pointer; }
.gifts { max-width: 1000px; margin: 0 auto; display: grid; gap: 22px; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 600px) { .gifts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gifts { grid-template-columns: repeat(3, 1fr); } }
.gift { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #E4DED6; border-radius: 6px; padding: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(60, 45, 30, .05); }
.gift__img { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #EFEAE3, #F7F4EF); border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.gift__img img { width: 100%; height: 100%; object-fit: cover; }
.gift__img svg { width: 40%; height: 40%; fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.gift__body { padding: 14px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.gift__name { font-family: var(--cond); font-weight: 600; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.gift__store { font-family: var(--sans); font-style: normal; color: var(--muted); font-size: .86rem; margin: 0; }
.gift__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 14px; padding-top: 10px; border-top: 1px solid #EEE8E0; }
.gift__price { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.gift__qty { font-family: var(--cond); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.gift__note { font-size: .84rem; color: var(--ink); font-style: italic; margin: -6px 0 12px; }
.gift .btn { margin-top: auto; }
.gift .ribbon { position: absolute; top: 18px; right: -44px; transform: rotate(40deg); width: 170px; padding: 4px 0; font-family: var(--cond); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; z-index: 2; }
.ribbon--reserved { background: var(--field); color: var(--ink); border: 0; }
.ribbon--gifted { background: var(--ink); color: #fff; border: 0; }
.gift.is-reserved, .gift.is-gifted { opacity: .7; }
.gift--cash .gift__qty { display: none; }
.gift__cash { font-size: .88rem; background: var(--paper); border: 1px dashed var(--line); border-radius: 4px; padding: 10px 12px; margin: 0 0 12px; }
.gifts__empty { grid-column: 1 / -1; text-align: center; font-style: italic; color: var(--muted); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(60, 50, 38, .35); opacity: 0; transition: opacity 250ms var(--ease); }
.modal__dialog { position: relative; width: 100%; max-width: 440px; max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: 8px; padding: 40px 26px 26px; text-align: center; box-shadow: 0 20px 60px rgba(60, 45, 30, .2); opacity: 0; transition: opacity 250ms var(--ease); }
.modal.is-visible .modal__backdrop, .modal.is-visible .modal__dialog { opacity: 1; }
.modal.is-closing .modal__backdrop, .modal.is-closing .modal__dialog { opacity: 0; transition-duration: 200ms; }
.modal__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.6rem; color: var(--ink); cursor: pointer; }
.modal__body h3 { font-family: var(--display); font-size: 1.4rem; line-height: 1.3; margin-bottom: .5em; }
.modal__body h3.script { font-family: var(--script); font-size: 2.4rem; }
.modal__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
@media (min-width: 480px) { .modal__actions { flex-direction: row; justify-content: center; } }
.modal__item { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--paper); border-radius: 6px; padding: 10px; margin: 6px 0 4px; }
.modal__item .gift__img { width: 70px; flex: none; }
.modal__item strong { display: block; line-height: 1.3; }
.modal__body .field { text-align: left; margin: 14px 0 0; }
.modal__body .tbc { font-size: .85em; color: var(--muted); font-style: italic; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; margin: 4px 0 6px; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 34px; text-align: center; font-size: 1.1rem; color: var(--ink); }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}
