/* Whitestone option 1: the portico. Marble white, ink navy, one azure accent taken from the daytime sky behind the facade.
   Cormorant Garamond for display, Figtree for text, both self-hosted. One light theme, sharp 2px corners (stone, not pills).
   Motion: the facade drawing strokes itself in, scrollwork draws on scroll, photos reveal, cross-page view transitions. All off under reduced motion. */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/cormorant-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("assets/fonts/cormorant-500i.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("assets/fonts/figtree.woff2") format("woff2"); }

@view-transition { navigation: auto; }

:root {
  color-scheme: light;
  --bg: #f3f4f2; --surface: #ffffff; --surface-2: #e6e8e8;
  --ink: #141a24; --muted: #525d6e; --line: rgba(20, 26, 36, .16); --line-strong: rgba(20, 26, 36, .5);
  --navy: #101826; --accent: #1d4a8c; --accent-ink: #ffffff; --danger: #b3261e;
  --display: "Cormorant Garamond", Georgia, serif; --body: "Figtree", system-ui, sans-serif;
  --r: 14px; --r-out: 28px; --r-in: 21px; --nav-h: 64px; --spring: cubic-bezier(.32, .72, 0, 1); --tint: 40px 80px -36px rgba(29, 74, 140, .32); --max: 1180px; --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; caret-color: var(--accent); overflow-x: clip; }
::selection { background: var(--ink); color: var(--bg); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 500; letter-spacing: -0.012em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.2vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
em { font-style: italic; }
p { margin: 0 0 1rem; max-width: 66ch; }
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(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; border-radius: var(--r); font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.band :focus-visible, .foot :focus-visible, .night :focus-visible { outline-color: #fff; }
section { padding-block: clamp(72px, 10vw, 150px); }
main > section:first-child:not(.hero) { padding-top: calc(var(--nav-h) + 90px); }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.link { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); }
.link .i { transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(5px); }

/* Double bezel: an outer tray and an inner plate with concentric radii */
.bezel { position: relative; margin: 0; padding: 7px; border-radius: var(--r-out); background: rgba(20, 26, 36, .04); border: 1px solid rgba(20, 26, 36, .1); box-shadow: var(--tint); }
.bezel__in { display: block; position: relative; border-radius: var(--r-in); overflow: hidden; background: var(--surface); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9); }
.bezel__in img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-flex; align-items: center; margin: 0 0 6px; padding: 7px 15px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 .74rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

/* Buttons: pills with a nested icon island */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; 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: rgba(255, 255, 255, .18); transition: transform .5s var(--spring); }
.btn:hover .btn__i { transform: translate(2px, -1px) scale(1.06); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #163a70; }
.btn--line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--quiet { color: var(--ink); text-decoration: underline; padding: 0 10px; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light .btn__i { background: rgba(16, 24, 38, .1); }
.btn--light:hover { background: var(--surface-2); }
.btn--lg { min-height: 58px; font-size: 1.05rem; }
.btn--lg:has(.btn__i) { padding: 7px 7px 7px 30px; }
.btn--lg .btn__i { width: 44px; height: 44px; }
.btn--sm { min-height: 42px; font-size: .96rem; }
.btn--sm:has(.btn__i) { padding: 4px 4px 4px 20px; }
.btn--sm .btn__i { width: 34px; height: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* Floating glass nav (the blur sits on a pseudo-element so the menu overlay can stay position: fixed) */
.top { position: fixed; z-index: 60; top: 16px; left: 0; right: 0; margin-inline: auto; width: min(1080px, 100% - 28px); view-transition-name: header; }
.top__pill { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--nav-h); padding: 8px 10px 8px 20px; border-radius: 999px; }
.top__pill::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(250, 251, 250, .72); border: 1px solid rgba(20, 26, 36, .1); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 24px 50px -26px rgba(29, 74, 140, .4); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo .mark { width: 38px; height: auto; }
.logo__words { display: grid; line-height: 1; }
.logo__words b { font: 600 1.45rem var(--display); letter-spacing: .02em; }
.logo__words small { font: 500 .75rem var(--body); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; padding: 10px 18px; border-radius: 999px; transition: background .5s var(--spring); }
.nav a:not(.btn):hover { background: rgba(20, 26, 36, .06); }
.nav a[aria-current="page"]:not(.btn) { background: rgba(29, 74, 140, .1); color: var(--accent); }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(20, 26, 36, .06); color: var(--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); }

/* Hero: marble, a huge name, the facade photograph and its drawn outline */
.hero { position: relative; padding: 0; overflow: hidden; background: var(--bg) url("assets/marble.jpg") center / cover; isolation: isolate; }
.hero__line { position: absolute; z-index: -1; right: -12%; bottom: 0; width: min(1150px, 100%); color: rgba(20, 26, 36, .09); }
.portico { display: block; width: 100%; height: auto; }
.portico .ln { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) forwards; animation-delay: calc(var(--t, 0) * .15s + .2s); }
.t0 { --t: 0; } .t1 { --t: 1; } .t2 { --t: 2; } .t3 { --t: 3; } .t4 { --t: 4; } .t5 { --t: 5; } .t6 { --t: 6; } .t7 { --t: 7; } .t8 { --t: 8; } .t9 { --t: 9; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 80px); align-items: end; min-height: min(860px, 100dvh); }
.hero__copy { display: grid; gap: 22px; justify-items: start; padding-block: clamp(120px, 12vw, 170px) clamp(40px, 6vw, 88px); }
.hero h1 { display: grid; gap: 14px; }
.hero__name { font-size: clamp(3.8rem, 11.5vw, 10rem); font-weight: 500; letter-spacing: -0.03em; line-height: .86; }
.hero h1 em { font: 500 italic clamp(1.5rem, 2.8vw, 2.4rem)/1.1 var(--display); color: var(--accent); }
.hero__sub { font-size: 1.15rem; color: var(--muted); margin: 0; max-width: 34em; }
.hero__rating { margin: 0; color: var(--muted); font-size: .98rem; }
.hero__photo { margin: 0; align-self: end; aspect-ratio: 4 / 5.2; clip-path: polygon(0 16%, 50% 0, 100% 16%, 100% 100%, 0 100%); background: var(--surface-2); max-height: 86vh; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Pediment-framed photographs */
.pedi { margin: 0; aspect-ratio: 4 / 5; clip-path: polygon(0 17%, 50% 0, 100% 17%, 100% 100%, 0 100%); background: var(--surface-2); }
.pedi img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pedi:hover img { transform: scale(1.04); }

/* Marquee */
.marquee { padding: 0; background: var(--navy); color: #eef2f7; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .08); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: slide 46s linear infinite; }
.marquee__track span { font: 500 italic clamp(2rem, 4.4vw, 3.6rem)/1 var(--display); padding: clamp(18px, 2.4vw, 30px) clamp(24px, 3vw, 44px); white-space: nowrap; }
.marquee__track span::after { content: "\2022"; margin-left: clamp(24px, 3vw, 44px); color: #6f93cf; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* The colonnade: five slabs that open on hover or focus */
.colonnade { padding-inline: 0; }
.colonnade__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.colonnade__head p { margin: 0; color: var(--muted); }
.cols { display: flex; height: clamp(440px, 74vh, 700px); gap: 6px; padding-inline: var(--gutter); }
.col { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; transition: flex-grow .7s var(--ease); background: var(--navy); border-radius: var(--r); }
.col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.col::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 12, 20, .86), rgba(8, 12, 20, .06) 62%); }
.cols:not(:hover):not(:focus-within) .col:first-child, .cols .col:hover, .cols .col:focus-visible { flex-grow: 4.2; }
.col:hover img, .col:focus-visible img { transform: scale(1.05); }
.col__name { position: absolute; inset: 0; padding: 18px 12px 22px; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: flex-start; justify-content: flex-start; font: 500 1.7rem var(--display); letter-spacing: .02em; transition: opacity .3s; }
.col__more { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .4s .15s, transform .5s .15s var(--ease); font-size: 1.02rem; }
.col__more b { font: 500 clamp(1.7rem, 2.6vw, 2.5rem)/1 var(--display); display: block; margin-bottom: 4px; }
.col__more i { font-style: normal; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.cols:not(:hover):not(:focus-within) .col:first-child .col__more, .cols .col:hover .col__more, .cols .col:focus-visible .col__more { opacity: 1; transform: none; }
.cols:not(:hover):not(:focus-within) .col:first-child .col__name, .cols .col:hover .col__name, .cols .col:focus-visible .col__name { opacity: 0; }
.col:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }

/* Night */
.night { position: relative; overflow: hidden; padding: 0; min-height: clamp(420px, 70vh, 700px); display: grid; align-items: end; color: #fff; isolation: isolate; }
.night__photo { position: absolute; inset: 0; margin: 0; z-index: -2; }
.night__photo img { width: 100%; height: 100%; object-fit: cover; }
.night::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 12, 20, .88), rgba(8, 12, 20, .05) 65%); }
.night__txt { display: grid; gap: 8px; justify-items: start; padding-block: clamp(28px, 5vw, 64px); }
.night h2 { max-width: 14ch; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.night .link { color: #fff; }

/* Guests' words on dark marble */
.voices { background: var(--navy) url("assets/marble-dark.jpg") center / cover; color: #eef2f7; }
.voices__lead { margin: 0 auto; text-align: center; max-width: 24em; }
.voices__lead p { font: 500 italic clamp(2rem, 4.2vw, 3.4rem)/1.15 var(--display); margin: 0 auto 20px; }
.voices footer { color: #a9b8d0; font-size: .92rem; }
.voices__row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 5vw, 72px); border-top: 1px solid rgba(255, 255, 255, .22); }
.voices__row blockquote { margin: 0; padding: 28px clamp(16px, 2.4vw, 32px) 0; border-left: 1px solid rgba(255, 255, 255, .22); }
.voices__row blockquote:first-child { border-left: 0; padding-left: 0; }
.voices__row p { font: 500 1.4rem/1.35 var(--display); margin-bottom: 12px; }
.voices__note { text-align: center; margin: 36px auto 0; color: #a9b8d0; font-size: .95rem; max-width: 60ch; }
.voices__note a { color: #fff; font-weight: 600; }

/* Bento */
.bento__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 28px; }
.bento__grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; grid-template-rows: 300px 300px; gap: 14px; }
.bento__grid figure { margin: 0; }
.bento__grid .bezel__in { height: 100%; }
.bento__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__grid figure:hover img { transform: scale(1.05); }
.b1 { grid-column: 1; grid-row: 1; } .b2 { grid-column: 2; grid-row: 1 / 3; } .b3 { grid-column: 3; grid-row: 1 / 3; } .b4 { grid-column: 1; grid-row: 2; }

/* Band: dark marble with the facade drawn in white */
.band { position: relative; overflow: hidden; background: var(--navy) url("assets/marble-dark.jpg") center / cover; color: #f3f4f2; text-align: center; isolation: isolate; padding-top: clamp(90px, 12vw, 190px); }
.band__art { position: absolute; z-index: -1; left: 50%; top: 6%; width: min(980px, 130%); transform: translateX(-50%); color: rgba(255, 255, 255, .22); }
.band__inner { display: grid; justify-items: center; gap: 12px; }
.band h2 { font-size: clamp(3rem, 8vw, 7rem); }
.band p { color: #c9d0dc; margin: 0 0 12px; }

/* Venue */
.vhead { padding-bottom: clamp(24px, 4vw, 56px); }
.vhead__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.vhead__lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin: 18px 0 26px; }
.vlayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 7vw, 100px); }
.vmain > section { padding-block: 0 clamp(40px, 5vw, 72px); }
.vmain h2 { margin-bottom: 22px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mosaic figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); border-radius: var(--r); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.note { color: var(--muted); font-size: .95rem; max-width: 62ch; }
.note a { color: var(--accent); font-weight: 600; }
.quotes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.quotes blockquote { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.quotes p { font: 500 1.5rem/1.3 var(--display); margin-bottom: 6px; }
.quotes footer { color: var(--muted); font-size: .92rem; }
address { font-style: normal; margin-bottom: 18px; font-size: 1.1rem; }
.map { background: var(--surface); border: 1px solid var(--line); min-height: 380px; border-radius: var(--r); overflow: hidden; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.glance { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 18px; border-radius: var(--r); }
.glance h2 { font-size: 1.9rem; }
.glance dl { margin: 0; display: grid; gap: 14px; }
.glance dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 2px 0 0; }
.glance a:not(.btn) { color: var(--accent); font-weight: 600; }

/* Page heads, occasions */
.phead { text-align: center; padding-bottom: clamp(24px, 4vw, 48px); }
.phead__lede { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin: 18px auto 0; }
.occ__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.occ { padding-block: clamp(36px, 5vw, 72px); }
.occ:nth-of-type(odd) { background: var(--surface); }
.occ--flip .occ__grid { grid-template-columns: 6fr 5fr; }
.occ--flip .pedi { order: 2; }
.occ h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 6vw, 88px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; cursor: pointer; font: 500 1.4rem var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .3s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* RSVP, gallery */
.rsvp__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.rsvp__intro .phead__lede { margin-inline: 0; }
.rsvp__card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); border-radius: var(--r); }
.contact { list-style: none; padding: 0; margin: 22px 0 0; display: grid; }
.contact li { display: flex; align-items: center; gap: 12px; }
.contact a { font-weight: 600; color: var(--accent); }
.btn--primary:focus-visible { outline-color: var(--ink); }

/* Footer */
.foot { background: var(--navy); color: #d7dce6; padding-block: clamp(48px, 6vw, 80px) 24px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot h2 { font: 600 .78rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: #9fb0c8; margin-bottom: 12px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.foot__col { display: grid; align-content: start; }
.foot__col p { margin: 0 0 8px; max-width: 28ch; }
.logo--foot { color: #f3f4f2; margin-bottom: 14px; }
.logo--foot small { color: #9fb0c8; }
.foot__brand p { color: #9fb0c8; max-width: 30ch; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: #9fb0c8; }
.foot__base p { margin: 0; }


/* Glass cards on dark marble */
.voices__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.voices .bezel { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: 40px 80px -40px rgba(0, 0, 0, .6); }
.voices .bezel__in { height: 100%; padding: clamp(24px, 3vw, 38px); background: rgba(10, 16, 28, .78); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .14); display: grid; align-content: space-between; gap: 20px; }
.voices blockquote { margin: 0; }
.voices .bezel__in p { margin: 0; font: 500 1.4rem/1.35 var(--display); max-width: none; }
.v1 { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.v1 .bezel__in p { font: 500 italic clamp(2rem, 3.6vw, 3rem)/1.15 var(--display); }
.v2, .v3 { grid-column: 8 / span 5; } .v4 { grid-column: 1 / -1; }
.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%), rgba(150, 185, 255, .2), transparent 62%); opacity: 0; transition: opacity .6s var(--spring); }
.spot:hover::after { opacity: 1; }
.glance, .rsvp__card, .map, .mosaic figure { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), var(--tint); border-radius: var(--r-out); }
.mosaic figure { border-radius: 22px; box-shadow: none; }
.grain { position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .05; background: url("assets/img/grain.png"); mix-blend-mode: multiply; }

/* WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, .5); }
.wa:hover { background: #1b2740; }

@media (prefers-reduced-motion: reduce) {
  .portico .ln, .flourish .fl { animation: none !important; stroke-dashoffset: 0 !important; }
  .marquee__track { animation: none; }
  .col, .col img, .col__more, .bento__grid img { transition: none; }
  .pedi img, .thumb img, .link .i, .btn { transition: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { max-width: 460px; width: 100%; margin-inline: auto; max-height: none; }
  .cols { flex-direction: column; height: auto; }
  .col { flex: none; height: 200px; transition: height .6s var(--ease); }
  .cols:not(:hover):not(:focus-within) .col:first-child, .cols .col:hover, .cols .col:focus-visible { flex-grow: 0; height: 340px; }
  .col__name { writing-mode: horizontal-tb; transform: none; align-items: flex-end; font-size: 1.6rem; }
  .bento__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .b1, .b2, .b3, .b4 { grid-column: auto; grid-row: auto; height: 220px; }
  .b1, .b4 { grid-column: 1 / -1; }
  .front__grid, .vhead__grid, .occ__grid, .occ--flip .occ__grid, .faq__grid, .rsvp__grid { grid-template-columns: 1fr; }
  .occ--flip .pedi { order: 0; }
  .pedi { max-width: 440px; width: 100%; margin-inline: auto; }
  .vlayout { grid-template-columns: 1fr; }
  .glance { position: static; }
  .frieze__list li { grid-template-columns: 1fr; grid-template-areas: "t" "p" "a" "f"; row-gap: 8px; }
  .thumb { max-width: 360px; margin-top: 8px; }
  .foot__grid { grid-template-columns: 1fr; }
  .menu-btn { display: inline-block; }
  .nav { position: fixed; z-index: 70; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 90px var(--gutter) 40px; background: rgba(243, 244, 242, .93); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity .6s var(--spring), visibility 0s .6s; }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--spring), visibility 0s; }
  .nav a:not(.btn) { font: 500 2.5rem var(--display); padding: 10px 24px; transform: translateY(40px); opacity: 0; transition: transform .8s var(--spring), opacity .8s var(--spring); }
  .nav.is-open a { transform: none; opacity: 1; }
  .nav.is-open a:nth-child(1) { transition-delay: .1s; } .nav.is-open a:nth-child(2) { transition-delay: .17s; } .nav.is-open a:nth-child(3) { transition-delay: .24s; } .nav.is-open a:nth-child(4) { transition-delay: .31s; }
  .nav .nav__cta { margin-top: 22px; font: 600 1.1rem var(--body); transform: translateY(40px); opacity: 0; }
  .nav.is-open .nav__cta { transform: none; opacity: 1; }
  .voices__grid { grid-template-columns: 1fr; }
  .v1, .v2, .v3, .v4 { grid-column: auto; grid-row: auto; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .logo__words small { display: none; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
}

/* ===== 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: #101826; color: #d7dce6; text-align: center; padding-top: clamp(56px, 7vw, 96px) !important; }
.ft { display: grid; justify-items: center; gap: 10px; }
.ft__ped { width: min(300px, 70vw); height: auto; fill: none; stroke: #8fa6c4; stroke-width: 1.4; margin-bottom: 8px; }
.ft__say { margin: 0; font: 500 italic clamp(2.4rem, 6vw, 4.6rem)/1.05 "Cormorant Garamond", Georgia, serif; color: #fff; }
.ft__addr { margin: 0 0 12px; color: #9fb0c8; }
.ft__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 14px; }
.ft__pills a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; transition: background .5s cubic-bezier(.32, .72, 0, 1), color .5s; }
.ft__pills a:hover { background: #fff; color: #101826; }
.ft .ft-links, .ft .ft-legal { justify-content: center; }
.ft .ft-legal { margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); width: min(640px, 100%); color: #9fb0c8; }
.ft__copy { margin: 0; color: #7f93b0; font-size: .88rem; }

/* 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; }
}
