/* Looks for customer pages (style-looks.js has the colours; brand.js applies them). Fonts are OFL files in
   /fonts/looks, downloaded by the browser only when a look uses them. Nothing here touches the owner dashboard,
   which has no data-look. */
@font-face { font-family: 'Fredoka'; src: url('/fonts/looks/fredoka-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('/fonts/looks/fredoka-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('/fonts/looks/fredoka-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('/fonts/looks/nunito-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('/fonts/looks/nunito-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('/fonts/looks/nunito-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/looks/barlow-condensed-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/looks/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/looks/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/looks/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/looks/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/looks/barlow-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/looks/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/looks/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/looks/cormorant-garamond-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/looks/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/looks/jost-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/looks/jost-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/looks/fraunces-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/looks/fraunces-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/looks/fraunces-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('/fonts/looks/karla-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('/fonts/looks/karla-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('/fonts/looks/karla-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('/fonts/looks/dm-serif-display-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/looks/dm-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/looks/dm-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/looks/dm-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/looks/archivo-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/looks/archivo-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/looks/archivo-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/looks/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/looks/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/looks/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/looks/space-grotesk-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/looks/space-grotesk-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/looks/space-grotesk-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/looks/manrope-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/looks/manrope-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/looks/manrope-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root[data-look="homely"] { --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif; --font-body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif; --display-weight: 650; --r-card: 12px; --r-btn: 8px; }
:root[data-look="fresh"] { --font-display: 'Fredoka', 'Segoe UI', system-ui, sans-serif; --font-body: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif; --display-weight: 600; --r-card: 18px; --r-btn: 999px; }
:root[data-look="workshop"] { --font-display: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif; --font-body: 'Barlow', 'Segoe UI', system-ui, sans-serif; --display-weight: 700; --r-card: 4px; --r-btn: 3px; }
:root[data-look="salon"] { --font-display: 'Cormorant Garamond', 'Segoe UI', system-ui, sans-serif; --font-body: 'Jost', 'Segoe UI', system-ui, sans-serif; --display-weight: 600; --r-card: 2px; --r-btn: 2px; }
:root[data-look="grove"] { --font-display: 'Fraunces', 'Segoe UI', system-ui, sans-serif; --font-body: 'Karla', 'Segoe UI', system-ui, sans-serif; --display-weight: 600; --r-card: 14px; --r-btn: 10px; }
:root[data-look="bistro"] { --font-display: 'DM Serif Display', 'Segoe UI', system-ui, sans-serif; --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif; --display-weight: 400; --r-card: 10px; --r-btn: 999px; }
:root[data-look="blueprint"] { --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif; --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif; --display-weight: 700; --r-card: 6px; --r-btn: 4px; }
:root[data-look="studio"] { --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif; --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif; --display-weight: 600; --r-card: 12px; --r-btn: 10px; }

/* Type and shape */
:root[data-look] h1, :root[data-look] h2, :root[data-look] h3, :root[data-look] .greet-hello { font-weight: var(--display-weight); }
:root[data-heading="upper"] .public-band h1, :root[data-heading="upper"] .greet-hello, :root[data-heading="upper"] .consent h2 { text-transform: uppercase; letter-spacing: 0.02em; }
:root[data-look] .consent, :root[data-look] .panel, :root[data-look] .ticket, :root[data-look] .support-card,
:root[data-look] .slideshow, :root[data-look] .greet { border-radius: var(--r-card); }
:root[data-look] button, :root[data-look] a.button, :root[data-look] .composer input { border-radius: var(--r-btn); }
:root[data-look] .theme-toggle { border-radius: 999px; }

/* Headers */
:root[data-header="minimal"] .public-band { background: var(--surface); color: var(--ink); border-bottom: 3px solid var(--brand); }
:root[data-header="minimal"] .public-band h1 { color: var(--brand-ink); }
:root[data-header="minimal"] .public-band .contact { color: var(--muted); opacity: 1; }
:root[data-header="minimal"] .logo-chip { border: 1px solid var(--line); }
:root[data-header="poster"] .public-band .inner { flex-direction: column; text-align: center; padding: 34px 24px 30px; gap: 10px; }
:root[data-header="poster"] .public-band h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; }
:root[data-header="poster"] .public-band .contact { justify-content: center; }
:root[data-header="split"] .public-band { background: var(--surface); color: var(--ink); border-top: 6px solid var(--brand); border-bottom: 1px solid var(--line); }
:root[data-header="split"] .public-band .inner { border-left: 12px solid var(--brand); margin-top: 18px; margin-bottom: 18px; padding-top: 6px; padding-bottom: 6px; padding-left: 20px; max-width: 992px; }
:root[data-header="split"] .public-band h1 { color: var(--ink); }
:root[data-header="split"] .public-band .contact { color: var(--muted); opacity: 1; }
:root[data-header="split"] .logo-chip { border: 1px solid var(--line); }
@media (max-width: 1060px) { :root[data-header="split"] .public-band .inner { margin-left: 24px; margin-right: 24px; } }

/* Textures: kept faint so text stays on a flat colour */
:root[data-texture="dots"] body { background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1.4px); background-size: 20px 20px; }
:root[data-texture="grid"] body { background-image: linear-gradient(color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px); background-size: 28px 28px; }
:root[data-texture="stripe"] .public-band { border-bottom: 8px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--brand-2) 0 12px, var(--ink) 12px 24px) 8; }

/* ---------- greeting ---------- */
.greet { border-radius: 14px; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); padding: 22px 24px 20px; margin-bottom: 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; }
.greet-text { min-width: 0; }
.greet-hello { font-weight: 650; font-family: var(--font-display); font-size: clamp(30px, 5vw, 44px); line-height: 1.05; margin: 0; color: var(--ink); }
.greet-line { margin: 8px 0 0; color: var(--ink-2); font-size: 17px; max-width: 56ch; }
.greet-scene { width: 132px; height: 72px; flex: none; }
.greet-scene svg { width: 100%; height: 100%; display: block; overflow: visible; }
.greet .l, .greet .w { display: inline-block; white-space: pre; }
.greet .mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
@media (max-width: 560px) { .greet { grid-template-columns: 1fr; } .greet-scene { order: -1; width: 96px; height: 52px; } }

/* sunrise: the sun climbs, stands high, sets, or the moon and stars come out */
.greet-sun { fill: #F2B33D; }
.greet-moon { fill: color-mix(in srgb, var(--ink-2) 60%, var(--surface)); }
.greet-star { fill: color-mix(in srgb, var(--ink-2) 70%, var(--surface)); }
.greet-ground { stroke: var(--line-strong); stroke-width: 2; }
.greet--sunrise.greet--morning .greet-orb { animation: rise 1.6s cubic-bezier(.2,.7,.2,1) both; }
.greet--sunrise.greet--afternoon .greet-orb { animation: drift 1.6s ease-out both; }
.greet--sunrise.greet--evening .greet-orb { animation: set 1.8s cubic-bezier(.4,0,.6,1) both; }
.greet--sunrise.greet--night .greet-orb { animation: fadein 1.2s ease-out both; }
.greet--sunrise.greet--night .greet-star { animation: twinkle 2.4s ease-in-out 3 both; }
.greet--sunrise.greet--night .greet-star:nth-child(2) { animation-delay: .4s; }
.greet--sunrise.greet--night .greet-star:nth-child(3) { animation-delay: .8s; }
.greet--sunrise .greet-text { animation: up .9s .25s ease-out both; }
@keyframes rise { from { transform: translateY(34px); } to { transform: none; } }
@keyframes drift { from { transform: translate(-14px, 6px); } to { transform: none; } }
@keyframes set { from { transform: translateY(-22px); } to { transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* typewriter: greeting.js types the letters; the caret blinks a few times, then goes */
.greet-caret { display: inline-block; width: 0.08em; height: 0.9em; margin-left: 0.06em; background: var(--brand); vertical-align: -0.08em; animation: caret .9s steps(1) 4 both; }
.greet--typewriter .greet-line { animation: up .6s ease-out both; animation-delay: var(--after, 1s); }
@keyframes caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } 99.9% { opacity: 0; } }

/* wave: letters rise in one after another */
.greet--wave .greet-hello .l { animation: letter .55s cubic-bezier(.2,.8,.3,1.25) both; animation-delay: calc(var(--i) * 38ms); }
.greet--wave .greet-line { animation: up .6s ease-out both; animation-delay: var(--after, .8s); }
@keyframes letter { from { opacity: 0; transform: translateY(0.55em); } to { opacity: 1; transform: none; } }

/* curtain: each word slides up from behind a line */
.greet--curtain .greet-hello .w, .greet--curtain .greet-line .w { animation: curtain .8s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--i) * 110ms); }
.greet--curtain .greet-hello { border-bottom: 1px solid var(--line-strong); padding-bottom: 6px; }
@keyframes curtain { from { transform: translateY(105%); } to { transform: none; } }

/* sparkle: a soft fade while a few sparkles twinkle */
.greet--sparkle .greet-text { animation: settle .9s ease-out both; }
.greet-spark { fill: var(--brand-2); transform-box: fill-box; transform-origin: center; animation: spark 1.3s ease-in-out 2 both; }
.greet-spark:nth-child(2) { animation-delay: .25s; fill: var(--brand); }
.greet-spark:nth-child(3) { animation-delay: .5s; }
.greet-spark:nth-child(4) { animation-delay: .7s; fill: var(--brand); }
@keyframes settle { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes spark { 0%, 100% { transform: scale(.2) rotate(0deg); opacity: 0; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

/* glow: warms up like a light switching on, one smooth rise, no flashing */
.greet--glow .greet-hello { animation: warm 1.4s ease-out both; }
.greet--glow .greet-line { animation: up .7s .9s ease-out both; }
.greet-bulb { fill: color-mix(in srgb, var(--brand-2) 85%, var(--surface)); animation: bulb 1.4s ease-out both; }
.greet-filament { stroke: var(--ink-2); stroke-width: 2; fill: none; }
@keyframes warm { 0% { opacity: .15; text-shadow: none; } 70% { opacity: 1; text-shadow: 0 0 22px color-mix(in srgb, var(--brand-2) 55%, transparent); } 100% { opacity: 1; text-shadow: 0 0 10px color-mix(in srgb, var(--brand-2) 25%, transparent); } }
@keyframes bulb { from { opacity: .2; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .greet *, .greet { animation: none !important; transition: none !important; }
    .greet-caret { display: none; }
}
@media print { .greet { display: none; } }

/* ---------- sky colours that follow the time of day ---------- */
@property --sky-1 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --sky-2 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --sky-3 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --sky-raw { syntax: '<color>'; inherits: true; initial-value: transparent; }
:root[data-sky="on"][data-sky-ready="on"] { transition: --sky-1 60s linear, --sky-2 60s linear, --sky-3 60s linear, --sky-raw 60s linear; }
:root[data-sky="on"][data-sky-fast="on"] { transition: --sky-1 .1s linear, --sky-2 .1s linear, --sky-3 .1s linear, --sky-raw .1s linear; }
/* The sky is painted on the page itself, under the swatches; the middle colour also counts as the page colour */
:root[data-sky="on"] { background-color: var(--sky-2); background-image: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 45%, var(--sky-3) 100%); background-attachment: fixed; }
/* Pages paint their own pale background on <body>; with a colour background on, that would cover it */
:root[data-sky="on"] body { background-color: transparent; background-image: none; }
:root[data-sky="on"][data-texture="dots"] body { background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1.4px); }
:root[data-sky="on"][data-texture="grid"] body { background-image: linear-gradient(color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px); }
/* Logo colours drift slowly across the page */
:root[data-sky="on"][data-bg="logo"], :root[data-sky="on"][data-bg="both"] {
    background-image: linear-gradient(135deg, var(--sky-1) 0%, var(--sky-2) 50%, var(--sky-3) 100%);
    background-size: 220% 220%; animation: bgdrift 36s ease-in-out infinite alternate;
}
@keyframes bgdrift { 0% { background-position: 0% 0%; } 50% { background-position: 100% 40%; } 100% { background-position: 30% 100%; } }

/* ---------- moving colour swatches behind the content ---------- */
.swatches { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.swatch { position: absolute; display: block; border-radius: 50%; opacity: var(--swatch-alpha, .22); filter: blur(56px); will-change: transform; }
.swatch-1 { width: 40vmax; height: 40vmax; left: -10vmax; top: -8vmax; animation: drift1 14s ease-in-out infinite alternate, tint 9s ease-in-out infinite alternate; }
.swatch-2 { width: 34vmax; height: 34vmax; right: -8vmax; top: 6vmax; animation: drift2 17s ease-in-out infinite alternate, tint 11s ease-in-out infinite alternate-reverse; }
.swatch-3 { width: 28vmax; height: 28vmax; left: 28vw; top: 44vh; animation: drift3 12s ease-in-out infinite alternate; }
.swatch-4 { width: 30vmax; height: 30vmax; left: -6vmax; bottom: -12vmax; animation: drift2 19s ease-in-out infinite alternate-reverse; }
.swatch-5 { width: 24vmax; height: 24vmax; right: 6vw; bottom: -4vmax; animation: drift1 16s ease-in-out infinite alternate-reverse, tint 13s ease-in-out infinite alternate; }
:root[data-swatches="off"] .swatches { display: none; }
@keyframes drift1 { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(26vw, 14vh) scale(1.18); } 66% { transform: translate(8vw, 38vh) scale(.88); } 100% { transform: translate(34vw, 24vh) scale(1.05); } }
@keyframes drift2 { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-28vw, 18vh) scale(.86); } 66% { transform: translate(-10vw, 40vh) scale(1.16); } 100% { transform: translate(-32vw, -4vh) scale(1); } }
@keyframes drift3 { 0% { transform: translate(0, 0) scale(.92); } 50% { transform: translate(-24vw, -26vh) scale(1.2); } 100% { transform: translate(20vw, 10vh) scale(1); } }
/* Swatches shift between the brand colour and the sky's */
@keyframes tint { from { background-color: var(--brand); } to { background-color: var(--sky-raw); } }
@media (max-width: 640px) { .swatch-4, .swatch-5 { display: none; } .swatch { filter: blur(40px); } }

/* ---------- emojis in the greeting ---------- */
.greet-emoji { display: inline-block; margin-left: .25em; font-size: .9em; animation: pop .7s 1s cubic-bezier(.3,1.6,.5,1) both, sway 2.6s 1.8s ease-in-out 2; transform-origin: 50% 80%; }
.greet-type { display: inline-block; margin-right: .35em; animation: pop .6s 1.2s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }

@media (prefers-reduced-motion: reduce) {
    .swatches { display: none; }
    :root[data-sky="on"] { transition: none; animation: none !important; }
    .greet-emoji, .greet-type { animation: none !important; }
}

/* ---------- layouts: how the call page is arranged (style-looks.js LAYOUTS) ----------
   classic is the page as written. The others move the same parts around, so every layout keeps the
   recording notice, the start buttons and the services. On phones most fall back to one column. */

/* Shop window: services first, as a row of large cards to swipe; once a call starts they move below it */
:root[data-layout="showcase"] .call-page .public-main { display: flex; flex-direction: column; }
:root[data-layout="showcase"] .call-page #greet { order: 0; }
:root[data-layout="showcase"] .call-page #notFound { order: 0; }
:root[data-layout="showcase"] .call-page #picks { order: 1; margin-bottom: 28px; }
:root[data-layout="showcase"] .call-page #before { order: 2; }
:root[data-layout="showcase"] .call-page #during { order: 3; }
:root[data-layout="showcase"] .call-page .public-main:has(#during:not(.hidden)) #picks { order: 4; }
:root[data-layout="showcase"] .call-page .picks h3 { margin-top: 0; font-size: 26px; }
:root[data-layout="showcase"] .call-page .offer-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(260px, 31%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
:root[data-layout="showcase"] .call-page .offer { scroll-snap-align: start; }
:root[data-layout="showcase"] .call-page .offer .service-photo { aspect-ratio: 4 / 3; }
:root[data-layout="showcase"] .call-page .consent { text-align: center; }
:root[data-layout="showcase"] .call-page .consent p { margin-left: auto; margin-right: auto; }
:root[data-layout="showcase"] .call-page .consent .actions { justify-content: center; }
@media (max-width: 820px) { :root[data-layout="showcase"] .call-page .offer-grid { grid-auto-columns: 78%; } }

/* Side by side: start card left, services as a list right; during a call the quote is on the left */
:root[data-layout="split"] .call-page .public-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 28px; align-items: start; max-width: 1120px; }
:root[data-layout="split"] .call-page #greet,
:root[data-layout="split"] .call-page #notFound,
:root[data-layout="split"] .call-page #during { grid-column: 1 / -1; }
:root[data-layout="split"] .call-page #before { grid-column: 1; }
:root[data-layout="split"] .call-page #picks { grid-column: 2; grid-row: span 2; }
:root[data-layout="split"] .call-page .public-main:has(#during:not(.hidden)) #picks { grid-column: 1 / -1; }
:root[data-layout="split"] .call-page .picks h3 { margin-top: 0; }
:root[data-layout="split"] .call-page .offer-grid { grid-template-columns: 1fr; gap: 10px; }
:root[data-layout="split"] .call-page .offer { flex-direction: row; align-items: stretch; }
:root[data-layout="split"] .call-page .offer .service-photo { aspect-ratio: auto; width: 96px; flex: 0 0 96px; }
:root[data-layout="split"] .call-page .call-layout { grid-template-columns: 340px minmax(0, 1fr); }
:root[data-layout="split"] .call-page .call-layout .quote-panel { order: -1; }
@media (max-width: 820px) {
    :root[data-layout="split"] .call-page .public-main { grid-template-columns: 1fr; }
    :root[data-layout="split"] .call-page #before, :root[data-layout="split"] .call-page #picks { grid-column: 1; }
    :root[data-layout="split"] .call-page .call-layout { grid-template-columns: 1fr; }
    :root[data-layout="split"] .call-page .call-layout .quote-panel { order: 0; }
}

/* Sidebar: the business in a column down the left, everything else beside it */
@media (min-width: 821px) {
    :root[data-layout="sidebar"] body.call-page { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
    :root[data-layout="sidebar"] .call-page .public-band { position: sticky; top: 0; min-height: 100vh; border-top: 0; border-bottom: 0; }
    :root[data-layout="sidebar"] .call-page .public-band .inner { flex-direction: column; align-items: flex-start; text-align: left; max-width: none; margin: 0; padding: 48px 28px; border-left: 0; gap: 18px; }
    :root[data-layout="sidebar"] .call-page .public-band h1 { font-size: 32px; line-height: 1.1; }
    :root[data-layout="sidebar"] .call-page .public-band .contact { flex-direction: column; justify-content: flex-start; }
    :root[data-layout="sidebar"] .call-page .logo-chip { width: 96px; height: 96px; }
    :root[data-layout="sidebar"] .call-page .public-main { margin: 0; max-width: 900px; padding-top: 40px; }
    :root[data-layout="sidebar"][data-header="minimal"] .call-page .public-band { border-right: 3px solid var(--brand); }
    :root[data-layout="sidebar"][data-header="split"] .call-page .public-band { border-right: 1px solid var(--line); border-left: 8px solid var(--brand); }
}

/* Single column: narrow and centred, services as a plain price list, the quote under the conversation */
:root[data-layout="centered"] .call-page .public-band .inner { justify-content: center; text-align: center; padding-right: 24px; }
:root[data-layout="centered"] .call-page .public-band .contact { justify-content: center; }
:root[data-layout="centered"] .call-page .public-main { max-width: 680px; }
:root[data-layout="centered"] .call-page .consent { text-align: center; }
:root[data-layout="centered"] .call-page .consent p { margin-left: auto; margin-right: auto; }
:root[data-layout="centered"] .call-page .consent .actions { justify-content: center; }
:root[data-layout="centered"] .call-page .picks h3, :root[data-layout="centered"] .call-page .picks > p { text-align: center; }
:root[data-layout="centered"] .call-page .offer-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
:root[data-layout="centered"] .call-page .offer { flex-direction: row; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
:root[data-layout="centered"] .call-page .offer .service-photo { display: none; }
:root[data-layout="centered"] .call-page .offer-body { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; width: 100%; padding: 14px 4px; }
:root[data-layout="centered"] .call-page .offer-body .offer-price { grid-column: 2; grid-row: 1; }
:root[data-layout="centered"] .call-page .offer-body .offer-desc { grid-column: 1 / -1; }
:root[data-layout="centered"] .call-page .offer.picked { box-shadow: inset 4px 0 0 var(--brand-mark); }
:root[data-layout="centered"] .call-page .call-layout { grid-template-columns: 1fr; }
:root[data-layout="centered"] .call-page .quote-panel { position: static; }

/* Menu board: the services fill a board on the left, the start card stays in view on the right */
@media (min-width: 821px) {
    :root[data-layout="rail"] .call-page .public-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 28px; align-items: start; max-width: 1180px; }
    :root[data-layout="rail"] .call-page #greet,
    :root[data-layout="rail"] .call-page #notFound,
    :root[data-layout="rail"] .call-page #during { grid-column: 1 / -1; }
    :root[data-layout="rail"] .call-page #picks { grid-column: 1; grid-row: 2; }
    :root[data-layout="rail"] .call-page #before { grid-column: 2; grid-row: 2; position: sticky; top: 20px; }
    :root[data-layout="rail"] .call-page .public-main:has(#during:not(.hidden)) #picks { grid-column: 1 / -1; grid-row: auto; }
    :root[data-layout="rail"] .call-page .picks h3 { margin-top: 0; }
    :root[data-layout="rail"] .call-page .consent .actions { flex-direction: column; align-items: stretch; }
    :root[data-layout="rail"] .call-page .consent .actions button { min-width: 0; width: 100%; }
    :root[data-layout="rail"] .call-page .consent h2 { font-size: 23px; }
    :root[data-layout="rail"] .call-page .offer-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
/* Single column is a plain price list: no photo slideshow */
:root[data-layout="centered"] .call-page .slideshow { display: none !important; }
