/* Monolight – monolight.app
   Camera oscura (fondo), carta da stampa (sezioni chiare), ambra della luce di sicurezza.
   Caratteri: Lora (titoli) e Inter (testo), ospitati sul sito. */

@font-face { font-family: "Lora"; src: url(../fonts/lora-cyrillic-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Lora"; src: url(../fonts/lora-cyrillic-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Lora"; src: url(../fonts/lora-vietnamese-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Lora"; src: url(../fonts/lora-latin-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Lora"; src: url(../fonts/lora-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-greek-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-greek-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-vietnamese-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-greek-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-greek-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-vietnamese-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-greek-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-greek-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-vietnamese-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --oscura: #16120f;
  --oscura-2: #211b17;
  --pellicola: #0e0b09;
  --carta: #f3efe7;
  --carta-2: #e9e3d7;
  --inchiostro: #1d1916;
  --ambra: #e3a33b;
  --rame: #8a4f0c;
  --pietra: #9a948a;
  --pietra-scura: #625d55;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --wrap-wide: 1320px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

html:lang(ja) { --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif; }
html:lang(ko) { --serif: "AppleMyungjo", "Nanum Myeongjo", "Noto Serif KR", serif; --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html:lang(zh-Hans) { --serif: "Songti SC", "STSong", "Noto Serif SC", serif; --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html:lang(zh-Hant) { --serif: "Songti TC", "Noto Serif TC", serif; --sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
html:lang(ar) { --serif: "Geeza Pro", "Noto Naskh Arabic", "Times New Roman", serif; --sans: -apple-system, BlinkMacSystemFont, "SF Arabic", "Geeza Pro", "Segoe UI", "Noto Sans Arabic", sans-serif; }
html:lang(he) { --serif: "New Peninim MT", "Noto Serif Hebrew", "Times New Roman", serif; --sans: -apple-system, BlinkMacSystemFont, "SF Hebrew", "Arial Hebrew", "Segoe UI", "Noto Sans Hebrew", sans-serif; }
html:lang(hi) { --serif: "Kohinoor Devanagari", "Noto Serif Devanagari", serif; --sans: -apple-system, BlinkMacSystemFont, "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari", sans-serif; }
html:lang(th) { --serif: "Thonburi", "Noto Serif Thai", serif; --sans: -apple-system, BlinkMacSystemFont, "Thonburi", "Leelawadee UI", "Noto Sans Thai", sans-serif; }
html:lang(el) { --serif: Georgia, "Noto Serif", "Times New Roman", serif; }
html:is(:lang(ja), :lang(ko), :lang(zh), :lang(ar), :lang(he), :lang(hi), :lang(th)) :is(h1, h2, h3, .h2, .brand, .plan-price) { letter-spacing: 0; }
html:is(:lang(ja), :lang(zh)) { line-break: strict; }
html:lang(ko) { word-break: keep-all; }
html:is(:lang(hi), :lang(th)) body { line-height: 1.7; }
html:is(:lang(hi), :lang(th), :lang(ar)) :is(h1, .h2) { line-height: 1.3; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--oscura);
  color: var(--carta);
  font: 400 1.0625rem/1.55 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ambra); color: var(--inchiostro); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ambra); outline-offset: 3px; border-radius: 4px; }
.paper :focus-visible { outline-color: var(--rame); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { width: min(var(--wrap-wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(84px, 11vw, 150px); }
.dark { background: var(--oscura); color: var(--carta); }
.paper { background: var(--carta); color: var(--inchiostro); }

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 58ch; color: color-mix(in srgb, currentColor 80%, transparent); text-wrap: pretty; }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head .lede { margin-top: 20px; }
.small { font-size: .9375rem; color: var(--pietra-scura); margin-top: 28px; }
.dark .small { color: var(--pietra); }
.caption { font-size: .875rem; color: var(--pietra); margin-top: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid var(--ambra);
  background: var(--ambra); color: var(--inchiostro);
  font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: .005em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: #f0b552; border-color: #f0b552; }
.btn.ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 45%, transparent); }
.btn.ghost:hover { border-color: currentColor; }
.text-link { color: var(--ambra); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ navigazione */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 64px; padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  color: var(--carta);
  transition: background-color .3s, box-shadow .3s;
}
.nav.solid, .nav.open { background: rgba(22, 18, 15, .9); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 rgba(243, 239, 231, .08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Lora", Georgia, serif; font-size: 1.3rem; letter-spacing: -.01em; margin-inline-end: auto; }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(243, 239, 231, .16); }
.nav-menu { display: flex; gap: 26px; }
.nav-menu a { text-decoration: none; font-size: .9375rem; color: color-mix(in srgb, var(--carta) 82%, transparent); }
.nav-menu a:hover { color: var(--carta); }
.langmenu { position: relative; }
.langmenu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 8px; border-radius: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: color-mix(in srgb, var(--carta) 82%, transparent); }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary:hover, .langmenu[open] summary { color: var(--carta); background: rgba(243, 239, 231, .08); }
.langmenu summary svg { width: 16px; height: 16px; }
.langmenu ul { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; list-style: none; margin: 0; padding: 10px; width: min(560px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(22, 18, 15, .98); border: 1px solid rgba(243, 239, 231, .12); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.langmenu a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; font-size: .9375rem; color: color-mix(in srgb, var(--carta) 85%, transparent); }
.langmenu a:hover { background: rgba(243, 239, 231, .08); color: var(--carta); }
.langmenu a[aria-current="page"] { color: var(--ambra); font-weight: 600; }
@media (max-width: 640px) { .langmenu ul { position: fixed; top: calc(64px + env(safe-area-inset-top)); inset-inline: 16px; width: auto; grid-template-columns: repeat(2, 1fr); } }
.langlist { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; }
.langlist a { color: color-mix(in srgb, var(--carta) 62%, transparent); text-decoration: none; }
.langlist a:hover { color: var(--carta); text-decoration: underline; }
.langlist a[aria-current="page"] { color: var(--ambra); }
.nav-cta { text-decoration: none; font-weight: 600; font-size: .9375rem; background: var(--ambra); color: var(--inchiostro); padding: 8px 16px; border-radius: 999px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { gap: 12px; }
  .nav-toggle { display: block; order: 3; }
  .nav-cta { order: 2; }
  .nav .langmenu { order: 1; }
  .nav-menu {
    position: absolute; top: calc(64px + env(safe-area-inset-top)); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 22px;
    background: rgba(22, 18, 15, .97);
    display: none;
  }
  .nav.open .nav-menu { display: flex; }
  .nav-menu a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid rgba(243, 239, 231, .08); }
}
@media (max-width: 420px) { .brand span { display: none; } }

/* ------------------------------------------------------------------ hero: striscia di prova */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: var(--pellicola); overflow: hidden; isolation: isolate; }
.strip { position: absolute; inset: 0; --n: 6; }
.band {
  position: absolute; inset: 0; margin: 0; padding: 0; border: 0;
  background: var(--carta); cursor: pointer; overflow: hidden;
  clip-path: inset(0 calc(100% - (var(--i) + 1) * 100% / var(--n)) 0 calc(var(--i) * 100% / var(--n)));
  transition: clip-path .75s var(--ease);
}
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.band:focus-visible { outline: none; }
.band:focus-visible .band-label { outline: 2px solid var(--ambra); outline-offset: 4px; }
/* sottili tagli tra una striscia e l'altra */
.strip::before {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--n) - 1px), rgba(14, 11, 9, .7) calc(100% / var(--n) - 1px) calc(100% / var(--n)));
  transition: opacity .4s;
}
.strip[data-state="open"]::before { opacity: 0; }
/* velatura in basso per leggere il testo */
.strip::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 11, 9, .72) 0, rgba(14, 11, 9, .25) 110px, rgba(14, 11, 9, 0) 190px),
    linear-gradient(0deg, rgba(14, 11, 9, .92) 0, rgba(14, 11, 9, .62) 32%, rgba(14, 11, 9, 0) 64%),
    linear-gradient(90deg, rgba(14, 11, 9, .55) 0, rgba(14, 11, 9, 0) 55%);
}
.band-label {
  position: absolute; z-index: 1;
  left: calc((var(--i) + .5) * 100% / var(--n)); top: calc(96px + env(safe-area-inset-top));
  transform: translateX(-50%);
  font-size: .8125rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  color: var(--carta); background: rgba(14, 11, 9, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px;
  transition: opacity .3s;
}
.strip[data-state="open"] .band-label { opacity: 0; }
.strip[data-state="open"] .band.on { clip-path: inset(0 0 0 0); z-index: 3; cursor: zoom-out; }
.band.leaving { z-index: 2; }

/* lo sviluppo: l'immagine affiora dalla carta, striscia dopo striscia */
.js .band img { opacity: 0; }
.js .strip.developed .band img { animation: develop 1.5s cubic-bezier(.3, .1, .2, 1) both; animation-delay: calc(var(--i) * 160ms); }
@keyframes develop {
  0% { opacity: 0; filter: contrast(.3) brightness(1.7); }
  45% { opacity: 1; filter: contrast(.6) brightness(1.35); }
  100% { opacity: 1; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .band img, .js .strip.developed .band img { opacity: 1; animation: none; }
  .band { transition: none; }
}

.strip-bar {
  position: absolute; z-index: 6; left: var(--gutter); right: var(--gutter); top: calc(84px + env(safe-area-inset-top));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.strip[data-state="open"] .strip-bar { opacity: 1; visibility: visible; }
.strip-now { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.strip-ref { display: block; font-family: var(--sans); font-size: .875rem; color: color-mix(in srgb, var(--carta) 80%, transparent); margin-top: 2px; }
.strip-back { background: rgba(14, 11, 9, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(243, 239, 231, .35); border-radius: 999px; padding: 9px 16px; font-size: .875rem; font-weight: 500; cursor: pointer; }
.strip-back:hover { border-color: var(--carta); }

.hero-copy {
  position: relative; z-index: 7; pointer-events: none;
  width: min(var(--wrap-wide), 100% - 2 * var(--gutter)); margin-inline: auto;
  padding-bottom: clamp(36px, 7vh, 84px);
  transition: opacity .35s;
}
.hero-copy a { pointer-events: auto; }
.strip[data-state="open"] ~ .hero-copy { opacity: .0; }
.strip[data-state="open"] ~ .hero-copy a { pointer-events: none; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.018em;
  max-width: 15ch; text-wrap: balance;
}
.hero-sub { margin-top: 22px; max-width: 46ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: color-mix(in srgb, var(--carta) 86%, transparent); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-hint { margin-top: 22px; font-size: .875rem; color: var(--pietra); }

@media (max-width: 700px) {
  .band-label { writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); padding: 10px 5px; top: calc(80px + env(safe-area-inset-top)); font-size: .75rem; }
  .strip::after { background: linear-gradient(180deg, rgba(14, 11, 9, .55) 0, rgba(14, 11, 9, 0) 140px), linear-gradient(0deg, rgba(14, 11, 9, .95) 0, rgba(14, 11, 9, .75) 42%, rgba(14, 11, 9, 0) 72%); }
  .hero-sub { font-size: 1rem; }
  .strip-now { font-size: 1.25rem; }
}

/* ------------------------------------------------------------------ famiglie */
.intro { padding-block: clamp(84px, 10vw, 140px); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro .lede { color: var(--inchiostro); }
.families { margin: 40px 0 0; display: grid; gap: 0; }
.families div { display: grid; grid-template-columns: 11rem 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(29, 25, 22, .16); }
.families div:last-child { border-bottom: 1px solid rgba(29, 25, 22, .16); }
.families dt { font-family: var(--serif); font-size: 1.1875rem; }
.families dd { margin: 0; color: var(--pietra-scura); }
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .families div { grid-template-columns: 1fr; gap: 4px; }
}

/* ------------------------------------------------------------------ prima e dopo */
.compare {
  position: relative; aspect-ratio: 1280 / 853; max-width: 1180px; overflow: hidden; border-radius: 3px;
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
  background: var(--oscura-2);
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .tag {
  position: absolute; bottom: 18px; z-index: 2; font-size: .875rem; font-weight: 500;
  padding: 7px 12px; border-radius: 999px; background: rgba(14, 11, 9, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.compare .tag.l { left: 18px; }
html[dir="rtl"] .strip::after { transform: scaleX(-1); }
.compare .tag.r { right: 18px; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--carta); z-index: 2; box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.compare .handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--carta);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%231d1916' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 22px; background-repeat: no-repeat; background-position: center;
}
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 3; }
.compare:has(.compare-range:focus-visible) .handle::after { outline: 3px solid var(--ambra); outline-offset: 3px; }

/* ------------------------------------------------------------------ provino */
.viewer { display: grid; gap: 28px; max-width: 1180px; }
.viewer-frame { margin: 0; }
.viewer-frame img { width: 100%; aspect-ratio: 1280 / 853; object-fit: cover; border-radius: 3px; background: var(--carta-2); }
.viewer-frame img.dev { animation: develop-v .9s cubic-bezier(.3, .1, .2, 1); }
@keyframes develop-v { from { opacity: .2; filter: contrast(.4) brightness(1.5); } to { opacity: 1; filter: none; } }
.viewer-frame figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 16px; }
.viewer-name { font-family: var(--serif); font-size: 1.5rem; }
.viewer-fam { color: var(--pietra-scura); font-size: .9375rem; }
.sheet {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px;
  background: var(--pellicola); padding: 28px 14px 22px; border-radius: 3px;
  position: relative;
}
/* perforazioni del rullino */
.sheet::before, .sheet::after {
  content: ""; position: absolute; left: 14px; right: 14px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(243, 239, 231, .16) 0 9px, transparent 9px 22px);
  border-radius: 2px;
}
.sheet::before { display: none; }
.sheet::after { bottom: 7px; }
.frame-btn { position: relative; border: 0; padding: 0 0 8px; background: none; cursor: pointer; text-align: start; color: var(--carta); }
.frame-btn img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, opacity .2s; opacity: .82; }
.frame-btn:hover img { opacity: 1; }
.frame-btn[aria-pressed="true"] img { outline-color: var(--ambra); opacity: 1; }
.frame-btn .fn { position: absolute; top: -21px; inset-inline-start: 0; font-size: .6875rem; font-weight: 600; color: var(--ambra); font-variant-numeric: tabular-nums; }
.frame-name { display: block; margin-top: 10px; font-size: .8125rem; line-height: 1.3; color: color-mix(in srgb, var(--carta) 85%, transparent); }
.frame-btn[aria-pressed="true"] .frame-name { color: var(--carta); }
@media (max-width: 980px) {
  .sheet { grid-template-columns: repeat(8, 132px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .frame-btn { scroll-snap-align: start; }
}

/* ------------------------------------------------------------------ allo scatto o dopo */
.when { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.when-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.when-text { padding-top: 24px; max-width: 46ch; }
.when-text h3 { font-family: var(--serif); font-size: 1.625rem; line-height: 1.2; }
.when-text p:not(.caption) { margin-top: 12px; color: color-mix(in srgb, var(--carta) 80%, transparent); }
@media (max-width: 760px) { .when { grid-template-columns: 1fr; gap: 56px; } }

/* ------------------------------------------------------------------ galleria */
.gallery-section { padding-top: 0; }
.fn-ref { font-family: var(--sans); font-size: .9rem; vertical-align: super; margin-inline-start: 4px; color: var(--ambra); text-decoration: none; }
.gallery { columns: 3 300px; column-gap: clamp(14px, 2vw, 24px); }
.gallery figure { margin: 0 0 clamp(26px, 3vw, 36px); break-inside: avoid; }
.gallery img { width: 100%; border-radius: 3px; background: var(--oscura-2); }
.gallery figcaption { margin-top: 10px; font-size: .875rem; color: var(--pietra); }
.gallery figcaption b { font-weight: 600; color: var(--carta); margin-right: 6px; }

/* ------------------------------------------------------------------ long exposure */
.le-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; align-items: baseline; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 1.5rem; color: var(--rame); }
.le-copy .lede { margin-top: 20px; }
.le-demo { margin: 0; }
.le-demo svg { width: 100%; height: auto; display: block; border-radius: 3px; background: #0c0b0b; }
.trails path { transition: stroke-dasharray .15s linear; }
.le-control { display: grid; grid-template-columns: auto 1fr 4.5rem; align-items: center; gap: 16px; margin-top: 18px; }
.le-control label { font-weight: 600; font-size: .9375rem; }
.le-control output { font-variant-numeric: tabular-nums; text-align: end; font-weight: 600; }
.le-demo figcaption { margin-top: 10px; font-size: .875rem; color: var(--pietra-scura); }
input[type="range"] { accent-color: var(--rame); }
#le-time { width: 100%; height: 28px; }
@media (max-width: 860px) { .le-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ apple watch */
.aw-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.soon { display: inline-block; font-size: .8125rem; font-weight: 600; color: var(--ambra); border: 1px solid rgba(227, 163, 59, .5); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.aw-copy .lede { margin-top: 18px; }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(243, 239, 231, .12); }
.next h3 { font-family: var(--serif); font-size: 1.3rem; }
.next p { margin-top: 8px; color: color-mix(in srgb, var(--carta) 76%, transparent); }
.next .text-link { display: inline-block; margin-top: 10px; }
.watch { display: grid; place-items: center; }
.watch-case {
  position: relative; width: min(250px, 62vw); aspect-ratio: 41 / 50; border-radius: 26%/22%;
  background: linear-gradient(145deg, #3a332d, #15110e 55%, #2a241f);
  padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(243, 239, 231, .12);
}
.watch-screen { position: relative; width: 100%; height: 100%; border-radius: 22%/18%; overflow: hidden; background: #000; }
.watch-screen img { width: 100%; height: 100%; object-fit: cover; }
.watch-shutter { position: absolute; left: 50%; bottom: 9%; width: 22%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 3px solid #fff; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .3); background: rgba(255, 255, 255, .25); }
.watch-crown { position: absolute; right: -9px; top: 26%; width: 10px; height: 34px; border-radius: 4px; background: linear-gradient(90deg, #2a241f, #4a423a); }
@media (max-width: 860px) {
  .aw-grid { grid-template-columns: 1fr; }
  .watch { order: 2; }
  .next { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ prezzi */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { padding: 28px 26px 30px; border-radius: 6px; border: 1px solid rgba(29, 25, 22, .16); background: #f8f5ef; }
.plan h3 { font-size: 1rem; font-weight: 600; }
.plan-price { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.15; margin: 10px 0 14px; }
.plan p:last-child { color: var(--pietra-scura); }
.plan.featured { background: var(--oscura); color: var(--carta); border-color: var(--oscura); }
.plan.featured p:last-child { color: color-mix(in srgb, var(--carta) 78%, transparent); }
.plan.featured .plan-price { color: var(--ambra); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ scarica */
.download { position: relative; overflow: hidden; padding-block: clamp(96px, 13vw, 170px); isolation: isolate; }
.dl-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.download::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 11, 9, .94) 0, rgba(14, 11, 9, .82) 55%, rgba(14, 11, 9, .55) 100%); }
.dl-inner .lede { margin-top: 16px; }
.stores { display: grid; grid-template-columns: repeat(2, minmax(0, 430px)); gap: 20px; margin-top: 44px; }
.store { display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: 6px; background: rgba(22, 18, 15, .6); border: 1px solid rgba(243, 239, 231, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.store h3 { font-family: var(--serif); font-size: 1.3rem; }
.store p { margin: 4px 0 14px; color: color-mix(in srgb, var(--carta) 78%, transparent); font-size: .9375rem; }
.store .btn { min-height: 42px; padding: 9px 18px; font-size: .9375rem; white-space: nowrap; }
.qr { width: 112px; height: 112px; padding: 8px; background: #fff; border-radius: 6px; flex: none; }
.touch-only { display: none; }
@media (hover: none) and (pointer: coarse) {
  .qr-only { display: none; }
  .touch-only { display: inline; }
}
@media (max-width: 760px) { .stores { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ privacy */
.facts { list-style: none; padding: 0; margin-block: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.facts li { padding-top: 20px; border-top: 1px solid rgba(29, 25, 22, .2); }
.facts h3 { font-family: var(--serif); font-size: 1.25rem; }
.facts p { margin-top: 8px; color: var(--pietra-scura); }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; gap: 32px 28px; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.policy { margin-top: 56px; border-top: 1px solid rgba(29, 25, 22, .2); border-bottom: 1px solid rgba(29, 25, 22, .2); }
.policy summary { cursor: pointer; padding: 20px 0; font-weight: 600; list-style-position: inside; }
.policy summary::marker { color: var(--rame); }
.policy-body { max-width: 70ch; padding-bottom: 28px; }
.policy-body h3 { font-family: var(--serif); font-size: 1.5rem; margin-top: 8px; }
.policy-body h4 { font-size: 1rem; font-weight: 600; margin: 24px 0 6px; }
.policy-body p { margin: 0 0 10px; color: #3d3833; }
.policy-body .muted { color: var(--pietra-scura); font-size: .9375rem; }
.policy-body a { color: var(--rame); }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--pellicola); color: var(--pietra); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .875rem; }
.notes { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 12px; max-width: 92ch; }
.notes a { color: color-mix(in srgb, var(--carta) 80%, transparent); text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(243, 239, 231, .1); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: color-mix(in srgb, var(--carta) 80%, transparent); }
.footer-links a:hover { color: var(--carta); text-decoration: underline; }


@media print {
  .nav, .strip-bar, .hero-hint { display: none; }
}

/* ------------------------------------------------------------------ stampe: le foto dell'autore, in pile */
.stampe { position: relative; background: var(--pellicola); color: var(--carta); padding-block: clamp(84px, 11vw, 150px) clamp(110px, 13vw, 180px); overflow: hidden; isolation: isolate; }
.stampe::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -18%; width: min(1200px, 120vw); aspect-ratio: 2 / 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(227, 163, 59, .16), rgba(227, 163, 59, .05) 55%, transparent 75%); pointer-events: none; }
.stp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(48px, 7vw, 96px); }
.stp-head .lede { margin-top: 20px; }
.stp-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid rgba(243, 239, 231, .3); color: var(--carta); border-radius: 999px; padding: 9px 16px 9px 13px; font-size: .875rem; font-weight: 500; cursor: pointer; flex: none; }
.stp-toggle:hover { border-color: var(--carta); }
.stp-ico { width: 12px; height: 12px; background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66%); }
.stp-toggle[aria-pressed="true"] .stp-ico { background: currentColor; clip-path: polygon(10% 0, 100% 50%, 10% 100%); }
.table { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(56px, 6vw, 88px) clamp(28px, 4vw, 64px); align-items: center; }
.pile-wrap { display: flex; flex-direction: column; align-items: center; }
.pile-wrap:nth-child(3n+2) { transform: translateY(clamp(24px, 4vw, 64px)); }
.pile { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; rotate: var(--tilt, 0deg); -webkit-tap-highlight-color: transparent; }
.pile.portrait { width: 72%; }
.print {
  position: absolute; inset: 0; display: block;
  padding: clamp(6px, .65vw, 10px); background: #f4f0e8; border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 18px 34px -12px rgba(0, 0, 0, .75);
  --kk: min(var(--k, 0), 3);
  transform: translate(calc(var(--kk) * 7px), calc(var(--kk) * 6px)) rotate(calc(var(--r, 0deg) * var(--kk) / 3));
  transition: transform .75s var(--ease), opacity .45s ease, translate .3s var(--ease);
}
.print img { display: block; width: 100%; height: 100%; object-fit: cover; background: #2b2520; }
.print.deep { opacity: 0; }
.print.out { transform: translate(var(--outx, 78%), -10%) rotate(var(--outr, 12deg)); opacity: .2; transition: transform .5s cubic-bezier(.55, 0, .75, .2), opacity .5s ease; }
html[dir="rtl"] .print.out { --outx: -78%; --outr: -12deg; }
.pile:hover .print.top { translate: 0 -6px; }
.pile:focus-visible { outline: none; }
.pile:focus-visible .print.top { outline: 2px solid var(--ambra); outline-offset: 5px; }
.pile.instant .print { transition: none; }
.pile-cap { margin-top: clamp(26px, 3vw, 38px); text-align: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; max-width: 36ch; font-size: .875rem; color: var(--pietra); }
.pile-place { width: 100%; font-family: var(--serif); font-size: 1.1875rem; color: var(--carta); line-height: 1.3; }
.pile-look { color: var(--carta); font-weight: 600; }
.pile-n { font-variant-numeric: tabular-nums; }
@media (max-width: 980px) {
  .table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pile-wrap:nth-child(3n+2) { transform: none; }
  .pile-wrap:nth-child(2n) { transform: translateY(clamp(20px, 5vw, 48px)); }
}
@media (max-width: 600px) {
  .table { grid-template-columns: 1fr; gap: 64px; }
  .pile-wrap:nth-child(2n) { transform: none; }
  .pile { width: 86%; }
  .pile.portrait { width: 66%; }
}
@media (prefers-reduced-motion: reduce) { .print, .print.out { transition: opacity .2s linear; } }
