:root {
  color-scheme: light;
  --ink: #2c1e22;
  --muted: #6c555a;
  --accent: #741f46;
  --accent-deep: #551632;
  --paper: #fffaf6;
  --panel: #fff;
  --edge: #e9d7d8;
  --heading: 'Playfair Display', Georgia, serif;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--accent); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #a84573; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; font-family: var(--heading); font-weight: 500; }

.topbar { border-bottom: 1px solid var(--edge); background: #fffcf9; }
.bar-inner, .shell { width: min(100% - 40px, 1180px); margin-inline: auto; }
.bar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-mark { display: grid; place-items: center; color: #fff; background: var(--accent); width: 28px; height: 28px; border-radius: 50%; font: 700 19px/1 Georgia, serif; }
.shell { padding-block: 24px 64px; }
.button, .quiet, .design-button { border-radius: 9px; border: 1px solid transparent; text-decoration: none; font-size: 14px; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; color: white; background: var(--accent); }
.button:hover { background: var(--accent-deep); }
.button:disabled { background: #8c727b; opacity: .75; }
.button.secondary { background: #fff; border-color: #bf8a9f; color: var(--accent); }
.button.secondary:hover { background: #f8ebee; }
.button.secondary:disabled { color: #725b62; background: #f4e8e9; border-color: #e8d4d9; }
.quiet { background: transparent; color: var(--accent); padding: 8px; }
.quiet:hover { background: #f3e3e6; }
.catalog-section { margin-top: 42px; scroll-margin-top: 18px; }
.section-heading { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.section-heading h2 { font-size: clamp(26px, 4vw, 38px); }
#design-count { color: var(--muted); font-size: 14px; white-space: nowrap; }
.design-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.design-card { overflow: hidden; border: 1px solid var(--edge); border-radius: 14px; background: #fff; }
.design-card img { width: 100%; display: block; aspect-ratio: 5 / 6; object-fit: cover; object-position: center 32%; background: #eddad6; }
.design-info { padding: 14px; }
.design-info h3 { font-size: clamp(18px, 2.1vw, 23px); }
.design-info p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.design-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.design-button { min-height: 36px; padding: 6px 11px; color: var(--accent); border-color: #e6cbd4; background: #fff8fa; }
.design-actions a { font-size: 13px; text-underline-offset: 3px; }

.editor-top { display: flex; align-items: center; gap: 9px; margin: -8px 0 17px; color: var(--muted); font-size: 14px; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, 1fr); align-items: start; gap: clamp(16px, 4vw, 50px); }
.editor-grid h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 20px; }
form { display: grid; gap: 16px; }
fieldset, .share-panel { min-inline-size: 0; border: 1px solid var(--edge); padding: 16px; margin: 0; border-radius: 13px; background: var(--panel); }
legend, .legend-row h2, .preview-heading h2 { color: var(--ink); font: 600 20px/1.2 var(--heading); }
legend { padding: 0 6px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; min-width: 0; color: #3d2a31; font-weight: 700; font-size: 14px; }
input, textarea { display: block; width: 100%; min-width: 0; border-radius: 8px; border: 1px solid #d7c4c9; background: #fff; padding: 9px 10px; color: var(--ink); font-weight: 400; }
input { min-height: 42px; }
textarea { resize: vertical; }
.legend-row, .preview-heading, .photo-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.photo-status, .hint, #status { font-size: 14px; color: var(--muted); }
.photo-status { margin-top: 5px; }
.event { border-top: 1px solid var(--edge); padding-top: 11px; margin-top: 10px; }
.event-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.event-head strong { font-size: 14px; }
.actions, .share-row, .share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
#status:empty, #payment-state:empty { display: none; }
#status[data-error=true] { color: #a42d47; }
.share-panel { padding: 18px; margin-top: 18px; }
.share-panel h2 { margin-bottom: 14px; font-size: 24px; }
.share-row { flex-wrap: nowrap; margin: 5px 0 12px; }
.share-row button { flex: 0 0 auto; }
.share-actions { font-size: 14px; gap: 18px; margin-bottom: 6px; }
.preview-panel { position: sticky; top: 16px; padding: 12px; border: 1px solid var(--edge); background: #f3e2df; border-radius: 16px; min-width: 0; }
.preview-heading { padding: 4px 3px 12px; }
.preview-heading a { color: var(--accent); font-size: 13px; text-underline-offset: 3px; }
.preview-panel iframe { display: block; background: #fff7f4; border: 1px solid #ddc5c7; border-radius: 10px; width: 100%; min-height: 535px; height: min(74vh, 760px); }

@media (max-width: 960px) {
  .design-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .editor-grid { grid-template-columns: 1fr; }
  .preview-panel { position: relative; top: auto; }
  .bar-inner, .shell { width: min(100% - 28px, 1180px); }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .catalog-section { margin-top: 25px; }
  .design-info { padding: 10px; }
}
@media (max-width: 400px) {
  .brand { font-size: 14px; }
  .bar-inner { min-height: 59px; }
  .fields { grid-template-columns: 1fr; }
  .design-actions { gap: 7px; }
}

.bar-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:6px }
.design-card { background:var(--theme-paper,#fff); border-color:color-mix(in srgb,var(--theme-accent,#772747),white 79%); box-shadow:0 6px 19px #3a1e1709 }
.design-card img { aspect-ratio:4/5; }
.design-info h3 { color:var(--theme-accent,#772747) }
.price-settings { max-width:900px }
.price-settings h1 { font-size:clamp(32px,4vw,49px); margin-bottom:8px }
.price-settings form { margin-top:24px }
#theme-prices { margin-top:16px }
#default-price { max-width:210px }
.plan-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px }
.plan-config,.subscription-card { border:1px solid var(--edge); border-radius:11px; padding:12px; background:#fffafa }
.plan-config h2 { font-size:20px; margin-bottom:5px }
.plan-config .fields { margin-top:12px }
.subscription-card h3 { font-size:18px }
.subscription-card .hint { margin-bottom:8px }
.plan-amount { color:var(--accent); margin:5px 0 1px; font-weight:700 }
#membership .actions { margin-top:9px }
@media(max-width:560px) { .plan-fields { grid-template-columns:1fr } }
#theme-image-list { margin-top:9px }
#theme-image-list summary { cursor:pointer; color:var(--accent); font-weight:700 }
.image-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:11px }
.image-slot { min-width:0; display:grid; align-content:start; gap:5px; padding:7px; background:#fff9f9; border:1px solid var(--edge); border-radius:9px }
.image-slot img { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; border-radius:5px; background:#f1e4e4 }
.image-slot strong { font-size:13px }
.image-slot .hint { overflow-wrap:anywhere; font-size:11px }
.image-slot input { font-size:12px; padding:5px; min-height:35px }
.image-slot-controls .quiet { font-size:11px }
@media(max-width:565px) { .image-grid { grid-template-columns:repeat(2,minmax(0,1fr)) } }
select { width:100%; min-height:43px; border:1px solid #d7c4c9; background:#fff; border-radius:8px; color:var(--ink); font:inherit; font-weight:400; padding:8px }
#invite-language { max-width:280px }
#theme-copy-list { margin-top:10px }
#theme-copy-list summary { color:var(--accent); cursor:pointer; font-weight:700 }
.text-fields { max-height:540px; overflow:auto; display:grid; gap:10px; margin-top:10px; padding-right:4px }
.text-fields textarea::placeholder { color:#70565d; opacity:1 }

.preview-status { color:var(--muted); background:#fff7f4; border-radius:9px; padding:18px; }
@keyframes studio-enter { from { opacity:0; transform:translateY(15px); } to { opacity:1; transform:translateY(0); } }
.design-card { transition:transform .24s ease, box-shadow .24s ease; }
@media (hover:hover) { .design-card:hover { transform:translateY(-4px); box-shadow:0 13px 28px #3a1e1720; } }
@media(prefers-reduced-motion:reduce) {
  .design-card { transition:none; }
}

html { scroll-behavior:smooth; }
.bar-inner { flex-wrap:wrap; padding-block:9px; }
.brand { line-height:1.2; }
.site-nav,.site-actions,.site-footer nav { display:flex; align-items:center; gap:12px 22px; flex-wrap:wrap; }
.site-nav { margin-left:auto; }
.site-nav a,.site-footer a { text-decoration:none; }
.site-nav a:not(.button):hover,.site-footer a:hover { text-decoration:underline; text-underline-offset:4px; }
.site-nav .button { min-height:38px; padding:7px 15px; }
.site-nav [hidden] { display:none; }
.bar-actions:not(:has(:not([hidden]))) { display:none; }
.catalog-section { scroll-margin-top:90px; }
.design-visible { animation:studio-card-in .5s ease-out both; }
@keyframes studio-card-in { from { opacity:.58; translate:0 12px; } to { opacity:1; translate:0 0; } }
.site-shell { padding-top:clamp(24px,5vw,56px); min-height:58vh; }
.site-heading { margin-block:0 26px; }
.site-heading h1,.site-panel h1 { font-size:clamp(34px,5vw,60px); margin-bottom:12px; }
.site-panel h2 { font-size:clamp(24px,3vw,33px); margin-bottom:12px; }
.site-panel p { margin-block:12px; line-height:1.65; }
.site-panel a { color:var(--accent); }
.site-panel a.button:not(.secondary) { color:white; }
.site-panel { min-width:0; padding:clamp(20px,4vw,42px); background:#fffaf5; border:1px solid var(--edge); border-radius:18px; box-shadow:0 15px 40px #4a23350a; overflow-wrap:break-word; }
.site-auth,.site-admin-grid { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:22px; align-items:stretch; }
.site-auth { max-width:940px; margin-inline:auto; }
.site-auth-art { border-radius:18px; background:#d5a07a url("/covers/royal-palace.webp") center 34%/cover; min-height:420px; }
.site-admin-grid { grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); align-items:start; }
.site-form { display:grid; gap:14px; margin-top:22px; }
.site-form > button { justify-self:start; }
.site-small { font-size:.89rem; }
.site-form .site-small { margin:0; }
.site-alert,.site-notice { padding:8px 12px; border-radius:7px; background:#fbe3e4; }
.site-notice { background:#e7f1e9; }
.site-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 20px; }
.site-stats div { background:#f5e5e5; border-radius:11px; padding:12px; }
.site-stats dd { margin:4px 0 0; font:600 27px Georgia,serif; color:var(--accent); }
.site-list { list-style:none; padding:0; margin:10px 0 22px; }
.site-list li { display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap; border-bottom:1px solid var(--edge); padding-block:12px; }
.site-list small { display:block; margin-top:4px; }
.site-list a + a { margin-left:6px; }
.site-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; margin-block:30px 0; padding-block:20px; border-top:1px solid var(--edge); font-size:.94rem; }
.site-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:16px; }
.site-article { max-width:760px; margin:auto; }
.site-article .site-return { display:inline-block; margin-bottom:14px; }
.site-intro { color:#583344; font-size:1.15rem; }
@media(max-width:760px) {
  .site-auth,.site-admin-grid { grid-template-columns:1fr; }
  .site-auth-art { min-height:220px; background-position:center 40%; }
  .site-nav { column-gap:12px; margin-left:0; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .design-visible { animation:none; }
}

/* Public collection and pricing */
:root {
  --showcase-paper: #faf6ef;
  --showcase-plum: #2c2336;
  --showcase-rose: #733d4f;
  --showcase-line: #e3d9cf;
  --display-serif: 'Instrument Serif', Georgia, serif;
}
body:has(.welcome), body:has(.public-pricing) { background: var(--showcase-paper); }
.topbar { position:relative; z-index:3; background:#fffbf6; border-color:var(--showcase-line); }
.topbar .brand-mark { background:var(--showcase-plum); color:#f8dfba; }
.site-nav { gap:8px clamp(12px,2vw,25px); font-size:14px; }
.site-nav a:not(.button) { color:var(--showcase-plum); }
.site-nav a[aria-current="page"] { text-decoration:underline; text-underline-offset:4px; }
.site-nav .button:not(.secondary) { background:var(--showcase-plum); }
.site-nav .button:not(.secondary):hover { background:#483650; }

.welcome {
  display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:stretch;
  min-height:520px; margin-top:12px; border:1px solid var(--showcase-line); border-radius:25px;
  background:radial-gradient(ellipse at 2% 96%,#eed7d2,transparent 55%), #fffaf3;
  isolation:isolate;
}
.welcome-copy { align-self:center; padding:clamp(28px,5vw,65px); animation:studio-enter .55s ease both; }
.welcome-type { font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--showcase-rose); margin-bottom:19px; }
.welcome h1 { font:400 clamp(50px,5.8vw,87px)/.92 var(--display-serif); color:var(--showcase-plum); letter-spacing:-.019em; }
.welcome h1 em { display:block; color:var(--showcase-rose); font-weight:400; }
.welcome-description { margin:23px 0 26px; max-width:36ch; color:#5e4e56; font-size:clamp(.94rem,1.3vw,1.08rem); line-height:1.65; }
.welcome-actions { display:flex; align-items:center; gap:12px 20px; flex-wrap:wrap; }
.welcome-actions .button { gap:9px; border-radius:100px; background:var(--showcase-plum); padding-inline:18px; }
.welcome-actions .button:hover { background:#483650; }
.welcome-play,.price-preview-link { color:var(--showcase-rose); font-size:.88rem; font-weight:700; text-underline-offset:4px; }
.welcome-play span { display:inline-grid; place-items:center; border:1px solid currentColor; width:24px; height:24px; margin-right:5px; border-radius:50%; }
.welcome-collection {
  display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); grid-template-rows:repeat(2,minmax(0,1fr));
  height:clamp(475px,42vw,560px); background:#2e2439; padding:clamp(13px,2.25vw,33px); gap:clamp(9px,1.45vw,19px);
  border-radius:0 24px 24px 0; animation:studio-enter .7s .06s ease both;
}
.welcome-tile { overflow:hidden; position:relative; min-height:0; display:block; border-radius:17px; background:#503849; color:white; }
.welcome-tile::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(transparent 54%, #18101ce6); }
.welcome-tile-main { grid-row:span 2; border-radius:100px 100px 16px 16px; }
.welcome-tile img { width:100%; height:100%; object-fit:cover; display:block; transition:scale .45s ease; }
.welcome-tile-main img { object-position:50% 43%; }
.welcome-tile-emerald img { object-position:50% 35%; }
.welcome-tile-lotus img { object-position:50% 28%; }
.welcome-tile:hover img { scale:1.045; }
.welcome-tile span { position:absolute; z-index:1; left:12px; right:12px; bottom:11px; display:flex; justify-content:space-between; gap:4px; align-items:center; font:400 clamp(15px,1.9vw,25px)/1 var(--display-serif); }

.catalog-section,.discovery-section { margin-top:clamp(44px,6vw,83px); scroll-margin-top:22px; }
.catalog-section h2,.discovery-section h2 { font:400 clamp(37px,4.8vw,64px)/.98 var(--display-serif); color:var(--showcase-plum); }
.catalog-section .section-heading { margin-bottom:9px; }
.discovery-intro { max-width:44ch; color:var(--muted); }
.design-filters { margin:21px 0 23px; display:flex; flex-wrap:wrap; gap:8px; }
.design-filters button { border-radius:100px; padding:8px 15px; background:#fffbf6; color:var(--showcase-plum); border:1px solid #d8c9c6; font-size:.86rem; font-weight:600; }
.design-filters button:hover { border-color:var(--showcase-rose); }
.design-filters button[aria-pressed="true"] { background:var(--showcase-plum); color:#fffaf6; border-color:var(--showcase-plum); }
.design-grid { gap:18px; }
.design-card { background:#fffbf6; border-color:var(--showcase-line); border-radius:16px; }
.design-card img { aspect-ratio: 1 / 1.12; }
.design-info { padding:15px; }
.design-info h3 { font:400 clamp(23px,2.45vw,36px)/1 var(--display-serif); color:var(--showcase-plum); margin:8px 0 11px; }
.design-meta { display:flex; align-items:baseline; justify-content:space-between; gap:4px; color:#66515a; font-size:.77rem; }
.design-meta strong { color:var(--showcase-plum); font-size:.89rem; }
.design-actions { margin-top:0; justify-content:space-between; }
.design-actions a { color:var(--showcase-rose); font-weight:600; }
.design-button { background:#f6ebe9; border-color:#e8d4d7; color:#643447; }
.design-button:hover { background:#ead8db; }

.studio-process { list-style:none; padding:0; margin:20px 0 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--showcase-line); }
.studio-process li { padding:clamp(16px,3vw,32px); border-right:1px solid var(--showcase-line); }
.studio-process li:last-child { border:0; }
.studio-process h3 { font:400 clamp(23px,3vw,33px)/1.15 var(--display-serif); color:var(--showcase-plum); margin-bottom:7px; }
.studio-process p { font-size:.93rem; color:#5e4e56; }
.price-preview { padding:clamp(22px,4vw,49px); background:#eee4e7; border:1px solid #e3d1da; border-radius:24px; }
.price-preview h2 + p { margin-block:10px 23px; color:#5c4b56; }
.price-preview-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:21px; }
.price-preview-cards article,.public-plan { padding:clamp(17px,3vw,32px); background:#fffbf6; border:1px solid var(--showcase-line); border-radius:17px; }
.price-preview-cards h3,.public-plan h2 { font:400 clamp(25px,3vw,37px)/1.08 var(--display-serif); color:var(--showcase-plum); }
.price-figure { margin-block:8px; color:var(--showcase-rose); font:400 clamp(31px,4.5vw,64px)/1 var(--display-serif); }
.price-preview-cards .price-figure { font-size:clamp(27px,3.4vw,47px); }
.price-preview-cards article p:last-child,.public-plan > p:not(.price-figure) { color:#66525c; font-size:.91rem; }
.studio-faq { display:grid; grid-template-columns:minmax(180px,.48fr) minmax(0,1fr); gap:22px; }
.studio-faq summary { cursor:pointer; font-weight:700; padding:15px 2px; color:var(--showcase-plum); }
.studio-faq details { border-bottom:1px solid var(--showcase-line); }
.studio-faq details p { color:#5e4e56; padding:0 2px 14px; font-size:.92rem; }

.public-pricing { padding-top:clamp(25px,5vw,61px); }
.pricing-intro { max-width:730px; margin:0 auto 31px; text-align:center; }
.pricing-intro h1 { font:400 clamp(45px,7vw,91px)/1 var(--display-serif); color:var(--showcase-plum); }
.pricing-intro p { color:#66525c; max-width:52ch; margin:11px auto 0; }
.public-plan-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; max-width:1010px; margin-inline:auto; }
.public-plan { display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:clamp(20px,4vw,43px); }
.public-plan-single { background:#f1e7eb; border-color:#e5d4de; }
.public-plan ul { display:grid; gap:8px; padding-left:1.2em; margin:5px 0 15px; font-size:.93rem; }
.public-plan .button { margin-top:auto; gap:8px; }
.plan-periods { width:100%; margin-block:8px 6px; }
.plan-line { display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding:12px 0; border-top:1px solid var(--showcase-line); font-size:.9rem; }
.plan-line:last-child { border-bottom:1px solid var(--showcase-line); }
.plan-line span { text-align:right; color:var(--showcase-rose); }
.plan-line small { display:block; color:#66525c; }
.checkout-notice { margin:13px auto 0; max-width:1010px; text-align:center; color:#66525c; font-size:.83rem; }
.public-price-list { padding:0; margin:15px 0 0; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 25px; }
.public-price-list li { min-width:0; border-top:1px solid var(--showcase-line); display:flex; justify-content:space-between; gap:10px; padding:13px 0; align-items:center; }
.public-price-list li span { color:#66525c; font-size:.79rem; }
.public-price-list li strong { display:block; }
.public-price-list a { color:var(--showcase-rose); font-size:.83rem; font-weight:700; text-underline-offset:3px; }
.price-row-actions { text-align:right; flex:0 0 auto; }
@media(max-width:1000px) {
  .welcome { min-height:450px; }
  .welcome-copy { padding-inline:clamp(21px,3.75vw,42px); }
  .welcome-collection { height:450px; }
  .welcome-actions { column-gap:11px; }
}
@media(max-width:760px) {
  .nav-process { display:none; }
  .welcome { grid-template-columns:1fr; min-height:0; margin-top:0; border-radius:20px; }
  .welcome-copy { padding:26px 20px 24px; }
  .welcome h1 { font-size:clamp(47px,10.5vw,74px); }
  .welcome-type { margin-bottom:12px; }
  .welcome-description { margin-block:13px 17px; }
  .welcome-collection { height:clamp(260px,73vw,420px); border-radius:0 0 19px 19px; }
  .welcome-tile-main { border-radius:65px 65px 13px 13px; }
  .design-grid { gap:11px; }
  .design-info { padding:10px; }
  .design-actions { gap:4px 7px; }
  .design-actions a,.design-button { font-size:.75rem; }
  .design-button { padding-inline:8px; }
  .design-filters { margin-top:15px; }
  .design-filters button { padding:7px 11px; }
  .studio-faq,.public-price-list { grid-template-columns:1fr; }
}
@media(max-width:570px) {
  .public-plan-grid,.price-preview-cards,.studio-process { grid-template-columns:1fr; }
  .studio-process li { padding-inline:0; border-right:0; border-bottom:1px solid var(--showcase-line); }
  .catalog-section .section-heading,.public-pricing .section-heading { align-items:start; }
  .brand { width:100%; }
  .site-nav { margin-left:0; gap:8px 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .welcome-copy,.welcome-collection { animation:none; }
  .welcome-tile img { transition:none; }
}

/* Interactive invitation viewer */
html:has(.preview-dialog[open]) { overflow:hidden; }
.preview-dialog {
  width:min(1160px, calc(100% - 36px));
  height:min(900px, calc(100dvh - 38px));
  max-width:none; max-height:none;
  padding:0; border:1px solid #594658; border-radius:22px;
  background:#fffaf5; color:var(--showcase-plum);
  overflow:hidden; box-shadow:0 24px 110px #130b1c76;
}
.preview-dialog[open] {
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  animation:demo-appear .24s ease both;
}
.preview-dialog::backdrop { background:#201728aa; }
@keyframes demo-appear {
  from { opacity:.38; transform:translateY(8px); }
  to { opacity:1; transform:translateY(0); }
}
.demo-header,.demo-footer {
  display:flex; align-items:center; justify-content:space-between;
  gap:10px 16px; padding:10px clamp(12px,2vw,22px);
}
.demo-header form { display:block; margin:0; }
.demo-title { min-width:0; }
.demo-title p { color:#705963; font-size:.76rem; font-weight:700; }
.demo-title h2 {
  font:400 clamp(26px,3vw,41px)/1 var(--display-serif);
  overflow-wrap:anywhere;
}
.demo-tools { display:flex; align-items:center; gap:5px 12px; flex-wrap:wrap; }
.demo-devices {
  display:flex; flex:0 0 auto; gap:3px;
  padding:4px; border-radius:30px; background:#f2e9ea; border:1px solid #e7d8db;
}
.demo-devices button,.demo-tool {
  display:inline-flex; align-items:center; justify-content:center; min-height:39px;
  border:1px solid transparent; background:transparent; color:#614654;
  padding:5px 11px; font:700 .82rem/1.2 'DM Sans',system-ui,sans-serif;
  text-decoration:none; white-space:nowrap;
}
.demo-devices button { border-radius:24px; min-height:35px; padding-inline:13px; }
.demo-devices button[aria-pressed="true"] { background:#2c2336; color:white; }
.demo-tool { border-radius:9px; }
.demo-header .demo-tool { border-color:#e7d8db; }
.demo-tool:hover:not(:disabled) { background:#f2e9ea; }
.demo-tool:disabled { opacity:.55; }
.demo-footer { border-top:1px solid #e7d8db; }
.demo-customize { flex:0 0 auto; min-height:40px; background:#2c2336; }

.demo-stage {
  display:grid; place-items:center; min-height:0; min-width:0; overflow:hidden;
  padding:clamp(10px,2.6dvh,26px) clamp(10px,3vw,32px);
  background:radial-gradient(ellipse at 50% 45%, #604459, #36283f 68%, #2a2035);
}
.demo-screen {
  position:relative; align-self:stretch; min-height:0;
  width:min(100%, 406px); border:7px solid #1f1826;
  background:#fcf8f3; border-radius:27px; overflow:hidden;
  box-shadow:0 16px 38px #190f2388;
}
.preview-dialog[data-device="desktop"] .demo-screen { width:100%; border-width:4px; border-radius:14px; }
.demo-screen iframe { display:block; width:100%; height:100%; border:0; background:#fffaf5; }
.demo-status {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:100%; max-width:33ch; padding:12px; color:#614654; text-align:center;
  font-size:.91rem;
}

@media(max-width:680px) {
  .preview-dialog {
    inset:0; margin:0; width:100%; height:100dvh; border:0; border-radius:0;
  }
  .demo-stage { padding:0; background:#2a2035; }
  .demo-screen,.preview-dialog[data-device="desktop"] .demo-screen {
    width:100%; border:0; border-radius:0; box-shadow:none;
  }
  .demo-devices { display:none; }
  .demo-header,.demo-footer { padding:8px 11px; }
  .demo-footer { gap:4px 9px; }
  .demo-tools { gap:2px; }
  .demo-tool { padding-inline:6px; font-size:.76rem; }
  .demo-customize { padding-inline:9px; font-size:.78rem; }
}
@media(max-width:360px) {
  .demo-customize { flex:1 0 100%; }
  .demo-footer { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) { .preview-dialog[open] { animation:none; } }

.design-search { display:grid; grid-template-columns:minmax(0,1fr) minmax(170px,255px); gap:12px; margin-block:19px 0; }
.design-search label { display:grid; gap:5px; font-size:.84rem; font-weight:650; min-width:0; }
.design-search input,.design-search select{width:100%;min-width:0;min-height:43px;border:1px solid #d8c9c6;border-radius:9px;background:#fffbf6;color:var(--showcase-plum);padding:7px 9px;font:inherit}
.design-filters { margin-block:14px 19px; }
.design-card { display:flex; flex-direction:column; }
.design-info { flex:1; display:flex; flex-direction:column; }
.design-info .design-description { line-height:1.45; margin:-3px 0 12px; }
.design-info .design-actions { margin-top:auto; }
.event-share { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; padding-block:10px; border-top:1px solid var(--showcase-line); font-size:.88rem; }
.event-share p { flex-basis:100%; font-weight:650; margin:0; }
@media (max-width:550px) {
  .design-search { grid-template-columns:1fr; gap:8px; margin-top:12px; }
  .design-filters { flex-wrap:nowrap; overflow:auto; padding:3px 3px 6px; scrollbar-width:thin; }
  .design-filters button { flex:0 0 auto; white-space:nowrap; }
}

.topbar .brand-mark.brand-emblem { background:none; object-fit:contain; display:block; flex:none; }

.seo-crumbs ol { display:flex; flex-wrap:wrap; gap:6px 9px; padding:0; margin:0 0 22px; list-style:none; font-size:.88rem; }
.seo-crumbs li + li::before { content:'/'; margin-right:9px; color:#806775; }
.seo-crumbs a { color:var(--accent); }
.seo-feature { display:grid; align-items:center; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:clamp(20px,5vw,64px); }
.seo-feature .seo-eyebrow { color:var(--accent); font-size:.9rem; font-weight:700; }
.seo-cover { display:block; width:min(100%,420px); height:auto; justify-self:center; border-radius:14px; }
.seo-price { color:var(--ink); font-size:1.35rem; font-weight:700; }
.seo-price span { font-size:.86rem; font-weight:400; }
.seo-actions { display:flex; flex-wrap:wrap; gap:10px; margin-block:18px; }
.seo-block { margin-block:32px; }
.seo-links { display:flex; flex-wrap:wrap; gap:8px 22px; padding:0; margin:18px 0 0; list-style:none; }
.seo-links a { line-height:1.75; text-decoration:underline; text-underline-offset:3px; }
.seo-grid { display:grid; gap:18px; grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr)); }
.seo-tile { overflow:hidden; border:1px solid var(--edge); border-radius:14px; background:#fffaf5; }
.seo-tile a { display:block; color:var(--ink); }
.seo-tile img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; }
.seo-tile h3 { margin:12px 14px 0; font-size:1.15rem; }
.seo-tile p { margin:4px 14px 14px; color:#654d5c; font-size:.87rem; }
@media(max-width:660px) { .seo-feature { grid-template-columns:1fr; } }
@font-face { font-family: 'Invitima Serif'; font-style:normal; font-weight:400; font-display:swap; src:url('/showcase-assets/8d890c703bfdba34.woff2') format('woff2'); }
.seo-page { --heading:'Invitima Serif',Georgia,serif; font-family:system-ui,sans-serif; }
