/* ═══════════════════════════════════════════════════════════════════════
   wedding-glam-hollywood-card-vip-ticket — "VIP Ticket"
   Velvet black + Hollywood gold · Cinzel / Playfair Display / Great Vibes
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0a0d;              /* velvet night */
  --bg-deep: #050507;
  --panel: #101014;           /* invite card */
  --panel-raised: #17171d;    /* raised surfaces (forms, cards) */
  --ink: #f6f0e2;             /* champagne ink on dark */
  --ink-dim: rgba(246, 240, 226, 0.62);
  --ink-faint: rgba(246, 240, 226, 0.38);
  --gold: #d4af37;            /* marquee gold */
  --gold-bright: #f2d47c;     /* lit bulb gold */
  --gold-deep: #97752a;
  --carpet: #8c1420;          /* the red carpet */
  --carpet-deep: #5e0d16;
  --line: rgba(212, 175, 55, 0.32);
  --line-soft: rgba(246, 240, 226, 0.12);
  --danger: #e07b6b;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-script: "Great Vibes", "Snell Roundhand", cursive;
  --font-ui: "Jost", ui-sans-serif, system-ui, sans-serif;
}

/* ── base ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 70% at 50% -12%, rgba(212, 175, 55, 0.09), transparent 55%),
    radial-gradient(ellipse 90% 60% at 50% 115%, rgba(140, 20, 32, 0.08), transparent 60%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--bg); }

/* ── single-viewport shell (JS on) ────────────────────────────────────── */
html.js .app {
  height: 100vh;
  height: 100dvh;
  display: grid;
  /* masthead / tabs / active panel / foot / powered-by strip */
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  overflow: hidden;
}

html.js .panel { display: none; }
html.js .panels {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
html.js .panel.is-active {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* hero panels (the card) centre their content when there's room */
html.js .panel.hero-panel.is-active { display: flex; flex-direction: column; gap: clamp(12px, 2.5vh, 24px); }
html.js .panel.hero-panel.is-active > * { margin: auto; }

/* ── no-JS fallback: everything stacked, page scrolls ─────────────────── */
html:not(.js) .app { display: block; height: auto; }
html:not(.js) .panel { display: block; }
html:not(.js) .tabs { display: none; }
html:not(.js) .panel.is-active { overflow: visible; }

/* ── masthead ─────────────────────────────────────────────────────────── */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(14px, 3vw, 28px);
  background: var(--bg-deep);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 5;
}

.masthead__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.masthead__mark { display: inline-flex; flex: none; opacity: 0.95; }
.masthead__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.masthead__top {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.masthead__name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.masthead__name i { color: var(--gold-bright); font-style: italic; padding: 0 2px; }

.masthead__actions { display: flex; align-items: center; gap: 8px; flex: none; }

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.06);
  color: var(--ink);
  font: 500 12.5px var(--font-ui);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.chip-btn:hover { background: rgba(212, 175, 55, 0.16); border-color: var(--gold); }
.chip-btn:active { transform: translateY(1px); }
.chip-btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.chip-btn.is-done { border-color: #8fbf9a; color: #cfe9d6; }

/* ── tabs ───────────────────────────────────────────────────────────────
   The strip wrapper owns the background/border and carries the mobile
   prev/next arrows that flank the scrollable tablist on narrow screens.
   The tabs themselves are generated by main.js from whichever .panel
   elements exist, so a stripped section simply drops its tab. */
.tabs-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  border-bottom: 1px solid rgba(246, 240, 226, 0.07);
}

.tabs {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 6px;
  padding: 8px clamp(14px, 3vw, 28px);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(14px, 3vw, 28px);
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  appearance: none;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-dim);
  font: 500 12.5px var(--font-ui);
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}
.tab:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

/* narrow screens: shorter tab labels + a right-edge fade, shown only while
   more tabs are hidden there (the class comes from main.js) */
@media (max-width: 560px) {
  .tabs { gap: 4px; padding-top: 6px; padding-bottom: 6px; }
  .tabs.can-scroll:not(.at-end) {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
  }
  .tab { padding: 8px 12px; font-size: 12px; letter-spacing: 0.02em; }
}

/* mobile prev/next arrows — flank the tablist on narrow screens where it
   scrolls (the nav behaves like a carousel there). One panel per tap,
   disabled at the ends; main.js wires and updates them. */
.tabs-arrow {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 6px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-bright);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, opacity 0.2s;
}
.tabs-arrow svg { width: 16px; height: 16px; display: block; }
.tabs-arrow:hover:not(:disabled) { background: rgba(212, 175, 55, 0.16); border-color: var(--gold); }
.tabs-arrow:active:not(:disabled) { transform: translateY(1px); }
.tabs-arrow:disabled { opacity: 0.35; cursor: default; }
.tabs-arrow:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
@media (max-width: 560px) {
  .tabs-arrow { display: inline-flex; }
}
html:not(.js) .tabs-wrap { display: none; }

/* ── panels & inner ───────────────────────────────────────────────────── */
.panels { min-width: 0; }

.panel-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 40px) clamp(16px, 4vw, 32px) 56px;
}

.section-head { margin-bottom: 24px; }
.kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.lede { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.65; max-width: 52ch; }
.lede strong { color: var(--gold-bright); font-weight: 500; }

/* ── the invitation stage ─────────────────────────────────────────────── */
.invite-stage {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin: auto;
  padding: clamp(28px, 6vh, 52px) clamp(16px, 4vw, 30px) clamp(76px, 13vh, 118px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.invite-stage__glow {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(600px, 135%);
  height: min(600px, 135%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 62%);
  pointer-events: none;
}

html.js:not(.no-motion) .invite-stage__glow { animation: glow-in 1.6s ease-out both; }
@keyframes glow-in { from { opacity: 0; } to { opacity: 1; } }

/* ── the invitation card (the "VIP ticket") ───────────────────────────── */
.invite {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding: clamp(30px, 5.5vh, 50px) clamp(26px, 5vw, 46px) clamp(26px, 4.5vh, 40px);
  background:
    radial-gradient(ellipse 95% 45% at 50% -6%, rgba(212, 175, 55, 0.12), transparent 60%),
    linear-gradient(178deg, #17171d 0%, #101014 55%, #0c0c10 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.8vh, 16px);
}

html.js:not(.no-motion) .invite { animation: card-rise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
@keyframes card-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.99); }
  to   { opacity: 1; transform: none; }
}

/* gold hairline frames */
.invite::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  pointer-events: none;
}
.invite::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  pointer-events: none;
}

/* ticket-perforation edges */
.invite__perf {
  position: absolute;
  top: 42px;
  bottom: 42px;
  width: 9px;
  background-image: radial-gradient(circle, rgba(212, 175, 55, 0.5) 2.1px, transparent 2.9px);
  background-size: 9px 13px;
  background-repeat: repeat-y;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}
.invite__perf--l { left: 8px; }
.invite__perf--r { right: 8px; }

/* gold corner stars */
.invite__corner {
  position: absolute;
  width: 15px;
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(242, 212, 124, 0.65));
}
.invite__corner--tl { top: 17px; left: 17px; }
.invite__corner--tr { top: 17px; right: 17px; }
.invite__corner--bl { bottom: 17px; left: 17px; }
.invite__corner--br { bottom: 17px; right: 17px; }

.invite > * { position: relative; z-index: 1; }

/* marquee board */
.invite__board {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 4px;
  padding: 7px 18px;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.07);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-indent: 0.34em;
  color: var(--gold-bright);
}
.invite__board span { font-size: 9px; letter-spacing: 0; text-indent: 0; }

/* personalised "Admit" line */
.invite__admit {
  margin: 0 0 2px;
  padding: 5px 16px;
  border: 1px dashed rgba(242, 212, 124, 0.6);
  background: rgba(212, 175, 55, 0.07);
  font-size: 13px;
  color: var(--gold-bright);
}
.invite__admit-key {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 9px;
}
.invite__admit b { font-weight: 500; color: var(--ink); }

.invite__kicker {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-dim);
}

/* script names */
.invite__names {
  margin: 2px 0 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.16em;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.7rem, 8.5vw, 4.1rem);
  line-height: 1.14;
  color: var(--gold-bright);
  text-wrap: balance;
}
/* hosts who add a second honoree on one side get an automatic gold "&" */
.honoree + .honoree::before { content: " & "; color: var(--gold); }
.invite__amp { color: var(--gold); font-size: 0.82em; padding: 0 0.08em; }

.invite__request {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(13.5px, 2.2vw, 16px);
  line-height: 1.6;
  color: var(--ink-dim);
}

.invite__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(280px, 78%);
  color: var(--gold);
}
.invite__divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.invite__divider i { font-style: normal; font-size: 10px; color: var(--gold-bright); }

/* facts (date / time / venue / dress) */
.invite__facts { width: min(360px, 90%); margin: 0; display: flex; flex-direction: column; }
.invite__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 2px;
  border-bottom: 1px dotted rgba(246, 240, 226, 0.16);
}
.invite__fact:last-child { border-bottom: 0; }
.invite__fact dt {
  flex: none;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.invite__fact dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  text-align: right;
}

.invite__reply { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-faint); }
.invite__reply strong { color: var(--gold-bright); font-weight: 500; }

/* monogram seal */
.invite__seal {
  margin: 10px 0 0;
  opacity: 0.95;
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.3));
}

/* ── red carpet runner (bottom of the stage) ──────────────────────────── */
.invite-stage__carpet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 13px 16px 12px;
  background:
    radial-gradient(ellipse 90% 130% at 50% -30%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #9c1a28 0%, var(--carpet) 55%, var(--carpet-deep) 100%);
  border-top: 1px solid rgba(242, 212, 124, 0.55);
}
.invite-stage__carpet-line {
  width: min(300px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 212, 124, 0.6), transparent);
  margin-bottom: 9px;
}
.invite-stage__carpet-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ── reveal-on-scroll (gated: html.no-motion / reduced-motion disable) ── */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .panel.is-active [data-reveal].is-visible,
html.no-motion [data-reveal],
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* ── countdown tiles (ceremony) ───────────────────────────────────────── */
.countdown-tiles {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    radial-gradient(ellipse 120% 100% at 50% -20%, rgba(212, 175, 55, 0.1), transparent 60%),
    linear-gradient(135deg, #191920, #0e0e13);
  color: var(--ink);
  text-align: center;
}
.countdown-tiles__label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.tiles { display: flex; justify-content: center; gap: 10px; }
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 62px;
  padding: 10px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(246, 240, 226, 0.04);
}
.tile-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.8vw, 32px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-bright);
}
.tile-cap { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.countdown-tiles__here { margin: 12px 0 0; font-family: var(--font-serif); font-style: italic; color: var(--gold-bright); }

/* ── event cards ──────────────────────────────────────────────────────── */
.block-title {
  margin: 30px 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.event-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .event-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .event-list { grid-template-columns: 1fr; } }

.event-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--panel-raised);
}
.event-item__chip {
  align-self: flex-start;
  margin-bottom: 6px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.event-item__title { margin: 0; font-family: var(--font-serif); font-size: 19px; font-weight: 600; }
.event-item__when { margin: 2px 0 0; font-size: 12.5px; font-weight: 500; color: var(--gold); }
.event-item__where { margin: 0; font-size: 14px; color: var(--ink); }
.event-item__addr { margin: 0; font-size: 12.5px; color: var(--ink-faint); }
.event-item__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ── timeline ─────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, 0.2));
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  font-size: 14.5px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -22.5px;
  top: 15px;
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(242, 212, 124, 0.8);
}
.timeline-item__time {
  flex: none;
  width: 78px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold-bright);
}
.timeline-item__text { color: var(--ink); }

/* ── notes ────────────────────────────────────────────────────────────── */
.notes {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px dashed rgba(212, 175, 55, 0.45);
  border-radius: 2px;
  background: rgba(212, 175, 55, 0.06);
}
.note { margin: 0 0 8px; font-size: 13.5px; line-height: 1.6; color: var(--ink-dim); }
.note:last-child { margin-bottom: 0; }
.note strong { color: var(--gold-bright); font-weight: 500; }

/* ── gallery (The Gallery · premiere snapshots) ────────────────────────
   OPTIONAL photo feature. Delete the whole .gallery-section panel to
   remove it (its tab disappears too); each .gallery-item is a repeatable
   framed photo. Every img ships a built-in SVG placeholder in its src,
   so the panel looks finished before any real photo is uploaded. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  padding: 10px 10px 9px;
  background: linear-gradient(178deg, #17171d, #0e0e13);
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s, transform 0.25s;
}
/* inner gold hairline — echoes the ticket's double frames */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  pointer-events: none;
}
.gallery-item:hover { border-color: rgba(212, 175, 55, 0.65); }
html.js:not(.no-motion) .gallery-item:hover { transform: translateY(-2px); }

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-open:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.gallery-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.04); }

.gallery-caption {
  margin-top: 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── premiere poster (OPTIONAL banner on the invitation panel) ────────
   The couple's own flyer / banner image, framed like a premiere poster
   above the ticket. Click it to view it full size in the lightbox
   (zoomable); “Save banner” keeps a copy for sharing. Delete the whole
   .premiere-poster block to remove the feature. */
.premiere-poster {
  width: 100%;
  max-width: 560px;
  padding: 0 clamp(16px, 4vw, 30px);
  text-align: center;
}
.premiere-poster__figure { margin: 0; }
.premiere-poster__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: linear-gradient(178deg, #17171d, #0e0e13);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  cursor: zoom-in;
  overflow: hidden;
}
/* inner gold hairline — echoes the ticket's double frames */
.premiere-poster__open::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  pointer-events: none;
}
.premiere-poster__open:hover { border-color: rgba(212, 175, 55, 0.65); }
.premiere-poster__open:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.premiere-poster__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.premiere-poster__open:hover .premiere-poster__img,
.premiere-poster__open:focus-visible .premiere-poster__img { transform: scale(1.04); }
.premiere-poster__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 212, 124, 0.55);
  background: rgba(10, 10, 13, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  pointer-events: none;
}
.premiere-poster__cap {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.premiere-poster__actions { margin-top: 10px; display: flex; justify-content: center; }

/* ── the film (OPTIONAL video panel) ──────────────────────────────────
   data-video-url on the panel accepts a YouTube / Vimeo / any embeddable
   URL or a direct .mp4 / .webm file; tap the poster to play it in the
   lightbox (native fullscreen). Empty URL → a gentle hint. Delete the
   whole #panel-film section to remove the feature and its tab. */
.film { margin-top: 6px; text-align: center; }
.film__frame {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(178deg, #17171d, #0c0c10);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.film__play {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.film__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.film__play:hover .film__poster,
.film__play:focus-visible .film__poster { transform: scale(1.03); }
.film__play:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.film__play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.72), rgba(5, 5, 7, 0.05) 60%);
  pointer-events: none;
}
.film__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #e8c15a, var(--gold-deep));
  color: var(--bg);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 212, 124, 0.6);
  transition: transform 0.25s ease;
}
.film__play-icon svg { width: 26px; height: 26px; margin-left: 3px; }
.film__play:hover .film__play-icon,
.film__play:focus-visible .film__play-icon { transform: translate(-50%, -50%) scale(1.08); }
.film__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.film__note {
  max-width: 52ch;
  margin: 14px auto 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-dim);
}
.film__note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: rgba(246, 240, 226, 0.07);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 0.1em 0.4em;
}
.film__external {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--gold);
}
.film__external:hover { color: var(--gold-bright); }

/* ── photo lightbox (The Gallery + premiere poster + film) ──────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 44px);
  background: rgba(5, 5, 7, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}
.lightbox-frame {
  position: relative;
  margin: 0;
  max-width: min(760px, 100%);
  padding: 14px 14px 10px;
  background: linear-gradient(178deg, #17171d, #0c0c10);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: default;
}
/* gold hairline, matching the invite card frames */
.lightbox-frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  pointer-events: none;
}
.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050507;
}
.lightbox-img {
  max-width: 100%;
  max-height: 74vh;
  margin: 0 auto;
  transform-origin: center center;
  transition: transform 0.22s ease;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-img.is-zoomed { cursor: grab; }
.lightbox-img.is-zoomed:active { cursor: grabbing; }

/* video embeds play inside the same viewer (native fullscreen = the “zoom”) */
.lightbox-video {
  width: min(760px, 88vw);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-video iframe,
.lightbox-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

/* prev / next, only for multi-photo groups */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-raised);
  color: var(--gold-bright);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, background 0.2s;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); background: #202028; }
.lightbox-nav--prev { left: clamp(10px, 2.5vw, 24px); }
.lightbox-nav--next { right: clamp(10px, 2.5vw, 24px); }

/* zoom tools (images only) */
.lightbox-tools {
  position: fixed;
  left: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.lightbox-tool {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-raised);
  color: var(--gold-bright);
  font: 500 15px var(--font-ui);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, background 0.2s;
}
.lightbox-tool:hover { transform: scale(1.08); background: #202028; }
.lightbox-tool--readout { min-width: 62px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* “open original” — raw image source or the film's original URL */
.lightbox-open {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel-raised);
  color: var(--gold-bright);
  font: 500 12px var(--font-ui);
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s, color 0.2s;
}
.lightbox-open:hover { border-color: var(--gold); color: var(--ink); }
.lightbox-caption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.lightbox-close {
  position: fixed;
  top: clamp(14px, 3vw, 22px);
  right: clamp(14px, 3vw, 22px);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-raised);
  color: var(--gold-bright);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, background 0.2s;
}
.lightbox-close:hover { transform: scale(1.08); background: #202028; }
html.js:not(.no-motion) .lightbox-frame { animation: lightbox-in 0.3s ease; }
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* ── forms (RSVP + injected guestbook) ────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12.5px; font-weight: 500; letter-spacing: 0.03em; }
.form-group label small { font-weight: 400; color: var(--ink-faint); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 2px;
  border: 1px solid var(--line-soft);
  background: #0d0d12;
  color: var(--ink);
  font: 400 15px var(--font-ui);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { resize: vertical; min-height: 72px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-faint); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4af37' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-hint { margin: -6px 0 16px; font-size: 12.5px; color: var(--ink-faint); }

.error { display: block; color: var(--danger); font-size: 12.5px; }

/* decline state: hide party-size & meals, show the miss-you note */
.rsvp-extras { transition: opacity 0.25s; }
.rsvp-form.is-declining .rsvp-extras { display: none; }
.declined-note {
  display: none;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid rgba(242, 212, 124, 0.4);
  border-radius: 2px;
  background: rgba(212, 175, 55, 0.08);
  font-size: 13.5px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-bright);
}
.rsvp-form.is-declining .declined-note { display: block; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  font: 500 14.5px var(--font-ui);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(180deg, #e8c15a, var(--gold-deep));
  color: var(--bg);
  box-shadow: 0 10px 26px rgba(151, 117, 42, 0.4);
}
.btn--primary:hover { background: linear-gradient(180deg, #f2d47c, #b8860b); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* loading node (driven by the platform script) */
.loading { display: none; text-align: center; color: var(--ink-faint); font-size: 13px; padding: 10px 0 0; }

/* RSVP deadline countdown (platform-driven .count-*) */
.rsvp-countdown {
  margin: -6px 0 22px;
  padding: 12px 18px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  border-radius: 2px;
  background: rgba(212, 175, 55, 0.06);
  text-align: center;
  font-size: 13.5px;
}
.rsvp-countdown__label { margin: 0 0 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.rsvp-countdown__nums { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-dim); }
.rsvp-countdown__nums span { color: var(--gold-bright); font-size: 17px; }

/* ── guestbook (Style A: platform injects form + list into .guestbook-body) ── */
.guestbook-section #guestbookForm .form-group { margin-bottom: 14px; }
.guestbook-section #guestbookForm button[type="submit"] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px auto 0;
  padding: 12px 26px;
  border-radius: 2px;
  border: none;
  background: linear-gradient(180deg, #e8c15a, var(--gold-deep)) !important;
  color: var(--bg) !important;
  font: 500 14.5px var(--font-ui);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(151, 117, 42, 0.3);
}
.guestbook-section #guestbookForm button[type="submit"]:hover { background: linear-gradient(180deg, #f2d47c, #b8860b) !important; }

/* injected message list — neutralise the engine's inline scroll box */
.guestbook-section #comments-container {
  margin-top: 28px !important;
  border-top: 1px solid var(--line) !important;
  max-height: none !important;
  overflow: visible !important;
}
.guestbook-section .guestbook-entry {
  padding: 14px 16px;
  margin-top: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--panel-raised);
}
.guestbook-section .guestbook-entry h5 { margin: 0 0 4px; font-size: 15px; font-weight: 500; }
.guestbook-section .guestbook-entry p { margin: 0 0 4px; font-size: 14px; line-height: 1.55; color: var(--ink-dim); }
.guestbook-section .guestbook-entry small { color: var(--ink-faint); font-size: 12px; }

.guestbook-section .more-guestbook-wrap { text-align: center; margin-top: 18px; }
.guestbook-section #load-more {
  padding: 10px 24px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 500 14px var(--font-ui);
  cursor: pointer;
}
.guestbook-section #load-more:hover { border-color: var(--gold); color: var(--gold-bright); }

/* thank-you / closed states injected by the platform scripts */
.thank-you-message { text-align: center; padding: 26px 12px; }
.thank-you-message h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.thank-you-message p { margin: 4px 0; color: var(--ink-dim); font-size: 14px; line-height: 1.6; }

/* ── foot ─────────────────────────────────────────────────────────────── */
.foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px clamp(14px, 3vw, 28px);
  background: var(--bg-deep);
  color: var(--ink-faint);
  border-top: 1px solid rgba(246, 240, 226, 0.07);
  font-size: 12px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.foot::-webkit-scrollbar { display: none; }

/* Dots between foot items are ::before content on each following item, so
   an item hidden for an empty value (venue/date/brand) takes its separator
   with it — never a stray dot. */
.foot > span + span::before {
  content: '·';
  margin-right: 10px;
  opacity: 0.5;
}

/* brand placeholder the platform can bind/swap */
.footer-brand {
  margin-left: auto;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.footer-brand-name { color: var(--gold); }

/* ── free page (OPTIONAL “A Note From Us” panel) ─────────────────────
   Host-filled free-text page. Each .free-block is one entry: a title,
   free text and an OPTIONAL photo. The platform hides the whole page
   when the host leaves it empty (its tab disappears with it); clicking
   the photo opens the zoomable full-screen viewer. Delete the whole
   #panel-free section to remove the feature entirely. */
.free-blocks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.free-block {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--panel-raised);
}
.free-block__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--gold-bright);
}
.free-block__content {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
  white-space: pre-line;   /* textarea line breaks are preserved */
}
.free-block__media {
  margin: 16px 0 0;
  max-width: 560px;
}
.free-block__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: linear-gradient(178deg, #17171d, #0e0e13);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  cursor: zoom-in;
  overflow: hidden;
}
/* inner gold hairline — echoes the ticket's double frames */
.free-block__open::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  pointer-events: none;
}
.free-block__open:hover { border-color: rgba(212, 175, 55, 0.65); }
.free-block__open:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.free-block__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.free-block__open:hover .free-block__img,
.free-block__open:focus-visible .free-block__img { transform: scale(1.04); }
.free-block__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 212, 124, 0.55);
  background: rgba(10, 10, 13, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  pointer-events: none;
}
.free-block__cap {
  margin: 9px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── powered-by brand strip (full-width footer line) ───────────────────
   A slim "Powered by Kundangi" line at the very foot of the app. The
   engine swaps the literal brand token for the platform name at render;
   the cockpit's Free Powered By field can override the whole line.
   Full-width in both the JS shell (the extra auto row of the .app grid)
   and the no-JS stacked document (its natural place at the end). */
.powered-by {
  width: 100%;
  text-align: center;
  font: 600 9.5px var(--font-ui);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
html:not(.js) .powered-by {
  padding: 14px 16px 22px;
  border-top: 1px solid rgba(246, 240, 226, 0.07);
}
html.js .powered-by {
  padding: 7px 14px;
  border-top: 1px solid rgba(246, 240, 226, 0.07);
  background: var(--bg-deep);
}
.powered-by .link-footer { color: var(--gold); font-weight: 700; }

/* ── focus visibility (global) ────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

/* ── short screens: reclaim vertical space ────────────────────────────── */
@media (max-height: 620px) {
  .masthead { padding-top: 6px; padding-bottom: 6px; }
  .masthead__top { display: none; }
  .foot { display: none; }
}
@media (max-width: 480px) {
  .chip-btn { padding: 8px 10px; }
  .chip-btn__label { display: none; }
  .lightbox-tool { min-width: 40px; height: 40px; }
  .lightbox-tools { left: 12px; bottom: 12px; }
  .lightbox-open { right: 12px; bottom: 14px; padding: 10px 14px; }
  .lightbox-nav { width: 40px; height: 40px; }
}

/* ── reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html.no-motion *, html.no-motion *::before, html.no-motion *::after {
  animation: none !important;
  transition: none !important;
}

/* ── print: the invitation card prints like paper stationery ──────────── */
@media print {
  html.js .app { height: auto; display: block; overflow: visible; }
  html.js .panel { display: block !important; overflow: visible !important; }
  html.js .panel.hero-panel.is-active { display: block !important; }
  .masthead__actions, .tabs-wrap, .foot, .powered-by, .no-print { display: none !important; }
  body { background: #fff; }
  .panel-inner { max-width: none; padding: 12px; }
  .invite-stage { max-width: none; padding: 12px; }
  .invite-stage__glow, .invite__perf { display: none; }
  .invite {
    box-shadow: none;
    border: 1px solid #d4af37;
    background: #fff;
    color: #1a1a1a;
    page-break-inside: avoid;
  }
  .invite__board { color: #8f6c33; }
  .invite__kicker { color: #666; }
  .invite__names, .invite__amp { color: #8f6c33; }
  .invite__request { color: #444; }
  .invite__fact { border-color: #e0d5b8; }
  .invite__fact dd { color: #222; }
  .invite__reply { color: #666; }
  .invite__reply strong { color: #8f6c33; }
  .invite-stage__carpet { border-top: 1px solid #8c1420; }
  .countdown-tiles, .event-item, .timeline-item, .notes, .gallery-item,
  .premiere-poster__open, .film__frame, .free-block { page-break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
