/* Mullion Studio su reference Ciridae (ciridae.com, Awwwards SOTD 6/2/2026).
   Misure ricalcate a 1440: margini 91px, hero condensato 104px, h2 48px (-0.045em), mono 11-12px.
   Font: Pragmatica Cond -> Barlow Condensed 400; Pragmatica -> Geist; ABC Monument Grotesk Mono -> Geist Mono.
   Palette dal CSS di Ciridae: --ground-ink #14110d, --ground-bone #eae1ce, --ground-cream #f7f2e7,
   --marketing-paper #efede7, --marketing-black #0b0b0b, --marketing-charcoal #272a2a, --ground-copper #cc6437.
   Curva unica: cubic-bezier(.22,1,.36,1), la piu usata nel CSS di Ciridae. Solo transform e opacity. */
@font-face { font-family: "Barlow Condensed"; src: url(/assets/fonts/barlow-cond-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/geist-mono-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --black: #0b0b0b; --charcoal: #272a2a; --ink: #14110d;
  --sand: #eae1ce; --paper: #fcfbf7; --cream: #f7f2e7;
  --muted: #4f4a42;              /* testo secondario, 7:1 su sabbia */
  --label: #5c564c;              /* label mono (Ciridae: ink al 62%), scurito per AA */
  --rule: rgba(20, 17, 13, .24);
  --acc: #cc6437;                /* rame Ciridae, su fondo scuro e nei disegni */
  --acc-ink: #9c4420;            /* rame scurito per testo su fondi chiari (AA) */
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Geist", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 6.32vw, 91px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--f-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(204, 100, 55, .2); }
p { margin: 0; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
ol, ul, dl, dd { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--paper); padding: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; }
.lab { color: var(--label); }
.h2s { font-size: clamp(34px, 3.35vw, 48px); line-height: 1.04; letter-spacing: -.045em; }
.sand { background: var(--sand); } .paper { background: var(--paper); }
.ruler { height: 14px; margin-bottom: 44px; border-bottom: 1px solid var(--rule);
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 16px) bottom / 100% 6px no-repeat,
              repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 80px) bottom / 100% 14px no-repeat; }
.link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 400 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.link::after { content: "\2197"; margin-left: 6px; }
.link { background: linear-gradient(currentColor, currentColor) 0 calc(50% + 10px) / 100% 1px no-repeat; }
.link:hover { color: var(--acc-ink); }
.link--d:hover { color: var(--acc); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font: 400 13px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.btn:hover { opacity: .88; } .btn:active { transform: scale(.98); }
.btn--acc { background: var(--acc); color: var(--black); }
.btn--ink { background: var(--ink); color: var(--cream); }
.sw { display: inline-block; width: 10px; height: 10px; border: 1px solid var(--ink); background: var(--cream); margin-right: 8px; vertical-align: -1px; }
.sw--acc { background: var(--acc); } .sw--dk { background: var(--ink); } .sw--mix { background: linear-gradient(135deg, var(--acc) 50%, var(--ink) 50%); }
.arr { display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: -1px; }

/* ---------- header (Ciridae: logo a sinistra, nav mono al centro, pill a destra) ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px 34px 14px 36px; color: var(--cream); }
.hdr::before { content: ""; position: absolute; inset: 0; background: var(--cream); border-bottom: 1px solid var(--rule); opacity: 0; transition: opacity .4s var(--ease); z-index: -1; }
.hdr.is-light { color: var(--ink); }
.hdr.is-light::before { opacity: 1; }
.hdr__brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 500 14px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.hdr__brand .mark { width: 22px; height: 22px; }
.hdr__nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.hdr__nav a { font: 400 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 16px 12px; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.hdr__cta { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid currentColor; border-radius: 100vw; font: 400 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.hdr__cta:hover { background: var(--acc); border-color: var(--acc); color: var(--black); }
.hdr__menu { display: none; }
.menu { position: fixed; inset: 0; z-index: 49; overscroll-behavior: contain; background: var(--charcoal); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 20px 28px; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu a { font: 400 34px/1.1 var(--f-cond); text-transform: uppercase; text-decoration: none; padding: 12px 0; border-top: 1px solid rgba(247, 242, 231, .18); }
.menu .menu__cta { font: 400 13px/1 var(--f-mono); letter-spacing: .04em; background: var(--acc); color: var(--black); border: 0; padding: 18px; margin-top: 18px; text-align: center; }

/* ---------- hero scuro ---------- */
.hero { background: var(--ink); color: var(--cream); padding: 150px 0 96px; min-height: 100svh; display: flex; align-items: center; position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(247, 242, 231, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 242, 231, .05) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, #000 30%, transparent 80%); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__k { color: rgba(247, 242, 231, .66); margin-bottom: 28px; }
.hero__t { font-family: var(--f-cond); font-size: clamp(50px, 6vw, 88px); line-height: .92; letter-spacing: -.01em; text-transform: uppercase; }
.hero__t .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__t .line > span { display: inline-block; transition: transform 1.1s var(--ease); }
.hero__t .line:nth-child(2) > span { transition-delay: .08s; }
.hero__sub { max-width: 34em; margin-top: 28px; font-size: 17px; line-height: 1.6; color: rgba(247, 242, 231, .82); transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 34px; transition: opacity .9s var(--ease) .5s; }
.hero__who { margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(247, 242, 231, .18); color: rgba(247, 242, 231, .66); max-width: 44em; text-transform: none; letter-spacing: 0; }
.panel { background: var(--sand); color: var(--ink); border: 1px solid rgba(247, 242, 231, .2); transition: opacity 1.2s var(--ease) .25s, transform 1.2s var(--ease) .25s; }
.panel__bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--label); }
.panel__draw { padding: 24px 18px 10px; }
.panel__draw .iso { width: 100%; height: auto; }
.panel__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 16px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink); }
.js:not(.is-in) .hero__t .line > span { transform: translateY(105%); }
.js:not(.is-in) .hero__sub { opacity: 0; transform: translateY(16px); }
.js:not(.is-in) .hero__ctas { opacity: 0; }
.js:not(.is-in) .panel { opacity: 0; transform: translateY(24px); }

/* ---------- testata pagine interne ---------- */
.phead { background: var(--ink); color: var(--cream); padding: 168px 0 84px; }
.phead__k { color: rgba(247, 242, 231, .66); margin-bottom: 24px; }
.phead__t { font-family: var(--f-cond); font-size: clamp(48px, 6.4vw, 92px); line-height: .92; letter-spacing: -.01em; text-transform: uppercase; max-width: 13em; }
.phead__lead { max-width: 36em; margin-top: 28px; font-size: 18px; color: rgba(247, 242, 231, .82); }

/* ---------- frase su carta ---------- */
.statement { padding: 112px 0; text-align: center; }
.statement__t { max-width: 22em; margin: 0 auto; font-size: clamp(26px, 2.65vw, 38px); line-height: 1.2; letter-spacing: -.03em; }
.statement__t .x { color: var(--acc-ink); }
.statement__s { max-width: 36em; margin: 28px auto 0; font-size: 17px; color: var(--muted); }

/* ---------- timeline 3 passi ---------- */
.tl { padding: 40px 0 110px; }
.tl .wrap { border-top: 1px solid var(--rule); padding-top: 72px; }
.tl__head { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: end; margin-bottom: 56px; }
.tl__head .lab { margin-bottom: 18px; }
.tl__aside p { font-size: 16px; color: var(--muted); margin-bottom: 10px; }
.tl__rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); height: 12px; margin-bottom: 28px; }
.tl__line { position: absolute; left: 0; right: 22px; top: 50%; height: 1px; background: var(--ink); transform-origin: left; transition: transform 1.4s var(--ease); }
.js .tl__line:not(.is-v) { transform: scaleX(0); }
.tl__line.is-v { transform: none; }
.tl__rail i { position: relative; width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); margin-top: 1.5px; }
.tl__rail i:first-of-type { background: var(--ink); }
.tl__rail b { position: absolute; right: 0; top: -9px; font-weight: 400; font-size: 20px; line-height: 1; }
.tl__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tl__when { font-family: var(--f-cond); font-size: clamp(30px, 2.5vw, 36px); line-height: 1; text-transform: uppercase; }
.tl__draw { height: 210px; display: flex; align-items: center; margin: 26px 0 14px; }
.tl__draw .iso { max-height: 100%; width: auto; max-width: 100%; }
.tl__cap { margin-bottom: 26px; font-size: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.tl__steps .lab { margin-bottom: 6px; }
.tl__steps h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.tl__steps h3 + p { font-size: 16px; color: var(--muted); max-width: 22em; }

/* ---------- righe con label mono (Ciridae "These companies run on systems we built") ---------- */
.facts, .dur, .who, .pd { padding: 72px 0 96px; }
.facts .h2s, .dur .h2s { margin-bottom: 40px; }
.facts__rows { border-top: 1px solid var(--rule); margin-bottom: 26px; }
.facts__row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.facts__row dd { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
.facts__n { font-variant-numeric: tabular-nums; font-family: var(--f-cond); font-size: clamp(56px, 5vw, 72px); line-height: .9; }
.facts__n small { font-size: .4em; margin-left: 4px; font-family: var(--f-mono); text-transform: uppercase; }
.facts__d { font-size: 17px; color: var(--muted); max-width: 32em; }
.dur__note { margin-top: 26px; color: var(--muted); font-size: 16px; }
.dur__note a { color: var(--acc-ink); }

/* ---------- casi in home (schede sabbia "01 / 04") ---------- */
.cases { padding: 110px 0; }
.cases__head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; align-items: end; margin-bottom: 48px; }
.cases__head .lab { grid-column: 1 / -1; }
.cases__lead { color: var(--muted); max-width: 30em; }
.ccard { display: block; background: var(--sand); border: 1px solid var(--rule); padding: 26px 28px 24px; text-decoration: none; transition: transform .5s var(--ease); }
.ccard:hover { transform: translateY(-4px); }
.ccard h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -.03em; margin: 22px 0 12px; }
.ccard p:not(.mono) { color: var(--muted); font-size: 16px; }
.ccard__more { display: inline-flex; align-items: center; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rule); width: 100%; min-height: 44px; }
.ccard--big { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1000px; padding: 30px 32px; }
.ccard--big h3 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.04; letter-spacing: -.04em; }
.ccard__draw .iso { width: 100%; }
.ccard__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; max-width: 1000px; margin-left: auto; }

/* ---------- chi fa il lavoro ---------- */
.who__grid, .pd__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.who__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.who__txt .lab, .pd__txt .lab { margin-bottom: 16px; }
.who__txt .h2s { margin-bottom: 22px; }
.who__txt p:not(.mono), .pd__txt p:not(.mono) { color: var(--muted); max-width: 32em; margin-bottom: 18px; }

/* ---------- chiusura (Ciridae "Let's build your operating system") ---------- */
.final { background: var(--cream); padding: 110px 0; }
.final .h2s { font-size: clamp(38px, 3.9vw, 56px); max-width: 12em; }
.final p { margin-top: 22px; max-width: 30em; color: var(--muted); }
.final p a { color: var(--acc-ink); }
.final__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

/* ---------- footer nero con alone ---------- */
.ftr { position: relative; background: var(--black); color: var(--cream); padding: 88px var(--pad) 28px; overflow: clip; text-align: center; }
.ftr__glow { position: absolute; left: 50%; top: -260px; width: min(900px, 100%); height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(247, 242, 231, .1), transparent); pointer-events: none; }
.ftr__top { position: relative; }
.ftr__mark { width: 52px; height: 52px; margin: 0 auto 14px; }
.ftr__name { font: 500 15px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.ftr__line { font-family: var(--f-cond); font-size: clamp(30px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; margin-top: 30px; }
.ftr__sub { margin-top: 10px; color: rgba(247, 242, 231, .66); }
.ftr__sub b { color: var(--acc); font-weight: 400; }
.ftr__pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 30px 0 64px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid rgba(247, 242, 231, .5); border-radius: 100vw; font: 400 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.pill:hover { background: var(--cream); color: var(--black); }
.ftr__cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; max-width: 1258px; margin: 0 auto; padding-top: 22px; border-top: 1px solid rgba(247, 242, 231, .16); }
.ftr__cols a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; }
.ftr__cols a:hover { color: var(--acc); }
.ftr__cols p:not(.mono) { font-size: 15px; color: rgba(247, 242, 231, .72); max-width: 24em; }
.lab-d { color: rgba(247, 242, 231, .6); margin-bottom: 8px; }
.ftr__legal { max-width: 1258px; margin: 48px auto 0; text-align: left; color: rgba(247, 242, 231, .6); }

/* ---------- review: sezione sabbia con disegno e lista ---------- */
.os { padding: 120px 0 110px; }
.os__head { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: end; padding-bottom: 34px; }
.os__lead { font-size: 17px; color: var(--muted); }
.os__grid { display: grid; grid-template-columns: minmax(0, 1fr) 458px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.os__fig { padding: 26px 32px 0 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.os__draw { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px 0; }
.os__draw .iso { width: min(100%, 640px); }
.os__cap { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0 24px; border-top: 1px solid var(--rule); font-size: 12px; }
.os__list { padding: 26px 0 26px 33px; }
.os__list ol { margin-top: 28px; }
.os__list li { display: grid; grid-template-columns: 40px 1fr; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.os__list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.num { color: var(--acc-ink); padding-top: 6px; }
.os__list h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 6px; }
.os__list li p { font-size: 16px; color: var(--muted); }

.smap { padding: 110px 0; }
.smap__head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; align-items: end; margin-bottom: 40px; }
.smap__head .lab { grid-column: 1 / -1; }
.smap__head p:not(.mono) { color: var(--muted); }
.smap__t { width: 100%; border-collapse: collapse; }
.smap__t th { text-align: left; font-weight: 400; color: var(--label); padding: 0 0 12px; border-bottom: 1px solid var(--ink); }
.smap__t td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); font-size: 17px; vertical-align: middle; width: 50%; }
.tag { display: inline-block; padding: 6px 10px; font-size: 15px; line-height: 1.35; border: 1px solid var(--ink); }
.tag--ai { background: var(--acc); color: var(--black); border-color: var(--acc); }
.tag--mix { background: var(--sand); }
.tag--people { background: var(--ink); color: var(--cream); }
.smap__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 12px; }

.faq { padding: 110px 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.faq__grid .lab { margin-bottom: 18px; }
.faq__list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: grid; grid-template-columns: 44px 1fr 20px; align-items: baseline; gap: 8px; padding: 20px 0; min-height: 44px; cursor: pointer; list-style: none; font-size: 19px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); justify-self: end; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px 52px; color: var(--muted); max-width: 40em; }

/* ---------- work ---------- */
.idx { padding: 40px 0; border-bottom: 1px solid var(--rule); }
.idx__list a { display: grid; grid-template-columns: 44px 1fr 280px; gap: 12px; align-items: baseline; padding: 12px 0; min-height: 44px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 18px; letter-spacing: -.01em; }
.idx__list li:last-child a { border-bottom: 0; }
.idx__list a:hover span:nth-child(2) { color: var(--acc-ink); }
.idx__list .lab { text-align: right; }
.case { padding: 96px 0; scroll-margin-top: 60px; }
.case__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); }
.case__t { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -.04em; margin: 16px 0 26px; }
.case__dl { border-top: 1px solid var(--rule); margin-bottom: 30px; }
.case__dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.ba { border: 1px solid var(--rule); background: rgba(252, 251, 247, .4); }
.paper .ba { background: var(--sand); }
.ba__k { padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: 12px; }
.ba__draw { padding: 22px 18px; }
.ba__draw .iso { width: 100%; max-width: 440px; margin: 0 auto; }
.ba__cap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--rule); font-size: 12px; text-transform: none; letter-spacing: 0; }
.case__block { padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.case__block:last-child { border-bottom: 0; }
.case__block .lab { margin-bottom: 14px; font-weight: 400; }
.case__sit { font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.case__steps li { display: grid; grid-template-columns: 40px 1fr; padding: 10px 0; }
.case__steps p { color: var(--muted); font-size: 16px; }
.case__status p { font-size: 17px; }
.disclaimer { padding-top: 40px; padding-bottom: 40px; color: var(--label); text-transform: none; letter-spacing: 0; }

/* ---------- about ---------- */
.ab { padding: 96px 0; }
.ab__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.ab__img img { width: 100%; max-width: 560px; aspect-ratio: 640 / 700; object-fit: cover; }
.ab__txt .lab { margin-bottom: 16px; }
.ab__txt .h2s { margin-bottom: 24px; }
.ab__txt > p:not(.mono) { color: var(--muted); margin-bottom: 18px; max-width: 34em; }
.ab__sectors { margin-top: 30px; border-top: 1px solid var(--rule); padding-top: 18px; }
.ab__sectors ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ab__sectors li { padding: 6px 12px; border: 1px solid var(--rule); font-size: 15px; background: var(--paper); }
.why { padding: 96px 0 40px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.why__grid .lab { margin-bottom: 16px; }
.why__p { font-size: 19px; line-height: 1.5; letter-spacing: -.01em; max-width: 30em; }
.pr { padding: 56px 0 110px; }
.pr__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-top: 40px; border-top: 1px solid var(--rule); margin-bottom: 32px; }
.pr__head .lab { order: 2; }
.pr__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard { background: var(--sand); border: 1px solid var(--rule); padding: 22px 22px 26px; }
.pcard h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; margin: 34px 0 10px; }
.pcard p:not(.mono) { color: var(--muted); font-size: 16px; }
.pd__img img { width: 100%; max-width: 520px; aspect-ratio: 1; object-fit: cover; margin-left: auto; }
.pd__txt .h2s { margin-bottom: 22px; }
.signed { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.signed img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.signed span { display: flex; flex-direction: column; }
.signed a { display: inline-flex; align-items: center; min-height: 44px; color: var(--acc-ink); }

/* ---------- reveal ---------- */
.js [data-r] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-r]:not(.is-v) { opacity: 0; transform: translateY(22px); }


/* ---------- blog: indice (righe con data mono, come l'indice dei casi) ---------- */
.bl { padding: 72px 0 110px; }
.bl__k { margin-bottom: 18px; }
.bl__list { border-top: 1px solid var(--ink); }
.bl__row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.bl__meta { align-self: start; padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.bl__main { display: flex; flex-direction: column; gap: 10px; }
.bl__t { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.035em; transition: color .2s var(--ease); }
.bl__s { color: var(--muted); max-width: 40em; }
.bl__row:hover .bl__t { color: var(--acc-ink); }
.bl__fig .iso { width: 100%; max-height: 120px; transition: transform .5s var(--ease); }
.bl__row:hover .bl__fig .iso { transform: translateY(-4px); }

/* ---------- blog: articolo ---------- */
.phead--post .phead__t { max-width: 16em; font-size: clamp(44px, 5.6vw, 80px); }
.phead__back { margin-bottom: 26px; }
.art { padding: 84px 0 96px; }
.art__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 68ch); gap: clamp(32px, 6vw, 110px); }
.art__meta { align-self: start; display: flex; flex-direction: column; gap: 28px; }
.art__meta .case__dl a { color: var(--acc-ink); display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
.art__fig .ba__draw .iso { max-width: 300px; }
.art__body { font-size: 19px; line-height: 1.65; }
.art__body > p { margin-bottom: 1.1em; }
.art__body > h2 { font-size: 28px; line-height: 1.15; letter-spacing: -.03em; margin: 1.6em 0 .6em; }
.art__body > h2.sr { margin: 0; }
.art__body ul, .art__body ol { margin: 0 0 1.3em; border-top: 1px solid var(--rule); counter-reset: n; }
.art__body li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--rule); font-size: 18px; }
.art__body ul li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; background: var(--acc); }
.art__body ol li { counter-increment: n; }
.art__body ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 15px; font: 400 12px/1.4 var(--f-mono); color: var(--acc-ink); }
.art__back { margin-top: 2em; padding-top: 18px; border-top: 1px solid var(--rule); }
.rel { padding: 72px 0 96px; }
.rel .h2s { margin-bottom: 32px; }
.rel__row { margin: 0; max-width: none; }


/* ---------- blog: gruppi, indice dei contenuti, prompt, faq, fonti ---------- */
.bl__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.pill--l { border-color: var(--ink); color: var(--ink); }
.pill--l:hover { background: var(--ink); color: var(--cream); }
.bl__group { scroll-margin-top: 90px; margin-bottom: 72px; }
.bl__gh { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 18px; color: rgba(247, 242, 231, .66); }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.crumbs a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.art__toc { border-top: 1px solid var(--rule); padding-top: 14px; }
.art__toc ol { margin-top: 10px; counter-reset: t; }
.art__toc li { counter-increment: t; border-bottom: 1px solid var(--rule); }
.art__toc a { display: grid; grid-template-columns: 30px 1fr; align-items: center; min-height: 44px; padding: 6px 0; text-decoration: none; font-size: 15px; line-height: 1.3; }
.art__toc a::before { content: counter(t, decimal-leading-zero); font: 400 12px/1 var(--f-mono); color: var(--acc-ink); }
.art__toc a:hover { color: var(--acc-ink); }
.art__body > h2 { scroll-margin-top: 90px; }
.art__body > h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin: 1.4em 0 .5em; }
.art__body a { color: var(--acc-ink); text-underline-offset: 3px; }
.art__body strong { font-weight: 600; }
.art__prompt { margin: 0 0 1.3em; border: 1px solid var(--rule); background: var(--sand); }
.art__prompt figcaption { padding: 10px 16px; border-bottom: 1px solid var(--rule); }
.art__prompt p { padding: 14px 16px; font: 400 15px/1.6 var(--f-mono); }
.art__box { margin: 2em 0 1.2em; padding: 22px 24px; background: var(--ink); color: var(--cream); }
.art__box .lab { color: rgba(247, 242, 231, .66); margin-bottom: 10px; }
.art__box a { color: #e7a07f; }
.art__faq { border-top: 1px solid var(--rule); margin-bottom: 1.4em; }
.art__faq details { border-bottom: 1px solid var(--rule); }
.art__faq summary { display: grid; grid-template-columns: 1fr 20px; gap: 8px; padding: 16px 0; min-height: 44px; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.35; }
.art__faq summary::-webkit-details-marker { display: none; }
.art__faq summary::after { content: "+"; font-family: var(--f-mono); justify-self: end; }
.art__faq details[open] summary::after { content: "\2212"; }
.art__faq details p { padding: 0 0 18px; color: var(--muted); font-size: 17px; }
.art__src { counter-reset: s; border-top: 1px solid var(--rule); }
.art__body .art__src li { padding: 0 0 0 44px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.art__body .art__src li::before { content: counter(s, decimal-leading-zero); counter-increment: s; position: absolute; left: 0; top: 13px; font: 400 12px/1.4 var(--f-mono); color: var(--acc-ink); background: none; width: auto; height: auto; }
.art__src a { display: block; min-height: 44px; padding: 11px 0; color: var(--ink); }
.art__disc { margin-top: 1.6em; padding: 14px 16px; border: 1px solid var(--rule); font-size: 15px; color: var(--muted); }

.art__kp { margin: 0 0 1.6em; padding: 20px 24px 8px; background: var(--sand); border: 1px solid var(--rule); }
.art__kp .lab { margin-bottom: 8px; }
.art__body .art__kp ul { border-top: 0; margin: 0; }
.art__body .art__kp li { font-size: 17px; line-height: 1.5; padding-left: 28px; }
.art__body .art__kp li::before { left: 0; }
.art__body .art__kp li:last-child { border-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 640px; }
  .os__grid { grid-template-columns: 1fr; }
  .os__fig { border-right: 0; padding-right: 0; }
  .os__list { padding-left: 0; border-top: 1px solid var(--rule); }
  .pr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hdr { padding: 10px 12px 10px 20px; background: var(--ink); }
  .hdr.is-light { background: transparent; }
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__menu { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; width: 48px; height: 48px; padding: 0 12px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 51; }
  .hdr__menu i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .hdr__menu[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .hdr__menu[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .menu-open .hdr { color: var(--cream); }
  .menu-open .hdr::before { opacity: 0; }
  .hero { padding: 112px 0 64px; min-height: 0; }
  .phead { padding: 120px 0 56px; }
  .tl__head, .cases__head, .smap__head, .os__head, .faq__grid, .why__grid { grid-template-columns: 1fr; }
  .tl__rail { display: none; }
  .tl__steps { grid-template-columns: 1fr; gap: 48px; }
  .tl__draw { height: 190px; }
  .facts__row { grid-template-columns: 1fr; gap: 8px; }
  .facts__row dd { grid-template-columns: 96px 1fr; gap: 16px; }
  .ccard--big { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .ccard { padding: 22px 20px 20px; }
  .ccard__row { grid-template-columns: 1fr; margin-left: 0; }
  .who__grid, .pd__grid, .case__grid, .ab__grid { grid-template-columns: 1fr; }
  .pd__img img { margin-left: 0; }
  .idx__list a { grid-template-columns: 36px 1fr; }
  .idx__list .lab { grid-column: 2; text-align: left; }
  .bl__row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .bl__meta { padding-top: 0; flex-direction: row; gap: 16px; }
  .bl__fig { display: none; }
  .art__grid { grid-template-columns: 1fr; }
  .art__meta { gap: 20px; }
  .art__fig .ba__draw .iso { max-width: 260px; }
  .art__body { font-size: 18px; }
  .art { padding: 56px 0 72px; }
  .art__kp { padding: 16px 16px 4px; }
  .ftr__cols { grid-template-columns: 1fr; gap: 20px; }
  .statement, .cases, .smap, .faq, .final, .os, .ab { padding-top: 80px; padding-bottom: 80px; }
  .case { padding: 72px 0; }
  .smap__t thead { display: none; }
  .smap__t tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .smap__t td { display: block; width: auto; border: 0; padding: 4px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pr__grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; grid-template-columns: 36px 1fr 20px; }
  .faq details p { padding-left: 44px; }
  .ba__cap { grid-template-columns: 1fr; }
  .panel__bar span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-r]:not(.is-v) { opacity: 1; transform: none; }
  .js:not(.is-in) .hero__t .line > span, .js:not(.is-in) .hero__sub, .js:not(.is-in) .panel { transform: none; opacity: 1; }
  .js:not(.is-in) .hero__ctas { opacity: 1; }
  .tl__line:not(.is-v) { transform: none; }
}
