/* Shared sections for every inner page (services, DrivenOS, industries, work, pricing, about, contact).
   Built by tools/build_pages.py from pages/data/drivenos.json. v2 layout after Fluexa's About and
   Service pages: big rounded photo frames with parallax, split sections, a walkthrough video,
   a step accordion beside a large illustration, and a hover-swap list. Same type, eyebrow and
   button system as the homepage. */

/* ---------- Shared ---------- */
.dp-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 6vw, 104px); line-height: .98; letter-spacing: -.035em; }
.dp-h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-section); line-height: 1.02; letter-spacing: -.03em; }
.dp-h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-card); line-height: 1.1; letter-spacing: -.02em; }
.dp-lead { color: var(--muted); font-size: var(--fs-body-l); line-height: 1.65; max-width: 48ch; }
.dp-p { color: var(--muted); font-size: var(--fs-body); line-height: 1.6; }
.dp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.dp-link::after { content: "→"; color: var(--accent); transition: transform .4s var(--ease); }
.dp-link:hover::after { transform: translateX(4px); }
.dp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.dp-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: var(--head-gap); }
.dp-head .dp-h2 { margin-top: 22px; max-width: 18ch; }
.on-photo { color: #fff; }
.on-photo .ebx { color: #fff; }
.on-photo .ebx .ebx-star { color: var(--brand); }
.on-photo .roll { --b-ink: #fff; --b-acc: var(--brand); --b-on: var(--brand-ink); backdrop-filter: blur(6px); }
.on-photo .dp-link::after { color: var(--brand); }

/* Photo frame: rounded, image moves slower than the page (parallax set in pages/site.js) */
.fx-photo { position: relative; overflow: hidden; border-radius: 28px; background: var(--surface); isolation: isolate; }
.fx-photo > img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* Illustration frame (scene scaled to fit by pages/site.js) */
.dp-art, .dpp-card__art { --ink: var(--text); --soft: var(--muted); --panel: #171a17; --panel-hi: #20251f; --edge: #323a30; --green: var(--brand); --green-ink: #11260c; }
.dp-art { position: relative; overflow: clip; border-radius: 28px; border: 1px solid var(--line); background: var(--surface);
  background-image: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 62%); }
.dp-fit { position: absolute; width: 460px; height: 440px; left: 50%; top: 50%; margin: -220px 0 0 -230px; transform-origin: center; }

/* ---------- 1 · Hero (after Fluexa's Service page): headline left, intro + button right, the walkthrough video as the big frame below ---------- */
.fx-top { padding: calc(84px + clamp(16px, 2.5vw, 40px)) var(--gutter) var(--section-y); }   /* tight under the nav, like Fluexa */
.fx-top__head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: end; }
.fx-top .dp-h1 { margin-top: 20px; max-width: 22ch; font-size: clamp(36px, 4vw, 68px); line-height: 1.02; }   /* smaller here so the video shows above the fold */
.fx-top__side { justify-self: end; max-width: 42ch; }
.fx-top .dp-actions { margin-top: 22px; }
.fx-top__side .dp-lead { font-size: var(--fs-body); }
.fx-top__media { margin-top: clamp(32px, 3.5vw, 52px); }
.fx-crumb a { color: var(--muted); transition: color .3s; }
.fx-crumb a:hover { color: var(--accent); }
.fx-crumb span { color: var(--faint); margin: 0 2px; }
/* SEO: the breadcrumb's current-page part is the page's H1 (its exact-match keyword). Same look as the rest of the eyebrow. */
.ebx .crumb-h1 { display: inline; margin: 0; font: inherit; font-weight: inherit !important; letter-spacing: inherit; text-transform: inherit; line-height: inherit; color: inherit; }
p.dp-h1 { text-transform: capitalize; }
.fx-crumb:has(.crumb-h1) { line-height: 1.5; }
@media (min-width: 901px) { .fx-crumb:has(.crumb-h1) { white-space: nowrap; } }   /* desktop: one line (there's room beside the intro) */   /* the DrivenOS page headline is a <p> now (the breadcrumb is the H1); keep its Title Case */

/* Walkthrough player */
.fx-player { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 88vh; overflow: hidden; border-radius: 28px; background: #000; color: #fff; cursor: pointer; }
.fx-player > img, .fx-player > video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fx-player::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.1), rgba(0,0,0,.55)); transition: opacity .5s; }
.fx-player:hover > img { transform: scale(1.03); }
.fx-player.is-playing::before, .fx-player.is-playing .fx-play, .fx-player.is-playing .fx-chip { opacity: 0; pointer-events: none; }
.fx-play { position: absolute; left: 50%; top: 50%; width: clamp(84px, 8vw, 120px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink); transition: transform .5s var(--ease), opacity .4s; }
.fx-play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); animation: fx-ring 2.6s var(--ease) infinite; }
.fx-play svg { width: 30%; height: 30%; margin-left: 6%; fill: currentColor; }
.fx-player:hover .fx-play { transform: translate(-50%, -50%) scale(1.08); }
@keyframes fx-ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.fx-chip { position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 13px var(--font-body); transition: opacity .4s; }
.fx-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.fx-chip--end { left: auto; right: 22px; }
/* "Video coming soon" thumbnail: shown instead of the play button until a page has a recording (build_pages.py player()).
   The feature's scene stays whole but dimmed; a hollow, still play mark and the message sit in the middle. Not clickable. */
.fx-player--soon { cursor: default; }
.fx-player--soon:hover > img { transform: none; }
.fx-player--soon > img { filter: brightness(.5) saturate(.8); }
.fx-player--soon::before { background: radial-gradient(ellipse 58% 62% at 50% 50%, rgba(0,0,0,.6), rgba(0,0,0,.15)); }
.fx-coming { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px 24px; text-align: center; }
.fx-coming__icon { position: relative; display: grid; place-items: center; width: clamp(56px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(0,0,0,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: rgba(255,255,255,.8); }
.fx-coming__icon svg { width: 30%; height: 30%; margin-left: 6%; fill: currentColor; }
.fx-coming__title { margin-top: clamp(16px, 2vw, 26px); font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1; letter-spacing: -.035em; text-transform: capitalize; }
.fx-coming__sub { margin-top: 12px; max-width: 36ch; font-size: var(--fs-body); line-height: 1.5; color: rgba(255,255,255,.82); }
@media (max-width: 600px) { .fx-coming { padding: 16px; } .fx-player--soon .fx-chip, .fx-coming__sub { display: none; } }   /* phones: the frame is short; the title says it */
/* "What you'll see" — four equal cards (after the live site's feature cards), a numbered tile in place of the icon */
.fx-checklist { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.fx-checklist li { display: flex; flex-direction: column; gap: 22px; padding: 26px 26px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.fx-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent);
  font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-indent: .16em; }   /* same fonts as the original list: Montserrat caps number, Inter text */
.fx-checklist p { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-body); line-height: 1.5; color: var(--text); }

/* ---------- 3 / 4 · Split: tall photo beside text ---------- */
.fx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); padding: var(--section-y) var(--gutter); }
.fx-split > .fx-photo { min-height: min(72svh, 640px); }   /* grows with the text column when that is taller; no forced full-screen height */
.fx-split--flip > .fx-photo { order: 2; }
.fx-split__body { display: flex; flex-direction: column; justify-content: center; gap: var(--head-gap); padding-block: clamp(8px, 3vw, 48px); }   /* content stays together, centred against the photo */
.fx-split__body .dp-h2 { margin: 22px 0 22px; max-width: 16ch; }
.fx-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; }
.fx-feat > svg { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.fx-feat h3 { margin: 22px 0 10px; font-size: clamp(20px, 1.6vw, 24px); }
/* Problem → fix cards: the problem struck through → green arrow → the fix */
.pf-a__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr); align-items: center; gap: 18px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pf-a__row + .pf-a__row { margin-top: 10px; }
.pf-a__row s { color: var(--muted); font-size: var(--fs-body); line-height: 1.45; text-decoration-thickness: 1.5px; }
.pf-a__row i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-weight: 600;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.pf-a__row b { font-weight: 600; font-size: 16px; line-height: 1.4; }
.fx-quote { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-radius: 20px; color: #fff;
  background: rgba(10,12,10,.55); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.fx-quote p { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -.01em; }
.fx-badge { flex: none; display: grid; place-items: center; color: var(--brand); }   /* just the brand asterisk, turning */
.fx-badge svg { width: 30px; height: 30px; animation: ebx-spin 14s linear infinite; }

/* ---------- 5 · How it works: big illustration + step accordion ---------- */
.fx-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); padding: var(--section-y) var(--gutter); align-items: start; }
.fx-how > .dp-art { position: sticky; top: 100px; height: min(calc(100svh - 130px), 820px); min-height: 480px; }
.fx-how__body { padding-top: clamp(8px, 3vw, 48px); }
.fx-how--flip > .fx-how__body { order: -1; }   /* image on the right (set by alternate_media in the builder) */
.fx-how__body .dp-h2 { margin: 22px 0 22px; max-width: 16ch; }
.fx-acc { margin-top: var(--head-gap); border-top: 1px dashed var(--line); }
.fx-step { border-bottom: 1px dashed var(--line); }
.fx-step > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; text-align: left;
  font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.fx-step > button:hover, .fx-step.is-open > button { color: var(--accent); }
.fx-step > button i { position: relative; width: 14px; height: 14px; flex: none; transition: transform .5s var(--ease); }
.fx-step > button i::before, .fx-step > button i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.fx-step > button i::after { transform: rotate(90deg); }
.fx-step.is-open > button i { transform: rotate(135deg); }
.fx-step__body { height: 0; overflow: hidden; }
.fx-step__inner { padding: 0 0 34px; }
.fx-step__inner h3 { font-size: clamp(26px, 2.6vw, 40px); max-width: 20ch; }
.fx-step__inner p { margin-top: 16px; max-width: 52ch; }
.fx-step__inner ul { list-style: none; margin-top: 22px; }
.fx-step__inner li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-weight: 600; font-size: 15px; }
.fx-step__inner li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- 6 · More in DrivenOS: big list, the photo swaps on hover ---------- */
.fx-more { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 120px); padding: var(--section-y) var(--gutter); align-items: center; }
.fx-more--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.fx-more--flip > .fx-more__media { order: 2; }   /* preview image on the right (alternate_media in the builder) */
.fx-more__media { position: relative; aspect-ratio: 1 / .95; overflow: hidden; border-radius: 28px; background: var(--surface); }
.fx-more__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.fx-more__media img.is-on { opacity: 1; transform: scale(1); }
.fx-more__list { list-style: none; margin: 22px 0 var(--head-gap); }
.fx-more__list a { display: flex; align-items: baseline; gap: clamp(20px, 3vw, 48px); padding: 4px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.2vw, 68px); line-height: 1.1; letter-spacing: -.035em; transition: color .35s; }
.fx-more__list a::before { content: "→"; flex: none; width: 1em; font: 400 20px var(--font-body); color: var(--muted); transition: color .35s, transform .45s var(--ease); }
.fx-more__list a span { text-decoration: underline 3px transparent; text-underline-offset: .12em; transition: text-decoration-color .35s; }
.fx-more__list a.is-on, .fx-more__list a:hover { color: var(--accent); }
.fx-more__list a.is-on span { text-decoration-color: currentColor; }
.fx-more__list a.is-on::before { color: var(--accent); transform: translateX(6px); }

/* ---------- Page hero extras ---------- */
.fx-photo--wide { height: min(64svh, 640px); }
.fx-photo--sticky { position: sticky; top: 100px; height: min(calc(100svh - 130px), 820px); min-height: 480px; }
.fx-top--center { min-height: 70svh; display: flex; align-items: center; }
.fx-top--center .fx-top__head { width: 100%; }
.dp-art--tall { min-height: min(90svh, 860px); }
.cs-shot { position: relative; overflow: hidden; height: min(72svh, 720px); border-radius: 28px; background: var(--surface);
  background-image: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 65%); }
.cs-shot img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.cs-shot--photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }   /* photoreal scene fills the frame */   /* absolute, so the mockup can never outgrow the frame */

/* ---------- Card rows: 2, 3 or 4 equal cards; --text adds a title + muted paragraph ---------- */
.fx-checklist.fx-checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-checklist.fx-checklist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-checklist--text h3 { margin-top: 2px; }
.fx-checklist--text p { margin-top: -10px; color: var(--muted); }

/* ---------- Card grids (photo, mockup or illustration on top) ---------- */
.dpp-grid.dpp-grid--1 { grid-template-columns: 1fr; }
.dpp-grid.dpp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dpp-grid.dpp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dpp-card__photo { height: 300px; overflow: hidden; border-bottom: 1px solid var(--line); }
.dpp-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dpp-card:hover .dpp-card__photo img { transform: scale(1.05); }
.dpp-card__shot { position: relative; overflow: hidden; height: 380px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dpp-card__shot img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; transition: transform 1s var(--ease); }
.dpp-card:hover .dpp-card__shot img { transform: scale(1.03); }
.dpp-grid--feature .dpp-card__shot { height: min(62svh, 600px); }
.dpp-grid--4 .dpp-card__photo { height: 220px; }
/* device scenes (img/visuals/mk-*, live-*): framed at their own shape so the whole laptop/phone shows, never cropped into a strip */
.dpp-card__photo--scene, .dpp-grid--4 .dpp-card__photo--scene { height: auto; aspect-ratio: 4 / 3; }
.dpp-grid--feature .dpp-card__photo--scene { aspect-ratio: 16 / 9; }
.dpp-card__photo--scene img { object-position: 50% 42%; }
.fx-more__media--contain { background: var(--surface-2); }
.fx-more__media--contain img { object-fit: contain; padding: clamp(16px, 3vw, 40px); }

/* ---------- Pricing ---------- */
.plan__kicker { font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
/* ---------- Care Plans page pricing: hosting only and the full care plan side by side ---------- */
.cp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cp-plan { display: flex; flex-direction: column; gap: 18px; padding: clamp(30px, 3.6vw, 52px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.cp-plan.is-featured { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.cp-plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.cp-plan__price b { font: 400 clamp(64px, 7vw, 112px)/.85 var(--font-display); letter-spacing: -.045em; }
.cp-plan__price small { font: 600 16px var(--font-body); color: var(--muted); }
.cp-plan__line { max-width: 440px; min-height: 3.1em; color: var(--muted); font-size: 16px; line-height: 1.55; }   /* two lines either way, so the lists line up */
.cp-plan .pc-checks { padding-top: 20px; border-top: 1px dashed var(--line); }
.cp-plan__note { font-size: 14px; color: var(--muted); }
.cp-plan .dp-actions { margin-top: auto; padding-top: 10px; }
@media (max-width: 800px) { .cp-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing page: a centred heading, then one full-width row per offer (pricing beside an image card, sides alternating) ---------- */
.pr-head { max-width: 900px; margin: 0 auto; padding: calc(76px + clamp(40px, 6vw, 80px)) var(--gutter) 0; text-align: center; }
.pr-head__h { font: 300 clamp(40px, 5.2vw, 76px)/1.05 var(--font-display); letter-spacing: -.035em; }
.pr-head__h b { font-weight: 500; }
.pr-head__p { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.pr-rows { display: grid; gap: clamp(64px, 9vw, 140px); }
.pc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.pc-row--flip .pc-row__body { order: 2; }   /* image on the left every other row */
.pc-row__body .dp-lead { margin-top: 18px; max-width: 540px; }
.pc-row__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 30px 0 28px; }
.pc-row__price b { font: 400 clamp(64px, 7vw, 116px)/.85 var(--font-display); letter-spacing: -.045em; }
.pc-row__price small { font: 600 16px var(--font-body); color: var(--muted); }
.pc-checks { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.pc-checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
/* the site's tick: a green line that draws itself in a softly tinted circle (same as the Web Design "included" list) */
.pc-checks i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--accent); }
.pc-checks svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pc-row__fine { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pc-row__fine--warn { font-size: 15px; font-weight: 700; color: #ff5b5b; }   /* e.g. the ad budget is an extra cost */
.pc-row__body .dp-actions { margin-top: 30px; }
.pc-row__media { margin: 0; }
.pc-row__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px; background: #0a0a0a; }
.pc-row__img img { width: 100%; height: 100%; object-fit: cover; }   /* 4:3 renders and 6:5 scenes with room to spare: nothing important is cropped */
.pc-row__media h3 { margin: 24px 4px 0; font-size: 20px; font-weight: 500; line-height: 1.35; }
.pc-row__media p { margin: 8px 4px 0; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .pc-row { grid-template-columns: 1fr; } .pc-row--flip .pc-row__body { order: 0; } }
@media (max-width: 480px) { .pc-row__price b { font-size: 52px; } }   /* keeps "Starting at $2,000 one-time" on one line */

/* ---------- Contact ---------- */
.fx-split--contact { align-items: start; }
.fx-loop--static li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.fx-loop--static .num { grid-row: span 2; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent); }
.fx-loop--static strong { font: 600 17px/1.3 var(--font-body); }
.fx-loop--static small { font-size: 14px; color: var(--muted); }
.form-card { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: grid; gap: 8px; font: 600 var(--fs-label) var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form-card label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text);
  font: 400 15px var(--font-body); letter-spacing: 0; text-transform: none; transition: border-color .25s; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); }
.form-card .roll { justify-self: start; height: 52px; padding: 0 28px; cursor: pointer; }
.form-note { font-size: 12px; color: var(--muted); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Overview page extras ---------- */
.dpp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dpp-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; transition: border-color .35s; }
.dpp-card:hover { border-color: var(--accent); }
.dpp-card__art { position: relative; height: 300px; overflow: clip; background: var(--bg); border-bottom: 1px solid var(--line); }
.dpp-card__body { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; flex: 1; }
.dpp-card__body .num { font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; color: var(--accent); }
.dpp-card__body .dp-link { margin-top: auto; padding-top: 12px; }
.fx-loop { list-style: none; border-top: 1px dashed var(--line); }
.fx-loop a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.fx-loop .num { grid-row: span 2; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent); }
.fx-loop strong { font: 600 17px/1.3 var(--font-body); }
.fx-loop small { font-size: 14px; color: var(--muted); }
.fx-loop a:hover strong { color: var(--accent); }
.fx-price { display: flex; align-items: baseline; gap: 10px; margin-top: 30px; font-family: var(--font-display); font-weight: 400; font-size: clamp(72px, 8vw, 132px); line-height: .85; letter-spacing: -.05em; }
.fx-price small { font: 600 16px var(--font-body); letter-spacing: 0; color: var(--muted); }
.fx-plan { list-style: none; columns: 2; column-gap: 24px; border-top: 1px dashed var(--line); padding-top: 18px; }
.fx-plan li { break-inside: avoid; display: flex; gap: 10px; padding: 6px 0; font-size: 14px; }
.fx-plan li::before { content: "✓"; color: var(--accent); font-weight: 600; }

/* ---------- New scenes: Unified Inbox + Marketing Campaigns (timelines in demos/driven-scenes.js) ---------- */
.osb-inbox { position: absolute; left: 26px; right: 26px; top: 22px; padding: 16px; transform: rotate(-1.5deg); }
.osb-inbox-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.osb-inbox-head strong { font-size: 14px; font-weight: 500; }
.osb-thread { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 11px; border: 1px solid transparent; }
.osb-thread + .osb-thread { margin-top: 4px; }
.osb-thread > div { min-width: 0; flex: 1; }
.osb-thread strong { display: block; font-size: 12px; font-weight: 500; }
.osb-thread small { display: block; font-size: 10px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osb-chan { flex: none; padding: 3px 8px; border: 1px solid var(--edge); border-radius: 999px; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.osb-thread--new { background: var(--panel-hi); border-color: var(--green); }
.osb-thread--new .osb-chan { color: var(--green); border-color: var(--green); }
.osb-camp { position: absolute; left: 22px; top: 26px; width: 318px; padding: 20px; transform: rotate(-3deg); }
.osb-camp-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.osb-camp-head strong { display: block; margin-top: 4px; font-size: 17px; font-weight: 500; }
.osb-aud { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 14px; border: 1px solid var(--edge); border-radius: 10px; font-size: 11px; }
.osb-aud b { margin-left: auto; font-weight: 500; color: var(--green); }
.osb-camp .osb-message { margin-left: 0; border-radius: 13px 13px 13px 3px; }
.osb-camp svg { width: 12px; height: 12px; }
.osb-stats { position: absolute; right: 22px; top: 262px; width: 252px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; transform: rotate(3deg); }
.osb-stats strong { display: block; margin: 4px 0 10px; font-size: 30px; font-weight: 500; letter-spacing: -1px; }
.osb-stats i { position: relative; display: block; height: 4px; border-radius: 2px; background: var(--panel-hi); overflow: hidden; }
.osb-stats i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 2px; background: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dpp-grid, .dpp-grid.dpp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-checklist.fx-checklist--3 { grid-template-columns: 1fr; }
  .fx-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .fx-split, .fx-how, .fx-more, .dp-head, .fx-top__head { grid-template-columns: 1fr; }
  .fx-photo--sticky { position: relative; top: 0; height: 420px; min-height: 0; }
  .dp-art--tall { min-height: 420px; }
  .fx-top__side { justify-self: start; }
  .fx-split > .fx-photo { min-height: 56svh; order: 0; }
  .fx-how > .dp-art { position: relative; top: 0; height: 440px; min-height: 0; }
  .fx-how--flip > .fx-how__body { order: 0; }
  .fx-feats { gap: 36px 24px; }
}
@media (max-width: 600px) {
  .dpp-grid, .dpp-grid.dpp-grid--2, .dpp-grid.dpp-grid--4, .fx-feats, .fx-checklist, .fx-checklist.fx-checklist--2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pf-a__row { grid-template-columns: 1fr; gap: 10px; }
  .pf-a__row i { transform: rotate(90deg); }
  .fx-plan { columns: 1; }
  .fx-quote { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .fx-play::before, .fx-badge svg { animation: none; } }
@keyframes ebx-spin { to { transform: rotate(360deg); } }



/* ---------- How it works: step scroll (adapted from Bloomava's about page) ----------
   The section is tall; its panel pins. Left: steps in a masked window that step up one at a time (the next step shows
   faded underneath). Right: a stack of photos, each wiping down to uncover the next. Motion: pages/site.js [data-steps]. */
.ss { position: relative; height: calc((var(--n) + 1) * 75vh); padding-inline: var(--gutter);
  --ss-h: min(760px, calc(100vh - 100px)); }   /* pinned panel height (fits the text); it sits centred in the screen below the 76px menu */
.ss__pin { position: sticky; top: calc(76px + (100vh - 76px - var(--ss-h)) / 2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-rows: minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: center; height: var(--ss-h); }   /* fixed row: the frame stays centred even if the text runs tall */
.ss__text { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }   /* uses the whole column; only the paragraphs keep a reading width */
.ss__intro .dp-lead { margin-top: 18px; max-width: 600px; }
.ss__link { margin-top: 16px; }
/* a short, plain note with an info mark (e.g. AI agents are billed by usage) */
.usage-note { display: flex; align-items: flex-start; gap: 10px; max-width: 560px; margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--text); }
.usage-note i { display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--brand); color: var(--brand-ink);
  font: italic 700 11px/1 Georgia, serif; }
.usage-note--hero { margin: 14px 0 0; color: rgba(255,255,255,.9); }
/* short desktop screens (e.g. 1280×720): tighter spacing so the pinned text still fits beside the frame */
@media (min-width: 901px) and (max-height: 780px) {
  .ss__text { gap: 22px; }
  .ss__intro .dp-lead { margin-top: 12px; }
  .ss__intro .usage-note { margin-top: 12px; }
  .ss__link { margin-top: 10px; }
  .ss__window { height: calc(var(--card-h, 220px) * 1.4); }
}
.ss__window { position: relative; height: calc(var(--card-h, 220px) * 1.5); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 62%, rgba(0,0,0,.35) 67%, rgba(0,0,0,.35) 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 62%, rgba(0,0,0,.35) 67%, rgba(0,0,0,.35) 100%); }
.ss__list { list-style: none; margin: 0; padding: 0; will-change: transform; }
.ss__card { display: flex; flex-direction: column; gap: 22px; height: var(--card-h, auto); padding-top: 18px; }
.ss__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; flex: none;
  background: var(--surface-2); color: var(--accent); font: 600 var(--fs-label) var(--font-label); letter-spacing: .12em; text-indent: .12em; }
.ss__kicker { display: block; margin-bottom: 8px; font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ss__card h3 { margin: 0 0 10px; }
.ss__card p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: 1.6; max-width: 560px; }
/* steps with checklists (Web Design): number beside the step instead of above it, and a wider text column, so it all fits the pinned panel */
.ss--checks .ss__card { flex-direction: row; gap: 20px; }
.ss--checks .ss__num { width: 48px; height: 48px; }
.ss__checks { list-style: none; display: grid; gap: 8px; margin: 14px 0 0; padding: 0; }   /* optional two-point checklist under a step */
.ss__checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.ss__checks i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--accent); }
.ss__checks svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
/* The frame keeps the scenes' 6:5 shape and is as big as its column allows: full width, or full height on short screens */
.ss__stage { height: min(100%, calc(100vh - 170px)); container-type: size; display: flex; align-items: center; justify-content: flex-end; }   /* ~47px clear above and below the frame */
.ss__frame { position: relative; width: min(100cqw, 120cqh); aspect-ratio: 6 / 5; border-radius: var(--radius); overflow: hidden;
  background: #060806; box-shadow: 0 0 0 1px var(--line); }
.ss--flip .ss__pin { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }   /* image on the left */
.ss--flip .ss__stage { order: -1; justify-content: flex-start; }
.ss__layer { position: absolute; inset: 0; will-change: transform; }
.ss__layer img { width: 100%; height: 100%; object-fit: cover; }
.ss__veil { position: absolute; inset: 0; z-index: 20; background: rgba(0,0,0,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transform-origin: 50% 100%; }

/* Phones, tablets and reduced motion: no pinning — every step listed, one photo above them */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .ss { height: auto; padding-block: var(--section-y); }
  .ss__pin { position: relative; top: 0; height: auto; grid-template-columns: 1fr; }
  .ss__text { max-width: none; }
  .ss__window { height: auto; -webkit-mask-image: none; mask-image: none; }
  .ss__list { display: grid; gap: 28px; }
  .ss__card { height: auto; padding-top: 0; }
  .ss__stage { order: -1; height: auto; container-type: normal; }
  .ss__frame { width: 100%; }
  .ss__layer:not(:first-child), .ss__veil { display: none; }
}
/* Brand visuals (img/visuals/): composed with room around the subject, so fill the frame without the parallax overscan */
.fx-photo--visual > img { top: 0; height: 100%; object-position: 50% 45%; }
/* Client-site device photos (landscape laptop/phone shots): never cropped — the whole device, edges faded into a green-lit stage */
.fx-photo--device { background: radial-gradient(60% 55% at 50% 58%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 72%), #070907; }
.fx-photo--device > img { object-fit: contain; object-position: 50% 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
/* size the device photo's box to the photo itself, so the fade lands on its own edges */
.fx-photo--device > img { top: 50%; left: 0; width: 100%; height: auto; aspect-ratio: 1586 / 992; transform: translateY(-50%); }
.fx-photo--wide.fx-photo--device > img { top: 0; left: 50%; width: auto; height: 100%; transform: translateX(-50%); }


/* ---------- Services stack (after Soale): sticky cards that land on each other; covered ones shrink + blur (site.js) ---------- */
.svs-stack { display: flex; flex-direction: column; gap: 20px; margin-top: var(--head-gap); }
.svs-card { position: sticky; top: 110px; display: grid; grid-template-columns: .72fr 1fr; min-height: 400px; border-radius: 24px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); transform-origin: 50% 0; will-change: transform, filter; }
.svs-card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 2.4vw, 36px); }
.svs-card__title { margin: 0 0 12px; font: 400 clamp(30px, 2.8vw, 44px)/1.05 var(--font-display); letter-spacing: -.03em; }
.svs-card__body p { margin: 0; max-width: 34em; color: var(--muted); font-size: var(--fs-body-l); line-height: 1.55; }
.svs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.svs-tags li { padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent); font-size: 14px; color: var(--text); }
.svs-card__media { position: relative; min-height: 400px; }
.svs-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transition: transform 1.2s var(--ease); }   /* full-bleed studio image */
.svs-card:hover .svs-card__media img { transform: scale(1.03); }
.svs-card__fade { position: absolute; inset: 0 auto 0 0; width: 180px; z-index: 1; background: linear-gradient(90deg, var(--surface), transparent); }   /* separates the text side from the image */
.svs-card__price { display: block; margin-bottom: 14px; font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.svs-card__go { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #ffffff1f; backdrop-filter: blur(10px); transition: background .35s; }
.svs-card__go svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.svs-card:hover .svs-card__go { background: var(--brand); }
@media (max-width: 900px) {
  .svs-card { grid-template-columns: 1fr; top: 90px; }
  .svs-card__media { min-height: 260px; order: -1; }
  .svs-card__fade { inset: auto 0 0 0; width: auto; height: 90px; background: linear-gradient(0deg, var(--surface), transparent); }
}
@media (max-width: 600px) { .svs-card { position: relative; top: 0; } }

/* ---------- Industries panels (services hub): four photo panels; the hovered one opens (site.js) ---------- */
.ind-panels { display: flex; gap: 14px; height: min(620px, 72vh); margin-top: var(--head-gap); }
.ind-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 24px; color: #fff; background: #0a0a0a var(--bg) center/cover; transition: flex .8s var(--ease); isolation: isolate; }
.ind-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,7,7,.15), rgba(7,7,7,.35) 50%, rgba(7,7,7,.88)); }
.ind-panel.is-open { flex: 3.2; }
.ind-panel__num { position: absolute; top: 22px; left: 24px; font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; color: #ffffffb3; }
.ind-panel__body { position: absolute; left: 24px; right: 24px; bottom: 26px; }
.ind-panel__body h3 { margin: 0; }
.ind-panel__body small { display: block; margin-top: 6px; color: #ffffffb3; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ind-panel__body .dp-link { display: inline-flex; margin-top: 18px; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.ind-panel.is-open .ind-panel__body .dp-link { opacity: 1; transform: none; transition-delay: .25s; }
.ind-panel:not(.is-open) .ind-panel__body small { opacity: 0; }
.ind-panel.is-open .ind-panel__body small { white-space: normal; max-width: 34em; }
@media (max-width: 900px) {
  .ind-panels { flex-direction: column; height: auto; }
  .ind-panel, .ind-panel.is-open { flex: none; min-height: 300px; }
  .ind-panel__body .dp-link, .ind-panel:not(.is-open) .ind-panel__body small { opacity: 1; transform: none; }
}

/* ---------- About (after Fluexa's about page) ---------- */
.ab-story, .ab-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); padding: var(--section-y) var(--gutter); }
.ab-story__text, .ab-why__text { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(40px, 5vw, 72px); padding-block: clamp(8px, 2vw, 32px); }
.ab-story__text { justify-content: center; gap: 36px; }   /* story text sits together, centred against the photo */
.ab-story__text .dp-h2, .ab-why__text .dp-h2 { margin: 22px 0 22px; max-width: 16ch; }
.ab-story__text .dp-lead + .dp-lead { margin-top: 16px; }
.ab-story__text .dp-lead, .ab-why__text .dp-lead { max-width: 34em; }
.ab-photo { position: relative; overflow: hidden; border-radius: 28px; min-height: min(72svh, 660px); background: var(--surface); }
.ab-photo > img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
/* why: photo left, two points with outline icons */
.ab-why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.ab-why__list h3 { margin: 0 0 12px; }
.ab-why__list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
/* clients: equal cards, each client's real logo (white) in each */
.ab-clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: var(--head-gap); }
.ab-client { display: grid; place-items: center; min-height: 170px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); opacity: .8; transition: opacity .4s, border-color .4s, background .4s; text-align: center; }
.ab-client:hover { opacity: 1; border-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.ab-client img { display: block; width: auto; max-width: 100%; height: var(--h, 64px); object-fit: contain; }   /* white versions of each client's real logo */
@media (max-width: 900px) { .fx-more--flip > .fx-more__media { order: 0; } }
.ab-story--flip > .ab-photo { order: -1; }   /* image sides alternate (alternate_media in the builder) */
.ab-why--flip > .ab-photo { order: 2; }
@media (max-width: 900px) {
  .ab-story, .ab-why { grid-template-columns: 1fr; }
  .ab-story--flip > .ab-photo, .ab-why--flip > .ab-photo { order: 0; }
  .ab-photo { min-height: 56svh; }
  .ab-why .ab-photo { order: 2; }
  .ab-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-client { min-height: 120px; }
}
@media (max-width: 560px) { .ab-why__list { grid-template-columns: 1fr; }
  .ab-client { padding: 14px; } .ab-client img { height: calc(var(--h, 64px) * .72); } }

/* ---------- About icons (line SVGs; pages/site.js adds .is-in when they scroll into view) ----------
   Each line traces itself in turn; then results: a glint runs up the trend line · team: the tiles light up in turn (loops). */
.ab-icon { display: block; width: 56px; height: 56px; margin-bottom: 26px; overflow: visible; color: var(--accent); }
.ab-icon .ic-line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ab-icon.is-in .ic-line { animation: ic-trace .7s var(--ease) forwards; animation-delay: calc(var(--i) * .16s); }
.ab-icon .ic-glint { fill: none; stroke: color-mix(in srgb, var(--brand) 55%, #fff); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .16 .84; stroke-dashoffset: .16; opacity: 0; }
.ab-icon.is-in .ic-glint { animation: ic-glint 2.6s 1.6s ease-in-out infinite; }
.ab-icon .ic-tile { fill: currentColor; fill-opacity: 0; }
.ab-icon.is-in .ic-tile { animation: ic-trace .7s var(--ease) forwards, ic-tile 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .16s), calc(1.4s + var(--i) * .4s); }
@keyframes ic-trace { to { stroke-dashoffset: 0; } }
@keyframes ic-glint { 0% { stroke-dashoffset: .16; opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 85%, 100% { stroke-dashoffset: -.84; opacity: 0; } }
@keyframes ic-tile { 0%, 30%, 100% { fill-opacity: 0; } 12% { fill-opacity: .32; } }
@media (prefers-reduced-motion: reduce) { .ab-icon * { animation: none !important; } .ab-icon .ic-line { stroke-dashoffset: 0; } .ab-icon .ic-glint { opacity: 0; } }

/* ---------- Animated line icons, sitewide (anim_svg in tools/build_pages.py; pages/site.js adds .is-in) ----------
   Every line traces itself in turn when the icon scrolls into view (icons in a row start one after another, --n);
   then a light runs over the lines on a slow loop. Stroke width comes from each icon's own container styles. */
.ic { overflow: visible; }
.ic .ic-line { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1.03; stroke-dashoffset: 1.03; }   /* a hair over 1, so closed shapes join without a gap */
.ic.is-in .ic-line { animation: ic-trace .75s var(--ease) forwards; animation-delay: calc(var(--i) * .14s + var(--n, 0) * .12s); }
.ic .ic-glint { fill: none; stroke: color-mix(in srgb, var(--brand) 50%, #fff); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .14 .86; stroke-dashoffset: .14; opacity: 0; }
.ic.is-in .ic-glint { animation: ic-sheen 5s ease-in-out infinite; animation-delay: calc(1.8s + var(--n, 0) * .7s); }
.fx-feat > .ic { color: var(--accent); }
.ag-kicker .ic { color: var(--accent); }
.ic--check.is-in .ic-line { animation-duration: .5s; animation-delay: calc(.2s + var(--n, 0) * .09s); }
/* logo icons (Google, Meta): a thin outline traces round the mark's edge, then a soft fill fades in; the light keeps
   travelling round the outline (Meta without a pause, like its loop) */
.ic--logo { stroke-width: .7 !important; }
.ic--logo .ic-line { fill: currentColor; fill-opacity: 0; }
.ic--logo.is-in .ic-line { animation: ic-trace 1.8s cubic-bezier(.45, 0, .2, 1) forwards, ic-fill .9s ease forwards; animation-delay: calc(var(--n, 0) * .12s), calc(1.5s + var(--n, 0) * .12s); }
.ic--logo .ic-glint { stroke-width: 1.1; stroke-dasharray: .12 .88; }
.ic--google.is-in .ic-glint { animation: ic-sheen 4.5s ease-in-out infinite; animation-delay: calc(2.4s + var(--n, 0) * .7s); }
.ic--meta.is-in .ic-glint { animation: ic-orbit 4s linear infinite; animation-delay: calc(2.4s + var(--n, 0) * .3s); }
@keyframes ic-fill { to { fill-opacity: .16; } }
@keyframes ic-orbit { 0% { stroke-dashoffset: .12; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { stroke-dashoffset: -.88; opacity: 0; } }
@keyframes ic-sheen { 0% { stroke-dashoffset: .14; opacity: 0; } 6% { opacity: 1; } 40% { opacity: 1; } 48%, 100% { stroke-dashoffset: -.86; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ic * { animation: none !important; } .ic .ic-line { stroke-dashoffset: 0; } .ic .ic-glint { opacity: 0; } .ic--logo .ic-line { fill-opacity: .16; } }

/* ---------- Work page: two columns of sites; hover scrolls the full-page capture (site.js [data-scroll-shot]) ---------- */
.ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.ws-card { display: flex; flex-direction: column; gap: 18px; color: var(--text); scroll-margin-top: 150px; }   /* other pages link to /work/#<site>: clears the nav, plus the 40px the card rises as it appears */
.ws-win { border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.ws-card:hover .ws-win { border-color: color-mix(in srgb, var(--brand) 55%, transparent); transform: translateY(-4px); box-shadow: 0 30px 70px -35px rgba(0,0,0,.8); }
/* the mockup shows first; on hover it fades away and the full page underneath scrolls */
.ws-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.ws-page { position: absolute; top: 0; left: 0; width: 100%; height: auto; transform: translateY(0); will-change: transform; }
.ws-mock { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .9s var(--ease); }
.ws-card.is-open .ws-mock { opacity: 0; transform: scale(1.04); }
.ws-info { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 4px; }
.ws-info h3 { margin: 6px 0 0; }
.ws-ind { font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.ws-view--next { display: grid; place-items: center; padding: 32px; text-align: center; background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%), var(--surface); }
.ws-next__h { margin: 12px 0 10px; font: 400 clamp(28px, 2.6vw, 42px)/1.05 var(--font-display); letter-spacing: -.03em; }
.ws-next__p { max-width: 30em; margin: 0 auto 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ws-card--next:hover .ws-next__btn::before { transform: scaleX(1); transform-origin: left; }
.ws-card--next:hover .ws-next__btn { color: var(--b-on); }
@media (max-width: 800px) { .ws-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ws-mock { transition: none; } }
