/* Tema creato con l'AI: style.css */
/* Tema creato con l'AI: style.css */
/*
 * Bottega: caldo e fatto a mano. Serif con il corsivo terracotta, occhielli scritti a penna,
 * carta color crema, nastri che scorrono, schede a mosaico, riquadri marroni.
 *
 * Usa i token del tema (--theme-*), così Aspetto e gli schemi di colore delle sezioni funzionano.
 * Le classi bt-* sono dei template del tema; in fondo l'armonizzazione delle sezioni ereditate (ts-*).
 * Il movimento lo guida il runtime comune (assets/sections/movimento.js) con data-tm. Le parole in
 * risalto dei titoli («*parola*» nel campo, <em> nella pagina) sono in corsivo terracotta.
 */

:root, [data-scheme] {
    --bt-bg: var(--theme-bg, #fbf4e8);
    --bt-card: var(--theme-bg-surface, #fffaf1);
    --bt-ink: var(--theme-text, #3b2a1e);
    --bt-muted: var(--theme-text-secondary, #6a5546);
    --bt-terra: var(--theme-primary, #b5573a);
    --bt-terra-dark: var(--theme-primary-dark, #97452b);
    --bt-sage: var(--theme-accent, #5e6e4a);
    --bt-sage-soft: #dce3cd;
    --bt-honey: #f2d79b;
    --bt-rose: #f3cfc0;
    --bt-brown: #2b1d14;
    --bt-cream: #fff4e2;
    --bt-line: var(--theme-border, rgba(59, 42, 30, .14));
    --bt-radius: var(--theme-radius, 24px);
    --bt-radius-sm: var(--theme-radius-sm, 14px);
    --bt-shadow: var(--theme-shadow, 0 18px 40px -24px rgba(59, 42, 30, .35));
    --bt-serif: var(--theme-font-heading, 'Fraunces', Georgia, serif);
    --bt-sans: var(--theme-font-body, 'Nunito', -apple-system, sans-serif);
    --bt-hand: 'Caveat', 'Bradley Hand', cursive;
    --bt-max: 1160px;
    --bt-pad: clamp(20px, 4vw, 40px);
    --bt-space: clamp(72px, 9vw, 120px);
}

/* ------------------------------------------------------------------ pagina e carta */
body:has(> .ts-page) { background: var(--bt-bg); }
.ts-page {
    font-family: var(--bt-sans);
    color: var(--bt-ink);
    background-color: var(--bt-bg);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .05 0'/>filter><rect width='100%' height='100%' filter='url(%23p)'/>svg>");
}
.ts:has(> .bt) { padding: calc(var(--bt-space) * .7) 0; background: transparent; }
.ts[data-scheme]:has(> .bt) { background: var(--bt-bg); padding: var(--bt-space) 0; }
.ts:has(> .bt-bleed) { padding-top: 0; }
.bt { max-width: var(--bt-max); margin: 0 auto; padding: 0 var(--bt-pad); color: var(--bt-ink); }
.bt-bleed { max-width: none; padding: 0; }
.bt-in { max-width: var(--bt-max); margin: 0 auto; padding: 0 var(--bt-pad); }

/* Pagine senza sezioni (elenco e scheda delle storie): spazio sopra e sopra il piede */
.ts-main:not(:has(> .ts)) { padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--bt-space); }
.ts-main > :not(.ts):last-child { margin-bottom: var(--bt-space); }
.ts-main:not(:has(> .ts)) > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ tipografia */
.bt-h1 { margin: 0; font: 600 clamp(48px, 6.6vw, 84px)/1.02 var(--bt-serif); letter-spacing: -.012em; font-variation-settings: 'opsz' 144; color: var(--bt-ink); text-wrap: balance; }
.bt-h2 { margin: 0; font: 600 clamp(34px, 4.2vw, 50px)/1.08 var(--bt-serif); letter-spacing: -.01em; font-variation-settings: 'opsz' 96; color: var(--bt-ink); text-wrap: balance; }
.bt-h3 { margin: 0 0 6px; font: 600 clamp(19px, 1.6vw, 22px)/1.25 var(--bt-serif); letter-spacing: -.005em; color: var(--bt-ink); }
.bt-h1 em, .bt-h2 em { font-style: italic; font-weight: 500; color: var(--bt-terra); }
.bt-script { margin: 0 0 4px; font: 600 clamp(20px, 1.9vw, 24px)/1.1 var(--bt-hand); color: var(--bt-terra); }
.bt-lead { margin: 24px 0 0; max-width: 32em; font-size: 1.12rem; line-height: 1.75; color: var(--bt-muted); }
.bt-intro { margin: 12px 0 0; max-width: 38em; font-size: 1.05rem; line-height: 1.7; color: var(--bt-muted); }
.bt-head { margin-bottom: clamp(32px, 4vw, 52px); }
.bt-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 16px; border-radius: 999px; background: var(--bt-sage-soft); color: var(--bt-sage); font-size: .85rem; font-weight: 800; }
.bt-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ------------------------------------------------------------------ pulsanti */
.bt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bt-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 2px solid color-mix(in srgb, var(--bt-ink) 20%, transparent);
    color: var(--bt-ink) !important;
    font: 800 1rem/1.2 var(--bt-sans);
    text-decoration: none !important;
    transition: transform .2s, background .2s, box-shadow .2s;
}
.bt-btn:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--bt-ink) 5%, transparent); }
.bt-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.bt-btn:hover svg { transform: translateX(3px); }
.bt-btn-main { background: var(--bt-terra); border-color: transparent; color: #fff8ee !important; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--bt-terra) 75%, transparent); }
.bt-btn-main:hover { background: var(--bt-terra-dark); }
.bt-btn-dark { background: var(--bt-brown); border-color: transparent; color: var(--bt-cream) !important; }
.bt-btn-sm { padding: 10px 20px; font-size: .95rem; }

/* ------------------------------------------------------------------ cornice */
.bt-top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bt-bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bt-line); }
.bt-top-in { max-width: var(--bt-max); margin: 0 auto; padding: 14px var(--bt-pad); display: flex; align-items: center; gap: 28px; }
.bt-brand { font: 700 30px/1 var(--bt-hand); color: var(--bt-sage) !important; text-decoration: none !important; letter-spacing: .02em; }
.bt-brand img { height: 46px; width: auto; display: block; }
.bt-nav { display: flex; gap: 22px; margin-left: auto; }
.bt-nav a { color: var(--bt-muted) !important; font-weight: 600; text-decoration: none !important; }
.bt-nav a:hover, .bt-nav a[aria-current] { color: var(--bt-ink) !important; }
.bt-tools { display: flex; align-items: center; gap: 14px; }
.bt-nav + .bt-tools { margin-left: 0; }
.bt-brand + .bt-tools { margin-left: auto; }
.bt-ico { color: var(--bt-ink) !important; display: grid; position: relative; }
.bt-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.bt-burger { display: none; position: relative; }
.bt-burger summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bt-card); box-shadow: var(--bt-shadow); }
.bt-burger summary::-webkit-details-marker { display: none; }
.bt-burger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bt-mnav { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 10px; border-radius: var(--bt-radius-sm); background: var(--bt-card); box-shadow: var(--bt-shadow); display: grid; }
.bt-mnav a { padding: 10px 12px; border-radius: 10px; color: var(--bt-ink) !important; font-weight: 700; text-decoration: none !important; }
.bt-mnav a:hover { background: var(--bt-bg); }
@media (max-width: 820px) { .bt-nav { display: none; } .bt-tools { margin-left: auto; } .bt-burger { display: block; } }

.bt-foot { background: var(--bt-brown); color: #d6c2aa; padding: clamp(56px, 7vw, 88px) 0 28px; margin-top: 20px; }
.bt-foot a { color: #d6c2aa !important; text-decoration: none !important; }
.bt-foot a:hover { color: var(--bt-cream) !important; }
.bt-foot-in { max-width: var(--bt-max); margin: 0 auto; padding: 0 var(--bt-pad); display: grid; grid-template-columns: auto 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.bt-seal { width: 104px; height: 104px; border-radius: 50%; border: 2px dashed #b5573a; display: grid; place-items: center; transform: rotate(-8deg); background: #fff4e2; }
.bt-seal span { font: 700 22px/1 var(--bt-hand); color: #b5573a; text-align: center; padding: 8px; }
.bt-foot-name { margin: 0 0 10px; font: 600 24px/1.2 var(--bt-serif); color: var(--bt-cream); }
.bt-foot-col p { margin: 0 0 10px; line-height: 1.6; }
.bt-foot-col { display: grid; gap: 8px; align-content: start; }
.bt-foot-cap { font: 800 .72rem/1 var(--bt-sans); letter-spacing: .14em; text-transform: uppercase; color: #b5573a; }
.bt-foot-small { font-size: .85rem; opacity: .8; }
.bt-foot-copy { max-width: var(--bt-max); margin: 48px auto 0; padding: 20px var(--bt-pad) 0; border-top: 1px solid rgba(255, 244, 226, .12); font-size: .85rem; opacity: .7; }
.bt-foot-min { padding: 24px 0; }
.bt-foot-min .bt-foot-copy { margin-top: 0; border: 0; padding-top: 0; }
@media (max-width: 860px) { .bt-foot-in { grid-template-columns: 1fr 1fr; } .bt-seal { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ apertura */
.bt-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding-top: 12px; }
.bt-hero-center { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 56px; }
.bt-hero-center .bt-lead { margin-inline: auto; }
.bt-hero-center .bt-actions { justify-content: center; }
.bt-hero-art { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.bt-hero-center .bt-hero-art { max-width: 860px; }
.bt-blob { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; overflow: hidden; background: var(--bt-honey); box-shadow: var(--bt-shadow); animation: bt-morph 18s ease-in-out infinite alternate; }
.bt-blob-wide { aspect-ratio: 16 / 10; border-radius: 48% 52% 44% 56% / 58% 46% 54% 42%; }
.bt-blob img, .bt-blob .ts-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
@keyframes bt-morph { to { border-radius: 44% 56% 46% 54% / 56% 42% 58% 44%; } }
.bt-sun { position: absolute; z-index: 0; width: 26%; aspect-ratio: 1; right: -4%; top: -6%; border-radius: 50%; background: radial-gradient(circle, #f6d48f, #f2c46c 60%, transparent 62%); opacity: .8; }
.bt-leaf { position: absolute; z-index: 2; width: 64px; height: 30px; border-radius: 0 100% 0 100%; }
.bt-leaf-1 { left: 4%; top: 6%; background: #8a9b6e; transform: rotate(-24deg); }
.bt-leaf-2 { right: 18%; top: -2%; background: #c1683f; transform: rotate(32deg); }
.bt-polaroid { position: absolute; z-index: 3; left: -4%; bottom: -6%; max-width: 280px; padding: 16px 18px 18px; background: #fffdf8; border-radius: 6px; box-shadow: 0 16px 30px -14px rgba(59, 42, 30, .5); transform: rotate(-6deg); text-align: left; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.bt-polaroid:hover { transform: rotate(-2deg) scale(1.03); }
.bt-polaroid::before { content: ""; position: absolute; left: 14px; top: 12px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #c9b59e; }
.bt-polaroid .bt-script { margin: 4px 0 0 18px; font-size: 21px; line-height: 1.25; color: var(--bt-terra); }
@media (max-width: 860px) { .bt-hero { grid-template-columns: 1fr; } .bt-polaroid { left: 0; } }

/* ------------------------------------------------------------------ nastro e mosaico */
.bt-ribbon { position: relative; z-index: 2; margin: 0 -2vw calc(var(--bt-space) * .7); background: var(--bt-brown); transform: rotate(-1.6deg); overflow: hidden; padding: 14px 0; box-shadow: 0 14px 28px -18px rgba(43, 29, 20, .6); }
.bt-ribbon-track { display: flex; width: max-content; animation: bt-ribbon 38s linear infinite; }
.bt-ribbon span { display: inline-flex; align-items: center; gap: 32px; padding-right: 32px; font: italic 500 clamp(19px, 2vw, 26px)/1.2 var(--bt-serif); color: #e9d8bd; white-space: nowrap; }
.bt-ribbon span::after { content: "✦"; font-style: normal; color: #d77a52; font-size: .8em; }
@keyframes bt-ribbon { to { transform: translateX(-50%); } }
.bt-ribbon:hover .bt-ribbon-track { animation-play-state: paused; }

.bt-bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.bt-tile { position: relative; padding: 26px; border-radius: var(--bt-radius); background: var(--bt-card); border: 1px solid var(--bt-line); transition: transform .3s, box-shadow .3s; }
.bt-tile:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--bt-shadow); }
.bt-tile p { margin: 0; color: var(--bt-muted); line-height: 1.6; font-size: .97rem; }
.bt-tile-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: var(--bt-rose); color: var(--bt-terra); }
.bt-tile-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bt-tile:nth-child(3n+2) .bt-tile-ico { background: var(--bt-sage-soft); color: var(--bt-sage); }
.bt-tile:nth-child(3n) .bt-tile-ico { background: #f6e3b4; color: #9a6b12; }
/* La prima scheda è grande e color miele, occupa due righe */
.bt-tile:first-child { grid-row: span 2; background: var(--bt-honey); border-color: transparent; display: flex; flex-direction: column; padding: 36px 32px; }
.bt-tile:first-child .bt-h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 12px; }
.bt-tile:first-child .bt-tile-ico { background: #fff4d6; }
.bt-tile:first-child p { color: #5b4532; font-size: 1.02rem; }
/* Con sei schede l'ultima diventa una striscia larga */
.bt-tile:nth-child(6):last-child { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.bt-tile:nth-child(6):last-child .bt-tile-ico { grid-row: span 2; margin: 0; }
@media (max-width: 860px) { .bt-bento { grid-template-columns: 1fr 1fr; } .bt-tile:first-child { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 520px) { .bt-bento { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ riquadro marrone */
.bt-panel { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); border-radius: calc(var(--bt-radius) + 12px); background: var(--bt-brown); color: var(--bt-cream); --bt-ink: #fff4e2; --bt-muted: #d6c2aa; --bt-terra: #e8916f; }
.bt-panel::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 145, 111, .16), transparent 65%); pointer-events: none; }
.bt-manifesto { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bt-arch { position: relative; margin: 0; }
.bt-arch img, .bt-arch .ts-ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 22px 22px; display: block; }
.bt-arch figcaption { position: absolute; left: -18px; bottom: 26px; padding: 10px 16px; background: #fffdf8; color: #b5573a; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .6); max-width: 80%; }
@media (max-width: 860px) { .bt-manifesto { grid-template-columns: 1fr; } }

.bt-steps { list-style: none; margin: clamp(24px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px; }
.bt-steps li { border-top: 1px solid rgba(255, 244, 226, .16); padding-top: 22px; }
.bt-step-num { display: block; margin-bottom: 14px; font: italic 500 clamp(44px, 5vw, 60px)/1 var(--bt-serif); color: #f2c46c; }
.bt-steps p { margin: 0; color: var(--bt-muted); line-height: 1.65; }

/* ------------------------------------------------------------------ elenco */
.bt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 28px; }
.bt-list li { display: flex; gap: 16px; padding: 22px; border-radius: var(--bt-radius-sm); background: var(--bt-card); border: 1px solid var(--bt-line); }
.bt-list-dot { flex: none; width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: var(--bt-terra); box-shadow: 0 0 0 5px color-mix(in srgb, var(--bt-terra) 18%, transparent); }
.bt-list p { margin: 0; color: var(--bt-muted); line-height: 1.6; }

/* ------------------------------------------------------------------ orari */
.bt-hours { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.bt-card { border-radius: var(--bt-radius); background: var(--bt-card); border: 1px solid var(--bt-line); box-shadow: var(--bt-shadow); }
.bt-hours-table { margin-top: 28px; padding: 10px 24px; }
.bt-hours-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--bt-line); }
.bt-hours-cap { border-top: 0; font: 800 .7rem/1 var(--bt-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bt-muted); }
.bt-hours-row strong { font: 600 1.05rem/1.2 var(--bt-serif); }
.bt-slot { justify-self: start; padding: 4px 14px; border-radius: 999px; background: var(--bt-sage-soft); color: var(--bt-sage); font-weight: 800; font-size: .9rem; }
.bt-slot:empty, .bt-slot.is-closed { background: transparent; color: var(--bt-muted); opacity: .7; }
.bt-hours-row.is-today { position: relative; }
.bt-slot.is-now { background: var(--bt-terra); color: #fff8ee; }
.bt-hours-row.is-today strong::after { content: attr(data-oggi); margin-left: 10px; font: 600 18px/1 var(--bt-hand); color: var(--bt-terra); }
.bt-hours-side { padding-top: 64px; display: grid; gap: 20px; justify-items: start; }
.bt-hours-lead { margin: 0; color: var(--bt-muted); line-height: 1.7; }
.bt-addr { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; width: 100%; }
.bt-addr svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--bt-terra); stroke-width: 1.8; }
.bt-addr p { margin: 0; line-height: 1.5; color: var(--bt-muted); }
.bt-addr strong { color: var(--bt-ink); font-family: var(--bt-serif); font-weight: 600; }
@media (max-width: 860px) { .bt-hours { grid-template-columns: 1fr; } .bt-hours-side { padding-top: 0; } }

/* ------------------------------------------------------------------ domande */
.bt-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.bt-faq-list { display: grid; gap: 12px; }
.bt-qa { border-radius: var(--bt-radius-sm); background: var(--bt-card); border: 1px solid var(--bt-line); transition: box-shadow .3s; }
.bt-qa[open] { box-shadow: var(--bt-shadow); }
.bt-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 800; }
.bt-qa summary::-webkit-details-marker { display: none; }
.bt-qa summary i { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--bt-honey); transition: transform .3s; }
.bt-qa summary i::before, .bt-qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 2px; background: var(--bt-terra); transform: translate(-50%, -50%); }
.bt-qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.bt-qa[open] summary i { transform: rotate(45deg); }
.bt-qa-a { padding: 0 22px 20px; color: var(--bt-muted); line-height: 1.7; }
@media (max-width: 860px) { .bt-faq { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ invito */
.bt-cta { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); border-radius: calc(var(--bt-radius) + 12px); text-align: center; color: #fff8ee;
    background: linear-gradient(120deg, #b5573a, #d9814a 55%, #e3a24c); --bt-ink: #fff8ee; --bt-muted: rgba(255, 248, 238, .86); --bt-terra: #fff1d6; }
.bt-cta .bt-intro { margin-inline: auto; }
.bt-cta .bt-actions { justify-content: center; }
.bt-cta .bt-btn-main { background: #fff8ee; color: #b5573a !important; box-shadow: 0 12px 28px -14px rgba(60, 20, 0, .6); }
.bt-cta .bt-btn-main:hover { background: #fff; }
.bt-cta-leaf { position: absolute; width: 140px; height: 64px; border-radius: 0 100% 0 100%; background: rgba(255, 241, 214, .14); }
.bt-cta-leaf-1 { left: 6%; top: 14%; transform: rotate(-28deg); }
.bt-cta-leaf-2 { right: 8%; top: 22%; transform: rotate(24deg) scale(1.3); }
.bt-cta-leaf-3 { left: 40%; bottom: -24px; transform: rotate(8deg) scale(1.6); }
.bt-cta > :not(.bt-cta-leaf) { position: relative; }

/* ------------------------------------------------------------------ movimento */
[data-tm="reveal"] { opacity: 0; transform: translateY(26px) rotate(.6deg); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
[data-tm="reveal"].is-in { opacity: 1; transform: none; }
.bt-bento > [data-tm="reveal"]:nth-child(2), .bt-steps > :nth-child(2) { transition-delay: .08s; }
.bt-bento > [data-tm="reveal"]:nth-child(3), .bt-steps > :nth-child(3) { transition-delay: .16s; }
.bt-bento > [data-tm="reveal"]:nth-child(4) { transition-delay: .12s; }
.bt-bento > [data-tm="reveal"]:nth-child(5) { transition-delay: .2s; }
.tsb-edit [data-tm="reveal"], .tm-still [data-tm="reveal"] { opacity: 1; transform: none; transition: none; }
.tsb-edit .bt-top { position: relative; }
.tsb-edit .bt-ribbon-track, .tm-still .bt-ribbon-track, .tsb-edit .bt-blob, .tm-still .bt-blob { animation: none; }
@media (prefers-reduced-motion: reduce) { [data-tm="reveal"] { opacity: 1; transform: none; transition: none; } .bt-ribbon-track, .bt-blob { animation: none; } }

/* ------------------------------------------------------------------ sezioni ereditate dalla libreria comune */
.ts-page .ts-h1, .ts-page .ts-h2 { font-family: var(--bt-serif); font-weight: 600; letter-spacing: -.01em; }
.ts-page .ts-h3 { font-family: var(--bt-serif); font-weight: 600; }
.ts-page .ts-eyebrow { font: 600 22px/1.1 var(--bt-hand); text-transform: none; letter-spacing: 0; color: var(--bt-terra); }
.ts-page .ts-btn { border-radius: 999px; font-weight: 800; border-width: 2px; }
.ts-page .ts-btn-primary { background: var(--bt-terra); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--bt-terra) 75%, transparent); }
.ts-page .ts-card { border-radius: var(--bt-radius); background: var(--bt-card); }
.ts-page .ts-badge-ico { border-radius: 50%; background: var(--bt-rose); color: var(--bt-terra); }
