/* Customer site: Spotlight
   Design idea: a bright, airy page where the child is "in the spotlight". The film sits in a white photo
   frame under a soft golden beam (the same beam as the logo); everything else is white and lavender-white.
   - One action colour (--cta, raspberry) for every primary button; green (--ok) only means "approved".
   - Navy ink from the logo for text; gold only for light (beam, glow, ticket stubs).
   - Heebo heavy for headlines; Frank Ruhl Libre only for names, like film credits.
   - Hebrew RTL, phone first. No inline style or script (CSP).
*/
@font-face { font-family: "Heebo"; src: url("../fonts/Heebo.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Frank Ruhl Libre"; src: url("../fonts/FrankRuhlLibre.woff") format("woff"); font-weight: 300 900; font-display: swap; }

:root {
  --hall: #22204A;
  --hall-2: #34305F;
  --on-hall: #EEEDF7;
  --on-hall-2: #BDBAD6;
  --beam: #FFC542;
  --beam-ink: #8A6410;
  --beam-wash: #FFF4D9;
  --bg: #FBFAFE;
  --tint: #F3F1FB;
  --surface: #FFFFFF;
  --ink: #1F1D3A;
  --ink-1: #22204A;
  --ink-2: #4B4870;
  --muted: #66637F;
  --cta: #C8285A;
  --cta-2: #A91F4B;
  --cta-wash: #FBE6EC;
  --ok: #2E8B65;
  --ok-ink: #1E7A57;
  --ok-wash: #E3F2EB;
  --bad-ink: #B3263E;
  --bad-wash: #FBE9EC;
  --amber-wash: #FFF4D9;
  --amber-ink: #8A5A14;
  --line: #E7E4F0;
  --line-2: #D3CFE0;
  --focus: #6B4FD8;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 1px 2px rgba(34, 32, 74, .05), 0 12px 32px rgba(34, 32, 74, .09);
  --display: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --credit: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --ui: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: 16px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 17px; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--ink-1); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink-1); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-family: var(--display); font-weight: 850; font-size: clamp(2.2rem, 8.5vw, 4rem); letter-spacing: -.025em; line-height: 1.04; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 5.6vw, 2.4rem); letter-spacing: -.015em; line-height: 1.12; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 680px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink-1); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }

/* ---------- header / footer */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-1); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand svg.lockup { width: auto; flex: none; }
.brand svg.lk-full { height: 46px; }
.brand svg.lk-word { height: 22px; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; unicode-bidi: plaintext; white-space: nowrap; }
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a.navlink { display: none; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.site-nav a.navlink:hover { background: var(--line); }
@media (min-width: 860px) { .site-nav a.navlink { display: inline-block; } }
.site-foot { margin-top: 64px; padding: 32px 0 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.site-foot .wrap { display: grid; gap: 14px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--ink-2); }

/* ---------- buttons & forms */
.btn {
  -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--cta); background: var(--cta); color: #fff;
  font: 600 1.02rem/1 var(--ui); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .05s;
}
.btn:hover { background: var(--cta-2); border-color: var(--cta-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-busy { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink-1); border-color: var(--ink-1); }
.btn-ghost:hover { background: var(--surface); }
.btn-soft { background: var(--surface); color: var(--ink-1); border-color: var(--line-2); }
.btn-soft:hover { background: #fff; border-color: var(--ink-2); }
.btn-approve { background: var(--ok-ink); border-color: var(--ok-ink); }
.btn-approve:hover { background: #17644A; border-color: #17644A; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .92rem; }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 4px; font: inherit; color: var(--ink-1); text-decoration: underline; cursor: pointer; }

label { display: block; font-weight: 600; color: var(--ink-1); margin-bottom: 6px; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 4px; }
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-s);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--ui);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink-2); outline: 3px solid color-mix(in srgb, var(--focus) 25%, transparent); outline-offset: 0; }
input[type=email], input[type=tel] { direction: ltr; text-align: right; }
.field { margin-bottom: 18px; }
.field .err { display: none; color: var(--bad-ink); font-size: .9rem; margin-top: 6px; font-weight: 500; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--bad-ink); }
.field.has-err .err { display: block; }
.counter { float: inline-end; font-weight: 400; color: var(--muted); font-size: .82rem; }
.row2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }

.choice { display: grid; gap: 10px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-m); background: #fff; font-weight: 500; cursor: pointer; }
.choice input { margin-top: 5px; width: 20px; height: 20px; accent-color: var(--ink-1); flex: none; }
.choice label:has(input:checked) { border-color: var(--ink-1); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-1); }
.choice .price { margin-inline-start: auto; font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink-1); white-space: nowrap; }
.choice small { display: block; color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 0; padding: 0; margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 500; cursor: pointer; }
.chips input:checked + span { border-color: var(--ink-1); background: var(--ink-1); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--ink); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink-1); }
.consent b { color: var(--ink-1); }
.tag-optional { font-size: .78rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; margin-inline-start: 6px; font-weight: 500; }

/* ---------- notices */
.note { border-radius: var(--r-m); padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); }
.note-ok { background: var(--ok-wash); border-color: #CADBD1; color: var(--ok-ink); }
.note-warn { background: var(--amber-wash); border-color: #EFD8AE; color: var(--amber-ink); }
.note-error { background: var(--bad-wash); border-color: #EDC9C9; color: var(--bad-ink); }
.flash { margin: 16px 0; }
.demo-ribbon { background: var(--beam-wash); color: #6A4E22; text-align: center; font-size: .9rem; padding: 6px 12px; border-bottom: 1px solid #E8D7B8; }
.draft-label { display: inline-block; background: var(--amber-wash); color: var(--amber-ink); border-radius: 6px; padding: 2px 8px; font-size: .82rem; font-weight: 600; }

/* ---------- landing */
.hero { position: relative; overflow: hidden; padding: 22px 0 36px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #FFF0C7 0%, rgba(255, 240, 199, 0) 70%), var(--bg); }
.hero-grid { display: grid; grid-template-areas: "head" "screen" "act"; gap: 26px; text-align: center; }
.hero-head { grid-area: head; }
.hero-title { margin: 0 0 12px; }
.hero-title span { display: block; }
.hero .lede { color: var(--ink-2); font-size: 1.1rem; max-width: 36ch; margin: 0 auto; }
.screen { grid-area: screen; position: relative; margin: 0; justify-self: center; width: min(54vw, 300px); }
.beam { position: absolute; z-index: 0; inset-inline-start: -30%; top: -4%; width: 160%; height: 50%; pointer-events: none;
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, rgba(255, 197, 66, .55), rgba(255, 197, 66, .12) 70%, rgba(255, 197, 66, 0));
  animation: lights 1.4s .15s ease-out both; }
.screen-frame { position: relative; z-index: 1; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #EDEAF5;
  border: 6px solid #fff; box-shadow: 0 2px 4px rgba(34, 32, 74, .06), 0 22px 50px rgba(34, 32, 74, .18); }
.hero-film { width: 100%; height: 100%; object-fit: cover; }
.screen figcaption { position: relative; z-index: 1; margin-top: 12px; }
.credit { display: block; font-family: var(--credit); font-weight: 700; font-size: 1.35rem; color: var(--ink-1); line-height: 1.2; }
.ai-note { display: block; color: var(--muted); font-size: .76rem; margin-top: 4px; }
.hero-act { grid-area: act; display: grid; justify-items: center; gap: 8px; }
.btn-lg { min-height: 58px; padding: 0 36px; font-size: 1.12rem; font-weight: 700; box-shadow: 0 8px 22px rgba(200, 40, 90, .28); }
.hero-act .btn-lg { width: min(100%, 380px); }
.reassure { margin: 0; color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.demo-form { margin: 0; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.hero-links .linkbtn { color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) { .hero-links { justify-content: flex-start; } }
.demo-form .linkbtn { color: var(--muted); font-size: .92rem; }
@keyframes lights { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .beam { animation: none; } }
@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "head screen" "act screen"; column-gap: 72px; row-gap: 26px; align-items: end; text-align: start; }
  .hero .lede { margin: 0; }
  .hero-act { justify-items: start; align-self: start; }
  .screen { width: 320px; }
}

.occasion-chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.occasion-chips a { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); font-size: .86rem; font-weight: 500; text-decoration: none; }
.occasion-chips a:hover { border-color: var(--ink-2); color: var(--ink-1); }
@media (min-width: 900px) { .occasion-chips { justify-content: flex-start; } }

.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; padding-block: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.trust-list li { display: grid; justify-items: center; gap: 6px; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.trust-list b { display: block; color: var(--ink-1); font-size: .92rem; }
.ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--beam-wash); color: var(--ink-1); }
@media (min-width: 760px) { .trust-list li { grid-template-columns: auto 1fr; justify-items: start; text-align: start; align-items: center; gap: 12px; font-size: .92rem; } }

.section { padding: 52px 0 44px; }
.section.tinted { background: var(--tint); }
.section p.lead { color: var(--ink-2); font-size: 1.08rem; max-width: 60ch; }

.steps3 { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps3 li { position: relative; counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 18px 16px 18px; padding-inline-start: 70px; }
.steps3 li::before { content: counter(s); position: absolute; inset-inline-start: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--beam); color: var(--ink-1); font: 800 1.1rem/38px var(--ui); text-align: center; }
.steps3 h3 { margin: 0 0 4px; }
.steps3 p { margin: 0; color: var(--ink-2); }

.occasions { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 700px) { .occasions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .occasions { grid-template-columns: repeat(4, 1fr); } }
.occ { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.occ h3 { margin: 0; }
.occ p { margin: 0 0 6px; color: var(--ink-2); flex: 1; }
.occ a { font-weight: 700; color: var(--cta); text-decoration: none; }
.occ a:hover { text-decoration: underline; }
.occ-quiet { background: #F7F7FA; }
.occ-quiet a { color: var(--ink-2); }

.memorial-hero { padding: 40px 0 36px; background: linear-gradient(to bottom, #F4F3F8, var(--bg)); }
.memorial-hero h1 { font-size: clamp(1.9rem, 6.5vw, 2.9rem); margin-bottom: 14px; }
.memorial-hero .lede { color: var(--ink-2); font-size: 1.1rem; }
.memorial-hero .btn-lg { margin-top: 10px; box-shadow: none; }
.memorial-hero .reassure { margin-top: 10px; }
.quiet-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.quiet-list li { padding-inline-start: 16px; border-inline-start: 3px solid var(--line-2); color: var(--ink-2); }
.quiet-list b { color: var(--ink-1); }
.quiet-prices { list-style: none; padding: 0; margin: 12px 0; }
.quiet-prices li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.quiet-prices b { font-size: 1.2rem; color: var(--ink-1); }

.film-row { display: grid; gap: 22px; align-items: center; }
.film-frame { justify-self: center; width: min(72vw, 330px); }
.film-frame video { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: var(--hall); border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow); }
@media (min-width: 860px) { .film-row { grid-template-columns: 1fr auto; gap: 56px; } }

.guide { display: grid; gap: 20px; margin-top: 18px; }
@media (min-width: 760px) { .guide { grid-template-columns: 1fr 1fr; } }
.guide ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.guide li { display: flex; gap: 10px; align-items: flex-start; }
.guide .yes li::before, .guide .no li::before { flex: none; width: 24px; height: 24px; border-radius: 50%; font-weight: 700; text-align: center; line-height: 24px; font-size: .85rem; }
.guide .yes li::before { content: "✓"; background: var(--ok-wash); color: var(--ok-ink); }
.guide .no li::before { content: "✕"; background: var(--bad-wash); color: var(--bad-ink); }
.guide h3 { margin-bottom: 10px; }

.tickets { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 700px) { .tickets { grid-template-columns: 1fr 1fr; } }
.ticket { display: grid; grid-template-columns: 1fr auto; background: var(--surface); border-radius: var(--r-m); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ticket:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(34, 32, 74, .06), 0 18px 40px rgba(34, 32, 74, .14); }
.ticket-main { padding: 18px 18px 14px; }
.ticket-main h3 { margin-bottom: 8px; }
.ticket-main ul { margin: 0; padding-inline-start: 18px; color: var(--ink-2); font-size: .95rem; display: grid; gap: 4px; }
.ticket-stub { position: relative; display: grid; place-content: center; justify-items: center; gap: 2px; min-width: 116px; padding: 18px 14px; background: var(--beam-wash); border-start-end-radius: var(--r-m); border-end-end-radius: var(--r-m); border-inline-start: 2px dashed #E9CF94; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; inset-inline-start: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.ticket-stub::before { top: -9px; }
.ticket-stub::after { bottom: -9px; }
.ticket .amount { font-family: var(--display); font-weight: 850; font-size: 2.3rem; line-height: 1; color: var(--ink-1); letter-spacing: -.02em; }
.stub-sub { color: var(--beam-ink); font-size: .85rem; font-weight: 600; white-space: nowrap; }

.closing { padding: 56px 0 64px; text-align: center; background: linear-gradient(to bottom, var(--bg), var(--beam-wash)); }
.closing p { color: var(--ink-2); max-width: 46ch; margin-inline: auto; font-size: 1.08rem; }
.page-landing .site-foot { margin-top: 0; }

.mobile-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 25; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.mobile-cta[hidden] { display: none; }
@media (min-width: 900px) { .mobile-cta { display: none !important; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink-1); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--beam-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }

.wa-fab { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-radius: 999px; background: #1F7A4C; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.wa-fab svg { width: 22px; height: 22px; }
.wa-fab { display: none; }
@media (min-width: 900px) { .wa-fab { display: inline-flex; } }
.wa-head { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #1F7A4C; background: var(--surface); border: 1.5px solid var(--line-2); }
.wa-head svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .wa-head { display: none; } }

/* ---------- order wizard */
.wizard { padding-block: 18px 40px; }
.wz-head { display: grid; gap: 6px; margin-bottom: 18px; }
.wz-progress { display: flex; gap: 6px; margin: 12px 0 6px; }
.wz-progress span { flex: 1; height: 5px; border-radius: 99px; background: var(--line); }
.wz-progress span.on { background: var(--ink-1); }
.wz-step { display: none; }
.wz-step.on { display: block; animation: fadein .25s ease-out; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.wz-nav { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, transparent); margin-top: 8px; }
.wz-nav .btn { flex: 1; }
.wz-nav .btn-ghost { flex: 0 0 auto; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; }
.card + .card { margin-top: 14px; }
.save-state { font-size: .82rem; color: var(--muted); min-height: 1.2em; }

.upload-zone { display: grid; place-items: center; gap: 8px; padding: 24px 16px; border: 2px dashed var(--line-2); border-radius: var(--r-m); background: #fff; text-align: center; cursor: pointer; }
.upload-zone:hover, .upload-zone.drag { border-color: var(--ink-2); background: var(--surface); }
.upload-zone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-zone b { color: var(--ink-1); font-size: 1.05rem; }

.photo-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.photo-item { display: grid; grid-template-columns: auto 74px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 8px 10px; }
.photo-item .num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink-1); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.photo-item img { width: 74px; height: 100px; object-fit: cover; border-radius: 10px; background: var(--line); }
.photo-item .meta { display: grid; gap: 6px; min-width: 0; }
.photo-item .meta input { min-height: 40px; padding: 8px 10px; font-size: .92rem; }
.photo-item .ctrls { display: grid; grid-template-columns: repeat(3, 40px); gap: 6px; }
@media (max-width: 420px) {
  .photo-item { grid-template-columns: auto 64px 1fr; grid-template-rows: auto auto; row-gap: 8px; }
  .photo-item .num, .photo-item img { grid-row: 1 / 3; }
  .photo-item img { width: 64px; height: 88px; }
  .photo-item .ctrls { grid-column: 3; justify-content: start; grid-template-columns: repeat(3, 38px); }
  .photo-item .icon-btn { width: 38px; height: 38px; }
}
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-1); font-size: 1.05rem; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--ink-2); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.icon-btn.danger { color: var(--bad-ink); }
.photo-item.dragging { opacity: .5; }
.photo-item.uploading { opacity: .6; }
.timeline-hint { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; margin-top: 10px; }
.summary dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; }

/* ---------- portal */
.portal { padding-block: 22px 40px; }
.hello { font-family: var(--display); font-size: clamp(1.8rem, 6vw, 2.6rem); color: var(--ink-1); margin: 0 0 4px; font-weight: 700; }
.tracker { position: relative; margin: 26px 0 8px; padding: 0; list-style: none; display: grid; gap: 0; }
.tracker li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding-bottom: 22px; color: var(--muted); }
.tracker li::before { content: ""; position: absolute; right: 16px; top: 30px; bottom: 0; width: 2px; background: var(--line-2); }
.tracker li:last-child::before { display: none; }
.tracker li.done::before { background: var(--beam-ink); }
.tracker .pt { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: grid; place-items: center; font-size: .9rem; font-weight: 700; z-index: 1; }
.tracker li.done .pt { background: var(--ok-ink); border-color: var(--ok-ink); color: #fff; }
.tracker li.now .pt { background: var(--cta); border-color: var(--cta); color: #fff; box-shadow: 0 0 0 6px var(--bad-wash); }
.tracker li.now { color: var(--ink-1); font-weight: 700; }
.tracker li .lbl { padding-top: 5px; }
@media (min-width: 760px) {
  .tracker { grid-auto-flow: column; grid-auto-columns: 1fr; }
  .tracker li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-bottom: 0; }
  .tracker li::before { right: auto; left: auto; inset-inline-start: 50%; top: 16px; height: 2px; width: 100%; bottom: auto; }
}
.action-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; margin: 18px 0; box-shadow: var(--shadow); }
.action-card h2 { margin-bottom: .3em; }
.action-card .btn { margin-top: 6px; }
.status-line { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 0 rgba(217,119,127,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(217,119,127,0); } 100% { box-shadow: 0 0 0 0 rgba(217,119,127,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .review-grid { grid-template-columns: repeat(4, 1fr); } }
.rv { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.rv img { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: var(--line); }
.rv .cap { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px 10px; font-size: .88rem; }
.rv .n { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--ink-1); color: #fff; border-radius: 999px; font-weight: 700; font-size: .85rem; padding: 2px 10px; }
.rv.flagged { outline: 3px solid var(--cta); }
.rv .flag-note { padding: 0 10px 10px; font-size: .84rem; color: var(--bad-ink); }
.rv textarea { min-height: 70px; font-size: .9rem; margin: 0 10px 10px; width: calc(100% - 20px); display: none; }
.rv.flagged textarea { display: block; }

.player { background: var(--hall); border-radius: var(--r-l); padding: 10px; }
.player video { width: 100%; max-height: 78vh; aspect-ratio: 9/16; object-fit: contain; margin: 0 auto; border-radius: 16px; }
.decide { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .decide { grid-template-columns: 1fr 1fr; } }
.changes-box { display: none; margin-top: 12px; }
.changes-box.on { display: block; }

.err-page { padding-block: 64px; text-align: center; }
.err-page h1 { font-size: 2rem; }

fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend.lg { font-weight: 600; color: var(--ink-1); margin-bottom: 8px; padding: 0; }
.mt { margin-top: 12px; }
.mt-l { margin-top: 24px; }
.inline-form { display: inline; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.foot-tag { text-align: right; }
.has-sticky-nav .wa-fab { bottom: 92px; }
@media (max-width: 420px) { .site-nav .btn-sm { padding: 0 10px; } .brand b { font-size: 1rem; } }

/* ---------- one-page order form */
.orderform { padding: 20px var(--gutter) 24px; }
.of-head { margin-bottom: 8px; }
.of-head h1 { margin-bottom: .2em; }
.of-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 16px 6px; margin-top: 16px; }
.of-sec h2 { font-size: 1.35rem; margin-bottom: .6em; }
.of-sec > p { margin-bottom: 10px; }
.tipbox { border: 1px dashed var(--line-2); border-radius: var(--r-m); padding: 10px 14px; margin: 6px 0 14px; background: #fff; }
.tipbox > summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.tipbox .guide { margin-top: 10px; }
.of-submit { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 75%, transparent); margin-top: 8px; text-align: center; z-index: 5; }
.of-submit p { margin: 6px 0 0; }
.of-sec .row2 > fieldset { margin-bottom: 18px; }
.sticky-decide { position: sticky; bottom: 0; z-index: 6; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 75%, transparent); }
.portal .note { margin-bottom: 12px; }

/* ---------- memorial page: same layout, quieter colours */
.page-memorial main .btn { background: var(--ink-1); border-color: var(--ink-1); box-shadow: none; }
.page-memorial main .btn:hover { background: var(--hall-2); border-color: var(--hall-2); }
.page-memorial .steps3 li::before { background: var(--tint); color: var(--ink-2); }
