/* SILACOD V2 pages (home, WhatsApp agent, Sila Studio): smooth scrolling, section transitions, the hands, the top bar on scroll, colours. Goes with v2-flow.js. */

/* ===== Smooth scrolling (2026-11-06). Measured on the page: store frames and CSS loops running out of view, the six big stages kept on
   their own 3D layers, and live glass over moving blobs. The blank patches seen while scrolling came from the same load. ===== */
.sf-off, .sf-off *, .sf-off *::before, .sf-off *::after { animation-play-state: paused !important; }
.hero.sf-under { visibility: hidden; }
.hero.sf-under * { animation-play-state: paused !important; }
.rv { transition-duration: .75s; }

/* stages: flat and ordinary; the tilt plays once on arrival (v2-flow.js) instead of following every scroll frame */
.fstage { transform: none; will-change: auto; transition: transform .9s var(--ease); }
.fstage.sf-wait { transform: perspective(1800px) translateY(60px) rotateX(16deg) scale(.93); }
.fstage > .flow-board { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(10,12,40,.66); }
.fs-night::before { filter: none; background: radial-gradient(52% 36% at 50% 100%, rgba(240,99,67,.3), transparent 72%); }

/* boards: nothing moves behind them any more, so a solid tint replaces the live blur. The menu and the hero keep theirs. */
:where(.sc-info, .sc-req, #c2tabs, .cp, .node, .recipe, .mf, .persona).lg { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; --lg-tint: rgba(23,26,78,.68); }
html[data-theme="light"] :where(.sc-info, .sc-req, #c2tabs, .cp, .node, .recipe, .mf, .persona).lg { --lg-tint: rgba(255,255,255,.84); }

/* colour fields: soft by themselves (no blur filter), calmer, and they fade out before the section ends, so no hard cut at the seam */
.lg-field i { filter: none; will-change: transform; background: radial-gradient(closest-side, var(--b) 0%, color-mix(in srgb, var(--b) 52%, transparent) 42%, transparent 100%) !important; }
.lg-field i:nth-child(1) { --b: #f06343; opacity: .24; top: 10%; }
.lg-field i:nth-child(2) { --b: #4a6bff; opacity: .3; bottom: 10%; }
.lg-field i:nth-child(3) { --b: #ffb07a; opacity: .12; }
html[data-theme="light"] .lg-field i { opacity: .14; }
main > .sec > .lg-field { border-radius: inherit; }

/* ===== Transitions between sections ===== */
/* every section melts out of the colour above it (--sf-prev comes from v2-flow.js) */
main > .sec:not(.dark) { background-image: linear-gradient(var(--sf-prev, transparent), transparent clamp(96px, 9vw, 150px)) !important; }
/* the deeper sections rise over the page as rounded sheets, like the first one over the hero */
main > .sec.dark { margin-top: -44px; border-radius: 44px 44px 0 0; box-shadow: 0 -26px 60px -34px rgba(3,4,20,.75); }
html[data-theme="light"] main > .sec.dark { box-shadow: 0 -22px 50px -30px rgba(17,19,68,.24); }
@media (max-width: 760px) { main > .sec.dark { margin-top: -28px; border-radius: 28px 28px 0 0; } }
/* a thin line draws itself along the top of a sheet as it arrives; it follows the scroll without any script */
@supports (animation-timeline: view()) {
  main > .sec.dark::before { content: ""; position: absolute; z-index: 2; top: 0; inset-inline: 44px; height: 2px; border-radius: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, #f06343 30%, #8b6cff 70%, transparent); transform: scaleX(0);
    animation: sfLine linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
  @keyframes sfLine { to { transform: scaleX(1); } }
}

/* ===== The hands that finish about 2% of a section ===== */
.sf-layer { position: absolute; inset: 0; z-index: 6; overflow: hidden; pointer-events: none; direction: ltr; border-radius: inherit; }
.sf-h { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity calc(.25s * var(--sf-sp, .72)); will-change: transform; }
.sf-h.on { opacity: 1; }
.sf-h svg { position: absolute; left: -4px; top: -2px; width: 24px; height: 24px; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.sf-h b { position: absolute; left: 18px; top: var(--dy, 17px); padding: 1px 8px; border-radius: 7px; background: var(--c); color: #fff; font: 700 12px/1.6 Cairo, Inter, sans-serif; white-space: nowrap; }
.sf-box { position: absolute; box-sizing: border-box; border: 1.5px solid var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); opacity: 0; transition: opacity .18s; }
.sf-box.on { opacity: 1; }
.sf-box i { position: absolute; width: 7px; height: 7px; box-sizing: border-box; background: #fff; border: 1.5px solid var(--c); }
.sf-box i:nth-child(1) { left: -4px; top: -4px; } .sf-box i:nth-child(2) { right: -4px; top: -4px; } .sf-box i:nth-child(3) { left: -4px; bottom: -4px; } .sf-box i:nth-child(4) { right: -4px; bottom: -4px; }
/* a label waiting for its hand: slightly out of place */
.sf-k.arm { translate: 30px -12px; rotate: -4deg; }
html[dir="rtl"] .sf-k.arm { translate: -30px -12px; }
@media (prefers-reduced-motion: reduce) { .sf-k.arm { translate: none; rotate: none; } .fstage.sf-wait { transform: none; } }

/* ===== Colours (2026-11-06): small coral text, and small white text on coral, use the deeper coral; pale greys reach a readable level ===== */
.stp { opacity: .72; } .stp.on { opacity: 1; }
.sc-pages button[aria-selected="true"], .sc-tabs button[aria-selected="true"], html[data-theme="light"] .sc-tabs button[aria-selected="true"] { background: #cc4426; border-color: #cc4426; }
.rm-tabs .on { background: #cc4426; } .rm-lead strong, .ob-prod em { color: #cc4426; }
.rd-kpi em, .rm-head small { color: #64748b; }
.store-b.soon { opacity: 1; } .store-b.soon em { background: #cc4426; color: #fff; }
.ob-search kbd { opacity: 1; color: #586579; } .wa-in span { color: #667781; }
.rd-seg span, .rx-tabs span, .ws-seg button, .vo-seg button, .pl-hide, .sh-kind small, .sh-lead small { color: #586579; }
.ob-q span, small.now { color: #b8371b; }
.kin-badge { background: #cc4426; } .kin-cap i { font-size: 12px; } html[data-theme="light"] .kin-cap i { color: #cc4426; }
.vo-dial button[aria-pressed="true"] small, .vo-dial button[aria-checked="true"] small, .vo-dial button[aria-selected="true"] small { color: #b8371b; }
html[data-theme="light"] .sc-lvb, html[data-theme="light"] #scLvB, html[data-theme="light"] #scNiche, html[data-theme="light"] .sc-niche, html[data-theme="light"] .sc-req > b, html[data-theme="light"] .sc-head .kicker { color: #b8371b; }
html[data-theme="light"] .sc-lvb { background: #fde6df; }
html[data-theme="light"] .monitor small a { color: #cc4426; }
html:not([data-theme="light"]) .sc-lv small { color: #9a9cc8; }

/* ===== The hands build the top bar when the page opens (v2-flow.js) ===== */
html.sf-nav-wait nav.top { clip-path: inset(0 100% 0 0 round 999px); }
html[dir="rtl"].sf-nav-wait nav.top { clip-path: inset(0 0 0 100% round 999px); }
html.sf-nav-wait nav.top .logo, html.sf-nav-wait nav.top #navlinks > li, html.sf-nav-wait nav.top .nav-end > * { opacity: 0; }
html.sf-nav-wait nav.top .sf-on { opacity: 1 !important; }
.sf-top { position: fixed; inset: 0; z-index: 61; overflow: hidden; pointer-events: none; direction: ltr; }
.sf-top .sf-box { border-radius: 12px; }

/* each hand shows its name and its job; helpers have neither. The navy of the architect needs a thin light edge on dark sections. */
.sf-h b { box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.sf-h.flip b { left: auto; right: 2px; }
.sf-h.helper svg { width: 17px; height: 17px; }
.sf-box { box-shadow: 0 0 0 1px rgba(255,255,255,.34); }
/* a button or a switch waiting for its hand: faint, in its exact place. Only the first people card shows: the others are copied from it by hand. */
.sf-c.arm { opacity: .28; }
.sf-cards.arm > :not(:first-child):not(.in) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .sf-c.arm { opacity: 1; } .sf-cards.arm > * { opacity: 1 !important; } }

/* the hand has no width of its own, so the site-wide svg { max-width: 100% } was shrinking the arrow to nothing */
.sf-h svg { max-width: none; }

/* a word waiting for the writer: a faint trace holds its place, so the heading never jumps */
.sf-w { position: relative; display: inline-block; padding-block: .2em; margin-block: -.2em; }
.sf-w.arm { color: color-mix(in srgb, currentColor 62%, transparent); }
/* what the writer has written so far, with a caret; then the colour brushed across it */
.sf-ink { position: absolute; inset-block: 0; inset-inline-start: 0; padding-block: .2em; font-style: normal; white-space: nowrap; color: var(--sf-pen); }
.sf-ink::after { content: ""; display: inline-block; width: .055em; height: .86em; margin-inline-start: .05em; vertical-align: -.1em; background: var(--coral); }
.sf-ink.paint::after { display: none; }
.sf-ink.paint { color: transparent; -webkit-text-fill-color: transparent; background: linear-gradient(90deg, var(--sf-end) 46%, var(--sf-pen) 54%) 100% 0 / 220% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-position calc(.58s * var(--sf-sp, .72)) linear; }
.sf-ink.paint.go { background-position: 0 0; }
html[dir="rtl"] .sf-ink.paint { background-image: linear-gradient(270deg, var(--sf-end) 46%, var(--sf-pen) 54%); background-position: 0 0; }
html[dir="rtl"] .sf-ink.paint.go { background-position: 100% 0; }
/* the symbols stay beside the finished word */
.sf-sym { position: absolute; inset: 0; pointer-events: none; }
.sf-sym svg { position: absolute; max-width: none; overflow: visible; fill: none; }
.sf-sym path { stroke: #ff8a6b; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
html[data-theme="light"] .sf-sym path { stroke: #f06343; }
.sf-under { left: 0; bottom: .05em; width: 100%; height: .2em; }
html[dir="rtl"] .sf-under { transform: scaleX(-1); }
.sf-under path { stroke-width: 3; transition: stroke-dashoffset calc(.56s * var(--sf-sp, .72)) linear; }
.sf-sym.u .sf-under path { stroke-dashoffset: 0; opacity: 1; }
.sf-ico { inset-inline-end: -.68em; top: .1em; width: .56em; height: .56em; }
.sf-ico path { stroke-width: 2; transition: stroke-dashoffset calc(.5s * var(--sf-sp, .72)) linear; }
.sf-sym.i .sf-ico path { stroke-dashoffset: 0; opacity: 1; }
.sf-star { transform: scale(0) rotate(-40deg); transition: transform calc(.36s * var(--sf-sp, .72)) cubic-bezier(.3,1.6,.5,1); }
.sf-star path { fill: #ffc48a; stroke: none !important; stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1; }
html[data-theme="light"] .sf-star path { fill: #f59e0b; }
.sf-star.on { transform: none; }
.sf-star.a { inset-inline-start: -.14em; top: .02em; width: .24em; height: .24em; }
.sf-star.b { inset-inline-end: -.3em; bottom: .12em; width: .18em; height: .18em; }
.sf-h svg { transition: scale .12s; transform-origin: 16% 8%; } .sf-h.press svg { scale: .86; }
/* a finished word that must read as plain text, even inside a coral phrase: white on dark, dark on light */
.sf-w.sf-plain { color: #fff; }
html[data-theme="light"] .sf-w.sf-plain { color: var(--ink); }

/* ===== The top bar on scroll (v2-flow.js). The links keep the exact centre of the page whatever the logo does. =====
   The logo keeps its size, so its letters always have room to slide behind the mark: the same spring going down and going up.
   Before, the box shrank in under half a second and the letters vanished before they could move. */
nav.top { left: var(--nav-a, max(14px, calc((100% - var(--container)) / 2))); right: var(--nav-a, max(14px, calc((100% - var(--container)) / 2)));
  transition: left .62s var(--ease), right .62s var(--ease), top .62s var(--ease), padding .62s var(--ease), background-color .45s ease, box-shadow .62s var(--ease); }
nav.top #navlinks { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; z-index: 3; }
nav.top ul + .nav-end { margin-inline-start: auto; }
nav.top.sf-slim { left: var(--nav-b, var(--nav-a)); right: var(--nav-b, var(--nav-a)); top: 10px; padding-block: 6px; }
html:not([data-theme="light"]) nav.top.lg.sf-slim { background-color: rgba(8,10,34,.84) !important; box-shadow: 0 18px 40px -20px rgba(0,0,0,.75), 0 12px 34px -22px rgba(240,99,67,.45), inset 0 1px 0 rgba(255,255,255,.22) !important; }
html[data-theme="light"] nav.top.lg { background-color: rgba(255,255,255,.92) !important; }   /* over the dark hero the glass turned grey and the logo and links lost their contrast */
html[data-theme="light"] nav.top.lg.sf-slim { background-color: rgba(255,255,255,.92) !important; box-shadow: 0 16px 34px -20px rgba(17,19,68,.3), 0 12px 30px -24px rgba(240,99,67,.4), 0 0 0 .5px rgba(17,19,68,.08) !important; }
/* the logo: the official flat files (brand/silacod-logo.svg), no longer a drawing made in code (owner: "looks like a kid game", 2026-11-06).
   The word is navy on light and white on dark; "cod" stays orange. On scroll the word closes into the mark and opens again, the same motion both ways. */
.sc-logo { position: relative; display: block; height: 24px; aspect-ratio: 1907.62 / 389.28; color: #232863; transition: color .3s ease; }
html:not([data-theme="light"]) .sc-logo, footer.sf .sc-logo { color: #fff; }
.sc-logo svg { display: block; max-width: none; }
.sc-word { width: 100%; height: 100%; }
.sc-mark { position: absolute; top: 50%; left: 0; width: 22px; height: 30.6px; }
html[dir="rtl"] .sc-mark { left: auto; right: 0; }
nav.top .logo .sc-logo { height: 26px; }
footer .logo .sc-logo { height: 30px; }
.d-side .logo .sc-logo { height: 22px; }
.ob-logo .sc-logo { height: 20px; }
nav.top .sc-word { clip-path: inset(-2px); transition: clip-path .62s var(--ease), opacity .3s ease; }
nav.top .sc-mark { translate: 0 -50%; scale: .6; opacity: 0; transition: opacity .28s ease, scale .5s cubic-bezier(.34,1.56,.64,1); }
nav.top [data-compact="1"] .sc-word { clip-path: inset(-2px 100% -2px -2px); opacity: 0; transition: clip-path .62s var(--ease), opacity .3s ease .24s; }
html[dir="rtl"] nav.top [data-compact="1"] .sc-word { clip-path: inset(-2px -2px -2px 100%); }
nav.top [data-compact="1"] .sc-mark { scale: 1; opacity: 1; transition-delay: .16s; }
/* phones: the mark only, as before */
@media (max-width: 600px) {
  nav.top .logo .sc-logo { width: 22px; height: 30.6px; aspect-ratio: auto; }
  nav.top .sc-word { display: none; }
  nav.top .sc-mark, nav.top [data-compact="1"] .sc-mark { left: 0; right: auto; scale: 1; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { nav.top .sc-word, nav.top .sc-mark { transition: none; } }

/* the bar is too narrow for centred links (a long language on a small laptop): they move into the menu, as on a tablet */
nav.top.sf-tight #navlinks { display: none; }
nav.top.sf-tight .sm-btn { display: grid; }

/* the duplicate effect: red boxes and a live red measure while dragging, the size under a selection, a highlight when a name is selected */
.sf-box.bare i { display: none; }
.sf-box.bare { background: transparent; box-shadow: none; }
.sf-dim { position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; padding: 0 6px; border-radius: 4px; background: var(--c); color: #fff; font: 700 12px/1.6 Inter, sans-serif; font-style: normal; white-space: nowrap; }
.sf-gap { position: absolute; height: 1px; background: #ef4444; }
.sf-gap[hidden] { display: none; }
.sf-gap b { position: absolute; left: 50%; top: 8px; translate: -50% 0; padding: 0 6px; border-radius: 4px; background: #dc2626; color: #fff; font: 700 12px/1.6 Inter, sans-serif; }
.sf-all { background: rgba(37,99,235,.28); border-radius: 3px; }

/* ===== The main button of each page: a light travels round the edge, dots follow it, a soft shimmer turns inside.
   Silacod colours. Own names: the page already has a "shimmer" animation. Centred with left, not inset-inline-start, which flips in Arabic.
   Only the top button of each page uses it. The class replaces btn-coral, whose own gloss sits on the same ::before. ===== */
@property --sh-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --sh-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --sh-percent { syntax: "<percentage>"; initial-value: 5%; inherits: false; }
@property --sh-shine { syntax: "<color>"; initial-value: #ffffff; inherits: false; }
.btn-shiny { --sh-bg: #1b1f5c; --sh-soft: #343a8a; --sh-hi: #f06343; --sh-hi2: #ffb39f; --sh-time: 3s; --sh-move: .8s cubic-bezier(.25,1,.5,1);
  position: relative; isolation: isolate; overflow: hidden; border: 1px solid transparent; color: #fff; outline-offset: 4px;
  background: linear-gradient(var(--sh-bg), var(--sh-bg)) padding-box,
    conic-gradient(from calc(var(--sh-angle) - var(--sh-offset)), transparent, var(--sh-hi) var(--sh-percent), var(--sh-shine) calc(var(--sh-percent) * 2), var(--sh-hi) calc(var(--sh-percent) * 3), transparent calc(var(--sh-percent) * 4)) border-box;
  box-shadow: inset 0 0 0 1px var(--sh-soft), 0 16px 34px -16px rgba(240,99,67,.7);
  transition: --sh-offset var(--sh-move), --sh-percent var(--sh-move), --sh-shine var(--sh-move), transform .2s ease; }
.btn-shiny, .btn-shiny::before { animation: sh-turn var(--sh-time) linear infinite, sh-turn calc(var(--sh-time) / .4) linear infinite reverse paused; animation-composition: add; }
.btn-shiny::before, .btn-shiny::after, .btn-shiny span::before { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: -1; pointer-events: none; }
/* the dots that follow the light */
.btn-shiny::before { width: calc(100% - 6px); height: calc(100% - 6px); border-radius: inherit; opacity: .34;
  background: radial-gradient(circle at 2px 2px, #fff .5px, transparent 0) padding-box; background-size: 4px 4px; background-repeat: space;
  -webkit-mask-image: conic-gradient(from calc(var(--sh-angle) + 45deg), #000, transparent 10% 90%, #000); mask-image: conic-gradient(from calc(var(--sh-angle) + 45deg), #000, transparent 10% 90%, #000); }
/* the shimmer inside */
.btn-shiny::after { width: 100%; aspect-ratio: 1; opacity: .5; background: linear-gradient(-50deg, transparent, var(--sh-hi), transparent);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, #000); mask-image: radial-gradient(circle at bottom, transparent 40%, #000);
  animation: sh-spin var(--sh-time) linear infinite, sh-spin calc(var(--sh-time) / .4) linear infinite reverse paused; animation-composition: add; }
/* the warm glow on hover */
.btn-shiny span::before { width: calc(100% + 16px); height: calc(100% + 16px); opacity: 0; box-shadow: inset 0 -1ex 2rem 4px var(--sh-hi); transition: opacity .8s cubic-bezier(.25,1,.5,1); animation: sh-breathe 4.5s linear infinite; }
.btn-shiny:is(:hover, :focus-visible) { --sh-percent: 20%; --sh-offset: 95deg; --sh-shine: var(--sh-hi2); transform: translateY(-1px); }
.btn-shiny:is(:hover, :focus-visible), .btn-shiny:is(:hover, :focus-visible)::before, .btn-shiny:is(:hover, :focus-visible)::after { animation-play-state: running; }
.btn-shiny:is(:hover, :focus-visible) span::before { opacity: 1; }
.btn-shiny:active { transform: translateY(1px); }
.hero.sf-under .btn-shiny::before, .hero.sf-under .btn-shiny::after, .hero.sf-under .btn-shiny span::before { animation-play-state: paused !important; }
@keyframes sh-turn { to { --sh-angle: 360deg; } }
@keyframes sh-spin { to { rotate: 360deg; } }
@keyframes sh-breathe { 50% { scale: 1.2; } }
@media (prefers-reduced-motion: reduce) { .btn-shiny, .btn-shiny::before, .btn-shiny::after, .btn-shiny span::before { animation: none; } }

/* orange buttons: no moving light on the edge (owner, 2026-11-06). The glow on hover stays. */
.btn-coral::before { display: none; }

/* second buttons ("See it work"): plain text and icon, no box (owner, 2026-11-06). Colour alone shows the hover. */
html .btn.btn-glass, html .btn.btn-glass.lg, html[data-theme="light"] .btn.btn-glass.lg { background: none !important; border-color: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding-inline: 14px; transition: color .2s ease; }
html .btn.btn-glass.lg::before, html .btn.btn-glass.lg::after { display: none; }
html .btn.btn-glass:hover { color: #ff8a6b; }
html[data-theme="light"] .btn.btn-glass:hover { color: #cc4426; }
html[data-theme="light"] .hero .btn.btn-glass:hover { color: #ff8a6b; }

/* the small line at the top of the hero reads like the section labels: orange text, no logo, no pill (owner, 2026-11-06) */
html .hero .badge, html .hero .badge.lg, html[data-theme="light"] .hero .badge.lg { padding: 0; background: none !important; border-color: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: var(--coral) !important; font-size: 14px; font-weight: 800; letter-spacing: .02em; }
html .hero .badge.lg::before, html .hero .badge.lg::after { display: none; }

/* ===== The start section, cleaned (owner: "looks dirty", 2026-11-06) ===== */
/* one shape: the field has no box of its own inside the pill. The site-wide focus ring drew an orange rectangle there, so focus now shows on the pill */
.gm-bar input:focus-visible { outline: none !important; }
.gm-bar { background: #10123a; border-color: rgba(255,255,255,.14); box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); transition: border-color .2s ease, box-shadow .2s ease; }
.gm-bar:focus-within { border-color: rgba(240,99,67,.7); box-shadow: 0 0 0 4px rgba(240,99,67,.14), 0 24px 50px -30px rgba(0,0,0,.8); }
.gm-bar input { padding-inline: 12px; }
.gm-bar input::placeholder { color: rgba(214,216,245,.62); }
/* the blue and pink cloud behind the pill becomes one quiet warm light under it */
.gm-bar::before, .gm-bar:focus-within::before { inset: 30% 12% -34px; opacity: 1; filter: none; animation: none; background: radial-gradient(closest-side, rgba(240,99,67,.2), transparent); }
.gm-mic { background: rgba(255,255,255,.08); }
.gm-lead { color: rgba(214,216,245,.8); }
.gm-chips button { color: rgba(232,233,255,.86); }
/* one quiet line instead of a shiny green pill */
.gm-badges { gap: 0; }
.gm-free { overflow: visible; background: none; box-shadow: none; border: 0; animation: none; }
.gm-free:hover { transform: none; }
.gm-free::after { display: none; }
.gm-free-l { padding: 6px 4px; background: none; color: rgba(232,233,255,.86); transition: color .2s ease; }
.gm-free-l b { font-size: 14px; font-weight: 700; }
.gm-free-l svg { width: 18px; height: 18px; background: #16a34a; color: #fff; }
.gm-free:hover .gm-free-l { color: #fff; }
html[data-theme="light"] .gm-bar { background: #fff; border-color: rgba(17,19,68,.12); box-shadow: 0 20px 44px -30px rgba(17,19,68,.35); }
html[data-theme="light"] .gm-bar:focus-within { border-color: rgba(240,99,67,.7); box-shadow: 0 0 0 4px rgba(240,99,67,.12), 0 20px 44px -30px rgba(17,19,68,.35); }
html[data-theme="light"] .gm-bar::before { background: radial-gradient(closest-side, rgba(240,99,67,.1), transparent); }
html[data-theme="light"] .gm-bar input::placeholder { color: #667085; }
html[data-theme="light"] .gm-lead { color: var(--muted); }
html[data-theme="light"] .gm-free-l { color: #334155; }
html[data-theme="light"] .gm-free:hover .gm-free-l { color: #0f172a; }
/* phones: the section keeps the page margins, and the field gets a full line with the button under it */
@media (max-width: 560px) {
  .final.gm > .gm-col { width: var(--container); }
  .gm-bar { flex-wrap: wrap; border-radius: 28px; }
  .gm-bar input { flex: 1 1 0; }
  .gm-go { flex: 1 0 100%; justify-content: center; order: 3; }
}
@media (pointer: coarse), (max-width: 560px) { .gm-free-l { padding-block: 13px; } }   /* a comfortable tap on the link */

/* ===== The whole site at 85% on laptops and desktops (owner, 2026-11-06). Phones and tablets stay at 100%: smaller there, text and buttons get too small to read and tap.
   Under zoom a screen height (vh) renders at 85%, so the few blocks that must fill the screen are divided back. The hands work in screen pixels, so their layers undo the zoom. ===== */
@media screen and (min-width: 1024px) {
  html { zoom: .85; }
  .sf-layer, .sf-top, .hero-crew, #intro { zoom: 1.17647; }
  .hero { min-height: max(720px, calc(100svh / .85)); }
  .sticky { height: calc((100vh - 110px) / .85); }
  .hero-shots { inline-size: min(100%, 620px, max(390px, calc((100svh - 225px) / .85))); }
  .final.gm { min-height: calc(100svh / .85); }
}
@media screen and (min-width: 1024px) and (max-width: 1100px) {
  html.has-hero-video .hero { min-height: max(640px, calc(92svh / .85)); }
}
