/* =========================================================
   Claudio Lauretti · personal website
   Design tokens → change colors / fonts here
   ========================================================= */

@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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: "Geist Mono"; src: url("../fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* palette */
  --ink: #0B0D10;          /* dark backgrounds, main text */
  --ink-2: #14171C;        /* raised dark surfaces */
  --ink-3: #1E232A;        /* dark borders */
  --paper: #F4F2EC;        /* warm light sections */
  --white: #FFFFFF;
  --text: #0B0D10;
  --muted: #5B6068;
  --muted-light: #A3A9B2;
  --line: #E1DED6;
  --accent: #C8F53C;       /* signature lime */
  --accent-ink: #3D5200;   /* accent-derived color for text on light */
  --danger: #B42318;

  /* type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--muted-light); }
.hero .eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(200,245,60,.18); }
.h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.h2 em { font-size: 1.08em; }
.h2--light { color: var(--white); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { box-shadow: 0 10px 30px -10px rgba(200,245,60,.7); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #22272E; }
.btn--outline { border-color: #CFCBC1; color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15.5px; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }
.linklike { text-decoration: underline; text-underline-offset: 3px; }

.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--white); }
.tag--accent { background: var(--accent); color: var(--ink); }

/* ---------- placeholders (photos & logos) ---------- */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: #E7E4DC; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media:not(:has(img)) { background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(11,13,16,.035) 14px 15px), #E7E4DC; }
.media:not(:has(img))::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8C8A83; text-align: center; padding: 16px; }
.media--dark { background: var(--ink-2); }
.media--dark:not(:has(img)) { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.035) 14px 15px), var(--ink-2); }
.media--dark:not(:has(img))::after { color: #5E6570; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 16 / 9; }

.logo-slot { display: grid; place-items: center; height: 56px; padding: 0 16px; border: 1px dashed #CFCBC1; border-radius: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9C998F; text-align: center; }
.logo-slot--sm { width: 52px; height: 52px; padding: 0; font-size: 9.5px; flex: none; }
.logo-slot--dark { border-color: #333A43; color: #5E6570; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white); transition: background .3s, border-color .3s, height .3s, color .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(11,13,16,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: rgba(255,255,255,.08); --header-h: 66px; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__img { height: 40px; width: auto; }
.logo:has(.logo__img) .logo__mark, .logo:has(.logo__img) .logo__text { display: none; }
.logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--ink); font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: -.02em; }
.logo__text { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; height: 40px; padding: 0 11px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.78); transition: color .2s, background .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link.is-active { background: rgba(255,255,255,.08); }
.nav__cta-item { margin-left: 10px; }

.sub-toggle { display: none; }
.has-sub > .nav__link::after { content: ""; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; padding: 8px; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 24px 60px -18px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.04); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; }
.sub a:hover { background: var(--paper); }
@media (hover: hover) and (min-width: 1121px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
}

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; background: var(--ink); padding: calc(var(--header-h) + 12px) var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--ink-3); }
  .nav__link { flex: 1; height: 58px; padding: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--white); border-radius: 0; }
  .nav__link.is-active { background: none; color: var(--accent); }
  .has-sub > .nav__link::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; }
  .sub-toggle span { width: 10px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
  .sub-toggle[aria-expanded="true"] span { transform: translateY(2px) rotate(225deg); }
  .sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 14px; background: none; box-shadow: none; color: var(--muted-light); opacity: 1; visibility: visible; transform: none; display: none; }
  .sub.is-open { display: block; }
  .sub a { padding: 8px 0; font-size: 17px; }
  .sub a:hover { background: none; color: var(--white); }
  .nav__cta-item { margin: 28px 0 0; border: 0 !important; }
  .nav__cta-item .btn { width: 100%; height: 54px; font-size: 16px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .logo { position: relative; z-index: 2; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; background: var(--ink); color: var(--white); padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(200,245,60,.16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(120,140,255,.08), transparent 70%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
          mask-image: linear-gradient(180deg, #000 60%, transparent); }
.hero__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-bottom: clamp(56px, 8vw, 110px); }
.hero__title { font-size: clamp(56px, 9.6vw, 142px); line-height: .9; font-weight: 600; letter-spacing: -.055em; margin-bottom: 30px; }
.hero__title em { color: var(--accent); font-size: 1.06em; letter-spacing: -.03em; }
.hero__lead { max-width: 560px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #C9CED6; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__visual { position: relative; }
.hero__badge { position: absolute; left: -28px; bottom: 32px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px; background: rgba(20,23,28,.82); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__badge-k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero__badge-v { font-size: 15px; font-weight: 600; }

.ticker { border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8B929C; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .8; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: clamp(80px, 10vw, 140px); }
.section--paper { background: var(--paper); }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.section__head--split > div:first-child { flex: 1 1 auto; max-width: 680px; }
.section__head--split > .section__intro, .section__head--split > .blog__head-actions { flex: 0 1 auto; }
.section__intro { max-width: 400px; color: var(--muted); font-size: 17px; }
.section__intro--light { color: var(--muted-light); }

/* ---------- paths ---------- */
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 30px 30px; min-height: 320px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.path:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,13,16,.28); border-color: transparent; }
.path__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--paper); }
.path__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.path__k { margin-top: 56px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.path__t { font-size: 27px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.path__d { color: var(--muted); font-size: 15.5px; max-width: 34ch; }
.path__go { position: absolute; top: 30px; right: 30px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.path:hover .path__go { background: var(--ink); color: var(--white); border-color: var(--ink); transform: rotate(-45deg); }
.path--accent { background: var(--ink); color: var(--white); border-color: var(--ink); }
.path--accent .path__icon { background: var(--accent); }
.path--accent .path__k, .path--accent .path__d { color: var(--muted-light); }
.path--accent .path__go { border-color: rgba(255,255,255,.2); }
.path--accent:hover .path__go { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__copy > p:not(.eyebrow) { color: #3C4149; margin-top: 20px; max-width: 58ch; }
.about__copy .h2 { margin-bottom: 8px; }
.quote { margin: 34px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); }
.quote p { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 36px; border-top: 1px solid var(--line); }
.about__links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; transition: color .2s, padding .25s var(--ease); }
.about__links a:hover { padding-left: 6px; color: var(--accent-ink); }

.press { display: flex; align-items: center; gap: 24px 40px; margin-top: clamp(64px, 8vw, 110px); padding-top: 36px; flex-wrap: wrap; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.press__label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex: none; }
.press__logos { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.press__logos img { max-height: 36px; width: auto; margin: auto; filter: grayscale(1); opacity: .7; }

/* ---------- services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service { background: var(--paper); padding: 30px 28px 34px; transition: background .3s; }
.service:hover { background: var(--white); }
.service__icon { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 44px; }
.service:hover .service__icon { stroke: var(--accent-ink); }
.service h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.services__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 22px 22px 30px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.services__cta p { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }

/* ---------- business ---------- */
.business__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.business__col { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.business__col-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.business__col-head h3 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.business__col-head .link-arrow { font-size: 14px; color: var(--muted); }
.venture { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); transition: padding .25s var(--ease); }
.venture:hover { padding-left: 6px; }
.venture strong { display: block; font-weight: 600; font-size: 16px; }
.venture small { display: block; color: var(--muted); font-size: 14px; }

/* ---------- impact ---------- */
.impact { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.impact::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(200,245,60,.12), transparent 65%); pointer-events: none; }
.feature { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); border: 1px solid var(--ink-3); }
.feature .media { border-radius: 0; height: 100%; min-height: 340px; aspect-ratio: auto; }
.feature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.feature__body h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.feature__body p { color: var(--muted-light); max-width: 46ch; }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.impact-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 180px; padding: 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); transition: border-color .3s, transform .35s var(--ease), background .3s; }
.impact-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.impact-card__k { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.impact-card__t { color: var(--muted-light); font-size: 15px; max-width: 28ch; }
.impact-card__go { margin-top: auto; color: var(--accent); font-size: 20px; transition: transform .25s var(--ease); }
.impact-card:hover .impact-card__go { transform: translateX(6px); }
.assoc { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px 60px; align-items: center; margin-top: clamp(64px, 8vw, 104px); padding-top: 44px; border-top: 1px solid var(--ink-3); scroll-margin-top: calc(var(--header-h) + 24px); }
.assoc h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 18px; }
.assoc .eyebrow { margin-bottom: 12px; }
.assoc__logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.assoc__logos .logo-slot { height: 88px; }

/* ---------- blog ---------- */
.blog__head-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid #D6D2C8; font-size: 14px; font-weight: 500; color: #3C4149; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.posts { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(3, auto); gap: 20px 28px; }
.post { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; }
.post .media { border-radius: var(--radius); }
.post:not(.post--featured) .media:not(:has(img))::after { font-size: 10px; }
.post--featured { grid-row: 1 / span 3; grid-template-columns: 1fr; align-items: start; gap: 24px; }
.post--featured .media { border-radius: var(--radius-lg); }
.post__meta { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; transition: color .2s; }
.post--featured h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px; }
.post--featured p { color: var(--muted); max-width: 56ch; }
.post:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.post .media img { transition: transform .6s var(--ease); }
.post:hover .media img { transform: scale(1.04); }
.post.is-hidden { display: none; }
.posts.is-filtered { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-template-rows: none; }
.posts.is-filtered .post, .posts.is-filtered .post--featured { grid-row: auto; grid-template-columns: 1fr; }
.posts.is-filtered .post--featured p { display: none; }
.posts.is-filtered .post--featured h3 { font-size: 19px; }
.posts__empty { padding: 28px; border-radius: var(--radius); border: 1px dashed #CFCBC1; color: var(--muted); text-align: center; }

/* ---------- social ---------- */
.social__main { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.soc { display: flex; flex-direction: column; gap: 4px; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: background .3s, color .3s, transform .35s var(--ease), border-color .3s; }
.soc svg { width: 26px; height: 26px; fill: currentColor; margin-bottom: 40px; }
.soc span { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.soc small { color: var(--muted); font-size: 13.5px; transition: color .3s; }
.soc:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-4px); }
.soc:hover svg { color: var(--accent); }
.soc:hover small { color: var(--muted-light); }
.social__more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.social__more-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.social__more a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s; }
.social__more a:hover { border-color: var(--ink); }
.social__more svg { width: 16px; height: 16px; fill: currentColor; }
.feed-slot { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 22px 26px; border-radius: var(--radius); background: var(--paper); color: var(--muted); font-size: 15.5px; }
.feed-slot strong { color: var(--ink); margin-right: 6px; }
.feed-slot__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200,245,60,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(200,245,60,0); } 100% { box-shadow: 0 0 0 0 rgba(200,245,60,0); } }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__info > p:not(.eyebrow) { color: #3C4149; margin-top: 20px; max-width: 46ch; }
.contact__mail { display: inline-block; margin-top: 26px; font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; letter-spacing: -.02em; border-bottom: 2px solid var(--accent); padding-bottom: 2px; word-break: break-all; }
.calendly { margin-top: 36px; }
.calendly__placeholder { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px dashed #CFCBC1; }
.calendly__placeholder svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.calendly__placeholder strong { display: block; font-size: 17px; }
.calendly__placeholder span { color: var(--muted); font-size: 15px; }
.calendly-inline-widget { min-width: 280px; height: 680px; border-radius: var(--radius); overflow: hidden; background: var(--white); }

.form { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.form textarea { resize: vertical; min-height: 130px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.form .is-invalid { border-color: var(--danger) !important; }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); font-size: 14px; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form .check a { text-decoration: underline; color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 15px; min-height: 1em; }
.form__status.is-ok { color: var(--accent-ink); font-weight: 600; }
.form__status.is-err { color: var(--danger); }

/* =========================================================
   FOOTER + COOKIE
   ========================================================= */
.footer { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px 80px; padding-bottom: 56px; border-bottom: 1px solid var(--ink-3); }
.footer__name { font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: .95; }
.footer__name em { color: var(--accent); }
.footer__tag { color: var(--muted-light); margin-top: 16px; max-width: 36ch; }
.footer__social { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink-3); transition: background .2s, color .2s, border-color .2s; }
.footer__social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.footer__social svg { width: 17px; height: 17px; fill: currentColor; }
.footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__nav p { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6B727C; margin-bottom: 14px; }
.footer__nav a { display: block; padding: 5px 0; color: #C9CED6; font-size: 15px; transition: color .2s; }
.footer__nav a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; color: #6B727C; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a:hover, .footer__links button:hover { color: var(--white); }
.footer__links .linklike { text-decoration: none; }

.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin-left: auto; display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 30px 70px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.05); font-size: 14.5px; }
.cookie[hidden] { display: none; }
.cookie a { text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .social__main { grid-template-columns: repeat(3, 1fr); }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .business__cols { grid-template-columns: 1fr 1fr; }
  .business__cols .business__col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; }
  .hero__badge { left: 16px; }
  .paths__grid { grid-template-columns: 1fr; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .path { min-height: 0; }
  .path__k { margin-top: 28px; }
  .about__grid, .contact__grid, .feature, .assoc, .footer__top { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .feature .media { min-height: 0; aspect-ratio: 16 / 9; }
  .posts { grid-template-columns: 1fr; grid-template-rows: none; }
  .post--featured { grid-row: auto; }
  .press__logos { grid-template-columns: repeat(3, 1fr); }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .services__grid, .business__cols, .impact__grid { grid-template-columns: 1fr; }
  .service__icon { margin-bottom: 24px; }
  .social__main { grid-template-columns: repeat(2, 1fr); }
  .soc svg { margin-bottom: 26px; }
  .post { grid-template-columns: 112px 1fr; gap: 16px; }
  .post h3 { font-size: 17px; }
  .post.post--featured { grid-template-columns: 1fr; }
  .post--featured h3 { font-size: 24px; }
  .press { flex-direction: column; align-items: stretch; }
  .press__logos { width: 100%; }
  .about__links { grid-template-columns: 1fr; }
  .assoc__logos { grid-template-columns: repeat(2, 1fr); }
  .press__logos { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .services__cta { border-radius: var(--radius-lg); padding: 22px; }
  .services__cta .btn { width: 100%; }
  .blog__head-actions, .blog__head-actions .btn { width: 100%; }
  .cookie__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero { position: relative; background: var(--ink); color: var(--white); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8B929C; margin-bottom: 28px; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: .5; }
.crumbs [aria-current] { color: var(--accent); }
.page-hero__title { font-size: clamp(42px, 6.6vw, 92px); line-height: .98; font-weight: 600; letter-spacing: -.045em; max-width: 17ch; text-wrap: balance; }
.page-hero__title em { color: var(--accent); }
.page-hero__lead { max-width: 640px; margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: #C9CED6; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 34px; }

.subnav { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
.subnav__list { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { flex: none; height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.12); transition: color .2s, border-color .2s, background .2s; }
.subnav a:hover { color: var(--white); border-color: rgba(255,255,255,.4); }
.subnav a[aria-current] { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.section--dark { background: var(--ink); color: var(--white); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section + .section--white-join { padding-top: 0; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.sec-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-title p { color: var(--muted); max-width: 52ch; margin-top: 8px; }
.muted { color: var(--muted); }

/* prose */
.prose { max-width: 70ch; font-size: 18px; line-height: 1.72; color: #2A2E35; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); margin-top: 1.8em; font-weight: 600; }
.prose h3 { font-size: 21px; letter-spacing: -.02em; color: var(--ink); margin-top: 1.6em; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-ink); text-decoration-thickness: 1.5px; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose .lead-p { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.prose-wrap { overflow-x: auto; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.section--paper .card { border-color: transparent; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11,13,16,.25); }
.card > .media { border-radius: 0; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card__foot .link-arrow { font-size: 15px; }
.logo-slot--lg { width: 72px; height: 72px; padding: 0; font-size: 10px; flex: none; }
.tag--soft { background: var(--paper); color: var(--ink); }
.tag--line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5DBB2A; }
.status--wait::before { background: #F5A524; }
.status--done::before { background: #9CA3AF; }
.is-hidden { display: none !important; }
.filter-empty { padding: 28px; border-radius: var(--radius); border: 1px dashed #CFCBC1; color: var(--muted); text-align: center; }

/* hubs */
.paths__grid--4 { grid-template-columns: repeat(4, 1fr); }
.paths__grid--2 { grid-template-columns: repeat(2, 1fr); }

/* timeline */
.timeline { border-left: 1px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 38px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--white); }
.section--paper .timeline li::before { box-shadow: 0 0 0 4px var(--paper); }
.timeline__y { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.timeline h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 6px; }
.timeline p { color: var(--muted); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 28px; border-top: 1px solid var(--line); margin: 0; }
.fact { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact dd { margin: 0; font-weight: 600; font-size: 17px; }

/* rows (press releases, papers) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row__date { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.row h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.row p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.row__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* bands */
.band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 60px; align-items: center; padding: clamp(32px, 5vw, 60px); border-radius: var(--radius-lg); background: var(--ink); color: var(--white); isolation: isolate; }
.band::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(200,245,60,.18), transparent 65%); }
.band h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.band h2 em { color: var(--accent); }
.band p { color: var(--muted-light); margin-top: 14px; max-width: 52ch; }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.band--light { background: var(--paper); color: var(--ink); }
.band--light::after { display: none; }
.band--light h2 em { color: var(--ink); }
.band--light p { color: var(--muted); }

/* services page */
.service-block { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px 72px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block .service__icon { margin-bottom: 22px; width: 36px; height: 36px; }
.service-block h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.service-block__head p { color: var(--muted); margin-top: 14px; max-width: 44ch; }
.checklist { border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0D10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid #D6D2C8; font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.jump a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 30px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.section--paper .step { border-color: transparent; }
.step__k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* progress */
.progress { height: 8px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ink); border-radius: inherit; min-width: 8px; }
.progress__nums { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); margin-top: 8px; }
.progress__nums strong { color: var(--ink); }

/* events */
.events { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.event__date { width: 96px; height: 96px; border-radius: 18px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.event__date strong { font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.event__date span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.event h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.event__info { display: flex; gap: 6px 18px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* causes */
.causes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cause { padding: 28px 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.cause svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 36px; }
.cause h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.cause p { color: var(--muted-light); font-size: 15px; }

/* blog listing + article */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 40px 28px; }
.posts-grid .post { grid-template-columns: 1fr; align-items: start; gap: 18px; }
.post p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.post-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 48px; align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.post-hero .media { border-radius: var(--radius-lg); }
.post-hero h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 12px 0 14px; }
.post-hero p { color: var(--muted); }
.post-hero:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination a { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.pagination a:hover { border-color: var(--ink); }
.pagination a[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; font-size: 15px; color: #C9CED6; }
.article-meta .tag { background: var(--accent); color: var(--ink); }
.article-cover { margin-top: calc(-1 * clamp(24px, 4vw, 56px)); position: relative; z-index: 1; }
.article-layout { display: grid; grid-template-columns: 1fr 220px; gap: 40px 72px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.article-aside__label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.share a:hover, .share button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.share .copy svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.author { display: flex; gap: 20px; align-items: center; padding: 26px; border-radius: var(--radius-lg); background: var(--paper); margin-top: 56px; max-width: 70ch; }
.media--avatar { width: 76px; height: 76px; border-radius: 50%; flex: none; }
.media--avatar:not(:has(img))::after { content: "CL"; font-size: 14px; letter-spacing: 0; color: var(--ink); }
.author strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.author p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* contact page */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.topic:hover { transform: translateY(-4px); border-color: var(--ink); }
.topic svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.topic strong { font-size: 18px; letter-spacing: -.02em; }
.topic span { color: var(--muted); font-size: 15px; }

/* social page */
.soc-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.soc-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.soc-card svg { width: 30px; height: 30px; fill: currentColor; margin-bottom: 28px; }
.soc-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.soc-card p { color: var(--muted); font-size: 15.5px; }
.soc-card .link-arrow { margin-top: auto; padding-top: 10px; font-size: 15px; }
.soc-card:hover { transform: translateY(-4px); background: var(--ink); color: var(--white); border-color: var(--ink); }
.soc-card:hover svg { color: var(--accent); }
.soc-card:hover p { color: var(--muted-light); }
.soc-small { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.soc-mini { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: border-color .2s; }
.soc-mini:hover { border-color: var(--ink); }
.soc-mini svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.soc-mini strong { display: block; font-size: 16px; }
.soc-mini small { color: var(--muted); font-size: 13.5px; }
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feed-grid .media { border-radius: var(--radius); }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; }

/* inner responsive */
@media (max-width: 1080px) {
  .paths__grid--4, .causes, .topics { grid-template-columns: repeat(2, 1fr); }
  .soc-big { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 900px) {
  .split, .split--even, .service-block, .band, .post-hero { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .band__actions { justify-content: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .paths__grid--2 { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  .paths__grid--4, .causes, .topics, .soc-big { grid-template-columns: 1fr; }
  .event { grid-template-columns: 72px 1fr; }
  .event__date { width: 72px; height: 72px; border-radius: 14px; }
  .event__date strong { font-size: 24px; }
  .event .btn { grid-column: 1 / -1; width: 100%; }
  .band__actions .btn { width: 100%; }
  .prose { font-size: 17px; }
  .author { flex-direction: column; align-items: flex-start; }
}
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soc-mini svg:not([viewBox="0 0 24 24"]) { fill: currentColor; }
.soc-mini > svg[aria-hidden] { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
ol.timeline { list-style: none; padding: 0; }
.section--paper .band--light { background: var(--white); }

/* =========================================================
   DYNAMIC CONTENT (blog, stampa) + real data components
   ========================================================= */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.stats-row > div { padding: 28px 24px 26px 0; }
.stats-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats-row strong { display: block; font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.stats-row span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
.impact .stats-row, .section--dark .stats-row { border-color: var(--ink-3); }
.impact .stats-row > div + div { border-color: var(--ink-3); }
.impact .stats-row span { color: var(--muted-light); }

.outlets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 34px; flex: 1; }
.outlets span { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 25px); color: #6F737A; letter-spacing: -.01em; white-space: nowrap; }

.media__badge { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 8px; background: rgba(11,13,16,.82); color: var(--white); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.card__outlet { font-weight: 600; font-size: 14px; color: var(--ink); }

.empty { display: grid; justify-items: start; gap: 10px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px dashed #CFCBC1; }
.section--paper .empty { border-style: solid; border-color: transparent; }
.impact .empty, .section--dark .empty { background: var(--ink-2); border-color: var(--ink-3); }
.empty__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(200,245,60,.18); margin-bottom: 8px; }
.empty h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.empty p { color: var(--muted); max-width: 58ch; }
.empty__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.chips--links a.chip { display: inline-flex; align-items: center; }
.pagination__gap { display: grid; place-items: center; min-width: 30px; color: var(--muted); }

/* petizioni */
.petition { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius-lg); background: var(--white); }
.petition h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.petition p { color: var(--muted); font-size: 15.5px; }
.petition .progress span { background: var(--ink); }
.petition__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.petition__pct { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote-card { padding: 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.quote-card p { font-family: var(--serif); font-size: clamp(22px, 2.1vw, 27px); line-height: 1.3; letter-spacing: -.01em; }
.quote-card span { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* partner */
.partner { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.section--paper .partner { border-color: transparent; }
.partner h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.partner p { color: var(--muted); font-size: 15px; }
.partner__meta { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* contatti extra */
.contact__lines { display: grid; gap: 10px; margin-top: 22px; }
.contact__lines a, .contact__lines span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.contact__lines svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.calendly__placeholder .btn { margin-left: auto; }
.soc small b { color: var(--ink); font-weight: 600; }
.soc:hover small b { color: var(--accent); }
.soc-card__count { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--accent-ink); }
.soc-card:hover .soc-card__count { color: var(--accent); }
[data-social][hidden] { display: none !important; }

/* testo degli articoli dal pannello */
.prose img { border-radius: var(--radius); margin-block: 1.4em; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }

@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .calendly__placeholder { flex-wrap: wrap; }
  .calendly__placeholder .btn { margin-left: 0; width: 100%; }
}
[hidden] { display: none !important; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 15px; color: #C9CED6; }
.footer__contact a:hover { color: var(--accent); }
.preview-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 160; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.4); max-width: calc(100% - 32px); text-align: center; }
.preview-bar a { text-decoration: underline; margin-left: 6px; }
.stats-row > div { min-width: 0; }
@media (max-width: 640px) {
  .stats-row strong { font-size: 28px; }
  .stats-row > div { padding: 22px 12px 20px 0; }
  .stats-row > div + div { padding-left: 14px; }
  .stats-row > div:nth-child(3) { padding-left: 0; }
}
