@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3efe7;
  --paper-2: #e7e1d6;
  --ink: #141414;
  --muted: #5c564e;
  --red: #d7263d;
  --dark: #101010;
  --line: #d9d2c6;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.015em;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 10px 28px;
  background: var(--dark);
  color: #fff;
}

.logo img {
  height: 68px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-social {
  justify-self: end;
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f2f2f2;
}

.top a:hover { color: #ff5a70; }

main {
  padding: 16px 16px 48px;
}


.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  min-height: 620px;
  height: calc(100vh - 108px);
  max-height: 720px;
  background: var(--dark);
}

.hero-testo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 44px 46px;
  color: #fff;
  background: var(--dark);
}

.hero-testo h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(46px, 5.6vw, 84px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.deck {
  margin: 22px 0 0;
  max-width: 28ch;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.28;
  font-weight: 500;
  color: #ece7df;
}

.leggi {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  width: fit-content;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.leggi:hover { background: #f03a50; }

.hero-foto {
  display: block;
  min-height: 420px;
  overflow: hidden;
}

.hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
}

.kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hl {
  background: var(--red);
  color: #fff;
  padding: 0 0.12em 0.02em;
  border-radius: 0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.fascia, .rail-wrap, .archivio {
  padding-top: 42px;
}

.fascia-head {
  display: block;
  margin-bottom: 18px;
  padding: 0 6px;
}

.fascia-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.tre {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  min-height: 100%;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card .data, .mini .data {
  margin: 14px 16px 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  margin: 8px 16px 18px;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.slide {
  background: #111;
}

.slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.griglia {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 16px;
}

.mini {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.mini img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mini .data {
  margin: 12px 0 0;
}

.mini h3 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.06;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.segui {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  margin-top: 16px;
  padding: 14px 6px 0;
  border-top: 1px solid var(--line);
}

.segui-label {
  margin: 0 8px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.segui a {
  font-size: 16px;
  font-weight: 700;
}

.segui a span {
  color: var(--muted);
  font-weight: 550;
}

.piede {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: var(--dark);
  color: #fff;
}

.piede img { height: 54px; width: auto; }

.piede p {
  margin: 0;
  font-size: 16px;
  color: #ddd;
}

@media (max-width: 900px) {
  .top {
    grid-template-columns: 1fr auto;
    padding: 8px 14px;
  }
  .nav { display: none; }
  .logo img { height: 56px; }
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
  .hero-testo { padding: 28px 22px 26px; min-height: 0; justify-content: flex-start; }
  .hero-testo h1 { max-width: 12ch; }
  .hero-foto { min-height: 280px; height: 46vh; }
  .tre, .griglia { grid-template-columns: 1fr; }
  .mini h3 { font-size: 22px; }
  .rail { grid-auto-columns: 72%; }
  .piede { flex-direction: column; align-items: flex-start; }
}

.reel {
  position: relative;
  background: #111;
  overflow: hidden;
}

.reel video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
}

.play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 0;
}

.play::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 17px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}

.reel.playing .play {
  opacity: 0;
  pointer-events: none;
}

.reel-link {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 28px 12px 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

.reel-fonte {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6b7d;
}

.reel-titolo {
  font-size: 18px;
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* Pagina articolo */
.articolo {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.articolo .kicker { margin: 0 0 14px; }

.articolo h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.articolo .firma {
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--muted);
}

.articolo .firma strong { color: var(--ink); font-weight: 700; }

.articolo .foto-testata {
  margin: 0 0 32px;
}

.articolo .foto-testata img {
  width: 100%;
  height: auto;
}

.testo {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 450;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}

.testo p { margin: 0 0 1.1em; }

.testo h2 {
  margin: 1.8em 0 0.6em;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.testo h3 { margin: 1.5em 0 0.5em; font-size: 23px; line-height: 1.2; font-weight: 750; }

.testo a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.testo a:hover { color: #f03a50; }

.testo img { height: auto; margin: 1.4em auto; }
.testo figure { margin: 1.6em 0; }
.testo figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.testo ul, .testo ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.testo li { margin-bottom: 0.4em; }
.testo iframe { max-width: 100%; border: 0; }

.testo blockquote {
  margin: 1.4em 0;
  padding-left: 18px;
  border-left: 4px solid var(--red);
}

.testo table {
  display: block;
  overflow-x: auto;
  width: 100% !important;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 16px;
  line-height: 1.4;
}

.testo th, .testo td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.testo th { background: var(--paper-2); }

.articolo .torna {
  display: inline-block;
  margin-top: 36px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

@media (max-width: 900px) {
  .articolo { padding: 26px 16px 52px; }
  .testo { font-size: 18px; }
  .testo h2 { font-size: 25px; }
}
