/* Final application theme. Invitation canvases keep their individual palettes. */
:root {
  --lux-paper: #F9F6F0;
  --lux-ink: #1B2A49;
  --lux-accent: #C85A32;
  --lux-base: #E2D8C9;
  --studio-paper: var(--lux-paper);
  --studio-bg: var(--lux-paper);
  --studio-ink: var(--lux-ink);
  --studio-muted: #626571;
  --studio-line: var(--lux-base);
  --studio-accent: var(--lux-base);
  --surface: #fffdfa;
  --surface-soft: #f0ebe3;
  --olive: var(--lux-ink);
  --olive-deep: var(--lux-ink);
  --gold: var(--lux-accent);
  --font-ui: 'DM Sans', sans-serif;
  --studio-sans: var(--font-ui);
  --studio-serif: 'Cormorant Garamond', Georgia, serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --section-spacing: clamp(64px, 7vw, 104px);
  --shadow-soft: none;
}
body.studio { color: var(--studio-ink); background: var(--studio-paper); }
.studio > .studio-header, body.studio.ui-scrolled > .studio-header { background: var(--studio-paper); backdrop-filter: none; box-shadow: none; }
.studio .studio-nav { min-height: 88px; }
.studio .studio-logo { font-size: 22px !important; letter-spacing: .22em !important; }
.studio .studio-links { gap: 26px; }
.studio .studio-links a { font-size: 13px; }
.studio .studio-links .studio-pill { border-radius: 6px !important; }
.studio .studio-kicker { color: var(--studio-muted) !important; font-size: 11px !important; letter-spacing: .16em !important; }
.studio .studio-kicker::before { display: none; }
.studio :is(.studio-button,.studio-pill,.card-bottom > a,.card-bottom > button,.dashboard-card-actions button) {
  border-radius: 6px; box-shadow: none; min-height: 48px; transition: background .2s, color .2s, border-color .2s;
}
.studio :is(.studio-button,.studio-pill)::before { display: none; }
.studio :is(.studio-button,.studio-pill,.pricing-card,.experience-price-card,.collection-art,.step):is(:hover,:active) { transform: none; box-shadow: none; }
.studio .studio-button.light { background: transparent; color: var(--studio-ink); border-color: var(--studio-line); }
.studio .studio-button.light:hover { background: var(--surface-soft); border-color: var(--studio-ink); }
.studio .studio-button.lime { color: var(--studio-ink); background: var(--studio-paper); border-color: var(--studio-paper); }
.studio .ui-action-icon { border: 0; }
.studio :is(a,button,input,select,textarea,summary):focus-visible,
.editor-page :is(a,button,input,select,textarea,summary):focus-visible { outline: 2px solid var(--lux-accent); outline-offset: 4px; }
.studio :is(button,summary), .editor-page button { cursor: pointer; }
.studio :is(input,select,textarea)::placeholder { color: var(--studio-muted); opacity: 1; }

/* A restrained editorial opening, with the invitations doing the storytelling. */
[data-page=home] .studio-hero { grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 72px 0 64px; }
[data-page=home] .studio-hero-copy > h1 { font-size: clamp(58px,6.5vw,94px); line-height: 1.02; letter-spacing: -.045em; margin: 24px 0; }
[data-page=home] .studio-hero-copy > h1 em { font-style: italic; color: var(--lux-accent); }
[data-page=home] .studio-hero-copy > p:not(.studio-kicker) { font-size: 16px; line-height: 1.8; max-width: 43ch; }
[data-page=home] .hero-stage { border-radius: 48% 48% 8px 8px; background: var(--surface-soft); height: 500px; will-change: auto; }
[data-page=home] .hero-stage::before { opacity: .06; }
[data-page=home] .hero-halo { border: 0; background: none; }
[data-page=home] .hero-phone { box-shadow: 0 18px 35px -22px var(--studio-ink); border-width: 4px; }
[data-page=home] .hero-float-note { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; bottom: 12px; left: 0; width: 100%; text-align: center; transform: none; color: var(--studio-muted); font-size: 22px; }
[data-page=home] .studio-hero-note { gap: 8px 20px; }
[data-page=home] .studio-hero-note span { background: none; padding: 0; border: 0; color: var(--studio-muted); font-size: 12px; }
.studio .section-intro h2, [data-page=home] .home-discovery > h2, [data-page=home] .studio-steps h2 { font-size: clamp(36px,4.2vw,58px); line-height: 1.08; }
.studio .section-intro > p { font-size: 15px; line-height: 1.8; }

/* Consistent photographic tiles, without staggered columns or scroll stacking. */
[data-page=home] #home-experiences.experience-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 0; align-items: stretch; }
[data-page=home] #home-experiences.experience-stack > .experience-card { position: relative; top: auto; z-index: auto; height: auto; min-height: 280px; width: 100%; grid-template-columns: 1.2fr 1fr; background: var(--surface-soft); color: var(--studio-ink); border: 0; border-radius: 8px; box-shadow: none; transform: none; }
[data-page=home] #home-experiences .stack-copy { padding: 28px; }
[data-page=home] #home-experiences .experience-card h3 { color: var(--studio-ink); font-size: 34px; margin: 20px 0 12px; }
[data-page=home] #home-experiences .experience-card p { color: var(--studio-muted); font-size: 14px; }
[data-page=home] #home-experiences .experience-number { color: var(--lux-accent); }
[data-page=home] #home-experiences .experience-link { color: var(--studio-ink); border-color: var(--studio-line); }
[data-page=home] #home-experiences .experience-card::before { display: none; }

/* Browsing: stable grids, legible metadata, and explicit actions on every card. */
.studio .collection-card:nth-child(n) { margin-top: 0; grid-column: auto; max-width: none; width: auto; justify-self: stretch; }
.studio .collection-grid, .studio .discovery .collection-grid { gap: 40px 24px; }
.studio .collection-art, .studio .collection-card:nth-child(5) .collection-art, .studio .discovery .collection-art { border-radius: 8px; border: 0; box-shadow: none; }
.studio .collection-card:hover .collection-art, .studio .collection-card:focus-within .collection-art { transform: none; box-shadow: none; }
.studio .collection-card-top { justify-content: space-between; gap: 12px; margin-top: 20px; }
.studio .collection-card-top h3 { font-size: 28px !important; }
.studio .collection-card-top > span { white-space: nowrap; color: var(--studio-ink); font-size: 13px !important; }
.studio .collection-card .template-meta { font-size: 13px; line-height: 1.65; }
.studio .collection-card .collection-tag { background: var(--surface); color: var(--studio-ink); border: 0; border-radius: 4px; font-size: 11px; }
.studio .collection-card .card-bottom { border: 0; padding-top: 4px; gap: 8px; }
.studio .collection-card .card-bottom > * { border-radius: 6px; font-size: 12px; flex: 1; padding-inline: 10px; gap: 6px; white-space: nowrap; justify-content: center; }
.studio .collection-card .card-bottom > button { color: var(--surface); background: var(--studio-ink); border-color: var(--studio-ink); }
.studio :is(.studio-filter,.experience-chips button,.account-tabs button) { border-radius: 6px; box-shadow: none; transform: none; }
.studio :is(.studio-filter,.experience-chips button)[aria-pressed=true], .studio .account-tabs button[aria-selected=true] { background: var(--studio-ink); border-color: var(--studio-ink); color: var(--surface); box-shadow: none; transform: none; }
.studio :is(.collection-tools input,.collection-tools select,.studio-form input,.studio-form select,.studio-form textarea) { border-radius: 6px; background: var(--surface); }
.studio .collection-tools input:focus, .studio .studio-form input:focus { border-color: var(--studio-ink); box-shadow: none; }
.studio .discovery-sidebar { border-radius: 8px; box-shadow: none; background: transparent; }
[data-page=home] .premium-intro { background: var(--surface-soft); border: 0; border-radius: 8px; padding: 32px 40px; margin-block: 32px; }
[data-page=home] .premium-intro h2 { font-size: clamp(30px,3vw,42px); max-width: 28ch; }

/* Informational pages and account flows share the same calm surface language. */
.studio .feature-icon, .studio .pricing-assurances .occasion-icon, .studio .detail-assurances .occasion-icon { background: var(--surface-soft); box-shadow: none; color: var(--studio-ink); border-radius: 6px; }
[data-page=home] .step { padding: 28px 0; border: 0; border-top: 1px solid var(--studio-line); border-radius: 0; background: transparent; }
[data-page=home] .step::after { display: none; }
[data-page=home] .step-grid { gap: 40px; }
[data-page=home] .step > span { color: var(--lux-accent); }
[data-page=home] .step h3 { margin-top: 24px; }
[data-page=home] .step p { font-size: 15px; line-height: 1.8; }
[data-page=home] .launch-pricing { background: var(--surface-soft); box-shadow: none; border: 0; border-radius: 8px; }
[data-page=home] .explainer-table { box-shadow: none; border-radius: 8px; }
.studio .launch-faq details { background: transparent; border: 0; border-bottom: 1px solid var(--studio-line); border-radius: 0; margin: 0; padding-inline: 0; }
.studio .launch-faq details[open] { background: transparent; border-color: var(--studio-line); }
.studio .launch-faq summary { font: 500 17px/1.6 var(--studio-sans); padding-block: 24px; }
.studio .launch-faq summary::after { background: none; border: 0; color: var(--studio-ink); }
.studio .studio-footer { padding-top: 64px; gap: 40px; }
.studio .footer-heading { color: var(--studio-muted); }
.studio .footer-column a { font-size: 14px; }
.studio :is(.studio-shell,.pricing-card,.pricing-included,.dashboard-card,.checkout-summary,.detail-price-block,.experience-price-card) { border-radius: 8px; box-shadow: none; background: var(--surface); border-color: var(--studio-line); }
.studio .studio-shell { padding: 40px; width: min(calc(100% - 48px),560px); }
.studio .studio-shell h1 { margin-top: 8px; }
.studio .studio-form { gap: 24px; }
.studio .studio-form label { color: var(--studio-ink); font-size: 14px; }
.studio .account-tabs { gap: 8px; }
.studio .account-tabs button { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.studio .price-card { background: var(--studio-ink); border: 0; border-radius: 8px; box-shadow: none; }
.studio .price-card::after { display: none; }
.studio :is(.price-card-label,.price-card-unit,.price-card-currency,.price-card-note) { color: var(--lux-base); }
.studio .price-check { background: var(--lux-base); color: var(--studio-ink); }
.studio .experience-price-card:hover { border-color: var(--studio-ink); }
.studio .dashboard-card-body { padding: 28px; }
.studio .dashboard-card-body > p, .studio .checkout-summary > p { font-size: 14px; }
.studio .checkout-summary li { font-size: 14px; }
.studio .checkout-access, .studio .account-recovery, .studio .operator-contact { background: var(--surface-soft); color: var(--studio-ink); border-radius: 6px; }
.studio .policy-page { max-width: 760px; width: min(calc(100% - 48px),760px); }
.studio .policy-page p { font-size: 16px; line-height: 1.85; }
.studio dialog { background: var(--studio-paper); color: var(--studio-ink); border-radius: 10px; }
.demo-body, .editor-page .ed-canvas-wrap { background: var(--surface-soft); }
.demo-bar, .editor-page :is(.ed-bar,.ed-sidebar,.ed-tabs), .editor-mobile-switch { background: var(--studio-paper); border-color: var(--studio-line); }
.editor-page .ed-group { border-color: var(--studio-line); }
.editor-page .ed-group summary { font-size: 13px; min-height: 52px; }
.editor-page :is(.ed-label,.ed-body > label) { color: var(--studio-muted); font-size: 12px; }
.editor-page .ed-body :is(input,select,textarea) { border-color: var(--studio-line); border-radius: 6px; background: var(--surface); }
.editor-page .ed-tab.on, .editor-page .btn-primary, .editor-mobile-switch button[aria-pressed=true] { background: var(--studio-ink); border-color: var(--studio-ink); color: var(--surface); }
.editor-page .editor-help { background: var(--surface-soft); color: var(--studio-muted); }

@media (max-width: 1024px) {
  [data-page=home] .studio-hero { gap: 28px; }
  [data-page=home] #home-experiences.experience-stack > .experience-card { grid-template-columns: 1fr; grid-template-rows: 180px 1fr; }
  [data-page=home] #home-experiences .stack-visual { grid-row: 1; }
  [data-page=home] #home-experiences .stack-copy { padding: 24px; }
}
@media (max-width: 767px) {
  .studio .studio-nav { min-height: 72px; }
  .studio .studio-logo { font-size: 19px !important; }
  .studio .studio-links { background: var(--studio-paper); gap: 8px; }
  [data-page=home] .studio-hero { grid-template-columns: 1fr; padding: 40px 0 32px; gap: 36px; }
  [data-page=home] .studio-hero-copy > h1 { font-size: clamp(46px,12vw,70px) !important; }
  [data-page=home] .hero-stage { height: 420px; width: min(100%,440px); margin-inline: auto; }
  [data-page=home] .hero-phone { width: 150px; }
  [data-page=home] .hero-phone:nth-of-type(4) { left: calc(50% - 75px); top: 36px; }
  [data-page=home] .hero-phone:nth-of-type(2), [data-page=home] .hero-phone:nth-of-type(3) { top: 72px; }
  [data-page=home] #home-experiences.experience-stack { grid-template-columns: 1fr; gap: 20px; }
  [data-page=home] #home-experiences.experience-stack > .experience-card { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 280px; }
  [data-page=home] #home-experiences .stack-visual { grid-row: auto; }
  [data-page=home] #home-experiences .stack-copy { padding: 22px 18px; }
  [data-page=home] #home-experiences .experience-card h3 { font-size: 29px; }
  [data-page=home] .premium-intro { padding: 28px 24px; }
  .studio .collection-grid, .studio .discovery .collection-grid { gap: 32px 16px; }
  .studio .collection-card-top { flex-wrap: nowrap; }
  .studio .studio-shell { width: calc(100% - 32px); padding: 28px 24px; margin-block: 36px 64px; }
  .studio .policy-page { width: calc(100% - 40px); padding: 0; background: transparent; border: 0; }
  .studio .launch-faq summary { font-size: 16px; }
  .studio .studio-footer { gap: 32px 24px; }
  .editor-page .ed-body :is(input,select,textarea) { font-size: 16px; }
}
@media (max-width: 390px) {
  [data-page=home] #home-experiences.experience-stack > .experience-card { grid-template-columns: 1fr; grid-template-rows: 160px 1fr; }
  [data-page=home] #home-experiences .stack-visual { grid-row: 1; }
  .studio .collection-card .card-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .studio *, .studio *::before, .studio *::after { scroll-behavior: auto !important; transition: none !important; }
}
