/* Homepage (/). Loaded after site.css, only on /. Prefix xh- (hero film) and xs-/xv-/xe-/xw-/xf-/xk- (sections).
   Same brand tokens as the rest of Exacting (paper #F3F1EC, accent #E8663F, Manrope + IBM Plex Mono), on a deeper ink.
   HTML + this file are the final, static state (crawlers, no JS, reduced motion). Start states and the film layout
   apply only under html.xh-m (set by the loader in <head> when motion is allowed; removed if GSAP never starts);
   the choreography is in home.js. The hero's opening (mark, wordmark, H1) is CSS, so the text never waits for JS. */

.xh-root { --ink: #0C0D10; --ink-2: #111216; --line: #202227; --muted: #8A8D94; --body: #A9ACB3; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace; background: var(--ink) !important; }
.xh-root .ex-header { background: rgba(12,13,16,0.78) !important; border-bottom-color: rgba(255,255,255,0.06) !important; }

/* ===================== 1 · the film ===================== */
.xh { position: relative; background: var(--ink); border-bottom: 1px solid var(--line); }
.xh-stage { position: relative; overflow: hidden; }
.xh-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.xh-bg::after { content: ""; position: absolute; inset: -50%; opacity: 0.07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.xh-glow { position: absolute; left: 50%; top: 58%; width: min(1100px, 120vw); height: min(1100px, 120vw); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(232,102,63,0.20), rgba(232,102,63,0.06) 45%, transparent 72%); filter: blur(10px); }
.xh-code { display: none; position: absolute; left: 50%; top: 50%; width: min(760px, 86vw); transform: translate(-50%, -50%); font-family: var(--mono); font-size: clamp(13px, 1.15vw, 16px); line-height: 2.2; color: rgba(243,241,236,0.2); white-space: pre; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.xh-cl { display: block; }
.xh-cl b { font-weight: 500; color: rgba(197,134,192,0.28); }
.xh-scan { display: none; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #E8663F 20%, #F3B49C 50%, #E8663F 80%, transparent); box-shadow: 0 0 24px 4px rgba(232,102,63,0.45); }

.xh-board { position: relative; z-index: 1; box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.xh-b1 { min-height: calc(100svh - 72px); justify-content: center; }
.xh-b1 .xh-hint { position: absolute; }
.xh-b2, .xh-b3, .xh-b4 { border-top: 1px solid var(--line); }
.xh-mark { width: clamp(64px, 7vw, 104px); height: auto; overflow: visible; }
.xh-word { margin: -6px 0 6px; font-weight: 800; font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 0.42em; padding-left: 0.42em; color: #C9CBD0; }
.xh-h1 { margin: 0; font-size: clamp(56px, 10.4vw, 168px); line-height: 0.9; letter-spacing: -0.058em; font-weight: 700; text-wrap: balance; }
.xh-line { display: block; }
.xh-dim { color: #8A8D94; }
.xh-sub { margin: 4px 0 0; max-width: 620px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--body); text-wrap: pretty; }
.xh-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; margin-top: 8px; }
.xh-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 34px; background: var(--ac, #E8663F); color: #15161A; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 18px 48px -18px rgba(232,102,63,0.75); }
.xh-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 15.5px; font-weight: 600; color: #E4E6EA; text-decoration: none; }
.xh-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; opacity: 0.35; transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s; }
@media (hover: hover) { .xh-link:hover { color: #F3F1EC; } .xh-link:hover::after { opacity: 1; transform: scaleX(1.06); } }
.xh-big { margin: 0; font-size: clamp(44px, 7.8vw, 132px); line-height: 0.94; letter-spacing: -0.055em; font-weight: 700; text-wrap: balance; }
.xh-big em { font-style: normal; color: var(--ac, #E8663F); }
.xh-small { margin: 0; max-width: 560px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: var(--body); }
.xh-kicker { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ac, #E8663F); }
.xh-pillars { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xh-pillars li { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 28px); border-top: 1px solid var(--line); }
.xh-pillars li + li { border-left: 1px solid var(--line); }
.xh-pillars b { font-size: clamp(44px, 6.4vw, 104px); line-height: 0.92; letter-spacing: -0.05em; font-weight: 700; }
.xh-pillars span { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.45; color: var(--body); }
.xh-dots { display: none; }
.xh-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: #878A92; }
.xh-hint i { position: relative; width: 1px; height: 40px; overflow: hidden; background: #2B2D33; }
.xh-hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--ac, #E8663F); animation: xhHint 1.9s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes xhHint { from { transform: translateY(-14px); } to { transform: translateY(40px); } }
@media (max-width: 767px) { .xh-hint { display: none; } .xh-pillars { grid-template-columns: 1fr; } .xh-pillars li + li { border-left: 0; border-top: 1px solid var(--line); } .xh-pillars li { align-items: center; } }

/* the opening, in CSS: the E assembles from its bars, then the name and the line arrive */
@keyframes xhBarY { from { transform: translateY(-140%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes xhBarL { from { transform: translateX(-140%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes xhBarR { from { transform: translateX(140%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes xhBarA { from { transform: scaleX(0); } to { transform: none; } }
@keyframes xhTrack { from { letter-spacing: 1.2em; opacity: 0; } to { letter-spacing: 0.42em; opacity: 1; } }
@keyframes xhRise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.xh-mark rect { transform-box: fill-box; }
.xh-mark .r1 { animation: xhBarY .9s cubic-bezier(.16,1,.3,1) .1s both; }
.xh-mark .r2 { animation: xhBarL .9s cubic-bezier(.16,1,.3,1) .22s both; }
.xh-mark .r3 { animation: xhBarR .9s cubic-bezier(.16,1,.3,1) .32s both; }
.xh-mark .r4 { transform-origin: left center; animation: xhBarA .7s cubic-bezier(.65,0,.35,1) .78s both; }
.xh-word { animation: xhTrack 1.2s cubic-bezier(.16,1,.3,1) .7s both; }
.xh-b1 .xh-h1 .xh-line { animation: xhRise 1.1s cubic-bezier(.16,1,.3,1) both; }
.xh-b1 .xh-h1 .xh-line:first-child { animation-delay: .95s; }
.xh-b1 .xh-h1 .xh-line + .xh-line { animation-delay: 1.08s; }
.xh-b1 .xh-sub { animation: xhRise 1s cubic-bezier(.16,1,.3,1) 1.25s both; }
.xh-b1 .xh-ctas { animation: xhRise 1s cubic-bezier(.16,1,.3,1) 1.38s both; }
.xh-hint { animation: xhRise 1s ease 1.8s both; }

/* film layout: one pinned stage, four boards on top of each other (every width, when motion is allowed;
   phones get their own sizes below). Without motion the boards simply stack. */
html.xh-m .xh { height: 420vh; }
html.xh-m .xh-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
html.xh-m .xh-board { position: absolute; inset: 0; max-width: none; justify-content: center; border-top: 0; padding-top: 96px; }
html.xh-m .xh-b1 { min-height: 0; }
html.xh-m .xh-b2, html.xh-m .xh-b3, html.xh-m .xh-b4 { opacity: 0; visibility: hidden; }
html.xh-m .xh-b4 { padding-left: clamp(20px, 6vw, 96px); padding-right: clamp(20px, 6vw, 96px); }
html.xh-m .xh-code, html.xh-m .xh-scan { display: block; }
html.xh-m .xh-code { opacity: 0; }
html.xh-m .xh-scan { opacity: 0; }
html.xh-m .xh-dots { position: absolute; z-index: 2; right: clamp(10px, 3vw, 40px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
html.xh-m .xh-dots i { width: 6px; height: 6px; background: #3A3D44; transition: background-color .3s, transform .3s; }
html.xh-m .xh-dots i.is-on { background: var(--ac, #E8663F); transform: scale(1.35); }
@media (max-width: 767px) {
  html.xh-m .xh { height: 380vh; }
  html.xh-m .xh-board { padding: 84px 22px 40px; gap: 20px; }
  html.xh-m .xh-code { width: 94vw; font-size: 11px; line-height: 2; }
  html.xh-m .xh-pillars li { padding: 16px 8px; gap: 6px; }
  html.xh-m .xh-pillars b { font-size: clamp(44px, 13vw, 58px); }
  html.xh-m .xh-hint { display: flex; bottom: 18px; }
  .xh-b1 .xh-ctas { width: 100%; flex-direction: column; gap: 6px; }
  .xh-b1 .xh-btn { width: 100%; justify-content: center; }
}

/* ===================== shared section frame ===================== */
.xs { position: relative; background: var(--ink); border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.xs:nth-of-type(even) { background: var(--ink-2); }
.xs-in { max-width: 1280px; margin: 0 auto; box-sizing: content-box; padding: clamp(96px, 12vw, 176px) clamp(20px, 5vw, 48px); }
.xs-head { display: flex; flex-direction: column; gap: 22px; max-width: 1040px; margin-bottom: clamp(48px, 7vw, 104px); }
.xs-head-row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.xs-head-row > div { display: flex; flex-direction: column; gap: 22px; }
.xs-h2 { margin: 0; font-size: clamp(38px, 5.6vw, 92px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 700; text-wrap: balance; }
.xs-h2 span { display: block; color: #8A8D94; }
.xs-h2-sm { font-size: clamp(34px, 4.4vw, 68px); }
.xe-k { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #C9CBD0; }
.xe-k b { font-weight: 500; color: var(--ac, #E8663F); }
.xe-k em { font-style: normal; padding: 2px 8px; border: 1px solid rgba(232,102,63,0.5); color: #F0956F; letter-spacing: 0.12em; }

/* ===================== 2 · principles ===================== */
.xv-list { list-style: none; margin: 0; padding: 0; }
.xv-list li { --p: 100%; display: grid; grid-template-columns: 72px minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 12px clamp(20px, 4vw, 64px); padding: clamp(28px, 4vw, 52px) 0; border-top: 1px solid var(--line); }
.xv-list li:last-child { border-bottom: 1px solid var(--line); }
.xv-n { align-self: start; padding-top: 1.2vw; font-family: var(--mono); font-size: 13px; color: var(--ac, #E8663F); }
.xv-t { margin: 0; font-size: clamp(60px, 10.5vw, 176px); line-height: 0.86; letter-spacing: -0.06em; font-weight: 700; color: transparent; background: linear-gradient(90deg, #F3F1EC var(--p), rgba(243,241,236,0.13) var(--p)); -webkit-background-clip: text; background-clip: text; padding-bottom: 0.06em; }
.xv-list p { margin: 0; max-width: 420px; padding-bottom: 0.6vw; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: var(--body); text-wrap: pretty; }
@media (max-width: 860px) { .xv-list li { grid-template-columns: 1fr; align-items: start; } .xv-n { padding-top: 0; } }

/* ===================== 3 · ecosystem: three chapters that stack ===================== */
.xe-stack { display: flex; flex-direction: column; gap: 28px; }
.xe-card { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding: clamp(28px, 4.4vw, 64px); background: linear-gradient(180deg, #16171B, #101115); border: 1px solid #23252B; box-shadow: 0 -30px 80px -40px rgba(0,0,0,0.9); transform-origin: 50% 0; }
.xe-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.xe-copy h3 { margin: 0; font-size: clamp(32px, 3.8vw, 58px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; text-wrap: balance; }
.xe-copy p { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--body); text-wrap: pretty; }
.xe-copy p b { color: #F3F1EC; font-weight: 700; }
.xe-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 6px !important; }
.xe-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15.5px; font-weight: 600; color: #B9BBC0; text-decoration: none; border-bottom: 1px solid #3A3D44; }
.xe-links a:first-child { color: #F3F1EC; border-color: var(--ac, #E8663F); }
@media (hover: hover) { .xe-links a:hover { color: #F3F1EC; border-color: #F3F1EC; } .xe-links a:hover .ex-arrow { transform: translateX(5px); } }
.xe-shot { margin: 0; min-width: 0; }
.xe-shot img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.85), 0 30px 70px -24px rgba(0,0,0,0.85), 0 0 120px -50px rgba(232,102,63,0.35); }
.xe-shot-frame { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.09); background: #17181C; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.85), 0 30px 70px -24px rgba(0,0,0,0.85), 0 0 120px -50px rgba(232,102,63,0.35); }
.xe-shot-frame img { border-radius: 0; box-shadow: none; }
.xe-bar { position: relative; display: flex; align-items: center; height: 34px; padding: 0 12px; background: linear-gradient(180deg, #232429, #1D1E22); border-bottom: 1px solid rgba(0,0,0,0.55); font-size: 12px; font-weight: 600; color: #B9BBC0; }
.xe-bar > span:last-child { position: absolute; left: 50%; transform: translateX(-50%); }
.xe-lights { display: inline-flex; gap: 7px; }
.xe-lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.xe-lights i:nth-child(2) { background: #FEBC2E; }
.xe-lights i:nth-child(3) { background: #28C840; }
@media (min-width: 1024px) {
  .xe-card { position: sticky; top: 104px; min-height: min(620px, calc(100vh - 150px)); box-sizing: border-box; }
}
@media (max-width: 900px) { .xe-card { grid-template-columns: 1fr; } }

/* ===================== 4 · work ===================== */
.xw-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: center; gap: clamp(28px, 4vw, 64px); text-decoration: none; color: inherit; }
.xw-media { position: relative; overflow: hidden; border: 1px solid #23252B; background: #15161A; aspect-ratio: 16 / 10; }
.xw-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
@media (hover: hover) { .xw-feature:hover .xw-media img, .xw-card:hover .xw-media img { transform: scale(1.035); } }
.xw-copy { display: flex; flex-direction: column; gap: 18px; }
.xw-copy h3, .xw-card h3 { margin: 0; font-size: clamp(30px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.xw-copy p, .xw-card p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--body); }
.xw-card p b { color: #F3F1EC; }
.xw-stats { margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.xw-stats div { padding: 16px 0 0; display: flex; flex-direction: column-reverse; gap: 4px; }
.xw-stats dd { margin: 0; font-size: clamp(36px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.xw-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.xw-more { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: #F3F1EC; }
@media (hover: hover) { .xw-feature:hover .xw-more .ex-arrow, .xw-card:hover .ex-arrow { transform: translateX(5px); } }
.xw-pair { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.xw-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.xw-card .xw-media { margin-bottom: 8px; }
.xw-card h3 { font-size: clamp(26px, 2.4vw, 36px); }
.xw-note { margin: clamp(28px, 3vw, 40px) 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: #878A92; }
@media (max-width: 900px) { .xw-feature, .xw-pair { grid-template-columns: 1fr; } }

/* ===================== 5 · who ===================== */
.xf { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 5vw, 96px); }
.xf-num { font-size: clamp(180px, 26vw, 400px); line-height: 0.8; letter-spacing: -0.08em; font-weight: 800; color: transparent; -webkit-text-stroke: 1px #3A3D44; user-select: none; }
.xf-num span { -webkit-text-stroke-color: var(--ac, #E8663F); }
.xf-copy { display: flex; flex-direction: column; gap: 22px; }
.xf-lead { margin: 0; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.45; font-weight: 600; letter-spacing: -0.012em; text-wrap: pretty; }
.xf-copy > p:not(.xf-lead):not(.xf-sign) { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.65; color: var(--body); }
.xf-sign { margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.xf-sign b { font-size: 17px; }
.xf-sign span { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .xf { grid-template-columns: 1fr; } .xf-num { font-size: 42vw; } }

/* ===================== 6 · contact ===================== */
.xs-contact { overflow: hidden; background: radial-gradient(60% 80% at 15% 100%, rgba(232,102,63,0.14), transparent 60%), var(--ink-2) !important; }
.xk { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(36px, 5vw, 88px); }
.xk-copy { display: flex; flex-direction: column; gap: 24px; }
.xk-lead { margin: 0; max-width: 480px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--body); }
.xk-routes { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--line); }
.xk-routes a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; color: #E4E6EA; text-decoration: none; transition: color .2s, padding .3s; }
@media (hover: hover) { .xk-routes a:hover { color: #F3F1EC; padding-left: 6px; } .xk-routes a:hover .ex-arrow { transform: translateX(5px); } }
.xk-mail { margin: 0; font-size: 16px; color: var(--body); }
.xk-mail a { color: #F3F1EC; font-weight: 700; }
.xk-form .ex-formcard { background: linear-gradient(180deg, #1A1B20, #131418); }
@media (max-width: 900px) { .xk { grid-template-columns: 1fr; } }

/* ===================== motion start states (home.js animates them) ===================== */
html.xh-m .xs-head > *, html.xh-m .xe-card .xe-copy > *, html.xh-m .xw-copy > * { will-change: transform, opacity; }

/* reduced motion and the page's motion switch: final state, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .xh-mark rect, .xh-word, .xh-b1 .xh-h1 .xh-line, .xh-b1 .xh-sub, .xh-b1 .xh-ctas, .xh-hint, .xh-hint i::after { animation: none !important; }
  .xw-media img, .xk-routes a, .xh-link::after { transition: none !important; }
}
[data-motion="off"] .xh-mark rect, [data-motion="off"] .xh-word, [data-motion="off"] .xh-b1 .xh-h1 .xh-line, [data-motion="off"] .xh-b1 .xh-sub, [data-motion="off"] .xh-b1 .xh-ctas, [data-motion="off"] .xh-hint { animation: none !important; }

/* site.css caps every page H1 at 34px on small phones; the film's title is the exception */
@media (max-width: 480px) { .xh-root .xh-h1 { font-size: clamp(54px, 16.5vw, 76px) !important; line-height: 0.92 !important; } }

/* ===================== phones first ===================== */
.xe-dots, .xw-dots { display: none; }
@media (max-width: 900px) {
  .xs-in { padding-top: 80px; padding-bottom: 80px; }
  .xs-head { margin-bottom: 36px; }
  .xs-h2 { font-size: clamp(36px, 10vw, 52px); }
  /* the three chapters: one swipe each, the next one peeks in */
  .xe-stack { flex-direction: row; gap: 12px; margin: 0 -20px; padding: 4px 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .xe-stack::-webkit-scrollbar { display: none; }
  .xe-card { flex: 0 0 86%; scroll-snap-align: start; scroll-snap-stop: always; grid-template-columns: 1fr; gap: 22px; padding: 18px 18px 24px; align-content: start; }
  .xe-shot { order: -1; }
  .xe-copy { gap: 14px; }
  .xe-copy h3 { font-size: clamp(28px, 7.6vw, 36px); }
  .xe-copy p { font-size: 15.5px; }
  .xe-dots, .xw-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .xe-dots i, .xw-dots i { width: 22px; height: 3px; background: #2B2D33; transition: background-color .3s, width .3s; }
  .xe-dots i.is-on, .xw-dots i.is-on { width: 34px; background: var(--ac, #E8663F); }
  .xw-pair { display: flex; gap: 12px; margin: 40px -20px 0; padding: 0 20px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .xw-pair::-webkit-scrollbar { display: none; }
  .xw-card { flex: 0 0 82%; scroll-snap-align: start; }
  .xw-copy h3 { font-size: 34px; }
  .xw-stats dd { font-size: 40px; }
  .xv-list li { padding: 26px 0; gap: 8px; }
  .xv-t { font-size: clamp(64px, 19vw, 96px); }
  .xf-num { font-size: 54vw; line-height: 0.75; }
}
.xh-sticky { display: none; }
@media (max-width: 760px) {
  .xh-sticky { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; background: var(--ac, #E8663F); color: #15161A; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 18px 40px -12px rgba(0,0,0,0.75); transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s; }
  .xh-sticky[hidden] { display: flex; transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .35s, opacity .35s, visibility 0s .35s; }
}
@media (hover: hover) { .xh-sticky:hover { color: #15161A; } }
@media (prefers-reduced-motion: reduce) { .xh-sticky, .xe-dots i, .xw-dots i { transition: none !important; } }

/* ---- 3b · Labs: our products (early access), quieter than the two offers above ---- */
.xs-labs .xs-in { padding-top: clamp(72px, 8vw, 120px); }
.xl-lead { margin: 0; max-width: 520px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--body); text-wrap: pretty; }
.xl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.xl-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.4vw, 32px); text-decoration: none; color: inherit; background: linear-gradient(180deg, #131418, #0F1013); border: 1px solid #1E2025; transition: border-color .3s; }
.xl-shot { margin-bottom: 10px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #0C0D10; }
.xl-shot img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.xl-card h3 { margin: 0; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.xl-card p:not(.xe-k) { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
@media (hover: hover) { .xl-card:hover { border-color: #3A3D44; } .xl-card:hover .xl-shot img { transform: translateY(-3%); } .xl-card:hover .ex-arrow { transform: translateX(5px); } }
@media (max-width: 760px) { .xl-grid { grid-template-columns: 1fr; } .xl-card h3 { font-size: clamp(24px, 6.6vw, 30px); } }
#realizacje .xs-head-row > div { max-width: 760px; }
@media (prefers-reduced-motion: reduce) { .xl-shot img { transition: none; } }

/* founder photo next to the signature: add <img class="xf-avatar" …> as the first child of .xf-sign (see README) */
.xf-sign:has(.xf-avatar) { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.xf-sign:has(.xf-avatar) > :not(.xf-avatar) { grid-column: 2; }
.xf-avatar { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); border: 1px solid #2B2D33; }

/* who: companies the founder has worked for (names only, no logos) */
.xf-orgs { display: flex; flex-direction: column; gap: 14px; padding: 22px 0 4px; border-top: 1px solid var(--line); }
.xf-copy > .xf-orgs > p { margin: 0; font-size: 14px; color: var(--muted); }
.xf-orgs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0; }
.xf-orgs li { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.02em; color: #F3F1EC; }
.xf-orgs li + li::before { content: ""; display: inline-block; width: 1px; height: 0.9em; margin: 0 clamp(14px, 1.8vw, 24px); vertical-align: -0.1em; background: #3A3D44; }
@media (max-width: 560px) { .xf-orgs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; } .xf-orgs li + li::before { display: none; } }
