/* ==========================================================
   Modica Innova Hackathon · Edizione 02
   Sistema visivo dallo Sponsorship Book HKT26
   Due cervelli: html.is-desk / html.is-mob
   ========================================================== */

:root {
  --dark: #27282d;
  --dark-2: #1f2024;
  --dark-3: #303137;
  --red: #ff3b2f;
  --red-2: #ff5a55;
  --coral: #ff9a8b;
  --indigo: #4347a3;
  --navy: #123f74;
  --teal: #4bb19c;
  --cyan: #66cfe6;
  --lav: #e2dfe9;
  --white: #ffffff;
  --grey: #6d6d75;
  --line: rgba(39, 40, 45, .16);
  --line-l: rgba(255, 255, 255, .16);

  --g: clamp(16px, 4.4vw, 64px);          /* gutter */
  --body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --arch: "Archivo", "Arial Black", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--dark);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 900; }
.wrap { padding: 0 var(--g); max-width: 1680px; margin: 0 auto; }
::selection { background: var(--red); color: #fff; }

/* ---------- Tipografia ---------- */
.wide, h2, h3, .title, .btn, .panel h3 {
  font-family: var(--arch); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.01em; line-height: .95;
}
.cond { font-family: var(--arch); font-stretch: 62%; font-weight: 800; }
.label {
  font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; line-height: 1.4; display: inline-block;
}
.label.red, .red-t { color: var(--red); }
.label.cyan { color: var(--cyan); }
.title { font-size: clamp(2.3rem, 6.4vw, 6.4rem); margin: 0 0 28px; }
.title i, .nav-links i, .mmenu i {
  font-style: normal; font-family: var(--arch); font-stretch: 62%; font-weight: 800;
  color: var(--red); letter-spacing: 0;
}
.title i { font-size: .34em; margin-right: .5em; vertical-align: .9em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.45rem); max-width: 56ch; color: var(--grey); }
.dark .lead { color: #b9b8c0; }
.red-bg .lead { color: #fff; }

.dark { background: var(--dark); color: #fff; }
.red-bg { background: var(--red); color: #fff; }
.lav-bg { background: var(--lav); }
.navy-bg { background: var(--navy); color: #fff; }

section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.sec-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.dark .sec-head, .sec-head.light { border-color: var(--line-l); }
.row-meta {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
}
.sprintaly { font-family: var(--arch); font-stretch: 75%; font-weight: 800; letter-spacing: -.02em; text-transform: none; font-size: 1.5em; }
.powered { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: 0; color: #fff; }
.foot-powered .powered { font-size: 1.3rem; }

/* ---------- Bottoni ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 26px; font-size: 13px; letter-spacing: .06em; line-height: 1;
  overflow: hidden; isolation: isolate; white-space: nowrap; border: 1.5px solid transparent;
}
.btn span { position: relative; z-index: 1; display: inline-block; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; transform: scaleY(0);
  transform-origin: bottom; transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn-red { background: var(--red); color: #fff; }
.btn-red::before { background: var(--dark); }
.dark .btn-red::before { background: #fff; }
.dark .btn-red:hover { color: var(--dark); }
.btn-line { border-color: currentColor; color: #fff; }
.btn-line::before { background: #fff; }
.btn-line:hover { color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark::before { background: #fff; }
.btn-dark:hover { color: var(--dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white::before { background: var(--red); }
.btn-white:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--dark); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--g);
  clip-path: inset(0 0 0 0);
  animation: loaderFailsafe 0s 5s forwards;
}
@keyframes loaderFailsafe { to { visibility: hidden; } }
.no-js .loader { display: none; }
.loader-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.loader-num {
  font-family: var(--arch); font-stretch: 125%; font-weight: 900; line-height: .8;
  font-size: clamp(6rem, 26vw, 24rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.loader-bar { height: 4px; background: rgba(255,255,255,.12); }
.loader-bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursore (desktop) ---------- */
.cursor, .follow-card { display: none; }
.is-desk .cursor {
  display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 900;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; pointer-events: none;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .25s;
}
.is-desk .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.is-desk .cursor.is-label {
  width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--red); mix-blend-mode: normal;
}
.cursor-label {
  font-family: var(--arch); font-stretch: 125%; font-weight: 900; font-size: 11px;
  text-transform: uppercase; letter-spacing: .04em; color: #fff; opacity: 0; transition: opacity .2s;
}
.cursor.is-label .cursor-label { opacity: 1; }
.is-desk.has-cursor, .is-desk.has-cursor a, .is-desk.has-cursor button, .is-desk.has-cursor summary { cursor: none; }
.cursor.is-hidden { opacity: 0; }

.is-desk .follow-card {
  display: block; position: fixed; left: 0; top: 0; z-index: 800; pointer-events: none;
  padding: 16px 20px; color: #fff; background: var(--red);
  font-family: var(--arch); font-stretch: 110%; font-weight: 800; text-transform: uppercase;
  font-size: 15px; letter-spacing: .02em; max-width: 280px; line-height: 1.15;
  transform: translate(-50%, -140%) scale(0); transform-origin: 50% 100%;
}

/* ---------- Progress + Nav ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 600; background: var(--red); transform: scaleX(0); transform-origin: left; }

.nav {
  position: fixed; z-index: 500; top: 14px; left: var(--g); right: var(--g);
  display: flex; align-items: center; gap: 10px;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }
.nav-logo, .nav-links, .nav-burger {
  background: rgba(31, 32, 36, .88); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-logo { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; }
.nav-logo b { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 13px; }
.nav-logo span { font-family: var(--arch); font-stretch: 62%; font-weight: 800; color: var(--coral); font-size: 15px; }
.nav-links { display: flex; margin-left: auto; padding: 0 8px; }
.nav-links a {
  padding: 14px 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  position: relative; color: #cfcfd6; transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-links i { font-size: 13px; margin-right: 6px; }
.nav-cta { padding: 15px 22px; margin-left: auto; transition: background .4s; }
.nav.on-red .nav-cta { background: var(--dark); }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; padding: 88px var(--g) 22px;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 24px; overflow: hidden;
}
.hero-meta { color: #a9a8b1; border-bottom: 1px solid var(--line-l); padding-bottom: 16px; }
.hero-center { align-self: center; }
.hero-kicker {
  font-family: var(--arch); font-stretch: 85%; font-weight: 500; color: var(--coral);
  font-size: clamp(1.4rem, 2.6vw, 2.4rem); margin: 0 0 .1em;
}
.hero-title {
  font-family: var(--arch); text-transform: uppercase; line-height: .82; letter-spacing: -.02em;
  font-size: calc((100vw - 2 * var(--g)) / 9.4); white-space: nowrap; margin: 0; user-select: none;
}
.ht-line { display: inline-block; overflow: hidden; padding-bottom: .04em; }
.ht {
  display: inline-block; font-variation-settings: "wdth" 125, "wght" 900; will-change: font-variation-settings;
}
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.9rem); margin: .5em 0 0; font-family: var(--arch); font-stretch: 100%; font-weight: 400; }

.hero-bottom { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 32px; align-items: end; border-top: 1px solid var(--line-l); padding-top: 22px; }
.hero-q p { font-family: var(--arch); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.1; margin: 8px 0 0; }
.hero-cd .label { color: #a9a8b1; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-foot { color: #85848d; }
.hint-m { display: none; }

/* Countdown */
.cd { display: flex; gap: 18px; margin-top: 6px; }
.cd div { display: flex; align-items: baseline; gap: 4px; }
.cd b {
  font-family: var(--arch); font-stretch: 62%; font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.cd small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(14px, 2vw, 26px) 0; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span {
  font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: lowercase;
  font-size: clamp(2.2rem, 6vw, 6rem); line-height: 1; padding-right: .6em; letter-spacing: -.02em;
}
.marquee-track span:nth-child(even) { color: var(--dark); }
.no-anim .marquee-track { animation: marq 40s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- 01 La sfida ---------- */
.sfida { padding-bottom: 0; }
.manifesto {
  font-family: var(--arch); font-stretch: 100%; font-weight: 500; letter-spacing: -.015em;
  font-size: clamp(1.7rem, 4.2vw, 4.2rem); line-height: 1.08; max-width: 22ch; margin: 0 0 clamp(80px, 10vw, 140px);
}
.manifesto em { font-style: normal; color: var(--red); }
.anim .manifesto .w { opacity: .14; }

.sfida-pin { position: relative; }
.panel {
  position: relative; overflow: hidden; padding: clamp(28px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 20px;
}
.panel-idx { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; position: absolute; top: clamp(28px, 5vw, 64px); left: clamp(28px, 5vw, 72px); }
.panel h2.xl { font-size: clamp(2.6rem, 7vw, 7.6rem); max-width: 12ch; }
.panel h3 { font-size: clamp(2rem, 4.4vw, 4.8rem); max-width: 13ch; position: relative; z-index: 1; }
.panel p { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 38ch; margin: 0; position: relative; z-index: 1; }
.panel-big {
  position: absolute; right: -.04em; top: 50%; transform: translateY(-58%);
  font-family: var(--arch); font-stretch: 62%; font-weight: 900; line-height: .8;
  font-size: clamp(14rem, 44vh, 34rem); opacity: .16; pointer-events: none;
}
.panel-hint { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.c-coral { background: var(--coral); color: var(--dark); }
.c-indigo { background: var(--indigo); color: #fff; }
.c-teal { background: var(--teal); color: var(--dark); }
.c-navy { background: var(--navy); color: #fff; }
.c-cyan { background: var(--cyan); color: var(--dark); }
.sfida-prog { position: absolute; left: var(--g); right: var(--g); bottom: 28px; height: 3px; background: rgba(0,0,0,.14); z-index: 5; }
.sfida-prog i { display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }

/* Desktop: pista orizzontale */
.is-desk .sfida-pin { height: 100vh; overflow: hidden; }
.is-desk .sfida-track { display: flex; height: 100%; width: max-content; }
.is-desk .panel { width: 62vw; height: 100%; flex: 0 0 auto; }
.is-desk .panel-intro { width: 84vw; }
.is-desk .panel-outro { width: 58vw; }
.is-desk .hint-m { display: none; }

/* ---------- 02 Hackathon ---------- */
.icons3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 64px 0 80px; }
.ic { border-top: 2px solid var(--grey); padding-top: 22px; }
.ic svg { width: 48px; height: 48px; margin-bottom: 14px; }
.ic p { font-size: 1.05rem; max-width: 26ch; }
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dark); }
.rule {
  position: relative; display: grid; grid-template-columns: 90px 1.1fr 1fr; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line); isolation: isolate;
  transition: color .35s, padding .5s var(--ease);
}
.rule::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--red));
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.rule[data-color="red"] { --c: var(--red); }
.rule[data-color="coral"] { --c: var(--coral); }
.rule[data-color="indigo"] { --c: var(--indigo); }
.rule[data-color="teal"] { --c: var(--teal); }
.rule-n { font-family: var(--arch); font-stretch: 62%; font-weight: 800; font-size: 2.2rem; color: var(--red); transition: color .35s; }
.rule-t { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 2.2rem); line-height: 1; }
.rule-d { color: var(--grey); transition: color .35s; }
.is-desk .rule:hover, .rule.is-active { color: #fff; padding-left: 24px; padding-right: 24px; }
.is-desk .rule:hover::before, .rule.is-active::before { transform: scaleY(1); }
.is-desk .rule:hover .rule-n, .is-desk .rule:hover .rule-d, .rule.is-active .rule-n, .rule.is-active .rule-d { color: inherit; }

/* ---------- 03 Chi cerchiamo ---------- */
.who .sec-head { border-color: rgba(39,40,45,.2); }
.who-list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--dark); }
.who-row {
  width: 100%; text-align: left; position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px 1fr auto 48px; gap: 20px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid rgba(39,40,45,.2); transition: padding .5s var(--ease), color .3s;
}
.who-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.who-row[data-color="red"] { --c: var(--red); }
.who-row[data-color="coral"] { --c: var(--coral); }
.who-row[data-color="indigo"] { --c: var(--indigo); }
.who-row[data-color="teal"] { --c: var(--teal); }
.who-row[data-color="cyan"] { --c: var(--cyan); }
.who-row[data-color="navy"] { --c: var(--navy); }
.who-n { font-family: var(--arch); font-stretch: 62%; font-weight: 800; font-size: 1.6rem; color: var(--red); }
.who-t { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, 3.4vw, 3.4rem); line-height: .98; letter-spacing: -.01em; }
.who-d { color: var(--grey); font-size: .95rem; }
.who-x {
  width: 40px; height: 40px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; justify-self: end;
  transition: background .3s, transform .5s var(--ease);
}
.who-x::before, .who-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.who-x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.who-row[aria-pressed="true"] { color: #fff; padding-left: 20px; padding-right: 20px; }
.who-row[aria-pressed="true"][data-color="coral"], .who-row[aria-pressed="true"][data-color="teal"], .who-row[aria-pressed="true"][data-color="cyan"] { color: var(--dark); }
.who-row[aria-pressed="true"]::before { transform: scaleY(1); }
.who-row[aria-pressed="true"] .who-n, .who-row[aria-pressed="true"] .who-d { color: inherit; }
.who-row[aria-pressed="true"] .who-x { transform: rotate(135deg); }
.is-desk .who-d { display: none; }
.is-desk .who-row:hover:not([aria-pressed="true"]) { padding-left: 20px; }
.is-desk .who-row:hover .who-t { color: var(--c); }
.is-desk .who-row[aria-pressed="true"]:hover .who-t { color: inherit; }

.who-result {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px;
  padding: 26px 28px; background: var(--dark); color: #fff;
}
.who-count { font-family: var(--arch); font-stretch: 62%; font-weight: 800; line-height: .9; }
.who-count b { font-size: clamp(3.4rem, 6vw, 5.4rem); color: var(--red); display: inline-block; font-weight: 800; }
.who-count span { font-size: 1.6rem; opacity: .5; }
.who-result p {
  flex: 1; min-width: 200px; margin: 0; font-family: var(--arch); font-stretch: 125%; font-weight: 800;
  text-transform: uppercase; font-size: clamp(1rem, 1.6vw, 1.4rem); line-height: 1.15;
}
.who-result .btn-red::before { background: #fff; }
.who-result .btn-red:hover { color: var(--dark); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.fact { border-top: 2px solid var(--dark); padding-top: 18px; }
.fact b { display: block; font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; margin: 12px 0; }
.fact p { color: var(--grey); max-width: 30ch; }

/* ---------- 04 Date ---------- */
.tl { position: relative; margin-top: 64px; }
.tl-line { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line); }
.tl-line i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.tl ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tl li { position: relative; padding-top: 44px; }
.tl li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--dark); transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.tl li.lit::before { background: var(--red); border-color: var(--red); transform: scale(1.25); }
.tl li.done { opacity: .45; }
.tl-d { display: block; font-family: var(--arch); font-stretch: 62%; font-weight: 800; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; margin-bottom: 10px; }
.tl li.hot .tl-d { color: var(--red); }
.tl-t { color: var(--grey); display: block; max-width: 22ch; }

/* ---------- 05 Programma ---------- */
.days { display: flex; gap: 12px; margin-top: 56px; min-height: 540px; }
.day {
  --c: var(--red); flex: 1 1 0; min-width: 0; background: var(--dark-3); position: relative; overflow: hidden;
  padding: 30px; display: flex; flex-direction: column; gap: 24px; border-top: 6px solid var(--c);
  transition: flex-grow .8s var(--ease), background .4s;
}
.day[data-color="indigo"] { --c: #7a7fe0; }
.day[data-color="teal"] { --c: var(--teal); }
.day header .label { color: #a9a8b1; }
.day-n { display: block; font-family: var(--arch); font-stretch: 62%; font-weight: 900; font-size: clamp(5rem, 9vw, 9rem); line-height: .85; color: var(--c); margin: 18px 0 8px; }
.day h3 { font-size: clamp(1.05rem, 1.5vw, 1.7rem); max-width: 14ch; hyphens: auto; }
.day ul { list-style: none; margin: auto 0 0; padding: 0; }
.day li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-l); color: #d6d5dc; }
.day time { font-family: var(--arch); font-stretch: 62%; font-weight: 700; font-size: 1.15rem; color: #fff; font-variant-numeric: tabular-nums; }
.day li.open { color: #fff; }
.day li.open time { color: var(--c); }
.is-desk .day { cursor: pointer; }
.is-desk .day ul { opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .6s var(--ease); white-space: nowrap; }
.is-desk .day.is-open { flex-grow: 2.6; background: #36373e; }
.is-desk .day.is-open ul { opacity: 1; transform: none; white-space: normal; transition-delay: .25s; }
.days-dots { display: none; }
.note { margin-top: 24px; color: #9d9ca5; font-size: .95rem; }
.pill-open { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); padding: 3px 8px; margin: 0 4px; }

/* ---------- 06 Finale ---------- */
.finale-title {
  font-size: clamp(3.2rem, 11vw, 12rem); line-height: .86; margin: 0 0 56px; letter-spacing: -.025em;
}
.finale .sec-head .label { color: #fff; }
.finale-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.vote-how { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.vote-how div { border-top: 2px solid #fff; padding-top: 14px; }
.vote-how b { display: block; font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.25rem; margin-bottom: 6px; }
.vote-how span { color: #ffe1dc; }
.finale-box { background: var(--dark); color: #fff; padding: 32px; }
.finale-box dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 0 0 24px; }
.finale-box dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); padding-top: 3px; }
.finale-box dd { margin: 0; font-weight: 500; }
.cd-sm { border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); padding: 16px 0; margin-bottom: 24px; justify-content: space-between; }
.finale-box .btn-dark { background: var(--red); }

/* ---------- 07 Edizione 01 ---------- */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid rgba(39,40,45,.2); }
.num { padding: 32px 28px 36px 0; border-bottom: 1px solid rgba(39,40,45,.2); }
.num:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid rgba(39,40,45,.2); }
.dash { display: block; width: 104px; height: 7px; margin-bottom: 22px; background: linear-gradient(90deg, var(--c) 46%, transparent 46% 54%, var(--c) 54%); }
.dash.red { --c: var(--red); }
.dash.indigo { --c: var(--indigo); }
.num b { display: block; font-family: var(--arch); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 6.6vw, 6.8rem); line-height: .9; letter-spacing: -.03em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.quote { margin: 96px 0 0; max-width: 1100px; }
.quote blockquote { margin: 0 0 20px; font-family: var(--arch); font-stretch: 100%; font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.015em; }
.quote figcaption { color: var(--grey); }
.press { margin-top: 80px; }
.press .label { color: var(--grey); margin-bottom: 14px; }
.press-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.press-grid a {
  background: #fff; min-height: 100px; display: grid; place-items: center; padding: 16px; text-align: center;
  font-family: var(--arch); font-stretch: 100%; font-weight: 800; font-size: 1.05rem; color: var(--grey);
  transition: background .35s, color .35s;
}
.press-grid a:hover { background: var(--dark); color: #fff; }
.path { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 56px; padding: 22px 28px; background: var(--dark); color: #fff; }
.path .label { color: #a9a8b1; }
.path b { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1rem, 1.8vw, 1.5rem); }
.path em { font-style: normal; color: var(--red); }

/* ---------- 08 FAQ ---------- */
.faq-list { border-top: 1px solid var(--dark); margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 28px 64px 28px 0;
  font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.05rem, 2vw, 1.8rem); line-height: 1.05; transition: color .3s, padding .5s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--lav); color: var(--dark); font-family: var(--body); font-weight: 400; font-size: 1.6rem;
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); background: var(--red); color: #fff; }
.is-desk .faq summary:hover { color: var(--red); padding-left: 16px; }
.faq details > div { overflow: hidden; }
.faq details p { color: var(--grey); font-size: 1.1rem; max-width: 60ch; padding-bottom: 28px; margin: 0; }

/* ---------- 09 Organizza + Partner ---------- */
.org { padding-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.org-grid { display: grid; grid-template-columns: 1fr 1fr; }
.org-col { padding: 8px 40px 32px 0; }
.org-col + .org-col { border-left: 1px solid var(--line); padding-left: 40px; }
.org-col h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin: 14px 0 26px; }
.org-col p { color: var(--grey); max-width: 46ch; }
.org-col small { color: var(--grey); letter-spacing: .12em; }
.c-red-t { color: var(--red); }
.c-indigo-t { color: var(--indigo); }
.partner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: clamp(28px, 4vw, 56px); margin-top: 64px; align-items: start; }
.partner h3 { font-size: clamp(1.8rem, 3.6vw, 3.4rem); margin: 14px 0 18px; }
.partner p { color: #c8d4e4; max-width: 44ch; }
.partner ul { list-style: none; margin: 0; padding: 0; }
.partner li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-l); }
.partner li b { font-family: var(--arch); font-stretch: 62%; font-weight: 800; font-size: 2.2rem; color: var(--cyan); min-width: 72px; line-height: 1; }
.partner .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- Footer ---------- */
.foot { padding: 72px 0 28px; overflow: hidden; }
.foot > .wrap > .row-meta:first-child { color: #a9a8b1; }
.foot-big {
  margin: 64px 0 24px; font-family: var(--arch); text-transform: uppercase; line-height: .84; letter-spacing: -.02em;
  font-size: calc((100vw - 2 * var(--g)) / 9.6); user-select: none;
}
.fb-w { display: block; white-space: nowrap; }
.fb-w .ht { font-variation-settings: "wdth" 125, "wght" 900; }
.foot-tags { color: var(--coral); font-family: var(--arch); font-stretch: 75%; font-size: clamp(1rem, 1.6vw, 1.35rem); margin-bottom: 40px; }
.foot-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 72px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line-l); }
.foot-grid .label { color: #85848d; display: block; margin-bottom: 12px; }
.foot-grid a { display: block; margin-bottom: 6px; color: #d6d5dc; }
.foot-grid a:hover { color: var(--red); }
.foot-grid p { color: #d6d5dc; }
.foot-powered { text-align: right; }
.foot-bottom { margin-top: 40px; color: #85848d; }

.mbar { display: none; }

/* ==========================================================
   CERVELLO MOBILE
   ========================================================== */
.is-mob body { font-size: 16px; }
.is-mob .hide-m { display: none; }
.is-mob .hint-d { display: none; }
.is-mob .hint-m { display: inline; }

/* Nav mobile */
.is-mob .nav { top: 10px; left: 10px; right: 10px; }
.is-mob .nav-links, .is-mob .nav-cta { display: none; }
.is-mob .nav-logo { padding: 13px 16px; }
.is-mob .nav-burger {
  display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 13px 16px; position: relative; z-index: 2;
}
.nav-burger span { display: none; }
.nav-burger em { font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.nav-burger::before {
  content: ""; width: 18px; height: 8px; border-top: 2px solid #fff; border-bottom: 2px solid #fff;
  transition: transform .4s var(--ease), height .4s var(--ease);
}
.menu-open .nav-burger::before { height: 0; border-bottom: 0; transform: rotate(45deg) scaleX(.9); }
.menu-open .nav.is-hidden { transform: none; }

.mmenu {
  position: fixed; inset: 0; z-index: 450; background: var(--red); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 96px 20px calc(24px + env(safe-area-inset-bottom));
  clip-path: circle(0% at calc(100% - 50px) 34px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-open .mmenu { clip-path: circle(150% at calc(100% - 50px) 34px); visibility: visible; transition: clip-path .8s var(--ease); }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a {
  font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 9vw, 3rem); line-height: 1.05; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: baseline; gap: 14px;
}
.mmenu nav a i { color: var(--dark); font-size: .45em; }
.mmenu-foot { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.is-desk .mmenu { display: none; }

/* Hero mobile */
.is-mob .hero { padding: 80px 16px 18px; gap: 18px; }
.is-mob .hero-title { font-size: calc((100vw - 32px) / 5.55); white-space: normal; line-height: .84; }
.is-mob .ht-line { display: block; }
.is-mob .hero-bottom { grid-template-columns: 1fr; gap: 20px; }
.is-mob .hero-ctas .btn { flex: 1; }
.is-mob .cd { gap: 12px; }

/* Sfida mobile: carte che si impilano */
.is-mob .sfida-track { padding: 0 10px 40px; }
.is-mob .panel {
  position: sticky; top: calc(70px + var(--i, 0) * 10px); min-height: 74svh; min-height: 74vh;
  margin-bottom: 18px; transform-origin: 50% 0; border-radius: 4px;
}
.is-mob .panel::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.is-mob .panel-big { font-size: 58vw; top: 38%; }
.is-mob .panel h2.xl { font-size: clamp(1.8rem, 7.6vw, 3.4rem); }
.is-mob .panel h3 { font-size: clamp(1.5rem, 7vw, 2.8rem); overflow-wrap: anywhere; }
.is-mob .panel-idx { top: 24px; left: 24px; }
.is-mob .panel { padding: 24px; }
.is-mob .manifesto { margin: 0 0 64px; }

/* Hackathon mobile */
.is-mob .icons3 { grid-template-columns: 1fr; gap: 0; margin: 40px 0 56px; }
.is-mob .ic { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; border-top-width: 1px; padding: 16px 0; }
.is-mob .ic svg { width: 36px; height: 36px; margin: 0; }
.is-mob .ic p { margin: 0; }
.is-mob .rule { grid-template-columns: 52px 1fr; gap: 6px 12px; padding: 22px 0; }
.is-mob .rule-d { grid-column: 2; font-size: .95rem; }
.is-mob .rule-n { font-size: 1.8rem; grid-row: span 2; align-self: start; }
.is-mob .rule.is-active { padding-left: 14px; padding-right: 14px; }

/* Chi cerchiamo mobile */
.is-mob .who-row { grid-template-columns: 1fr 40px; grid-template-areas: "t x" "d x"; gap: 4px 14px; padding: 20px 0; }
.is-mob .who-n { display: none; }
.is-mob .who-t { grid-area: t; font-size: clamp(1.25rem, 6.2vw, 1.9rem); }
.is-mob .who-d { grid-area: d; }
.is-mob .who-x { grid-area: x; width: 36px; height: 36px; }
.is-mob .who-row[aria-pressed="true"] { padding-left: 14px; padding-right: 14px; }
.is-mob .who-result { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 5; padding: 16px 18px; gap: 14px; }
.is-mob .who-count b { font-size: 3rem; }
.is-mob .who-result .btn { width: 100%; }
.is-mob .facts { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }

/* Date mobile: timeline verticale */
.is-mob .tl-line { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
.is-mob .tl-line i { transform: scaleY(0); transform-origin: top; }
.is-mob .tl ol { grid-template-columns: 1fr; gap: 0; }
.is-mob .tl li { padding: 0 0 36px 44px; }
.is-mob .tl-d { font-size: 2.8rem; }

/* Programma mobile: carosello a scatto */
.is-mob .days {
  min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; margin: 40px -16px 0; padding: 0 16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.is-mob .days::-webkit-scrollbar { display: none; }
.is-mob .day { flex: 0 0 86%; scroll-snap-align: center; padding: 24px; }
.is-mob .day-n { font-size: 5.4rem; }
.is-mob .days-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.is-mob .days-dots i { width: 8px; height: 8px; border-radius: 8px; background: #5a5a62; transition: width .4s var(--ease), background .3s; }
.is-mob .days-dots i.on { width: 28px; background: var(--red); }

/* Finale mobile */
.is-mob .finale-grid, .is-mob .vote-how { grid-template-columns: 1fr; gap: 28px; }
.is-mob .finale-title { font-size: clamp(2rem, 9.6vw, 4.4rem); margin: 0 0 32px; }
.is-mob .finale-box { padding: 22px; }
.is-mob .finale-box .btn { width: 100%; }

/* Numeri mobile */
.is-mob .nums { grid-template-columns: 1fr 1fr; }
.is-mob .num, .is-mob .num:not(:nth-child(3n+1)) { padding: 24px 12px 24px 0; border-left: 0; }
.is-mob .num:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(39,40,45,.2); }
.is-mob .num b { font-size: clamp(2.6rem, 13vw, 4rem); }
.is-mob .dash { width: 64px; height: 5px; margin-bottom: 16px; }
.is-mob .press-grid { grid-template-columns: 1fr 1fr; }
.is-mob .press-grid a { min-height: 76px; }
.is-mob .press-grid a:last-child { grid-column: 1 / -1; }

/* FAQ, org, footer mobile */
.is-mob .faq summary { padding: 22px 56px 22px 0; }
.is-mob .faq summary::after { width: 38px; height: 38px; }
.is-mob .org-grid, .is-mob .partner { grid-template-columns: 1fr; }
.is-mob .org-col, .is-mob .org-col + .org-col { padding: 24px 0; border-left: 0; }
.is-mob .org-col + .org-col { border-top: 1px solid var(--line); }
.is-mob .partner .btn { width: 100%; white-space: normal; text-align: center; }
.is-mob .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.is-mob .foot-big { font-size: calc((100vw - 32px) / 7.4); }
.is-mob .fb-w:first-child { font-size: .78em; }
.is-mob .foot-cta .btn { flex: 1; }
.is-mob .foot-grid { grid-template-columns: 1fr 1fr; }
.is-mob .foot-powered { grid-column: 1 / -1; text-align: left; }
.is-mob .row-meta { font-size: 11px; letter-spacing: .16em; }

/* Barra fissa in basso (solo mobile) */
.is-mob .mbar {
  display: flex; align-items: center; gap: 12px; position: fixed; z-index: 400;
  left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(31, 32, 36, .92); color: #fff; padding: 8px 8px 8px 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.is-mob .mbar.show { transform: none; }
.mbar-cd { flex: 1; display: flex; flex-direction: column; }
.mbar-cd .label { font-size: 10px; letter-spacing: .14em; color: #a9a8b1; white-space: nowrap; }
.mbar-cd b { font-family: var(--arch); font-stretch: 62%; font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.mbar .btn { padding: 16px 20px; }

/* Schermi medi desktop */
@media (max-width: 1240px) {
  .is-desk .nav-links a { padding: 14px 10px; }
  .is-desk .nav-links i { display: none; }
  .is-desk .hero-bottom { grid-template-columns: 1fr 1fr; }
  .is-desk .hero-ctas { grid-column: 1 / -1; }
}
/* Tablet in modalità mobile */
@media (min-width: 700px) {
  .is-mob .panel { min-height: 60vh; }
  .is-mob .nums { grid-template-columns: repeat(3, 1fr); }
  .is-mob .day { flex-basis: 60%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Ritocchi mobile */
.is-mob .foot-cta { flex-direction: column; }
.is-mob .foot-cta .btn { width: 100%; }
.is-mob .foot-grid p, .is-mob .foot-grid a { overflow-wrap: anywhere; }
.is-mob .mmenu-foot { flex-direction: column; gap: 6px; }

/* ---------- Logo Modica Innova ---------- */
.mi { display: block; color: #fff; aspect-ratio: 906 / 252; height: auto; }
.mi-nav { width: 118px; }
.mi-hero { width: clamp(150px, 16vw, 250px); margin-bottom: .3em; }
.pw { display: inline-flex; align-items: center; gap: 10px; }
.mi-sm { width: 96px; }
.mi-foot { width: 170px; margin-left: auto; }
.mi-org { width: clamp(200px, 22vw, 300px); color: var(--dark); margin-bottom: 20px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loader-brand { display: inline-flex; align-items: center; gap: 12px; }
.loader-mark { width: 44px; aspect-ratio: 404 / 252; animation: miPulse 1.1s ease-in-out infinite alternate; }
@keyframes miPulse { to { transform: scale(1.12); } }
.is-mob .mi-nav { width: 100px; }
.is-mob .mi-hero { width: 170px; }
.is-mob .mi-foot { margin-left: 0; }
.logo-sprintaly { display: block; width: clamp(180px, 20vw, 270px); height: auto; margin: 14px 0 26px; }
.num.n-red b { color: var(--red); }
.num.n-indigo b { color: var(--indigo); }

/* ---------- Galleria edizione 01 ---------- */
.gallery-head { display: flex; justify-content: space-between; margin: 96px 0 20px; color: var(--grey); }
.gallery-count b { color: var(--red); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.g-col { display: flex; flex-direction: column; gap: 16px; will-change: transform; }
.g-col:nth-child(2) { margin-top: 120px; }
.g-col:nth-child(3) { margin-top: 40px; }
.ph {
  position: relative; margin: 0; overflow: hidden; background: #d4d0de; aspect-ratio: 4 / 5;
}
.g-col:nth-child(1) .ph:first-child, .g-col:nth-child(3) .ph:first-child { aspect-ratio: 3 / 4; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); transition: transform 1.2s var(--ease), filter .6s; }
.ph figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.55)); display: flex; justify-content: space-between; gap: 10px;
}
.is-desk .ph figcaption { transform: translateY(100%); transition: transform .6s var(--ease); }
.is-desk .ph:hover figcaption { transform: none; }
.ph-empty { aspect-ratio: 16 / 10; border: 1.5px dashed rgba(39,40,45,.3); background: transparent; }
.ph-empty figcaption { inset: 0; background: none; color: var(--grey); flex-direction: column; justify-content: space-between; padding: 18px; transform: none !important; }

/* Mobile: striscia orizzontale a scatto */
.is-mob .gallery-head { margin-top: 64px; }
.is-mob .gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.is-mob .gallery::-webkit-scrollbar { display: none; }
.is-mob .g-col { display: contents; }
.is-mob .ph { flex: 0 0 74%; aspect-ratio: 3 / 4 !important; scroll-snap-align: center; transition: transform .5s var(--ease), opacity .5s; }
.is-mob .ph img { transform: none; }
.is-mob .ph:not(.is-center) { transform: scale(.92); opacity: .6; }
.is-mob .ph-empty { aspect-ratio: 3 / 4 !important; }

/* ==========================================================
   Aggiornamento Sponsorship Book (sfida "Dal centro al centro")
   ========================================================== */
.script { font-family: "Caveat", cursive; font-style: normal; font-weight: 700; color: var(--coral); font-size: 1.45em; line-height: .6; letter-spacing: 0; }

/* Timbro "26" che ruota */
.hero-center { position: relative; }
.badge26 {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: clamp(110px, 11vw, 170px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff;
}
.badge26 svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge26 text { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .22em; fill: #fff; }
.badge26 b { font-family: var(--arch); font-stretch: 62%; font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.4rem); color: var(--lav); line-height: 1; }
.is-desk .badge26:hover svg { animation-duration: 4s; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-mob .badge26 { width: 56px; bottom: auto; top: 0; }
.is-mob .badge26 text { font-size: 17px; }
.is-mob .badge26 b { font-size: 1.35rem; }
.is-mob .badge26 svg { animation: none; }

/* Pannelli con foto e dati */
.panel-photo { background: var(--dark); color: #fff; }
.panel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; z-index: 0; }
.panel-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(39,40,45,.35), rgba(39,40,45,.9) 75%); z-index: 1; }
.panel-photo > *:not(img) { position: relative; z-index: 2; }
.panel-photo .panel-idx { position: absolute; }
.panel-stat {
  font-family: var(--arch); font-stretch: 125%; font-weight: 900; line-height: .85; letter-spacing: -.03em;
  font-size: clamp(4rem, 11vw, 11rem); color: var(--red);
}
.panel-photo p strong { color: #fff; }
.panel-src { font-size: 11px; opacity: .7; max-width: 60ch; line-height: 1.4; }
.unesco { display: inline-flex; flex-direction: column; gap: 2px; background: var(--coral); color: var(--dark); padding: 18px 22px; max-width: 280px; position: relative; z-index: 1; }
.unesco b { font-family: var(--arch); font-stretch: 125%; font-weight: 900; font-size: 3rem; line-height: 1; }
.unesco span:last-child { font-size: .9rem; font-weight: 600; }
.is-mob .panel-stat { font-size: clamp(3.4rem, 19vw, 5rem); }

/* Regole: 5 passi */
.rule[data-color="navy"] { --c: var(--navy); }
.big-line { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 3.4vw, 3.2rem); line-height: 1; margin: 72px 0 0; }
.big-line span { color: var(--red); }

.proto { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--dark); }
.proto h3 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); margin: 14px 0 20px; }
.proto p { color: var(--grey); max-width: 52ch; }
.proto-nums { display: grid; gap: 12px; align-content: start; }
.proto-nums div { display: flex; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.proto-nums b { font-family: var(--arch); font-stretch: 125%; font-weight: 900; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1; color: var(--red); min-width: 1.6em; }
.proto-nums span { color: var(--grey); }
.impact-label { color: var(--grey); margin-top: 64px; }
.icons3 { margin-top: 24px; }
.ic h3 { font-size: 1.3rem; margin-bottom: 10px; }
.is-mob .icons3 .ic { grid-template-columns: 40px 1fr; align-items: start; }
.is-mob .ic h3 { margin: 4px 0 6px; }
.is-mob .proto { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
.is-mob .big-line { margin-top: 48px; }

/* Finale: voto, giuria, premi */
.vote-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.vote-steps li { border-top: 2px solid #fff; padding-top: 12px; display: grid; gap: 4px; }
.vote-steps b { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.15rem; }
.vote-steps span { color: #ffe1dc; }
.vote-steps em { font-style: normal; font-weight: 700; color: #fff; }
.jury { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; margin-top: 56px; }
.jury-col { background: rgba(0,0,0,.14); padding: 28px; }
.jury-col > .label { color: #ffd9d3; display: block; margin-bottom: 16px; }
.jury dl { margin: 0; }
.jury dt { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1rem; margin-top: 14px; }
.jury dd { margin: 4px 0 0; color: #ffe1dc; }
.prize-main { background: var(--dark); padding: 22px; display: grid; gap: 6px; }
.prize-main .label { color: var(--coral); }
.prize-main b { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1; }
.prize-main span:last-child { color: #cfcfd6; font-size: .95rem; }
.prize-list { list-style: none; margin: 12px 0 0; padding: 0; }
.prize-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.25); display: grid; gap: 2px; }
.prize-list b { font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; }
.prize-list span { color: #ffe1dc; font-size: .95rem; }
.prize-note { display: block; margin-top: 12px; font-size: .8rem; opacity: .8; }
.is-mob .jury { grid-template-columns: 1fr; }
.is-mob .jury-col { padding: 20px; }

/* Edizione 01: citazioni e perché Modica */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 96px; }
.quotes .quote { margin: 0; }
.quotes .quote blockquote { font-size: clamp(1.4rem, 2.6vw, 2.4rem); }
.is-mob .quotes { grid-template-columns: 1fr; margin-top: 64px; }
.why { margin-top: 64px; }
.why .label { color: var(--grey); }
.why ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why li { border-top: 2px solid var(--dark); padding-top: 12px; font-weight: 500; }
.why i { display: block; font-style: normal; font-family: var(--arch); font-stretch: 62%; font-weight: 800; color: var(--red); font-size: 1.6rem; margin-bottom: 6px; }
.is-mob .why ol { grid-template-columns: 1fr 1fr; }

/* Chi organizza */
.org-claim { font-family: var(--arch); font-stretch: 125%; font-weight: 800; text-transform: uppercase; color: var(--dark) !important; font-size: 1.05rem; line-height: 1.15; }

/* Livelli sponsor */
.levels { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lv { min-height: 190px; padding: 18px; display: flex; flex-direction: column; color: #fff; transition: transform .5s var(--ease); }
.lv b { font-family: var(--arch); font-stretch: 125%; font-weight: 900; font-size: 3rem; line-height: 1; }
.lv strong { margin-top: auto; font-family: var(--arch); font-stretch: 62%; font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.lv small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.lv-main { background: var(--red); }
.lv-gold { background: var(--red-2); }
.lv-silver { background: var(--coral); color: var(--dark); }
.lv-tech { background: var(--indigo); }
.is-desk .lv:hover { transform: translateY(-8px); }
.partner-contact { grid-column: 1 / -1; }
.partner-contact p { margin: 6px 0 0; font-size: 1.1rem; color: #fff !important; }
.partner-contact a { text-decoration: underline; text-underline-offset: 3px; }
.is-mob .levels { grid-template-columns: 1fr 1fr; }
.is-mob .lv { min-height: 140px; }

/* Banda HKT prima del footer */
.hkt-band { overflow: hidden; background: linear-gradient(90deg, var(--coral), var(--red) 50%, var(--indigo)); padding: clamp(24px, 4vw, 56px) 0; }
.hkt-inner { display: flex; align-items: flex-start; justify-content: center; gap: .08em; color: #fff; will-change: transform;
  font-family: var(--arch); font-stretch: 125%; font-weight: 900; line-height: .8; letter-spacing: -.03em; font-size: clamp(6rem, 24vw, 26rem); }
.hkt-26 { font-stretch: 62%; font-size: .32em; line-height: 1; color: var(--dark); padding-top: .15em; }

/* Niente scorrimento laterale su mobile: taglia qualsiasi sforamento senza rompere gli elementi sticky */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.title, .finale-title, .big-line, .panel h2, .panel h3, .who-t, .rule-t, .faq summary { overflow-wrap: break-word; }
/* Colonne mobile che non si allargano oltre lo schermo */
.is-mob .finale-grid, .is-mob .vote-how, .is-mob .jury, .is-mob .proto, .is-mob .org-grid, .is-mob .partner, .is-mob .quotes, .is-mob .facts { grid-template-columns: minmax(0, 1fr); }
.is-mob .finale-box { padding: 20px 16px; }
.is-mob .cd-sm { gap: 8px; }
.is-mob .cd-sm b { font-size: clamp(1.8rem, 9vw, 2.4rem); }
.is-mob .cd-sm small { letter-spacing: .08em; }
.is-mob .title { font-size: clamp(1.8rem, 9.4vw, 3.4rem); }
.is-mob .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-mob .lv strong { font-size: clamp(1.4rem, 7vw, 2rem); }

/* ==========================================================
   Sfida in primo piano
   ========================================================== */
.hero-q p { font-size: clamp(1.25rem, 2.4vw, 2.2rem); line-height: 1; }
.hero-q-link { display: inline-flex; gap: 8px; margin-top: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--coral); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hero-q-link:hover { color: #fff; }

.sh { background: var(--red); color: #fff; overflow: hidden; }
section.sfida { padding-top: 0; }
.sh-inner { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 96px var(--g) 40px; }
.sh-top { color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 16px; }
.sh-title {
  font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em;
  line-height: .86; font-size: calc((100vw - 2 * var(--g)) / 9.2); margin: 0;
}
.sh-line { display: block; white-space: nowrap; }
.sh-l2 { color: var(--dark); text-align: right; }
.sh-w { display: inline-block; }
.sh-c { position: relative; }
.sh-c::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .07em; background: var(--dark); transform: scaleX(0); transform-origin: left; }
.sh-l1 .sh-c.is-struck::after { transform: scaleX(1); transition: transform .8s var(--ease); }
.sh-tag {
  position: absolute; top: -.1em; right: 0; transform: translateY(-100%) rotate(-3deg);
  font-family: var(--body); font-style: normal; font-weight: 600; font-size: clamp(11px, 1.1vw, 15px); letter-spacing: .14em; line-height: 1;
  text-transform: uppercase; white-space: nowrap; padding: 8px 12px; background: var(--dark); color: #fff;
}
.t2 { background: #fff; color: var(--red); top: auto; bottom: -.08em; transform: translateY(100%) rotate(2deg); right: auto; left: 0; }
.sh-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sh-q { font-family: var(--arch); font-stretch: 100%; font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 2.4rem); line-height: 1.1; margin: 0; max-width: 24ch; }
.sh-q b { font-weight: 900; font-stretch: 125%; color: var(--dark); }
.sh-eye { width: clamp(64px, 7vw, 104px); height: auto; color: #fff; flex: 0 0 auto; }
.sh-eye circle:first-child { fill: var(--navy); }
.sfida .wrap { padding-top: clamp(80px, 10vw, 140px); }

.is-mob .sh-inner { padding: 84px 16px 32px; min-height: 0; gap: 40px; }
.is-mob .sh-title { font-size: calc((100vw - 32px) / 6.3); line-height: .9; }
.is-mob .sh-line, .is-mob .sh-l2 { text-align: left; }
.is-mob .sh-w { display: block; }
.is-mob .sh-l2 { margin-top: .5em; }
.is-mob .sh-tag { font-size: 10px; padding: 6px 9px; }
.is-mob .t1 { right: auto; left: 0; top: auto; bottom: -.12em; transform: translateY(100%) rotate(-2deg); }
.is-mob .sh-eye { width: 56px; }
/* L'impatto su mobile: icona a sinistra, titolo e testo nella colonna larga */
.is-mob .icons3 .ic { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 0; }
.is-mob .icons3 .ic svg { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.is-mob .icons3 .ic h3, .is-mob .icons3 .ic p { grid-column: 2; }
/* Numeri edizione 01 su mobile: valori e descrizioni restano nelle colonne */
.is-mob .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-mob .num b { font-size: clamp(1.9rem, 10.5vw, 3.4rem); letter-spacing: -.02em; }
.is-mob .num .label { font-size: 10px; letter-spacing: .12em; overflow-wrap: anywhere; }
@media (min-width: 700px) { .is-mob .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Ritocchi mobile: niente testo tagliato */
.is-mob .btn { white-space: normal; text-align: center; line-height: 1.15; }
.is-mob .hero-ctas .btn { padding: 16px 10px; font-size: 12px; letter-spacing: .04em; }
.is-mob .sh-title { font-size: calc((100vw - 32px) / 7); }
.is-mob .lv strong { font-size: clamp(1.2rem, 6.2vw, 2rem); }
.is-mob .partner li b { min-width: 0; font-size: 1.8rem; }
.is-mob .num b { font-size: clamp(1.6rem, 8.4vw, 3.4rem); }
.is-mob .partner h3 { font-size: clamp(1.4rem, 7vw, 2.4rem); }
.is-mob .partner li b { flex: 0 0 auto; }
.is-mob .lv strong { font-size: clamp(1.1rem, 5.6vw, 2rem); }
/* Vivere / Fruire / Attraversare: una parola sola, sempre intera, adattata alla carta */
.panel { container-type: inline-size; }
.panel h3.panel-word { overflow-wrap: normal; word-break: keep-all; hyphens: none; white-space: nowrap; max-width: none; font-size: clamp(1.4rem, 7.2cqi, 5.6rem); }
.is-mob .mbar .btn { padding: 15px 14px; white-space: nowrap; }
.is-mob .mbar-cd { min-width: 0; }
.is-mob .mbar-cd b { font-size: clamp(1.1rem, 5.4vw, 1.5rem); white-space: nowrap; }

/* ==========================================================
   Responsive: tablet e schermi larghi con cervello touch
   ========================================================== */
.is-mob .foot-big { font-size: calc((100vw - 2 * var(--g)) / 7.8); }
@media (min-width: 700px) {
  .is-mob .hero-title { font-size: calc((100vw - 2 * var(--g)) / 9.6); white-space: nowrap; line-height: .82; }
  .is-mob .ht-line { display: inline-block; }
  .is-mob .badge26 { width: clamp(84px, 10vw, 140px); top: auto; bottom: calc(100% + 10px); }
  .is-mob .badge26 text { font-size: 13px; }
  .is-mob .badge26 b { font-size: clamp(1.8rem, 3.6vw, 3rem); }
  .is-mob .hero-bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .is-mob .hero-ctas { grid-column: 1 / -1; }
  .is-mob .sh-title { font-size: calc((100vw - 2 * var(--g)) / 9.6); line-height: .86; }
  .is-mob .sh-w { display: inline-block; }
  .is-mob .sh-l2 { margin-top: 0; text-align: right; }
  .is-mob .sh-tag { font-size: 12px; }
  .is-mob .t1 { left: auto; right: 0; bottom: auto; top: -.1em; transform: translateY(-100%) rotate(-3deg); }
  .is-mob .sh-inner { padding: 96px var(--g) 48px; }
  .is-mob .num b { font-size: clamp(1.6rem, 5.2vw, 4rem); }
  .is-mob .foot-big { font-size: calc((100vw - 2 * var(--g)) / 9.8); }
  .is-mob .fb-w:first-child { font-size: 1em; }
}
/* Schermi molto larghi: il footer è limitato a 1680px, il titolo si adatta a quello */
.foot-big { font-size: calc((min(100vw, 1680px) - 2 * var(--g)) / 9.8); }
/* Pannelli sfida su desktop: si adattano anche all'altezza dello schermo */
.is-desk .panel { justify-content: safe flex-end; padding-top: clamp(72px, 12vh, 120px); }
.is-desk .panel h2.xl { font-size: clamp(2.2rem, min(7vw, 12vh), 7.6rem); }
.is-desk .panel h3 { font-size: clamp(1.6rem, min(4.4vw, 7.4vh), 4.8rem); }
.is-desk .panel h3.panel-word { font-size: clamp(1.4rem, min(7.2cqi, 14vh), 5.6rem); }
.is-desk .panel p { font-size: clamp(.95rem, min(1.4vw, 2.3vh), 1.3rem); }
.is-desk .panel-stat { font-size: clamp(3rem, min(11vw, 22vh), 11rem); }
.is-desk .unesco { padding: min(18px, 2.4vh) 22px; }
.is-desk .unesco b { font-size: clamp(1.8rem, 5vh, 3rem); }
.is-desk .panel.dark h3 { max-width: 19ch; }
.is-desk .panel.dark p { max-width: 56ch; }
.is-desk .panel.dark { width: 68vw; }
.is-mob .mbar-cd .label { white-space: normal; line-height: 1.2; }

/* ==========================================================
   Programma semplificato: tre giorni in residenza
   ========================================================== */
.stay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.stay-card { --c: var(--red); background: var(--dark-3); border-top: 6px solid var(--c); padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: clamp(220px, 24vw, 320px); }
.stay-card[data-color="indigo"] { --c: #7a7fe0; }
.stay-card[data-color="teal"] { --c: var(--teal); }
.stay-card .label { color: var(--c); font-family: var(--arch); font-stretch: 62%; font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: .02em; }
.stay-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.6rem); margin-top: auto; overflow-wrap: break-word; }
.stay-card p { margin: 0; color: #d6d5dc; max-width: 30ch; }
.stay-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.stay-info > div { border-top: 2px solid #fff; padding-top: 16px; }
.stay-info .label { color: #a9a8b1; }
.stay-info b { display: block; font-family: var(--arch); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1; margin: 10px 0; }
.stay-info p { margin: 0; color: #b9b8c0; max-width: 34ch; }
.is-mob .stay, .is-mob .stay-info { grid-template-columns: minmax(0, 1fr); }
.is-mob .stay { margin-top: 36px; }
.is-mob .stay-card { min-height: 0; padding: 22px; }
.is-mob .stay-card h3 { margin-top: 18px; font-size: clamp(1.5rem, 7.4vw, 2.2rem); }
.is-mob .stay-info { gap: 28px; margin-top: 44px; }
@media (min-width: 700px) { .is-mob .stay, .is-mob .stay-info { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pannelli sfida su mobile: l'etichetta in alto sta nel flusso, così un testo lungo non le finisce sopra */
.is-mob .panel .panel-idx { position: relative; top: auto; left: auto; margin-bottom: auto; padding-bottom: 28px; z-index: 2; }

/* Galleria mobile: riquadro visibile anche mentre la foto sta caricando */
.is-mob .ph { background: #c9c4d6; }
