/* filippocalabrese.com — direzione B "Petrolio".
   Fascia petrolio con il segno fc fuori scala, carta fredda sotto, Schibsted Grotesk per struttura e UI,
   Newsreader per titoli degli articoli e testo lungo. Un solo accento: celadon. Niente gradienti, niente maiuscoletti. */

@font-face { font-family: "SG"; src: url(../fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "NR"; src: url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "NR"; src: url(../fonts/newsreader-latin-wght-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
	--pet: #142F3F; --pet2: #1B3E53; --pet3: #24506A;
	--fog: #E6EEEC; --fog2: #A9C1C2; --cel: #A9D8C5; --cel-d: #8FC8B2; --mist: #D7E7E2;
	--paper: #F4F7F6; --ink: #142F3F; --ink2: #34505C; --mute: #4F6A75; --line: #CFDAD8; --field: #B9CBC9;
	--pad: clamp(20px, 5vw, 72px);
	--max: 1440px;
	--sans: "SG", ui-sans-serif, system-ui, sans-serif;
	--serif: "NR", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--cel); outline-offset: 3px; border-radius: 2px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--cel); color: var(--pet); padding: 10px 16px; font-weight: 600; border-radius: 4px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Fascia petrolio ---------- */
.top { background: var(--pet); color: var(--fog); position: relative; overflow: hidden; }
.top > * { position: relative; max-width: var(--max); margin-inline: auto; }
.top > .bigmark { position: absolute; color: var(--pet2); max-width: none; pointer-events: none; }
.top--home > .bigmark { right: -120px; top: 40px; height: 860px; width: auto; }
.top--page > .bigmark { right: -70px; top: 64px; height: 420px; width: auto; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; padding-inline: var(--pad); z-index: 20; }
.site-head__logo { color: var(--fog); }
.site-head__logo .logo { height: 30px; width: auto; }
.menu__btn { display: none; }
.nav__list { display: flex; gap: 34px; font-weight: 500; font-size: 16px; color: var(--fog2); }
.nav__list a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s; }
.nav__list a:hover { color: var(--fog); }
.nav__list .current-menu-item > a, .nav__list .current-page-ancestor > a, .nav__list .current_page_parent > a { color: var(--fog); border-bottom-color: var(--cel); }

.hero { padding: 120px var(--pad) 110px; }
.hero__name { font-weight: 800; font-size: clamp(60px, 10.4vw, 150px); line-height: .9; letter-spacing: -.045em; color: #fff; }
.hero__role { display: block; margin-top: 30px; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--cel); }
.hero__intro { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.38; max-width: 30em; margin-top: 40px; color: var(--fog2); letter-spacing: -.005em; }
.hero__intro a { color: var(--fog); border-bottom: 2px solid var(--cel); padding-bottom: 1px; transition: background .15s; }
.hero__intro a:hover { background: var(--pet3); }

.strip { display: flex; flex-wrap: wrap; gap: 18px 56px; padding: 26px var(--pad); border-top: 1px solid var(--pet3); font-size: 15px; color: var(--fog2); }
.strip b, .strip dd { color: #fff; font-weight: 700; font-size: 22px; display: block; letter-spacing: -.01em; }
.strip--facts { margin-top: 8px; }
.strip--facts dt { font-size: 14px; color: var(--fog2); }
.strip--facts dd { font-size: 19px; }
.strip--facts dd a { border-bottom: 2px solid var(--cel); }

.page-head { padding: 40px var(--pad) 72px; }
.page-head h1 { font-weight: 800; font-size: clamp(42px, 6.2vw, 92px); line-height: .96; letter-spacing: -.042em; color: #fff; max-width: 15em; }
.page-head__lead { font-size: clamp(19px, 1.8vw, 25px); line-height: 1.42; color: var(--fog2); max-width: 32em; margin-top: 28px; }
.page-head .search { margin-top: 32px; }
.crumbs { font-size: 14px; color: var(--fog2); margin-bottom: 40px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a:hover { color: var(--fog); }
.crumbs__sep { opacity: .5; }
.plate { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 16px 22px; margin-bottom: 30px; }
.plate img { max-height: 40px; max-width: 220px; width: auto; }

.catnav { display: flex; flex-wrap: wrap; gap: 6px 30px; padding: 0 var(--pad); border-top: 1px solid var(--pet3); font-size: 15px; font-weight: 500; color: var(--fog2); }
.catnav a { padding: 18px 0 16px; border-bottom: 2px solid transparent; }
.catnav a:hover { color: var(--fog); }
.catnav a[aria-current] { color: #fff; border-bottom-color: var(--cel); }
.catnav span { font-weight: 400; opacity: .7; margin-left: 2px; }

/* ---------- Componenti comuni ---------- */
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; border-bottom: 2px solid var(--cel); padding-bottom: 2px; margin-top: 22px; }
.more .arr { width: 15px; height: 15px; transition: transform .15s; }
.more:hover .arr { transform: translateX(3px); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--cel); color: var(--pet); font-weight: 600; font-size: 16px; padding: 14px 22px; border-radius: 4px; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--cel-d); }
.btn .arr { width: 15px; height: 15px; }
.btn--dark { background: var(--pet); color: #fff; }
.btn--dark:hover { background: var(--pet3); }
.btn--ghost { background: transparent; color: var(--fog); box-shadow: inset 0 0 0 1.5px var(--fog2); }
.btn--ghost:hover { background: var(--pet3); }
.notice { padding: 12px 16px; border-radius: 4px; font-size: 15.5px; margin-bottom: 16px; }
.notice--ok { background: var(--mist); color: var(--pet); }
.notice--err { background: #F6DEDA; color: #6B2118; }
.empty { padding: 64px 0; font-size: 19px; color: var(--mute); }
.empty a { border-bottom: 2px solid var(--cel); }

/* ---------- Home ---------- */
.lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; padding: 90px 0 70px; border-bottom: 1px solid var(--line); }
.lead__kicker { font-size: 15px; color: var(--mute); margin-bottom: 18px; }
.lead__title { font: 500 clamp(36px, 4.4vw, 64px)/1.04 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.02em; }
.lead__title a:hover { color: var(--pet3); }
.lead__dek { font: 400 20px/1.6 var(--serif); color: var(--ink2); margin-top: 24px; max-width: 36em; }
.side__head { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.side__item { padding: 18px 0; border-top: 1px solid var(--line); }
.side__item h3 { font: 500 23px/1.25 var(--serif); font-variation-settings: "opsz" 30; }
.side__item h3 a:hover { color: var(--pet3); }
.side__item span { font-size: 14px; color: var(--mute); display: block; margin-top: 6px; }
.side .more { margin-top: 10px; }

.proj { padding: 90px 0; }
.sec-head h2 { font-weight: 800; font-size: clamp(36px, 3.9vw, 56px); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 14px; }
.sec-head p { font-size: 19px; color: var(--mute); max-width: 40em; margin-bottom: 46px; }
.band { display: grid; grid-template-columns: 300px minmax(0, 1fr) 230px; align-items: center; gap: 48px; padding: 30px 36px; border-radius: 6px; margin-bottom: 10px; background: #fff; transition: box-shadow .15s; }
.band:hover { box-shadow: inset 0 0 0 2px var(--cel); }
.band__logo { height: 44px; display: flex; align-items: center; }
.band__logo img { max-height: 40px; max-width: 220px; width: auto; }
.band__text { display: block; }
.band__title { display: block; font-weight: 700; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.band__desc { display: block; font-size: 17px; color: var(--mute); margin-top: 4px; }
.band__meta { font-size: 14.5px; text-align: right; color: var(--mute); }
.band__meta b { display: block; color: var(--pet); font-size: 15.5px; }
.band--dark { background: var(--pet); color: var(--fog); }
.band--dark .band__desc, .band--dark .band__meta { color: var(--fog2); }
.band--dark .band__meta b { color: var(--cel); }
.bands--hub { padding-top: 56px; }
.bands--hub .band { padding: 36px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { background: #fff; border-radius: 6px; padding: 30px 32px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: box-shadow .15s; }
.tile:hover { box-shadow: inset 0 0 0 2px var(--pet3); }
.tile--cel { background: var(--cel); }
.tile--mist { background: var(--mist); }
.tile h3 { font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.tile p { font-size: 16px; color: var(--ink2); }

.ways { padding: 80px 0 90px; border-top: 1px solid var(--line); }
.ways__title { font-weight: 800; font-size: clamp(32px, 3vw, 44px); letter-spacing: -.03em; margin-bottom: 40px; }
.ways__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.way { padding-right: 64px; }
.way + .way { padding: 0 0 0 64px; border-left: 1px solid var(--line); }
.way h3 { font-weight: 700; font-size: 26px; letter-spacing: -.02em; margin-bottom: 12px; }
.way p { font-size: 18px; color: var(--ink2); max-width: 30em; }

/* ---------- Newsletter ---------- */
.nl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; background: var(--pet); color: var(--fog); border-radius: 6px; padding: 56px; margin: 0 0 96px; }
.nl h2 { font-weight: 800; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.nl__copy p { color: var(--fog2); font-size: 18px; margin-top: 16px; max-width: 28em; }
.nl__row { display: flex; gap: 10px; }
.nl input[type=email] { flex: 1; min-width: 0; background: #fff; color: var(--pet); border: 0; border-radius: 4px; padding: 14px 16px; font-size: 17px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fog2); margin-top: 16px; line-height: 1.45; }
.check input { margin-top: 3px; accent-color: var(--cel); width: 16px; height: 16px; flex: none; }
.check a { color: var(--fog); border-bottom: 1px solid var(--cel); }
.page .nl, .post ~ .wrap .nl { margin-top: 24px; }

/* ---------- Blog ---------- */
.opener { padding: 72px 0 56px; }
.opener__meta { font-size: 15px; color: var(--mute); margin-bottom: 18px; }
.opener__meta a { border-bottom: 1px solid var(--cel); }
.opener__title { font: 500 clamp(36px, 4.8vw, 70px)/1.04 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.02em; max-width: 18em; }
.opener__title a:hover { color: var(--pet3); }
.opener__dek { font: 400 21px/1.55 var(--serif); color: var(--ink2); margin-top: 22px; max-width: 38em; }
.rows { border-top: 1px solid var(--line); }
.rows--first { margin-top: 56px; }
.row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 200px; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row__date { font-size: 14.5px; color: var(--mute); }
.row__title { font: 500 27px/1.22 var(--serif); font-variation-settings: "opsz" 36; letter-spacing: -.01em; }
.row__title a:hover { color: var(--pet3); }
.row__dek { font-size: 16.5px; color: var(--ink2); margin-top: 8px; max-width: 46em; }
.row__cat { justify-self: end; text-align: right; font-size: 14.5px; font-weight: 600; border-bottom: 2px solid var(--cel); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; padding: 40px 0 72px; }
.pager .page-numbers { padding: 10px 15px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; font-weight: 500; background: #fff; }
.pager .current { background: var(--pet); color: #fff; border-color: var(--pet); }
.pager .dots { background: none; border: 0; }
.pager a:hover { border-color: var(--pet3); }
.related { padding: 72px 0; }
.related h2, .rows__title { font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.03em; margin-bottom: 24px; }

/* ---------- Articolo ---------- */
.post__head { padding-top: 48px; padding-bottom: 48px; }
.post__head .crumbs { color: var(--mute); margin-bottom: 36px; }
.post__head .crumbs a:hover { color: var(--pet); }
.post__title { font: 500 clamp(38px, 5.2vw, 76px)/1.04 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.022em; max-width: 19em; }
.post__dek { font: 400 clamp(19px, 1.7vw, 23px)/1.5 var(--serif); color: var(--ink2); margin-top: 26px; max-width: 36em; }
.post__body { display: grid; grid-template-columns: 240px minmax(0, 700px); gap: 72px; }
.post__aside { border-top: 2px solid var(--pet); padding-top: 14px; align-self: start; position: sticky; top: 24px; }
.post__meta > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.post__meta dt { color: var(--mute); }
.post__meta dd { font-weight: 600; text-align: right; }
.post__meta dd a { border-bottom: 2px solid var(--cel); }
.toc { margin-top: 32px; }
.toc__title { font-size: 14.5px; font-weight: 700; margin-bottom: 10px; }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 0 7px 10px; font-size: 14.5px; line-height: 1.35; color: var(--mute); border-left: 2px solid var(--line); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: 12.5px; opacity: .7; padding-top: 1px; }
.toc a:hover, .toc a[aria-current] { color: var(--pet); border-left-color: var(--cel); }
.post__main > .prose { border-top: 1px solid var(--line); padding-top: 30px; }
.post__foot { padding-top: 56px; }
.author { display: grid; grid-template-columns: 64px minmax(0, 620px); gap: 28px; padding: 32px 0; border-top: 2px solid var(--pet); border-bottom: 1px solid var(--line); margin-left: calc(240px + 72px); }
.author__mark { width: 52px; height: auto; color: var(--pet); }
.author__name { font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.author p { font-size: 16.5px; color: var(--ink2); }
.author .more { margin-top: 12px; }

/* Testo lungo */
.prose { font: 400 20px/1.66 var(--serif); font-variation-settings: "opsz" 16; color: #1D3A49; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font: 800 30px/1.15 var(--sans); letter-spacing: -.025em; color: var(--ink); margin-top: 2.1em; }
.prose h3 { font: 700 23px/1.25 var(--sans); letter-spacing: -.015em; color: var(--ink); margin-top: 1.8em; }
.prose h4 { font: 700 19px/1.3 var(--sans); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cel); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--pet3); }
.prose strong, .prose b { font-weight: 650; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1.05em; top: .72em; width: .42em; height: 2px; background: var(--pet3); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { font: 600 .85em var(--sans); color: var(--mute); }
.prose li + li { margin-top: .4em; }
.prose blockquote { border-left: 3px solid var(--cel); padding: 2px 0 2px 24px; font-style: italic; color: var(--ink2); }
.prose img { height: auto; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.prose figure { margin-block: 1.6em; }
.prose figcaption { font: 400 14.5px/1.45 var(--sans); color: var(--mute); margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose code { font: 400 .85em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--mist); padding: 1px 5px; border-radius: 3px; }
.prose pre { background: var(--pet); color: var(--fog); padding: 18px 20px; border-radius: 4px; overflow-x: auto; font-size: 15px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font: 400 15.5px/1.45 var(--sans); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; border-bottom: 2px solid var(--pet); }
.prose--page { font: 400 17.5px/1.65 var(--sans); max-width: 760px; color: var(--ink2); padding: 64px 0 96px; }
.prose--page h2 { font-size: 26px; }
.prose--page h3 { font-size: 20px; }
.prose--page .updated { font-size: 15px; color: var(--mute); }

/* ---------- Pagine composte ---------- */
.flow { padding-bottom: 32px; }
.sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 72px; padding: 56px 0; border-top: 1px solid var(--line); }
.flow > .sec:first-child { border-top: 0; padding-top: 72px; }
.sec > h2 { font-weight: 800; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.08; letter-spacing: -.03em; }
.sec > h2 small { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--mute); margin-top: 12px; line-height: 1.4; }
.sec__body { font-size: 18.5px; line-height: 1.6; color: var(--ink2); max-width: 44em; }
.sec__body > * + * { margin-top: 1em; }
.sec__body h3 { font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -.015em; margin-top: 1.6em; }
.sec__body h3:first-child { margin-top: 0; }
.sec__body a { color: var(--ink); border-bottom: 2px solid var(--cel); }
.sec__body strong { color: var(--ink); font-weight: 650; }
.sec__body .big { font: 400 clamp(22px, 2vw, 28px)/1.4 var(--serif); color: var(--ink); }
.dash > li { position: relative; padding-left: 26px; }
.dash > li + li { margin-top: 10px; }
.dash > li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 2px; background: var(--pet3); }
.steps { counter-reset: st; border-top: 1px solid var(--line); }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(st, decimal-leading-zero); font-weight: 700; font-size: 15px; color: var(--pet3); padding-top: 3px; }
.steps b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 2px; }
.timeline > li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline > li:first-child { border-top: 0; padding-top: 0; }
.timeline .yr { font-weight: 800; font-size: 30px; letter-spacing: -.03em; color: var(--pet); line-height: 1.1; }
.timeline b { display: block; color: var(--ink); font-size: 20px; margin-bottom: 4px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0 32px; }
.card { border-radius: 6px; padding: 28px 30px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.card--cel { background: var(--cel); }
.card--mist { background: var(--mist); }
.card--dark { background: var(--pet); color: var(--fog); }
.card--dark p { color: var(--fog2); }
.card h3 { font-weight: 700; font-size: 23px; letter-spacing: -.02em; line-height: 1.15; }
.card p { font-size: 16.5px; color: var(--ink2); }
.card .more { margin-top: auto; align-self: flex-start; }
.card--dark .more { color: #fff; }

.course { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 40px; align-items: center; background: #fff; border-radius: 6px; padding: 30px 36px; }
.course + .course { margin-top: 10px; }
.course__nums { font-size: 14.5px; color: var(--mute); }
.course__nums b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--pet); line-height: 1.05; }
.course h2, .course h3 { font-weight: 700; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); margin: 0; }
.course p { font-size: 16.5px; margin-top: 6px; }
.courses { margin: 64px 0 24px; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.quotes blockquote { font: 400 21px/1.45 var(--serif); color: var(--ink); }
.quotes cite { display: block; font: 400 14.5px var(--sans); color: var(--mute); font-style: normal; margin-top: 10px; }

.cta { background: var(--pet); color: var(--fog); border-radius: 6px; padding: 56px; margin: 40px 0 96px; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 24px 56px; align-items: end; }
.cta h2 { font-weight: 800; font-size: clamp(28px, 2.8vw, 42px); letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.cta p { color: var(--fog2); font-size: 18px; margin-top: 12px; max-width: 34em; grid-column: 1; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 2; grid-row: 1 / span 2; }
.cta h2, .cta p { grid-column: 1; }

.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 64px 0 24px; }
.shelf__item { background: #fff; border-radius: 6px; padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s; }
.shelf__item:hover { box-shadow: inset 0 0 0 2px var(--cel); }
.shelf__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; background: var(--mist); border-radius: 4px; padding: 18px; margin-bottom: 10px; flex: none; }
.shelf__img img { max-height: 100%; width: auto; box-shadow: 0 10px 24px -10px rgba(20, 47, 63, .45); }
.shelf__item b { font-size: 18px; letter-spacing: -.01em; }
.shelf__item > span:last-child { font-size: 15px; color: var(--mute); }

/* ---------- Form ---------- */
.cform { max-width: 720px; }
.cform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 18px; border: 0; }
.field label, .field legend { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea { width: 100%; background: #fff; border: 1.5px solid var(--field); border-radius: 4px; padding: 12px 14px; font-size: 17px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--pet3); outline-offset: 0; border-color: var(--pet3); }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.reasons legend { grid-column: 1 / -1; }
.reason { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 4px; padding: 12px 14px; font-size: 15.5px; line-height: 1.35; cursor: pointer; }
.reasons .reason { display: flex; margin: 0; font-weight: 400; color: var(--ink2); }
.reasons .reason input { width: 16px; height: 16px; padding: 0; accent-color: var(--pet); margin-top: 2px; flex: none; }
.reason:has(input:checked) { border-color: var(--pet); background: var(--mist); }
.cform__note { font-size: 14.5px; color: var(--mute); margin: 4px 0 18px; }
.cform__note a { border-bottom: 1px solid var(--cel); }
.search { display: flex; gap: 10px; max-width: 560px; }
.search input { flex: 1; min-width: 0; border: 0; border-radius: 4px; padding: 13px 16px; font-size: 17px; background: #fff; color: var(--pet); }

/* ---------- Footer ---------- */
.site-foot { background: var(--pet); color: var(--fog2); margin-top: 0; }
.site-foot__inner { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.site-foot__logo { color: var(--fog); display: inline-block; }
.site-foot__logo .logo { height: 28px; width: auto; }
.site-foot__id p { margin-top: 16px; font-size: 15.5px; }
.site-foot__profiles { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 15px; }
.site-foot__profiles a, .site-foot__list a { color: var(--fog); }
.site-foot__profiles a:hover, .site-foot__list a:hover { border-bottom: 1px solid var(--cel); }
.site-foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot h2 { font-size: 14.5px; font-weight: 600; color: var(--fog2); margin-bottom: 12px; }
.site-foot__list { font-size: 15.5px; }
.site-foot__list li + li { margin-top: 7px; }
.site-foot__legal { max-width: var(--max); margin: 0 auto; padding: 22px var(--pad) 30px; border-top: 1px solid var(--pet3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; font-size: 13.5px; }
.site-foot__legal a { color: var(--fog); }
.site-foot__legal-list { display: flex; gap: 18px; }

/* ---------- Copertine (featured image 1600x900) ---------- */
.cover { margin: 0; }
.cover a { display: block; border-radius: 6px; }
.cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--mist); box-shadow: 0 0 0 1px rgba(20, 47, 63, .08), 0 10px 28px -14px rgba(20, 47, 63, .35); }
.cover--single { margin-bottom: 40px; }
.cover--single + .prose { border-top: 0; padding-top: 0; }
.opener--img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.opener--img > .cover { order: 2; }
.opener--img .opener__title { font-size: clamp(34px, 3.6vw, 56px); }
.lead__main > .cover { margin-bottom: 32px; }
.side__item--img { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 20px; align-items: start; }
.side__item--img .cover img { border-radius: 4px; }
.row--img { grid-template-columns: 170px 208px minmax(0, 1fr) 200px; grid-template-areas: "date img main cat"; }
.row--img > .cover { grid-area: img; align-self: start; }
.row--img > .cover img { border-radius: 4px; }
.row--img > .row__date { grid-area: date; }
.row--img > .row__main { grid-area: main; }
.row--img > .row__cat { grid-area: cat; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.band { grid-template-columns: 220px minmax(0, 1fr) 170px; gap: 32px; }
	.post__body { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
	.author { margin-left: calc(200px + 48px); }
	.row--img { grid-template-columns: 130px 176px minmax(0, 1fr) 150px; gap: 28px; }
}
@media (max-width: 899px) {
	.site-head { height: 76px; }
	.site-head__logo .logo { height: 24px; }
	.menu__btn { display: inline-flex; list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--fog); padding: 9px 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--pet3); }
	.menu__btn::-webkit-details-marker { display: none; }
	.menu__close, .menu[open] .menu__open { display: none; }
	.menu[open] .menu__close { display: inline; }
	.menu .nav { position: absolute; left: 0; right: 0; top: 76px; background: var(--pet2); padding: 8px var(--pad) 20px; box-shadow: 0 1px 0 var(--pet3); }
	.nav__list { flex-direction: column; gap: 0; font-size: 18px; }
	.nav__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--pet3); }
	.nav__list .current-menu-item > a { border-bottom-color: var(--cel); }
	.top--home > .bigmark { height: 420px; right: -110px; top: 90px; opacity: .9; }
	.top--page > .bigmark { height: 260px; right: -80px; top: 60px; }
	.hero { padding-top: 64px; padding-bottom: 64px; }
	.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
	.page-head { padding-top: 28px; padding-bottom: 52px; }
	.crumbs { margin-bottom: 28px; }
	.lead { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 56px 0; }
	.proj { padding: 64px 0; }
	.band { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px; }
	.band__meta { text-align: left; display: flex; gap: 8px; flex-wrap: wrap; }
	.band__meta b::after { content: " ·"; color: var(--mute); }
	.band__title { font-size: 22px; }
	.tiles, .cards3 { grid-template-columns: minmax(0, 1fr); }
	.shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
	.tile { min-height: 0; }
	.ways__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.way, .way + .way { padding: 0; border: 0; }
	.way + .way { padding-top: 40px; border-top: 1px solid var(--line); }
	.nl { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; gap: 28px; margin-bottom: 64px; }
	.nl__row { flex-direction: column; }
	.row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 0; }
	.row__cat { justify-self: start; text-align: left; margin-top: 8px; }
	.row__title { font-size: 24px; }
	.opener { padding: 48px 0 40px; }
	.opener--img { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.opener--img > .cover { order: 0; }
	.row--img { grid-template-columns: minmax(0, 1fr); grid-template-areas: "img" "date" "main" "cat"; }
	.row--img > .cover { margin-bottom: 14px; }
	.cover--single { margin-bottom: 28px; }
	/* su mobile la copertina sale subito sotto i meta, prima dell'indice: è l'LCP */
	.post__aside, .post__main { display: contents; }
	.post__meta { order: 1; }
	.cover--single { order: 2; }
	.toc { order: 3; }
	.post__main > .prose { order: 4; }
	.post__body { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.post__aside { position: static; border-top: 0; padding-top: 0; }
	.post__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-bottom: 14px; }
	.post__meta > div { border: 0; padding: 0; gap: 6px; font-size: 14px; }
	.post__meta dt::after { content: ":"; }
	.toc { margin: 8px 0 28px; padding: 16px 18px; background: #fff; border-radius: 4px; }
	.prose { font-size: 19px; }
	.prose h2 { font-size: 26px; }
	.author { margin-left: 0; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
	.author__mark { width: 40px; }
	.sec { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 40px 0; }
	.flow > .sec:first-child { padding-top: 48px; }
	.timeline > li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.course { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px; }
	.course__nums { display: flex; gap: 22px; }
	.course__nums b { font-size: 24px; }
	.quotes { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.cta { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; margin-bottom: 64px; }
	.cta__actions { grid-column: 1; grid-row: auto; }
	.cform__grid, .reasons { grid-template-columns: minmax(0, 1fr); }
	.site-foot__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 56px; }
	.site-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.search { flex-direction: column; }
}
@media (min-width: 900px) {
	.menu > .nav { display: block; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
