/* Rosetree option 2: rose and tree. The logo is a rose and a tree, so the page is generated geometry on deep plum:
   a branching tree that grows and blooms rhodonea (rose) curves, one rose emblem per hosted event, petal-shaped photo frames.
   One flat line system: rose pink and a little gold, no glow. Josefin Sans for display, Rethink Sans for text. One night theme.
   Motion: the tree grows and sways, emblems draw and turn, petal frames morph on hover, cross-page view transitions. All off under reduced motion. */
@font-face { font-family: "Josefin Sans"; font-weight: 100 700; font-display: swap; src: url("assets/fonts/josefin-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Rethink Sans"; font-weight: 400 800; font-display: swap; src: url("assets/fonts/rethink-sans-latin-wght-normal.woff2") format("woff2"); }

@view-transition { navigation: auto; }

:root {
  color-scheme: dark;
  --bg: #26102f; --deep: #1b0a23; --surface: #33173f; --surface-2: #432052;
  --ink: #fbf2f6; --muted: #cdb6d6; --line: rgba(251, 242, 246, .22); --line-strong: rgba(251, 242, 246, .55);
  --rose: #f08fb0; --gold: #d8a94a;
  --accent: #f08fb0; --accent-ink: #26102f; --danger: #ffb3c9;
  --display: "Josefin Sans", system-ui, sans-serif; --body: "Rethink Sans", system-ui, sans-serif;
  --r: 14px; --nav-h: 68px; --max: 1200px; --gutter: clamp(18px, 4vw, 44px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--surface-2) var(--deep); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; caret-color: var(--rose); }
::selection { background: var(--rose); color: var(--accent-ink); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1rem; max-width: 68ch; }
a { color: inherit; text-underline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--rose); color: var(--accent-ink); padding: 8px 14px; z-index: 100; border-radius: var(--r); font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
section { padding-block: clamp(48px, 7vw, 104px); }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--rose); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 700 1rem var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn--primary { background: var(--rose); color: var(--accent-ink); }
.btn--primary:hover { background: #f6a8c2; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }
.btn--dark { background: var(--bg); color: var(--ink); }
.btn--dark:hover { background: #3a1848; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Header: a gold hairline */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid rgba(216, 169, 74, .55); view-transition-name: header; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .mark { width: 38px; height: 38px; color: var(--rose); transition: transform .9s var(--ease); }
.logo:hover .mark { transform: rotate(60deg); }
.logo__words { display: grid; line-height: 1.05; }
.logo__words b { font: 600 1.35rem var(--display); letter-spacing: 0; }
.logo__words small { font-size: .74rem; letter-spacing: .08em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; padding-block: 10px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; cursor: pointer; }
.menu-btn .i { width: 28px; height: 28px; }

/* Hero: the tree grows from the bottom edge */
.hero { position: relative; overflow: hidden; min-height: clamp(580px, 88vh, 800px); display: flex; align-items: center; padding-block: 56px; isolation: isolate; }
.hero__tree { position: absolute; z-index: -1; top: 0; bottom: 0; right: -3%; width: 70%; }
.tree { width: 100%; height: 100%; transform-origin: 50% 100%; animation: sway 12s 3.4s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-.7deg); } to { transform: rotate(.7deg); } }
.br { fill: none; stroke: var(--rose); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: grow 1s var(--ease) forwards; }
.d0 { stroke-width: 10px; } .d1 { stroke-width: 7px; animation-delay: .45s; } .d2 { stroke-width: 5px; animation-delay: .8s; } .d3 { stroke-width: 3.6px; animation-delay: 1.1s; }
.d4 { stroke-width: 2.6px; animation-delay: 1.35s; } .d5 { stroke-width: 1.9px; animation-delay: 1.55s; } .d6 { stroke-width: 1.4px; animation-delay: 1.75s; }
.bloom { fill: none; stroke: var(--gold); stroke-width: 1.5px; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: grow 1.6s ease forwards; }
.b0 { animation-delay: 2.1s; } .b1 { animation-delay: 2.35s; } .b2 { animation-delay: 2.6s; } .b3 { animation-delay: 2.85s; }
@keyframes grow { to { stroke-dashoffset: 0; } }
.hero__grid { position: relative; }
.hero__copy { max-width: 36rem; }
.hero h1 { margin-bottom: 20px; animation: rise 1s .15s var(--ease) both; }
.hero__sub { font-size: 1.2rem; color: var(--muted); animation: rise 1s .3s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
.halls { display: grid; gap: 12px; margin-top: 26px; animation: rise 1s .45s var(--ease) both; }
.hall { display: flex; align-items: center; gap: 16px; width: fit-content; max-width: 100%; padding: 8px 28px 8px 8px; border: 2px solid var(--line-strong); border-radius: 999px; background: rgba(38, 16, 47, .85); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.hall:hover { border-color: var(--rose); transform: translateX(6px); }
.hall .petal { width: 64px; height: 64px; flex: none; }
.hall__txt { display: grid; line-height: 1.15; }
.hall__txt strong { font: 600 1.3rem var(--display); }
.hall__txt em { font-style: normal; color: var(--muted); font-size: .92rem; }
.hero .actions { animation: rise 1s .6s var(--ease) both; }
.hero__rating { margin-top: 24px; color: var(--muted); font-size: .95rem; animation: rise 1s .75s var(--ease) both; }
.hero__rating strong { color: var(--ink); }

/* Petal frames: two opposite corners fully rounded, and they swap on hover */
.petal { overflow: hidden; margin: 0; border-radius: 72% 0 72% 0 / 72% 0 72% 0; background: var(--surface); transition: border-radius .9s var(--ease); }
.petal--r { border-radius: 0 72% 0 72% / 0 72% 0 72%; }
.petal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.petal:hover, .hall:hover .petal { border-radius: 0 72% 0 72% / 0 72% 0 72%; }
a.petal--r:hover { border-radius: 72% 0 72% 0 / 72% 0 72% 0; }
a.petal:hover img { transform: scale(1.06); }

/* Two halls */
.two { background: var(--deep); }
.two h2 { margin-bottom: 40px; }
.two__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.vcol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.vcol--low { margin-top: clamp(0px, 7vw, 96px); }
.vcol__photo { display: block; aspect-ratio: 3 / 4; }
.vcol__txt { display: grid; gap: 8px; align-content: start; }
.vcol__txt h3 a { text-decoration: none; }
.vcol__area { color: var(--gold); font-weight: 700; margin: 0; }
.vcol__txt p { color: var(--muted); }
.vcol dl { margin: 6px 0 4px; display: grid; }
.vcol dl div { padding-block: 9px; border-top: 1px solid var(--line); display: grid; gap: 1px; }
.vcol dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.vcol dd { margin: 0; font-weight: 600; }

/* What we host: one rose curve per event */
.roses h2 { margin-bottom: 36px; }
.roses__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.roses__row li + li { border-left: 1px solid var(--line); }
.roses__row a { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 18px; text-decoration: none; height: 100%; transition: background-color .3s; }
.roses__row a:hover { background: var(--surface); }
.roses__row strong { font: 600 1.35rem var(--display); }
.roses__row span { color: var(--muted); font-size: .95rem; }
.rose { width: 118px; height: 118px; color: var(--rose); animation: spin 70s linear infinite; transition: color .3s; }
.roses__row li:nth-child(even) .rose { animation-direction: reverse; animation-duration: 90s; color: var(--gold); }
.roses__row a:hover .rose { animation-duration: 12s; }
@keyframes spin { to { transform: rotate(360deg); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rose path { stroke-dasharray: 1; animation: drawrose linear both; animation-timeline: view(); animation-range: entry 5% cover 38%; }
    @keyframes drawrose { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  }
}

/* Reviews */
.said { background: var(--surface); }
.said__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.said blockquote { margin: 0; }
.said__lead p { font: 500 clamp(1.8rem, 3.8vw, 3rem)/1.15 var(--display); max-width: 14em; margin-bottom: 14px; }
.said footer { color: var(--muted); font-size: .95rem; }
.said__side blockquote { padding-block: 22px; border-top: 1px solid var(--line-strong); }
.said__side blockquote p { font: 500 1.3rem/1.35 var(--display); margin-bottom: 8px; }
.said__rating { margin-top: 20px; color: var(--muted); }
.said__rating strong { color: var(--ink); }
.said__rating a { color: var(--ink); font-weight: 600; }

/* Photo reel */
.reel { padding-bottom: 0; }
.reel__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.reel__row { list-style: none; margin: 0; padding: 0 var(--gutter) 28px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--surface-2) var(--deep); }
.reel__row li { flex: none; scroll-snap-align: start; }
.reel__row img { height: clamp(260px, 32vw, 380px); width: auto; border-radius: 150px 14px 150px 14px; }

.band { background: var(--rose); color: var(--accent-ink); margin-top: clamp(40px, 6vw, 88px); }
.band__inner { display: grid; justify-items: start; gap: 12px; }
.band p { margin: 0 0 8px; max-width: 32em; font-weight: 600; }

/* Footer */
.foot { background: var(--deep); border-top: 1px solid rgba(216, 169, 74, .55); padding-block: clamp(36px, 5vw, 64px) 20px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font: 600 .9rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.foot__col { display: grid; gap: 0; align-content: start; font-size: .98rem; }
.foot__col p, .foot__brand p { margin: 0 0 6px; color: var(--muted); }
.foot__brand p { margin-top: 12px; max-width: 18em; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__base { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot__base p { margin: 0; }

.wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }

/* Inner pages */
.head { padding-top: clamp(36px, 5vw, 72px); padding-bottom: 8px; }
.head__sub { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-top: 16px; }
.vhero { padding-block: clamp(32px, 5vw, 72px); }
.vhero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.vhero__area { color: var(--gold); font: 600 1.2rem var(--display); margin: 8px 0 0; }
.vhero__lede { font-size: 1.15rem; color: var(--muted); max-width: 30em; margin-top: 14px; }
.petal--hero { aspect-ratio: 4 / 5; width: min(100%, 460px); justify-self: center; }
.ledger { margin: 24px 0 0; padding: 6px 22px; background: var(--deep); border-radius: var(--r); display: grid; }
.ledger div { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.ledger div:last-child { border-bottom: 0; }
.ledger dt { color: var(--muted); font-size: .9rem; font-weight: 600; padding-top: 2px; }
.ledger dd { margin: 0; }
.ledger a { text-underline-offset: 3px; font-weight: 600; }
.inside { background: var(--deep); }
.inside h2 { margin-bottom: 22px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mosaic figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.mosaic figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border-radius: 100% 0 100% 0 / 60% 0 60% 0; }
.mosaic figure:nth-child(4) { border-radius: 0 40% 0 40% / 0 30% 0 30%; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.note { color: var(--muted); font-size: .95rem; margin-top: 16px; }
.note a { color: var(--ink); font-weight: 600; }
.quotesec h2 { margin-bottom: 4px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-block: 22px 8px; }
.quotes blockquote { margin: 0; padding: 24px; background: var(--surface); border-radius: var(--r); }
.quotes blockquote p { font: 500 1.25rem/1.35 var(--display); margin-bottom: 10px; }
.quotes footer { color: var(--muted); font-size: .92rem; }
.find { background: var(--deep); }
.find__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
.find h2 { margin-bottom: 18px; }
.find address { font-style: normal; margin-bottom: 14px; color: var(--muted); }
.contact { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 0; }
.contact li { display: flex; gap: 10px; align-items: center; }
.contact--big { font-size: 1.1rem; margin-top: 26px; }
.map { border-radius: var(--r); overflow: hidden; min-height: 380px; background: var(--bg); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: invert(.9) hue-rotate(160deg) saturate(.7); }

/* Gallery and RSVP */
.all .masonry { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.all .tile { margin: 0; }
.all .tile__open { aspect-ratio: 1; border-radius: 38% 0 38% 0 / 38% 0 38% 0; transition: border-radius .8s var(--ease); }
.all .tile:nth-child(even) .tile__open { border-radius: 0 38% 0 38% / 0 38% 0 38%; }
.all .tile__open:hover { border-radius: 8px; }
.all .tile__open img { height: 100%; object-fit: cover; }
.rsvp { padding-top: clamp(36px, 5vw, 72px); }
.rsvp__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.rsvp__card { background: var(--deep); border-radius: 18px; padding: clamp(20px, 3vw, 36px); }
.rsvp__card .form input[type="text"], .rsvp__card .form input[type="tel"], .rsvp__card .form input[type="email"], .rsvp__card .form input[type="date"], .rsvp__card .form input[type="number"], .rsvp__card .form select, .rsvp__card .form textarea { background: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  .tree, .rose, .hero h1, .hero__sub, .halls, .hero .actions, .hero__rating { animation: none; }
  .br, .bloom { animation: none; stroke-dashoffset: 0; }
  .petal, .petal img, .btn, .hall, .logo .mark, .all .tile__open { transition: none; }
  @view-transition { navigation: none; }
}

@media (max-width: 960px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 8px var(--gutter) 22px; display: none; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 14px; }
  .hero { min-height: 0; align-items: flex-start; padding-top: 36px; padding-bottom: 420px; }
  .hero__tree { top: auto; height: 440px; right: -12%; width: 124%; }
  .vhero__grid, .two__grid, .said__grid, .find__grid, .rsvp__grid { grid-template-columns: 1fr; }
  .vcol--low { margin-top: 0; }
  .roses__row { grid-template-columns: 1fr 1fr; }
  .roses__row li + li { border-left: 0; }
  .roses__row li:nth-child(even) { border-left: 1px solid var(--line); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .all .masonry { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .vcol { grid-template-columns: 1fr; } .vcol__photo { max-width: 260px; } .foot__grid { grid-template-columns: 1fr; } .ledger div { grid-template-columns: 1fr; gap: 2px; } .roses__row { grid-template-columns: 1fr; } .roses__row li:nth-child(even) { border-left: 0; } .roses__row li + li { border-top: 1px solid var(--line); } }

/* ===== premium layer ===== */
:root { --pm-nav-bg: rgba(27, 10, 35, .74); --pm-nav-line: rgba(216, 169, 74, .4); --pm-nav-ink: #fbf2f6; --pm-nav-hover: rgba(251, 242, 246, .1); --pm-nav-current: rgba(240, 143, 176, .24); --pm-menu-bg: rgba(27, 10, 35, .95); --pm-tint: rgba(10, 2, 16, .62); --pm-ring-bg: rgba(251, 242, 246, .06); --pm-ring-line: rgba(216, 169, 74, .38); --pm-spot: rgba(240, 143, 176, .22); --pm-grain-blend: overlay; }
/* Premium layer (from the high-end visual design, redesign and GSAP skills), shared by every event-centre option.
   Appended to an option's styles.src.css after a per-option variable block that sets the --pm-* tokens:
     --pm-nav-bg --pm-nav-line --pm-nav-ink --pm-nav-hover --pm-nav-current --pm-menu-bg --pm-tint --pm-ring-bg --pm-ring-line
     --pm-spot --pm-grain-blend --pm-shadow
   It gives: a floating glass nav pill with a morphing burger and a staggered full-screen menu, button-in-button CTAs, double-bezel
   rings on large photographs (class .pm-ring, added by premium.js), cursor spotlight on quote cards (.spot), a fixed grain overlay,
   and spring easing. Layers: nav 60, menu overlay 70, whatsapp 40, grain 80. Motion lives in assets/js/motion.js (GSAP). */
:root { --spring: cubic-bezier(.32, .72, 0, 1); --r-out: 28px; --r-in: 21px; }
html { scroll-padding-top: 110px; }
body { overflow-x: clip; }
main > section:first-child { padding-top: calc(var(--nav-h, 66px) + 78px); }

/* Floating glass nav (blur on a pseudo-element so the menu overlay can stay position: fixed) */
.top { position: fixed !important; z-index: 60; top: 16px; left: 0; right: 0; margin-inline: auto; width: min(1080px, 100% - 28px); background: none !important; border: 0 !important; box-shadow: none !important; color: var(--pm-nav-ink); }
.top::after { display: none !important; }
.top__pill { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 8px 10px 8px 20px; border-radius: 999px; }
.top__pill::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--pm-nav-bg); border: 1px solid var(--pm-nav-line); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .14), 0 24px 50px -26px var(--pm-tint); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
.top .logo { color: var(--pm-nav-ink); }
.top .nav { display: flex; align-items: center; gap: 4px; }
.top .nav a:not(.btn) { color: var(--pm-nav-ink); text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 0; font-weight: 500; transition: background .5s var(--spring); }
.top .nav a:not(.btn):hover { background: var(--pm-nav-hover); }
.top .nav a[aria-current="page"]:not(.btn) { background: var(--pm-nav-current); }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--pm-nav-hover); color: var(--pm-nav-ink); cursor: pointer; z-index: 80; }
.burger { position: absolute; inset: 0; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .6s var(--spring); }
.burger i:nth-child(1) { top: 19px; } .burger i:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Buttons: pills with a nested icon island */
.btn { gap: 14px; border-radius: 999px; transition: background .5s var(--spring), color .5s var(--spring), border-color .5s var(--spring), transform .4s var(--spring); }
.btn:has(.btn__i) { padding: 6px 6px 6px 26px; }
.btn:active { transform: scale(.98); }
.btn__i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, currentColor 16%, transparent); transition: transform .5s var(--spring); }
.btn__i .i { width: 1.1em; height: 1.1em; }
.btn:hover .btn__i { transform: translate(2px, -1px) scale(1.06); }
.btn--lg:has(.btn__i) { padding: 7px 7px 7px 30px; }
.btn--lg .btn__i { width: 44px; height: 44px; }
.btn--sm:has(.btn__i) { padding: 4px 4px 4px 20px; }
.btn--sm .btn__i { width: 34px; height: 34px; }

/* Double-bezel rings on large photographs (added by premium.js) and spotlight cards */
.pm-ring { box-shadow: 0 0 0 6px var(--pm-ring-bg), 0 0 0 7px var(--pm-ring-line), 40px 80px -36px var(--pm-tint); }
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), var(--pm-spot), transparent 62%); opacity: 0; transition: opacity .6s var(--spring); }
.spot:hover::after { opacity: 1; }

.grain { position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .05; background: url("assets/img/grain.png"); mix-blend-mode: var(--pm-grain-blend, overlay); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }

@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .top .nav { position: fixed; z-index: 70; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 90px var(--gutter, 20px) 40px; background: var(--pm-menu-bg); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity .6s var(--spring), visibility 0s .6s; }
  .top .nav.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--spring), visibility 0s; }
  .top .nav a:not(.btn) { font: 600 2.1rem var(--display); padding: 10px 24px; transform: translateY(40px); opacity: 0; transition: transform .8s var(--spring), opacity .8s var(--spring); }
  .top .nav.is-open a { transform: none; opacity: 1; }
  .top .nav.is-open a:nth-child(1) { transition-delay: .1s; } .top .nav.is-open a:nth-child(2) { transition-delay: .17s; } .top .nav.is-open a:nth-child(3) { transition-delay: .24s; } .top .nav.is-open a:nth-child(4) { transition-delay: .31s; } .top .nav.is-open a:nth-child(5) { transition-delay: .38s; }
  .top .nav .nav__cta { margin-top: 22px; font: 600 1.1rem var(--body); transform: translateY(40px); opacity: 0; }
  .top .nav.is-open .nav__cta { transform: none; opacity: 1; }
}
@media (max-width: 480px) { .top .logo__sub, .top .logo__words small { display: none; } }

/* rings: large photographs and cards get the double-bezel look */
.mosaic figure, .rsvp__card, .glance, .said__lead { box-shadow: 0 0 0 6px var(--pm-ring-bg), 0 0 0 7px var(--pm-ring-line), 40px 80px -36px var(--pm-tint); }

/* ===== nav variant ===== */
@media (min-width: 901px) {
  .top { width: auto; top: 0; pointer-events: none; }
  .top__pill { padding: 20px 28px; min-height: 0; justify-content: flex-start; }
  .top__pill::before { display: none; }
  .top .logo { pointer-events: auto; }
  .top .logo__words small { display: none; }
  .top .nav { pointer-events: auto; position: fixed; z-index: 60; bottom: 22px; left: 50%; transform: translateX(-50%); gap: 4px; padding: 8px; border-radius: 999px; background: var(--pm-nav-bg); border: 1px solid var(--pm-nav-line); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); }
  .top .nav a:not(.btn) { padding: 10px 20px; }
  .wa { bottom: 24px; }
}

/* ===== footer variant ===== */
.foot { padding-bottom: clamp(104px, 11vw, 132px) !important; }
.foot a { color: inherit; text-decoration: none; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: .92rem; }
.ft-legal a, .ft-links a { display: inline-flex; align-items: center; min-height: 44px; }
.ft-legal a:hover, .ft-links a:hover { text-decoration: underline; }
.ft-links { display: flex; flex-wrap: wrap; gap: 2px 22px; }

.foot { background: #160720 !important; border-top: 1px solid rgba(216, 169, 74, .55) !important; text-align: center; }
.ft { display: grid; justify-items: center; gap: 6px; }
.ft__mark .mark { width: 54px; height: 54px; color: var(--gold); }
.ft .ft-links { justify-content: center; align-items: center; gap: 0 14px; font-weight: 600; }
.ft .ft-links i { font-style: normal; color: var(--gold); }
.ft__addr { margin: 8px 0 0; color: var(--muted); max-width: 54ch; }
.ft .ft-legal { justify-content: center; color: var(--muted); }
.ft__copy { margin: 0; font-size: .86rem; color: var(--muted); opacity: .8; }

/* Shared components for both Havilah options: RSVP form, gallery grid, lightbox, reveal.
   Relies on tokens defined by each option: --bg --ink --muted --line --line-strong --accent --accent-ink --surface --surface-2 --r */

[hidden] { display: none !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* RSVP form */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 650; font-size: .95rem; padding: 0; }
.field .opt, .hint { color: var(--muted); font-weight: 400; font-size: .88rem; }
.hint { margin: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form input[type="number"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 12px 14px; min-height: 48px;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: transparent; }
.field.has-error input, .field.has-error select { border-color: var(--danger, #c0261c); }
.err { margin: 0; color: var(--danger, #c0261c); font-size: .9rem; font-weight: 600; }
.field--radios, .field--branch { gap: 8px; }
.field--radios, .field--branch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.field--radios legend, .field--branch legend { width: 100%; margin-bottom: 2px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); font-weight: 600; font-size: .95rem; cursor: pointer; }
.radio input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.radio input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-strong); font-weight: 550; }
.status a { text-underline-offset: 3px; font-weight: 700; }
.form button:disabled { opacity: .6; cursor: progress; }
.done { display: grid; gap: 10px; }
.done h2 { font-size: 1.7rem; }
.done p { margin: 0; color: var(--muted); }
.done a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* Gallery grid */
.all__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 600; font-size: .92rem; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.masonry { columns: 3 260px; column-gap: 18px; }
.tile { break-inside: avoid; margin: 0 0 18px; }
.tile__open { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.tile__open img { width: 100%; height: auto; display: block; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.tile__open:hover img, .tile__open:focus-visible img { transform: scale(1.04); }
.tile__open:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile figcaption { padding-top: 8px; display: grid; gap: 1px; font-size: .95rem; }
.tile figcaption small { color: var(--muted); font-size: .8rem; }
.note { color: var(--muted); font-size: .9rem; margin-top: 18px; }
.note a { color: var(--ink); text-underline-offset: 3px; }

/* Lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; color: #fff; }
.lb::backdrop { background: rgba(8, 10, 12, .92); }
.lb[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb__fig { margin: 0; display: grid; gap: 10px; justify-items: center; max-height: 100dvh; padding: 24px 0; }
.lb__fig img { max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: var(--r); }
.lb__fig figcaption { color: #dfe5e8; font-size: .95rem; text-align: center; padding-inline: 12px; }
.lb__nav, .lb__x { background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; justify-self: center; }
.lb__nav:hover, .lb__x:hover { background: rgba(255, 255, 255, .24); }
.lb__nav:focus-visible, .lb__x:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb__x { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lb .i { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; column-gap: 12px; }
  .lb[open] { grid-template-columns: 1fr; }
  .lb__nav { position: absolute; bottom: 16px; }
  .lb__nav--prev { left: 16px; }
  .lb__nav--next { right: 16px; }
}

/* Picture wrappers must not break layouts that size the image from its parent */
picture { display: contents; }

/* Policy and 404 pages */
.legal { padding-top: clamp(32px, 5vw, 64px); }
.legal__wrap { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal__meta { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 30px 0 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--ink); max-width: 68ch; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1rem; }
.legal a { text-underline-offset: 3px; font-weight: 600; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.consent { margin: 0; font-size: .88rem; color: var(--muted); }
.consent a { color: var(--ink); text-underline-offset: 3px; font-weight: 600; }

/* Click-to-load map */
.map__ph { height: 100%; min-height: 380px; display: grid; align-content: center; justify-items: start; gap: 6px; padding: clamp(20px, 4vw, 40px); }
.map__ph p { max-width: 30em; color: var(--muted); margin: 0; }
.map__ph a:not(.btn) { color: var(--ink); text-underline-offset: 3px; font-weight: 600; }

/* Tap targets: links in lists and footers are at least 44px tall */
.foot__col a, .contact a, .foot a { display: inline-flex; align-items: center; min-height: 44px; }
.contact { gap: 0 !important; }
.foot__col { gap: 0 !important; }

/* Floating WhatsApp collapses to an icon on phones so it never covers content */
@media (max-width: 700px) {
  .wa { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .wa .i { width: 26px; height: 26px; }
}
