/* v2 design system — Alona Bochkarova. Built from the approved drafts in design/ (decisions.md #1–7). */
:root {
  --bg: #c3d7e5; --bg-top: #d4e3ee; --ink: #10181d; --muted: #4a5a64; --accent: #0f5257; --accent-2: #2a8c8f; --mint: #7fb6b4; --deep: #0b2629;
  --glass: rgba(255,255,255,.32); --glass-strong: rgba(255,255,255,.7); --glass-line: rgba(255,255,255,.55); --line: rgba(16,24,29,.12);
  --display: "Red Hat Display", system-ui, sans-serif; --text: "Red Hat Text", system-ui, sans-serif;
  --gut: 80px; --max: 1280px; --sec: 96px;
}
@media (max-width: 1023px) { :root { --gut: 40px; --sec: 72px; } }
@media (max-width: 639px)  { :root { --gut: 20px; --sec: 56px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
.wrap { position: relative; z-index: 1; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* shared pieces */
.glass { background: var(--glass); border: 1px solid var(--glass-line);
         -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
         box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 32px rgba(16,40,50,.10); }
.label { font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.04; }
.h2 em, .h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 56ch; }
.sec { position: relative; padding: var(--sec) 0; }
.sec-head { margin-bottom: 40px; display: grid; gap: 12px; }
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.08); } }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 16px 24px; border-radius: 999px;
       font: 500 16px/1 var(--text); box-shadow: 0 10px 24px rgba(15,82,87,.3); transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,82,87,.38); background: #136870; }
.btn:active { transform: translateY(0); }
.btn i { font-style: normal; transition: transform .2s; } .btn:hover i { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--deep); box-shadow: none; } .btn--light:hover { background: #e9f4f4; }
.ghost { display: inline-flex; align-items: center; gap: 8px; padding: 15px 22px; border-radius: 999px; font-weight: 500; transition: background .2s; }
.ghost:hover { background: rgba(255,255,255,.6); }
.more { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.more i { font-style: normal; transition: transform .2s; } .more:hover i { transform: translateX(4px); }
.ring { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--accent); display: inline-block; flex: none; }
.enter { opacity: 0; transform: translateY(14px); animation: up .8s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── nav (#7 B) ───────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(212,227,238,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font: 500 18px/1 var(--display); }
.nav__links { display: flex; gap: 2px; padding: 6px; border-radius: 999px; }
.nav__links a { position: relative; padding: 10px 16px; font-size: 15px; border-radius: 999px; }
.nav__links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav .btn { padding: 13px 20px; }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); cursor: pointer; }
.nav__menu span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .25s, opacity .25s; }
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 76px 12px auto; flex-direction: column; padding: 12px; border-radius: 20px; background: rgba(240,246,250,.95); display: none; }
  .nav__links.open { display: flex; } .nav__links a { padding: 14px 16px; font-size: 17px; }
  .nav__menu { display: block; } .nav .btn { display: none; }
  .nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ───────── hero (#7 B) ───────── */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%); padding: 168px 0 64px; min-height: 860px; }
.hero__portrait { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; width: 46%; }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.hero__portrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(0deg, var(--bg), transparent); }
.hero .wrap { z-index: 2; }
.h1 { font-size: clamp(52px, 7.2vw, 108px); line-height: .96; letter-spacing: -.04em; max-width: 9.5em; }
.rot { display: inline-grid; height: 1.02em; overflow: hidden; vertical-align: bottom; color: var(--accent); }
.rot span { grid-area: 1/1; animation: rot 9s infinite; opacity: 0; transform: translateY(100%); }
.rot span:nth-child(2) { animation-delay: 3s; } .rot span:nth-child(3) { animation-delay: 6s; }
@keyframes rot { 0% { opacity: 0; transform: translateY(100%); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-100%); } }
.hero .lead { font-size: 20px; max-width: 38ch; margin: 28px 0 32px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.strip { position: relative; z-index: 3; margin-top: 72px; display: grid; grid-template-columns: repeat(3, auto) 1fr; border-radius: 22px; overflow: hidden; background: var(--glass-strong); max-width: 1000px; }
.strip > div { padding: 18px 28px; border-right: 1px solid rgba(16,24,29,.1); }
.strip b { display: block; font: 500 26px/1.1 var(--display); letter-spacing: -.02em; }
.strip span { font-size: 13px; color: var(--muted); }
.strip .scroll { border-right: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 13px; color: var(--muted); }
.mouse { width: 22px; height: 34px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--muted); animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(8px); opacity: 0; } }
@media (max-width: 900px) {
  .hero { padding: 112px 0 40px; min-height: 0; }
  .hero__portrait { position: relative; width: auto; height: 420px; margin: 0 var(--gut) 24px; border-radius: 24px; overflow: hidden; }
  .hero__portrait img { -webkit-mask-image: none; mask-image: none; }
  .strip { grid-template-columns: 1fr; margin-top: 40px; } .strip > div { border-right: 0; border-bottom: 1px solid rgba(16,24,29,.1); } .strip .scroll { display: none; }
}

/* ───────── numbers (#1 A v2) ───────── */
.numbers .row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.tile { border-radius: 20px; padding: 28px 28px 32px; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px rgba(16,40,50,.14); }
.num { font: 500 clamp(36px, 4.6vw, 72px)/1 var(--display); letter-spacing: -.04em; margin: 0 0 16px; white-space: nowrap; }
.num .u { color: var(--accent); font-size: .42em; letter-spacing: 0; margin-left: .08em; vertical-align: .95em; font-weight: 600; }
.cap { font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 26ch; }
@media (max-width: 1023px) { .numbers .row { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ───────── cases list (#2) ───────── */
.case { display: grid; grid-template-columns: 96px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case__n { font: 400 56px/1 var(--display); letter-spacing: -.04em; color: var(--accent); opacity: .5; transition: opacity .3s; }
.case:hover .case__n { opacity: 1; }
.case__meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; letter-spacing: .01em; }
.case__h { font: 400 clamp(26px, 2.6vw, 36px)/1.12 var(--display); letter-spacing: -.02em; max-width: 26ch; margin-bottom: 24px; }
.case__h a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .35s; }
.case__h a:hover { background-size: 100% 2px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 24px; }
.kpi { border-radius: 16px; padding: 18px 20px; }
.kpi b { display: block; font: 500 clamp(24px, 2.2vw, 32px)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 4px; }
.kpi span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.chip { font-size: 13px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(16,24,29,.14); color: var(--muted); }
@media (max-width: 639px) { .case { grid-template-columns: 1fr; gap: 8px; } .kpis { grid-template-columns: 1fr; } }

/* ───────── approach (#3 A) ───────── */
.scale { display: flex; justify-content: space-between; font: 500 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.bar { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #10181d 0%, var(--accent) 50%, var(--mint) 100%); margin-bottom: 20px; opacity: .85; transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.in .bar, .bar.in { transform: scaleX(1); }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.mode { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.mode__top { display: flex; align-items: center; gap: 12px; }
.dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); position: relative; overflow: hidden; flex: none; }
.dot::after { content: ""; position: absolute; inset: 0; background: var(--accent); clip-path: inset(0 var(--fill) 0 0); }
.mode h3 { font-size: 24px; line-height: 1.1; font-weight: 500; letter-spacing: -.01em; }
.mode p { font-size: 16px; line-height: 1.45; }
.mode .ex { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.mode .ex b { color: var(--ink); font-weight: 600; }
.punch { margin-top: 40px; font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--display); letter-spacing: -.01em; max-width: 32ch; }
.punch em { font-style: normal; color: var(--accent); }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } }

/* ───────── about (#6 A v2) ───────── */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.about-grid .lead { margin: 16px 0 32px; }
.tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 28px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; }
.tl::after { content: ""; position: absolute; left: 7px; top: 6px; width: 2px; height: var(--p, 0%); background: var(--accent); border-radius: 2px; transition: height 1.4s cubic-bezier(.2,.7,.2,1); }
.tl li { position: relative; padding: 0 0 22px; opacity: .35; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.tl li.on { opacity: 1; transform: none; }
.tl li::before { content: ""; position: absolute; left: -27px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); transition: background .3s; }
.tl li.on::before { background: var(--accent); }
.tl li:last-child::before { box-shadow: 0 0 0 6px rgba(15,82,87,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(15,82,87,.05); } }
.tl .yr { font: 600 13px/1 var(--text); letter-spacing: .06em; color: var(--accent); }
.tl .role { font: 500 20px/1.25 var(--display); margin: 6px 0 2px; }
.tl .det { font-size: 14px; color: var(--muted); line-height: 1.45; }
.ph { position: relative; margin: 0 18px 8px 18px; height: 300px; }
.ph::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .5s; }
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 35% 12%; border-radius: 24px; filter: grayscale(1) contrast(1.05) brightness(1.05); transition: filter .6s, transform .6s; }
.ph::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 24px; background: linear-gradient(160deg, rgba(15,82,87,.55), rgba(127,182,180,.25)); mix-blend-mode: color; transition: opacity .6s; pointer-events: none; }
.ph:hover img { filter: none; transform: scale(1.02); } .ph:hover::after { opacity: 0; } .ph:hover::before { transform: translate(6px, 6px); }
.bdg { display: flex; justify-content: space-between; gap: 12px; padding: 28px 4px 6px; }
.b { position: relative; display: grid; place-items: center; width: 104px; height: 104px; opacity: 0; transform: scale(.6) rotate(-12deg); transition: transform .5s cubic-bezier(.3,1.5,.5,1), opacity .4s; }
.bdg.in .b { opacity: 1; transform: none; }
.bdg.in .b:nth-child(2) { transition-delay: .12s; } .bdg.in .b:nth-child(3) { transition-delay: .24s; } .bdg.in .b:nth-child(4) { transition-delay: .36s; }
.b img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(16,40,50,.2)); transition: transform .35s cubic-bezier(.3,1.5,.5,1), filter .35s; }
.b::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(127,182,180,.9), transparent 70%); filter: blur(16px); opacity: 0; transition: opacity .35s; }
.b:hover img, .b:focus-visible img { transform: translateY(-8px) scale(1.08); filter: drop-shadow(0 18px 18px rgba(16,40,50,.28)); }
.b:hover::before, .b:focus-visible::before { opacity: 1; }
.tip { position: absolute; top: calc(100% + 2px); left: 50%; width: max-content; max-width: 200px; transform: translate(-50%, -6px); opacity: 0; pointer-events: none;
       font-size: 12px; line-height: 1.35; color: var(--muted); text-align: center; padding: 8px 12px; border-radius: 12px;
       background: rgba(255,255,255,.8); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .25s, transform .25s; z-index: 3; }
.tip b { display: block; color: var(--ink); font: 600 13px/1.3 var(--text); }
.b:hover .tip, .b:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.extras { display: grid; gap: 8px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); }
.extras p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.extras .k { display: inline-block; min-width: 116px; font: 600 11px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .bdg { flex-wrap: wrap; justify-content: center; } .extras .k { display: block; margin-bottom: 4px; } }

/* ───────── footer (#5 A) ───────── */
.foot { position: relative; overflow: hidden; background: var(--deep); color: #e6f0f2; margin-top: 24px; border-radius: 32px 32px 0 0; }
.foot::before { content: ""; position: absolute; width: 640px; height: 420px; left: -120px; top: -140px; border-radius: 50%; background: #1f6f74; filter: blur(90px); opacity: .7; }
.foot::after { content: ""; position: absolute; width: 520px; height: 380px; right: -80px; top: 120px; border-radius: 50%; background: var(--mint); filter: blur(110px); opacity: .35; }
.foot .cta { margin-top: 72px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; border-radius: 24px;
             background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.foot h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.02; color: #fff; margin-bottom: 16px; }
.foot .cta p { font-size: 18px; line-height: 1.5; color: #b8cdd1; max-width: 46ch; }
.foot .mail { display: inline-block; margin-top: 18px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.foot .cols { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; margin-top: 72px; }
.foot .brand b { font: 500 20px/1 var(--display); color: #fff; display: flex; align-items: center; gap: 10px; }
.foot .brand .ring { border-color: var(--mint); }
.foot .brand p { margin-top: 10px; color: #9fb7bc; font-size: 15px; }
.foot h3 { font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot li a { color: #e6f0f2; font-size: 16px; transition: color .15s, padding .15s; }
.foot li a:hover { color: #fff; padding-left: 4px; }
.foot .word { margin-top: 64px; font: 500 clamp(30px, 9.4vw, 136px)/.8 var(--display); letter-spacing: -.05em; white-space: nowrap;
              background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.02)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot .legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.12); color: #8aa3a8; font-size: 13px; }
@media (max-width: 900px) { .foot .cta { grid-template-columns: 1fr; padding: 28px; } .foot .cols { grid-template-columns: 1fr 1fr; } .foot .brand { grid-column: 1 / -1; } }

/* ───────── case page ───────── */
.case-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%); padding: 148px 0 48px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; }
.crumb a { border-bottom: 1px solid rgba(16,24,29,.25); }
.case-hero h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; max-width: 18ch; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.meta-line span { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.45); border: 1px solid var(--glass-line); }
.meta-line span b { color: var(--accent); font-weight: 600; margin-right: 6px; }
.case-hero .lead { font-size: 19px; max-width: 60ch; margin-bottom: 32px; }
.case-hero .kpis { max-width: 980px; margin: 0; }
.block { padding: 56px 0; border-top: 1px solid var(--line); }
.block .grid2 { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.block h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.block .label { display: block; margin-bottom: 12px; }
.prose p + p, .prose ul { margin-top: 14px; } .prose ul { padding-left: 20px; } .prose li + li { margin-top: 8px; }
.callout { margin-top: 24px; padding: 20px 24px; border-radius: 16px; border-left: 4px solid var(--accent); }
.callout b { color: var(--accent); }
table.t { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 18px; overflow: hidden; font-size: 15px; }
table.t th, table.t td { text-align: left; padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
table.t tr:last-child td { border-bottom: 0; }
table.t thead th { font: 600 12px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(255,255,255,.35); }
table.t td:first-child { font-weight: 600; width: 26%; }
table.t .after { color: var(--accent); font-weight: 500; }
table.t tbody tr { transition: background .2s; } table.t tbody tr:hover { background: rgba(255,255,255,.35); }
.takeaways { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: t; }
.takeaways li { counter-increment: t; border-radius: 16px; padding: 20px 22px 20px 60px; position: relative; }
.takeaways li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 20px; top: 20px; font: 600 14px/1.4 var(--text); color: var(--accent); }
.author { display: flex; gap: 20px; align-items: center; border-radius: 20px; padding: 20px 24px; max-width: 680px; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.author b { font: 500 18px/1.2 var(--display); display: block; }
.author p { font-size: 14px; color: var(--muted); }
.next { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.next a { border-radius: 18px; padding: 22px; display: grid; gap: 8px; transition: transform .2s; }
.next a:hover { transform: translateY(-3px); }
.next small { color: var(--accent); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.next span { font: 400 20px/1.2 var(--display); }
@media (max-width: 900px) { .block .grid2 { grid-template-columns: 1fr; gap: 20px; } .takeaways, .next { grid-template-columns: 1fr; } table.t td:first-child { width: auto; } }
@media (max-width: 639px) { table.t, table.t tbody, table.t tr, table.t td { display: block; } table.t thead { display: none; } table.t td { border: 0; padding: 4px 18px; } table.t td:first-child { padding-top: 14px; } table.t tr { border-bottom: 1px solid var(--line); padding-bottom: 10px; } table.t td:nth-child(2)::before { content: "Before: "; color: var(--muted); } table.t td.after::before { content: "After: "; color: var(--muted); font-weight: 400; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .enter, .reveal, .tl li, .b { opacity: 1 !important; transform: none !important; } .bar { transform: none; }
  .rot span:first-child { opacity: 1; transform: none; }
}
@media (max-width: 639px) { .tile { padding: 20px; } .cap { font-size: 14px; } }

/* ───────── v2.1 animations (decisions #8, #9) ───────── */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--s, 0)); background: linear-gradient(90deg, var(--accent), var(--mint)); }
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none;
                background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(127,182,180,.5), transparent 65%); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
               background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(15,82,87,.9), transparent 70%);
               -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.hero__portrait img { transform: translate(var(--px, 0px), var(--py, 0px)) scale(1.04); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.case__n { display: inline-flex; gap: 3px; align-self: start; }
.case__n span { display: inline-block; width: .62em; text-align: center; }
.case__n span.tick { animation: flip .09s linear; }
@keyframes flip { 50% { transform: rotateX(90deg); } }
table.t.stagger tbody tr { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
table.t.stagger.in tbody tr { opacity: 1; transform: none; }
table.t .hl { background: linear-gradient(90deg, rgba(127,182,180,.55), rgba(127,182,180,.25)) 0 70% / 0% 60% no-repeat; transition: background-size .8s cubic-bezier(.2,.7,.2,1); padding: 0 2px; }
table.t.in .hl { background-size: 100% 60%; }
.dot::after { transition: clip-path 1.2s cubic-bezier(.2,.7,.2,1); }
.modes:not(.in) .dot::after { clip-path: inset(0 100% 0 0); }
.foot .word { display: flex; overflow: hidden; padding-bottom: .06em; }
.foot .word .l { display: inline-block; white-space: pre; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.75,.2,1);
                 background: inherit; -webkit-background-clip: text; background-clip: text; }
.foot .word.in .l { transform: none; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  table.t.stagger tbody tr, .foot .word .l { opacity: 1 !important; transform: none !important; }
  table.t .hl { background-size: 100% 60%; } .modes .dot::after { clip-path: inset(0 var(--fill) 0 0) !important; }
}
.foot .word.split { background: none; color: inherit; }
.foot .word.split .l { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.02)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* one gap between neighbouring sections, not two paddings added together */
.sec + .sec { padding-top: 0; }
.case:last-child { padding-bottom: 32px; }

/* ───────── hiring (recruiters, soft signal) ───────── */
.hire { border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.hire .h2 { margin: 14px 0 16px; }
.hire .lead { margin-bottom: 28px; }
.hire__facts { margin: 0; display: grid; gap: 0; }
.hire__facts div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.hire__facts div:first-child { padding-top: 0; } .hire__facts div:last-child { border-bottom: 0; }
.hire__facts dt { font: 600 11px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hire__facts dd { margin: 0; font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .hire { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }

/* about extras: label column + text column, so wrapped lines align; each item stays whole */
.extras p { display: grid; grid-template-columns: 132px 1fr; gap: 0 12px; align-items: baseline; }
.extras .k { min-width: 0; }
.extras .nw { white-space: nowrap; }
@media (max-width: 900px) { .extras p { grid-template-columns: 1fr; } .extras .nw { white-space: normal; } }
.hire__facts .nw { white-space: nowrap; } @media (max-width: 639px) { .hire__facts .nw { white-space: normal; } }

/* badge tip: stays open while the pointer moves from the badge onto it (it is part of the same link) */
.tip { top: 100%; margin-top: 0; }
.tip::before { content: ""; position: absolute; left: -12px; right: -12px; top: -14px; height: 14px; }
.b:hover .tip, .b:focus-visible .tip, .tip:hover { pointer-events: auto; }
.tip .go { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
