/* Self-hosted Inter (variable, latin + latin-ext) — no third-party font requests */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Steward — design system v4
   Composition copied from Infinum's actual DOM, not just its tokens:
   long-form editorial prose, red only as inline links and small numerals,
   zero bordered boxes, zero icon bullets, plain-text stack lines, tinted
   band for the report excerpt, dark CTA band, underline form fields. */

:root {
  --bg: #ffffff;
  --tint: #e9edf3;
  --ink: #111111;
  --gray: #555555;
  --muted: #8a8a8a;
  --hairline: #e2e2e2;
  --red: #d8262c;
  --red-dark: #ab1d22;
  --dark: #111111;
  --dark-text: #f2f2f2;
  --dark-muted: #9a9a9a;
  --max: 1140px;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* clip, not hidden: keeps position:sticky working, silences transform overhang */
html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: #fff; }

/* full-bleed layout, Infinum-measured: content spans the viewport with
   ~80px gutters at desktop (1425/1440), no narrow max-width cage */
.wrap { max-width: none; margin: 0 auto; padding: 0 clamp(24px, 5.5vw, 80px); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 112px;
}
.wordmark {
  font-weight: 700; font-size: 2rem; letter-spacing: -0.03em;
  color: var(--ink);
}
.wordmark:hover { text-decoration: none; }
.wordmark .mark { color: var(--red); }
.site-nav { display: flex; gap: 42px; align-items: center; }
.site-nav a { font-size: 1rem; font-weight: 500; color: var(--ink); }
.site-nav a:hover { color: var(--red); text-decoration: none; }
.site-nav .nav-cta {
  background: var(--red); color: #fff; padding: 13px 28px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.site-nav .nav-cta:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }

/* mega menu — Infinum pattern: small utility links left, giant page links right */
.nav-item-mega { position: static; }
.nav-mega-btn {
  background: none; border: none; cursor: pointer; font-family: var(--sans);
  font-size: 0.95rem; font-weight: 500; color: var(--ink); padding: 0;
  display: inline-flex; align-items: center; gap: 7px;
}
.nav-mega-btn::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.nav-item-mega:hover .nav-mega-btn, .nav-item-mega.open .nav-mega-btn { color: var(--red); }
.nav-item-mega.open .nav-mega-btn::after { transform: rotate(225deg) translateY(-2px); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--hairline-dark);
  box-shadow: 0 44px 80px rgba(17, 17, 17, 0.16);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  max-height: calc(100vh - 112px); overflow-y: auto;
}
.nav-item-mega:hover .mega, .nav-item-mega:focus-within .mega, .nav-item-mega.open .mega {
  opacity: 1; visibility: visible; transform: none;
}
.mega-grid {
  display: grid; grid-template-columns: minmax(180px, 0.55fr) 2fr;
  gap: clamp(40px, 8vw, 140px);
  padding: 64px clamp(24px, 5.5vw, 80px) 76px;
}
.mega ul { list-style: none; }
.mega-side li { padding: 7px 0; }
.mega-side a {
  font-size: 0.98rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.mega-side a:hover { color: var(--red); }
.mega-main a {
  display: inline-block; font-size: clamp(1.8rem, 3.2vw, 2.9rem); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.3; padding: 5px 0;
  color: var(--ink); text-decoration: none;
  transition: color 0.2s ease, transform 0.25s ease;
}
.mega-main a:hover { color: var(--red); transform: translateX(10px); }
/* staggered entrance */
.mega li {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nav-item-mega:hover .mega li, .nav-item-mega:focus-within .mega li, .nav-item-mega.open .mega li {
  opacity: 1; transform: none;
}
.mega li:nth-child(1) { transition-delay: 0.05s; }
.mega li:nth-child(2) { transition-delay: 0.09s; }
.mega li:nth-child(3) { transition-delay: 0.13s; }
.mega li:nth-child(4) { transition-delay: 0.17s; }
.mega li:nth-child(5) { transition-delay: 0.21s; }
.mega li:nth-child(6) { transition-delay: 0.25s; }
.mega li:nth-child(n+7) { transition-delay: 0.29s; }
/* page dim behind the panel */
.mega-overlay {
  position: fixed; inset: 112px 0 0 0; background: rgba(10, 10, 11, 0.42);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
  pointer-events: none; z-index: 40;
}
.site-header:has(.nav-item-mega:hover, .nav-item-mega:focus-within, .nav-item-mega.open) ~ .mega-overlay,
body:has(.site-header .nav-item-mega:hover, .site-header .nav-item-mega:focus-within, .site-header .nav-item-mega.open) .mega-overlay {
  opacity: 1; visibility: visible;
}
.mobile-only { display: none; }


/* infinum-clean hero: giant headline, then text / media / rating row */
.hero-row3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
  margin-top: clamp(48px, 7vw, 110px);
}
.hr-text p { font-size: 1.05rem; color: var(--ink); max-width: 24em; margin-bottom: 22px; }
.hr-media { margin: 0; border-radius: 10px; overflow: hidden; background: #111; }
.hr-media img {
  display: block; width: 100%; height: clamp(180px, 16vw, 250px);
  object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hr-rating p { font-size: 0.98rem; color: var(--gray); max-width: 18em; margin-bottom: 16px; }

/* star rating pill */
.stars-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--tint); border-radius: 999px; padding: 9px 18px;
  font-weight: 700; font-size: 0.95rem; color: var(--ink); text-decoration: none;
}
.stars-pill .st { color: var(--red); letter-spacing: 2px; font-size: 0.88rem; }
a.stars-pill:hover { background: var(--ink); color: #fff; text-decoration: none; }
a.stars-pill:hover .st { color: #fff; }
.hero .stars-pill { background: #fff; }

/* reviews — two-column client quotes */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); margin-top: 52px; }
.review { border-top: 1px solid var(--hairline); padding-top: 30px; }
.rv-quote { font-size: 1.05rem; color: var(--ink); margin-top: 18px; max-width: 34em; }
.rv-name { margin-top: 26px; font-weight: 700; font-size: 0.84rem; letter-spacing: 0.07em; text-transform: uppercase; }
.rv-role { font-size: 0.86rem; color: var(--gray); }
.review .textlink { display: inline-block; margin-top: 16px; font-weight: 600; }

/* self-check — interactive lead tool */
.sc-list { list-style: none; border-top: 1px solid var(--ink); }
.sc-item { border-bottom: 1px solid var(--hairline); padding: 22px 0; }
.sc-item .sc-q { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.sc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-btns button {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--hairline-dark); background: #fff; color: var(--ink);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.sc-btns button:hover { border-color: var(--ink); }
.sc-btns button.sel-yes { background: var(--ink); border-color: var(--ink); color: #fff; }
.sc-btns button.sel-no { background: var(--red); border-color: var(--red); color: #fff; }
.sc-btns button.sel-unsure { background: var(--tint); border-color: var(--hairline-dark); color: var(--ink); }
.sc-result { margin-top: 44px; }
.sc-result .scr-verdict { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
.sc-result .scr-verdict .rd { color: var(--red); }
.sc-result p { max-width: 40em; margin-top: 12px; color: var(--gray); }
.sc-result .cta-row { margin-top: 22px; }

/* blog — Infinum pattern: featured post + text-led list, clean post pages */
.blog-feature { border-top: 1px solid var(--ink); padding: 40px 0 48px; }
.blog-feature .bf-meta, .blog-row .br-meta, .post-meta {
  font-size: 0.84rem; font-weight: 600; color: var(--gray);
}
.blog-feature .bf-meta .cat, .blog-row .br-meta .cat, .post-meta .cat { color: var(--red); }
.blog-feature h2 { margin: 14px 0 12px; max-width: 18em; }
.blog-feature h2 a { color: var(--ink); }
.blog-feature h2 a:hover { color: var(--red); text-decoration: none; }
.blog-feature p.bf-excerpt { max-width: 42em; color: var(--gray); font-size: 1.05rem; }
.blog-list { list-style: none; }
.blog-row { border-top: 1px solid var(--hairline); }
.blog-row a.br-link {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 64px); align-items: baseline;
  padding: 30px 0; color: var(--ink); text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-row a.br-link:hover { transform: translateX(12px); text-decoration: none; }
.blog-row a.br-link:hover .br-title { color: var(--red); }
.blog-row .br-title { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.015em; transition: color 0.2s ease; }
.blog-row .br-excerpt { font-size: 0.94rem; color: var(--gray); }
.blog-row .br-meta { white-space: nowrap; }

/* post pages */
.post-head { padding: 72px 0 48px; background: var(--tint); }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; max-width: 18em; margin-top: 16px; }
.post-body { padding: 64px 0 88px; }
.post-body .wrap > * { max-width: 46em; }
.post-body h2 { font-size: 1.55rem; letter-spacing: -0.02em; margin: 44px 0 14px; }
.post-body p { margin-bottom: 18px; color: #333; font-size: 1.02rem; line-height: 1.7; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; color: #333; font-size: 1.02rem; line-height: 1.7; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--ink); }

/* ---------- per-page signature modules (Infinum: each page distinct) ---------- */

/* giant numbered index — Infinum expertise-list pattern */
.index-list { list-style: none; border-top: 1px solid var(--ink); }
.index-list li { border-bottom: 1px solid var(--hairline); }
.index-list a, .index-list .ix-row {
  display: flex; align-items: baseline; gap: 30px; padding: 28px 0;
  font-size: clamp(1.5rem, 3.2vw, 2.7rem); font-weight: 700;
  letter-spacing: -0.025em; color: var(--ink); text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
.index-list a:hover { color: var(--red); transform: translateX(14px); text-decoration: none; }
.index-list .ix-num { font-size: 1rem; font-weight: 700; color: var(--red); min-width: 2.2em; }

/* full-width pull-quote band */
.quote-band { background: var(--tint); padding: clamp(80px, 10vw, 130px) 0; }
.quote-band .q {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem); font-weight: 700; line-height: 1.12;
  letter-spacing: -0.028em; color: var(--ink); max-width: 22em;
}
.quote-band .q .rd { color: var(--red); }
.quote-band .q-source { font-size: 0.95rem; color: var(--gray); margin-top: 26px; }
.section + .quote-band { border-top: 1px solid var(--hairline); }

/* split hero with one giant stat */
.hero-grid2 {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: 48px; align-items: center;
}
.hero-stat { text-align: right; }
.hero-stat .hs-big {
  font-size: clamp(4rem, 11vw, 9.5rem); font-weight: 700;
  letter-spacing: -0.045em; line-height: 1; color: var(--red);
}
.hero-stat .hs-cap { font-size: 0.95rem; color: var(--gray); margin-top: 12px; }

/* timeline rail */
.rail { position: relative; padding-left: 46px; }
.rail::before {
  content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px;
  width: 2px; background: var(--hairline-dark);
}
.rail-step { position: relative; padding-bottom: 46px; }
.rail-step:last-child { padding-bottom: 0; }
.rail-step::before {
  content: ""; position: absolute; left: -43px; top: 5px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 3px solid var(--red);
}
.rail-step h3 { font-size: 1.35rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.rail-step p { max-width: 40em; }
.rail-step p + p { margin-top: 10px; }

/* yes/no list */
.yn-list { list-style: none; border-top: 1px solid var(--ink); }
.yn-list li {
  display: flex; gap: 22px; padding: 20px 0;
  border-bottom: 1px solid var(--hairline); font-size: 1.05rem;
}
.yn-list .yn { font-weight: 700; min-width: 1.5em; flex-shrink: 0; }
.yn-list .yes .yn { color: var(--ink); }
.yn-list .no .yn { color: var(--red); }

/* dark hero variant */
.hero.sub.dark { background: var(--dark); }
.hero.sub.dark h1 { color: var(--dark-text); }
.hero.sub.dark .lede { color: #c6c6c6; }
.hero.sub.dark .crumb, .hero.sub.dark .crumb a { color: var(--dark-muted); }
.hero.sub.dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero.sub.dark .btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.hero.sub.dark .textlink { color: #fff; }

/* verification: certificate figure + register lookup */
.cert-fig { margin: 0; }
.cert-fig img { display: block; width: 100%; max-width: 460px; height: auto; border-radius: 12px; }
.verify-form { display: flex; gap: 12px; max-width: 480px; margin: 8px 0 12px; }
.verify-form input {
  flex: 1; background: #fff; border: 1px solid var(--hairline-dark);
  border-radius: 4px; padding: 13px 14px; font-family: var(--sans);
  font-size: 0.95rem; color: var(--ink);
}
.verify-form input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.vf-result { max-width: 520px; }
.vf-result dl { margin: 14px 0 0; }
.vf-result .vr-row {
  display: flex; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--hairline);
  font-size: 0.94rem;
}
.vf-result dt { color: var(--muted); min-width: 150px; }
.vf-result dd { color: var(--ink); font-weight: 500; word-break: break-all; }
.vf-result .sample-tag { color: var(--red); font-weight: 700; }
code.cmd {
  font-family: Consolas, Menlo, monospace; font-size: 0.86em;
  background: var(--tint); padding: 2px 7px; border-radius: 4px; color: var(--ink);
}

/* hero entrance: line-mask reveal on load */
.hero-line { display: block; overflow: hidden; }
.hero-line > span {
  display: inline-block; transform: translateY(112%);
  animation: lineUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-line:nth-child(2) > span { animation-delay: 0.14s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero .lede, .hero .lede-sub, .hero .cta-row, .hero .crumb, .hero .hero-row3 {
  opacity: 0; animation: fadeUp 0.8s ease 0.45s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-line > span, .hero .lede, .hero .lede-sub, .hero .cta-row, .hero .crumb, .hero .hero-row3 {
    animation: none; transform: none; opacity: 1;
  }
  .hr-media img { animation: none; }
}

/* textlink arrow that travels on hover */
.textlink::after {
  content: "92"; display: inline-block; margin-left: 8px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.textlink:hover::after { transform: translateX(6px); }

/* reading progress bar */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--red); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 60; pointer-events: none;
}
.nav-toggle { display: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; font-size: 0.88rem; font-weight: 700;
  padding: 15px 30px; border-radius: 2px; cursor: pointer;
  background: var(--ink); color: #fff; border: none;
}
.btn:hover { background: var(--red); color: #fff; text-decoration: none; }
.textlink { font-size: 0.95rem; font-weight: 500; color: var(--red); }

/* ---------- hero ---------- */

.hero { padding: clamp(72px, 9vw, 130px) 0 clamp(56px, 7vw, 100px); background: var(--tint); }
.hero.sub { background: var(--tint); }
.hero h1 {
  font-size: clamp(2.9rem, 8vw, 7.2rem); line-height: 1.01;
  letter-spacing: -0.032em; max-width: 12em; margin-bottom: 34px;
}
.hero .lede { font-size: 1.22rem; color: var(--ink); max-width: 36em; margin-bottom: 12px; }
.hero .lede-sub { font-size: 1.22rem; color: var(--gray); max-width: 36em; margin-bottom: 40px; }
.cta-row { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }

/* subpage hero */
.hero.sub { padding: 76px 0 60px; }
.hero.sub h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); }
.hero.sub .crumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.hero.sub .crumb a { color: var(--muted); }
.hero.sub .crumb a:hover { color: var(--red); }

/* fact strip — plain figures, single top rule */
.facts { border-top: 1px solid var(--ink); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 34px 28px 78px; }
.fact .f-value { font-weight: 700; font-size: clamp(2rem, 3vw, 2.9rem); letter-spacing: -0.02em; }
.fact .f-label { font-size: 0.85rem; color: var(--gray); margin-top: 4px; max-width: 16em; }

/* ---------- editorial sections ---------- */

.section { padding: 96px 0; }
.section.tinted { background: var(--tint); }
.edit-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
  gap: clamp(48px, 7vw, 110px); align-items: start;
}
.edit-grid > .col-head { position: sticky; top: 132px; }
.col-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.07; letter-spacing: -0.025em; }
.col-head .h-sub { font-size: 0.95rem; color: var(--gray); margin-top: 14px; max-width: 20em; }

.prose { max-width: 40em; }
.prose p { margin-bottom: 20px; }
.prose p.dim { color: var(--gray); }
.prose h3 { font-size: 1.35rem; margin: 44px 0 14px; letter-spacing: -0.015em; }
.prose h3:first-child { margin-top: 0; }
.prose strong { font-weight: 700; }
.prose .price-line { font-weight: 700; margin: -6px 0 18px; }
.prose .stack-line { font-size: 0.88rem; color: var(--muted); margin: -8px 0 24px; }
.prose .num { color: var(--red); font-weight: 700; margin-right: 10px; }

/* report excerpt — quiet typographic block on tinted band */
.report { max-width: 40em; }
.report .r-title { font-weight: 700; margin-bottom: 22px; }
.report .r-row {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 12px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  font-size: 0.95rem; font-variant-numeric: tabular-nums;
}
.report .r-row:last-of-type { border-bottom: none; }
.report .r-row .r-value { color: var(--gray); text-align: right; max-width: 60%; }
.report .r-row > span:first-child { flex-shrink: 0; }
.report .r-row.flag .r-value { color: var(--red); }
.report .r-note { font-size: 0.85rem; color: var(--gray); margin-top: 18px; }

/* photography — Dreamix-style large imagery */
.photo-band { padding: 0 0 96px; }
.photo-band img {
  display: block; width: 100%; height: clamp(280px, 44vw, 520px);
  object-fit: cover; border-radius: 10px;
}
.col-head .side-photo {
  display: block; width: 100%; max-height: 440px; object-fit: cover;
  border-radius: 8px; margin-top: 28px;
}
.band-dark.has-photo {
  background:
    linear-gradient(rgba(10, 10, 11, 0.78), rgba(10, 10, 11, 0.78)),
    url("img/photo-desk.jpg") center 40% / cover no-repeat;
}

/* case studies — image, meta line, title, result; no boxes */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
.case figure { margin: 0 0 20px; }
.case img { display: block; width: 100%; height: auto; border-radius: 8px; }
.case .c-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.case h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 10px; }
.case p { font-size: 0.92rem; color: var(--gray); margin-bottom: 14px; }
.case .c-metric { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.case .c-metric .up { color: var(--red); }
.cases-intro { max-width: 40em; }
.cases-intro p { margin-bottom: 0; color: var(--gray); }

/* SLA table — hairlines only, no filled header */
.table-scroll { overflow-x: auto; }
.ruled { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ruled th {
  font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); text-align: left;
  padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink);
}
.ruled td {
  padding: 13px 16px 13px 0; border-bottom: 1px solid var(--hairline);
  vertical-align: top; color: var(--gray);
}
.ruled td strong { color: var(--ink); font-weight: 600; }
.ruled tr:last-child td { border-bottom: none; }

/* pricing — borderless columns, rule on top */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.plan { border-top: 2px solid var(--ink); padding-top: 26px; }
.plan.featured { border-top-color: var(--red); }
.plan .p-name { font-size: 1rem; font-weight: 700; }
.plan .p-price { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 2px; }
.plan .p-price span { font-size: 0.85rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.plan .p-for { font-size: 0.88rem; color: var(--gray); margin-bottom: 16px; }
.plan .p-lines { font-size: 0.92rem; color: var(--gray); margin-bottom: 20px; }
.plan .p-lines b { color: var(--ink); font-weight: 600; }
.pricing-intro { max-width: 40em; margin-bottom: 52px; }
.pricing-intro p { margin-bottom: 18px; }
.pricing-note { margin-top: 44px; font-size: 0.85rem; color: var(--muted); max-width: 46em; }

/* FAQ */
.faq-wrap { max-width: 44em; }
details { border-bottom: 1px solid var(--hairline); }
details:first-of-type { border-top: 1px solid var(--ink); }
summary {
  cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
  align-items: baseline;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-weight: 700; }
details[open] summary::after { content: "–"; }
details .answer { padding: 0 0 22px; font-size: 0.95rem; color: var(--gray); max-width: 42em; }
details .answer p + p { margin-top: 10px; }

/* ---------- dark CTA band ---------- */

.band-dark { background: var(--dark); color: var(--dark-text); padding: 88px 0; }
.band-dark h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 18em; margin-bottom: 18px; }
.band-dark p { color: var(--dark-muted); max-width: 38em; margin-bottom: 34px; }
.band-dark .btn { background: #fff; color: var(--ink); }
.band-dark .btn:hover { background: var(--red); color: #fff; }
.band-dark a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.band-dark a:not(.btn):hover { color: var(--red); }

/* ---------- intake ---------- */

.intake { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr); gap: 72px; align-items: start; }
.field { margin-bottom: 26px; }
.field label {
  display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--ink); border-radius: 0;
  padding: 10px 0; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom: 2px solid var(--red);
}
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 16px; max-width: 30em; }
.direct-mail { margin-top: 24px; font-size: 1.05rem; font-weight: 500; }

/* ---------- footer ---------- */

.site-footer { background: var(--dark); border-top: 1px solid #2a2a2a; padding: 36px 0 48px; }
.site-footer .wrap {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  align-items: baseline;
}
.site-footer p { font-size: 0.83rem; color: var(--dark-muted); }
.site-footer a { font-size: 0.83rem; color: var(--dark-text); }
.site-footer a:hover { color: var(--red); text-decoration: none; }
.footer-legal { display: flex; gap: 24px; }
.no-tracking { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- legal pages ---------- */

.legal-page { padding: 72px 0 100px; }
.legal-page h1 { font-size: 2.3rem; margin-bottom: 8px; }
.legal-page .legal-sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 44px; }
.legal-page h2 { font-size: 1.3rem; margin: 38px 0 12px; }
.legal-page p, .legal-page li { max-width: 44em; font-size: 0.95rem; color: var(--gray); }
.legal-page ul { padding-left: 22px; margin-top: 8px; }
.legal-page address { font-style: normal; color: var(--ink); }

/* marquee ribbon */
.marquee {
  overflow: hidden; border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline); padding: 24px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: baseline; gap: 44px; padding-right: 44px; }
.mq-group span { font-size: 1.08rem; font-weight: 500; color: var(--gray); white-space: nowrap; }
.mq-group .sep { color: var(--red); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* in-house developments — large work entries (Infinum work-grid pattern) */
.dev-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 5vw, 72px) clamp(28px, 4vw, 56px); margin-top: 64px;
}
.dev-tile { display: flex; flex-direction: column; }
.dev-tile figure {
  margin: 0 0 24px; border-radius: 12px; overflow: hidden;
}
.dev-tile figure img {
  display: block; width: 100%; height: auto;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.dev-tile:hover figure img { transform: scale(1.03); }
.dev-tile h3 { font-size: 1.45rem; letter-spacing: -0.018em; margin-bottom: 8px; }
.dev-tile p { font-size: 0.98rem; color: var(--gray); margin-bottom: 16px; max-width: 34em; }
.dev-tile .status {
  font-size: 0.8rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.dev-tile .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.dev-tile .status.live { color: var(--red); }
.dev-tile .status.live::before { opacity: 1; }

/* FAQ open animation */
details[open] .answer { animation: faqIn 0.35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* parallax base (JS drives transform) */
.photo-band figure { overflow: hidden; border-radius: 10px; margin: 0; }
.photo-band img { border-radius: 0; }

/* ---------- motion (Infinum technique: IO + CSS transitions) ---------- */

.rv {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rvd, 0s);
  will-change: opacity, transform;
}
.rv.in { opacity: 1; transform: none; }

/* hover motion */
.case figure { overflow: hidden; border-radius: 8px; }
.case img, .col-head .side-photo {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.case:hover img, .col-head .side-photo:hover { transform: scale(1.025); }
.textlink { display: inline-block; transition: transform 0.25s ease; }
.textlink:hover { transform: translateX(4px); text-decoration: none; }
.btn { transition: background 0.2s, color 0.2s, transform 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--red); transition: width 0.25s ease;
}
.site-nav a:not(.nav-cta):hover::after { width: 100%; }
.plan { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.plan:hover { transform: translateY(-4px); }

/* header scroll state */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 1px 24px rgba(17, 17, 17, 0.08); }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .case img, .textlink, .btn, .plan, .col-head .side-photo, .photo-band img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid2 { grid-template-columns: 1fr; gap: 20px; }
  .hero-row3 { grid-template-columns: 1fr; gap: 28px; }
  .reviews { grid-template-columns: 1fr; gap: 36px; }
  .blog-row a.br-link { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .hero-stat { text-align: left; }
  .rail { padding-left: 38px; }
  .index-list a, .index-list .ix-row { gap: 18px; padding: 20px 0; }

  .edit-grid, .intake { grid-template-columns: 1fr; gap: 36px; }
  .edit-grid > .col-head { position: static; }
  .plans { grid-template-columns: 1fr; gap: 40px; }
  .cases { grid-template-columns: 1fr; gap: 44px; }
  .dev-grid { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr 1fr; padding-bottom: 48px; }
  .hero { padding: 68px 0 60px; }
  .section { padding: 68px 0; }
  .site-nav { display: none; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--ink);
    border-radius: 2px; font-size: 0.8rem; font-weight: 600; padding: 8px 16px;
    color: var(--ink); cursor: pointer;
  }
  .site-nav.open {
    display: flex; position: absolute; top: 112px; left: 0; right: 0;
    flex-direction: column; background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 20px 28px; gap: 18px; align-items: flex-start;
  }
  .nav-item-mega { display: none; }
  .site-nav.open .mobile-only { display: block; }
}
@media (max-width: 560px) {
  .facts .wrap { grid-template-columns: 1fr; }
}
