:root {
  color-scheme: dark;
  --bg: #241038;
  --bg-deep: #170a26;
  --panel: rgba(69, 32, 91, 0.9);
  --panel-solid: #351c50;
  --panel-light: #4b286d;
  --purple: #8c4bda;
  --violet: #b269ff;
  --plum: #6e285f;
  --green: #9dfc4d;
  --green-soft: #cdfaa9;
  --white: #fffdfd;
  --muted: #d3c4df;
  --error: #ffaea9;
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 22px 70px rgba(12, 4, 22, 0.34);
  --radius: 22px;
  --focus: 0 0 0 4px rgba(157, 252, 77, 0.25);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(169, 85, 225, 0.27), transparent 35rem),
    linear-gradient(145deg, #35134d 0%, var(--bg) 42%, #55234d 100%);
  color: var(--white);
  font-family: "Avenir Next", Avenir, Inter, system-ui, sans-serif;
  line-height: 1.5;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; background: var(--green); color: #15200e; padding: .75rem 1rem; border-radius: 0 0 10px 10px; font-weight: 800; }
.skip-link:focus { top: 0; }
.ambient { position: fixed; z-index: -1; border-radius: 999px; filter: blur(70px); opacity: .3; pointer-events: none; }
.ambient-one { width: 24rem; height: 24rem; right: -8rem; top: 12rem; background: #a945e0; }
.ambient-two { width: 22rem; height: 22rem; left: -10rem; bottom: 5rem; background: #68bb33; opacity: .12; }

.site-header, footer { width: min(100% - 2rem, 1120px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header { min-height: 86px; padding-block: 1rem; }
.wordmark { display: flex; min-height: 48px; flex-direction: column; justify-content: center; text-decoration: none; font-family: "Arial Black", "Avenir Next", sans-serif; line-height: .9; letter-spacing: .05em; }
.wordmark span { display: block; font-size: 1.65rem; font-weight: 800; }
.wordmark small { color: var(--green); font-size: .58rem; letter-spacing: .33em; }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.text-button, .admin-link { display: inline-flex; min-height: 48px; align-items: center; border: 0; background: transparent; color: var(--muted); font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; padding: .65rem; border-radius: 10px; }
.text-button:hover, .admin-link:hover { color: var(--white); background: rgba(255,255,255,.07); }

.app-shell { width: min(100% - 2rem, 900px); margin: 1.5rem auto 2.5rem; }
.progress-wrap { margin-bottom: 1.4rem; }
.progress-copy { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.progress-track { height: 5px; margin-top: .6rem; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.progress-track span { display: block; width: 14%; height: 100%; background: linear-gradient(90deg, var(--green), #d3ff7a); box-shadow: 0 0 18px rgba(157,252,77,.8); border-radius: inherit; transition: width .35s ease; }

.step {
  display: none;
  position: relative;
  background: linear-gradient(145deg, rgba(95, 46, 119, .95), rgba(61, 27, 79, .97) 54%, rgba(88, 38, 76, .96));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(1.35rem, 5vw, 3.4rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.step::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--green), var(--violet), transparent); opacity: .7; }
.step.is-active { display: block; animation: reveal .36s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

h1, h2, p { margin-top: 0; }
h1 { max-width: 17ch; margin-bottom: .65rem; font-size: clamp(2rem, 7vw, 3.65rem); line-height: 1.03; letter-spacing: -.045em; }
h1:focus, h1:focus-visible { outline: none; box-shadow: none; }
h2 { line-height: 1.15; }
.eyebrow { margin-bottom: .75rem; color: var(--green); font-family: "Arial Black", "Avenir Next", sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.lead { max-width: 62ch; margin-bottom: 1.8rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }

fieldset { border: 0; padding: 0; margin: 0; }
.card-grid { display: grid; gap: .8rem; }
.choice-card { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; min-height: 105px; padding: 1.05rem; background: rgba(255,255,255,.055); border: 1px solid var(--border); border-radius: 18px; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.choice-card:hover { transform: translateY(-2px); border-color: rgba(157,252,77,.45); background: rgba(255,255,255,.085); }
.choice-card:has(input:checked) { border-color: var(--green); background: rgba(157,252,77,.1); box-shadow: inset 0 0 0 1px var(--green), 0 8px 30px rgba(29,11,46,.2); }
.choice-card:has(input:focus-visible) { box-shadow: var(--focus); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card strong { align-self: end; font-size: .96rem; }
.choice-card small { grid-column: 2; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.choice-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(178,105,255,.18); color: var(--green); font-size: 1.25rem; }
.category-card { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: .75rem; overflow: hidden; }
.category-card strong, .category-card small { grid-column: 1; padding-inline: .25rem; }
.category-card strong { margin-top: .65rem; }
.category-media { position: relative; display: grid; grid-column: 1; place-items: end start; width: 100%; min-height: 94px; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg,#6a3b84,#38264e); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); }
.category-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 30%,rgba(20,9,30,.68)); }
.category-media span { position: relative; z-index: 1; max-width: 18ch; padding: .55rem; color: rgba(255,255,255,.78); font-size: .58rem; font-weight: 800; letter-spacing: .07em; line-height: 1.25; text-transform: uppercase; }
.category-media img { width: 100%; height: 100%; min-height: 94px; object-fit: cover; }
[data-category="wedding"] .category-media { background: linear-gradient(135deg,#8f667f,#d8cbbf,#788e72); }
[data-category="party"] .category-media { background: linear-gradient(135deg,#a54bd1,#ee6d95,#7ccf55); }
[data-category="corporate"] .category-media { background: linear-gradient(135deg,#ede9ef,#77717a,#67377f); }
[data-category="university"] .category-media { background: linear-gradient(135deg,#7541b8,#df4ca0,#a9ee50); }
[data-category="venue"] .category-media { background: linear-gradient(135deg,#39224e,#a84bc5,#69bf44); }
[data-category="community"] .category-media { background: linear-gradient(135deg,#4f8374,#7654a0,#d89870); }
[data-category="other"] .category-media { background: linear-gradient(135deg,#72507e,#4a596d); }
.visual-swatch { grid-row: 1 / 3; width: 46px; height: 60px; align-self: center; border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.tone-relaxed .visual-swatch { background: linear-gradient(155deg, #6f957c, #c5a4d2); }
.tone-classic .visual-swatch { background: linear-gradient(155deg, #a44dcd, #ed758f, #ffc65d); }
.tone-big .visual-swatch { background: linear-gradient(155deg, #9148d7, #55cf75, #3518b7); }
.tone-club .visual-swatch { background: linear-gradient(155deg, #ff2b9d, #3c13a2, #a9ff46); }
.light-subtle .visual-swatch { background: radial-gradient(circle at 60% 30%, #fff7cd, transparent 20%), linear-gradient(155deg,#76518e,#d8b3c4); }
.light-party .visual-swatch { background: conic-gradient(from 40deg,#71ee6a,#9350e8,#ff7db0,#71ee6a); }
.light-impact .visual-swatch { background: linear-gradient(135deg,#b3ff4c 0 15%,#5d1fb4 16% 50%,#f050a8 51% 70%,#27134e 71%); }
.light-full .visual-swatch { background: radial-gradient(circle,#d4ff65 0 8%,transparent 9%), conic-gradient(#8648df,#f344a1,#52e08a,#8648df); }
.recommend-card { grid-column: 1 / -1; }

.form-grid { display: grid; gap: 1rem; }
.field { min-width: 0; }
.field label, .field-label, fieldset > legend { display: block; margin-bottom: .48rem; color: var(--white); font-weight: 800; font-size: .84rem; }
.field input, .field select { width: 100%; min-height: 52px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; padding: .75rem .9rem; color: var(--white); background: rgba(19,8,30,.32); outline: none; }
.field input::placeholder { color: #bdaec8; }
.field select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,var(--green) 50%),linear-gradient(135deg,var(--green) 50%,transparent 50%); background-position: calc(100% - 18px) 22px,calc(100% - 12px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: var(--focus); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field small { display: block; color: var(--muted); margin-top: .35rem; font-size: .72rem; }
.field-error { display: block; min-height: 1.15rem; margin-top: .2rem; color: var(--error); font-size: .74rem; }
.time-picker { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .4rem; }
.time-picker select, .time-picker button { min-width: 0; min-height: 52px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: var(--white); background: rgba(19,8,30,.32); font-weight: 750; }
.time-picker select { padding: .55rem .4rem; text-align: center; }
.time-picker button { padding: .5rem .62rem; color: var(--green-soft); cursor: pointer; }
.time-picker select:focus-visible, .time-picker button:focus-visible { outline: none; border-color: var(--green); box-shadow: var(--focus); }
.event-time-section { grid-column: 1 / -1; padding: 1rem; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.04); }
.event-time-section > legend { padding-inline: .3rem; color: var(--green-soft); letter-spacing: .08em; text-transform: uppercase; }
.time-fields { display: grid; gap: 1rem; }
.duration-output { display: block; margin-top: .8rem; color: var(--green-soft); font-weight: 850; }
.same-venue-field { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); }
.edit-only { display: none; }
.presentation-options { margin-top: 1.25rem; }
.presentation-options > legend { margin-bottom: .7rem; }

.inline-options, .budget-options { margin-bottom: 1.25rem; }
.inline-options label, .budget-options label { display: inline-flex; position: relative; margin: 0 .45rem .55rem 0; cursor: pointer; }
.inline-options input, .budget-options input { position: absolute; opacity: 0; }
.inline-options span, .budget-options span { display: grid; place-items: center; min-height: 48px; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.05); font-weight: 700; font-size: .8rem; }
.inline-options label:has(input:checked) span, .budget-options label:has(input:checked) span { border-color: var(--green); background: var(--green); color: #15200e; }
.inline-options label:has(input:focus-visible) span, .budget-options label:has(input:focus-visible) span { box-shadow: var(--focus); }

.step-actions, .quote-actions { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 2rem; }
.primary-button, .secondary-button { min-height: 52px; border-radius: 14px; padding: .8rem 1.1rem; cursor: pointer; font-weight: 800; border: 0; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button { color: #17200f; background: linear-gradient(100deg, var(--green), #d1ff77); box-shadow: 0 9px 25px rgba(118,220,51,.18); }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(118,220,51,.3); }
.secondary-button { color: var(--white); background: rgba(255,255,255,.08); border: 1px solid var(--border); }
.primary-button:focus-visible, .secondary-button:focus-visible, .text-button:focus-visible, .admin-link:focus-visible, .media-toggle:focus-visible, .social-link:focus-visible { outline: none; box-shadow: var(--focus); }

.optional-media { margin-top: 1.4rem; }
.media-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 54px; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.045); color: var(--white); font-weight: 800; cursor: pointer; }
.media-toggle span { color: var(--green); font-family: "Arial Black", "Avenir Next", sans-serif; font-size: .58rem; letter-spacing: .1em; }
.media-panel { margin-top: .65rem; padding: 1rem; border: 1px dashed rgba(255,255,255,.25); border-radius: 14px; color: var(--muted); background: rgba(16,7,25,.18); }
.media-panel p:last-child { margin-bottom: 0; }
.placeholder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.placeholder-grid div { display: grid; place-items: center; min-height: 110px; text-align: center; border-radius: 10px; background: linear-gradient(145deg,#6d3a85,#33204c); color: #dbcce4; font-family: "Arial Black", "Avenir Next",sans-serif; font-size: .6rem; letter-spacing: .08em; }
.media-panel img, .media-panel video, .media-panel iframe { display: block; width: 100%; min-height: 110px; border: 0; border-radius: 9px; object-fit: cover; }

.ready-mark, .success-ring { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.4rem; border-radius: 999px; background: var(--green); color: #19240f; font-size: 1.5rem; font-weight: 900; box-shadow: 0 0 32px rgba(157,252,77,.34); }
.recommendation-card, .quote-card { padding: 1.25rem; border: 1px solid rgba(157,252,77,.35); border-radius: 20px; background: linear-gradient(145deg,rgba(157,252,77,.11),rgba(178,105,255,.1)); }
.recommendation-card h2 { margin: .5rem 0; font-family: "Arial Black", "Avenir Next", sans-serif; font-size: clamp(1.7rem,5vw,2.7rem); text-transform: uppercase; }
.pill { color: var(--green); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.recommendation-detail { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--border); }
.recommendation-detail span { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.recommendation-detail p { margin: .3rem 0 0; }
.reassurance, .privacy-note, .prototype-note { color: var(--muted); font-size: .78rem; margin: .9rem 0 0; }
.notice { display: grid; gap: .25rem; margin-top: 1.4rem; padding: 1rem; border-left: 3px solid var(--violet); background: rgba(255,255,255,.055); border-radius: 0 12px 12px 0; }
.notice span { color: var(--muted); font-size: .82rem; }
.notice.important { border-color: var(--green); }

.consent { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; }
.consent input { width: 21px; height: 21px; flex: 0 0 auto; accent-color: var(--green); }
.consent span { display: grid; }
.consent small { color: var(--muted); margin-top: .2rem; }
.error-summary { margin-bottom: 1rem; padding: .85rem 1rem; border: 1px solid var(--error); border-radius: 12px; background: rgba(255,100,96,.1); color: #fff; font-weight: 700; }
.delivery-status, .call-request { margin-top: 1.4rem; padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.055); }
.delivery-status.is-sent { border-color: rgba(157,252,77,.55); background: rgba(157,252,77,.08); }
.delivery-status.is-revised, .delivery-status.is-error { border-color: rgba(255,174,169,.65); background: rgba(255,100,96,.08); }
.delivery-status strong, .delivery-status span { display: block; }
.delivery-status span { margin-top: .2rem; color: var(--muted); font-size: .82rem; }
.call-request-toggle { width: 100%; }
.call-request h2 { margin: 1rem 0 .8rem; font-size: 1.25rem; }
.call-periods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-bottom: 1rem; }
.call-periods label { position: relative; cursor: pointer; }
.call-periods input { position: absolute; opacity: 0; }
.call-periods span { display: grid; min-height: 58px; place-content: center; padding: .65rem; border: 1px solid var(--border); border-radius: 12px; text-align: center; font-weight: 800; }
.call-periods small { color: var(--muted); font-weight: 600; }
.call-periods label:has(input:checked) span { border-color: var(--green); background: rgba(157,252,77,.1); }
.call-periods label:has(input:focus-visible) span { box-shadow: var(--focus); }
.delivery-feedback { min-height: 1.3rem; margin: .75rem 0 0; color: var(--muted); font-size: .82rem; }
.delivery-feedback.is-error { color: var(--error); }
.quote-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.quote-heading span { color: var(--green); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.quote-heading h2 { margin: .3rem 0 0; }
.quote-heading p { margin: .35rem 0 0; color: var(--muted); font-size: .78rem; }
.quote-heading > strong { font-size: clamp(2rem,8vw,3.7rem); line-height: 1; }
.quote-breakdown { padding-top: .8rem; }
.breakdown-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; color: var(--muted); font-size: .85rem; }
.breakdown-row > span { display: grid; }
.breakdown-row small { max-width: 52ch; margin-top: .15rem; color: var(--muted); font-size: .7rem; }
.breakdown-row strong { color: var(--white); white-space: nowrap; }
.event-summary { margin-top: 1.25rem; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.055); }
.summary-heading { padding: 1.1rem 1.2rem .85rem; border-bottom: 1px solid var(--border); }
.summary-heading .eyebrow { margin-bottom: .35rem; }
.summary-heading h2 { margin-bottom: 0; font-size: 1.18rem; }
.summary-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .78rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.summary-row:last-child { border-bottom: 0; }
.summary-row div { display: grid; gap: .12rem; }
.summary-row span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.summary-row strong { font-size: .86rem; }
.summary-edit, .inline-reset { min-height: 44px; border: 0; border-radius: 10px; color: var(--green-soft); background: transparent; font-weight: 800; cursor: pointer; }
.summary-edit { padding: .55rem .65rem; }
.summary-edit:hover, .inline-reset:hover { background: rgba(255,255,255,.07); color: var(--white); }
.inline-reset { display: block; margin: .5rem auto -1rem; padding: .45rem .7rem; color: var(--muted); font-size: .74rem; font-weight: 700; }
.summary-edit:focus-visible, .inline-reset:focus-visible { outline: none; box-shadow: var(--focus); }

.confirmation-step { text-align: center; }
.confirmation-step h1, .confirmation-step .lead { margin-inline: auto; }
.success-ring { margin-inline: auto; }
.confirmation-summary { display: grid; gap: .35rem; max-width: 560px; margin: 1.7rem auto; padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.05); }
.confirmation-summary span { color: var(--green); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.social-follow { max-width: 650px; margin: 2.3rem auto 1.3rem; padding: clamp(1.2rem,4vw,2rem); text-align: left; border: 1px solid rgba(157,252,77,.28); border-radius: 22px; background: radial-gradient(circle at 90% 10%,rgba(157,252,77,.12),transparent 40%),rgba(22,9,35,.34); }
.social-follow h2 { font-size: clamp(1.5rem,4vw,2.1rem); margin-bottom: .45rem; }
.social-follow > p:not(.eyebrow), .social-follow > small { color: var(--muted); }
.social-links { display: grid; grid-template-columns: repeat(2,1fr); gap: .65rem; margin: 1.2rem 0; }
.social-link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: .75rem .9rem; text-decoration: none; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.06); font-weight: 800; }
.social-link:hover { border-color: var(--green); background: rgba(157,252,77,.08); }
.social-link span { color: var(--green); }
.centered { display: block; margin: 1.3rem auto 0; }

footer { min-height: 66px; padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); font-size: .68rem; }
footer span:first-child { color: var(--white); font-family: "Arial Black", "Avenir Next",sans-serif; font-weight: 800; }

.confirm-dialog { width: min(100% - 2rem, 480px); padding: 0; border: 1px solid var(--border); border-radius: 22px; color: var(--white); background: linear-gradient(145deg,#4a2864,#281635); box-shadow: 0 30px 90px rgba(10,3,17,.55); }
.confirm-dialog::backdrop { background: rgba(17,8,24,.72); backdrop-filter: blur(5px); }
.confirm-dialog form { padding: clamp(1.25rem,5vw,2rem); }
.confirm-dialog h2 { margin-bottom: .5rem; font-size: 1.6rem; }
.confirm-dialog p:not(.eyebrow) { color: var(--muted); }
.dialog-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.4rem; }
.editing-quote .step.is-active [data-edit-groups]:not(.is-edit-target) { display: none !important; }
.editing-quote .step.is-active [data-edit-only].is-edit-target { display: block; }
.editing-event:not(.context-wedding) .event-time-section.normal-event-only { display: block !important; }
.editing-event.context-wedding .event-time-section.wedding-time { display: block !important; }
.editing-quote .step[data-step="extras"].is-active .notice { display: none; }

body.context-party {
  --bg: #2f123f;
  --panel: rgba(75,25,92,.92);
  background: radial-gradient(circle at 90% 8%,rgba(157,252,77,.2),transparent 25rem), radial-gradient(circle at 8% 35%,rgba(234,65,157,.22),transparent 28rem), linear-gradient(145deg,#451458,#291038 55%,#53213c);
}
body.context-party .step { background: linear-gradient(145deg,rgba(91,30,109,.96),rgba(49,20,66,.97) 52%,rgba(90,29,64,.96)); }
body.context-party .step::before { background: linear-gradient(90deg,transparent,#f153aa,var(--green),#a968ff,transparent); }
body.context-party .choice-card,
body.context-party .event-summary,
body.context-party .quote-card,
body.context-party .confirmation-summary,
body.context-party .social-follow { border-color: transparent; background: linear-gradient(#351044,#351044) padding-box,linear-gradient(120deg,#a020f0,#39ff14) border-box; }

body.context-corporate {
  color-scheme: light;
  --white: #251f29;
  --muted: #625967;
  --border: rgba(42,34,46,.16);
  --green: #507b1d;
  --green-soft: #466c19;
  --violet: #754096;
  --focus: 0 0 0 4px rgba(93,137,42,.2);
  background: radial-gradient(circle at 88% 8%,rgba(120,73,151,.16),transparent 30rem), linear-gradient(145deg,#f4f1f5,#ddd9de 55%,#ece8e5);
}
body.context-corporate .step { background: linear-gradient(145deg,#e9edf2,#d9dde2); box-shadow: 0 22px 70px rgba(23,26,32,.2); }
body.context-corporate .step::before { background: linear-gradient(90deg,transparent,#754096,#6f963f,transparent); }
body.context-corporate .field input, body.context-corporate .field select, body.context-corporate .time-picker select, body.context-corporate .time-picker button { color: #251f29; background-color: rgba(255,255,255,.84); border-color: rgba(42,34,46,.2); }
body.context-corporate .choice-card, body.context-corporate .media-toggle, body.context-corporate .event-summary, body.context-corporate .consent { background: rgba(62,45,68,.045); }
body.context-corporate .primary-button { color: #fff; background: linear-gradient(100deg,#684087,#547d25); }
body.context-corporate .secondary-button { color: #302735; background: rgba(53,42,57,.06); }
body.context-corporate .placeholder-grid div { background: linear-gradient(145deg,#efebf0,#cbc4ce); color: #4d4054; }
body.context-corporate h1, body.context-corporate h2,
body.context-party h1, body.context-party h2 { font-family: "Avenir Next",Avenir,Inter,system-ui,sans-serif; }
body.context-corporate .quote-card,
body.context-corporate .confirmation-summary,
body.context-corporate .social-follow { border:1px solid transparent; background:linear-gradient(#e9edf2,#e9edf2) padding-box,linear-gradient(120deg,#754096,#6f963f) border-box; }

/* Palette and surface treatments from the read-only AMPT website stylesheet. */
body.context-corporate { background: linear-gradient(135deg,#171a20,#30353d 60%,#68717e); }
body.context-corporate .site-header, body.context-corporate footer { --white: #f8fafc; --muted: #d5d9df; }
body.context-party { --green: #39ff14; --violet: #a020f0; background: radial-gradient(circle at 85% 15%,rgba(57,255,20,.14),transparent 30rem),linear-gradient(135deg,#2b0037,#40105b); }
body.context-party .step { background: linear-gradient(140deg,#351044,#2b0037); }
body.context-wedding { color-scheme: light; --white: #282326; --muted: #655c60; --green: #71445e; --green-soft: #596148; --violet: #71445e; --border: rgba(113,68,94,.22); background: radial-gradient(circle at 84% 20%,rgba(184,155,99,.2),transparent 32%),linear-gradient(145deg,#f7f1e8,#fffcf8); }
body.context-wedding .step { background: linear-gradient(145deg,#fffcf8,#f7f1e8); box-shadow: 0 20px 60px rgba(40,35,38,.12); }
body.context-wedding h1, body.context-wedding h2 { font-family: 'Iowan Old Style',Baskerville,serif; font-weight: 500; }
body.context-wedding .field input, body.context-wedding .field select, body.context-wedding .time-picker select { background-color: #fffcf8; border-color: var(--border); }
body.context-wedding .choice-card, body.context-wedding .event-summary { background: rgba(127,154,120,.07); }
body.context-wedding .primary-button { color: #fffcf8; background: #71445e; }
body.context-wedding .ready-mark, body.context-wedding .success-ring { color: #fffcf8; }
body.context-wedding .confirm-dialog, body.context-corporate .confirm-dialog { background: #e9e4e5; }
.presentation-options .choice-card, .experience-card { display: flex; flex-direction: column; gap: .75rem; }
.experience-media { display: flex; flex-direction: column; gap: .5rem; min-height: 150px; justify-content: center; color: var(--muted); border-radius: 12px; overflow: hidden; background: rgba(127,127,127,.09); }
.experience-media img { display: block; width: 100%; height: 230px; object-fit: contain; object-position: center; }
.experience-media small { padding: .5rem; }
#lighting-choices { grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); }
.lighting-future-card { cursor: default; opacity: .72; border-style: dashed; }
.lighting-future-card:hover { transform: none; border-color: var(--border); background: rgba(255,255,255,.055); }
.future-package-status { align-self:start; width:max-content; padding:.28rem .55rem; border:1px solid var(--border); border-radius:999px; color:var(--muted); font-size:.62rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
#hear-vibe { margin-block: 1rem; text-decoration: none; }
#presentation-gallery video, #lighting-gallery video, #presentation-gallery img, #lighting-gallery img { max-width: 100%; }
details summary { cursor: pointer; padding: 1rem; }

@media (min-width: 620px) {
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .event-grid .choice-card:last-child { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid .field:first-child { grid-column: 1 / -1; }
  .time-fields { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 840px) {
  .event-grid { grid-template-columns: repeat(3,1fr); }
  .event-grid .choice-card:last-child { grid-column: 2; }
  .feeling-grid, .lighting-grid { grid-template-columns: repeat(4,1fr); }
  .feeling-grid .recommend-card, .lighting-grid .recommend-card { grid-column: 1 / -1; }
  .choice-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .choice-card .choice-icon, .choice-card .visual-swatch { grid-row: auto; width: 100%; height: 58px; }
  .choice-card small { grid-column: 1; }
  .recommend-card { grid-template-columns: auto 1fr; grid-template-rows: auto auto; }
  .recommend-card .choice-icon { grid-row: 1 / 3; width: 48px; }
  .recommend-card small { grid-column: 2; }
  .recommendation-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .recommendation-detail { padding: 0 0 0 1.5rem; margin: 0; border-top: 0; border-left: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .site-header { min-height: 72px; }
  .admin-link { display: none; }
  .app-shell { width: min(100% - 1rem,900px); margin-top: .65rem; }
  .step { padding: 1.2rem; border-radius: 22px; }
  .step-actions, .quote-actions { align-items: stretch; flex-direction: column-reverse; }
  .step-actions > *, .quote-actions > * { width: 100%; }
  .step-actions > span { display: none; }
  .quote-heading { flex-direction: column; }
  .time-picker { grid-template-columns: 1fr 1fr 1.2fr; }
  .social-links { grid-template-columns: 1fr; }
  .call-periods { grid-template-columns: 1fr; }
  .placeholder-grid { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column-reverse; }
  .summary-row { align-items: flex-start; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
