/* ═══════════════════════════════════════════════════════════
   HOME PAGE
   The video layers / controls keep their original styles from
   style.css. Everything else builds on cs-story.css tokens
   (.cs / .cs--voices) and site-shell.css (footer).
   ═══════════════════════════════════════════════════════════ */

/* ── Hero content over the video ── */
.home .hero { width: 100%; }
/* Slide the foreground video right so the subject clears the left-aligned copy;
   the blurred .video-bg layer shows through the feathered left edge. */
@media (min-width: 1024px) {
    .home #videoFg { transform: translate3d(20%, 0, 0); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%); mask-image: linear-gradient(to right, transparent 0, #000 18%); }
}
.hm-hero { position: relative; z-index: 5; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) clamp(40px, 7vh, 72px); font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; color: #F6F2EC; }
.hm-hello { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(246,242,236,.88); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hm-hello i { width: 8px; height: 8px; border-radius: 50%; background: #3DDBA8; box-shadow: 0 0 0 4px rgba(61,219,168,.22); }
.hm-hero h1 { margin: 0; max-width: 15ch; font-family: inherit; font-size: clamp(40px, 6.4vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; text-transform: none; color: #F6F2EC; text-wrap: balance; }
.hm-hero h1 em { font-style: normal; color: #3DDBA8; }
.hm-hero-lead { margin: 18px 0 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(246,242,236,.8); }
.hm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.hm-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
a.hm-btn--primary, a.hm-btn--primary:hover { color: #fff; background: #20826B; box-shadow: 0 12px 26px -12px rgba(41,165,135,.9); }
a.hm-btn--primary:hover { background: #1A6E5A; transform: translateY(-2px); }
a.hm-btn--ghost { color: #F6F2EC; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
a.hm-btn--ghost:hover { color: #fff; border-color: #3DDBA8; transform: translateY(-2px); }
.hm-social { display: flex; gap: 8px; margin-left: 4px; }
.hm-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #F6F2EC; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: background .2s, color .2s; }
.hm-social a:hover { color: #0A1A14; background: #3DDBA8; }
.hm-social svg { width: 18px; height: 18px; }
.hm-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 32px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); max-width: 760px; }
.hm-facts div { display: grid; gap: 2px; }
.hm-facts dt { order: 2; font-size: 13px; font-weight: 500; color: rgba(246,242,236,.62); }
.hm-facts dd { order: 1; margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: #F6F2EC; }
.hm-facts dd b { color: #3DDBA8; font-weight: 600; }

/* ── Shared section scaffolding ── */
.hm-sec { padding-block: clamp(44px, 6vw, 72px); scroll-margin-top: 96px; }
.hm-sec + .hm-sec { border-top: 1px solid var(--line); }
.hm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.hm-head > div { max-width: 720px; }
.cs .hm-head h2 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.cs .hm-head p { margin-top: 14px; font-size: 17.5px; line-height: 1.65; }
.cs a.hm-link::after { content: ""; position: absolute; inset: -10px -6px; } /* bigger tap target */
.cs a.hm-link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.cs a.hm-link:hover { text-decoration: underline; }
.hm-link svg { width: 17px; height: 17px; }

/* ── What I do: intro + stat band ── */
.hm-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.cs .hm-intro h2 { margin: 12px 0 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.cs .hm-intro h2 em { font-style: normal; color: var(--accent-ink); }
.cs .hm-intro-text { font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.7; color: var(--ink-2); }
.cs .hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(32px, 4vw, 48px) 0 0; border-block: 1px solid var(--line-2); }
.hm-stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 22px clamp(12px, 2vw, 28px); }
.hm-stats > div + div { border-left: 1px solid var(--line); }
.hm-stats > div:first-child { padding-left: 0; }
.cs .hm-stats dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.cs .hm-stats dd { margin: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-stats dd b { font-weight: 600; color: var(--accent); }

/* ── Service explorer: tab list + detail panel ── */
.hm-explorer { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(32px, 4vw, 48px); align-items: start; }
.hm-ex-list { position: sticky; top: 112px; display: grid; gap: 6px; }
#cs button.hm-ex-tab, #cs button.hm-ex-tab:hover, #cs button.hm-ex-tab:focus { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 16px; text-align: left; color: var(--ink); background: transparent; border: 1px solid transparent; transition: background .25s, border-color .25s, color .25s; }
#cs button.hm-ex-tab:hover { background: var(--surface); border-color: var(--line); }
#cs button.hm-ex-tab[aria-selected="true"] { color: #F2EEE8; background: #15130F; border-color: #15130F; box-shadow: 0 18px 36px -22px rgba(0,0,0,.6); }
.dark-skin #cs button.hm-ex-tab[aria-selected="true"] { background: #131110; border-color: var(--line-2); }
/* Auto-advance progress (duration must match data-autoplay on .hm-ex-list in index.html) */
#cs .hm-ex-list.is-playing button.hm-ex-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 7px; height: 3px; border-radius: 3px; background: #4FD6A8; transform: scaleX(0); transform-origin: left center; animation: hm-ex-progress 6s linear forwards; }
#cs .hm-ex-list.is-paused button.hm-ex-tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes hm-ex-progress { to { transform: scaleX(1); } }
.hm-ex-num { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.hm-ex-tab[aria-selected="true"] .hm-ex-num { color: #4FD6A8; }
.hm-ex-name { display: grid; gap: 2px; min-width: 0; }
.hm-ex-name strong { font-size: 16.5px; font-weight: 600; line-height: 1.25; }
.hm-ex-name small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hm-ex-tab[aria-selected="true"] .hm-ex-name small { color: rgba(242,238,232,.55); }
.hm-ex-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--muted); border: 1px solid var(--line-2); transition: transform .25s, background .25s, color .25s; }
.hm-ex-arrow svg { width: 15px; height: 15px; }
.hm-ex-tab[aria-selected="true"] .hm-ex-arrow { color: #0A1A14; background: #4FD6A8; border-color: transparent; transform: rotate(-45deg); }

.hm-ex-panel { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); animation: hm-panel-in .45s var(--ease); }
@keyframes hm-panel-in { from { opacity: 0; transform: translateY(10px); } }
.hm-ex-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 7.4; background: radial-gradient(circle, rgba(79,214,168,.28) 1px, transparent 1.6px) 0 0 / 18px 18px, radial-gradient(70% 90% at 85% 0%, rgba(41,165,135,.45), transparent 70%), #0E1F19; }
.dark-skin .hm-ex-stage { background-color: #0B1814; }
/* Service illustrations (inline SVG, colours via classes) */
.hm-ex-stage .il { position: absolute; inset: 0; width: 100%; height: 100%; padding: clamp(10px, 2vw, 22px); overflow: visible; }
.il text { font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; }
.il .sh { filter: drop-shadow(0 18px 26px rgba(0,0,0,.42)); }
.il .i-card { fill: #FBF8F4; } .il .i-card2 { fill: #F1ECE4; }
.il .i-ln { fill: #DDD6CC; } .il .i-ln2 { fill: #ECE6DD; }
.il .i-ink { fill: #1C1917; } .il .i-ink2 { fill: #57524C; }
.il .i-ac { fill: #29A587; } .il .i-ac2 { fill: #4FD6A8; } .il .i-acs { fill: #D5F2E8; }
.il .i-y { fill: #F5C451; } .il .i-ys { fill: #FDF0CC; }
.il .i-b { fill: #7C9CFF; } .il .i-bs { fill: #E1E8FF; }
.il .i-p { fill: #FF8BA7; } .il .i-ps { fill: #FFE1E8; }
.il .i-wl { fill: rgba(255,255,255,.9); } .il .i-wsoft { fill: rgba(255,255,255,.2); }
.il .i-note { fill: rgba(28,25,23,.22); }
.il .i-bez { fill: #141210; }
.il .i-inp { fill: #FFFFFF; stroke: #DDD6CC; stroke-width: 1.5; }
.il .i-ghost { fill: none; stroke: #CFC7BC; stroke-width: 1.5; }
.il .i-dr { fill: #FF5F57; } .il .i-dy { fill: #FEBC2E; } .il .i-dg { fill: #28C840; }
.il .i-wt { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.3); stroke-width: 1.5; stroke-dasharray: 6 6; }
.il .i-stk { fill: none; stroke: #4FD6A8; stroke-width: 2.5; stroke-linecap: round; }
.il .i-flow { stroke-dasharray: 2 9; animation: il-flow 1.8s linear infinite; }
.il .i-lens { fill: rgba(255,255,255,.35); stroke: #1C1917; stroke-width: 6; }
.il .i-handle { stroke: #1C1917; stroke-width: 10; stroke-linecap: round; }
.il .i-lead { stroke: rgba(255,255,255,.55); stroke-width: 1.5; stroke-dasharray: 3 4; }
.il .i-cursor { fill: #1C1917; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.il .i-dtrack { fill: none; stroke: #E3DDD3; stroke-width: 16; }
.il .i-darc { fill: none; stroke-width: 16; }
.il .i-darc1 { stroke: #29A587; } .il .i-darc2 { stroke: #F5C451; } .il .i-darc3 { stroke: #7C9CFF; }
.il .i-ed { fill: #13201B; } .il .i-edb { fill: #1B2C25; } .il .i-tab { fill: rgba(255,255,255,.1); }
.il .i-lnum { fill: rgba(215,231,224,.22); }
.il .i-ck { fill: #4FD6A8; } .il .i-cp { fill: #F5C451; } .il .i-cv { fill: #9BB8FF; } .il .i-cs { fill: #FF8BA7; } .il .i-cc { fill: rgba(215,231,224,.3); } .il .i-cw { fill: rgba(215,231,224,.7); }
.il .i-caret { fill: #4FD6A8; animation: il-blink 1s steps(1) infinite; }
.il .i-strack { fill: #13201B; stroke: rgba(255,255,255,.14); stroke-width: 7; }
.il .i-sarc { fill: none; stroke: #4FD6A8; stroke-width: 7; stroke-linecap: round; }
.il .i-guide { fill: none; stroke: #D3CBBF; stroke-width: 1.2; stroke-dasharray: 4 5; }
.il .i-mark { opacity: .95; } .il .i-mul { mix-blend-mode: multiply; }
.il .i-ripple { fill: none; stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: il-ripple 2.2s ease-out infinite; }
.il .i-ripple-ink { stroke: #4FD6A8; }
.il .i-tap { fill: rgba(255,255,255,.55); }
.il .i-t10 { font-size: 10px; font-weight: 600; } .il .i-t11 { font-size: 11.5px; font-weight: 600; }
.il .i-t15 { font-size: 15px; font-weight: 700; } .il .i-t16 { font-size: 17px; font-weight: 700; } .il .i-t18 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.il .i-tAa { font-size: 66px; font-weight: 600; letter-spacing: -0.04em; fill: #1C1917; }
.il .i-tw { fill: #F6F2EC; } .il .i-tw2 { fill: rgba(246,242,236,.7); } .il .i-tk { fill: #1C1917; } .il .i-tk2 { fill: #6F6862; }
.il .i-tac { fill: #1C7F64; } .il .i-tpk { fill: #C2405F; } .il .i-tg { fill: #4FD6A8; } .il .i-tcode { fill: #D7E7E0; }
.il .fl { animation: il-float 6s ease-in-out infinite; }
.il .fl2 { animation-delay: -3s; }
@keyframes il-float { 50% { transform: translateY(-6px); } }
@keyframes il-flow { to { stroke-dashoffset: -22; } }
@keyframes il-blink { 50% { opacity: 0; } }
@keyframes il-ripple { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.hm-ex-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(20px, 3vw, 40px); padding: clamp(22px, 3vw, 34px); }
.hm-ex-copy > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.hm-ex-kind { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.hm-ex-kind i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.hm-ex-kind i svg { width: 19px; height: 19px; }
.cs .hm-ex-copy h3 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.cs .hm-ex-copy > div > p { font-size: 16px; line-height: 1.65; }
.hm-ex-copy h4 { margin: 0 0 12px; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cs .hm-ex-items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hm-ex-items li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.hm-ex-items li::before { content: ""; position: absolute; left: 0; top: .05em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.hm-ex-items li::after { content: ""; position: absolute; left: 6px; top: calc(.05em + 5px); width: 6px; height: 4px; border-left: 1.8px solid var(--accent-ink); border-bottom: 1.8px solid var(--accent-ink); transform: rotate(-45deg); }
.cs a.hm-ex-go { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 6px; padding: 10px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: #fff; background: #20826B; transition: transform .2s, background .2s; }
.cs a.hm-ex-go:hover { color: #fff; background: #1A6E5A; transform: translateY(-2px); }
.hm-ex-go svg { width: 16px; height: 16px; }
/* ── Featured work: full-bleed slider (home-featured.js) ──
   Slides share one grid cell, so the slider takes the height of its tallest slide.
   Each slide: blurred copy of the mockup as ambient backdrop, the sharp mockup on the
   right (feathered into the backdrop), copy on the left over a dark scrim. */
.hm-feat { padding-bottom: 0; }
.hm-fs { --fs-h: clamp(620px, 88svh, 880px); --fs-ink: #F6F2EC; position: relative; isolation: isolate; overflow: hidden; color: var(--fs-ink); background: #0B0D10; }
.hm-fs .pg--dfm        { --fs-acc: #FF8A3D; }
.hm-fs .pg--symbiontra { --fs-acc: #E8C24C; }
.hm-fs .pg--demerara   { --fs-acc: #4ADE80; }
.hm-fs .pg--dn         { --fs-acc: #FF6AAE; }
.hm-fs .pg--mind       { --fs-acc: #4FE3EA; }
.hm-fs .pg--odoo       { --fs-acc: #62E6C6; }
.hm-fs .pg--fvbank     { --fs-acc: #6CA0FF; }
.hm-fs-track { display: grid; touch-action: pan-y; }
.hm-fs-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: var(--fs-h); opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.hm-fs-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.hm-fs-bg { position: absolute; inset: 0; overflow: hidden; }
.cs .hm-fs-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); filter: blur(46px) saturate(1.25) brightness(.48); }
.hm-fs-media { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.cs .hm-fs-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.08) translateX(2%); transition: transform 7s cubic-bezier(.2,.6,.2,1); }
.hm-fs-slide.is-active .hm-fs-media img { transform: none; }
.hm-fs-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(9,10,13,.92) 0%, rgba(9,10,13,.74) 30%, rgba(9,10,13,.16) 56%, transparent 72%), linear-gradient(0deg, rgba(9,10,13,.88) 0%, rgba(9,10,13,0) 30%); }

/* Copy — children rise in one after another when their slide becomes active */
.hm-fs-copy { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: clamp(56px, 9vh, 104px) clamp(16px, 4vw, 40px) 150px; }
.hm-fs-copy-in { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 540px; }
.hm-fs-copy-in > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hm-fs-slide.is-active .hm-fs-copy-in > * { opacity: 1; transform: none; }
.hm-fs-slide.is-active .hm-fs-copy-in > :nth-child(1) { transition-delay: .15s; }
.hm-fs-slide.is-active .hm-fs-copy-in > :nth-child(2) { transition-delay: .22s; }
.hm-fs-slide.is-active .hm-fs-copy-in > :nth-child(3) { transition-delay: .29s; }
.hm-fs-slide.is-active .hm-fs-copy-in > :nth-child(4) { transition-delay: .36s; }
.hm-fs-slide.is-active .hm-fs-copy-in > :nth-child(5) { transition-delay: .43s; }
.hm-fs-slide.is-active .hm-fs-copy-in > :nth-child(6) { transition-delay: .5s; }
.cs .hm-fs-top { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fs-acc); }
.hm-fs-num { padding: 3px 9px; border-radius: 8px; letter-spacing: .04em; font-variant-numeric: tabular-nums; background: color-mix(in srgb, var(--fs-acc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--fs-acc) 38%, transparent); }
.cs .hm-fs h3 { margin: 0; font-size: clamp(40px, 5.2vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--fs-ink); text-wrap: balance; }
.cs .hm-fs-desc { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: rgba(246,242,236,.8); }
.cs .hm-fs-kpis { display: flex; flex-wrap: wrap; align-self: stretch; margin: 4px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.hm-fs-kpis > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 16px 22px 0 0; }
.hm-fs-kpis > div + div { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.cs .hm-fs-kpis dd { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; color: var(--fs-acc); }
.cs .hm-fs-kpis dt { font-size: 13.5px; font-weight: 500; color: rgba(246,242,236,.64); }
.cs .hm-fs-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hm-fs-meta li { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(246,242,236,.88); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cs a.hm-fs-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 14px 22px; border-radius: 14px; font-size: 15.5px; font-weight: 600; color: #101317; background: var(--fs-acc); box-shadow: 0 18px 36px -18px var(--fs-acc); transition: transform .2s, box-shadow .2s; }
.cs a.hm-fs-go:hover { color: #101317; transform: translateY(-2px); box-shadow: 0 22px 40px -16px var(--fs-acc); }
.hm-fs-go svg { width: 18px; height: 18px; transition: transform .2s; }
.cs a.hm-fs-go:hover svg { transform: translateX(3px); }
.cs a.hm-fs-go:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Controls: project rail with autoplay progress, pause, prev / next */
.hm-fs-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.hm-fs-ui-in { display: flex; align-items: flex-end; gap: 28px; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) clamp(22px, 3.4vh, 36px); }
.hm-fs-tabs { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
#cs .hm-fs-tabs button, #cs .hm-fs-tabs button:hover, #cs .hm-fs-tabs button:focus { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 14px 0 2px; text-align: left; color: rgba(246,242,236,.5); border-top: 2px solid rgba(255,255,255,.18); transition: color .25s; }
#cs .hm-fs-tabs button:hover { color: rgba(246,242,236,.85); }
#cs .hm-fs-tabs button[aria-current="true"] { color: var(--fs-ink); }
#cs .hm-fs-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hm-fs-tabs .n { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-fs-tabs .t { max-width: 100%; overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.hm-fs-tabs button i { position: absolute; left: 0; top: -2px; width: 0; height: 2px; background: var(--fs-acc); }
#cs .hm-fs-tabs button[aria-current="true"] i { width: 100%; }
#cs .hm-fs.is-playing .hm-fs-tabs button[aria-current="true"] i { width: 0; animation: hm-fs-fill var(--fs-delay, 7000ms) linear forwards; }
#cs .hm-fs.is-playing.is-paused .hm-fs-tabs button[aria-current="true"] i { animation-play-state: paused; }
@keyframes hm-fs-fill { to { width: 100%; } }
.hm-fs-btns { display: flex; gap: 8px; }
#cs .hm-fs-btns button, #cs .hm-fs-btns button:hover, #cs .hm-fs-btns button:focus { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--fs-ink); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, border-color .2s, color .2s; }
#cs .hm-fs-btns button:hover { color: #101317; background: var(--fs-ink); border-color: var(--fs-ink); }
#cs .hm-fs-btns button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#cs .hm-fs-btns button[hidden] { display: none; }
.hm-fs-btns svg { width: 19px; height: 19px; }
.hm-fs-pause .i-play, .hm-fs.is-stopped .hm-fs-pause .i-pause { display: none; }
.hm-fs.is-stopped .hm-fs-pause .i-play { display: block; }
.hm-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(24px, 3vw, 36px); }
.hm-feat .hm-head { margin-bottom: 20px; }
.hm-feat .hm-cats { margin: 0 0 clamp(24px, 3vw, 36px); }
.cs .hm-cats p { margin: 0 8px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cs .hm-cats a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.cs .hm-cats a:hover { color: var(--accent-ink); border-color: var(--accent-line); }

/* ── Award (dark band) ── */
/* Static layout by default (phones, short screens, reduced motion). On large screens home-award.js adds
   .is-pinned: the stage sticks for a scroll run, the trophy drops in from the top of the section to the
   centre, then each point draws a connector out of the trophy and lands on its side (01/03 left, 02/04 right). */
.hm-award { position: relative; overflow: clip; padding-block: clamp(44px, 6vw, 72px); color: #F2EEE8; background: #0D1A15; scroll-margin-top: 96px; }
.dark-skin .hm-award { background: #131110; border-block: 1px solid rgba(255,255,255,.08); }
.hm-award-stage { position: relative; padding-inline: clamp(16px, 4vw, 40px); }
.hm-award-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 55% at 50% 60%, rgba(41,165,135,.32), transparent 70%), radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.6px) 0 0 / 24px 24px; }
.hm-award-head { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.cs .hm-award-head .hm-award-lead { margin-inline: auto; max-width: 720px; }
.hm-award-in { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1320px; margin: clamp(28px, 4vw, 48px) auto 0; }
.hm-award-links { display: none; }
.hm-award-trophy { position: relative; }
.hm-award-trophy::before { content: ""; position: absolute; left: 50%; top: 52%; width: 70%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(calc(.6 + .4 * var(--aw-land, 1))); opacity: var(--aw-land, 1); background: radial-gradient(closest-side, rgba(79,214,168,.38), rgba(79,214,168,.08) 60%, transparent); pointer-events: none; }
.cs .hm-award-img { position: relative; z-index: 1; display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.cs .hm-award .eyebrow { color: #4FD6A8; }
.cs .hm-award h2 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; color: #F6F2EC; }
.cs .hm-award-lead { margin-top: 14px; font-size: 17px; line-height: 1.65; color: rgba(242,238,232,.78); }
.cs .hm-award ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: aw; }
.hm-award li { position: relative; padding: 18px 18px 18px 58px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); counter-increment: aw; }
.hm-award li::before { content: "0" counter(aw); position: absolute; left: 18px; top: 18px; font-size: 13px; font-weight: 700; color: #4FD6A8; font-variant-numeric: tabular-nums; }
.hm-award li strong { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.4; color: #F6F2EC; }
.cs .hm-award li p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: rgba(242,238,232,.66); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Pinned scroll scene — the section height sets the scroll run (home-award.js reads it) */
.hm-award.is-pinned { height: 320vh; padding-block: 0; }
.is-pinned .hm-award-head { z-index: 4; } /* the falling trophy passes behind the heading */
/* --aw-gap is the space between the heading and the cards, repeated below the cards */
.is-pinned .hm-award-stage { --aw-gap: clamp(24px, 6vh, 64px); position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding-top: 96px; padding-bottom: var(--aw-gap); overflow: hidden; }
.cs .is-pinned .hm-award-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.cs .is-pinned .hm-award-head .hm-award-lead { max-width: 820px; margin-top: 10px; font-size: 16px; line-height: 1.6; }
.is-pinned .hm-award-in { --aw-mid: clamp(200px, 19vw, 290px); display: block; flex: 1; min-height: 0; width: 100%; margin-top: var(--aw-gap); }
.is-pinned .hm-award-trophy { position: absolute; inset: 0; z-index: 1; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; pointer-events: none; }
.is-pinned .hm-award-trophy::before { width: min(60vh, 540px); }
/* the PNG has ~10% empty space above the trophy and ~14% below, so the box may overflow the area; the base sits at 85.6% */
.is-pinned .hm-award-trophy::after { content: ""; position: absolute; left: 50%; top: calc(50% + min(49.8%, 306px) - 13px); width: min(30%, 240px); height: 26px; border-radius: 50%; transform: translateX(-50%) scale(var(--aw-land, 0)); background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); }
.cs .is-pinned .hm-award-img { width: auto; max-width: none; height: min(140%, 860px); transform-origin: 50% 80%; will-change: transform, opacity; }
.hm-award-links { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.is-pinned .hm-award-links { display: block; }
.hm-award-links .aw-line { fill: none; stroke: #4FD6A8; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; filter: drop-shadow(0 0 5px rgba(79,214,168,.7)); }
.hm-award-links .aw-flow { fill: none; stroke: #CFFBEA; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .06 .94; opacity: 0; transition: opacity .4s; }
.hm-award-links .is-live .aw-flow { opacity: .9; animation: aw-flow 2.6s linear infinite; }
@keyframes aw-flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hm-award-links circle { fill: #0D1A15; stroke: #4FD6A8; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.hm-award-links .aw-node { fill: #4FD6A8; }
.cs .is-pinned .hm-award-in ol { position: relative; z-index: 3; height: 100%; grid-template-columns: minmax(0, 1fr) var(--aw-mid) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: clamp(40px, 5vw, 100px); row-gap: clamp(20px, 5vh, 64px); pointer-events: none; }
@media (max-height: 820px) {
    .hm-award.is-pinned li { padding-block: 15px; }
    .hm-award.is-pinned li::before { top: 15px; }
    .cs .hm-award.is-pinned li p { -webkit-line-clamp: 2; }
}
.hm-award.is-pinned li { width: 100%; max-width: 380px; pointer-events: auto; background: rgba(16,30,25,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); will-change: transform, opacity; }
.dark-skin .hm-award.is-pinned li { background: rgba(26,24,22,.78); }
.hm-award.is-pinned li:nth-child(odd) { grid-column: 1; justify-self: end; }
.hm-award.is-pinned li:nth-child(even) { grid-column: 3; justify-self: start; }
.hm-award.is-pinned li:nth-child(-n+2) { grid-row: 1; }
.hm-award.is-pinned li:nth-child(n+3) { grid-row: 2; }

/* ── Experience timeline ── */
/* Three columns: period | rail with company node | card. --tl-p (0–1) is set on scroll by cs-story.js. */
.cs .hm-timeline { --when: 168px; --rail: 72px; --node: 44px; position: relative; display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.hm-timeline::before, .hm-timeline::after { content: ""; position: absolute; left: calc(var(--when) + var(--rail) / 2 - 1px); top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.hm-timeline::before { background: var(--line-2); }
.hm-timeline::after { background: linear-gradient(180deg, var(--accent-2), var(--accent)); transform-origin: top; transform: scaleY(var(--tl-p, 1)); }
.hm-job { position: relative; display: grid; grid-template-columns: var(--when) var(--rail) minmax(0, 1fr); grid-template-areas: "when node card"; }

.hm-job-when { grid-area: when; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-top: 18px; text-align: right; }
.hm-job-when b { font-size: clamp(34px, 3.4vw, 44px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.hm-job-when span { margin-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.hm-job-when em { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); }
.hm-job.is-now .hm-job-when b, .hm-job.is-passed .hm-job-when b { color: var(--accent-ink); }
.hm-job.is-now .hm-job-when em { color: var(--accent-ink); background: var(--accent-soft); border-color: var(--accent-line); }

.hm-job-node { grid-area: node; position: relative; z-index: 1; justify-self: center; display: grid; place-items: center; width: var(--node); height: var(--node); margin-top: 16px; border-radius: 14px; font-size: 18px; font-weight: 700; color: var(--muted); background: var(--surface); border: 2px solid var(--line-2); transition: color .3s, background .3s, border-color .3s, transform .3s var(--ease); }
.hm-job.is-passed .hm-job-node { color: var(--accent-ink); border-color: var(--accent); background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface); }
.hm-job.is-now .hm-job-node { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.hm-job.is-now .hm-job-node::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--accent); animation: hm-node-pulse 2.4s ease-out infinite; }
@keyframes hm-node-pulse { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }
.hm-job:hover .hm-job-node { transform: scale(1.08); }

.hm-job-card { grid-area: card; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.hm-job:hover .hm-job-card { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 1px 2px rgba(28,25,23,.04), 0 22px 40px -22px rgba(28,25,23,.32); }
.hm-job-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.cs .hm-job h3 { margin: 0; font-size: clamp(22px, 2.2vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.cs .hm-job-role { margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--muted); }
.hm-job-first { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); border: 1px dashed var(--line-2); }

.cs .hm-job-points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hm-job-points li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.hm-job-points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); transform: rotate(45deg) scale(.8); }
.hm-job-points strong { font-weight: 600; color: var(--ink); }
.cs .hm-job-points a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.cs .hm-job-points a:hover { color: var(--accent-ink); text-decoration-color: var(--accent); }

.cs .hm-job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.hm-job-tags li { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); }

/* Current role: dark featured card */
.hm-job.is-now .hm-job-card { color: #F2EEE8; background: #15130F; border-color: #15130F; box-shadow: 0 28px 50px -28px rgba(0,0,0,.6); }
.dark-skin .hm-job.is-now .hm-job-card { background: #131110; border-color: var(--line-2); }
.hm-job.is-now .hm-job-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 80% at 100% 0%, rgba(41,165,135,.32), transparent 70%), radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1.6px) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); }
.hm-job.is-now .hm-job-card > * { position: relative; }
.cs .hm-job.is-now h3 { color: #F6F2EC; }
.cs .hm-job.is-now .hm-job-role { color: rgba(242,238,232,.62); }
.hm-job.is-now .hm-job-points li { color: rgba(242,238,232,.8); }
.hm-job.is-now .hm-job-points li::before { background: #4FD6A8; }
.cs .hm-job.is-now .hm-job-points a { color: #F6F2EC; text-decoration-color: rgba(79,214,168,.5); }
.cs .hm-job.is-now .hm-job-points a:hover { color: #4FD6A8; text-decoration-color: #4FD6A8; }
.cs .hm-job.is-now .hm-job-tags { border-top-color: rgba(255,255,255,.1); }
.hm-job.is-now .hm-job-tags li { color: rgba(242,238,232,.85); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.hm-job-live { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4FD6A8; }
.hm-job-live i { width: 8px; height: 8px; border-radius: 50%; background: #3DDBA8; box-shadow: 0 0 0 4px rgba(61,219,168,.22); }
.cs a.hm-job-award { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #F5C451; background: rgba(245,196,81,.1); border: 1px solid rgba(245,196,81,.32); transition: background .2s, transform .2s; }
.cs a.hm-job-award:hover { color: #F5C451; background: rgba(245,196,81,.18); transform: translateY(-1px); }
.hm-job-award svg { width: 16px; height: 16px; }

/* ── Testimonials preview ── */
.hm-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cs .hm-quote { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.cs .hm-quote > p.hm-quote-head { margin: 0; display: block; overflow: visible; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.cs .hm-quote > p.hm-quote-head::before { content: "\201C"; display: block; height: 28px; font-family: Georgia, serif; font-size: 52px; line-height: 1; color: var(--accent); }
.cs .hm-quote > p { font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.hm-quote-by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.cs .hm-quote-by img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; background: #fff; }
.hm-quote-by strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.hm-quote-by span { font-size: 13.5px; color: var(--muted); }
.hm-faces-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: clamp(24px, 3vw, 32px); }
.hm-faces { display: flex; padding-left: 10px; }
.cs .hm-faces img { width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: #fff; }
.cs .hm-faces-row p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ── Contact ── */
.hm-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.hm-contact-info { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); color: #F2EEE8; background: #15130F; }
.dark-skin .hm-contact-info { background: #131110; border: 1px solid var(--line-2); }
.hm-contact-info::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 100% 0%, rgba(41,165,135,.3), transparent 70%); }
.cs .hm-contact-info h2 { position: relative; margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: #F6F2EC; }
.cs .hm-contact-info .eyebrow { position: relative; color: #4FD6A8; }
.cs .hm-ci { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hm-ci li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.hm-ci li > span:last-child { display: grid; min-width: 0; }
.hm-ci-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #4FD6A8; background: rgba(79,214,168,.12); }
.hm-ci-ico svg { width: 19px; height: 19px; }
.hm-ci-k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,238,232,.55); }
.cs .hm-ci-v { margin-top: 2px; font-size: 16px; font-weight: 600; color: #F6F2EC; word-break: break-word; }
.cs a.hm-ci-v:hover { color: #4FD6A8; }
.hm-contact-info .hm-social { position: relative; margin: auto 0 0; }

.hm-form { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.hm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hm-field { display: grid; gap: 8px; }
.hm-field.full { grid-column: 1 / -1; }
.cs .hm-field label { margin: 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.hm-field label b { color: var(--accent-ink); }
.cs .hm-field input, .cs .hm-field textarea { width: 100%; height: auto; margin: 0; padding: 13px 14px; border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.cs .hm-field textarea { min-height: 150px; resize: vertical; }
.cs .hm-field input:focus, .cs .hm-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hm-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.cs .hm-form-foot p { margin: 0; font-size: 13.5px; color: var(--muted); }
#cs button.hm-submit { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #fff; background: #20826B; box-shadow: 0 12px 26px -12px rgba(41,165,135,.9); transition: transform .2s, background .2s; }
#cs button.hm-submit:hover { background: #1A6E5A; transform: translateY(-2px); }
.hm-submit svg { width: 18px; height: 18px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .hm-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-quotes > :last-child:nth-child(odd) { grid-column: 1 / -1; } /* no orphan card in a 2-col grid */
    .hm-explorer { grid-template-columns: minmax(0, 1fr); }
    .hm-ex-list { position: static; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    #cs button.hm-ex-tab, #cs button.hm-ex-tab:hover, #cs button.hm-ex-tab:focus { flex: 0 0 auto; width: auto; grid-template-columns: auto auto; padding: 12px 16px; border-color: var(--line); background: var(--surface); scroll-snap-align: start; }
    .hm-ex-arrow, .hm-ex-name small { display: none; }
    /* Featured slider (tablet landscape): shorter so the mockup isn't over-zoomed, narrower copy, deeper scrim */
    .hm-fs { --fs-h: clamp(560px, 74svh, 720px); }
    .hm-fs-copy-in { max-width: min(540px, 46vw); }
    .hm-fs-slide::after { background: linear-gradient(90deg, rgba(9,10,13,.94) 0%, rgba(9,10,13,.86) 38%, rgba(9,10,13,.4) 56%, transparent 72%), linear-gradient(0deg, rgba(9,10,13,.88) 0%, rgba(9,10,13,0) 30%); }
    .hm-fs-tabs .t { display: none; }
    .cs .hm-fs-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-fs-kpis > div { padding-right: 12px; }
    .hm-fs-kpis > div + div { padding-left: 14px; }
    .cs .hm-fs-kpis dt { line-height: 1.35; }
}
@media (max-width: 900px) {
    .hm-intro, .hm-award-in, .hm-contact { grid-template-columns: minmax(0, 1fr); }
    .cs .hm-award-img { max-width: 270px; }
    /* Featured slider: mockup on top, copy below, numbers-only project rail */
    .hm-fs-slide { flex-direction: column; align-items: stretch; min-height: 0; }
    .hm-fs-media { position: relative; width: 100%; aspect-ratio: 1893 / 900; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
    .cs .hm-fs-bg img { filter: blur(46px) saturate(1.2) brightness(.34); }
    .hm-fs-slide::after { background: linear-gradient(180deg, rgba(9,10,13,0) 0%, rgba(9,10,13,.55) 32%, rgba(9,10,13,.86) 58%, rgba(9,10,13,.94) 100%); }
    /* slides share the tallest slide's height: the button sits at the bottom so it lines up on every slide */
    .hm-fs-copy { flex: 1; display: flex; flex-direction: column; padding: 4px clamp(16px, 4vw, 40px) 120px; }
    .hm-fs-copy-in { flex: 1; max-width: 640px; gap: 16px; }
    .cs a.hm-fs-go { margin-top: auto; }
    .hm-fs-tabs .t { display: none; }
    /* Timeline: rail on the left, period above each card */
    .cs .hm-timeline { --when: 0px; --rail: 52px; --node: 40px; gap: 28px; }
    .hm-job { grid-template-columns: var(--rail) minmax(0, 1fr); grid-template-areas: "node when" ". card"; row-gap: 12px; }
    .hm-job-node { margin-top: 0; }
    .hm-job-when { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 4px 0 0 4px; text-align: left; }
    .hm-job-when b { font-size: 28px; }
    .hm-job-when span { margin-top: 0; }
    /* video controls + sound badge: move from bottom-right (where the facts row
       now reaches) to top-right, level with the timecode */
    .home .controls, .home .sound-badge { top: 76px; bottom: auto; right: clamp(16px, 4vw, 40px); }
}
@media (max-width: 640px) {
    .hm-quotes, .hm-form-grid, .hm-ex-copy { grid-template-columns: minmax(0, 1fr); }
    .hm-fs-copy { padding-bottom: 104px; }
    .cs .hm-fs-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-fs-kpis > div { padding-right: 10px; }
    .hm-fs-kpis > div + div { padding-left: 12px; }
    .cs .hm-fs-kpis dd { font-size: 24px; }
    .cs .hm-fs-kpis dt { font-size: 12.5px; line-height: 1.35; }
    .hm-fs-ui-in { gap: 16px; padding-bottom: 20px; }
    .hm-fs-tabs { gap: 6px; }
    .hm-fs-tabs .n { display: none; }
    #cs .hm-fs-tabs button, #cs .hm-fs-tabs button:hover, #cs .hm-fs-tabs button:focus { height: 30px; padding: 0; border-top-width: 3px; }
    .hm-fs-tabs button i { top: -3px; height: 3px; }
    #cs .hm-fs-btns button, #cs .hm-fs-btns button:hover, #cs .hm-fs-btns button:focus { width: 44px; height: 44px; }
    .cs .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
    .hm-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .hm-ex-stage { aspect-ratio: 16 / 9; }
    .cs .hm-award ol { grid-template-columns: minmax(0, 1fr); }
    .hm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
    .hm-social { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-ex-panel, .il .fl, .il .i-flow, .il .i-caret, .il .i-ripple, .hm-job.is-now .hm-job-node::after { animation: none; }
    .hm-job-card, .hm-job-node { transition: none; }
    .hm-fs-slide, .hm-fs-slide.is-active, .hm-fs-copy-in > *, .cs .hm-fs-media img { transition: none; }
}

/* video control icons toggled by home-hero.js */
.ctrl-btn svg.is-off { display: none; }
