:root {
  --ink: #050505;
  --paper: #fff;
  --blue: #1796c9;
  --muted: #666;
  --line: #dedede;
  --soft: #f4f7f8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 43px, rgba(16, 40, 55, .045) 43px, rgba(16, 40, 55, .045) 44px);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}
body.global-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 2000; top: 8px; left: 8px; padding: 10px 14px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; transition: transform 180ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn--light { border-color: #fff; background: #fff; color: var(--ink); }
.section-title { max-width: 960px; margin: 0 auto; font: 400 clamp(52px, 7vw, 92px)/.94 var(--serif); text-align: center; }
.section-title em { color: var(--blue); font-weight: 400; }

.references-hero { min-height: 760px; display: grid; align-items: center; padding: 170px 0 112px; text-align: center; }
.references-hero::before { position: absolute; inset: 78px 0 auto; height: 500px; background: linear-gradient(135deg, rgba(23,150,201,.09), rgba(23,150,201,0)); clip-path: polygon(0 18%, 100% 0, 86% 76%, 8% 100%); content: ""; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 1030px; margin-inline: auto; }
.hero-label { display: inline-flex; margin-bottom: 28px; padding: 9px 14px; border: 1px solid rgba(23,150,201,.42); color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.references-hero h1 { margin: 0; font: 400 clamp(66px, 9vw, 124px)/.86 var(--serif); }
.references-hero h1 em { display: block; color: var(--blue); font-weight: 400; }
.hero-copy { max-width: 790px; margin: 38px auto 0; color: var(--muted); font-size: 20px; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 42px; font-size: 13px; font-weight: 700; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { width: 17px; color: var(--blue); }

.intro-band { padding: 74px 0; background: var(--ink); color: #fff; }
.intro-band p { max-width: 1000px; margin: 0 auto; font: 400 clamp(30px, 4vw, 54px)/1.08 var(--serif); text-align: center; }
.intro-band em { color: var(--blue); font-weight: 400; }

.cases { padding: 132px 0; }
.cases-head { max-width: 900px; margin: 0 auto 80px; text-align: center; }
.cases-head p { max-width: 760px; margin: 28px auto 0; color: var(--muted); font-size: 18px; }
.case-study { overflow: hidden; margin-top: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.9); }
.case-top { display: grid; grid-template-columns: 200px 1fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.case-identity { display: grid; min-height: 210px; place-items: center; padding: 32px; border-right: 1px solid var(--line); background: var(--soft); }
.case-identity img { max-width: 140px; max-height: 90px; object-fit: contain; }
.case-identity--dark { background: #071f19; }
.case-identity--dark img { filter: none; }
.case-identity--black { padding: 8px; background: #000; }
.case-identity--black img { width: 100%; max-width: 190px; max-height: 130px; filter: none; }
.case-identity--smart img { width: 100%; max-width: 190px; max-height: 130px; filter: none; }
.case-identity--swiss { padding: 20px; background: #fff; }
.case-identity--swiss img { width: 100%; max-width: 190px; max-height: 120px; filter: none; }
.case-identity--word { color: var(--blue); font: 400 42px/1 var(--serif); }
.case-title { display: grid; align-content: center; padding: 42px 54px; }
.case-index { margin-bottom: 14px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.case-title h3 { margin: 0; font: 400 clamp(42px, 5vw, 68px)/.96 var(--serif); }
.case-title p { max-width: 730px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { min-height: 205px; display: grid; align-content: center; justify-items: center; padding: 30px 20px; text-align: center; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong { font: 400 clamp(44px, 5vw, 70px)/.95 var(--serif); }
.metric strong[data-counter] { transition: color 220ms ease, transform 220ms ease; }
.metric strong[data-counter].is-counting { color: var(--blue); transform: translateY(-3px); }
.metric--blue strong[data-counter].is-counting { color: #fff; }
.metric span { margin-top: 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.metric--blue { background: var(--blue); color: #fff; }
.metric--blue span { color: rgba(255,255,255,.72); }
.case-note { padding: 22px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }

.comparison { padding: 132px 0; background-color: var(--ink); background-image: repeating-linear-gradient(135deg, transparent 0, transparent 43px, rgba(23,150,201,.14) 43px, rgba(23,150,201,.14) 44px); color: #fff; }
.comparison .section-title { max-width: 1020px; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 76px; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.comparison-item { padding: 42px 36px; text-align: center; }
.comparison-item + .comparison-item { border-left: 1px solid rgba(255,255,255,.25); }
.comparison-item span { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.comparison-item h3 { margin: 18px 0 10px; font: 400 42px/1 var(--serif); }
.comparison-item p { margin: 0; color: rgba(255,255,255,.65); }
.comparison-statement { max-width: 850px; margin: 70px auto 0; font: 400 clamp(34px, 4.5vw, 62px)/1.02 var(--serif); text-align: center; }
.comparison-statement em { color: var(--blue); font-weight: 400; }

.evidence-note { padding: 50px 0; background: var(--soft); }
.evidence-note p { max-width: 900px; margin: 0 auto; color: var(--muted); font-size: 13px; text-align: center; }

.references-cta { padding: 132px 0; text-align: center; }
.references-cta p { max-width: 680px; margin: 28px auto 34px; color: var(--muted); font-size: 18px; }

@media (max-width: 820px) {
  .references-hero { min-height: auto; padding: 148px 0 94px; }
  .cases, .comparison, .references-cta { padding: 94px 0; }
  .case-top { grid-template-columns: 150px 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-item + .comparison-item { border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .references-hero h1 { font-size: 64px; }
  .hero-copy { font-size: 17px; }
  .hero-proof { align-items: center; flex-direction: column; }
  .intro-band { padding: 58px 0; }
  .cases-head { margin-bottom: 48px; }
  .case-top { grid-template-columns: 1fr; }
  .case-identity { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-title { padding: 32px 24px; text-align: center; }
  .case-title h3 { font-size: 44px; }
  .metric { min-height: 158px; padding: 22px 10px; }
  .metric strong { font-size: 45px; }
  .metric span { max-width: 130px; font-size: 10px; }
  .comparison-grid { margin-top: 48px; }
}

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