:root {
  --black: #060606;
  --black-soft: #0c0b09;
  --surface: #11100e;
  --surface-raised: #17140f;
  --ivory: #eee9dd;
  --ivory-muted: #bbb4a7;
  --gold: #aa751b;
  --gold-bright: #aa751b;
  --gold-deep: #8b6419;
  --green: #13763b;
  --green-dark: #0b5c31;
  --line: rgba(198, 160, 82, .28);
  --shell: 1180px;
  --radius: 6px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ivory);
  background: var(--black);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.035) .7px, transparent .7px);
  background-size: 5px 5px;
  content: "";
  opacity: .28;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 11vw, 156px); }
.section[id] { scroll-margin-top: 20px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--black);
  background: var(--gold-bright);
  transform: translateY(-140%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-bright);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1 { max-width: 1060px; margin-bottom: 26px; font-size: clamp(2.6rem, 6.2vw, 6.5rem); letter-spacing: -.055em; }
h2 { max-width: 900px; margin-bottom: 28px; font-size: clamp(2.25rem, 4.5vw, 4.9rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2.05rem); letter-spacing: -.025em; }
p { margin-block: 0 1.25em; }
.lead { max-width: 820px; color: var(--ivory); font-size: clamp(1.18rem, 2vw, 1.55rem); line-height: 1.5; }
.gold-text { color: var(--gold-bright); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0 clamp(42px, 5vh, 58px);
  background: #070605;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.88) 46%, rgba(5,5,5,.45) 100%),
    linear-gradient(0deg, rgba(5,5,5,.96) 0%, transparent 35%),
    url("assets/hero-specchio-v2.jpg");
  background-position: center, center, center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: clamp(20px, 7vw, 120px);
  bottom: -10vh;
  z-index: -1;
  width: 1px;
  height: 82vh;
  background: linear-gradient(transparent, var(--gold-bright), transparent);
  box-shadow: 0 0 70px 18px rgba(170,117,27,.12);
  content: "";
  transform: rotate(18deg);
  transform-origin: bottom;
}

.hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.hero__logo { width: clamp(170px, 17vw, 228px); height: auto; }
.hero__identity { display: flex; flex-direction: column; align-items: flex-end; }
.hero__signature { padding-top: 6px; text-align: right; text-transform: uppercase; }
.hero__signature span, .hero__signature strong { display: block; }
.hero__signature span { color: var(--ivory-muted); font-size: .875rem; letter-spacing: .16em; }
.hero__signature strong { margin-top: 3px; color: var(--gold); font-size: .875rem; letter-spacing: .1em; }
.hero__brand-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--ivory); font-size: .875rem; font-weight: 750; text-underline-offset: 5px; }

.hero__content { padding-top: clamp(24px, 4vh, 44px); }
.hero__lead { max-width: 760px; margin-bottom: 28px; color: var(--ivory-muted); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero__lead strong, .hero__lead span { display: block; }
.hero__lead strong { margin-bottom: 4px; color: var(--ivory); font-size: 1.24em; }

.event-line { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 30px; color: var(--ivory); font-size: .875rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.event-line span { display: inline-flex; align-items: center; min-height: 34px; }
.event-line span:not(:last-child)::after { width: 4px; height: 4px; margin-inline: 13px; border-radius: 50%; background: var(--gold); content: ""; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: .035em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.cta--whatsapp { color: #fff; background: var(--green); box-shadow: 0 15px 40px rgba(31,168,85,.18); }
.cta__icon { flex: 0 0 auto; width: 23px; height: 23px; margin-right: 11px; }
.cta-note { margin: 12px 0 14px; color: var(--ivory-muted); font-size: .875rem; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--gold-bright); font-size: .9rem; font-weight: 750; text-underline-offset: 5px; }

.section-heading { margin-bottom: clamp(42px, 6vw, 76px); }
.section-heading .lead { color: var(--ivory-muted); }
.section-number { position: absolute; top: clamp(42px, 7vw, 90px); right: 0; color: rgba(170,117,27,.08); font-size: clamp(8rem, 25vw, 24rem); font-weight: 900; line-height: .8; }

.recognition { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(56px, 8vw, 110px); align-items: end; }
.recognition__copy { position: relative; z-index: 1; }
.recognition__copy > p:not(.eyebrow):not(.lead) { max-width: 720px; color: var(--ivory-muted); }
.recognition__quote { position: relative; z-index: 1; margin: 0; padding: 38px 0 16px 34px; border-left: 1px solid var(--gold); color: var(--ivory-muted); }
.recognition__quote > span { position: absolute; top: -26px; left: 18px; color: rgba(170,117,27,.3); font-size: 8rem; line-height: 1; }
.recognition__quote p { position: relative; margin: 0; font-size: 1.25rem; }
.recognition__quote strong { color: var(--gold-bright); }

.next { border-block: 1px solid var(--line); background: linear-gradient(135deg, #0a0908, #14110c); }
.next-card { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); max-width: 1040px; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #0b0a08; box-shadow: var(--shadow); }
.next-card__image { position: relative; min-height: 600px; overflow: hidden; }
.next-card__image::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,6,6,.72), transparent 55%); content: ""; }
.next-card__image img { width: 100%; height: 100%; object-fit: cover; }
.next-card__number { position: absolute; right: 18px; bottom: -18px; z-index: 1; color: rgba(255,255,255,.94); font-size: clamp(6rem, 13vw, 10rem); font-weight: 900; line-height: 1; }
.next-card__body { padding: clamp(34px, 6vw, 74px); }
.next-card__date { color: var(--gold-bright); font-size: .875rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.next-card__person { margin-bottom: 10px; color: var(--ivory-muted); font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.next-card__body h3 { max-width: 620px; margin-bottom: 22px; font-size: clamp(1.8rem, 3.2vw, 3rem); }
.next-card__body > p:not(.next-card__date):not(.next-card__person) { color: var(--ivory-muted); }
.zero-thread { margin: 34px 0; padding: 24px 0 4px; border-top: 1px solid var(--line); }
.zero-thread span { color: var(--gold); font-size: .875rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.zero-thread p { margin-top: 9px; color: var(--ivory-muted); }
.names-note { max-width: 760px; margin: 24px auto 0; color: #8f897f; font-size: .875rem; text-align: center; }

.experience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 1px; list-style: none; background: var(--line); }
.experience-grid li { min-height: 350px; padding: 34px 28px; background: var(--black); }
.experience-grid li > span { display: block; margin-bottom: 78px; color: var(--gold); font-size: .875rem; font-weight: 850; letter-spacing: .15em; }
.experience-grid h3 { margin-bottom: 18px; }
.experience-grid li:nth-child(even) h3 { color: var(--gold-bright); }
.experience-grid p { color: var(--ivory-muted); font-size: .96rem; }

.case-zero { overflow: clip; border-block: 1px solid var(--line); background: #090806; }
.case-zero__glow { position: absolute; top: 10%; right: 0; width: min(620px, 100vw); height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(170,117,27,.12), transparent 67%); filter: blur(12px); }
.case-zero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .86fr); gap: clamp(60px, 10vw, 128px); align-items: center; }
.case-zero__copy { position: relative; z-index: 1; }
.case-zero__copy h2 span { color: var(--gold-bright); }
.case-zero__copy > p:not(.eyebrow):not(.lead):not(.zero-question) { max-width: 650px; color: var(--ivory-muted); }
.zero-question { max-width: 620px; margin-top: 42px; color: var(--gold-bright); font-size: 1.38rem; font-weight: 780; }

.case-file { position: relative; min-height: 610px; padding: 32px; border: 1px solid rgba(170,117,27,.45); background: linear-gradient(160deg, rgba(31,26,18,.92), rgba(8,8,7,.96)); box-shadow: var(--shadow); }
.case-file::before { position: absolute; inset: 11px; border: 1px solid rgba(238,233,221,.06); pointer-events: none; content: ""; }
.case-file__label { margin: 0; color: var(--gold); font-size: .875rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.case-seal { display: grid; width: 200px; min-height: 200px; margin: 28px auto 20px; padding: 12px; border: 0; color: var(--ivory); background: transparent; cursor: pointer; place-items: center; }
.case-seal img { grid-area: 1 / 1; width: 126px; height: 126px; object-fit: contain; opacity: .66; filter: drop-shadow(0 0 22px rgba(170,117,27,.18)); transition: transform .45s ease, opacity .3s ease, filter .3s ease; }
.case-seal span { grid-area: 2 / 1; color: var(--gold-bright); font-size: .875rem; font-weight: 800; letter-spacing: .08em; }
.case-seal.is-open img { opacity: 1; filter: drop-shadow(0 0 32px rgba(170,117,27,.38)); transform: scale(1.05); }
.case-clues { display: grid; gap: 8px; }
.case-clue { max-height: 0; margin: 0; overflow: hidden; border-bottom: 1px solid transparent; color: transparent; font-weight: 680; opacity: 0; transform: translateY(8px); transition: max-height .42s ease, padding .42s ease, color .42s ease, opacity .42s ease, transform .42s ease, border-color .42s ease; }
.case-clue span { margin-right: 10px; color: var(--gold); font-size: .875rem; letter-spacing: .12em; }
.case-clue.is-revealed { max-height: 130px; padding: 13px 0; border-color: var(--line); color: var(--ivory); opacity: 1; transform: none; }
.case-file__result { margin: 24px 0 0; color: var(--gold-bright); font-size: .92rem; }

.season { background: linear-gradient(180deg, #060606, #0c0a07 50%, #060606); }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.episode-card { position: relative; min-height: 500px; overflow: hidden; border: 1px solid rgba(238,233,221,.1); background: var(--surface); isolation: isolate; }
.episode-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .4s ease; }
.episode-card__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,4,4,.98) 5%, rgba(4,4,4,.72) 58%, rgba(4,4,4,.34) 100%); }
.episode-card__content { position: absolute; inset: auto 0 0; padding: 26px 24px; }
.episode-card__content p { margin-bottom: 26px; color: var(--gold-bright); font-size: .875rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.episode-card__content > span { display: block; margin-bottom: 8px; color: var(--ivory-muted); font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.episode-card__content h3 { margin-bottom: 13px; font-size: 1.48rem; }
.episode-card__content strong { display: block; color: var(--gold); font-size: .875rem; line-height: 1.45; }
.episode-card.is-next { border-color: var(--gold-bright); box-shadow: 0 0 0 1px var(--gold-bright), 0 20px 55px rgba(0,0,0,.35); }
.episode-card.is-next::before { position: absolute; top: 18px; right: 18px; z-index: 2; padding: 6px 9px; color: var(--black); background: var(--gold-bright); font-size: .875rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; content: "Prossima"; }
.season-break { margin: 26px 0 0; color: var(--ivory-muted); font-size: .875rem; text-align: center; }

.origin { max-width: 960px; }
.origin__portrait { position: relative; }
.origin__portrait::before { position: absolute; top: -18px; left: -18px; width: 58%; height: 48%; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); content: ""; }
.origin__portrait img { position: relative; width: 100%; max-height: 680px; object-fit: cover; object-position: center 23%; filter: saturate(.72) contrast(1.04); }
.origin__copy > p:not(.eyebrow):not(.origin__sign) { max-width: 790px; color: var(--ivory-muted); font-size: 1.1rem; }
.origin__sign { margin-top: 36px; color: var(--gold-bright); font-weight: 780; }

.participation { border-top: 1px solid var(--line); background: #0c0b09; }
.participation__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 8vw, 110px); }
.participation__grid .section-heading { margin: 0; }
.participation-steps { display: grid; gap: 1px; margin: 0; padding: 1px; list-style: none; background: var(--line); }
.participation-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 25px; background: var(--surface); }
.participation-steps li > span { color: var(--gold); font-size: .875rem; font-weight: 850; letter-spacing: .14em; }
.participation-steps strong { display: block; margin-bottom: 7px; }
.participation-steps li:nth-child(even) strong { color: var(--gold-bright); }
.participation-steps p { margin: 0; color: var(--ivory-muted); font-size: .91rem; }
.participation__action { grid-column: 2; }
.participation__action > p { max-width: 600px; margin-top: 14px; color: var(--ivory-muted); font-size: .875rem; }
.participation__action .privacy-note { color: #8f897f; font-size: .875rem; }

.footer { padding: 46px 0 100px; border-top: 1px solid rgba(238,233,221,.09); color: #858077; background: #050505; }
.footer__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.footer__identity { display: flex; align-items: center; gap: 20px; color: inherit; text-decoration: none; }
.footer img { width: 74px; height: 74px; object-fit: contain; opacity: .76; }
.footer p { max-width: 430px; margin: 0; font-size: .875rem; }
.footer a { display: inline-flex; min-height: 44px; align-items: center; color: var(--gold); font-size: .875rem; text-underline-offset: 5px; }
.footer .footer__identity { color: #858077; }
.footer__brand-link { font-weight: 750; }

.mobile-cta { display: none; }
.svg-defs { position: absolute; overflow: hidden; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
  .cta:hover { background: var(--green-dark); box-shadow: 0 18px 44px rgba(31,168,85,.26); transform: translateY(-2px); }
  .case-seal:hover img { opacity: 1; transform: scale(1.045); }
  .episode-card:hover img { filter: brightness(1.08); transform: scale(1.045); }
  .text-link:hover { color: var(--ivory); }
  .hero__brand-link:hover, .footer__brand-link:hover { color: var(--ivory); }
  .footer__identity:hover img { opacity: 1; }
}

.cta:active, .mobile-cta:active { transform: translateY(1px) scale(.99); }

@media (max-width: 1000px) {
  .experience-grid, .season-grid { grid-template-columns: repeat(2, 1fr); }
  .case-zero__grid { grid-template-columns: 1fr; }
  .case-file { max-width: 680px; min-height: 570px; }
}

@media (max-width: 780px) {
  body { font-size: 16px; padding-bottom: 78px; }
  .shell { width: min(100% - 28px, var(--shell)); }
  .section { padding-block: 82px; }
  .hero { min-height: 100svh; padding-top: 16px; padding-bottom: 56px; }
  .hero__backdrop { background-image: linear-gradient(0deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.8) 58%, rgba(5,5,5,.58) 100%), url("assets/hero-specchio-v2.jpg"); background-position: center, 56% center; }
  .hero__logo { width: 154px; }
  .hero__signature { max-width: 110px; }
  .hero__content { padding-top: 42px; }
  h1 { font-size: clamp(2.55rem, 12vw, 4.35rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3.6rem); }
  .event-line { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
  .event-line span:not(:last-child)::after { display: none; }
  .cta { width: 100%; }
  .recognition, .next-card, .participation__grid { grid-template-columns: 1fr; }
  .recognition { gap: 70px; }
  .next-card__image { min-height: 430px; }
  .next-card__body { padding: 34px 24px 40px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-grid li { min-height: auto; }
  .experience-grid li > span { margin-bottom: 42px; }
  .case-zero__grid { gap: 55px; }
  .case-file { min-height: 560px; padding: 25px 20px; }
  .case-seal { margin-top: 20px; }
  .season-grid { grid-template-columns: 1fr; }
  .episode-card { min-height: 520px; }
  .origin__portrait { width: min(84%, 420px); }
  .participation__action { grid-column: 1; }
  .footer { padding-bottom: 34px; }
  .footer__inner, .footer__identity { align-items: flex-start; flex-direction: column; }
  .mobile-cta { position: fixed; right: 12px; bottom: 10px; left: 12px; z-index: 50; display: flex; min-height: 56px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: #fff; background: var(--green); box-shadow: 0 14px 44px rgba(0,0,0,.58); font-size: .9rem; font-weight: 850; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(calc(100% + 24px)); transition: transform .22s ease, opacity .22s ease; }
  .mobile-cta.is-visible { opacity: 1; pointer-events: auto; transform: none; }
  .mobile-cta svg { width: 22px; height: 22px; margin-right: 10px; }
}

@media (max-width: 410px) {
  .hero__top { align-items: center; }
  .hero__signature { display: none; }
  .event-line { grid-template-columns: 1fr; }
  .case-file { min-height: 590px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
