
:root {
  --paper: #fbf7ef;
  --ink: #26231f;
  --muted: #766d62;
  --accent: #b69c76;
  --accent-strong: #8c6c42;
  --panel: rgba(255, 252, 246, 0.88);
  --line: rgba(38, 35, 31, 0.14);
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
}
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(182, 156, 118, 0.18), transparent 28rem),
    linear-gradient(145deg, #fffaf0 0%, #f1eadc 100%);
}
.hero-card { border: 1px solid var(--line); box-shadow: 0 28px 90px rgba(78, 64, 45, 0.12); }
.button { border-radius: 999px; }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; }
.motif-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.site-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}
.site-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 4;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 9px 13px;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  backdrop-filter: blur(16px);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-card {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 32px;
  align-items: stretch;
  padding: clamp(28px, 6vw, 72px);
  background: var(--panel);
  backdrop-filter: blur(18px);
  isolation: isolate;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 24px; position: relative; z-index: 2; }
.eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.couple-names {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(4rem, 12vw, 9.5rem);
  font-weight: 500;
}
.amp { color: var(--accent-strong); font-style: italic; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 1rem;
}
.hero-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.34);
}
.icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-intro {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
  margin: -6px 0 0;
}
.hero-visual {
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lettering-mark, .illustrated-mark {
  width: min(340px, 86%);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  color: var(--accent-strong);
  font-family: var(--heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.95;
  background: rgba(255,255,255,0.28);
}
.illustrated-mark::before,
.illustrated-mark::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid var(--accent);
  border-radius: 44% 56% 49% 51%;
  opacity: 0.42;
}
.illustrated-mark::before { transform: translate(-108px, -106px) rotate(-22deg); }
.illustrated-mark::after { transform: translate(114px, 112px) rotate(18deg); }
.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.section {
  background: var(--panel);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.hero-card, .section, .footer {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}
.hero-card.is-visible, .section.is-visible, .footer.is-visible,
body.motion-none .hero-card,
body.motion-none .section,
body.motion-none .footer {
  opacity: 1;
  transform: none;
}
.section.full { grid-column: 1 / -1; }
.section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 500;
}
.section p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 12px;
}
.facts {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.fact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fact strong { color: var(--ink); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  font-weight: 700;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.runtime-note {
  margin-top: 10px;
  font-size: 0.78rem;
  opacity: 0.62;
}
body.ui-shadcn .section,
body.ui-radix .section {
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent);
}
body.ui-aceternity .hero-card::before,
body.ui-magic .hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 28rem);
}
body.ui-magic .icon-badge svg,
body.ui-aceternity .section h2 svg {
  filter: drop-shadow(0 4px 14px color-mix(in srgb, var(--accent) 38%, transparent));
}
body.ui-flowbite .button,
body.ui-nextui .button,
body.ui-chakra .button {
  border-radius: 14px;
}
body.ui-daisyui .section {
  border-width: 2px;
}
body.ui-headless .section,
body.ui-headless .hero-card {
  background: transparent;
}
.rsvp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.rsvp-form label { display: grid; gap: 7px; color: var(--muted); font-size: 0.92rem; }
.rsvp-form input,
.rsvp-form textarea,
.rsvp-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,0.68);
  color: var(--ink);
  font: inherit;
}
.rsvp-form .wide { grid-column: 1 / -1; }
.hidden-field { position: absolute; left: -5000px; opacity: 0; }
.footer {
  text-align: center;
  color: var(--muted);
  margin-top: 36px;
  padding: 30px;
}
#countdown {
  color: var(--accent-strong);
  font-weight: 700;
}

/* Page compositions: these change the actual React layout, not only the theme. */
.layout-aside {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  padding: 22px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  backdrop-filter: blur(14px);
}
.layout-aside strong {
  color: var(--ink);
  font-family: var(--heading);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.92;
  font-weight: 500;
}
.layout-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.composition-editorial_issue .site-shell { width: min(1320px, calc(100% - 28px)); }
.editorial-issue-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  margin-top: 22px;
}
.editorial-issue-grid .layout-aside {
  position: sticky;
  top: 22px;
  align-self: start;
  border-width: 0 1px 0 0;
  background: transparent;
  min-height: 52vh;
}
.editorial-sections {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.editorial-sections .section { grid-column: span 6; border-radius: 0; }
.editorial-sections .section:nth-child(3n + 1) { grid-column: span 7; min-height: 330px; }
.editorial-sections .section:nth-child(3n + 2) { grid-column: span 5; }
.editorial-sections .section.full { grid-column: 1 / -1; }

body.composition-poster_story .site-shell { width: min(1240px, calc(100% - 24px)); }
.poster-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}
.layout-poster-story .hero-card,
.layout-poster-story .section { border-radius: 0; }
.poster-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.poster-stack .section {
  min-height: 260px;
  display: grid;
  align-content: center;
}
.poster-stack .section:nth-child(odd) { margin-left: min(8vw, 90px); }
.poster-stack .section:nth-child(even) { margin-right: min(8vw, 90px); }

body.composition-photo_essay .site-shell { width: min(1360px, calc(100% - 20px)); padding-top: 0; }
.photo-essay-frame {
  position: relative;
  min-height: 92vh;
}
.layout-photo-essay .hero-card {
  min-height: 92vh;
  border-radius: 0;
}
.layout-photo-essay .layout-aside {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 56px);
  width: min(420px, calc(100% - 36px));
  z-index: 5;
  box-shadow: 0 24px 90px color-mix(in srgb, var(--ink) 18%, transparent);
}
.photo-essay-sections {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.42fr);
  gap: 20px;
  margin-top: 20px;
}
.photo-essay-sections .section:nth-child(odd) { grid-column: 1; }
.photo-essay-sections .section:nth-child(even) { grid-column: 2; }
.photo-essay-sections .section.full { grid-column: 1 / -1; }

body.composition-invitation_suite .site-shell { width: min(940px, calc(100% - 34px)); }
.invitation-paper {
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  background: color-mix(in srgb, var(--panel) 88%, var(--paper));
  padding: clamp(18px, 4vw, 46px);
  box-shadow: 0 22px 90px color-mix(in srgb, var(--ink) 11%, transparent);
}
.layout-invitation-suite .hero-card {
  grid-template-columns: 1fr;
  min-height: auto;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.layout-invitation-suite .hero-copy { align-items: center; }
.layout-invitation-suite .hero-visual { justify-self: center; width: min(430px, 100%); min-height: 280px; }
.invitation-panels {
  display: grid;
  gap: 0;
}
.invitation-panels .section {
  background: transparent;
  border-radius: 0;
  border-width: 1px 0 0;
  padding-inline: 0;
}

body.composition-passport_journey .site-shell { width: min(1160px, calc(100% - 28px)); }
.passport-route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.passport-route span {
  border: 1px dashed var(--accent-strong);
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent-strong);
}
.passport-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.passport-pages .section {
  border-style: dashed;
  border-radius: 0;
  transform: rotate(-0.35deg);
}
.passport-pages .section:nth-child(even) { transform: rotate(0.35deg); }
.passport-pages .section.full { grid-column: 1 / -1; }

body.composition-gallery_wall .site-shell { width: min(1280px, calc(100% - 30px)); }
.gallery-wall-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
}
.layout-gallery-wall .hero-card {
  position: sticky;
  top: 22px;
  min-height: calc(100vh - 44px);
  grid-template-columns: 1fr;
  border-radius: 0;
}
.gallery-wall-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gallery-wall-sections .section {
  min-height: 270px;
  border-radius: 0;
}
.gallery-wall-sections .section:nth-child(4n + 1) { grid-row: span 2; }
.gallery-wall-sections .section.full { grid-column: 1 / -1; }

body.composition-timeline_program .site-shell { width: min(1080px, calc(100% - 34px)); }
.program-timeline {
  display: grid;
  gap: 0;
  margin-top: 24px;
  position: relative;
}
.program-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(24px, 8vw, 110px);
  width: 1px;
  background: var(--accent);
}
.program-timeline .section {
  width: min(760px, calc(100% - 74px));
  margin-left: clamp(54px, 12vw, 160px);
  border-radius: 0;
  border-width: 0 0 1px;
  background: transparent;
}
.program-timeline .section::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 42px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-strong);
}

body.composition-split_editorial .site-shell { width: min(1340px, calc(100% - 22px)); }
.split-editorial-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.split-sticky-panel {
  position: sticky;
  top: 16px;
}
.layout-split-editorial .hero-card {
  min-height: calc(100vh - 32px);
  grid-template-columns: 1fr;
}
.split-scroll-sections {
  display: grid;
  gap: 16px;
}
.split-scroll-sections .section {
  min-height: 42vh;
  display: grid;
  align-content: center;
}

body.composition-party_board .site-shell { width: min(1220px, calc(100% - 24px)); }
.party-board-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.party-board-grid .section {
  grid-column: span 3;
  min-height: 250px;
  border-radius: 24px;
}
.party-board-grid .section:nth-child(4n + 1) { grid-column: span 4; transform: rotate(-0.55deg); }
.party-board-grid .section:nth-child(4n + 2) { grid-column: span 2; transform: rotate(0.65deg); }
.party-board-grid .section.full { grid-column: 1 / -1; }

@media (max-width: 800px) {
  .site-shell { width: min(100% - 20px, 720px); padding-top: 10px; }
  .hero-card { grid-template-columns: 1fr; min-height: auto; padding: 24px; }
  .hero-visual { min-height: 300px; }
  .section-grid { grid-template-columns: 1fr; }
  .rsvp-form { grid-template-columns: 1fr; }
  .couple-names { font-size: clamp(3.6rem, 20vw, 6rem); }
  .editorial-issue-grid,
  .photo-essay-sections,
  .gallery-wall-grid,
  .split-editorial-grid,
  .passport-pages,
  .party-board-grid,
  .editorial-sections,
  .gallery-wall-sections {
    grid-template-columns: 1fr;
  }
  .editorial-issue-grid .layout-aside,
  .layout-gallery-wall .hero-card,
  .split-sticky-panel {
    position: relative;
    top: auto;
  }
  .editorial-sections .section,
  .editorial-sections .section:nth-child(3n + 1),
  .editorial-sections .section:nth-child(3n + 2),
  .photo-essay-sections .section:nth-child(odd),
  .photo-essay-sections .section:nth-child(even),
  .passport-pages .section.full,
  .gallery-wall-sections .section.full,
  .party-board-grid .section,
  .party-board-grid .section:nth-child(4n + 1),
  .party-board-grid .section:nth-child(4n + 2) {
    grid-column: 1 / -1;
  }
  .photo-essay-frame,
  .layout-photo-essay .hero-card,
  .layout-split-editorial .hero-card,
  .layout-gallery-wall .hero-card {
    min-height: auto;
  }
  .layout-photo-essay .layout-aside {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: 12px;
  }
  .poster-stack .section:nth-child(odd),
  .poster-stack .section:nth-child(even),
  .program-timeline .section {
    margin-inline: 0;
    width: auto;
  }
  .program-timeline::before,
  .program-timeline .section::before {
    display: none;
  }
  .passport-route {
    grid-template-columns: 1fr;
  }
}


/* OpenClaw design spec: Vertigo Centrado */
:root {
  --paper: #ffffff;
  --ink: #000000;
  --muted: #999999;
  --accent: #000000;
  --accent-strong: #000000;
  --panel: #ffffffe8;
  --line: color-mix(in srgb, #000000 16%, transparent);
  --heading: "Didot", "Bodoni 72", "Libre Baskerville", Georgia, serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
}
body.has-openclaw {
  background:
    radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 22rem),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--accent-strong) 16%, transparent), transparent 19rem),
    linear-gradient(145deg, color-mix(in srgb, var(--paper) 94%, white), var(--paper));
}
body.has-openclaw .hero-card {
  position: relative;
  overflow: hidden;
}
body.has-openclaw .hero-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  pointer-events: none;
}
body.has-openclaw .section {
  overflow: hidden;
}
body.has-openclaw .button {
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}
body.has-openclaw .button:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

/* Expanded creative controls */
body.color-high_contrast {
  --paper: color-mix(in srgb, #ffffff 78%, white);
  --ink: color-mix(in srgb, #000000 92%, black);
  --panel: color-mix(in srgb, white 84%, #ffffff);
}
body.color-monochrome_accent .section,
body.color-monochrome_accent .hero-card { filter: saturate(0.72); }
body.color-pastel_wash {
  --paper: color-mix(in srgb, #ffffff 72%, white);
  --accent: color-mix(in srgb, #000000 52%, white);
  --accent-strong: color-mix(in srgb, #000000 72%, #000000);
}
body.color-earthy_layers { --paper: color-mix(in srgb, #ffffff 80%, #d5c0a0); }
body.color-jewel_tone {
  --ink: color-mix(in srgb, #000000 72%, #131027);
  --accent: color-mix(in srgb, #000000 62%, #1e6b5c);
  --accent-strong: color-mix(in srgb, #000000 62%, #7d2749);
}
body.color-black_tie {
  --paper: #11100e;
  --ink: #f8f3e8;
  --muted: #d1c6b4;
  --panel: #191816e8;
  --line: rgba(248,243,232,0.18);
}
body.color-coastal_light {
  --paper: color-mix(in srgb, #ffffff 76%, #edf8f6);
  --accent: color-mix(in srgb, #000000 54%, #82b6b3);
}

body.bg-radial_glow { background: radial-gradient(circle at 12% 14%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 25rem), radial-gradient(circle at 82% 82%, color-mix(in srgb, var(--accent-strong) 22%, transparent), transparent 26rem), var(--paper); }
body.bg-split_canvas { background: linear-gradient(90deg, var(--paper) 0 50%, color-mix(in srgb, var(--accent) 18%, var(--paper)) 50% 100%); }
body.bg-paper_grain .motif-layer { background: radial-gradient(circle, color-mix(in srgb, var(--ink) 11%, transparent) 0 1px, transparent 1.6px); background-size: 13px 13px; opacity: 0.18; }
body.bg-editorial_grid .motif-layer { background-image: linear-gradient(color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1px); background-size: 7vw 7vw; }
body.bg-sunset_wash { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, var(--paper)), var(--paper) 46%, color-mix(in srgb, var(--accent-strong) 16%, var(--paper))); }
body.bg-dark_luxe { background: radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 22rem), #11100e; }
body.bg-dark_luxe .hero-card,
body.bg-dark_luxe .section { box-shadow: 0 28px 120px rgba(0,0,0,0.32); }
body.bg-linen .motif-layer { background: repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 5px), repeating-linear-gradient(90deg, rgba(0,0,0,0.035) 0 1px, transparent 1px 6px); opacity: 0.32; }

body.type-editorial .couple-names { letter-spacing: -0.08em; text-transform: uppercase; }
body.type-romantic .couple-names { font-style: italic; letter-spacing: -0.035em; }
body.type-modernist .couple-names { font-family: var(--body); font-weight: 800; letter-spacing: -0.07em; text-transform: uppercase; }
body.type-organic .couple-names { font-style: italic; line-height: 0.94; }
body.type-art_deco .couple-names,
body.type-art_deco .section h2 { letter-spacing: 0.08em; text-transform: uppercase; }
body.type-soft_humanist .section p,
body.type-soft_humanist .hero-intro { font-size: 1.12rem; }

body.shape-sharp .hero-card,
body.shape-sharp .section,
body.shape-sharp .hero-visual,
body.shape-sharp .button,
body.shape-sharp .site-nav a { border-radius: 0; }
body.shape-rounded .hero-card,
body.shape-rounded .section { border-radius: 36px; }
body.shape-pill .hero-card,
body.shape-pill .section,
body.shape-pill .site-nav a,
body.shape-pill .button { border-radius: 999px; }
body.shape-pill .section { padding-inline: clamp(34px, 5vw, 70px); }
body.shape-organic .hero-card,
body.shape-organic .section { border-radius: 44% 56% 46% 54% / 8% 10% 9% 11%; }
body.shape-arched .hero-visual,
body.shape-arched .lettering-mark,
body.shape-arched .illustrated-mark { border-radius: 50% 50% 8px 8px; }
body.shape-cutout .hero-card,
body.shape-cutout .section { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
body.shape-mixed .section:nth-child(odd) { border-radius: 42px 10px; }
body.shape-mixed .section:nth-child(even) { border-radius: 10px 42px; }

body.surface-flat .hero-card,
body.surface-flat .section { box-shadow: none; backdrop-filter: none; }
body.surface-glass .hero-card,
body.surface-glass .section { background: color-mix(in srgb, var(--panel) 70%, transparent); backdrop-filter: blur(20px); }
body.surface-paper .hero-card,
body.surface-paper .section { background: color-mix(in srgb, var(--panel) 88%, #fff6e7); box-shadow: 0 12px 50px color-mix(in srgb, var(--ink) 10%, transparent); }
body.surface-outline .hero-card,
body.surface-outline .section { background: transparent; border: 1.5px solid var(--ink); }
body.surface-shadowed .hero-card,
body.surface-shadowed .section { box-shadow: 0 32px 90px color-mix(in srgb, var(--ink) 20%, transparent); }
body.surface-layered .section:nth-child(odd) { transform: translateX(-8px); }
body.surface-layered .section:nth-child(even) { transform: translateX(8px); }
body.surface-inked .hero-card,
body.surface-inked .section { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }

body.button-outline .button { background: transparent; color: var(--ink); }
body.button-pill .button { border-radius: 999px; }
body.button-underlined .button { background: transparent; color: var(--ink); border-width: 0 0 1px; padding-inline: 0; min-height: 34px; }
body.button-boxed .button { border-radius: 0; box-shadow: 4px 4px 0 var(--accent); }
body.button-ghost .button { background: color-mix(in srgb, var(--paper) 45%, transparent); color: var(--ink); backdrop-filter: blur(12px); }

body.meta-inline .hero-meta span { border: 0; background: transparent; padding: 0; }
body.meta-inline .hero-meta span + span::before { content: "/"; margin-right: 12px; color: var(--accent); }
body.meta-stacked .hero-meta { display: grid; max-width: 360px; }
body.meta-rule .hero-meta { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 12px; }
body.meta-rule .hero-meta span { border: 0; background: transparent; padding: 0; }
body.meta-caption_strip .hero-meta { background: var(--ink); color: var(--paper); padding: 10px; width: fit-content; }
body.meta-caption_strip .hero-meta span { border-color: color-mix(in srgb, var(--paper) 24%, transparent); background: transparent; }

body.chrome-numbered .section { counter-increment: wedding-section; }
body.chrome-numbered .section h2::before { content: counter(wedding-section, decimal-leading-zero) " / "; color: var(--accent-strong); font-family: var(--body); font-size: 0.8rem; }
body.chrome-eyebrow .section::before { content: attr(data-section); display: block; font-family: var(--body); color: var(--accent-strong); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; }
body.chrome-side_label .section { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; }
body.chrome-side_label .section h2 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
body.chrome-framed .section::after { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--accent) 46%, transparent); pointer-events: none; }
body.chrome-oversized_titles .section h2 { font-size: clamp(3.2rem, 9vw, 7rem); line-height: 0.82; letter-spacing: -0.07em; }

body.lettering-seal .lettering-mark { border-radius: 50%; outline: 1px solid var(--accent); outline-offset: 10px; font-size: clamp(2rem, 6vw, 4rem); }
body.lettering-oversized .lettering-mark { width: 100%; border: 0; background: transparent; font-size: clamp(4rem, 12vw, 9rem); }
body.lettering-vertical .lettering-mark { writing-mode: vertical-rl; aspect-ratio: auto; width: auto; min-height: 360px; font-size: clamp(2.4rem, 7vw, 5.8rem); }
body.lettering-signature .lettering-mark { border: 0; background: transparent; font-style: italic; transform: rotate(-4deg); }
body.lettering-initials .lettering-mark { font-size: clamp(4rem, 12vw, 9rem); text-transform: uppercase; }
body.lettering-initials .lettering-mark br,
body.lettering-initials .lettering-mark .amp { display: none; }

body.nav-floating_pill .site-nav { position: sticky; top: 14px; margin-bottom: -46px; }
body.nav-floating_pill .site-nav a { border-radius: 999px; box-shadow: 0 14px 40px color-mix(in srgb, var(--ink) 12%, transparent); }
body.nav-side_index .site-nav { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); flex-direction: column; margin: 0; }
body.nav-side_index .site-nav a { writing-mode: vertical-rl; transform: rotate(180deg); }

body.intensity-calm .hero-card,
body.intensity-calm .section,
body.intensity-calm .footer { transition-duration: 520ms; }
body.intensity-expressive .hero-card,
body.intensity-expressive .section,
body.intensity-expressive .footer { transition-duration: 980ms; transition-delay: calc(var(--reveal-index, 0) * 110ms); }
body.scroll-sticky_hero .hero-card { position: sticky; top: 0; }
body.scroll-layered_reveal .section { transform-origin: top center; }
body.scroll-layered_reveal .section.is-visible:nth-child(odd) { transform: perspective(1200px) rotateX(0); }
body.scroll-parallax_motif .motif-layer { animation: motif-drift 18s ease-in-out infinite alternate; }
@keyframes motif-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -24px, 0) scale(1.03); }
}

/* Creative archetypes */
body.archetype-classic_invitation .site-shell { width: min(980px, calc(100% - 32px)); }
body.archetype-classic_invitation .hero-card { border-radius: 0; text-align: center; }
body.archetype-classic_invitation .hero-copy { align-items: center; }
body.archetype-classic_invitation .couple-names { font-size: clamp(4.4rem, 11vw, 8rem); }

body.archetype-editorial_magazine .site-shell { width: min(1220px, calc(100% - 28px)); }
body.archetype-editorial_magazine .hero-card { border-radius: 0; min-height: 82vh; }
body.archetype-editorial_magazine .couple-names { letter-spacing: -0.075em; text-transform: uppercase; }
body.archetype-editorial_magazine .section h2 { text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--body); font-size: clamp(1.1rem, 3vw, 2rem); }

body.archetype-cinematic_photo .site-shell { width: min(1320px, calc(100% - 24px)); }
body.archetype-cinematic_photo .hero-card { min-height: 88vh; color: var(--paper); background: var(--ink); }
body.archetype-cinematic_photo .hero-card .hero-meta span,
body.archetype-cinematic_photo .hero-card .hero-intro { color: color-mix(in srgb, var(--paper) 82%, transparent); }
body.archetype-cinematic_photo .hero-card .button.secondary { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 62%, transparent); }

body.archetype-garden_story .hero-card,
body.archetype-garden_story .section { border-radius: 54px 18px 54px 18px; }
body.archetype-garden_story .section h2::after { content: ""; display: block; width: 64px; height: 1px; margin-top: 14px; background: var(--accent); }

body.archetype-modern_poster { --panel: color-mix(in srgb, var(--paper) 84%, white); }
body.archetype-modern_poster .hero-card { border: 3px solid var(--ink); box-shadow: 18px 18px 0 var(--accent); border-radius: 0; }
body.archetype-modern_poster .couple-names { text-transform: uppercase; line-height: 0.78; letter-spacing: -0.08em; }
body.archetype-modern_poster .section { border-radius: 0; border-width: 2px; }

body.archetype-rustic_letter .site-shell { width: min(1050px, calc(100% - 32px)); }
body.archetype-rustic_letter .hero-card,
body.archetype-rustic_letter .section { box-shadow: 0 18px 70px color-mix(in srgb, var(--ink) 16%, transparent); transform-origin: center; }
body.archetype-rustic_letter .section:nth-child(odd) { transform: rotate(-0.25deg); }
body.archetype-rustic_letter .section:nth-child(even) { transform: rotate(0.25deg); }

body.archetype-minimal_luxury .site-shell { width: min(920px, calc(100% - 40px)); }
body.archetype-minimal_luxury .hero-card { min-height: 78vh; background: transparent; border: 0; box-shadow: none; text-align: center; }
body.archetype-minimal_luxury .hero-copy { align-items: center; }
body.archetype-minimal_luxury .hero-visual { min-height: 220px; border: 0; background: transparent; }
body.archetype-minimal_luxury .section { background: transparent; border-width: 0 0 1px; border-radius: 0; }

body.archetype-playful_bold .site-shell { width: min(1180px, calc(100% - 24px)); }
body.archetype-playful_bold .hero-card { border-radius: 34px; box-shadow: -12px 14px 0 color-mix(in srgb, var(--accent) 64%, white); }
body.archetype-playful_bold .couple-names { transform: rotate(-1deg); }
body.archetype-playful_bold .section:nth-child(3n) { border-radius: 18px 54px 18px 54px; }

body.archetype-black_tie_editorial {
  --paper: #12110f;
  --ink: #f7f0e4;
  --muted: #cfc3af;
  --panel: #1b1915e8;
  --line: rgba(247,240,228,0.18);
}
body.archetype-black_tie_editorial .site-shell { width: min(1180px, calc(100% - 28px)); }
body.archetype-black_tie_editorial .hero-card { min-height: 88vh; border-radius: 0; border-color: color-mix(in srgb, var(--accent) 42%, transparent); }
body.archetype-black_tie_editorial .couple-names { text-transform: uppercase; letter-spacing: -0.065em; }
body.archetype-black_tie_editorial .button.secondary { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 48%, transparent); }

body.archetype-fine_art_gallery .site-shell { width: min(1080px, calc(100% - 44px)); }
body.archetype-fine_art_gallery .hero-card { background: color-mix(in srgb, var(--paper) 86%, white); border-radius: 0; }
body.archetype-fine_art_gallery .hero-visual { padding: 16px; background: #fff; box-shadow: inset 0 0 0 14px color-mix(in srgb, var(--paper) 88%, white); }
body.archetype-fine_art_gallery .section h2 { font-family: var(--body); font-size: 0.98rem; letter-spacing: 0.24em; text-transform: uppercase; }

body.archetype-royal_monogram .hero-card { grid-template-columns: 1fr; text-align: center; border-radius: 0; }
body.archetype-royal_monogram .hero-copy { align-items: center; }
body.archetype-royal_monogram .lettering-mark,
body.archetype-royal_monogram .illustrated-mark { outline: 1px solid var(--accent); outline-offset: 16px; border-radius: 50%; }
body.archetype-royal_monogram .section { border-radius: 0; }

body.archetype-art_deco_gala .motif-layer { background: linear-gradient(135deg, transparent 0 48%, color-mix(in srgb, var(--accent) 28%, transparent) 48% 48.4%, transparent 48.4% 100%), linear-gradient(45deg, transparent 0 52%, color-mix(in srgb, var(--accent-strong) 20%, transparent) 52% 52.3%, transparent 52.3% 100%); }
body.archetype-art_deco_gala .hero-card,
body.archetype-art_deco_gala .section { border-radius: 0; border: 2px double color-mix(in srgb, var(--accent) 72%, transparent); }
body.archetype-art_deco_gala .couple-names,
body.archetype-art_deco_gala .section h2 { letter-spacing: 0.09em; text-transform: uppercase; }

body.archetype-pearl_minimal .site-shell { width: min(900px, calc(100% - 48px)); }
body.archetype-pearl_minimal .hero-card { background: transparent; border: 0; box-shadow: none; text-align: center; }
body.archetype-pearl_minimal .hero-copy { align-items: center; }
body.archetype-pearl_minimal .section { background: transparent; border-width: 1px 0 0; border-radius: 0; padding-inline: 0; }

body.archetype-newspaper_announcement .site-shell { width: min(1160px, calc(100% - 28px)); }
body.archetype-newspaper_announcement .hero-card { border-radius: 0; border: 2px solid var(--ink); box-shadow: none; }
body.archetype-newspaper_announcement .couple-names { font-family: var(--body); text-transform: uppercase; font-weight: 900; letter-spacing: -0.08em; }
body.archetype-newspaper_announcement .section { border-radius: 0; columns: auto 18rem; }
body.archetype-newspaper_announcement .section h2 { column-span: all; font-family: var(--body); text-transform: uppercase; }

body.archetype-contemporary_grid .motif-layer { background-image: linear-gradient(color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 1px); background-size: 96px 96px; }
body.archetype-contemporary_grid .site-shell { width: min(1240px, calc(100% - 24px)); }
body.archetype-contemporary_grid .hero-card,
body.archetype-contemporary_grid .section { border-radius: 0; box-shadow: none; }
body.archetype-contemporary_grid .section-grid { gap: 1px; background: var(--line); }

body.archetype-brutalist_gold .hero-card,
body.archetype-brutalist_gold .section { border: 3px solid var(--ink); border-radius: 0; box-shadow: 12px 12px 0 var(--accent); }
body.archetype-brutalist_gold .couple-names { font-family: var(--body); font-weight: 950; text-transform: uppercase; line-height: 0.78; }
body.archetype-brutalist_gold .button { box-shadow: 5px 5px 0 var(--accent); }

body.archetype-champagne_tower .motif-layer { background: radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--accent) 42%, transparent) 0 5px, transparent 6px), radial-gradient(circle at 74% 34%, color-mix(in srgb, var(--accent-strong) 26%, transparent) 0 4px, transparent 5px); background-size: 96px 96px; }
body.archetype-champagne_tower .hero-card { border-radius: 999px 999px 36px 36px; }
body.archetype-champagne_tower .section h2::after { content: ""; flex: 1; height: 1px; background: var(--accent); }

body.archetype-floral_couture .hero-card,
body.archetype-floral_couture .section { border-radius: 52px 8px; }
body.archetype-floral_couture .section h2 { font-style: italic; }
body.archetype-floral_couture .section h2::after { content: ""; display: block; width: 90px; height: 1px; background: var(--accent); margin-left: 10px; }

body.archetype-botanical_arch .hero-visual { border-radius: 50% 50% 12px 12px; }
body.archetype-botanical_arch .hero-card { border-radius: 48px 48px 12px 12px; }
body.archetype-botanical_arch .section { border-radius: 32px 32px 10px 10px; }
body.archetype-botanical_arch .motif-layer::before { content: ""; position: absolute; inset: 7vh auto auto 6vw; width: 220px; height: 340px; border: 1px solid var(--accent); border-radius: 50% 50% 0 0; opacity: 0.22; }

body.archetype-spring_meadow .hero-card,
body.archetype-spring_meadow .section { border: 0; box-shadow: 0 22px 80px color-mix(in srgb, var(--accent) 15%, transparent); }
body.archetype-spring_meadow .motif-layer { background: radial-gradient(circle at 16% 22%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 18rem), radial-gradient(circle at 82% 70%, color-mix(in srgb, var(--accent-strong) 18%, transparent), transparent 20rem); }
body.archetype-spring_meadow .couple-names { font-style: italic; }

body.archetype-sunset_terrace { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, var(--paper)), var(--paper) 44%, color-mix(in srgb, var(--accent-strong) 18%, var(--paper))); }
body.archetype-sunset_terrace .hero-card { min-height: 86vh; border-radius: 0 0 64px 64px; }
body.archetype-sunset_terrace .hero-meta span { background: color-mix(in srgb, var(--paper) 58%, transparent); }

body.archetype-celestial_night {
  --paper: #10131c;
  --ink: #f7f2e7;
  --muted: #c4c6d1;
  --panel: #171b27e8;
  --line: rgba(247,242,231,0.16);
}
body.archetype-celestial_night .motif-layer { background: radial-gradient(circle at 12% 18%, var(--accent) 0 1px, transparent 2px), radial-gradient(circle at 72% 34%, var(--ink) 0 1px, transparent 2px), radial-gradient(circle at 42% 82%, var(--accent-strong) 0 1px, transparent 2px); background-size: 160px 160px; opacity: 0.5; }
body.archetype-celestial_night .hero-card { border-radius: 0; }

body.archetype-coastal_air { --accent: #8abac0; --accent-strong: #4e858b; }
body.archetype-coastal_air .site-shell { width: min(1180px, calc(100% - 34px)); }
body.archetype-coastal_air .hero-card { background: color-mix(in srgb, var(--paper) 76%, #edf9f9); border: 0; box-shadow: none; }
body.archetype-coastal_air .section { border-radius: 0; border-width: 1px 0; background: transparent; }

body.archetype-beach_house .hero-card,
body.archetype-beach_house .section { border-radius: 0; background: color-mix(in srgb, var(--paper) 82%, white); }
body.archetype-beach_house .motif-layer { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent) 0 1px, transparent 1px 34px); }
body.archetype-beach_house .button { border-radius: 999px; }

body.archetype-mediterranean_villa .hero-card { border-radius: 0 80px 0 80px; }
body.archetype-mediterranean_villa .section:nth-child(odd) { border-radius: 48px 8px; }
body.archetype-mediterranean_villa .motif-layer { background: radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 18rem); }

body.archetype-tiled_azulejo { --accent: #2d6f9f; --accent-strong: #154a72; }
body.archetype-tiled_azulejo .motif-layer { background-image: linear-gradient(45deg, color-mix(in srgb, var(--accent) 18%, transparent) 25%, transparent 25%), linear-gradient(-45deg, color-mix(in srgb, var(--accent) 18%, transparent) 25%, transparent 25%); background-size: 44px 44px; opacity: 0.36; }
body.archetype-tiled_azulejo .hero-card,
body.archetype-tiled_azulejo .section { border-radius: 0; border-color: color-mix(in srgb, var(--accent-strong) 34%, transparent); }

body.archetype-destination_passport .hero-card,
body.archetype-destination_passport .section { border-radius: 0; border-style: dashed; }
body.archetype-destination_passport .hero-meta span { border-style: dashed; text-transform: uppercase; letter-spacing: 0.08em; }
body.archetype-destination_passport .section h2::before { content: "✦"; color: var(--accent); }

body.archetype-city_elopement .site-shell { width: min(1260px, calc(100% - 22px)); }
body.archetype-city_elopement .hero-card { border-radius: 0; min-height: 90vh; }
body.archetype-city_elopement .couple-names { font-family: var(--body); font-weight: 850; text-transform: uppercase; letter-spacing: -0.09em; }
body.archetype-city_elopement .section { border-radius: 0; border-width: 0 0 1px; }

body.archetype-boho_festival .hero-card,
body.archetype-boho_festival .section { border-radius: 44% 56% 47% 53% / 8% 12% 9% 11%; }
body.archetype-boho_festival .motif-layer { background: radial-gradient(circle at 12% 30%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 16rem), repeating-linear-gradient(12deg, color-mix(in srgb, var(--ink) 4%, transparent) 0 1px, transparent 1px 12px); }
body.archetype-boho_festival .lettering-mark { border-style: dashed; }

body.archetype-vineyard_estate { --accent: #7a2d3f; --accent-strong: #4f1828; }
body.archetype-vineyard_estate .hero-card { border-radius: 36px 36px 6px 6px; }
body.archetype-vineyard_estate .section h2::after { content: ""; height: 1px; flex: 1; background: color-mix(in srgb, var(--accent) 60%, transparent); }

body.archetype-mountain_lodge .hero-card,
body.archetype-mountain_lodge .section { border-radius: 8px; box-shadow: 0 20px 70px color-mix(in srgb, var(--ink) 18%, transparent); }
body.archetype-mountain_lodge .motif-layer { background: linear-gradient(135deg, transparent 0 42%, color-mix(in srgb, var(--accent) 14%, transparent) 42% 42.5%, transparent 42.5% 100%); }
body.archetype-mountain_lodge .couple-names { line-height: 0.9; }

body.archetype-autumn_harvest { --accent: #b4682d; --accent-strong: #723719; }
body.archetype-autumn_harvest .hero-card,
body.archetype-autumn_harvest .section { box-shadow: 0 22px 80px color-mix(in srgb, var(--accent-strong) 16%, transparent); }
body.archetype-autumn_harvest .motif-layer { background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 18rem); }

body.archetype-winter_velvet {
  --paper: #101826;
  --ink: #f6f1e8;
  --muted: #d0d6df;
  --panel: #172033e8;
  --line: rgba(246,241,232,0.16);
}
body.archetype-winter_velvet .hero-card,
body.archetype-winter_velvet .section { box-shadow: 0 32px 110px rgba(0,0,0,0.3); }

body.archetype-handwritten_note .site-shell { width: min(940px, calc(100% - 36px)); }
body.archetype-handwritten_note .hero-card,
body.archetype-handwritten_note .section { background: color-mix(in srgb, var(--panel) 88%, #fff7e8); border-radius: 4px; }
body.archetype-handwritten_note .couple-names { font-style: italic; transform: rotate(-0.7deg); }
body.archetype-handwritten_note .button { background: transparent; color: var(--ink); border-width: 0 0 1px; padding-inline: 0; }

body.archetype-disco_party .motif-layer { background: radial-gradient(circle at 16% 18%, color-mix(in srgb, var(--accent) 54%, transparent) 0 4px, transparent 5px), radial-gradient(circle at 80% 62%, color-mix(in srgb, var(--accent-strong) 46%, transparent) 0 5px, transparent 6px); background-size: 72px 72px; }
body.archetype-disco_party .hero-card { border-radius: 0; border: 2px solid var(--ink); box-shadow: -14px 14px 0 var(--accent); }
body.archetype-disco_party .couple-names { font-family: var(--body); font-weight: 900; text-transform: uppercase; letter-spacing: -0.08em; }

body.archetype-studio_minimal .site-shell { width: min(980px, calc(100% - 48px)); }
body.archetype-studio_minimal .hero-card { background: transparent; border: 0; box-shadow: none; min-height: 70vh; }
body.archetype-studio_minimal .section { background: transparent; border-radius: 0; border-width: 1px 0 0; }
body.archetype-studio_minimal .couple-names { font-family: var(--body); font-weight: 650; letter-spacing: -0.08em; }

body.archetype-cinema_ticket .hero-card,
body.archetype-cinema_ticket .section { border-radius: 0; border-style: dashed; }
body.archetype-cinema_ticket .couple-names { text-transform: uppercase; letter-spacing: -0.075em; }
body.archetype-cinema_ticket .hero-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 1px dashed color-mix(in srgb, var(--accent) 64%, transparent); pointer-events: none; }

body.archetype-secret_garden .hero-card,
body.archetype-secret_garden .section { border-radius: 64px 16px; }
body.archetype-secret_garden .motif-layer::before,
body.archetype-secret_garden .motif-layer::after { content: ""; position: absolute; width: 320px; height: 480px; border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent); border-radius: 50% 50% 8px 8px; opacity: 0.25; }
body.archetype-secret_garden .motif-layer::before { left: -120px; top: 8vh; }
body.archetype-secret_garden .motif-layer::after { right: -130px; bottom: 4vh; }

body.archetype-gallery_catalogue .site-shell { width: min(1040px, calc(100% - 46px)); }
body.archetype-gallery_catalogue .hero-card { grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); border-radius: 0; }
body.archetype-gallery_catalogue .hero-copy { order: 2; }
body.archetype-gallery_catalogue .hero-visual { order: 1; border-radius: 0; background: white; }
body.archetype-gallery_catalogue .section h2 { font-family: var(--body); font-size: 0.9rem; letter-spacing: 0.22em; text-transform: uppercase; }

body.archetype-poetic_letterpress .site-shell { width: min(960px, calc(100% - 40px)); }
body.archetype-poetic_letterpress .hero-card,
body.archetype-poetic_letterpress .section { border-radius: 0; background: color-mix(in srgb, var(--panel) 90%, #fff8eb); box-shadow: inset 0 0 0 1px color-mix(in srgb, white 42%, transparent), 0 12px 50px color-mix(in srgb, var(--ink) 10%, transparent); }
body.archetype-poetic_letterpress .couple-names { text-shadow: 0 1px 0 color-mix(in srgb, white 68%, transparent); }
body.archetype-poetic_letterpress .section h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Hero variants */
body.hero-centered .hero-card { grid-template-columns: 1fr; text-align: center; }
body.hero-centered .hero-copy { align-items: center; }
body.hero-centered .hero-visual { min-height: 260px; width: min(540px, 100%); justify-self: center; }
body.hero-full_bleed .site-shell { width: 100%; padding-top: 0; }
body.hero-full_bleed .hero-card { min-height: 94vh; border-radius: 0; grid-template-columns: 1fr; padding: clamp(28px, 7vw, 92px); }
body.hero-full_bleed .hero-visual { position: absolute; inset: 0; min-height: 100%; border: 0; border-radius: 0; opacity: 0.34; z-index: 0; }
body.hero-full_bleed .hero-copy { max-width: min(900px, 88vw); color: var(--paper); text-shadow: 0 2px 34px color-mix(in srgb, var(--ink) 42%, transparent); }
body.hero-full_bleed .hero-meta span { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 32%, transparent); background: color-mix(in srgb, var(--ink) 22%, transparent); }
body.hero-full_bleed .button.secondary { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 58%, transparent); }
body.hero-poster .hero-card { grid-template-columns: 1fr; }
body.hero-poster .couple-names { font-size: clamp(5rem, 17vw, 14rem); text-transform: uppercase; line-height: 0.76; }
body.hero-poster .hero-meta { max-width: 760px; }
body.hero-invitation .hero-card { width: min(860px, 100%); margin-inline: auto; min-height: 76vh; }
body.hero-invitation .hero-card::before { content: ""; position: absolute; inset: 32px; border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); pointer-events: none; }
body.hero-monogram .hero-card { grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr); }
body.hero-monogram .hero-copy { order: 2; }
body.hero-monogram .hero-visual { order: 1; min-height: 360px; }
body.hero-photo_story .hero-card { grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr); }
body.hero-photo_story .hero-copy { order: 2; }
body.hero-photo_story .hero-visual { order: 1; min-height: 620px; }

/* Section flows */
body.flow-cards .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.flow-timeline .section-grid { grid-template-columns: 1fr; width: min(820px, 100%); margin-inline: auto; position: relative; }
body.flow-timeline .section-grid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 28px; width: 1px; background: var(--accent); opacity: 0.52; }
body.flow-timeline .section { margin-left: 58px; border-radius: 24px; }
body.flow-story .section-grid { grid-template-columns: 1fr; width: min(760px, 100%); margin-inline: auto; gap: 34px; }
body.flow-story .section { background: transparent; border-width: 0 0 1px; border-radius: 0; }
body.flow-magazine .section-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; }
body.flow-magazine .section { grid-column: span 6; }
body.flow-magazine .section:nth-child(3n + 1) { grid-column: span 7; min-height: 320px; }
body.flow-magazine .section:nth-child(3n + 2) { grid-column: span 5; }
body.flow-magazine .section.full { grid-column: 1 / -1; }
body.flow-stacked .section-grid { grid-template-columns: 1fr; gap: 16px; }
body.flow-alternating .section-grid { grid-template-columns: 1fr; }
body.flow-alternating .section { width: min(760px, 92%); }
body.flow-alternating .section:nth-child(even) { margin-left: auto; }

/* Motifs */
body.motif-botanical .motif-layer::before,
body.motif-botanical .motif-layer::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, transparent);
  border-radius: 62% 38% 56% 44%;
  opacity: 0.26;
}
body.motif-botanical .motif-layer::before { left: -110px; top: 9vh; transform: rotate(-24deg); }
body.motif-botanical .motif-layer::after { right: -120px; bottom: 4vh; transform: rotate(28deg); }
body.motif-geometric .motif-layer { background-image: linear-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px); background-size: 58px 58px; }
body.motif-paper .motif-layer { background: radial-gradient(circle at 22% 16%, color-mix(in srgb, var(--ink) 8%, transparent) 0 1px, transparent 2px), radial-gradient(circle at 70% 62%, color-mix(in srgb, var(--accent) 12%, transparent) 0 1px, transparent 2px); background-size: 18px 18px, 24px 24px; opacity: 0.32; }
body.motif-luxury_lines .motif-layer { background: linear-gradient(115deg, transparent 0 46%, color-mix(in srgb, var(--accent) 30%, transparent) 46% 46.2%, transparent 46.2% 100%), linear-gradient(65deg, transparent 0 58%, color-mix(in srgb, var(--accent-strong) 18%, transparent) 58% 58.15%, transparent 58.15% 100%); }
body.motif-rustic_texture .motif-layer { background: repeating-linear-gradient(12deg, color-mix(in srgb, var(--ink) 5%, transparent) 0 1px, transparent 1px 9px); opacity: 0.34; }
body.motif-soft_blobs .motif-layer { background: radial-gradient(circle at 18% 24%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 18rem), radial-gradient(circle at 82% 72%, color-mix(in srgb, var(--accent-strong) 22%, transparent), transparent 21rem); }
body.motif-stars .motif-layer { background: radial-gradient(circle at 10% 20%, var(--accent) 0 1px, transparent 2px), radial-gradient(circle at 34% 68%, var(--accent-strong) 0 1px, transparent 2px), radial-gradient(circle at 78% 22%, var(--accent) 0 1px, transparent 2px), radial-gradient(circle at 92% 78%, var(--accent-strong) 0 1px, transparent 2px); background-size: 180px 180px; opacity: 0.42; }

/* Photo and lettering treatments */
body.photo-full_bleed .hero-visual img { object-fit: cover; }
body.photo-oval .hero-visual { border-radius: 48% 52% 45% 55%; }
body.photo-polaroid .hero-visual { border: 16px solid color-mix(in srgb, white 88%, var(--paper)); border-bottom-width: 54px; box-shadow: 0 24px 80px color-mix(in srgb, var(--ink) 18%, transparent); transform: rotate(-1.6deg); }
body.photo-soft_mask .hero-visual { border-radius: 34% 66% 58% 42%; }
body.photo-duotone .hero-visual img { filter: grayscale(1) sepia(0.42) saturate(1.55) contrast(0.95); mix-blend-mode: multiply; }
body.photo-grain .hero-visual::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16) 0 1px, transparent 1px 4px); opacity: 0.28; pointer-events: none; }

/* Density */
body.density-minimal .hero-meta span:nth-child(2),
body.density-minimal #countdown { display: none; }
body.density-minimal .section { padding: clamp(22px, 3vw, 34px); }
body.density-rich .site-shell { padding-block: 46px 76px; }
body.density-rich .hero-card { gap: clamp(32px, 6vw, 82px); }
body.density-rich .section { padding: clamp(32px, 5vw, 58px); }
body.density-rich .section h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }

/* Legacy layout aliases kept for older generated specs */
body.openclaw-minimal .hero-card { grid-template-columns: 1fr; text-align: center; }
body.openclaw-minimal .hero-copy { align-items: center; }
body.openclaw-minimal .hero-visual { min-height: 280px; width: min(520px, 100%); justify-self: center; }
body.openclaw-editorial .hero-card { grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr); }
body.openclaw-editorial .couple-names { letter-spacing: -0.055em; }
body.openclaw-garden .hero-card,
body.openclaw-garden .section { border-radius: 44px 18px 44px 18px; }
body.openclaw-garden .section::before { content: "flor"; color: var(--accent); font-family: var(--heading); font-size: 0.9rem; letter-spacing: 0.25em; text-transform: uppercase; }
body.openclaw-poster .hero-card { border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--accent); }
body.openclaw-poster .couple-names { text-transform: uppercase; line-height: 0.84; }
body.openclaw-poster .section h2 { text-transform: uppercase; letter-spacing: 0.08em; }
body.openclaw-storybook .site-shell { width: min(1040px, calc(100% - 32px)); }
body.openclaw-storybook .hero-card { border-radius: 52px; }
body.openclaw-storybook .couple-names { font-style: italic; }
body.openclaw-atelier .hero-card { transform: rotate(-0.4deg); }
body.openclaw-atelier .section:nth-child(even) { transform: rotate(0.3deg); }

/* Motion */
body.motion-soft_reveal .hero-card,
body.motion-soft_reveal .section,
body.motion-soft_reveal .footer,
body.motion-romantic_float .hero-card,
body.motion-romantic_float .section,
body.motion-romantic_float .footer,
body.motion-editorial_slide .hero-card,
body.motion-editorial_slide .section,
body.motion-editorial_slide .footer,
body.motion-poster_snap .hero-card,
body.motion-poster_snap .section,
body.motion-poster_snap .footer {
  opacity: 0;
  transition: opacity 760ms ease, transform 760ms ease;
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}
body.motion-soft_reveal .hero-card,
body.motion-soft_reveal .section,
body.motion-soft_reveal .footer { transform: translateY(30px); }
body.motion-editorial_slide .hero-card,
body.motion-editorial_slide .section,
body.motion-editorial_slide .footer { transform: translateX(-34px); }
body.motion-romantic_float .hero-card,
body.motion-romantic_float .section,
body.motion-romantic_float .footer { transform: translateY(34px) scale(0.985); }
body.motion-poster_snap .hero-card,
body.motion-poster_snap .section,
body.motion-poster_snap .footer { transform: translateY(20px) rotate(-0.45deg); transition-timing-function: cubic-bezier(.2,.9,.16,1); }
body.motion-soft_reveal .is-visible,
body.motion-editorial_slide .is-visible,
body.motion-romantic_float .is-visible,
body.motion-poster_snap .is-visible,
body.has-openclaw .is-visible {
  opacity: 1;
  transform: none;
}
body.motion-romantic_float .motif-layer::before,
body.motion-romantic_float .motif-layer::after {
  animation: motif-float 8s ease-in-out infinite alternate;
}
@keyframes motif-float {
  from { translate: 0 0; }
  to { translate: 0 -18px; }
}
@media (prefers-reduced-motion: reduce) {
  body.has-openclaw .hero-card,
  body.has-openclaw .section,
  body.has-openclaw .footer,
  body.has-openclaw .motif-layer::before,
  body.has-openclaw .motif-layer::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width: 800px) {
  body.has-openclaw .hero-card,
  body.hero-monogram .hero-card,
  body.hero-photo_story .hero-card {
    grid-template-columns: 1fr;
  }
  body.hero-full_bleed .hero-card { min-height: 82vh; }
  body.flow-magazine .section-grid,
  body.flow-cards .section-grid { grid-template-columns: 1fr; }
  body.flow-magazine .section,
  body.flow-magazine .section:nth-child(3n + 1),
  body.flow-magazine .section:nth-child(3n + 2) { grid-column: 1 / -1; }
  body.hero-monogram .hero-copy,
  body.hero-photo_story .hero-copy,
  body.hero-monogram .hero-visual,
  body.hero-photo_story .hero-visual { order: initial; }
  body.nav-side_index .site-nav {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
  }
  body.nav-side_index .site-nav a {
    writing-mode: initial;
    transform: none;
  }
  body.chrome-side_label .section {
    grid-template-columns: 1fr;
  }
  body.chrome-side_label .section h2 {
    writing-mode: initial;
    transform: none;
  }
}
.page { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 3rem 2rem; } .big-name { font-family: serif; font-size: 4rem; font-weight: 400; color: var(--ink); margin-bottom: 2rem; } .date-text { font-size: 1rem; color: var(--muted); letter-spacing: 0.15em; margin-bottom: 1.5rem; } .location-text { font-size: 0.9rem; color: var(--ink); margin-bottom: 1.5rem; } .time-text { font-size: 0.85rem; color: var(--muted); margin-bottom: 2.5rem; } .solid-btn { background: var(--ink); color: var(--paper); padding: 0.8rem 2rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: none; cursor: pointer; } .footer-text { margin-top: 3rem; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.2em; }
