/* SBL – Milton Friedman Society · foglio di stile */

@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; 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-style: normal; font-display: swap; }

:root {
  --blue: #0d4b8c;
  --blue-deep: #0a3a6e;
  --navy: #0a2240;
  --navy-2: #0f2c50;
  --red: #ae0708;
  --red-deep: #8c0506;
  --paper: #faf8f4;
  --white: #ffffff;
  --ink: #141a24;
  --ink-2: #3a4352;
  --muted: #6b7482;
  --rule: #e4dfd5;
  --rule-2: #d6d0c4;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --shadow: 0 1px 2px rgba(10, 34, 64, .06), 0 8px 24px rgba(10, 34, 64, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— Barra tricolore ——— */
.tribar { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 5px; }
.tribar span:nth-child(1), .tribar span:nth-child(3) { background: var(--blue); }
.tribar span:nth-child(2) { background: var(--red); }

/* ——— Header ——— */
.masthead { position: sticky; top: 0; z-index: 50; }
.site-header { background: #fff; border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand img { width: 118px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; border-left: 1px solid var(--rule-2); padding-left: 14px; }
.brand-text b { font: 600 15px/1.2 var(--serif); letter-spacing: .01em; }
.brand-text small { font: 600 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; text-decoration: none; font: 500 14.5px/1 var(--sans); color: var(--ink-2); padding: 10px 12px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); }
.lang { display: flex; align-items: center; border: 1px solid var(--rule-2); margin-left: 10px; }
.lang a, .lang span { font: 600 12px/1 var(--sans); letter-spacing: .08em; padding: 8px 10px; text-decoration: none; color: var(--muted); }
.lang [aria-current="true"] { background: var(--navy); color: #fff; }
.lang a:hover { color: var(--navy); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule-2); padding: 9px 12px; cursor: pointer; color: var(--navy); align-items: center; gap: 8px; font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.menu-btn i { width: 18px; height: 12px; position: relative; display: inline-block; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

@media (max-width: 1260px) {
  .brand-text { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 0; background: var(--navy); flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 80px var(--gutter) 40px; transform: translateY(-100%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; z-index: 60; overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; transition: transform .35s ease, visibility 0s; }
  .nav a { color: #fff; font: 500 30px/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: #fff; }
  .nav a[aria-current="page"]::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--red); margin-right: 14px; vertical-align: middle; }
  .nav .lang { margin: 28px 0 0; border-color: rgba(255, 255, 255, .3); align-self: flex-start; }
  .nav .lang a, .nav .lang span { font: 600 14px/1 var(--sans); padding: 12px 16px; border: 0; color: rgba(255, 255, 255, .7); }
  .nav .lang [aria-current="true"] { background: #fff; color: var(--navy); }
  .nav-close { position: absolute; top: 22px; right: var(--gutter); background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; padding: 9px 12px; font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
}
@media (min-width: 1261px) { .nav-close { display: none; } }
body.menu-open { overflow: hidden; }

/* ——— Tipografia comune ——— */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.kicker.light { color: #fff; }
.kicker.light::before { background: var(--red); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; max-width: 26ch; text-wrap: balance; }
.section-head p { color: var(--muted); max-width: 46ch; margin: 12px 0 0; }
.more { font: 600 14px/1 var(--sans); color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 2px solid var(--red); white-space: nowrap; }
.more::after { content: "→"; transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--sans); padding: 16px 24px; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }

/* ——— Hero home ——— */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% 20%, rgba(13, 75, 140, .55), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(174, 7, 8, .18), transparent 60%); z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.02em; font-weight: 600; max-width: 19ch; text-wrap: balance; }
.hero h1 em { font-style: italic; color: #fff; font-weight: 500; }
.hero p.lead { font-size: clamp(17px, 1.5vw, 19px); color: rgba(255, 255, 255, .82); max-width: 54ch; margin: 26px 0 34px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-figure { position: relative; margin: 0; justify-self: end; width: min(100%, 440px); }
.hero-figure .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blue); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; opacity: .92; }
.hero-figure .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 34, 64, .9)); }
.hero-figure .tiles { position: absolute; top: -14px; right: min(-14px, 0px); display: grid; grid-template-columns: repeat(3, 22px); gap: 4px; z-index: 2; }
.hero-figure .tiles i { width: 22px; height: 22px; background: var(--blue); }
.hero-figure .tiles i:nth-child(2) { background: var(--red); }
.hero-figure .tiles i:nth-child(3) { background: #fff; }
.hero-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 24px; z-index: 2; }
.hero-figure blockquote { margin: 0; font: italic 400 19px/1.45 var(--serif); color: #fff; }
.hero-figure cite { display: block; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 14px; font-style: normal; }
.hero-figure cite::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); justify-content: start; }
.stats b { display: block; font: 600 34px/1 var(--serif); color: #fff; }
.stats span { font: 500 12.5px/1.3 var(--sans); color: rgba(255, 255, 255, .62); letter-spacing: .04em; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { justify-self: start; width: 100%; max-width: 520px; }
  .hero-figure .frame { aspect-ratio: 16 / 11; }
  .stats { gap: 24px; }
  .stats b { font-size: 28px; }
}

/* ——— Card articoli ——— */
.grid { display: grid; gap: clamp(24px, 3vw, 36px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card .cat { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); padding: 22px 22px 0; }
.card h3 { font-size: 21px; line-height: 1.25; padding: 12px 22px 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.grid-4 .card h3 { font-size: 19px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .dek { color: var(--ink-2); font: 400 15.5px/1.55 var(--serif); margin: 0; padding: 10px 22px 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { padding: 18px 22px 22px; margin-top: auto; }
@supports (grid-template-rows: subgrid) {
  .cards { grid-auto-rows: auto; row-gap: clamp(24px, 3vw, 36px); }
  .cards > .card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
  .cards > .card[hidden] { display: none; }
  .card .meta { align-self: end; }
}
.meta { font: 500 12.5px/1.4 var(--sans); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.meta .author { color: var(--navy); font-weight: 600; width: 100%; }

.feature { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--white); border: 1px solid var(--rule); position: relative; }
.feature .thumb { aspect-ratio: auto; min-height: 420px; overflow: hidden; background: var(--navy); }
.feature .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature .body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.feature h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; margin: 6px 0 18px; text-wrap: balance; }
.feature h3 a { text-decoration: none; }
.feature h3 a::after { content: ""; position: absolute; inset: 0; }
.feature p:not(.kicker) { color: var(--ink-2); font: 400 18px/1.6 var(--serif); margin: 0 0 24px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .thumb { min-height: 0; aspect-ratio: 16 / 10; } }

.latest-layout { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 36px); }

.list-item { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--rule); position: relative; }
.list-item img { aspect-ratio: 1; object-fit: cover; width: 120px; }
.list-item h4 { font-size: 18px; line-height: 1.3; margin: 4px 0 6px; }
.list-item h4 a { text-decoration: none; }
.list-item h4 a::after { content: ""; position: absolute; inset: 0; }

/* ——— Fascia citazione ——— */
.quote-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.quote-band .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.quote-band .mark { font: 600 clamp(120px, 16vw, 220px)/.7 var(--serif); color: rgba(255, 255, 255, .22); margin-top: .2em; }
.quote-band blockquote { margin: 0; font: 400 clamp(24px, 3.2vw, 40px)/1.28 var(--serif); letter-spacing: -.01em; max-width: 32ch; }
.quote-band cite { display: block; margin-top: 24px; font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: rgba(255, 255, 255, .8); }
.quote-band .portrait { width: clamp(120px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255, 255, 255, .6); }
.quote-band .portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
@media (max-width: 720px) { .quote-band .wrap { grid-template-columns: 1fr; } .quote-band .mark { display: none; } }

/* ——— Cosa facciamo ——— */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.pillar { padding: 28px 24px 8px 0; }
.pillar + .pillar { padding-left: 24px; border-left: 1px solid var(--rule); }
.pillar .n { font: 600 13px/1 var(--sans); color: var(--red); letter-spacing: .1em; }
.pillar h3 { font-size: 22px; margin: 14px 0 10px; }
.pillar p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } .pillar:first-child { border-top: 0; } }

/* ——— Eventi (mosaico) ——— */
.dark { background: var(--navy); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .section-head p { color: rgba(255, 255, 255, .7); }
.dark .more { color: #fff; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--navy-2); }
.mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--rule); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 16px 18px 18px; font: 600 16px/1.35 var(--serif); color: var(--navy); }
.gallery figcaption small { display: block; font: 400 14px/1.45 var(--sans); color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s; filter: saturate(.9); }
.mosaic figure:hover img { transform: scale(1.04); filter: saturate(1.05); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(10, 34, 64, .92)); font: 600 14px/1.35 var(--sans); }
.mosaic figcaption small { display: block; font-weight: 400; color: rgba(255, 255, 255, .75); margin-top: 4px; font-size: 13px; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .mosaic figure:nth-child(4) { grid-column: span 1; } }
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; grid-auto-rows: 240px; } .mosaic figure:nth-child(1) { grid-column: span 1; grid-row: span 1; } }

/* ——— Pensatori ——— */
.thinkers-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.thinker { scroll-snap-align: start; position: relative; background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.thinker .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--blue); position: relative; }
.thinker .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.08); transition: filter .4s ease, transform .6s ease; }
.thinker:hover .ph img { filter: grayscale(0); transform: scale(1.03); }
.thinker .ph::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 6px; background: var(--red); }
.thinker .tx { padding: 18px 18px 20px; }
.thinker h3 { font-size: 20px; }
.thinker .yrs { font: 500 12.5px/1.2 var(--sans); color: var(--muted); margin-top: 4px; }
.thinker blockquote { margin: 12px 0 0; font: italic 400 15.5px/1.5 var(--serif); color: var(--ink-2); }

.thinker-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--rule); align-items: center; }
.thinker-row:nth-child(even) { grid-template-columns: 1fr 300px; }
.thinker-row:nth-child(even) .ph { order: 2; }
.thinker-row .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--blue); position: relative; }
.thinker-row .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.08); }
.thinker-row .ph::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 8px; background: var(--red); }
.thinker-row h2 { font-size: clamp(30px, 3.4vw, 42px); }
.thinker-row .role { font: 600 12.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 10px 0 22px; }
.thinker-row blockquote { margin: 0; font: 400 clamp(21px, 2.2vw, 28px)/1.38 var(--serif); color: var(--navy); border-left: 3px solid var(--red); padding-left: 24px; }
.thinker-row cite { display: block; margin-top: 14px; padding-left: 27px; font: 500 13px/1.4 var(--sans); color: var(--muted); font-style: normal; }
@media (max-width: 760px) { .thinker-row, .thinker-row:nth-child(even) { grid-template-columns: 1fr; } .thinker-row:nth-child(even) .ph { order: 0; } .thinker-row .ph { max-width: 300px; } }

/* ——— CTA ——— */
.cta { background: var(--blue); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.cta p { color: rgba(255, 255, 255, .85); margin: 16px 0 0; max-width: 52ch; }
.cta .side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-self: end; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); color: #fff; transition: background .2s, color .2s; }
.socials a:hover { background: #fff; color: var(--blue); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } .cta .side { justify-self: start; } }

/* ——— Pagine interne ——— */
.page-head { background: var(--white); border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.page-head .wrap { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.page-head p:not(.kicker) { font: 400 clamp(18px, 1.7vw, 21px)/1.55 var(--serif); color: var(--ink-2); max-width: 60ch; margin: 20px 0 0; }
.page-head .tiles { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: repeat(3, 56px); gap: 8px; opacity: .95; }
.page-head .tiles i { width: 56px; height: 56px; background: var(--blue); }
.page-head .tiles i:nth-child(2) { background: var(--red); }
@media (max-width: 900px) { .page-head .tiles { display: none; } }

.toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 36px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--rule-2); background: var(--white); padding: 10px 16px; font: 600 13.5px/1 var(--sans); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.search { position: relative; flex: 0 1 320px; }
.search input { width: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--rule-2); background: var(--white); font: 400 15px/1.2 var(--sans); color: var(--ink); border-radius: 0; }
.search input:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.empty { display: none; padding: 40px 0; color: var(--muted); }
.count { font: 500 13px/1 var(--sans); color: var(--muted); }

/* ——— Articolo ——— */
.article-head { background: var(--white); }
.article-head .wrap { max-width: 920px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: 32px; }
.crumbs { font: 500 13px/1 var(--sans); color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.article-head h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
.article-head .dek { font: 400 clamp(19px, 2vw, 23px)/1.5 var(--serif); color: var(--ink-2); margin: 22px 0 0; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rule); font: 500 14px/1.4 var(--sans); color: var(--muted); }
.byline strong { color: var(--navy); font-weight: 600; }
.article-hero { background: linear-gradient(var(--white) 50%, var(--paper) 50%); }
.article-hero .wrap { max-width: 1120px; }
.article-hero img { width: 100%; max-height: 640px; object-fit: cover; }
.prose { max-width: 720px; margin: 0 auto; padding: clamp(36px, 5vw, 60px) var(--gutter) 24px; font: 400 20px/1.72 var(--serif); color: #1d2430; }
.prose p { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; line-height: 1.2; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 25px; } .prose h4 { font-size: 21px; }
.prose a { color: var(--blue); }
.prose blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 3px solid var(--red); font-style: italic; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; height: auto; border: 1px solid var(--rule); background: #fff; }
.prose figcaption { font: 400 14px/1.5 var(--sans); color: var(--muted); margin-top: 10px; }
.prose > p.dropcap::first-letter { float: left; font: 600 4.1em/.82 var(--serif); color: var(--red); margin: .07em .1em 0 0; }
.tr-note { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.tr-note div { background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--blue); padding: 14px 18px; font: 400 14.5px/1.5 var(--sans); color: var(--ink-2); }
.tr-note a { color: var(--blue); font-weight: 600; }
.share { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter) 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share > span { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share a, .share button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--rule-2); background: var(--white); color: var(--navy); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share svg { width: 17px; height: 17px; fill: currentColor; }
.share .copied { font: 500 13px/1 var(--sans); color: var(--blue); opacity: 0; transition: opacity .2s; }
.share .copied.show { opacity: 1; }
.disclaimer { max-width: 720px; margin: 28px auto 0; padding: 0 var(--gutter); font: 400 13px/1.5 var(--sans); color: var(--muted); }

/* ——— Chi siamo ——— */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .copy p { font: 400 19px/1.65 var(--serif); color: var(--ink-2); margin: 0 0 1em; }
.split .copy p.big { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--navy); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.value { background: var(--white); padding: 30px 26px; }
.value i { display: block; width: 28px; height: 28px; background: var(--blue); margin-bottom: 20px; }
.value:nth-child(2) i { background: var(--red); }
.value:nth-child(4) i { background: var(--red); }
.value h3 { font-size: 21px; margin-bottom: 10px; }
.value p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.photo-credit { font: 400 13px/1.4 var(--sans); color: var(--muted); margin-top: 10px; }

/* ——— Contatti ——— */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.contact-grid > div { background: var(--white); padding: 32px 28px; }
.contact-grid h3 { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.contact-grid p, .contact-grid a { font: 400 20px/1.45 var(--serif); color: var(--navy); margin: 0; word-break: break-word; }
.contact-grid .socials a { border-color: var(--rule-2); color: var(--navy); width: 46px; height: 46px; }
.contact-grid .socials a:hover { background: var(--navy); color: #fff; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ——— Crediti ——— */
.credits-list { list-style: none; padding: 0; margin: 0; }
.credits-list li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--rule); align-items: center; font-size: 15px; color: var(--ink-2); }
.credits-list img { width: 64px; height: 64px; object-fit: cover; filter: grayscale(1); }
.credits-list a { color: var(--blue); }

/* ——— Footer ——— */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.site-footer .mark { width: 150px; margin-bottom: 18px; }
.site-footer h4 { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .socials a { border-color: rgba(255, 255, 255, .25); }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .55); }
.site-footer .bottom p { margin: 0; max-width: 70ch; }
@media (max-width: 800px) { .site-footer .top { grid-template-columns: 1fr; gap: 32px; } }

/* ——— 404 ——— */
.notfound { min-height: 56vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); }
.notfound p { color: var(--muted); margin: 14px 0 28px; }

/* ——— Animazioni d'ingresso ——— */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

@media print {
  .site-header, .site-footer, .share, .cta, .tribar { display: none !important; }
  body { background: #fff; }
}

@media (max-width: 560px) { .hero-figure .tiles { right: 0; } .stats { gap: 16px; } .stats b { font-size: 24px; } .stats span { font-size: 11.5px; } .hero .actions .btn { flex: 1 1 auto; justify-content: center; } .section-head .more { margin-top: -8px; } }

/* ——— Barra in alto: lingua sempre visibile ——— */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .75); font: 500 12.5px/1 var(--sans); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 40px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; background: rgba(255, 255, 255, .1); padding: 3px; border-radius: 3px; }
.lang-switch svg { width: 15px; height: 15px; fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.6; margin: 0 6px 0 5px; }
.lang-switch a, .lang-switch span { font: 700 12px/1 var(--sans); letter-spacing: .1em; padding: 7px 11px; border-radius: 2px; text-decoration: none; color: rgba(255, 255, 255, .8); transition: background .2s, color .2s; }
.lang-switch [aria-current="true"] { background: #fff; color: var(--navy); }
.lang-switch a:hover { background: var(--red); color: #fff; }
.topbar-note { margin: 0; letter-spacing: .04em; }
.topbar-social { margin-left: auto; }
.topbar-social .socials { gap: 4px; }
.topbar-social .socials a { width: 28px; height: 28px; border: 0; color: rgba(255, 255, 255, .75); }
.topbar-social .socials a:hover { background: transparent; color: #fff; }
.topbar-social .socials svg { width: 14px; height: 14px; }
@media (max-width: 700px) { .topbar-note, .topbar-social { display: none; } }

/* ——— Hero ——— */
.hero-pattern { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hero h1 { max-width: 16ch; }
.stats { margin: 44px 0 0; }
.stats dt { font: 500 12px/1.3 var(--sans); color: rgba(255, 255, 255, .6); letter-spacing: .06em; text-transform: uppercase; order: 2; }
.stats dd { margin: 0 0 6px; font: 600 32px/1 var(--serif); color: #fff; }
.stats > div { display: flex; flex-direction: column-reverse; }

/* ——— Citazioni ——— */
.quotes-section { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.qcard { margin: 0; position: relative; display: flex; flex-direction: column; padding: 34px 30px 26px; background: var(--paper); border-top: 4px solid var(--blue); }
.qcard:nth-child(3n+2) { border-top-color: var(--red); }
.qcard:nth-child(6n+1) { background: var(--navy); color: #fff; border-top-color: var(--red); }
.qcard:nth-child(6n+5) { background: var(--blue); color: #fff; border-top-color: #fff; }
.qcard .qmark { position: absolute; top: 6px; right: 22px; font: 600 96px/1 var(--serif); color: var(--red); opacity: .18; }
.qcard:nth-child(6n+1) .qmark, .qcard:nth-child(6n+5) .qmark { color: #fff; opacity: .2; }
.qcard blockquote { margin: 0 0 26px; font: 400 21px/1.42 var(--serif); color: var(--navy); }
.qcard:nth-child(6n+1) blockquote, .qcard:nth-child(6n+5) blockquote { color: #fff; }
.qcard figcaption { margin-top: auto; display: flex; gap: 14px; align-items: center; }
.qcard figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 20%; filter: grayscale(1); flex-shrink: 0; }
.qcard figcaption b { display: block; font: 600 14.5px/1.3 var(--sans); }
.qcard figcaption small { display: block; font: 400 13px/1.35 var(--sans); color: var(--muted); margin-top: 2px; }
.qcard:nth-child(6n+1) small, .qcard:nth-child(6n+5) small { color: rgba(255, 255, 255, .7); }
@media (max-width: 980px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .quotes { grid-template-columns: 1fr; } .qcard blockquote { font-size: 19px; } }
.article-quote { max-width: 720px; margin: 36px auto 0; padding: 0 var(--gutter); }
.article-quote .qcard { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--red); color: inherit; }
.article-quote .qcard blockquote { color: var(--navy); }
.article-quote .qcard small { color: var(--muted) !important; }
.article-quote .qcard .qmark { color: var(--red); }

/* ——— Chi siamo: come ci definiamo ——— */
.define { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: start; padding-top: 8px; background: linear-gradient(var(--navy), var(--navy)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 2px no-repeat; }
.define h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; margin-top: 0; }
.define-copy p { font: 400 clamp(20px, 2vw, 24px)/1.5 var(--serif); color: var(--navy); margin: 0 0 .8em; }
.define .kicker { margin-top: 28px; }
.define-copy { padding-top: 28px; }
@media (max-width: 800px) { .define { grid-template-columns: 1fr; } .define-copy { padding-top: 0; } }

/* ——— Pensatori in home ——— */
.thinker { text-decoration: none; }
.thinker .role-line { margin: 8px 0 0; font: 400 14px/1.45 var(--sans); color: var(--ink-2); }
.cat-section + .cat-section { padding-top: 0; }
.qcard blockquote { padding-right: 44px; }
.quotes .qcard:first-child blockquote { font-size: clamp(30px, 3vw, 40px); line-height: 1.15; font-weight: 500; }
