/* COPY of components/site/site.css (13 Oct 2026) for the marketing sample wedding at /sample-wedding.
   The sample must look exactly like a published site, so this is the real stylesheet, untouched.
   If the guest site's look changes, re-copy it: cp components/site/site.css public/www/sample/site.css (and keep this header). */
/* ── The wedding website ─────────────────────────────────────────────────
   Everything the guest sees. Plain CSS, not Tailwind, because every value
   is a theme variable and the layout answers to the SITE's width, not the
   browser's: the builder draws the same page in a 390px phone frame beside
   a desktop one, so the breakpoints are container queries on `.ws`.

   Theme variables (set inline by SiteRenderer):
   --paper --ink --muted --line --soft --accent --on-accent
   --head --body --head-track --head-weight --scale --r (buttons) --ri (images)
   --vh (the visible height of whatever the site is drawn in) */

.ws {
  container: site / inline-size;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ws *, .ws *::before, .ws *::after { box-sizing: border-box; }
.ws { overflow-x: clip; --safe-top: 0px; --safe-bottom: 0px; }
.ws-phone { --safe-top: 44px; --safe-bottom: 20px; }
.ws-layer { position: absolute; inset: 0; pointer-events: none; background: transparent !important; min-height: 0 !important; overflow: visible; z-index: 50; }
.ws-layer > * { pointer-events: auto; }
.ws-phone, .ws-phone * { scrollbar-width: none; }
.ws-phone::-webkit-scrollbar, .ws-phone *::-webkit-scrollbar { display: none; }
.ws :where(img) { display: block; max-width: 100%; }
.ws :where(a) { color: inherit; }
.ws :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.ws ::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

.ws-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(24px, 4cqi, 72px); }
.ws-narrow { max-width: 760px; }
.ws-section { padding: 120px 0; scroll-margin-top: 64px; }
/* Every section keeps its full padding top and bottom: that spacing is the
   approved look (a tighter "section after section" rule sat here and never
   applied, 3 Oct). */

/* ── type ── */
.ws-h { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.04; margin: 0; text-wrap: balance; }
.ws-upper .ws-h { text-transform: uppercase; letter-spacing: calc(var(--head-track) + 0.06em); }
.ws-h1 { font-size: calc(clamp(36px, 4.4cqi, 72px) * var(--scale)); }
.ws-h2 { font-size: calc(clamp(28px, 3cqi, 40px) * var(--scale)); }
.ws-h3 { font-size: calc(clamp(22px, 1.9cqi, 27px) * var(--scale)); line-height: 1.15; }
.ws-kicker { display: block; color: var(--muted); font-size: 16px; margin: 0 0 14px; }
.ws-caps .ws-kicker { font-family: var(--body); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.ws-p { color: color-mix(in srgb, var(--ink) 86%, var(--paper)); margin: 0; text-wrap: pretty; }
.ws-p + .ws-p { margin-top: 12px; }
.ws-muted { color: var(--muted); }
.ws-center { text-align: center; }
.ws-lede { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-track); font-size: calc(clamp(24px, 2.5cqi, 34px) * var(--scale)); line-height: 1.32; text-wrap: balance; margin: 0; }
.ws-upper .ws-lede { text-transform: none; }

/* ── buttons ── */
.ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border-radius: var(--r); background: var(--accent); color: var(--on-accent); font-size: 15px; font-family: var(--body); line-height: 1; text-decoration: none; transition: transform .15s ease, opacity .15s ease, background .15s ease; white-space: nowrap; }
.ws-btn:hover { opacity: .9; }
.ws-btn:active { transform: scale(.98); }
.ws-btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
/* Optical centring: serif faces carry extra space above the letters, so a
   centred line box still looks high. Trim the text to cap height and
   alphabetic baseline, then pad to the button's height - the letters sit
   dead centre in every face. (Buttons with an icon keep the flex layout.) */
@supports (text-box: trim-both cap alphabetic) {
  .ws :where(.ws-btn:not(:has(svg))) { display: inline-block; height: auto; padding-block: calc((46px - 1cap) / 2); text-box: trim-both cap alphabetic; text-align: center; }
  .ws :where(.ws-btn-sm:not(:has(svg))) { padding-block: calc((36px - 1cap) / 2); }
  /* The same for every text-only pill (Coming / Can't come, dietary picks,
     the upload tabs): they keep their own fixed height, a button centres
     its text, and the trim makes that centre the letters' centre. */
  .ws :where(.ws-yn button, .ws-pick, .ws-up-tabs button) { text-box: trim-both cap alphabetic; }
  /* Status chips without a dot or icon (two classes: it has to beat the
     chip's own rule further down). */
  .ws .ws-chip:not(:has(i, svg)) { display: inline-block; height: auto; padding-block: calc((26px - 1cap) / 2); text-box: trim-both cap alphabetic; }
}
.ws-btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 28%, transparent); }
.ws-btn-line:hover { opacity: 1; box-shadow: inset 0 0 0 1px var(--ink); }
.ws-caps .ws-btn { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.ws-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.ws-link:hover { text-decoration-color: var(--ink); }
.ws-email { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ws :where(.ws-copy) { font: inherit; font-size: 12px; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); background: transparent; color: var(--ink); cursor: pointer; }
.ws :where(.ws-copy:hover) { border-color: var(--ink); }

/* ── reveal on scroll ── */
.ws-rise { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.ws-rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ws-rise { opacity: 1; transform: none; transition: none; } }

/* ── top menu ── */
.ws-nav { position: sticky; top: 0; z-index: 30; height: calc(64px + var(--safe-top)); margin-bottom: calc(-64px - var(--safe-top)); padding-top: var(--safe-top); transition: background .3s ease, box-shadow .3s ease, color .3s ease; }
.ws-nav-in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.ws-nav-links { display: flex; gap: 24px; font-size: 15px; min-width: 0; overflow: hidden; }
.ws-nav-links button { white-space: nowrap; opacity: .92; }
.ws-nav-links button:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ws-caps .ws-nav-links { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
.ws-mark { font-family: var(--head); font-size: 21px; letter-spacing: var(--head-track); white-space: nowrap; font-style: italic; opacity: 0; transition: opacity .3s ease; }
.ws-upper .ws-mark { font-style: normal; text-transform: uppercase; font-size: 15px; letter-spacing: .2em; }
.ws-sans .ws-mark { font-style: normal; font-weight: 500; font-size: 18px; }
.ws-sans .ws-amp { font-style: normal; }
.ws-nav.solid .ws-mark, .ws-nav.plain .ws-mark { opacity: 1; }
.ws-nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.ws-nav.solid, .ws-nav.plain { background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ws-nav.solid { box-shadow: 0 1px 0 var(--line); }
.ws-nav.over { color: #fff; }
.ws-nav.over .ws-btn { background: #fff; color: #1a1917; }
.ws-nav.over .ws-me { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.ws-burger { display: none; width: 40px; height: 40px; margin-left: -10px; align-items: center; justify-content: center; }

/* the guest's own name, top right */
.ws-me-wrap { position: relative; }
.ws-me { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 4px; border-radius: 999px; background: var(--soft); font-size: 14px; white-space: nowrap; }
.ws-me-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; font-family: var(--body); letter-spacing: 0; }
.ws-me-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 6px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -12px rgba(0,0,0,.28); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .16s ease, transform .16s ease; text-align: left; }
.ws-me-wrap:hover .ws-me-menu, .ws-me-wrap:focus-within .ws-me-menu, .ws-me-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.ws-me-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ws-me-head { padding: 10px 12px 8px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.ws-me-head b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.ws-me-item { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; text-align: left; }
.ws-me-item:hover { background: var(--soft); }

/* phone menu sheet */
.ws-menu-sheet { position: absolute; inset: 0; z-index: 40; background: var(--paper); padding: calc(88px + var(--safe-top)) 28px calc(28px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 6px; animation: ws-fade .2s ease; }
.ws-menu-sheet button.ws-menu-link { text-align: left; font-family: var(--head); font-size: 34px; letter-spacing: var(--head-track); padding: 6px 0; }
.ws-fixed .ws-menu-sheet { position: fixed; }

/* ── hero ── */
.ws-hero { position: relative; min-height: max(560px, min(var(--vh, 100vh), 1000px)); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; }
.ws-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: ws-settle 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
.ws-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 48%, rgba(0,0,0,.42) 100%); pointer-events: none; }
.ws-hero-in { position: relative; z-index: 1; padding-bottom: 36px; }
.ws-hero-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-size: 16px; margin-bottom: 4px; }
.ws-caps .ws-hero-row { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; }
.ws-names { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: calc(var(--head-track) - .01em); line-height: .92; margin: 0; text-align: center; white-space: nowrap; font-size: calc(min(15.5cqi, 300px) * var(--scale)); }
.ws-upper .ws-names { text-transform: uppercase; font-size: calc(min(11cqi, 220px) * var(--scale)); letter-spacing: .04em; }
.ws-amp { font-style: italic; opacity: .92; padding: 0 .06em; }
.ws-count { display: inline-flex; gap: 6px; align-items: baseline; }
.ws-count b { font-family: var(--head); font-weight: var(--head-weight); font-size: 1.5em; }
@keyframes ws-settle { to { transform: scale(1); } }
@keyframes ws-fade { from { opacity: 0 } to { opacity: 1 } }

/* split */
.ws-hero-split { min-height: max(560px, min(var(--vh, 100vh), 940px)); display: grid; grid-template-columns: 1fr 1fr; color: var(--ink); background: var(--paper); }
.ws-hero-split .ws-split-text { display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 56px 56px; }
.ws-hero-split .ws-split-img { position: relative; overflow: hidden; }
.ws-cover-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.ws-cover-video.on { opacity: 1; }
.ws-hero-split .ws-split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: ws-settle 2.4s cubic-bezier(.2,.7,.2,1) forwards; transform: scale(1.04); }
.ws-split-names { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: calc(var(--head-track) - .01em); line-height: .9; margin: 18px 0 28px; font-size: calc(clamp(64px, 8.4cqi, 150px) * var(--scale)); }
.ws-upper .ws-split-names { text-transform: uppercase; font-size: calc(clamp(48px, 6.4cqi, 110px) * var(--scale)); }
.ws-split-names span { display: block; }
.ws-split-meta { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.ws-split-meta b { color: var(--ink); font-weight: 500; display: block; }

/* type only */
.ws-hero-type { min-height: max(600px, min(var(--vh, 100vh), 980px)); color: var(--ink); background: var(--paper); display: flex; align-items: center; justify-content: center; text-align: center; padding: 110px 24px 64px; }
.ws-type-names { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1; margin: 22px 0; font-size: calc(clamp(56px, 8cqi, 128px) * var(--scale)); }
.ws-upper .ws-type-names { text-transform: uppercase; }
.ws-arch { width: min(300px, 62cqi); aspect-ratio: 3 / 4; margin: 34px auto 0; border-radius: 999px 999px 0 0; overflow: hidden; }
.ws-arch img { width: 100%; height: 100%; object-fit: cover; }

/* ornaments */
.ws-orn { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--ink); margin-bottom: 28px; }
.ws-orn-rule { width: 56px; height: 1px; background: currentColor; opacity: .5; }

/* ── welcome ── */
.ws-welcome { text-align: center; padding: 140px 0 120px; }
.ws-welcome .ws-lede { max-width: 760px; margin: 0 auto; }

/* ── personal ── */
.ws-yours { background: var(--soft); border-radius: calc(var(--ri) * 2); padding: 44px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; }
.ws-yours-names { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-track); font-size: calc(clamp(30px, 3.4cqi, 46px) * var(--scale)); line-height: 1.05; margin: 0 0 14px; }
.ws-upper .ws-yours-names { text-transform: uppercase; }
.ws-yours-list { display: flex; flex-direction: column; }
.ws-yours-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.ws-yours-row:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.ws-yours-when { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.35; }
.ws-yours-what { font-size: 17px; line-height: 1.3; }
.ws-yours-what small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.ws-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 13px; white-space: nowrap; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--muted); }
.ws-chip.yes { background: color-mix(in srgb, #3d8a5a 14%, transparent); color: color-mix(in srgb, #2e7a50 80%, var(--ink)); }
.ws-chip.no { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.ws-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ws-table-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ── location ── */
.ws-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.ws-wide-img { width: 100%; aspect-ratio: 2.15; object-fit: cover; border-radius: var(--ri); }
.ws-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 36px; }
.ws-card .ws-h3 { margin-bottom: 8px; }
.ws-card .ws-p { font-size: 16px; }

/* ── timeline ── */
.ws-tl-head { text-align: center; margin-bottom: 72px; }
.ws-tl { position: relative; }
.ws-tl-track, .ws-tl-fill { position: absolute; left: 50%; width: 2px; margin-left: -1px; top: 10px; border-radius: 2px; }
.ws-tl-track { bottom: 10px; background: var(--line); }
.ws-tl-fill { height: 0; background: var(--ink); opacity: .72; transition: height .12s linear; }
.ws-tl-day { position: relative; z-index: 1; display: flex; justify-content: center; margin: 0 0 56px; }
.ws-tl-day span { background: var(--paper); padding: 6px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--muted); }
.ws-caps .ws-tl-day span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.ws-tl-item { position: relative; display: grid; grid-template-columns: 1fr 72px 1fr; margin-bottom: 72px; }
.ws-tl > div:last-of-type .ws-tl-item { margin-bottom: 0; }
.ws-tl-dot { grid-column: 2; justify-self: center; width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); position: relative; z-index: 1; transition: background .3s ease, box-shadow .3s ease, transform .3s ease; }
.ws-tl-item.on .ws-tl-dot { background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px var(--paper); transform: scale(1.08); }
.ws-tl-body { grid-row: 1; }
.ws-tl-item.r .ws-tl-body { grid-column: 3; }
.ws-tl-item.l .ws-tl-body { grid-column: 1; text-align: right; }
.ws-tl-time { color: var(--muted); font-size: 16px; font-variant-numeric: tabular-nums; }
.ws-tl-name { margin: 6px 0 4px; font-size: calc(clamp(28px, 3cqi, 40px) * var(--scale)); }
.ws-tl-place { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.ws-tl-item.l .ws-tl-place { flex-direction: row-reverse; }
.ws-tl-addr { opacity: .8; }
.ws-tl-addr::before { content: '·'; margin: 0 6px; }
.ws-tl-text { max-width: 520px; }
.ws-tl-item.l .ws-tl-text { margin-left: auto; }
.ws-tl-img { margin-top: 22px; width: 100%; aspect-ratio: 1.02; object-fit: cover; border-radius: var(--ri); }
.ws-tl-private { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-left: 10px; vertical-align: middle; }

/* ── stay ── */
.ws-stay { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ws-stay-img { width: 100%; aspect-ratio: .8; object-fit: cover; border-radius: var(--ri); }
.ws-hotel { padding: 22px 0; border-top: 1px solid var(--line); }
.ws-hotel:last-child { border-bottom: 1px solid var(--line); }
.ws-hotel-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.ws-hotel-dist { color: var(--muted); font-size: 14px; white-space: nowrap; }
.ws-hotel-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 10px; font-size: 15px; }
.ws-code { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r); background: var(--soft); font-size: 13px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* ── dress ── */
.ws-dress { text-align: center; }
.ws-dress-code { font-family: var(--head); font-style: italic; font-size: calc(clamp(40px, 5.4cqi, 76px) * var(--scale)); letter-spacing: var(--head-track); line-height: 1; margin: 18px 0 22px; }
.ws-upper .ws-dress-code { font-style: normal; text-transform: uppercase; }
.ws-swatches { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.ws-swatches i { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }

/* ── story ── */
.ws-story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.ws-story-img { width: 100%; aspect-ratio: .82; object-fit: cover; border-radius: var(--ri); }

/* ── party ── */
.ws-party { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 28px; margin-top: 44px; }
.ws-person img, .ws-person .ws-ph { width: 100%; aspect-ratio: .8; object-fit: cover; border-radius: var(--ri); margin-bottom: 14px; }
.ws-ph { background: var(--soft); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 40px; color: var(--muted); }
.ws-person .ws-muted { font-size: 15px; }

/* ── gallery ── */
.ws-gallery { --gg: 14px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: var(--gg); margin-top: 44px; }
.ws-gallery.gap-0 { --gg: 0px !important; }
.ws-gallery.gap-1 { --gg: 6px !important; }
.ws-gallery.gap-3 { --gg: 26px !important; }
.ws-g { position: relative; border-radius: var(--ri); overflow: hidden; transition: opacity .15s ease, box-shadow .15s ease; }
.ws-gallery.edge-square .ws-g { border-radius: 0; }
.ws-g img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-g-wide { grid-column: span 2; }
.ws-g-tall { grid-row: span 2; }
.ws-g-big { grid-column: span 2; grid-row: span 2; }
.ws-gallery.grid { grid-auto-rows: auto; }
.ws-gallery.grid .ws-g { aspect-ratio: 1; }
.ws-gallery.natural { display: block; }
.ws-nat { display: flex; gap: var(--gg); align-items: flex-start; }
.ws-nat > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--gg); }
.ws-nat.c2 { display: none; }
.ws-gallery.natural .ws-g img { height: auto; }
.ws-gallery.dragging, .ws-gallery.dragging * { cursor: grabbing !important; user-select: none; }
.ws-g.lift { opacity: .35; }
.ws-g.over { box-shadow: inset 0 0 0 3px var(--accent), 0 0 0 3px var(--accent); z-index: 2; }
.ws-g-tools .grip { cursor: grab; }
.ws-g-tools { position: absolute; top: 10px; right: 10px; z-index: 28; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.95); box-shadow: 0 6px 18px rgba(0,0,0,.18); opacity: 0; transition: opacity .15s ease; }
.ws-g:hover .ws-g-tools { opacity: 1; }
.ws-g-tools button { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #5a5750; }
.ws-g-tools button:hover { background: #f4f3f0; color: #1a1917; }
.ws-g-tools button.on { background: #faf6ea; color: #9a7520; }

/* ── gifts ── */
.ws-gifts { text-align: center; }
.ws-gift-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ── guest photos ── */
.ws-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ws-qr-row { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.ws-qr { width: 112px; height: 112px; padding: 10px; background: #fff; border-radius: calc(var(--ri) + 2px); box-shadow: 0 0 0 1px var(--line); flex: none; }
.ws-qr svg { width: 100%; height: 100%; display: block; }
.ws-stack { position: relative; height: 420px; }
.ws-stack img { position: absolute; width: 56%; aspect-ratio: .8; object-fit: cover; border-radius: var(--ri); box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); border: 6px solid #fff; }
.ws-stack img:nth-child(1) { left: 2%; top: 12%; transform: rotate(-6deg); }
.ws-stack img:nth-child(2) { left: 24%; top: 0; transform: rotate(3deg); z-index: 1; }
.ws-stack img:nth-child(3) { right: 0; top: 18%; transform: rotate(8deg); }

/* ── faq ── */
.ws-faq { margin-top: 40px; border-top: 1px solid var(--line); }
.ws-faq-item { border-bottom: 1px solid var(--line); }
.ws-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font-family: var(--head); font-size: calc(clamp(20px, 1.8cqi, 24px) * var(--scale)); letter-spacing: var(--head-track); }
.ws-upper .ws-faq-q { font-family: var(--body); font-size: 17px; letter-spacing: 0; }
.ws-faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.ws-faq-plus::before, .ws-faq-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 7.5px; height: 1.5px; background: currentColor; transition: transform .25s ease; }
.ws-faq-plus::after { transform: rotate(90deg); }
.ws-faq-item.open .ws-faq-plus::after { transform: rotate(0); }
.ws-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.ws-faq-item.open .ws-faq-a { grid-template-rows: 1fr; }
.ws-faq-a > div { overflow: hidden; }
.ws-faq-a .ws-p { padding: 0 40px 24px 0; }

/* ── rsvp panel ── */
.ws-rsvp { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ws-rsvp-card { background: var(--soft); border-radius: calc(var(--ri) * 2); padding: 44px; }
.ws-find { display: flex; gap: 10px; margin-top: 24px; }
.ws-input { width: 100%; height: 50px; padding: 0 18px; border-radius: var(--r); border: 0; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 16px; outline: none; transition: box-shadow .15s ease; }
.ws-input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ws-input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
textarea.ws-input { height: auto; min-height: 96px; padding: 14px 18px; resize: vertical; border-radius: min(var(--r), 16px); line-height: 1.5; }
.ws-deadline { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; margin-top: 18px; }

/* ── closing ── */
.ws-closing { background: var(--soft); border-radius: calc(var(--ri) * 2); text-align: center; padding: 96px 32px; }
.ws-contacts { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 26px; font-size: 16px; }
.ws-contacts a { display: inline-flex; align-items: center; gap: 10px; }
.ws-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 0 48px; font-size: 15px; color: var(--muted); }
.ws-foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.ws-foot-links button:hover { color: var(--ink); }
.ws-made { font-size: 12.5px; color: color-mix(in srgb, var(--muted) 80%, transparent); text-decoration: none; }

/* ── the guest flow (find + RSVP) ── */
.ws-modal-scrim { position: absolute; inset: 0; z-index: 50; background: color-mix(in srgb, var(--ink) 38%, transparent); display: flex; align-items: center; justify-content: center; padding: 24px; animation: ws-fade .2s ease; }
.ws-fixed .ws-modal-scrim { position: fixed; }
.ws-modal { position: relative; width: min(560px, 100%); max-height: calc(var(--vh, 100vh) - 48px); overflow: auto; background: var(--paper); color: var(--ink); border-radius: calc(var(--ri) * 2 + 4px); padding: 48px 48px 36px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); animation: ws-pop .32s cubic-bezier(.2,.8,.2,1); }
@keyframes ws-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.ws-modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.ws-modal-x:hover { background: var(--soft); color: var(--ink); }
.ws-modal-back { position: absolute; top: 16px; left: 16px; height: 40px; padding: 0 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.ws-modal-back:hover { background: var(--soft); color: var(--ink); }
.ws-steps { display: flex; gap: 6px; justify-content: center; margin-bottom: 26px; }
.ws-steps i { width: 22px; height: 3px; border-radius: 3px; background: var(--line); transition: background .3s ease, width .3s ease; }
.ws-steps i.on { background: var(--ink); width: 34px; }
.ws-modal .ws-h2 { text-align: center; margin-bottom: 8px; }
.ws-modal-sub { text-align: center; color: var(--muted); margin: 0 0 28px; font-size: 16px; }
.ws-match { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: min(var(--r), 16px); box-shadow: inset 0 0 0 1px var(--line); margin-top: 10px; text-align: left; transition: box-shadow .15s ease, background .15s ease; }
.ws-match:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ws-match small { display: block; color: var(--muted); font-size: 14px; }
.ws-event-card { padding: 20px 0; border-top: 1px solid var(--line); }
.ws-event-card:last-of-type { border-bottom: 1px solid var(--line); }
.ws-event-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ws-event-top .ws-h3 { font-size: 22px; }
.ws-event-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.ws-date-tile { flex: none; width: 46px; height: 50px; border-radius: min(var(--r), 10px); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ws-date-tile small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.ws-date-tile b { font-family: var(--head); font-weight: var(--head-weight); font-size: 22px; margin-top: 4px; }
.ws-pencil { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); flex: none; }
.ws-pencil:hover { background: var(--soft); color: var(--ink); }
.ws-who { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.ws-yn { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); }
.ws-yn button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: background .15s ease, color .15s ease; }
.ws-yn button.on { background: var(--accent); color: var(--on-accent); }
.ws-yn button.on.no { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ws-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-pick { height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; transition: all .15s ease; }
.ws-pick.on { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.ws-field { margin-top: 22px; }
.ws-label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ws-modal-foot { display: flex; justify-content: center; margin-top: 30px; }
.ws-modal-foot .ws-btn { min-width: 200px; }
.ws-done-tick { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; animation: ws-pop .5s cubic-bezier(.2,.8,.2,1); }
.ws-help { text-align: center; margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* the RSVP as its own page: covers the site, locks what is behind it */
.ws-page { position: absolute; inset: 0; z-index: 50; background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; animation: ws-page-in .32s cubic-bezier(.2,.8,.2,1); }
.ws-fixed .ws-page { position: fixed; }
@keyframes ws-page-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ws-page-bar { position: sticky; top: 0; z-index: 2; height: calc(64px + var(--safe-top)); padding-top: var(--safe-top) !important; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.ws-page-mark { font-family: var(--head); font-style: italic; font-size: 20px; letter-spacing: var(--head-track); white-space: nowrap; }
.ws-upper .ws-page-mark, .ws-sans .ws-page-mark { font-style: normal; }
.ws-upper .ws-page-mark { text-transform: uppercase; font-size: 15px; letter-spacing: .2em; }
.ws-page-back { height: 40px; padding: 0 12px 0 6px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 15px; }
.ws-page-back:hover { background: var(--soft); color: var(--ink); }
.ws-page-x { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.ws-page-x:hover { background: var(--soft); }
.ws-page-in { width: min(600px, 100%); margin: 0 auto; padding: 48px 24px 0; }
.ws-page .ws-h2 { text-align: center; margin-bottom: 8px; font-size: calc(clamp(32px, 4cqi, 48px) * var(--scale)); }
.ws-page .ws-modal-foot { position: sticky; bottom: 0; margin: 30px -24px 0; padding: 22px 24px 28px; background: linear-gradient(to bottom, transparent, var(--paper) 30%); }
.ws-page .ws-modal-foot .ws-btn { width: min(360px, 100%); }
.ws-page .ws-center { padding-bottom: 60px; }
.ws-confirm-scrim { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; background: color-mix(in srgb, var(--ink) 35%, transparent); animation: ws-fade .18s ease; }
.ws:not(.ws-fixed) .ws-confirm-scrim { position: absolute; }
.ws-confirm { width: min(400px, 100%); background: var(--paper); border-radius: calc(var(--ri) * 2 + 6px); padding: 32px 28px 22px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); animation: ws-pop .28s cubic-bezier(.2,.8,.2,1); }
.ws-confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ws-confirm-actions .ws-btn { flex: 1; min-width: 140px; }
.ws-confirm-discard { margin-top: 16px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--muted) 40%, transparent); }
.ws-confirm-discard:hover { color: var(--ink); }

/* ── the wedding day: share your photos ── */
.ws-day { position: relative; z-index: 3; }
[data-kind="hero"] { position: relative; }
.ws-day.over { position: absolute; left: 0; right: 0; top: calc(var(--safe-top) + 14%); }
.ws-day.after { padding: 56px 0 0; }
.ws-day.top { padding: calc(96px + var(--safe-top)) 0 8px; }
.ws-day-card { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; max-width: 720px; margin: 0 auto; padding: 30px 36px 30px 30px; border-radius: calc(var(--ri) * 3 + 6px); background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); transform: rotate(-1.2deg); transition: transform .3s cubic-bezier(.2,.8,.2,1); animation: ws-day-in .7s cubic-bezier(.2,.8,.2,1) both; }
.ws-day-card:hover { transform: rotate(0deg) translateY(-3px); }
@keyframes ws-day-in { from { opacity: 0; transform: translateY(26px) rotate(-4deg); } to { opacity: 1; transform: rotate(-1.2deg); } }
.ws-day-tape { position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; background: color-mix(in srgb, var(--accent) 22%, #fff); opacity: .9; transform: rotate(2deg); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.ws-day-pics { position: relative; height: 190px; }
.ws-day-pics img { position: absolute; width: 130px; aspect-ratio: .8; object-fit: cover; border: 5px solid #fff; border-radius: 4px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.ws-day-pics img:nth-child(1) { left: 0; top: 14px; transform: rotate(-8deg); }
.ws-day-pics img:nth-child(2) { left: 78px; top: 0; transform: rotate(6deg); }
.ws-day-words { display: flex; flex-direction: column; align-items: flex-start; }
.ws-day-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-family: var(--body); }
.ws-day-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: ws-pulse 1.6s ease-in-out infinite; }
@keyframes ws-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
.ws-day-title { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-track); font-size: calc(clamp(34px, 4cqi, 52px) * var(--scale)); line-height: 1; margin: 10px 0 8px; }
.ws-upper .ws-day-title { text-transform: uppercase; }
.ws-day-sub { color: var(--muted); font-size: 16px; }
.ws-day-btn { margin-top: 20px; height: 50px; padding: 0 26px; font-size: 16px; }
.ws-day-link { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.ws-day-pills { position: absolute; left: 50%; bottom: calc(22px + var(--safe-bottom)); z-index: 45; display: flex; gap: 8px; transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.ws-fixed .ws-day-pills { position: fixed; }
.ws-day-pills.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.ws :where(.ws-day-pill) { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--body); font-size: 15px; text-decoration: none; white-space: nowrap; box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); border: 0; cursor: pointer; }
.ws :where(.ws-day-pill.alt) { background: var(--paper); color: var(--ink); }
.ws-day-pill.alt .ws-day-pill-dot { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.ws-day-pill-dot { width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--on-accent) 18%, transparent); display: flex; align-items: center; justify-content: center; }

/* ── guests' upload page ── */
.ws-up { width: min(640px, 100%); margin: 0 auto; padding: 72px 22px 40px; }
.ws-up-head { text-align: center; }
.ws-up-tabs { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--soft); }
.ws-up-tabs button { height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: background .15s ease, color .15s ease; }
.ws-up-tabs button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.ws-up-body { margin-top: 34px; }
.ws-drop { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 20px; border-radius: calc(var(--ri) * 3 + 8px); border: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); background: var(--soft); cursor: pointer; text-align: center; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.ws-drop:hover, .ws-drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--paper)); }
.ws-drop:active { transform: scale(.99); }
.ws-drop-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.ws-drop-title { font-family: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-track); font-size: 26px; line-height: 1.1; }
.ws-upper .ws-drop-title { text-transform: uppercase; font-size: 18px; }
.ws-drop-sub { color: var(--muted); font-size: 14.5px; }
.ws-up-status { margin-top: 24px; text-align: center; }
.ws-up-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
@container site (min-width: 560px) { .ws-up-grid { grid-template-columns: repeat(6, 1fr); } }
/* Folded: the last row fades out under a Show all. */
.ws-up-fold { position: absolute; left: 0; right: 0; bottom: 0; height: calc((100% - 8px) / 2 + 8px); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; background: linear-gradient(to bottom, transparent, var(--paper) 78%); border: 0; font: inherit; cursor: pointer; }
/* One row of six on a wide screen: nothing to fade into, so the tiles stay
   clear and the button sits under them. */
@container site (min-width: 560px) { .ws-up-grid.folded { padding-bottom: 52px; } .ws-up-fold { height: 44px; padding-bottom: 0; align-items: center; background: none; } }
.ws-up-fold span { padding: 8px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); }
.ws :where(.ws-up-less) { display: block; margin: 12px auto 0; font-size: 14px; }
.ws-up-tile { position: relative; aspect-ratio: 1; border-radius: var(--ri); overflow: hidden; background: var(--soft); }
.ws-up-tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.ws-up-tile.err img { filter: grayscale(1); opacity: .4 !important; }
.ws-up-blank { position: absolute; inset: 0; }
.ws-up-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.6); overflow: hidden; }
.ws-up-bar i { display: block; height: 100%; background: var(--accent); transition: width .16s linear; }
.ws-up-tick { position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; animation: ws-pop .3s ease; }
.ws-up-err { position: absolute; inset: auto 4px 6px; font-size: 11px; line-height: 1.2; text-align: center; color: var(--ink); background: color-mix(in srgb, var(--paper) 88%, transparent); border-radius: 6px; padding: 3px 4px; }
.ws-up-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; padding-left: 2px; }
.ws-up-note { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.ws-up-foot { margin-top: 60px; text-align: center; }
.ws-album { columns: 3 160px; column-gap: 8px; }
.ws-album button { position: relative; display: block; width: 100%; margin-bottom: 8px; break-inside: avoid; border-radius: var(--ri); overflow: hidden; }
.ws-album img { width: 100%; height: auto; display: block; transition: transform .4s ease; }
.ws-album button:hover img { transform: scale(1.03); }
.ws-up-body.wide { width: min(980px, calc(100vw - 44px)); margin-left: 50%; transform: translateX(-50%); }
.ws-light { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,9,.92); display: flex; align-items: center; justify-content: center; padding: 24px; animation: ws-fade .2s ease; cursor: zoom-out; }
.ws-light img, .ws-light video { max-width: 100%; max-height: 100%; border-radius: 6px; }
.ws-light-by { position: absolute; left: 24px; bottom: 20px; color: rgba(255,255,255,.8); font-size: 14px; }

/* slideshow drift */
.ws-kb { animation: ws-kb 7.5s ease-out forwards; }
@keyframes ws-kb { from { transform: scale(1.06) translate(1%, 1%); } to { transform: scale(1) translate(0, 0); } }

/* a block on its own background runs edge to edge and keeps its padding */
[data-tone] > div > .ws-section, [data-tone] > div > section { padding-top: 120px; padding-bottom: 120px; }
@container site (max-width: 760px) { [data-tone] > div > .ws-section, [data-tone] > div > section { padding-top: 80px; padding-bottom: 80px; } }
[data-tone] + [data-tone] > div > .ws-section { padding-top: 120px; }

/* card blocks (Your invitation, Closing) */
[data-card="outline"] .ws-yours, [data-card="outline"] .ws-closing { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
[data-card="reversed"] .ws-yours, [data-card="reversed"] .ws-closing {
  --paper: var(--c-paper); --ink: var(--c-ink); --muted: var(--c-muted); --line: var(--c-line); --soft: var(--c-soft); --accent: var(--c-accent); --on-accent: var(--c-on-accent);
  background: var(--paper); color: var(--ink);
}
[data-card="reversed"] .ws-chip.yes { background: color-mix(in srgb, #7fd1a0 20%, transparent); color: #a8e3bf; }

/* gate */
.ws-gate { min-height: var(--vh, 100vh); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }

/* ── editor overlay hooks (the builder only) ── */
.ws-edit [data-block] { position: relative; }
.ws-edit [data-block]:hover::after { content: ''; position: absolute; inset: 4px; border-radius: 6px; box-shadow: 0 0 0 1.5px rgba(201,164,74,.6); pointer-events: none; z-index: 25; }
.ws-edit [data-block].sel::after { content: ''; position: absolute; inset: 4px; border-radius: 6px; box-shadow: 0 0 0 2px #9a7520; pointer-events: none; z-index: 25; }
.ws-edit .ws-ghost { opacity: .5; filter: saturate(.6); }
.ws-edit [data-hidden] { display: none; }
.ws-editable { outline: none; border-radius: 3px; transition: box-shadow .12s ease, background .12s ease; cursor: text; }
.ws-editable:hover { box-shadow: 0 0 0 1px rgba(201,164,74,.55); }
.ws-editable:focus { box-shadow: 0 0 0 1.5px #9a7520; background: color-mix(in srgb, #fff 12%, transparent); }
.ws-editable:empty::before { content: attr(data-placeholder); opacity: .4; }

/* the crop pill (design-library 2.39) */
.ws-crop-pill { position: absolute; z-index: 27; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(26,25,23,.7); color: #fff; font-family: var(--font-outfit), sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0; pointer-events: none; animation: ws-fade .15s ease; white-space: nowrap; }
.ws-crop-pill.dragging { opacity: 0; transition: opacity .15s ease; }

/* ═══ BIG SCREENS: a monitor gets a wider page and bigger type, not a
   laptop page floating in the middle. ═══ */
@container site (min-width: 1600px) {
  .ws-wrap { max-width: 1560px; }
  .ws-section { padding: 150px 0; }
  .ws-narrow { max-width: 880px; }
  .ws-lede { font-size: calc(40px * var(--scale)); }
  .ws-tl-item { grid-template-columns: 1fr 96px 1fr; }
  .ws-gallery { grid-auto-rows: 340px; }
  .ws-nav-links { font-size: 16px; gap: 30px; }
}
@container site (min-width: 2200px) {
  .ws-wrap { max-width: 1800px; }
}

/* ═══ PHONE: the site's width, not the browser's ═══ */
@container site (max-width: 760px) {
  .ws-wrap { padding: 0 22px; }
  .ws-section { padding: 80px 0; }
  .ws-nav { height: calc(58px + var(--safe-top)); margin-bottom: calc(-58px - var(--safe-top)); }
  .ws-nav-in { grid-template-columns: auto 1fr auto; }
  .ws-nav-links { display: none; }
  .ws-burger { display: inline-flex; }
  .ws-mark { justify-self: center; font-size: 19px; }
  .ws-hero-row { font-size: 14px; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 10px; }
  .ws-names { font-size: calc(16cqi * var(--scale)); white-space: normal; line-height: .95; }
  .ws-hero-in { padding-bottom: calc(64px + var(--safe-bottom)); }
  .ws-names .ws-amp { display: block; font-size: .7em; }
  .ws-upper .ws-names { font-size: calc(12.5cqi * var(--scale)); }
  .ws-hero-split { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .ws-hero-split .ws-split-img { order: -1; height: calc(var(--vh, 100vh) * .58); }
  .ws-hero-split .ws-split-text { padding: 36px 22px 44px; }
  .ws-split-names { font-size: calc(19cqi * var(--scale)); margin: 10px 0 22px; }
  .ws-welcome { padding: 90px 0 70px; }
  .ws-yours { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; }
  .ws-yours-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .ws-yours-when { grid-column: 1 / -1; }
  .ws-head-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .ws-wide-img { aspect-ratio: 1.15; }
  .ws-cards { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .ws-tl-head { margin-bottom: 48px; }
  .ws-tl-track, .ws-tl-fill { left: 6px; }
  .ws-tl-item { grid-template-columns: 32px 1fr; margin-bottom: 52px; }
  .ws-tl-dot { grid-column: 1; justify-self: start; margin-left: 0; }
  .ws-tl-item.l .ws-tl-body, .ws-tl-item.r .ws-tl-body { grid-column: 2; text-align: left; }
  .ws-tl-item.l .ws-tl-place { flex-direction: row; }
  .ws-tl-item.l .ws-tl-text { margin-left: 0; }
  .ws-tl-day { justify-content: flex-start; margin-left: -6px; margin-bottom: 36px; }
  .ws-stay, .ws-story, .ws-photos, .ws-rsvp { grid-template-columns: 1fr; gap: 32px; }
  .ws-stay-img { aspect-ratio: 1.1; }
  .ws-story-img { aspect-ratio: 1.05; }
  .ws-party { grid-template-columns: repeat(var(--pcols, 2), 1fr); gap: 18px; }
  .ws-gallery { --gg: 8px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .ws-gallery.gap-1 { --gg: 3px !important; }
  .ws-gallery.gap-3 { --gg: 14px !important; }
  .ws-nat.c3 { display: none; }
  .ws-nat.c2 { display: flex; }
  .ws-stack { height: 300px; }
  .ws-rsvp-card { padding: 28px 22px; }
  .ws-find { flex-direction: column; }
  .ws-closing { padding: 64px 22px; }
  .ws-foot { flex-direction: column; align-items: flex-start; }
  .ws-page-in { padding: 32px 22px 0; }
  .ws-day.over { top: calc(var(--safe-top) + 76px); }
  .ws-day-card { grid-template-columns: 1fr; gap: 10px; padding: 24px 22px 24px; text-align: left; }
  .ws-day-pics { height: 104px; }
  .ws-day-pics img { width: 78px; border-width: 4px; }
  .ws-day-pics img:nth-child(2) { left: 50px; }
  .ws-day-title { margin: 8px 0 6px; }
  .ws-day-btn { margin-top: 14px; }
  .ws-day-btn { width: 100%; }
  .ws-page .ws-modal-foot { margin: 24px -22px 0; padding: 18px 22px calc(24px + var(--safe-bottom)); }
  .ws-confirm-scrim { align-items: flex-end; padding: 0; }
  .ws-confirm { width: 100%; border-radius: 22px 22px 0 0; padding: 30px 22px calc(26px + var(--safe-bottom)); animation: ws-up .3s cubic-bezier(.32,.72,.33,1); }
  .ws-modal-scrim { padding: 0; align-items: flex-end; }
  .ws-modal { width: 100%; max-height: calc(var(--vh, 100vh) - 24px); border-radius: 22px 22px 0 0; padding: 56px 22px 28px; animation: ws-up .34s cubic-bezier(.32,.72,.33,1); }
  .ws-me span.ws-me-name { display: none; }
  .ws-me { padding: 0 4px; }
}
@keyframes ws-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

/* "Did you mean ...?" under an email field */
.ws :where(.ws-suggest) { display: block; margin-top: 8px; padding: 0; background: none; border: 0; font: inherit; font-size: 13.5px; color: var(--muted); text-align: left; cursor: pointer; }
.ws-suggest b { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ws-suggest:hover b { color: var(--accent); }
/* Signed in from the website: "Not Sarah?" under the name. */
.ws-up-who { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.ws :where(.ws-up-who button) { padding: 0; background: none; border: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; cursor: pointer; }
/* Marketing consent: a real checkbox, unticked, in the site's own colours. */
.ws-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 13.5px; line-height: 19px; color: var(--muted); cursor: pointer; }
.ws-consent input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }

.ws-up-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* RSVP done: the couple's own message, signed */
.ws-done-note { margin: 4px auto 22px; max-width: 420px; padding: 18px 20px; border-radius: min(calc(var(--r) * 1.5), 16px); background: var(--soft); }
.ws-done-note p { margin: 0; font-size: 15px; line-height: 1.6; white-space: pre-line; }
.ws-done-note span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Wedding day: two actions on the card, and the seat sheet */
.ws-day-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ws-day-actions .ws-day-btn { margin-top: 0; }
.ws-seat-table { font-family: var(--head); font-size: calc(54px * var(--scale, 1)); line-height: 1; margin: 10px 0 12px; }
.ws-seat-hits { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.ws :where(.ws-seat-hits button) { height: 44px; border-radius: var(--r); background: var(--soft); color: var(--ink); font: inherit; font-size: 15px; border: 0; cursor: pointer; }

/* A switch on the guest's form (Send Tom a copy too). */
.ws :where(.ws-switch-row) { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 0; background: none; border: 0; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.ws-switch { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 18%, transparent); transition: background .15s ease; }
.ws-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s ease; }
.ws-switch.on { background: var(--accent); }
.ws-switch.on::after { left: 19px; background: var(--on-accent); }

/* Nobody drags on a phone. */
@media (hover: none) { .ws-drop-sub { display: none; } .ws-drop { padding: 26px 20px; } }
