/* Fotografi On Air — sito statico (2026-10). Tema scuro «studio di registrazione», rosso on-air dal logo. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0b0c;
  --bg-2: #131315;
  --card: #18181b;
  --line: #2a2a2f;
  --text: #f3f1ed;
  --muted: #a5a2a0;
  --red: #e10600;
  --red-hi: #ff3b30;
  --radius: 14px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 4px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* Etichette */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .76rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.onair { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--red); color: #fff; padding: 6px 12px 6px 10px; border-radius: 999px; font: 800 .74rem/1 var(--display); letter-spacing: .2em; }
.onair::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 0 rgb(255 59 48 / .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(255 59 48 / .6); } 70% { box-shadow: 0 0 0 10px rgb(255 59 48 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 59 48 / 0); } }
.chip { display: inline-block; font: 700 .68rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; background: rgb(0 0 0 / .72); color: #fff; border: 1px solid rgb(255 255 255 / .16); }
.chip.red { background: var(--red); color: #fff; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .9em 1.4em; border-radius: 999px; font: 700 .9rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #ff1a10; color: #fff; }
.btn-line { border-color: rgb(255 255 255 / .35); color: var(--text); background: transparent; }
.btn-line:hover { border-color: #fff; color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Intestazione */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(11 11 12 / .82); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: .55em .85em; border-radius: 8px; text-decoration: none; font: 600 .82rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav a:hover { color: #fff; background: rgb(255 255 255 / .06); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav-wrap { position: relative; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: #fff; cursor: pointer; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .js .nav-wrap:not(.open) .nav { display: none; }
  .js .nav { position: absolute; right: 0; top: 56px; flex-direction: column; align-items: stretch; width: min(280px, calc(100vw - 32px)); padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgb(0 0 0 / .5); }
  .js .nav a { padding: .9em 1em; }
  .js .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
  html:not(.js) .nav { flex-wrap: wrap; }
  .brand img { height: 36px; }
}

section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 40em; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Hero home */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; padding: 0; overflow: hidden; isolation: isolate; }
.hero picture, .hero > img { position: absolute; inset: 0; z-index: -2; }
.hero img.bg { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 11 12 / .25) 0%, rgb(11 11 12 / .55) 45%, var(--bg) 100%), linear-gradient(90deg, rgb(11 11 12 / .8) 0%, rgb(11 11 12 / 0) 65%); }
.hero .wrap { padding: 140px 0 80px; }
.hero h1 { max-width: 11ch; margin-bottom: .3em; }
.hero h1 em { font: italic 400 1.05em/1 var(--serif); text-transform: none; letter-spacing: 0; color: var(--red-hi); }
.hero .lead { font-size: 1.2rem; max-width: 36em; color: #d9d6d1; margin-bottom: 2rem; }

/* Card contenuti */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: #444; color: var(--text); }
.card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .media img { transform: scale(1.04); }
.card .media .play { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .4); }
.card .media .play svg { width: 18px; height: 18px; margin-left: 3px; color: #fff; }
.card .media .chips { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.3rem; }
.card .meta { font-size: .84rem; color: var(--muted); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Card grandi in evidenza */
.feature { position: relative; display: block; min-height: 420px; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0) 35%, rgb(0 0 0 / .85) 100%); }
.feature:hover img { transform: scale(1.04); }
.feature .in { position: absolute; left: 28px; right: 28px; bottom: 26px; }
.feature h3 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 10px 0 8px; line-height: .95; }
.feature span.more { font: 700 .82rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 4px; }

/* Filtri */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 700 .78rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: .75em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.filters button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }

/* Testate pagine interne */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-head p.lead { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin: 0; }

/* Articolo */
.post-head { padding: clamp(48px, 7vw, 96px) 0 32px; }
.post-head h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin: 14px 0 18px; }
.post-head .meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; color: var(--muted); font-size: .92rem; }
.quote { font: italic 400 clamp(1.7rem, 3.6vw, 2.9rem)/1.15 var(--serif); margin: 8px 0 0; max-width: 24em; color: #e9e6e1; }
.quote mark { background: none; color: var(--red-hi); }
.post-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-bottom: clamp(56px, 8vw, 100px); }
@media (max-width: 980px) { .post-body { grid-template-columns: 1fr; gap: 32px; } }
.prose { font-size: 1.06rem; color: #dcd9d4; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.prose h3 { margin-top: 1.4em; }
.prose strong, .prose b { color: #fff; }
.prose .subtitle { font: 800 1.5rem/1.15 var(--display); text-transform: uppercase; color: #fff; margin: 0 0 .6em; letter-spacing: -.01em; }
.prose .where { color: var(--muted); font-size: .92rem; border-left: 3px solid var(--red); padding-left: 12px; margin-bottom: 1.6em; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: 12px; max-height: 640px; width: auto; }
aside.side { display: flex; flex-direction: column; gap: 22px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box h3 { font-size: .95rem; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.side-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-box li a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.side-box li a:hover { color: var(--red-hi); }

/* Video: copertina che carica YouTube al clic */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; margin: 0 0 12px; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .2s, transform .5s; }
.video button:hover img { opacity: .95; transform: scale(1.02); }
.video button .big-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 10px 40px rgb(0 0 0 / .5); }
.video button .big-play svg { width: 32px; height: 32px; margin-left: 5px; color: #fff; }
.video button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: .82rem; color: var(--muted); margin: 0 0 2em; }
.video-note a { color: var(--muted); }

/* Galleria */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 1.5em 0 2em; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #000; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.gallery a:hover img { transform: scale(1.05); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgb(0 0 0 / .92); }
dialog.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 6px; }
dialog.lightbox button { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .15); color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Navigazione fra articoli */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 8px; }
.post-nav a { text-decoration: none; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.post-nav a:hover { border-color: #555; }
.post-nav small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; text-align: left; } }

/* Chi siamo */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
.person div { padding: 24px 26px 28px; }
.person .role { font: 700 .74rem/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 10px; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Contatti */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item svg { width: 24px; height: 24px; color: var(--red-hi); flex: none; margin-top: 3px; }
.contact-item h3 { font-size: 1rem; letter-spacing: .08em; margin-bottom: .35em; }
.contact-item p { margin: 0; color: var(--muted); font-size: .96rem; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font: 600 .78rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: .8em .95em; }
input:focus, textarea:focus { outline: none; border-color: var(--red-hi); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.form-error { color: var(--red-hi); font-weight: 600; font-size: .9rem; min-height: 1.4em; margin: 10px 0 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* Piè di pagina */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .94rem; color: var(--muted); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--red-hi); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-size: .85rem; letter-spacing: .16em; color: var(--text); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand img { height: 46px; margin-bottom: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
