/* TRAME - landing di trame.page. Colori e carattere del kit di famiglia (TRAME-kit-famiglia-v1). */
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"); 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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --navy-900: #061624; --navy-800: #0b1e30; --navy-700: #0f2a42; --line: #1c3550; --line-2: #2b4560;
  --accent: #00a8f5; --accent-deep: #0c65f4; --accent-soft: #b3daef;
  --text: #ffffff; --text-2: #dbe7f0; --text-3: #b3c7d6; --text-4: #8ea6b8;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--navy-900); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--navy-900); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-soft); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--navy-900); padding: 10px 14px; border-radius: 4px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }

/* Testata */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand__name { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; }
.slash { display: block; width: 10px; height: 40px; background: var(--accent); transform: skewX(-18deg); flex: 0 0 auto; }
.slash--s { width: 7px; height: 26px; }
.brand__claim { max-width: 230px; font-size: 11px; line-height: 1.3; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.lang { display: flex; gap: 6px; font-size: 14px; font-weight: 600; }
.lang a { color: var(--text); padding: 10px 14px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line-2); min-width: 44px; text-align: center; }
.lang a[aria-current] { color: var(--navy-900); background: var(--accent); border-color: var(--accent); }

/* Mosaico */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); gap: 10px; margin-top: 32px; }
.tile { border-radius: 4px; overflow: hidden; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .85; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--tint img { opacity: .8; filter: grayscale(1) contrast(1.05); }
.tile--tint::after { content: ""; position: absolute; inset: 0; background: var(--accent-deep); mix-blend-mode: multiply; opacity: .45; }
.intro { display: flex; flex-direction: column; justify-content: center; padding: 36px; background: var(--navy-800); }
.stripe { position: absolute; top: -30px; height: 140%; transform: skewX(-24deg); pointer-events: none; }
.stripe--a { right: 3%; width: 54px; background: var(--accent); opacity: .8; }
.stripe--b { right: 13%; width: 20px; background: var(--accent-deep); opacity: .6; }
.intro > *:not(.stripe) { position: relative; }
.kicker { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--accent-soft); }
.bar { display: block; width: 44px; height: 5px; background: var(--accent); margin-bottom: 22px; }
.intro h1 { margin: 0; font-size: clamp(56px, 8vw, 112px); line-height: .92; font-weight: 800; letter-spacing: -3px; }
.lead { margin: 22px 0 0; max-width: 400px; font-size: 19px; line-height: 1.5; color: var(--text-2); }
.hello { margin: 14px 0 0; max-width: 400px; font-size: 15px; line-height: 1.6; color: var(--text-3); }
.tile--year { display: flex; align-items: flex-end; padding: 18px; background: var(--navy-700); }
.year { position: absolute; right: 10px; top: 4px; font-size: 72px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.35); }
.year--big { font-size: 120px; right: 22px; top: 24px; -webkit-text-stroke-width: 1.5px; }
.tag { position: relative; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-soft); }
.credits-line { margin: 12px 0 0; font-size: 12px; color: var(--text-4); }

/* Le trame */
.trame { padding-top: 80px; padding-bottom: 40px; }
.trame h2 { margin: 0 0 40px; font-size: 44px; line-height: 1.1; font-weight: 700; }
.covers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 500px; overflow: hidden; border-radius: 6px; background: var(--navy-800); color: var(--text); text-decoration: none; }
.cover--wait { background: var(--navy-700); }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: grayscale(1); }
.cover .stripe { top: -20px; height: 62%; }
.cover .stripe--a { right: 12%; width: 46px; opacity: .75; transform: skewX(-22deg); }
.cover .stripe--c { right: 22%; width: 30px; background: var(--accent-deep); opacity: .55; transform: skewX(-22deg); }
.cover__body { position: relative; padding: 36px; }
.cover--live .cover__body { background: linear-gradient(0deg, var(--navy-800) 30%, rgba(11,30,48,0)); }
.lockup { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.cover h3 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; }
.cover p.d { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: #c9d8e3; }
.cover .go { margin: 20px 0 0; font-size: 15px; font-weight: 700; color: var(--accent); }
.cover .langs { margin: 20px 0 0; font-size: 14px; font-weight: 600; color: var(--accent-soft); }
.pill { position: absolute; left: 36px; top: 32px; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--navy-900); background: var(--accent-soft); padding: 8px 12px; border-radius: 999px; }
a.cover:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.next { display: flex; flex-direction: column; justify-content: center; min-height: 500px; padding: 36px; border: 2px dashed var(--line-2); border-radius: 6px; }
.next h3 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; }
.next p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-3); }

/* Piede */
.foot { margin-top: 56px; border-top: 1px solid var(--line); color: var(--text-3); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; line-height: 1.6; }
.foot p { margin: 0; max-width: 760px; }

/* Pagina Fonti */
.src { padding-top: 40px; padding-bottom: 40px; max-width: 900px; }
.src h1 { font-size: 44px; line-height: 1.1; margin: 0 0 16px; }
.src p.l { color: var(--text-2); font-size: 17px; line-height: 1.6; margin: 0 0 32px; }
.src ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.src li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 18px; background: var(--navy-800); border-radius: 6px; }
.src li img { width: 120px; height: 80px; object-fit: cover; filter: grayscale(1); border-radius: 3px; }
.src .t { margin: 0 0 6px; font-weight: 700; line-height: 1.4; }
.src .m { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.src h2 { font-size: 24px; margin: 40px 0 12px; }

@media (max-width: 720px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--big { grid-column: span 2; grid-row: auto; }
  .tile--big.tile--tint { min-height: 200px; }
  .intro { padding: 28px 22px; }
  .trame h2 { font-size: 32px; }
  .cover { min-height: 440px; }
  .next { min-height: 0; }
  .stripe--b { display: none; }
  .stripe--a { right: -18px; width: 40px; }
  .lead, .hello { max-width: 82%; }
  .cover__body, .next { padding: 26px; }
  .pill { left: 26px; top: 24px; }
  .brand__claim { max-width: 180px; }
  .src li { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) { a.cover { transition: transform .2s; } a.cover:hover { transform: translateY(-3px); } }

/* Trasparenza e privacy (TRAME-S02) */
.tp p:not(.l):not(.tp-sign) { color: var(--text-2); font-size: 17px; line-height: 1.7; margin: 0 0 14px; max-width: 760px; }
.tp-sign { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line); line-height: 1.7; max-width: 760px; }
.tp-sign span { font-size: 14px; color: var(--text-3); }
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 420px) { .tp h1 { font-size: 34px; } }
.cover--wait .cover__img { object-position: 50% 40%; }
.cover--wait .cover__body { background: linear-gradient(0deg, var(--navy-700) 30%, rgba(11,30,48,0)); }
