@font-face {font-family:Barlow;src:url('barlow/400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face {font-family:Barlow;src:url('barlow/600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face {font-family:Barlow;src:url('barlow/700.woff2') format('woff2');font-weight:700;font-display:swap}
:root {color-scheme:light;--ink:#142438;--muted:#445366;--line:#cad3dc;--blue:#224e91;--orange:#bc4d16;--paper:#f4f7fa;--mono:ui-monospace,'SFMono-Regular',Consolas,monospace}
*,*::before,*::after {box-sizing:border-box}
body {margin:0;color:var(--ink);background:white;font:400 1.125rem/1.5 Barlow,system-ui,sans-serif}
[hidden] {display:none!important}
a {color:inherit;text-underline-offset:.22em;text-decoration-thickness:1px}
a:hover {text-decoration-thickness:2px}
button {font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible {outline:3px solid #ad4e0a;outline-offset:4px}
button:disabled {cursor:default}
h1,h2,h3,p,figure,dl,dd {margin:0}
h1,h2,h3 {font-weight:600;line-height:1.04;text-wrap:balance}
h1 {font-size:clamp(3rem,5.5vw,5.7rem);letter-spacing:-.052em;line-height:1.00}
h1 em {color:var(--blue);font-style:normal}
h2 {font-size:clamp(2rem,3.5vw,3.2rem);letter-spacing:-.04em}
h3 {font-size:clamp(1.45rem,2.3vw,2.2rem);letter-spacing:-.033em}
img {max-width:100%;height:auto;display:block}
.frame {width:min(100% - clamp(2.25rem,8vw,8rem),77rem);margin-inline:auto}
.skip,.sr {clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap;position:absolute}
.skip:focus {clip-path:none;width:auto;height:auto;left:.7rem;top:.5rem;z-index:3;background:white;padding:.5rem 1rem}
.site-head {border-bottom:1px solid var(--line)}
.head-inner,.site-foot .frame {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.head-inner {min-height:5rem}
.brand {display:inline-flex;align-items:center;gap:.65rem;text-decoration:none!important;font-weight:700;font-size:1.32rem;letter-spacing:-.05em;white-space:nowrap}
.word-studio {font-weight:400}
.mark {width:1.85rem;height:1.85rem;background:var(--ink);display:inline-block;position:relative;border-radius:3px;flex:none}
.mark::before,.mark::after {content:'';display:block;position:absolute;left:24%;width:54%;height:19%;transform:skewY(-17deg)}
.mark::before {top:24%;background:#ff9254}
.mark::after {top:54%;width:39%;background:white}
.site-head nav {display:flex;gap:clamp(.9rem,2.5vw,2.4rem);align-items:center;font-size:1.02rem;font-weight:600}
.site-head nav a {text-decoration:none;padding:.45rem 0;border-bottom:2px solid transparent}
.site-head nav a:hover,.site-head nav a[aria-current] {border-color:var(--orange)}
.topic {font:600 .84rem/1.35 Barlow,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#79401d;display:flex;gap:.62rem;align-items:center}
.topic::before {content:'';background:var(--orange);width:1.35rem;height:2px;flex:none}
.hero {display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5.4rem);align-items:center;padding-block:clamp(2.6rem,5.5vw,6rem)}
.hero-text {padding-bottom:.25rem}
.hero h1 {margin:1.3rem 0 1.5rem;max-width:11.8ch}
.lead {font-size:clamp(1.13rem,1.5vw,1.45rem);line-height:1.45;color:var(--muted);max-width:50ch}
.hero .lead {max-width:39ch}
.hero-image {background:#23456d;overflow:hidden;border-bottom:.35rem solid #ed783c}
.hero-image img {width:100%;height:100%;aspect-ratio:1.16;object-fit:cover}
.button {display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid transparent;padding:.74rem 1.2rem;min-height:2.9rem;border-radius:.25rem;font-weight:600;font-size:1.04rem;line-height:1.3}
.button.primary {background:var(--ink);color:white}
.button.primary:hover:not(:disabled) {background:var(--blue)}
.button:disabled {background:#e6eaee;color:#596677;border-color:#d1d9de}
.hero .button {margin-top:1.8rem}
.cases {background:var(--paper);border-block:1px solid var(--line);padding-block:clamp(2.4rem,4.5vw,4rem)}
.case-grid,.proof-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.1rem,3vw,3rem)}
.case-grid {margin-top:1.65rem}
.case-card {display:flex;flex-direction:column;align-items:start;border-top:2px solid var(--ink);padding:1.3rem 0 .3rem}
.case-card h3 {margin:.7rem 0 .6rem;max-width:24ch}
.case-card h3 a {text-decoration:none}
.case-card h3 a:hover {text-decoration:underline}
.case-card>p:not(.topic) {color:var(--muted);max-width:44ch;margin-bottom:1.15rem}
.case-link,.enlarge,.text-button {color:var(--blue);font-weight:600}
.case-link {margin-top:auto}
.contact {background:var(--ink);color:white;padding-block:clamp(2.5rem,5vw,4.6rem)}
.contact-inner {display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,.55fr);gap:2rem;align-items:center}
.contact p {max-width:49ch;color:#e0e8ef;margin-top:.7rem}
.contact-actions {justify-self:end;display:grid;justify-items:start;gap:.65rem;position:relative}
.light {background:#ffac7c;color:#142438}
.light:hover {background:#ffc3a0}
.address {display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
.address a,.copy {font-size:1rem}
.copy {border:0;background:transparent;text-decoration:underline;color:#f7be99;min-height:2rem;padding:0 .2rem}
.copy-result {font-size:.86rem;position:absolute;top:100%;color:#ffcfb4}
.site-foot {border-top:1px solid var(--line);padding:1.35rem 0}
.site-foot .brand {font-size:1.1rem}
.site-foot .mark {width:1.45rem;height:1.45rem}
.site-foot .frame>a:last-child {font-size:.95rem}
.crumb {display:flex;gap:.65rem;align-items:center;font-size:.92rem;color:var(--muted);margin-top:1.6rem}
.crumb span {color:#758296}
.case-intro {padding-block:clamp(2rem,3.6vw,3.5rem);max-width:62rem}
.case-intro h1 {font-size:clamp(2.8rem,5vw,5.3rem);margin:.85rem 0 1rem;max-width:21ch}
.case-intro .lead {max-width:61ch}
.workbench,.case-file {border:1px solid var(--line);border-top:3px solid var(--blue);padding:clamp(1rem,2.8vw,2.5rem);background:var(--paper)}
.bench-head,.case-file-head {display:flex;justify-content:space-between;align-items:start;gap:1.3rem}
.bench-head h2,.case-file-head h2 {font-size:clamp(1.8rem,3vw,2.7rem);margin-top:.36rem}
.document-ids {display:flex;gap:1.5rem;border-left:1px solid var(--line);padding-left:1.4rem}
.document-ids dt,.case-total span {font-size:.88rem;color:var(--muted)}
.document-ids dd,.case-total strong {font:600 1.05rem/1.5 var(--mono)}
#istruzioni {color:var(--muted);margin:.95rem 0 1.25rem;max-width:72ch}
.compare-table {border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;background:white}
.compare-table thead {background:#e4eaf0;color:#33465c}
.compare-table th,.compare-table td {padding:.9rem .8rem;text-align:left;border-bottom:1px solid var(--line)}
.compare-table thead th {font-size:.93rem;font-weight:600;white-space:nowrap}
.compare-table th[scope=row] {min-width:9rem;font-size:1.08rem;line-height:1.25}
.code {display:block;font:normal .85rem/1.4 var(--mono);color:var(--muted);margin-top:.2rem}
.qty {font:600 1.1rem/1.4 var(--mono)}
.row-state {display:inline-flex;font-weight:600;font-size:.94rem;line-height:1.35;color:var(--muted)}
.row-state.review,.row-state.hold {color:#84410b}
.row-state.approved {color:#14654a}
.row-button {color:var(--ink);background:white;border:1px solid #7b8c9c;font-weight:600;font-size:.95rem;line-height:1.25;padding:.48rem .65rem;border-radius:.22rem;min-height:2.55rem}
.row-button:hover {background:#edf2f7}
.detail-cell {background:#fff4e8}
.detail-cell p {color:#4a3527;margin:0 0 .65rem}
.detail-actions {display:flex;gap:.6rem;flex-wrap:wrap}
#export-bar {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.2rem}
#riepilogo {font-weight:600}
.text-button {border:0;padding:.15rem 0;background:transparent;text-decoration:underline;text-underline-offset:.18em;font-size:.98rem}
.text-button:disabled {color:#5f6b77;text-decoration:none}
.practice {display:grid;grid-template-columns:.9fr 1.1fr;gap:1rem 3rem;align-items:start;padding:clamp(2.4rem,5.5vw,5rem) 0}
.practice h2 {font-size:clamp(1.7rem,2.8vw,2.5rem)}
.practice p {color:var(--muted);max-width:60ch}
.case-total {text-align:right;display:grid;gap:.05rem}
.case-total strong {font-size:1.4rem}
.case-file-head {padding-bottom:1.3rem;border-bottom:1px solid var(--line)}
.proof-grid {margin-top:1.5rem;gap:clamp(1.1rem,2.5vw,2.4rem)}
.proof-grid figure {display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:.7rem;align-content:start}
.proof-grid h3 {font-size:clamp(1.4rem,2vw,1.75rem);margin:.4rem 0 .65rem}
.proof-grid figcaption>p:last-child {color:var(--muted)}
.shot {align-self:start;display:block;border:1px solid #a9b9c5;border-radius:3px;cursor:zoom-in;overflow:hidden}
.shot img {width:100%;height:auto}
.enlarge {font-size:.93rem;align-self:start;justify-self:start}
@media (max-width:850px) {
  .hero {gap:1.7rem}.frame {width:min(100% - 2.5rem,77rem)}
  .compare-table th,.compare-table td {padding:.72rem .55rem}
}
@media (max-width:690px) {
  .hero,.contact-inner,.practice,.proof-grid {grid-template-columns:1fr}
  .head-inner {min-height:4.25rem;gap:.55rem}.site-head nav {gap:.85rem;font-size:.98rem}
  .hero {padding-block:2.5rem 2rem;gap:1.7rem}.hero h1 {max-width:14ch}.hero-image img {aspect-ratio:1.9;object-position:50% 54%}
  .contact-actions {justify-self:start}.contact-inner {gap:1.35rem}.case-grid {gap:1.6rem}.case-card {padding-top:.9rem}
  .bench-head,.case-file-head {flex-wrap:wrap;gap:.8rem}.document-ids {border:0;padding:0;gap:1.25rem}.case-total {text-align:left}
  .practice {gap:.7rem}.proof-grid figure {display:block;grid-row:auto}.proof-grid .shot {margin:.75rem 0 .35rem}
  .compare-table,.compare-table tbody,.compare-table tr {display:block}.compare-table thead {clip-path:inset(50%);position:absolute;width:1px;height:1px;overflow:hidden}
  .compare-table tr.item-row {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:.6rem;padding:1rem .85rem;border:1px solid var(--line);border-bottom:none}
  .compare-table tr.item-row:last-child,.compare-table tr.item-row:has(+tr[hidden]:last-child) {border-bottom:1px solid var(--line)}
  .compare-table th[scope=row] {grid-column:1/-1}.compare-table th,.compare-table td {padding:0;border:0}.compare-table .qty::before {content:attr(data-label);display:block;font:400 .9rem/1.4 Barlow,system-ui,sans-serif;color:var(--muted)}
  .compare-table .detail-cell {padding:.9rem;display:block;border:1px solid var(--line)}
  .compare-table td.actions {text-align:right}.row-button {max-width:100%}
}
@media (max-width:520px) {
  .head-inner {flex-wrap:wrap;row-gap:.14rem;padding-block:.65rem}.site-head nav {width:100%;gap:1.25rem;padding:0}.site-head nav a {padding:.3rem 0}
  .frame {width:calc(100% - 2.2rem)}.case-grid {grid-template-columns:1fr}.case-card h3 {max-width:24ch}
  #export-bar {align-items:start;flex-direction:column}.case-intro h1 {max-width:14ch}.case-total {width:100%}
  .site-foot .frame {flex-wrap:wrap}.document-ids {width:100%}
}
