:root {
  --ink: #12203a;
  --paper: #f6f8fb;
  --glass: #e3ebf5;
  --cobalt: #1f4e9c;
  --flame: #d98a1f;
  --muted: #4b5870;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 3.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 var(--sans); }

/* Banner */
.banner { position: relative; min-height: 62vh; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,32,58,.88), rgba(18,32,58,.15) 70%); }
.banner-text { position: relative; z-index: 1; color: #fff; padding: 3rem clamp(1.25rem, 6vw, 5rem); max-width: 56rem; }
.banner-kicker { margin: 0 0 .5rem; font-size: 1rem; color: #f3c680; }
.banner h1 { margin: 0; font: 700 clamp(2.6rem, 8vw, 5.5rem)/1 var(--serif); letter-spacing: -.02em; }
.banner-sub { margin: 1rem 0 0; font-size: 1.2rem; max-width: 32rem; }

/* Navigazione */
.nav { position: sticky; top: 0; z-index: 10; background: var(--ink); overflow-x: auto; }
.nav ul { list-style: none; margin: 0; padding: 0 clamp(1rem, 4vw, 4rem); display: flex; gap: 1.5rem; white-space: nowrap; }
.nav a { display: block; padding: .9rem 0; color: #cfd9ea; text-decoration: none; font-size: .95rem; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--flame); }
a:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }

/* Sezioni */
section { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr); gap: 1rem 4rem; max-width: 72rem; margin: 0 auto; padding: 4.5rem clamp(1.25rem, 5vw, 4rem); border-bottom: 1px solid var(--glass); }
section:last-child { border-bottom: 0; }
section:nth-of-type(even) { background: linear-gradient(var(--glass), var(--glass)) center / 100vw 100% no-repeat; }
h2 { margin: 0; font: 700 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--serif); color: var(--cobalt); }
h3 { margin: 1.5rem 0 .4rem; font: 700 1.1rem var(--serif); }
.content p { margin: 0 0 1rem; max-width: 40rem; }
.content ul, .content ol { margin: 0 0 1rem; padding-left: 1.3rem; max-width: 40rem; }
.content li { margin-bottom: .4rem; }
.content li::marker { color: var(--flame); }
.countdown { width: fit-content; margin: 0 0 1rem; padding: .65rem 1rem; border-left: 3px solid var(--flame); background: var(--glass); font-weight: 700; }
dl { display: grid; grid-template-columns: 8rem 1fr; gap: .6rem 1.5rem; margin: 1.2rem 0 0; max-width: 40rem; }
dt { font-weight: 700; }
dd { margin: 0; }
.content a { color: var(--cobalt); }
.todo { color: var(--muted); font-style: italic; }

footer { background: var(--ink); color: #cfd9ea; text-align: center; padding: 1.8rem 1rem; font-size: .9rem; }
footer p { margin: 0; }
.photo-attribution a { color: #fff; }

@media (max-width: 760px) {
  section { grid-template-columns: 1fr; padding-block: 3rem; }
  dl { grid-template-columns: 1fr; gap: 0; }
  dd { margin-bottom: .8rem; }
  .banner { min-height: 52vh; }
}