/* FRATRY ONE: shared structure of every public theme.
   Each theme (public/themes/{key}/theme.css) only sets the variables and its personality. */

@font-face { font-family: 'Inter Tight'; src: url('/themes/fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/themes/fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/themes/fonts/fraunces-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/themes/fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/themes/fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('/themes/fonts/bodoni-moda-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('/themes/fonts/bodoni-moda-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/themes/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
    --bg: #ffffff;
    --surface: #f5f5f7;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --line: #e5e5ea;
    --accent: #1d1d1f;
    --on-accent: #ffffff;
    --font-body: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: var(--font-body);
    --display-weight: 650;
    --display-tracking: -0.035em;
    --radius: 18px;
    --radius-small: 12px;
    --wrap: 1180px;
    --space: clamp(4.5rem, 10vw, 9rem);
    --ease: cubic-bezier(.2, .7, .1, 1);
    --header-h: 72px;
}

:root[data-scheme="dark"] {
    --bg: #0e0e10;
    --surface: #1a1a1e;
    --text: #f2f2f4;
    --muted: #a1a1a8;
    --line: #2c2c32;
    --accent: var(--accent-dark);
    --on-accent: var(--on-accent-dark);
    color-scheme: dark;
}
[data-scheme="dark"] .logo-can-invert img { filter: invert(1) hue-rotate(180deg); }
/* Illustrations: their "paper" is a little lighter than the page, so it stands out. */
[data-scheme="dark"] :is(.collage, .scene, .pl-scene, .illo, .devices, .showcase-media) { --bg: #26262c; --line: #3b3b44; --surface: #1e1e23; }
[data-scheme="dark"] .card:hover, [data-scheme="dark"] .plan:hover { box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); }
html.scheme-anim, html.scheme-anim *, html.scheme-anim *::before, html.scheme-anim *::after { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), fill .5s, stroke .5s !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }
.prose p + p { margin-top: 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; border-radius: 10px; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { --wrap: 820px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.eyebrow a { text-decoration: none; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 42ch; text-wrap: pretty; }
.section-title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.actions-center { justify-content: center; margin-top: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease); will-change: transform; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 12px 30px -12px var(--accent); }
.btn-secondary { border-color: currentColor; color: var(--text); background: transparent; }
.btn-secondary:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-on-accent { background: var(--on-accent); color: var(--accent); }

/* Header: brand, menu in a capsule with a sliding highlight, calls to action. */
/* The blur sits on a layer behind the header: on the header itself it would trap the
   full-screen mobile menu (position: fixed) inside the header's 72px on Safari. */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.is-scrolled::before { opacity: 1; }
.menu-open .site-header::before { opacity: 0; }
.site-header-inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: 1.25rem; }
.site-brand { display: flex; align-items: center; flex: none; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.site-brand img { max-height: 40px; width: auto; }
.site-nav { margin-inline: auto; }
.site-nav ul { position: relative; list-style: none; display: flex; gap: .15rem; margin: 0; padding: .3rem; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.site-nav li { position: relative; z-index: 1; }
.site-nav li a { display: block; padding: .5rem .95rem; border-radius: 999px; font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--muted); white-space: nowrap; transition: color .3s; }
.site-nav li a:hover, .site-nav li a.is-active, .site-nav li a[aria-current="page"] { color: var(--text); }
.nav-num { display: none; }
.nav-pill { position: absolute !important; z-index: 0 !important; left: 0; top: .3rem; bottom: .3rem; width: var(--w, 0); translate: var(--x, 0) 0; border-radius: 999px; background: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px -8px rgba(0, 0, 0, .25); opacity: 0; transition: translate .5s var(--ease), width .5s var(--ease), opacity .3s; pointer-events: none; }
.site-nav ul.has-pill .nav-pill { opacity: 1; }
html:not(.js) .site-nav li a:hover, html:not(.js) .site-nav li a[aria-current="page"] { background: var(--bg); }
.nav-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; margin-left: auto; }
.site-nav + .header-actions { margin-left: 0; }
.header-link { padding: .55rem .9rem; border-radius: 999px; font-size: .93rem; font-weight: 600; text-decoration: none; transition: background-color .25s; }
.header-link:hover { background: var(--surface); }
.header-cta { min-height: 42px; padding: .55rem 1.1rem .55rem 1.25rem; font-size: .92rem; overflow: hidden; }
.header-cta svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.header-cta:hover svg { transform: translateX(3px); }
.scheme-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: background-color .25s, transform .5s var(--ease); }
.scheme-toggle:hover { background: var(--surface); }
.scheme-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; overflow: visible; }
.scheme-toggle .st-moon { fill: currentColor; stroke: none; opacity: 0; transform: rotate(-70deg) scale(.4); transform-origin: center; transition: opacity .4s, transform .6s var(--ease); }
.scheme-toggle .st-sun, .scheme-toggle .st-rays { transform-origin: center; transition: opacity .4s, transform .6s var(--ease); }
[data-scheme="dark"] .scheme-toggle .st-moon { opacity: 1; transform: none; }
[data-scheme="dark"] .scheme-toggle .st-sun, [data-scheme="dark"] .scheme-toggle .st-rays { opacity: 0; transform: rotate(90deg) scale(.4); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; position: relative; z-index: 60; }
.menu-toggle-lines, .menu-toggle-lines::before { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle-lines { top: 18px; }
.menu-toggle-lines::before { content: ''; left: 0; right: 0; top: 7px; }
.menu-open .menu-toggle-lines { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle-lines::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1020px) { .header-link { display: none; } }
@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .header-actions { margin-left: auto; position: relative; z-index: 60; }
    .header-cta { min-height: 40px; padding: .45rem .95rem; font-size: .86rem; }
    .header-cta svg { display: none; }
    .menu-open .header-cta { opacity: 0; pointer-events: none; }
    .site-nav { position: fixed; inset: 0; z-index: 55; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 2rem) 1.5rem max(1.5rem, env(safe-area-inset-bottom)); background: var(--bg); overflow-y: auto; clip-path: circle(0 at calc(100% - 2.6rem) 2.2rem); visibility: hidden; transition: clip-path .7s var(--ease), visibility .7s; }
    .site-nav::before { content: ''; position: absolute; right: -20vw; top: -10vh; width: 80vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); pointer-events: none; }
    .site-nav ul { flex-direction: column; align-self: center; gap: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
    .site-nav li + li { border-top: 1px solid var(--line); }
    .nav-pill { display: none; }
    .site-nav li a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.8rem); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); color: var(--text); padding: .55rem 0; background: none !important; opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; transition-delay: calc(var(--i, 0) * 60ms + 120ms); }
    .site-nav li a.is-active, .site-nav li a[aria-current="page"] { color: var(--accent); }
    .nav-num { display: inline; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
    .nav-actions { display: grid; gap: .6rem; padding-top: 1.5rem; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) .35s, transform .6s var(--ease) .35s; }
    .nav-actions .btn { width: 100%; min-height: 54px; }
    .menu-open .site-nav { clip-path: circle(150% at calc(100% - 2.6rem) 2.2rem); visibility: visible; }
    .menu-open .site-nav li a, .menu-open .nav-actions { opacity: 1; transform: none; }
    .menu-open body { overflow: hidden; }
    .site-brand { position: relative; z-index: 60; }
    .site-nav li a::after { display: none; }
}
@media (max-width: 359px) { .header-cta { display: none; } }

/* Blocks */
.block { padding-block: calc(var(--space) / 2); }
.blocks > .block:first-child { padding-top: clamp(2rem, 5vw, 4rem); }
.blocks > .block:last-child { padding-bottom: var(--space); }
.block-heading + .block-paragraph, .block-heading + .block-services, .block-heading + .block-image { padding-top: 0; }
.block-paragraph .prose { max-width: 68ch; font-size: 1.08em; }
.blocks-article .block-paragraph .prose, .blocks-article .block-heading .wrap { max-width: 720px; }
.blocks-article .block-heading .section-title { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); }

.page-intro { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(1rem, 3vw, 2rem); }
.page-intro h1 { font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.4rem); max-width: 16ch; }
.page-intro .lead { margin-top: 1.4rem; }

/* Hero */
.hero { padding-top: clamp(1.5rem, 5vw, 4rem); }
.hero-inner { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-with-image .hero-inner { grid-template-columns: 1.05fr 1fr; }
.hero-text-only .hero-copy { max-width: 980px; }
.hero-title { font-size: clamp(2.8rem, 1.4rem + 6vw, 6.6rem); }
.hero .lead { margin-top: 1.6rem; }
.hero-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
@media (max-width: 860px) { .hero-with-image .hero-inner { grid-template-columns: 1fr; } .hero-media { aspect-ratio: 4 / 3.4; } }

/* Image */
.figure { margin-inline: auto; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure-normal { --wrap: 940px; }
.figure-full { width: 100%; }
.figure-full img { border-radius: 0; max-height: 88vh; object-fit: cover; }
.figure figcaption { margin-top: .9rem; color: var(--muted); font-size: .92rem; text-align: center; }

/* Text and image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-image-left .split-media { order: -1; }
.split-copy { display: grid; gap: 1.5rem; }
.split-copy .actions { margin-top: .5rem; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; background: var(--surface); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-image-left .split-media { order: 0; } .split-media { aspect-ratio: 4 / 3; } }

/* Services */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { position: relative; display: grid; align-content: start; gap: .8rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); background: var(--surface); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(0, 0, 0, .35); }
.card-index { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.card h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.card p { color: var(--muted); }
.card-price { margin-top: auto; padding-top: .6rem; color: var(--text) !important; font-weight: 600; }

/* Gallery */
.masonry { columns: 3 280px; column-gap: 1rem; margin-top: 2rem; }
.block-gallery .section-title + .masonry { margin-top: 2.5rem; }
.masonry figure { break-inside: avoid; margin: 0 0 1rem; }
.masonry a { display: block; border-radius: var(--radius-small); overflow: hidden; cursor: zoom-in; }
.masonry img { width: 100%; transition: transform 1.1s var(--ease); }
.masonry a:hover img { transform: scale(1.04); }
.masonry figcaption { margin-top: .5rem; font-size: .88rem; color: var(--muted); }
.block-gallery .section-head + .masonry, .block-gallery .section-head + .photo-grid { margin-top: 0; }
.photo-grid { display: grid; gap: clamp(.5rem, 1.2vw, 1rem); margin-top: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.photo-grid-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; aspect-ratio: 1; border-radius: var(--radius-small); overflow: hidden; cursor: zoom-in; }
.photo-grid-wide a { aspect-ratio: 3 / 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid figcaption { margin-top: .5rem; font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .photo-grid:not(.photo-grid-wide) { grid-template-columns: 1fr 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 4rem 1rem; background: rgba(10, 10, 12, .94); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(100%, 1400px); max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-open body { overflow: hidden; }

/* Testimonials */
.quotes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 2.5rem; }
.quote { margin: 0; display: grid; gap: 1.6rem; align-content: space-between; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.quote figcaption { display: grid; gap: .1rem; font-size: .92rem; }
.quote figcaption span { color: var(--muted); }

/* FAQ */
.faq-list { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); font-weight: 400; transition: transform .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .prose { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* Call to action */
.cta-panel { display: grid; justify-items: center; gap: 1.2rem; text-align: center; padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem); border-radius: calc(var(--radius) * 1.6); background: var(--accent); color: var(--on-accent); }
.cta-panel h2 { font-size: clamp(2rem, 1.3rem + 3vw, 4rem); max-width: 18ch; }
.cta-panel .lead { color: inherit; opacity: .8; margin-inline: auto; }
.cta-panel .actions { margin-top: .8rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy { display: grid; gap: 1.4rem; }
.contact-list { display: grid; gap: 1.2rem; margin: .6rem 0 0; }
.contact-list div { display: grid; gap: .2rem; }
.contact-list dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1.1rem; }
.contact-list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.map { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 2rem; text-align: center; color: var(--muted); font-size: .92rem; }
.map-consent a { font-size: .88rem; }
.contact-with-form .map { aspect-ratio: 16 / 10; margin-top: .6rem; }
.contact-form-wrap { scroll-margin-top: calc(var(--header-h) + 1rem); }
.contact-form { display: grid; gap: .9rem; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-form h3 { margin: 0 0 .3rem; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.35rem; letter-spacing: -.01em; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .86rem; font-weight: 600; }
.contact-form label :is(small, .contact-consent span) { color: var(--muted); font-weight: 400; font-size: inherit; }
.contact-consent span { color: var(--muted); }
.contact-form :is(input[type=text], input[type=email], input[type=tel], textarea) { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form :is(input, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.contact-form [aria-invalid="true"] { border-color: #c0392b; }
.contact-consent { display: flex !important; gap: .6rem !important; align-items: flex-start; font-weight: 400 !important; color: var(--muted); line-height: 1.45; }
.contact-consent input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .1rem; accent-color: var(--accent); }
.contact-form .btn { justify-self: start; }
.contact-error, .contact-field-error { margin: -.4rem 0 0; color: #c0392b; font-size: .85rem; font-weight: 600; }
.contact-error { margin: 0; }
[data-scheme="dark"] :is(.contact-error, .contact-field-error) { color: #ff8a80; }
.contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-sent { display: grid; justify-items: start; gap: .6rem; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-sent svg { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-sent strong { font-family: var(--font-display); font-size: 1.4rem; }
.contact-sent p { margin: 0; color: var(--muted); }
/* Bookings (One Plus) */
.booking { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.booking-form-wrap { scroll-margin-top: calc(var(--header-h) + 1rem); }
.booking-steps { display: grid; gap: .7rem; margin: 1.6rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.booking-steps li { display: flex; gap: .8rem; align-items: center; color: var(--muted); counter-increment: step; }
.booking-steps li::before { content: counter(step); display: grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border: 1px solid var(--line); border-radius: 50%; color: var(--text); font-size: .85rem; font-weight: 600; }
.contact-form select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; font-weight: 400; }
.contact-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
@media (max-width: 860px) { .contact, .booking { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-row { grid-template-columns: 1fr; } }

/* Blog */
.blog-list { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); padding-bottom: var(--space); }
.post-card a { display: grid; gap: .7rem; height: 100%; text-decoration: none; padding-bottom: 1rem; }
.post-cover { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: .6rem; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card a:hover img { transform: scale(1.04); }
.post-card time { color: var(--muted); font-size: .88rem; }
.post-card h2 { font-size: 1.6rem; }
.post-card p { color: var(--muted); }
.post-more { font-weight: 600; font-size: .94rem; }
.pager { display: flex; justify-content: center; gap: .75rem; padding-bottom: var(--space); }

/* Placeholder and 404 */
.placeholder { min-height: 70vh; display: grid; align-items: center; padding-block: var(--space); }
.placeholder h1 { font-size: clamp(2.6rem, 1.6rem + 5vw, 5.6rem); max-width: 14ch; }
.placeholder .lead { margin-top: 1.4rem; }
.placeholder .btn { margin-top: 2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; color: var(--muted); font-size: .94rem; }
.site-footer-inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; }
.footer-brand strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .4rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; text-align: right; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .84rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--text); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; }
.footer-login { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; transition: background-color .25s, color .25s; }
.footer-login svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-login:hover { background: var(--surface); }
@media (max-width: 700px) { .site-footer-inner { grid-template-columns: 1fr; } .footer-contact { text-align: left; } }

/* Hero decorations: soft colour shapes (light gradients, no heavy blur filters). */
main { overflow-x: clip; }
.hero { position: relative; }
.hero-with-shapes { isolation: isolate; }
.hero-shapes { position: absolute; inset: calc(var(--header-h) * -1) 0 -12% 0; z-index: -1; overflow: hidden; pointer-events: none; translate: var(--px, 0) var(--py, 0); transition: translate 1.2s var(--ease);
    /* Soft edges, so the shapes never show a cut line. */
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; }
.shape { position: absolute; border-radius: 50%; }
.shape-1 { width: min(62vw, 760px); aspect-ratio: 1; right: -14vw; top: -8%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent); }
.shape-2 { width: min(48vw, 560px); aspect-ratio: 1; left: -16vw; top: 38%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, #ffd166 18%), transparent); }
.shape-3 { width: min(30vw, 380px); aspect-ratio: 1; right: 24%; bottom: -6%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, #7cc6fe 16%), transparent); }
.shape-ring { width: clamp(120px, 16vw, 220px); aspect-ratio: 1; right: 9%; top: 14%; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.hero-visual { position: relative; }
.hero-text-only .hero-copy { position: relative; }

/* Device frames (computer and phone) */
.devices { position: relative; transform: perspective(1800px) rotateX(calc(var(--tilt, 0) * 24deg)) scale(calc(1 - var(--tilt, 0) * .07)); transform-origin: 50% 90%; }
.devices-both { padding: 0 9% 7% 0; }
.device-browser { border-radius: 14px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 9%, transparent), 0 60px 120px -50px rgba(0, 0, 0, .45), 0 24px 40px -30px rgba(0, 0, 0, .3); }
.device-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex-shrink: 0; }
.device-bar i:nth-child(2) { background: #febc2e; }
.device-bar i:nth-child(3) { background: #28c840; }
.device-url { flex: 0 1 auto; min-width: 0; margin: 0 auto; padding: 2px 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 7px; background: var(--bg); color: var(--muted); font-size: .7rem; translate: -16px 0; }
.device-screen { position: relative; container-type: inline-size; background: var(--bg); }
.device-browser .device-screen { aspect-ratio: 16 / 10; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-phone { width: min(56%, 260px); aspect-ratio: 9 / 19; padding: 7px; border-radius: 36px; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 50px 90px -40px rgba(0, 0, 0, .55); position: relative; }
.device-phone::before { content: ''; position: absolute; top: 14px; left: 50%; z-index: 2; width: 26%; height: 14px; translate: -50% 0; border-radius: 99px; background: #111; }
.device-phone .device-screen { height: 100%; border-radius: 29px; overflow: hidden; }
.devices-both .device-phone { position: absolute; right: 0; bottom: 0; width: 23%; padding: 5px; border-radius: 26px; }
.devices-both .device-phone .device-screen { border-radius: 21px; }
.devices-both .device-phone::before { top: 10px; height: 9px; }
.devices-phone { display: grid; justify-items: center; }

/* The animated illustration: a small site that builds itself. Sizes follow the screen width. */
.illo { --u: 1cqw; --c: var(--accent); position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; align-content: start; gap: calc(var(--u) * 5); padding: calc(var(--u) * 4) calc(var(--u) * 6) calc(var(--u) * 5); overflow: hidden; background: var(--bg); }
.illo-compact { --u: 2.6cqw; grid-template-rows: auto auto auto; padding-top: calc(var(--u) * 9); }
.illo-nav { display: flex; align-items: center; justify-content: space-between; }
.illo-logo { width: calc(var(--u) * 12); height: calc(var(--u) * 3); border-radius: calc(var(--u) * 1); background: var(--text); }
.illo-links { display: flex; gap: calc(var(--u) * 2.5); }
.illo-links i { width: calc(var(--u) * 7); height: calc(var(--u) * 1.6); border-radius: 99px; background: var(--line); }
.illo-compact .illo-links i { width: calc(var(--u) * 5); height: calc(var(--u) * .9); }
.illo-compact .illo-links { flex-direction: column; gap: calc(var(--u) * 1); }
.illo-compact .illo-links i:nth-child(3) { display: none; }
.illo-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: calc(var(--u) * 5); align-items: center; }
.illo-compact .illo-hero { grid-template-columns: 1fr; }
.illo-copy { display: grid; gap: calc(var(--u) * 2); justify-items: start; }
.illo-line { height: calc(var(--u) * 3.6); width: 92%; border-radius: calc(var(--u) * 1.5); background: var(--text); transform-origin: left center; }
.illo-l2 { width: 68%; }
.illo-l3 { height: calc(var(--u) * 1.8); width: 84%; background: var(--line); margin-top: calc(var(--u) * 1); }
.illo-btn { width: 34%; height: calc(var(--u) * 5.5); margin-top: calc(var(--u) * 1.5); border-radius: 99px; background: var(--c); }
.illo-pic { position: relative; aspect-ratio: 4 / 3.3; border-radius: calc(var(--u) * 3); overflow: hidden; background: color-mix(in srgb, var(--c) 16%, var(--bg)); }
.illo-compact .illo-pic { order: -1; aspect-ratio: 4 / 3; }
.illo-sun { position: absolute; top: 16%; right: 18%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #ffc94d; }
.illo-hill { position: absolute; bottom: -2%; border-radius: 50% 50% 0 0; }
.illo-h1 { left: -12%; width: 82%; height: 58%; background: color-mix(in srgb, var(--c) 45%, var(--bg)); }
.illo-h2 { right: -18%; width: 92%; height: 42%; background: var(--c); }
.illo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 3); }
.illo-compact .illo-cards { grid-template-columns: 1fr 1fr; }
.illo-compact .illo-cards span:nth-child(3) { display: none; }
.illo-cards span { height: calc(var(--u) * 12); border-radius: calc(var(--u) * 2.5); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.illo-cards span:first-child { background: color-mix(in srgb, var(--c) 14%, var(--bg)); box-shadow: none; }
.illo-cursor { position: absolute; left: 20%; top: 64%; width: calc(var(--u) * 3.4); aspect-ratio: 3 / 4; background: var(--text); clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 58% 93%, 41% 55%, 74% 55%); opacity: 0; }

/* Features with icons */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature { position: relative; display: grid; align-content: start; gap: .7rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 30px 60px -38px color-mix(in srgb, var(--accent) 60%, transparent); }
.feature h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
.feature p { color: var(--muted); }
.feature-icon, .card-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: .4rem; border-radius: 16px; background: color-mix(in srgb, var(--accent) 13%, var(--bg)); color: var(--accent); transition: transform .6s var(--ease); }
.feature:hover .feature-icon, .card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.icon { width: 28px; height: 28px; overflow: visible; }

/* Pointer light on cards */
[data-spotlight] { isolation: isolate; }
[data-spotlight]::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, currentColor 8%, transparent), transparent 62%); opacity: 0; transition: opacity .4s; pointer-events: none; }
[data-spotlight]:hover::before { opacity: 1; }

/* Numbers */
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.stat { display: grid; gap: .6rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.stat-value { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(3rem, 2rem + 4vw, 5.6rem); letter-spacing: -.045em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-label { color: var(--muted); max-width: 26ch; }

/* Scrolling words */
.block-marquee { padding-block: calc(var(--space) / 4); }
.marquee { overflow: hidden; padding-block: clamp(1rem, 2.4vw, 1.6rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-accent { background: var(--accent); color: var(--on-accent); -webkit-mask-image: none; mask-image: none; width: 104%; margin-left: -2%; rotate: -1.6deg; }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-item { display: flex; align-items: center; padding-right: .7em; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.4rem); line-height: 1.15; white-space: nowrap; }
.marquee-item::after { content: ''; width: .42em; aspect-ratio: 1; margin-left: .7em; background: var(--accent); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.marquee-accent .marquee-item::after { background: currentColor; }

/* Showcase */
.showcase-head { justify-items: center; text-align: center; }
.showcase-head .lead { margin-inline: auto; }
.showcase-head .actions { margin-top: .6rem; }
.showcase-stage { max-width: 1060px; margin-inline: auto; }
.hero-with-illustration .hero-visual { padding-top: 1rem; }

/* Animated composition (hero): floating interface pieces. Sizes follow its width. */
.hero-with-collage .hero-inner { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 860px) { .hero-with-collage .hero-inner { grid-template-columns: 1fr; } }
.collage { --c: var(--accent); --px: 0; --py: 0; --sy: 0; position: relative; width: min(100%, 580px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.collage > * { position: absolute; translate: calc(var(--px) * var(--z, 1) * 9px) calc(var(--py) * var(--z, 1) * 9px + var(--sy) * var(--z, 1) * -16px); transition: translate .9s var(--ease); }
.cl-blob { inset: 13% 11% 11% 13%; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent) 70%); opacity: .9; }
.cl-orbit { inset: 2%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--accent) 40%, transparent); }
.cl-orbit i { position: absolute; top: -1.2cqw; left: 50%; width: 2.4cqw; aspect-ratio: 1; border-radius: 50%; background: var(--text); }
.cl-card { display: grid; gap: 1.8cqw; padding: 3cqw; border-radius: 4.4cqw; background: var(--bg); box-shadow: 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .04); }
.cl-photo { left: 21%; top: 17%; width: 52%; rotate: -5deg; }
.cl-pic { position: relative; display: block; aspect-ratio: 4 / 3.1; border-radius: 2.6cqw; overflow: hidden; background: color-mix(in srgb, var(--c) 16%, var(--bg)); }
.cl-line { display: block; height: 2.2cqw; width: 86%; border-radius: 99px; background: var(--line); }
.cl-short { width: 54%; }
.cl-review { right: 1%; top: 7%; width: 40%; rotate: 5deg; }
.cl-stars { display: flex; gap: .7cqw; }
.cl-stars svg { width: 5.4cqw; height: 5.4cqw; fill: #f5b301; }
.cl-chart { left: 1%; bottom: 13%; width: 40%; rotate: 4deg; }
.cl-bars { display: flex; align-items: flex-end; gap: 1.4cqw; height: 18cqw; }
.cl-bars i { flex: 1; height: var(--h); border-radius: 1cqw 1cqw .4cqw .4cqw; background: color-mix(in srgb, var(--c) 32%, var(--bg)); transform-origin: bottom; }
.cl-bars i:last-child { background: var(--c); }
.cl-toast { right: 3%; bottom: 21%; width: 47%; grid-template-columns: auto 1fr; align-items: center; gap: 2.4cqw; padding: 2.4cqw 3.4cqw 2.4cqw 2.4cqw; border-radius: 7cqw; rotate: -3deg; }
.cl-avatar { width: 8.5cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 50%, #ffd166), var(--accent)); }
.cl-toast-lines { display: grid; gap: 1.3cqw; }
.cl-ping { position: absolute; top: -.8cqw; right: 3cqw; width: 3.6cqw; aspect-ratio: 1; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 .8cqw var(--bg); }
.cl-pill { left: 40%; bottom: 3%; width: 27%; height: 9.5cqw; display: grid; place-items: center; border-radius: 99px; background: var(--text); box-shadow: 0 3cqw 6cqw -3cqw rgba(0, 0, 0, .4); }
.cl-pill span { width: 52%; height: 1.9cqw; border-radius: 99px; background: var(--bg); opacity: .85; }
.cl-cursor { left: 60%; bottom: 1%; width: 5cqw; aspect-ratio: 3 / 4; background: var(--text); clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 58% 93%, 41% 55%, 74% 55%); }
.collage .illo-sun, .scene .illo-sun { position: absolute; top: 16%; right: 18%; width: 22%; aspect-ratio: 1; border-radius: 50%; }

/* Illustrated steps: each one a small looping scene. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.step { display: grid; align-content: start; gap: .7rem; }
.step-number { margin-top: .7rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.step h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
.step p { color: var(--muted); }
.scene { --c: var(--accent); position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 11%, var(--surface)); container-type: inline-size; }
.sc-card { position: absolute; background: var(--bg); border-radius: 4cqw; box-shadow: 0 4cqw 9cqw -4cqw rgba(0, 0, 0, .3); }
.scene .sc-l { display: block; height: 2.8cqw; width: 80%; border-radius: 99px; background: var(--line); }
.scene .sc-s { width: 50%; }
.scene .sc-btn { display: block; height: 8cqw; width: 36%; border-radius: 99px; background: var(--c); }
.sc-cursor { position: absolute; left: 44%; top: 84%; width: 5cqw; aspect-ratio: 3 / 4; background: var(--text); clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 58% 93%, 41% 55%, 74% 55%); }

.sc-form { left: 15%; right: 15%; top: 12%; display: grid; gap: 2.4cqw; padding: 6cqw; }
.sc-label { display: block; height: 2.4cqw; width: 34%; border-radius: 99px; background: var(--text); opacity: .75; }
.sc-input { display: flex; align-items: center; height: 9cqw; padding: 0 3cqw; border-radius: 2.4cqw; box-shadow: inset 0 0 0 1px var(--line); }
.sc-typed { display: block; height: 2.6cqw; width: 64%; border-radius: 99px; background: color-mix(in srgb, var(--text) 55%, transparent); }
.sc-typed-2 { width: 46%; }
.sc-caret { width: .5cqw; height: 5cqw; margin-left: .8cqw; background: var(--c); }
.sc-form .sc-btn { margin-top: 1.4cqw; }

.sc-mini { left: 10%; top: 12%; width: 60%; display: grid; gap: 2.4cqw; padding: 4.5cqw; }
.sc-top { display: block; height: 3cqw; width: 30%; border-radius: 99px; background: var(--text); }
.sc-hero { display: block; height: 22cqw; border-radius: 3cqw; background: var(--c); }
.sc-mini .sc-btn { width: 40%; height: 6.5cqw; }
.sc-swatches { position: absolute; right: 9%; top: 14%; display: grid; gap: 3cqw; padding: 3cqw; border-radius: 99px; background: var(--bg); box-shadow: 0 4cqw 9cqw -4cqw rgba(0, 0, 0, .3); }
.sc-swatches i { display: block; width: 8cqw; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.sc-swatches i:nth-child(2) { background: #f59e0b; }
.sc-swatches i:nth-child(3) { background: #0f766e; }
.sc-swatches i:nth-child(4) { background: #7c3aed; }
.sc-ring { position: absolute; left: 1.6cqw; top: 1.6cqw; width: 10.8cqw; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 .7cqw var(--text); }

.sc-browser { left: 11%; right: 11%; top: 14%; display: grid; gap: 3cqw; padding-bottom: 5cqw; overflow: hidden; }
.sc-bar { display: flex; gap: 1.4cqw; padding: 3cqw 4cqw; background: var(--surface); }
.sc-bar i { width: 2.6cqw; aspect-ratio: 1; border-radius: 50%; background: var(--line); }
.sc-progress { display: block; margin: 0 5cqw; height: 2cqw; overflow: hidden; border-radius: 99px; background: var(--line); }
.sc-progress span { display: block; height: 100%; background: var(--c); transform-origin: left; }
.sc-browser .sc-l { margin: 0 5cqw; }
.sc-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin: 0 5cqw; }
.sc-blocks i { height: 12cqw; border-radius: 2.4cqw; background: color-mix(in srgb, var(--c) 18%, var(--bg)); }
.sc-badge { position: absolute; right: 6%; top: 5%; display: grid; place-items: center; width: 16cqw; aspect-ratio: 1; border-radius: 50%; background: #22c55e; box-shadow: 0 3cqw 6cqw -2cqw rgba(34, 197, 94, .6); }
.sc-badge svg { width: 58%; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sc-confetti { position: absolute; right: calc(6% + 7cqw); top: calc(5% + 6.5cqw); width: 2cqw; height: 3.4cqw; border-radius: 1cqw; background: var(--c); rotate: var(--a); opacity: 0; }
.sc-confetti:nth-of-type(even) { background: #f59e0b; }

.sc-phone { position: absolute; left: 50%; top: 9%; width: 36%; height: 110%; translate: -50% 0; padding: 1.8cqw; border-radius: 6.5cqw; background: #111; overflow: hidden; box-shadow: 0 5cqw 10cqw -4cqw rgba(0, 0, 0, .45); }
.sc-feed { height: 100%; overflow: hidden; border-radius: 4.8cqw; background: var(--bg); }
.sc-half { display: grid; gap: 2.2cqw; padding: 3cqw 3cqw 0; }
.sc-post { position: relative; display: block; height: 16cqw; border-radius: 2.4cqw; background: color-mix(in srgb, var(--c) 20%, var(--bg)); }
.sc-post i { position: absolute; left: 2cqw; bottom: 2cqw; width: 5cqw; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.sc-post-b { background: var(--surface); }
.sc-phone .sc-l { height: 1.8cqw; }

.sc-chat { position: absolute; inset: 10% 13%; display: flex; flex-direction: column; justify-content: flex-end; gap: 3cqw; }
.sc-msg { display: block; height: 10cqw; border-radius: 5cqw; }
.sc-in { width: 62%; background: var(--bg); border-bottom-left-radius: 1.2cqw; box-shadow: 0 2cqw 5cqw -3cqw rgba(0, 0, 0, .3); }
.sc-out { align-self: flex-end; width: 50%; background: var(--c); border-bottom-right-radius: 1.2cqw; }
.sc-msg-2 { width: 44%; }
.sc-typing { display: flex; gap: 1.2cqw; align-self: flex-start; padding: 3.2cqw 4cqw; border-radius: 5cqw; background: var(--bg); }
.sc-typing i { width: 2.2cqw; aspect-ratio: 1; border-radius: 50%; background: var(--muted); }

.sc-graph { inset: 14% 12%; }
.sc-gbars { position: absolute; inset: 5cqw; display: flex; align-items: flex-end; gap: 2.4cqw; }
.sc-gbars i { flex: 1; height: var(--h); border-radius: 1.4cqw 1.4cqw .5cqw .5cqw; background: color-mix(in srgb, var(--c) 26%, var(--bg)); transform-origin: bottom; }
.sc-gbars i:last-child { background: var(--c); }
.sc-trend { position: absolute; inset: 5cqw; width: calc(100% - 10cqw); height: calc(100% - 10cqw); overflow: visible; }
.sc-trend path { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.sc-stack { position: absolute; inset: 15% 22%; }
.sc-photo { position: absolute; inset: 0; overflow: hidden; border: 2cqw solid var(--bg); border-radius: 3cqw; box-shadow: 0 4cqw 9cqw -4cqw rgba(0, 0, 0, .35); }
.sc-p1 { background: color-mix(in srgb, var(--c) 16%, var(--bg)); }
.sc-p2 { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 40%, #ffd166), var(--c)); rotate: 7deg; }
.sc-p3 { background: linear-gradient(135deg, #1d1d1f, color-mix(in srgb, var(--c) 45%, #1d1d1f)); rotate: -8deg; }
.collage .illo-sun, .sc-p1 .illo-sun { background: #ffc94d; }

/* Call to action: soft blurred colours moving in the background, the panel grows as it arrives. */
.cta-panel { position: relative; overflow: hidden; isolation: isolate; scale: calc(.93 + var(--g, 1) * .07); }
.cta-orbits { position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(clamp(32px, 6vw, 64px)); }
.cta-orbits i { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; will-change: transform; }
.cta-orbits i:nth-child(1) { left: -18%; top: -35%; background: color-mix(in srgb, var(--on-accent) 30%, var(--accent)); opacity: .7; }
.cta-orbits i:nth-child(2) { right: -20%; bottom: -40%; width: 70%; background: color-mix(in srgb, var(--accent), #000 30%); opacity: .75; }
.cta-orbits i:nth-child(3) { left: 38%; top: 20%; width: 42%; background: color-mix(in srgb, var(--accent), #fff 25%); background: oklch(from var(--accent) calc(l + .06) c calc(h + 50)); opacity: .6; }

/* Motion: only with JavaScript and when the visitor has not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease) calc(var(--i, 0) * 90ms), transform 1.1s var(--ease) calc(var(--i, 0) * 90ms); }
    .js [data-reveal].is-visible { opacity: 1; transform: none; }
    .js [data-reveal="image"] { opacity: 1; transform: none; clip-path: inset(14% 6% 0 6% round var(--radius)); transition: clip-path 1.4s var(--ease) calc(var(--i, 0) * 90ms); }
    .js [data-reveal="image"].is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
    .js .figure-full[data-reveal="image"] { clip-path: inset(0 6% 0 6%); }
    .js .figure-full[data-reveal="image"].is-visible { clip-path: inset(0); }
    .js [data-split][data-reveal] { opacity: 1; transform: none; }
    .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
    .word > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease) calc(var(--w) * 70ms + 80ms); }
    .is-visible .word > span { transform: none; }
    .hero-media img, .split-media img { transition: transform .2s linear; }
    /* Hero shapes drift slowly. */
    .shape-1 { animation: drift-a 19s ease-in-out infinite alternate; }
    .shape-2 { animation: drift-b 23s ease-in-out infinite alternate; }
    .shape-3 { animation: drift-a 17s ease-in-out -6s infinite alternate-reverse; }
    .shape-ring { animation: spin 48s linear infinite; }
    @keyframes drift-a { to { transform: translate3d(-8%, 10%, 0) scale(1.12); } }
    @keyframes drift-b { to { transform: translate3d(12%, -8%, 0) scale(.92); } }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Icons draw themselves when they appear. */
    .js [data-reveal] .icon path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 1.3s var(--ease), opacity .3s; transition-delay: calc(var(--i, 0) * 90ms + 300ms + var(--d, 0) * 110ms); }
    .js .is-visible .icon path { stroke-dashoffset: 0; opacity: 1; }

    /* Scrolling words. */
    .marquee-track { animation: marquee var(--dur, 40s) linear infinite; }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    @keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

    /* The illustration builds itself, then starts again. */
    .illo .illo-nav, .illo .illo-pic, .illo .illo-cards span, .illo .illo-btn { animation: illo-pop 11s var(--ease) infinite both; }
    .illo .illo-line { animation: illo-grow 11s var(--ease) infinite both; }
    .illo .illo-sun { animation: illo-sun 11s var(--ease) infinite both; }
    .illo .illo-hill { animation: illo-rise 11s var(--ease) infinite both; }
    .illo .illo-cursor { animation: illo-cursor 11s var(--ease) infinite both; }
    .illo .illo-btn { animation: illo-pop 11s var(--ease) 1.2s infinite both, illo-click 11s ease-out infinite; }
    .illo .illo-nav { animation-delay: .1s; }
    .illo .illo-pic { animation-delay: .4s; }
    .illo .illo-sun { animation-delay: .9s; }
    .illo .illo-h1 { animation-delay: .6s; }
    .illo .illo-h2 { animation-delay: .75s; }
    .illo .illo-l1 { animation-delay: .5s; }
    .illo .illo-l2 { animation-delay: .7s; }
    .illo .illo-l3 { animation-delay: .9s; }
    .illo .illo-cards span:nth-child(1) { animation-delay: 1.5s; }
    .illo .illo-cards span:nth-child(2) { animation-delay: 1.65s; }
    .illo .illo-cards span:nth-child(3) { animation-delay: 1.8s; }
    /* Composition: pieces pop in, then float; the blob changes shape. */
    .cl-blob { animation: blob 14s ease-in-out infinite alternate; }
    .cl-orbit { animation: spin 28s linear infinite; }
    .cl-card, .cl-pill { animation: float 5.5s ease-in-out infinite alternate; animation-delay: calc(var(--k, 0) * -1.4s); }
    .cl-cursor { animation: cl-cursor 7s var(--ease) infinite; }
    .cl-bars i { animation: bar 5s var(--ease) infinite; animation-delay: calc(var(--b) * .1s); }
    .cl-stars svg { animation: star 5s var(--ease) infinite; animation-delay: calc(var(--s) * .1s); }
    .cl-ping { animation: ping 2.4s ease-out infinite; }
    .js .collage > .cl-card, .js .collage > .cl-pill { opacity: 0; scale: .6; transition: opacity .7s var(--ease) calc(var(--k) * 130ms + 250ms), scale 1s cubic-bezier(.3, 1.6, .5, 1) calc(var(--k) * 130ms + 250ms), translate .9s var(--ease); }
    .js .collage > .cl-blob { opacity: 0; scale: .3; transition: opacity 1s var(--ease), scale 1.6s var(--ease), translate .9s var(--ease); }
    .js .is-visible .collage > .cl-card, .js .is-visible .collage > .cl-pill { opacity: 1; scale: 1; }
    .js .is-visible .collage > .cl-blob { opacity: .9; scale: 1; }
    @keyframes blob { 50% { border-radius: 58% 42% 38% 62% / 55% 38% 62% 45%; } 100% { border-radius: 37% 63% 51% 49% / 37% 65% 35% 63%; transform: rotate(28deg) scale(1.05); } }
    @keyframes float { to { transform: translateY(-5%); } }
    @keyframes cl-cursor { 0%, 100% { transform: translate(6cqw, 4cqw); } 35%, 50% { transform: translate(-6cqw, -6cqw); } 42% { transform: translate(-6cqw, -6cqw) scale(.8); } 75% { transform: translate(10cqw, -2cqw); } }
    @keyframes bar { 0% { transform: scaleY(.15); } 30%, 80% { transform: none; } 100% { transform: scaleY(.15); } }
    @keyframes star { 0%, 6% { transform: scale(0) rotate(-60deg); } 16%, 86% { transform: none; } 100% { transform: scale(0); } }
    @keyframes ping { 0% { box-shadow: 0 0 0 .8cqw var(--bg), 0 0 0 .8cqw rgba(255, 59, 48, .5); } 70%, 100% { box-shadow: 0 0 0 .8cqw var(--bg), 0 0 0 4.5cqw rgba(255, 59, 48, 0); } }

    /* Scenes of the illustrated steps: they play only when visible. */
    .js .scene * { animation-play-state: paused !important; }
    .js .is-visible .scene * { animation-play-state: running !important; }
    .sc-typed { animation: sc-type 7s steps(14) infinite; }
    .sc-typed-2 { animation-name: sc-type2; }
    .sc-caret { animation: blink 1s steps(1) infinite; }
    .sc-form .sc-btn { animation: sc-click 7s ease-out infinite; }
    .scene-write .sc-cursor { animation: sc-cursor 7s var(--ease) infinite; }
    @keyframes sc-type { 0%, 6% { width: 0; } 34%, 92% { width: 64%; } 100% { width: 0; } }
    @keyframes sc-type2 { 0%, 38% { width: 0; } 60%, 92% { width: 46%; } 100% { width: 0; } }
    @keyframes blink { 50% { opacity: 0; } }
    @keyframes sc-click { 0%, 71% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent); } 73% { filter: brightness(1.15); } 86%, 100% { box-shadow: 0 0 0 4cqw transparent; filter: none; } }
    @keyframes sc-cursor { 0%, 55% { opacity: 0; transform: translate(6cqw, 4cqw); } 60% { opacity: 1; } 69% { transform: translate(-10cqw, -14cqw); } 72% { transform: translate(-10cqw, -14cqw) scale(.8); } 75%, 92% { opacity: 1; transform: translate(-10cqw, -14cqw); } 100% { opacity: 0; transform: translate(-10cqw, -14cqw); } }

    .sc-hero, .sc-mini .sc-btn { animation: sc-colors 8s var(--ease) infinite; }
    .sc-ring { animation: sc-ring 8s var(--ease) infinite; }
    @keyframes sc-colors { 0%, 22% { background: var(--c); } 25%, 47% { background: #f59e0b; } 50%, 72% { background: #0f766e; } 75%, 97% { background: #7c3aed; } 100% { background: var(--c); } }
    @keyframes sc-ring { 0%, 22% { transform: none; } 25%, 47% { transform: translateY(11cqw); } 50%, 72% { transform: translateY(22cqw); } 75%, 97% { transform: translateY(33cqw); } 100% { transform: none; } }

    .sc-progress span { animation: sc-progress 6s var(--ease) infinite; }
    .sc-browser .sc-l, .sc-blocks i { animation: sc-appear 6s var(--ease) infinite; }
    .sc-badge { animation: sc-badge 6s cubic-bezier(.3, 1.6, .5, 1) infinite; }
    .sc-confetti { animation: sc-confetti 6s var(--ease) infinite; }
    @keyframes sc-progress { 0% { transform: scaleX(0); } 42%, 94% { transform: none; } 100% { transform: none; opacity: 0; } }
    @keyframes sc-appear { 0%, 38% { opacity: 0; transform: translateY(3cqw); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
    @keyframes sc-badge { 0%, 44% { transform: scale(0) rotate(-90deg); } 54%, 92% { transform: none; } 100% { transform: scale(0); } }
    @keyframes sc-confetti { 0%, 47% { opacity: 0; transform: none; } 52% { opacity: 1; } 72%, 100% { opacity: 0; transform: translateY(-15cqw) scale(.6); } }

    .sc-feed > * { animation: sc-scroll 9s linear infinite; }
    @keyframes sc-scroll { to { transform: translateY(-100%); } }

    .sc-chat > * { animation: sc-pop 8s cubic-bezier(.3, 1.4, .5, 1) infinite; transform-origin: left bottom; }
    .sc-chat .sc-out { transform-origin: right bottom; animation-delay: 1.4s; }
    .sc-chat .sc-typing { animation-name: sc-typing-box; animation-delay: 2.8s; }
    .sc-chat .sc-msg-2 { animation-delay: 0s; animation-name: sc-pop-late; }
    .sc-typing i { animation: dots 1s ease-in-out infinite; }
    .sc-typing i:nth-child(2) { animation-delay: .15s; }
    .sc-typing i:nth-child(3) { animation-delay: .3s; }
    @keyframes sc-pop { 0% { opacity: 0; transform: scale(.4); } 6%, 85% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
    @keyframes sc-typing-box { 0% { opacity: 0; transform: scale(.4); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: scale(.6); } }
    @keyframes sc-pop-late { 0%, 58% { opacity: 0; transform: scale(.4); } 64%, 85% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
    @keyframes dots { 50% { transform: translateY(-1.2cqw); opacity: .5; } }

    .sc-gbars i { animation: bar 6s var(--ease) infinite; animation-delay: calc(var(--b) * .12s); }
    .sc-trend path { stroke-dasharray: 1; animation: sc-draw 6s var(--ease) infinite; }
    @keyframes sc-draw { 0%, 22% { stroke-dashoffset: 1; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

    .sc-p1 { animation: sc-swipe 6s var(--ease) infinite; }
    .sc-p2 { animation: sc-settle 6s var(--ease) infinite; }
    @keyframes sc-swipe { 0%, 40% { transform: none; opacity: 1; } 58% { transform: translate(75%, -8%) rotate(18deg); opacity: 0; } 70% { transform: scale(.85); opacity: 0; } 86%, 100% { transform: none; opacity: 1; } }
    @keyframes sc-settle { 0%, 45% { rotate: 7deg; } 60%, 76% { rotate: 0deg; } 90%, 100% { rotate: 7deg; } }

    /* Call to action: soft moving colours. */
    .cta-orbits i { animation: cta-a 14s ease-in-out infinite alternate; }
    .cta-orbits i:nth-child(2) { animation-name: cta-b; animation-duration: 17s; }
    .cta-orbits i:nth-child(3) { animation-name: cta-c; animation-duration: 11s; }
    @keyframes cta-a { to { transform: translate(45%, 30%) scale(1.25); } }
    @keyframes cta-b { to { transform: translate(-40%, -30%) scale(.85); } }
    @keyframes cta-c { 0% { transform: translate(-60%, 10%) scale(.9); } 50% { transform: translate(10%, -35%) scale(1.2); } 100% { transform: translate(-20%, 30%) scale(1); } }
    .js .illo * { animation-play-state: paused; }
    .js .is-visible .illo * { animation-play-state: running; }
    @keyframes illo-pop { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 7%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-6px); } }
    @keyframes illo-grow { 0% { opacity: 1; transform: scaleX(0); } 8%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
    @keyframes illo-sun { 0% { opacity: 0; transform: translateY(90%) scale(.5); } 9%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
    @keyframes illo-rise { 0% { transform: translateY(105%); } 8%, 88% { transform: none; opacity: 1; } 96%, 100% { opacity: 0; } }
    @keyframes illo-cursor {
        0%, 18% { opacity: 0; left: 78%; top: 96%; transform: none; }
        24% { opacity: 1; left: 72%; top: 88%; }
        34% { left: 20%; top: 64%; transform: none; }
        36% { transform: scale(.8); }
        39% { transform: none; }
        58% { left: 20%; top: 64%; }
        70% { left: 46%; top: 88%; opacity: 1; }
        80%, 100% { left: 46%; top: 88%; opacity: 0; }
    }
    @keyframes illo-click { 0%, 35% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); } 37% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); filter: brightness(1.15); } 46%, 100% { box-shadow: 0 0 0 calc(var(--u) * 2.4) transparent; filter: none; } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hero-media img, .split-media img { transform: none; }
    .illo *, .shape, .scene *, .collage *, .cta-orbits * { animation: none !important; }
    .marquee-group + .marquee-group { display: none; }
    .marquee-track { width: auto; }
    .marquee-repeat { display: none; }
    .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: .4rem; }
}

/* Price cards («Pacchetti con prezzi»): each with an illustration that grows with the package. */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.plans { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2rem); border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 2px solid transparent; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .4); }
.plan-featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--spin), var(--accent), #ffc94d, color-mix(in srgb, var(--accent) 40%, #7c3aed), var(--accent)) border-box; box-shadow: 0 30px 70px -45px var(--accent); }
.plan-badge { position: absolute; z-index: 2; top: 0; left: 50%; translate: -50% -50%; padding: .35rem .9rem; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: .78rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 10px 24px -10px var(--accent); }
.plan-name { margin-top: .5rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.plan-text { margin: 0; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 0; }
.plan-price strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); letter-spacing: -.045em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan-note { margin: -.2rem 0 0; font-size: .92rem; color: var(--muted); }
.plan-features { list-style: none; margin: .4rem 0 .6rem; padding: .9rem 0 0; display: grid; gap: .55rem; border-top: 1px solid var(--line); }
.plan-features li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.4; }
.plan-features svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .05rem; padding: .15rem; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan-btn { margin-top: auto; width: 100%; }
.plans-trial { display: inline-flex; width: fit-content; max-width: 100%; justify-self: start; align-items: center; gap: .6rem; margin: 1.2rem 0 0; padding: .6rem 1.1rem .6rem .8rem; border-radius: 99px; background: color-mix(in srgb, var(--accent) 11%, var(--bg)); color: var(--text); font-size: .95rem; line-height: 1.4; text-align: left; }
.plans-trial svg, .plan-trial svg { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plans-trial strong { color: var(--accent); }
.plan-trial { display: flex; align-items: center; gap: .5rem; margin: auto 0 -.3rem; padding-top: .6rem; color: var(--text); font-size: .9rem; font-weight: 600; }
.plan-trial + .plan-btn { margin-top: 0; }
.plan-featured .plan-trial { color: inherit; }
@media (max-width: 560px) { .plans-trial { border-radius: 18px; } }

.pl-scene { --c: var(--accent); position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 110%, color-mix(in srgb, var(--accent) 26%, var(--surface)), color-mix(in srgb, var(--accent) 9%, var(--bg))); container-type: inline-size; }
.pl-scene > * { position: absolute; }
.pl-scene .sc-l { display: block; height: 2cqw; width: 80%; border-radius: 99px; background: var(--line); }
.pl-scene .sc-s { width: 52%; }
.pl-scene .sc-btn { display: block; height: 5.4cqw; width: 34%; border-radius: 99px; background: var(--c); }
.pl-glow { left: 50%; top: 55%; width: 70cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); opacity: .7; }
.pl-domain { left: 50%; bottom: 6%; translate: -50% 0; display: flex; align-items: center; gap: 1.6cqw; padding: 1.6cqw 3.2cqw 1.6cqw 2.2cqw; border-radius: 99px; background: var(--bg); color: var(--text); box-shadow: 0 3cqw 7cqw -3cqw rgba(0, 0, 0, .35); font-size: 3.4cqw; font-weight: 600; white-space: nowrap; }
.pl-domain svg { width: 4.4cqw; height: 4.4cqw; fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pl-url { display: block; overflow: hidden; }
.pl-url span { display: block; }

/* One page: the sections stack up one after the other. */
.pl-page { left: 22%; right: 22%; top: 9%; bottom: 20%; display: flex; flex-direction: column; gap: 2cqw; padding-bottom: 3cqw; border-radius: 3cqw; background: var(--bg); overflow: hidden; box-shadow: 0 5cqw 10cqw -5cqw rgba(0, 0, 0, .4); }
.pl-bar { display: flex; gap: 1cqw; padding: 2cqw 3cqw; background: var(--surface); }
.pl-bar i { width: 1.8cqw; aspect-ratio: 1; border-radius: 50%; background: var(--line); }
.pl-sec { display: block; margin: 0 3.5cqw; }
.pl-hero { position: relative; height: 12cqw; overflow: hidden; border-radius: 2cqw; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #7c3aed)); }
.pl-sun { position: absolute; right: 12%; top: 22%; width: 5cqw; aspect-ratio: 1; border-radius: 50%; background: #ffc94d; }
.pl-lines { display: grid; gap: 1.4cqw; }
.pl-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.pl-tiles i { height: 7cqw; border-radius: 1.6cqw; background: color-mix(in srgb, var(--c) 18%, var(--bg)); }
.pl-cursor { left: 56%; top: 70%; width: 3.6cqw; aspect-ratio: 3 / 4; background: var(--text); clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 58% 93%, 41% 55%, 74% 55%); }

/* More pages: three sheets open like a fan, the domain types itself. */
.pl-fan { inset: 8% 0 22%; }
.pl-sheet { position: absolute; left: 50%; top: 0; width: 34%; height: 100%; margin-left: -17%; display: grid; align-content: start; gap: 1.6cqw; padding: 3cqw; border-radius: 2.6cqw; background: var(--bg); box-shadow: 0 4cqw 9cqw -4cqw rgba(0, 0, 0, .4); transform-origin: 50% 120%; }
.pl-s1 { rotate: -16deg; translate: -40% 4%; }
.pl-s2 { rotate: 16deg; translate: 40% 4%; }
.pl-dot { display: block; width: 7cqw; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--c) 30%, var(--bg)); }
.pl-tabs { display: flex; gap: 1.2cqw; }
.pl-tabs i { flex: 1; height: 1.6cqw; border-radius: 99px; background: var(--line); }
.pl-tabs i:first-child { background: var(--c); }
.pl-post { display: grid; grid-template-columns: 7cqw 1fr; gap: .8cqw 2cqw; align-items: center; }
.pl-post i { grid-row: span 2; height: 7cqw; border-radius: 1.4cqw; background: color-mix(in srgb, var(--c) 24%, var(--bg)); }
.pl-post:nth-child(3) i { background: color-mix(in srgb, #ffc94d 60%, var(--bg)); }
.pl-post .sc-l { width: 100%; height: 1.6cqw; }
.pl-post .sc-s { width: 60%; }

/* Whole site: pages multiply around an infinite sign. */
.pl-grid { inset: 9% 10% 9%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.pl-mini { display: grid; align-content: start; gap: 1.2cqw; padding: 2cqw; border-radius: 2cqw; background: var(--bg); box-shadow: 0 2.4cqw 6cqw -3cqw rgba(0, 0, 0, .35); }
.pl-mini-top { display: block; height: 4cqw; border-radius: 1.2cqw; background: color-mix(in srgb, var(--c) 22%, var(--bg)); }
.pl-mini:nth-child(3n + 2) .pl-mini-top { background: color-mix(in srgb, #ffc94d 55%, var(--bg)); }
.pl-mini .sc-l { height: 1.3cqw; }
.pl-orb { left: 50%; top: 50%; width: 22cqw; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2.4cqw color-mix(in srgb, var(--c) 22%, transparent), 0 5cqw 10cqw -4cqw var(--c); }
.pl-orb svg { width: 68%; fill: none; stroke: var(--on-accent); stroke-width: 2.6; stroke-linecap: round; }
.pl-orbit { left: 50%; top: 50%; width: calc(34cqw + var(--o) * 14cqw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: .3cqw dashed color-mix(in srgb, var(--c) 35%, transparent); }
.pl-orbit i { position: absolute; left: 50%; top: -1.3cqw; width: 2.6cqw; aspect-ratio: 1; margin-left: -1.3cqw; border-radius: 50%; background: #ffc94d; }
.pl-orbit:nth-of-type(even) i { background: var(--c); }

@media (prefers-reduced-motion: no-preference) {
    .plan-featured { animation: plan-spin 6s linear infinite; }
    @keyframes plan-spin { to { --spin: 360deg; } }
    .pl-scene > :not(.pl-glow) { transition: transform .8s var(--ease); }
    .plan:hover .pl-page, .plan:hover .pl-fan, .plan:hover .pl-grid { transform: scale(1.04); }
    .plan:hover .pl-s1 { translate: -52% 2%; }
    .plan:hover .pl-s2 { translate: 52% 2%; }
    .plan-features svg path { stroke-dasharray: 1; }
    .js .plan-features svg path { stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease) calc(var(--f) * 120ms + 400ms); }
    .js .is-visible .plan-features svg path { stroke-dashoffset: 0; }
    .js .plan-features svg path { transition-delay: calc(var(--f) * 120ms + 400ms); }

    .js .pl-scene * { animation-play-state: paused !important; }
    .js .is-visible .pl-scene * { animation-play-state: running !important; }
    .pl-glow { animation: pl-breathe 6s ease-in-out infinite; }
    @keyframes pl-breathe { 50% { scale: 1.15; opacity: 1; } }

    .pl-sec { animation: pl-build 8s var(--ease) infinite; animation-delay: calc(var(--k) * .45s); }
    .pl-sun { animation: pl-sun 8s var(--ease) infinite; }
    .pl-page .sc-btn { animation: sc-click 8s ease-out infinite; }
    .pl-cursor { animation: pl-cursor 8s var(--ease) infinite; }
    .pl-sub .pl-url span, .pl-fan ~ .pl-domain .pl-url span { animation: pl-type 8s steps(16) infinite; }
    @keyframes pl-build { 0%, 4% { opacity: 0; transform: translateY(5cqw) scale(.9); } 12%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-2cqw); } }
    @keyframes pl-sun { 0%, 10% { transform: translateY(10cqw); } 22%, 100% { transform: none; } }
    @keyframes pl-cursor { 0%, 40% { opacity: 0; transform: translate(10cqw, 8cqw); } 46% { opacity: 1; } 56% { transform: translate(-6cqw, -1cqw); } 59% { transform: translate(-6cqw, -1cqw) scale(.8); } 62%, 84% { opacity: 1; transform: translate(-6cqw, -1cqw); } 92%, 100% { opacity: 0; transform: translate(-6cqw, -1cqw); } }
    @keyframes pl-type { 0%, 8% { clip-path: inset(0 100% 0 0); } 40%, 90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }

    .pl-s1 { animation: pl-fan-l 8s var(--ease) infinite; }
    .pl-s2 { animation: pl-fan-r 8s var(--ease) infinite; }
    .pl-s3 { animation: float 3.5s ease-in-out infinite alternate; }
    .pl-tabs i { animation: pl-tab 8s steps(1) infinite; animation-delay: calc(var(--t) * 1.6s); }
    .pl-post { animation: pl-build 8s var(--ease) infinite; animation-delay: calc(var(--k) * .35s + .6s); }
    .pl-fan ~ .pl-domain { animation: pl-domain 8s cubic-bezier(.3, 1.5, .5, 1) infinite; }
    @keyframes pl-fan-l { 0%, 6% { rotate: 0deg; translate: 0 0; } 20%, 88% { rotate: -16deg; translate: -40% 4%; } 100% { rotate: 0deg; translate: 0 0; } }
    @keyframes pl-fan-r { 0%, 6% { rotate: 0deg; translate: 0 0; } 20%, 88% { rotate: 16deg; translate: 40% 4%; } 100% { rotate: 0deg; translate: 0 0; } }
    @keyframes pl-tab { 0% { background: var(--c); } 20%, 100% { background: var(--line); } }
    @keyframes pl-domain { 0%, 14% { opacity: 0; transform: translateY(6cqw) scale(.7); } 22%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(3cqw); } }

    .pl-mini { animation: pl-multiply 8s cubic-bezier(.3, 1.5, .5, 1) infinite; animation-delay: calc(var(--k) * .18s); }
    .pl-orb { animation: pl-orb 8s cubic-bezier(.3, 1.5, .5, 1) infinite; }
    .pl-orb svg path { stroke-dasharray: 1; animation: pl-draw 8s var(--ease) infinite; }
    @keyframes pl-draw { 0%, 10% { stroke-dashoffset: 1; } 40%, 100% { stroke-dashoffset: 0; } }
    .pl-orbit { animation: spin 14s linear infinite; }
    .pl-orbit:nth-of-type(even) { animation-duration: 20s; animation-direction: reverse; }
    @keyframes pl-multiply { 0%, 3% { opacity: 0; transform: scale(.3); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(.8); } }
    @keyframes pl-orb { 0% { scale: 0; } 10%, 90% { scale: 1; } 100% { scale: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .pl-scene *, .plan-featured { animation: none !important; }
}

/* ===== Cover layouts («Copertina»): text in the centre, or over a full-width photo ===== */
.hero-layout-center .hero-inner { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
.hero-layout-center .hero-copy { max-width: 980px; display: grid; justify-items: center; }
.hero-layout-center .lead { margin-inline: auto; }
.hero-layout-center .actions { justify-content: center; }
.hero-layout-center .hero-media { width: 100%; aspect-ratio: 16 / 7.5; }
.hero-layout-center .hero-visual { width: min(100%, 900px); }
.hero-layout-cover { display: grid; align-items: end; min-height: min(82vh, 820px); width: min(100% - 1.5rem, 1600px); margin-inline: auto; border-radius: calc(var(--radius) * 1.4); padding: 6rem 0 clamp(3rem, 7vw, 6rem); color: #fff; isolation: isolate; overflow: hidden; }
.hero-cover { position: absolute; inset: 0; z-index: -1; margin: 0; background: #111; }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, .68) 100%); }
.hero-layout-cover .hero-inner { grid-template-columns: 1fr !important; }
.hero-layout-cover :is(.eyebrow, .lead) { color: rgba(255, 255, 255, .85); }
.hero-layout-cover .hero-title { color: #fff; max-width: 15ch; }
.hero-layout-cover .btn-secondary { color: #fff; }
.hero-layout-cover .btn-secondary:hover { background: #fff; color: #111; border-color: #fff; }

/* Shared: small uppercase labels and heads of the new sections */
.logos-title { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.4rem, 3vw, 2.2rem) 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.team-1, .team-2 { max-width: 760px; }
.member { display: grid; align-content: start; gap: .35rem; }
.member-photo { margin: 0 0 .8rem; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); display: grid; place-items: center; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-initials { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); color: var(--accent); letter-spacing: -.03em; }
.member h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.member-role { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.member-text { color: var(--muted); margin-top: .3rem; }

/* Logos */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 4vw, 3.6rem); }
.logo { display: grid; place-items: center; min-height: 48px; }
.logo a { display: grid; place-items: center; text-decoration: none; }
.logo img { max-height: 44px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
[data-scheme="dark"] .logo img { filter: grayscale(1) invert(1) brightness(1.4); }
.logo:hover img { filter: none; opacity: 1; }
.logo-word { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em; color: var(--muted); white-space: nowrap; transition: color .3s; }
.logo:hover .logo-word { color: var(--text); }
.logos-scroll { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos-track { flex: none; flex-wrap: nowrap; padding-right: clamp(1.4rem, 4vw, 3.6rem); animation: logos-move 36s linear infinite; }
.logos-scroll:hover .logos-track { animation-play-state: paused; }
@keyframes logos-move { to { transform: translateX(-100%); } }

/* Opening hours */
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hours-copy .section-head { margin-bottom: 1.6rem; }
.hours-card { position: relative; padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: var(--radius); background: var(--surface); }
.hours-icon { position: absolute; top: clamp(1.2rem, 3vw, 1.8rem); right: clamp(1.2rem, 3vw, 1.8rem); color: var(--accent); opacity: .9; }
.hours-list { margin: 0; display: grid; }
.hours-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.hours-list div:last-child { border-bottom: 0; }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.hours-list .is-closed dd { color: var(--muted); opacity: .7; font-style: italic; }
.hours-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .hours { grid-template-columns: 1fr; } }

/* Price list / menu */
.pricelist { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem); }
.pricelist-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.pricelist-one { max-width: 760px; }
.pricelist-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.pricelist-group-name { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.price-line { display: flex; align-items: baseline; gap: .6rem; }
.price-line strong { font-weight: 600; font-size: 1.06rem; }
.price-dots { flex: 1; min-width: 1.5rem; border-bottom: 1.5px dotted color-mix(in srgb, var(--text) 30%, transparent); translate: 0 -.3em; }
.price-value { font-weight: 600; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-item p { margin-top: .2rem; color: var(--muted); font-size: .95rem; max-width: 46ch; }
.pricelist-note { margin-top: 2.2rem; color: var(--muted); font-size: .9rem; }

/* Events */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 4vw, 2.6rem); align-items: center; padding: clamp(1.3rem, 3vw, 2rem) 0; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.event-date { display: grid; justify-items: center; width: 5.2rem; padding: .7rem 0; border-radius: var(--radius-small); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); line-height: 1; }
.event-date strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2.2rem; color: var(--accent); letter-spacing: -.03em; }
.event-date span { margin-top: .35rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.event-copy { display: grid; gap: .3rem; }
.event-copy h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.event-info { font-size: .9rem; font-weight: 600; color: var(--accent); }
.event-text { color: var(--muted); max-width: 60ch; }
@media (max-width: 700px) { .event { grid-template-columns: auto 1fr; } .event .btn { grid-column: 2; justify-self: start; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); max-width: 860px; }
.timeline::before { content: ''; position: absolute; left: 5.4rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 4.4rem 1fr; gap: 2.4rem; }
.timeline-item::before { content: ''; position: absolute; left: calc(5.4rem - 6px); top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--accent); }
.timeline-year { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.3rem; color: var(--accent); text-align: right; line-height: 1.3; }
.timeline-item h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); margin-bottom: .4rem; }
.timeline-item p { color: var(--muted); }

/* Big quote */
.big-quote { position: relative; margin: 0 auto; max-width: 940px; display: grid; justify-items: center; gap: 1.6rem; text-align: center; padding-block: 1rem; }
.big-quote-mark { font-family: var(--font-display); font-size: clamp(5rem, 4rem + 5vw, 9rem); line-height: .5; height: .45em; color: var(--accent); }
.big-quote blockquote { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3.2rem); line-height: 1.18; text-wrap: balance; }
.big-quote figcaption { display: grid; gap: .15rem; font-size: .95rem; }
.big-quote figcaption span { color: var(--muted); }
.big-quote-photo { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line); }
.big-quote-photo img { width: 100%; height: 100%; object-fit: cover; }
.big-quote-with-photo .big-quote-mark { display: none; }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: color-mix(in srgb, var(--text) 88%, var(--accent)); color: #fff; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 1.5rem; text-align: center; font-size: .9rem; background: radial-gradient(circle, rgba(0, 0, 0, .1), rgba(0, 0, 0, .45)); }
.video-consent p { max-width: 42ch; opacity: .88; }
.video-consent a { color: #fff; font-size: .86rem; }
.video-play { display: grid; place-items: center; width: clamp(64px, 9vw, 92px); aspect-ratio: 1; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); cursor: pointer; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); transition: transform .4s var(--ease), box-shadow .4s; }
.video-play:hover { transform: scale(1.08); box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent) 25%, transparent); }
.video-play svg { width: 38%; fill: currentColor; translate: 8% 0; }

/* Promotion strip */
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2.4rem; padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); }
.promo-copy { display: grid; gap: .5rem; flex: 1 1 420px; justify-items: start; }
.promo h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem); }
.promo p { max-width: 60ch; opacity: .85; }
.promo-label { display: inline-block; padding: .3rem .8rem; border-radius: 99px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); }
.promo-soft { background: color-mix(in srgb, var(--accent) 11%, var(--bg)); }
.promo-outline { border: 1.5px solid var(--accent); }
.promo-accent { background: var(--accent); color: var(--on-accent); }
.promo-accent .promo-label { background: var(--on-accent); color: var(--accent); }

/* Text columns */
.text-columns { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.text-column { display: grid; align-content: start; gap: .9rem; padding-top: 1.3rem; border-top: 2px solid var(--accent); }
.text-column h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.text-column .prose { color: var(--muted); }

/* Checklist */
.checklist-wrap.split { align-items: center; }
.checklist-copy .section-head { margin-bottom: 1.6rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.checklist-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 2.5rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.06rem; }
.checklist svg { flex: none; width: 1.6rem; height: 1.6rem; padding: .25rem; border-radius: 50%; background: color-mix(in srgb, var(--accent) 15%, var(--bg)); fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Photo with text over it */
.banner { position: relative; display: grid; align-items: center; min-height: clamp(380px, 62vh, 640px); color: #fff; isolation: isolate; overflow: hidden; background: color-mix(in srgb, var(--text) 85%, var(--accent)); }
.banner-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .42); }
.banner-left::after { background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .1)); }
.banner-copy { display: grid; gap: 1.2rem; padding-block: clamp(3rem, 8vw, 6rem); }
.banner-center .banner-copy { justify-items: center; text-align: center; }
.banner h1, .banner h2 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.6rem); max-width: 16ch; color: #fff; }
.banner .lead { color: rgba(255, 255, 255, .86); }
.banner-center .lead { margin-inline: auto; }
.banner .actions { margin-top: .4rem; }
.banner .btn-on-accent { background: #fff; color: #111; }

/* Countdown */
.countdown { display: grid; justify-items: center; gap: 1.1rem; text-align: center; padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 3rem); border-radius: calc(var(--radius) * 1.4); background: var(--surface); }
.countdown h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem); max-width: 20ch; }
.countdown .lead { margin-inline: auto; }
.countdown-date { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.countdown-units { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.5rem, 2vw, 1rem); margin: .6rem 0 .4rem; }
.countdown-unit { display: grid; justify-items: center; gap: .4rem; min-width: clamp(4.4rem, 12vw, 7rem); padding: clamp(.8rem, 2vw, 1.2rem) .6rem; border-radius: var(--radius-small); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.countdown-unit strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.countdown-unit small { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.countdown.is-done .countdown-units { display: none; }
.countdown-finished { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); color: var(--accent); }

/* Map on its own */
.map-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.map-block-copy .section-head { margin-bottom: 1.2rem; }
.map-address { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.map-block-copy .prose { color: var(--muted); }
@media (max-width: 860px) { .map-block { grid-template-columns: 1fr; } }

/* Social profiles */
.social { display: grid; justify-items: center; text-align: center; }
.social .section-head { justify-items: center; }
.social .lead { margin-inline: auto; }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.social-link { display: flex; align-items: center; gap: .8rem; padding: .6rem 1.1rem .6rem .6rem; border-radius: 99px; text-decoration: none; text-align: left; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.social-link:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--accent); }
.social-link span:not(.social-badge) { display: grid; line-height: 1.25; }
.social-link small { color: var(--muted); font-size: .82rem; }
.social-badge { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.social-arrow { width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.social-link:hover .social-arrow { transform: translate(2px, -2px); stroke: var(--accent); }

/* Divider */
.block-divider { padding-block: calc(var(--space) / 5); }
.divider-line { height: 1px; background: var(--line); }
.divider-space { height: clamp(1rem, 4vw, 3rem); }
.divider-ornament { display: flex; align-items: center; gap: 1.2rem; }
.divider-ornament span { flex: 1; height: 1px; background: var(--line); }
.divider-ornament i { width: 10px; height: 10px; rotate: 45deg; background: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
    .js .timeline::before { transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease); }
    .js .timeline:has(.is-visible)::before { transform: none; }
    .hero-cover img, .banner-image { transition: transform .2s linear; }
}
@media (prefers-reduced-motion: reduce) {
    .logos-track { animation: none; }
    .logos-track[aria-hidden] { display: none; }
    .logos-scroll { justify-content: center; -webkit-mask-image: none; mask-image: none; }
    .logos-scroll .logos-track { flex-wrap: wrap; justify-content: center; padding-right: 0; }
}
@media (max-width: 560px) { .timeline::before { left: 4.4rem; } .timeline-item { grid-template-columns: 3.4rem 1fr; gap: 2rem; } .timeline-item::before { left: calc(4.4rem - 6px); } .timeline-year { font-size: 1.05rem; } }
/* Buttons on a coloured strip stay readable in every theme. */
.promo-accent .btn.btn-on-accent { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.promo-accent .btn.btn-on-accent:hover { background: transparent; color: var(--on-accent); }
.banner .btn.btn-on-accent { background: #fff; color: #111; border-color: #fff; }
.banner .btn.btn-on-accent:hover { background: transparent; color: #fff; }

/* ===== Buttons and menu as chosen in «Aspetto» (only when different from the theme) ===== */
:root[data-button-shape="pill"] .btn { border-radius: 999px; }
:root[data-button-shape="soft"] .btn { border-radius: 10px; }
:root[data-button-shape="square"] .btn { border-radius: 0; }
:root[data-button-fill="filled"] .btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
:root[data-button-fill="filled"] .btn-primary:hover { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -12px var(--accent); }
:root[data-button-fill="outline"] .btn-primary { background: transparent; color: var(--accent); border-color: var(--accent); }
:root[data-button-fill="outline"] .btn-primary:hover { background: var(--accent); color: var(--on-accent); }
:root[data-button-case="upper"] .btn { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
:root[data-button-case="normal"] .btn { text-transform: none; letter-spacing: normal; font-size: .98rem; }
@media (min-width: 861px) {
    :root[data-menu-style="pill"] .site-nav ul { background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
    :root[data-menu-style="pill"] .site-nav .nav-pill { top: .3rem; bottom: .3rem; height: auto; margin-left: 0; width: var(--w, 0); border-radius: 999px; background: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px -8px rgba(0, 0, 0, .25); }
    :root[data-menu-style="pill"] .site-nav li a.is-under { color: var(--text); }
    :root[data-menu-style="underline"] .site-nav ul, :root[data-menu-style="plain"] .site-nav ul { background: none; box-shadow: none; }
    :root[data-menu-style="underline"] .site-nav .nav-pill { top: auto; bottom: .4rem; height: 2px; margin-left: .95rem; width: calc(var(--w, 0px) - 1.9rem); border-radius: 2px; background: var(--accent); box-shadow: none; }
    :root[data-menu-style="underline"] .site-nav li a.is-under, :root[data-menu-style="plain"] .site-nav li a.is-under { color: var(--text); }
    :root[data-menu-style="plain"] .site-nav .nav-pill { display: none; }
    :root[data-menu-style="plain"] .site-nav li a:hover, :root[data-menu-style="plain"] .site-nav li a.is-active, :root[data-menu-style="plain"] .site-nav li a[aria-current="page"] { color: var(--accent); }
    :root[data-menu-case="upper"] .site-nav li a { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; }
    :root[data-menu-case="normal"] .site-nav li a { text-transform: none; letter-spacing: normal; font-size: .93rem; }
    :root[data-menu-position="left"] .site-nav { margin-left: 1.2rem; margin-right: auto; }
    :root[data-menu-position="right"] .site-nav { margin-left: auto; margin-right: 0; }
}
