/* ==========================================================================
   Giant Vision — "The Lens" experience layer (Milestone 3)
   Loaded after style.css / service.css on every page. Refines the existing
   system without changing its markup contract or the CMS.

   Direction
   - The logo is a lens: orange disc, cream ring, one highlight. The site looks
     *through a lens at real work*: a viewfinder frame for real projects,
     focus-pull text reveals, aperture image reveals.
   - Rhythm: loud (hero) → quiet editorial surfaces → moment (service finder)
     → proof (real photography) → loud close (contact).
   - Orange is a signal (hairlines, indices, active states), not a glow.
   - Logical properties only, so Arabic (RTL) and English (LTR) compose natively.
   ========================================================================== */

:root {
	--gv-ease: cubic-bezier(.16, 1, .3, 1);      /* expo-out: arrive fast, settle softly */
	--gv-ease-io: cubic-bezier(.65, 0, .35, 1);
	--gv-cream: #F0DEC6;                         /* sampled from the logo ring */
	--gv-radius: 14px;
	--gv-radius-sm: 10px;
	--gv-rule: 1px solid var(--border);
	--gv-band: #0C0B0A;                          /* warm black for alternating dark bands */
	--gv-section-y: clamp(84px, 9vw, 136px);
}
html[data-theme="light"] {
	--bg: #FBF7F1;                               /* paper: logo cream at ~25% */
	--bg-2: #F5ECDF;                             /* band: logo cream at ~55% */
	--surface: #FFFDF9;
	--surface-2: #F8F1E7;
	--border: rgba(60, 38, 12, .10);
	--border-2: rgba(60, 38, 12, .16);
	--gv-band: #F5ECDF;
	--fg-muted: #5E5850;                         /* warmer, AA on paper */
}

/* --------------------------------------------------------------------------
   1. Rhythm — calm surfaces; wave art only where it earns its place
   -------------------------------------------------------------------------- */
html[data-theme] :is(.stats, .about, .services, .process, .why-gv, .work-section) {
	background-image: none;
	padding-block: var(--gv-section-y);
}
html[data-theme] :is(.stats, .services, .why-gv) { background-color: var(--gv-band); }
html[data-theme] :is(.about, .process, .work-section) { background-color: var(--bg); }
html[data-theme] :is(.stats, .about, .services, .process, .why-gv, .work-section)::before,
html[data-theme] :is(.stats, .about, .services, .process, .why-gv, .work-section)::after { opacity: .0; }
/* the closing moment inherits the art the Work section no longer needs */
html[data-theme] .contact {
	background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 30%, color-mix(in srgb, var(--bg) 88%, transparent) 100%),
	            url("images/sec9_dark.png") center 70% / cover no-repeat;
	padding-block: var(--gv-section-y);
}
html[data-theme="light"] .contact {
	background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 80%, transparent) 30%, color-mix(in srgb, var(--bg) 90%, transparent) 100%),
	            url("images/sec9_light.png") center 70% / cover no-repeat;
}
/* decorative infographic flourishes become still */
/* the Why infographic (rings around the eye, lines to each reason) is already a lens: kept, made still */

/* --------------------------------------------------------------------------
   2. Typography — confident, clean; no glow, no 3D lettering
   -------------------------------------------------------------------------- */
html[data-theme] :is(.h2, .hero-title, .hero-title *, .s-hero h1, .s-section-hd h2) { text-shadow: none; }
html[data-theme] .grad-text,
html[data-theme] .hero-impact-text {
	background: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	-webkit-text-fill-color: currentColor;
	-webkit-text-stroke: 0;
	color: var(--brand);
	text-shadow: none;
	filter: none;
}
html[data-theme] .impact-word-anchor::before,
html[data-theme] .impact-word-anchor::after { display: none; }
html[data-theme] .h2 {
	font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -.02em;
	font-weight: 800;
	text-wrap: balance;
}
html[lang="ar"][data-theme] .h2 { letter-spacing: 0; line-height: 1.32; }   /* Arabic is never tracked */
html[data-theme] .section-sub { line-height: 1.75; color: var(--fg-muted); text-wrap: pretty; }

/* --------------------------------------------------------------------------
   3. Section headers — editorial eyebrow instead of pill badges
   -------------------------------------------------------------------------- */
html[data-theme] .chip {
	display: inline-flex;
	align-items: center;
	gap: .75em;
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin-bottom: 18px;
	font-size: .74rem;
	letter-spacing: .18em;
	color: var(--brand-text);
}
html[data-theme] .chip::before { content: ""; inline-size: 28px; block-size: 1px; background: currentColor; flex: none; }
html[data-theme] .chip-dot { display: none; }
html[lang="ar"][data-theme] .chip { letter-spacing: 0; font-size: .92rem; font-weight: 700; }

/* narrative sections read in the reading direction: title + intro side by side */
html[data-theme] :is(.about, .services, .process, .why-gv, .work-section) .section-hd {
	text-align: start;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	column-gap: clamp(24px, 5vw, 88px);
	align-items: end;
	margin-bottom: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(24px, 3vw, 36px);
	border-bottom: var(--gv-rule);
}
html[data-theme] :is(.about, .services, .process, .why-gv, .work-section) .section-hd > .chip { grid-column: 1 / -1; justify-self: start; }
html[data-theme] :is(.about, .services, .process, .why-gv, .work-section) .section-hd > .h2 { grid-column: 1; margin: 0; }
html[data-theme] :is(.about, .services, .process, .why-gv, .work-section) .section-hd > .section-sub {
	grid-column: 2; margin: 0; max-width: 46ch; justify-self: end; text-align: start;
}
@media (max-width: 860px) {
	html[data-theme] :is(.about, .services, .process, .why-gv, .work-section) .section-hd { grid-template-columns: 1fr; row-gap: 14px; }
	html[data-theme] :is(.about, .services, .process, .why-gv, .work-section) .section-hd > .section-sub { grid-column: 1; justify-self: start; }
}

/* --------------------------------------------------------------------------
   4. Surfaces & cards — flat, precise, one hover language
   -------------------------------------------------------------------------- */
html[data-theme] :is(.about-premium-card, .step, .why-ribbon, .scard, .stats-panel, .sf-card, .cinfo-item,
                     .s-flow-node, .s-deliv, .s-comp, .s-aud) {
	border-radius: var(--gv-radius);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
}
html[data-theme] :is(.about-premium-card, .step, .scard, .s-flow-node, .s-deliv, .s-comp, .s-aud) {
	background: var(--surface);
	border: var(--gv-rule);
	transition: transform .5s var(--gv-ease), border-color .35s ease, background-color .35s ease;
}
@media (hover: hover) {
	html[data-theme] :is(.about-premium-card, .step, .scard, .s-flow-node, .s-deliv, .s-comp, .s-aud):hover {
		transform: translateY(-3px);
		border-color: var(--border-brand);
	}
	html[data-theme] :is(.scard, .about-premium-card):hover :is(.scard-num, .apc-icon) { color: var(--brand-text); }
}
/* Service "How we work" below 900px, where the row becomes a vertical timeline: the 200px cap
   belongs to the desktop row, and with the card surface above it left a narrow box against one
   edge, its icon spilling over the border and the title touching the top. Full width, inner
   padding, the connector moved with the icon. Desktop is unchanged. */
@media (max-width: 900px) {
	html[data-theme] .s-flow-track { gap: 12px; }
	html[data-theme] .s-flow-node { max-width: none; padding: 16px 16px 20px; }
	html[data-theme] .s-flow-node:not(:last-child)::after { inset-inline-start: 43px; top: 72px; bottom: 12px; }
}
html[data-theme] .scard-num { font-variant-numeric: tabular-nums; transition: color .35s ease; }
html[data-theme] .stats-panel { background: transparent; border: 0; }
html[data-theme] .stat-val { text-shadow: none; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
html[data-theme] .stat-icon { box-shadow: none; background: transparent; }
html[data-theme] .stat:hover .stat-icon { box-shadow: none; background: var(--brand-a08); }
html[data-theme] .stat { border-inline-start: var(--gv-rule); }
html[data-theme] .stat:first-child { border-inline-start: 0; }

/* --------------------------------------------------------------------------
   5. Buttons, links & focus — tactile, accessible
   -------------------------------------------------------------------------- */
html[data-theme] :is(.btn, .btn-ghost, .btn-outline) {
	border-radius: 12px;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .25s var(--gv-ease), box-shadow .3s ease;
}
html[data-theme] .btn { box-shadow: none; }
@media (hover: hover) {
	html[data-theme] .btn:hover { background: var(--brand-h); transform: translateY(-1px); box-shadow: 0 10px 24px -14px var(--brand); }
	html[data-theme] :is(.btn-ghost, .btn-outline):hover { border-color: var(--brand); color: var(--brand-text); }
}
html[data-theme] :is(.btn, .btn-ghost, .btn-outline):active { transform: translateY(0) scale(.98); }
html[data-theme] :is(a, button, [role="button"], input, select, textarea, .tab):focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
	border-radius: 8px;
}

/* M4.16-B — keyboard structure
   - focus never lands under the sticky header (the browser keeps this much room above
     a focused / scrolled-to element);
   - a skip link, invisible until it receives focus;
   - regions that receive focus from script (skip target, in-page jumps, the open menu
     panel) do not draw a ring around the whole region: the focus is a reading position. */
html { scroll-padding-top: calc(var(--nav-h, 72px) + 24px); }
html:has(.s-navbar) { scroll-padding-top: 120px; }
.gv-skip {
	position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 10000;
	padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none;
	background: var(--brand); color: #141414; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5);
	transform: translateY(-160%); transition: transform .2s ease;
}
.gv-skip:focus, .gv-skip:focus-visible { transform: none; outline: 2px solid var(--fg); outline-offset: 2px; }
:is(main, section, div, nav, h1, h2, h3)[tabindex="-1"]:focus { outline: none; }

/* M4.16 — the visitor's motion control (gv-motion.js §12). Same chrome as the theme
   button beside it; the glyph is the Lens aperture while motion runs, a still (pause)
   glyph once it is paused. A tooltip that also appears on keyboard focus (a title=
   would not), placed under the button, never over the page content. */
.motion-toggle { position: relative; }
.motion-toggle .icon-still, .motion-toggle-m .icon-still { display: none; }
.motion-toggle.is-paused .icon-aperture, .motion-toggle-m.is-paused .icon-aperture { display: none; }
.motion-toggle.is-paused .icon-still, .motion-toggle-m.is-paused .icon-still { display: block; }
:is(.motion-toggle, .motion-toggle-m)[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.motion-toggle-m { display: inline-flex; align-items: center; gap: 8px; }
.motion-toggle[data-tip]::after {
	content: attr(data-tip); position: absolute; inset-block-start: calc(100% + 10px); left: 50%; transform: translateX(-50%);
	white-space: nowrap; padding: 6px 10px; border-radius: 8px; font-size: .78rem; font-weight: 600; line-height: 1.3;
	background: var(--surface); color: var(--fg); border: 1px solid var(--border-2); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .45);
	opacity: 0; pointer-events: none; transition: opacity .15s ease; z-index: 30;
}
@media (hover: hover) { .motion-toggle[data-tip]:hover::after { opacity: 1; } }
.motion-toggle[data-tip]:focus-visible::after { opacity: 1; }
html[data-theme] .navbar .theme-toggle.motion-toggle:hover svg { transform: none; }   /* the theme button's tilt is not this button's gesture */
/* service / campaign menu: the motion and language controls the narrow header hands over */
.s-nav-menu-utils { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.s-nav-menu-utils .motion-toggle-m { gap: 7px; }
/* Narrow phones: the header keeps logo, theme and menu; the motion control (and, at <=400px,
   the language switch) moves into the menu, which carries both. The privacy page has no menu
   and no autoplaying motion (its logo sheen is hover/focus only), so it needs no header control there. */
@media (max-width: 480px) {
	html[data-theme] :is(.nav-wrap, .s-nav-wrap) { padding-inline: 18px; }
	:is(.nav-utils, .s-nav-utils) > .motion-toggle { display: none; }
}
@media (max-width: 400px) {
	.nav-wrap:has(> [data-mobile-open]) > .nav-utils > .lang-toggle,
	.s-nav-utils > .lang-toggle { display: none; }
}

/* --------------------------------------------------------------------------
   6. Navigation — a quiet header that firms up on scroll; clear active state
   -------------------------------------------------------------------------- */
html[data-theme] .navbar { transition: background-color .35s ease, border-color .35s ease, height .35s var(--gv-ease); }
html[data-theme] .navbar.scrolled { backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
html[data-theme] .nav-link { position: relative; background: none; }
html[data-theme] .nav-link::after {
	content: ""; position: absolute; inset-inline: 12px; inset-block-end: 4px; block-size: 2px; border-radius: 2px;
	background: var(--brand); transform: scaleX(0); transform-origin: var(--gv-origin-start, right);
	transition: transform .45s var(--gv-ease);
}
html[dir="ltr"] { --gv-origin-start: left; }
html[data-theme] .nav-link.active { color: var(--fg); background: none; }
html[data-theme] .nav-link.active::after,
html[data-theme] .nav-link:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   7. Hero — editorial composition + the viewfinder of real work
   -------------------------------------------------------------------------- */
html[data-theme] .hero { text-align: start; justify-content: stretch; }
html[data-theme] .hero-content {
	max-width: 1240px;
	inline-size: 100%;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	grid-template-areas: "eyebrow frame" "title frame" "desc frame" "actions frame" "badges frame";
	column-gap: clamp(32px, 6vw, 104px);
	align-content: center;
	align-items: start;
}
html[data-theme] .hero-eyebrow { grid-area: eyebrow; justify-content: flex-start; gap: .75em; letter-spacing: .2em; font-size: .8rem; font-weight: 700; color: var(--brand-text); }
html[lang="ar"][data-theme] .hero-eyebrow { letter-spacing: 0; font-size: 1rem; }
html[data-theme] .hero-eyebrow .hero-dot { display: none; }
html[data-theme] .hero-eyebrow::before { content: ""; inline-size: 28px; block-size: 1px; background: currentColor; }
html[data-theme] .hero-title {
	grid-area: title;
	font-size: clamp(2.7rem, 1.2rem + 5.4vw, 5.9rem);
	line-height: 1.02;
	letter-spacing: -.035em;
	margin-block: 18px 22px;
}
html[lang="ar"][data-theme] .hero-title { letter-spacing: 0; line-height: 1.2; }
html[data-theme] .hero-title > span { display: block; }
html[data-theme] .hero-desc { grid-area: desc; margin-inline: 0; max-width: 48ch; color: var(--fg-2); }
html[data-theme] .hero-actions { grid-area: actions; justify-content: flex-start; margin-block-start: 30px; }
html[data-theme] .hero-badges {
	grid-area: badges; justify-content: flex-start; gap: 0; margin-block-start: 34px; flex-wrap: wrap;
}
html[data-theme] .hbadge {
	background: none; border: 0; border-radius: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
	font-size: .82rem; color: var(--fg-muted);
}
html[data-theme] .hbadge + .hbadge::before { content: "·"; margin-inline: .7em; color: var(--brand); }
html[data-theme] .hbadge-icon { display: none; }
/* photograph and art read behind the text, never compete with it */
/* darken the text side (inline-start) and let the art breathe toward the photograph */
html[data-theme] .hero-photo::after {
	background: linear-gradient(to var(--gv-away, left), color-mix(in srgb, var(--bg) 78%, transparent) 0%, color-mix(in srgb, var(--bg) 52%, transparent) 42%, transparent 78%);
}
html[dir="ltr"] { --gv-away: right; }

@media (max-width: 900px) {
	html[data-theme] .hero-content { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "desc" "actions" "frame" "badges"; }
	html[data-theme] .hero-badges { margin-block-start: 28px; }
}

/* service-area marquee: quieter, slower, pausable */
html[data-theme] .marquee-band { background: var(--bg); padding-block: 14px; }
html[data-theme] .marquee-track { animation-duration: 70s; }
html[data-theme] .marquee-band:hover .marquee-track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   8. Work — real photography, presented like contact sheets through a lens
   -------------------------------------------------------------------------- */
html[data-theme] .work-tile { border-radius: var(--gv-radius-sm); overflow: hidden; isolation: isolate; }
html[data-theme] .work-tile img { transition: transform 1.2s var(--gv-ease), filter .6s ease; }
html[data-theme] .work-tile figcaption { transition: transform .6s var(--gv-ease), opacity .4s ease; }
html[data-theme] .work-tile::after {   /* viewfinder corners on focus/hover */
	content: ""; position: absolute; inset: 14px; pointer-events: none; z-index: 2; opacity: 0;
	transition: opacity .35s ease, inset .5s var(--gv-ease);
	--c: rgba(255, 255, 255, .9); --l: 18px; --w: 1.5px;
	background:
		linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w),
		linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
		linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w),
		linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l),
		linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w),
		linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
		linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w),
		linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
	background-repeat: no-repeat;
}
@media (hover: hover) {
	html[data-theme] .work-tile:hover img { transform: scale(1.035); }
	html[data-theme] .work-tile:hover::after { opacity: 1; inset: 10px; }
}

/* --------------------------------------------------------------------------
   9. Motion system — focus-pull for text, aperture for photographs
   -------------------------------------------------------------------------- */
html[data-theme] :is(.reveal, .reveal-left, .reveal-right) {
	transform: translate3d(0, 18px, 0);
	transition: opacity .8s var(--gv-ease), transform .9s var(--gv-ease), filter .8s var(--gv-ease);
}
/* in view at load: present immediately (see initReveals in shared.js) */
html[data-theme] .gv-instant, html[data-theme] .gv-instant img { transition: none !important; }
html[data-theme] .work-tile.gv-instant img { clip-path: none; }
/* blur ("coming into focus") only on text: cheap and meaningful */
html[data-theme] :is(.h2, .section-sub, .hero-line-1, .hero-impact, .hero-desc).reveal:not(.visible) { filter: blur(6px); }
html[data-theme] :is(.reveal, .reveal-left, .reveal-right).visible { transform: none; filter: none; }
html[data-theme] .reveal-left:not(.visible)  { transform: translate3d(calc(-24px * var(--gv-dir, 1)), 0, 0); }
html[data-theme] .reveal-right:not(.visible) { transform: translate3d(calc(24px * var(--gv-dir, 1)), 0, 0); }
html[dir="rtl"] { --gv-dir: -1; }                                     /* motion follows reading direction */
/* aperture: photographs open from the centre like a lens */
html[data-theme] .work-tile.reveal { transform: none; }
html[data-theme] .work-tile.reveal img { clip-path: inset(9% 9% 9% 9% round 10px); transition: clip-path 1.1s var(--gv-ease), transform 1.2s var(--gv-ease); }
html[data-theme] .work-tile.reveal.visible img { clip-path: inset(0 0 0 0 round 0); }

/* purposeless infinite loops are retired (they cost mobile battery and say nothing) */
/* (selectors taken from style.css / service.css; the marquee is the only loop kept) */
html[data-theme] :is(.hero-dot, .chip-dot, .wave-glow-xl, .wave-glow-lg, .wave-glow-sm, .wave-glow-drift, .wave-arc-1, .wave-arc-2,
                     .wave-arc-3, .wave-dot, .cta-converge .cc-line, .cta-converge .cc-core, .s-hero-dot, .s-flow-arrow .ff-flow,
                     .s-converge-lines .cv-line) { animation: none; }
/* pseudo-elements cannot live inside :is(), so they are listed plainly */
html[data-theme] .impact-word-anchor::before, html[data-theme] .impact-word-anchor::after,
html[data-theme] .step-icon::before, html[data-theme] .why-circle-core::before, html[data-theme] .stat-icon::before,
html[data-theme] .acard-icon::before, html[data-theme] .s-hero::before, html[data-theme] .s-hero::after,
html[data-theme] .s-section.alt::before, html[data-theme] .s-final-cta::before, html[data-theme] .s-final-cta::after,
html[data-theme] .s-footer::before, html[data-theme] .s-comp-icon::before, html[data-theme] .s-aud-icon::before,
html[data-theme] .s-step:not(:last-child)::after, html[data-theme] .s-step-n::before, html[data-theme] .s-flow-icon::before,
html[data-theme] .s-flow-node:not(:last-child)::after, html[data-theme] .s-converge-core::before { animation: none; }

/* --------------------------------------------------------------------------
   10. Contact — details read as information, not placeholders
   -------------------------------------------------------------------------- */
html[data-theme] :is(.cinfo-item, .channel-card) a { color: inherit; text-decoration: none; border-block-end: 1px solid var(--border-brand); transition: color .3s, border-color .3s; }
html[data-theme] :is(.cinfo-item, .channel-card) a:hover { color: var(--brand-text); border-color: var(--brand); }
.gv-tel { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   11. Service & campaign pages — same language, their own rhythm
   -------------------------------------------------------------------------- */
html[data-theme] .s-section-hd { text-align: start; }
html[data-theme] .s-section { padding-block: clamp(72px, 8vw, 120px); }
html[data-theme] .s-section:nth-of-type(even) { background-color: var(--gv-band); }
html[data-theme] .s-flow-n { color: var(--brand-text); font-variant-numeric: tabular-nums; }
html[data-theme] .s-whatsapp-btn { border-radius: 12px; }

/* --------------------------------------------------------------------------
   12. Reduced motion — everything is simply there
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html[data-theme] :is(.reveal, .reveal-fade, .reveal-left, .reveal-right) { opacity: 1; transform: none; filter: none; transition: none; }
	html[data-theme] .work-tile.reveal img { clip-path: none; transition: none; }
	html[data-theme] .marquee-track { animation: none; }
	html[data-theme] :is(.btn, .btn-ghost, .btn-outline, .scard, .step, .about-premium-card, .work-tile img) { transition: none; }
}

/* --------------------------------------------------------------------------
   Review round 2 (self-critique fixes)
   -------------------------------------------------------------------------- */
/* hero text truly follows the reading direction (legacy rules centred lines) */
html[data-theme] :is(.hero-title, .hero-title > span, .hero-desc, .hero-eyebrow) { text-align: start; }
/* stats read as clean information: no inherited text shadows anywhere */
html[data-theme] .stats, html[data-theme] .stats * { text-shadow: none; }
/* finder answers: paper cards with a precise hover, not grey slabs */
html[data-theme] .sf-option { background: var(--surface); border: 1px solid var(--border); border-radius: var(--gv-radius-sm); box-shadow: none; }
@media (hover: hover) { html[data-theme] .sf-option:hover { border-color: var(--brand); background: var(--surface); transform: translateY(-1px); } }
html[data-theme] .sf-option.selected { border-color: var(--brand); background: var(--brand-a05); }
/* hero lines are flex items: align them to the reading start, not the centre */
html[data-theme] .hero-title { align-items: flex-start; }
html[data-theme] .hero-impact { justify-content: flex-start; }
@media (max-width: 900px) {
	html[data-theme] .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
	html[data-theme] .hero-actions > a { justify-content: center; inline-size: 100%; }
}
@media (min-width: 600px) and (max-width: 900px) { html[data-theme] .hero-actions { max-inline-size: 420px; } }

/* Service & campaign pages follow the same rhythm as the homepage: art only on the
   hero and the closing CTA band; content sections are calm. service.css paints the
   section art through ::after under many :has()/nth-of-type rules of varying
   specificity, so !important is the deliberate, contained override here. */
html[data-theme] .s-section::after { background-image: none !important; opacity: 0 !important; }
html[data-theme] .s-section:not(.s-form-section) { background-color: var(--bg); }
html[data-theme] .s-section.alt { background-color: var(--gv-band); }
/* one header decoration only: the editorial eyebrow replaces the old top bar */
html[data-theme] .s-section-hd::before { display: none !important; }
html[data-theme] .s-section-hd, html[data-theme] .s-section-hd :is(h2, p) { text-align: start; margin-inline: 0; }
html[data-theme] .s-section-hd { display: block; align-items: start; }
/* About: one header decoration only (the eyebrow); these headers stay centred on
   purpose — the values grid and team gallery are symmetric compositions */
html[data-theme] :is(.about-values, .about-team) .section-hd::before { display: none; }

/* ==========================================================================
   Milestone 4 — "The Living Lens"
   One optical system for the homepage. The logo is an eye/lens lit from its
   upper corner (the cream notch); every element below follows that light:
   the hero lens and its glint, the ambient room light, the logo sweep, the
   stats' optical rings and the services' index. Shared timing: quick .35s
   for feedback, .9s expo-out for objects settling.
   ========================================================================== */
:root {
	--gv-t-quick: .35s;
	--gv-t-move: .9s;
	--gv-light: 255, 246, 232;                    /* warm studio light (rgb) */
	--gv-lens-d: clamp(300px, min(35vw, calc(100vh - 390px)), 540px);
	--gv-lens-x: 72%;                             /* where the lens sits, physically */
	--gv-shadow-c: rgba(0, 0, 0, .55);
	--gv-tick: rgba(255, 255, 255, .34);
}
html[dir="rtl"] { --gv-lens-x: 28%; }
html[data-theme="light"] { --gv-shadow-c: rgba(60, 38, 12, .26); --gv-tick: rgba(40, 26, 10, .30); }
.gv-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }

/* ---- Hero composition -------------------------------------------------- */
@media (min-width: 901px) {
	html[data-theme] .hero-content { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(32px, 5vw, 88px); }
}
html[data-theme] .hero-desc { font-size: clamp(1rem, .94rem + .3vw, 1.14rem); line-height: 1.85; }
/* the paragraph is the largest text in the first view: it is present from the first paint
   (a short rise, no fade) so reading — and LCP — never waits for an entrance */
html[data-theme] .hero-desc.reveal, html[data-theme] .hero-desc.reveal:not(.visible) { opacity: 1; filter: none; }

/* the room: art plate drifts a few pixels against the pointer for depth */
html[data-theme] .hero-photo {
	transform: translate3d(calc(var(--nx, 0) * -12px), calc(var(--ny, 0) * -9px), 0) scale(1.05);
	will-change: transform;
}
.gv-ambient { position: absolute; inset: -80px; pointer-events: none; }   /* fixed overscan: never moves as the hero settles (no CLS) */
/* cinematic floor: the art settles into the page, the lens caption always reads */
/* (layered into the photo's own overlay, which is top-anchored, so it never registers as a layout shift) */
html[data-theme] .hero-photo::after {
	background:
		linear-gradient(to bottom, transparent 64%, color-mix(in srgb, var(--bg) 70%, transparent) 86%, var(--bg) 100%),
		linear-gradient(to var(--gv-away, left), color-mix(in srgb, var(--bg) 78%, transparent) 0%, color-mix(in srgb, var(--bg) 52%, transparent) 42%, transparent 78%);
}
@media (max-width: 900px) {
	html[data-theme] .hero-photo::after {
		background:
			linear-gradient(to bottom, color-mix(in srgb, var(--bg) 55%, transparent) 0, color-mix(in srgb, var(--bg) 18%, transparent) 120px, color-mix(in srgb, var(--bg) 22%, transparent) 60%, var(--bg) 100%);
	}
}
/* slow change in the room's light, centred on the lens (an ellipse, not a glow ball) */
.gv-ambient::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 30% 26% at var(--gv-lens-x) 44%, rgba(232, 117, 26, .17), transparent 72%),
		radial-gradient(ellipse 60% 30% at calc(var(--gv-lens-x) + 4%) 6%, rgba(var(--gv-light), .05), transparent 70%);
	animation: gvRoomLight 28s var(--gv-ease-io) infinite alternate;
}
/* one long reflection that answers the pointer (still when the visitor is still) */
.gv-ambient::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(104deg, transparent 38%, rgba(var(--gv-light), .035) 47%, rgba(var(--gv-light), .07) 50%, rgba(var(--gv-light), .035) 53%, transparent 62%);
	transform: translate3d(calc(var(--nx, 0) * 46px), 0, 0);
}
html[data-theme="light"] .gv-ambient::before {
	background: radial-gradient(ellipse 30% 26% at var(--gv-lens-x) 44%, rgba(232, 117, 26, .13), transparent 72%);
}
html[data-theme="light"] .gv-ambient::after { opacity: .0; }
@keyframes gvRoomLight {
	0%   { transform: translate3d(-1.5%, 1%, 0) scale(1);    opacity: .7; }
	55%  { opacity: 1; }
	100% { transform: translate3d(1.5%, -1.5%, 0) scale(1.07); opacity: .82; }
}
.hero.gv-off .gv-ambient::before { animation-play-state: paused; }

/* ---- The lens ------------------------------------------------------------ */
.gv-lens {
	grid-area: frame; grid-row: 1 / -1; align-self: center; justify-self: center;
	position: relative; margin: 0; z-index: 1;
	display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3vh, 34px);
}
.gv-lens-stage { position: relative; inline-size: var(--gv-lens-d); aspect-ratio: 1; perspective: 1100px; }
/* the lens is grounded: a soft contact shadow and the caustic it focuses on the floor */
.gv-lens-stage::before {
	content: ""; position: absolute; inset-inline: 10%; inset-block-end: -11%; block-size: 16%; border-radius: 50%;
	background:
		radial-gradient(closest-side, rgba(232, 117, 26, .30), transparent) calc(30% + var(--nx, 0) * -8%) 60% / 40% 70% no-repeat,
		radial-gradient(closest-side, var(--gv-shadow-c), transparent);
	transform: translate3d(calc(var(--nx, 0) * -16px), 0, 0) scaleX(calc(1 - var(--ny, 0) * .08));
	filter: blur(2px);
}
.gv-lens-body {
	position: absolute; inset: 0; transform-style: preserve-3d;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.gv-lens.is-engaged .gv-lens-body { will-change: transform; }
/* outer line echoes the logo's orange disc — as a hairline, not a fill */
.gv-lens-body::before {
	content: ""; position: absolute; inset: 1.6%; border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent);
	transform: translateZ(2px);
}
/* focus scale: turns a few degrees as the visitor moves, like a focus ring */
.gv-lens-scale {
	position: absolute; inset: -5.5%; inline-size: 111%; block-size: 111%; overflow: visible;
	transform: translateZ(-28px) rotate(calc(var(--nx, 0) * 16deg));
}
.gv-lens-scale line { stroke: var(--gv-tick); stroke-width: .4; stroke-linecap: round; opacity: .55; }
.gv-lens-scale line.is-major { opacity: 1; stroke-width: .5; }
.gv-lens-scale line.is-index { stroke: var(--brand); stroke-width: 1; opacity: 1; }
/* the glass: real photography seen through the aperture */
.gv-lens-glass {
	position: absolute; inset: 6.5%; border-radius: 50%; overflow: hidden; isolation: isolate;
	background: var(--surface-2);
	clip-path: circle(50% at 50% 50%);
	transition: clip-path .75s var(--gv-ease);
}
.gv-lens:not(.is-open) .gv-lens-glass { clip-path: circle(30% at 50% 50%); }
.gv-lens-slide {
	position: absolute; inset: 0; opacity: 0;
	transform: translate3d(calc(var(--nx, 0) * -18px), calc(var(--ny, 0) * -18px), 0);   /* refraction: the scene shifts against the glass */
}
.gv-lens-slide.is-on { opacity: 1; z-index: 2; transition: opacity .95s var(--gv-ease-io); }
.gv-lens-slide.is-leaving { z-index: 1; transition: opacity .95s var(--gv-ease-io) .1s; }
.gv-lens-slide img {
	inline-size: 100%; block-size: 100%; object-fit: cover; display: block;
	transform: scale(1.2); filter: blur(5px);
	transition: transform 1.6s var(--gv-ease), filter .9s var(--gv-ease);
}
.gv-lens-slide.is-on img { filter: blur(0); }
.gv-lens.is-open .gv-lens-slide.is-on img { transform: scale(1.12); }      /* the lens finds focus */
/* project change: the outgoing image drifts out of focus while the next one pulls in */
.gv-lens-slide.is-leaving img { transform: scale(1.15); filter: blur(4px); transition: transform 1.1s var(--gv-ease-io), filter .7s ease; }
/* … the aperture breathes once and the glass catches a little more light */
.gv-lens-body::after {   /* aperture breath: an inner ring of shadow that fades in and out (opacity only) */
	content: ""; position: absolute; inset: 6.5%; border-radius: 50%; pointer-events: none; opacity: 0;
	box-shadow: inset 0 0 0 calc(var(--gv-lens-d) * .016) rgba(0, 0, 0, .78), inset 0 0 calc(var(--gv-lens-d) * .05) rgba(0, 0, 0, .5);
	transform: translateZ(1px);
}
.gv-lens.is-refocus .gv-lens-body::after { animation: gvAperture 1.15s var(--gv-ease-io); }
.gv-lens.is-refocus .gv-lens-glint { animation: gvGlint 1.2s var(--gv-ease-io); }
@keyframes gvAperture { 0%, 100% { opacity: 0; } 38% { opacity: 1; } }
@keyframes gvGlint { 0%, 100% { filter: brightness(1); } 40% { filter: brightness(1.55); } }
/* inside of the glass: vignette, curvature, a faint chromatic fringe */
.gv-lens-glass::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none;
	background: radial-gradient(circle at 50% 46%, transparent 56%, rgba(0, 0, 0, .22) 82%, rgba(0, 0, 0, .52) 100%);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .14),
		inset 0 0 3px 1px rgba(232, 117, 26, .35),
		inset 0 22px 44px -24px rgba(var(--gv-light), .45),
		inset 0 -30px 60px -24px rgba(0, 0, 0, .55);
}
/* the bezel: champagne metal taken from the logo's cream ring; its reflection turns with the light */
.gv-lens-rim {
	--rim: calc(var(--gv-lens-d) * .028 + 3px);
	position: absolute; inset: calc(6.5% - var(--rim) + 2px); border-radius: 50%; pointer-events: none;
	background: conic-gradient(from calc(210deg + var(--nx, 0) * 50deg - var(--ny, 0) * 20deg),
		#F3E4CE, #A88D6E 16%, #F8EEDF 30%, #6F5A45 48%, #E7D0B2 64%, #8E7559 82%, #F3E4CE);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--rim)), #000 calc(100% - var(--rim) + 1px));
	        mask: radial-gradient(farthest-side, transparent calc(100% - var(--rim)), #000 calc(100% - var(--rim) + 1px));
	transform: translateZ(10px);
}
html[data-theme="light"] .gv-lens-rim {
	background: conic-gradient(from calc(210deg + var(--nx, 0) * 50deg - var(--ny, 0) * 20deg),
		#FBF2E4, #CDB393 16%, #FFF8EE 30%, #A88C6C 48%, #F3E2CA 64%, #BFA27F 82%, #FBF2E4);
}
/* specular highlight: where the logo keeps its highlight (upper corner), moving opposite the pointer */
.gv-lens-glint {
	position: absolute; inset: 6.5%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
	background:
		radial-gradient(circle at calc(72% - var(--nx, 0) * 10%) calc(23% - var(--ny, 0) * 9%), rgba(var(--gv-light), .52) 0, rgba(var(--gv-light), .18) 4.5%, transparent 9%),
		radial-gradient(ellipse 46% 30% at calc(66% - var(--nx, 0) * 12%) calc(20% - var(--ny, 0) * 10%), rgba(var(--gv-light), .22), transparent 70%),
		radial-gradient(ellipse 60% 22% at 40% 96%, rgba(232, 117, 26, .16), transparent 70%);
	transform: translateZ(18px);
	opacity: 0; transition: opacity 1s ease .9s;
}
.gv-lens.is-open .gv-lens-glint { opacity: 1; }

/* caption: an editorial credit line, not a slideshow control bar */
.gv-lens-cap {
	inline-size: min(100%, calc(var(--gv-lens-d) + 24px));
	display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kicker all" "title nav";
	grid-template-rows: 22px 40px;                /* font-independent: no shift when the webfont arrives */
	align-items: center; column-gap: 20px; row-gap: 10px; line-height: 22px;
	padding-block-start: 16px; border-block-start: 1px solid var(--border-2);
	color: var(--fg); text-align: start;
}
.gv-lens-kicker { grid-area: kicker; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); }
html[lang="ar"] .gv-lens-kicker { letter-spacing: 0; font-size: .84rem; }
.gv-lens-title { grid-area: title; display: flex; align-items: baseline; gap: 12px; flex-wrap: nowrap; min-inline-size: 0; overflow: hidden; white-space: nowrap; }
.gv-lens-title > * { overflow: hidden; text-overflow: ellipsis; }
.gv-lens-title strong { font-size: 1.12rem; font-weight: 800; }
.gv-lens-title small { font-size: .84rem; color: var(--fg-muted); }
.gv-lens-title small::before { content: ""; display: inline-block; inline-size: 14px; block-size: 1px; background: var(--brand); vertical-align: middle; margin-inline-end: 10px; }
.gv-lens-all {
	grid-area: all; justify-self: end; font-size: .82rem; font-weight: 700; color: var(--fg-2);
	text-decoration: none; border-block-end: 1px solid var(--border-brand); padding-block-end: 2px;
	transition: color var(--gv-t-quick) ease, border-color var(--gv-t-quick) ease;
}
.gv-lens-all:hover { color: var(--brand-text); border-color: var(--brand); }
.gv-lens-nav { grid-area: nav; display: inline-flex; align-items: center; gap: 10px; }
.gv-lens-nav[hidden] { display: none; }
.gv-lens-btn {
	inline-size: 40px; block-size: 40px; border-radius: 50%; display: inline-grid; place-items: center;
	background: transparent; border: 1px solid var(--border-2); color: var(--fg); cursor: pointer;
	transition: border-color var(--gv-t-quick) ease, color var(--gv-t-quick) ease, transform .25s var(--gv-ease), background-color var(--gv-t-quick) ease;
}
@media (hover: hover) { .gv-lens-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-a05); } }
.gv-lens-btn:active { transform: scale(.94); }
html[dir="ltr"] .gv-lens-btn svg { transform: scaleX(-1); }
.gv-lens-count { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; font-size: .8rem; letter-spacing: .1em; color: var(--fg-2); min-inline-size: 4.4em; text-align: center; }
.gv-lens-count b { color: var(--brand-text); font-weight: 800; }
.gv-lens-count i { font-style: normal; margin-inline: .35em; opacity: .6; }

@media (max-width: 900px) {
	/* content is taller than the screen here, so centring only mattered for partial
	   (progressive) paints — and made them jump. Top-aligned, they land in place. */
	html[data-theme] .hero { align-items: flex-start; }
	:root { --gv-lens-d: min(78vw, 400px); }
	.gv-lens { grid-row: auto; margin-block-start: 56px; justify-self: center; }
	.gv-ambient::before { animation: none; }
	.gv-ambient::after { display: none; }
	.gv-lens-slide img, .gv-lens-slide.is-leaving img { filter: none; }     /* phones: crossfade + refocus scale, no blur */
	html[data-theme] .hero-photo { transform: none; will-change: auto; }
}
@media (max-width: 420px) {
	.gv-lens-cap { grid-template-columns: 1fr; grid-template-rows: 22px 26px 40px 22px; grid-template-areas: "kicker" "title" "nav" "all"; justify-items: start; }
	.gv-lens-all { justify-self: start; }
}

/* ---- Logo: one light sweep over the original mark (hover / keyboard focus) */
.gv-sheen { position: relative; display: block; line-height: 0; flex-shrink: 0; }
.gv-sheen::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
	-webkit-mask: var(--gv-logo-mask, url("/images/logo.png")) center / contain no-repeat;
	        mask: var(--gv-logo-mask, url("/images/logo.png")) center / contain no-repeat;
	background: linear-gradient(115deg, transparent 44%, rgba(var(--gv-light), 0) 45.5%, rgba(var(--gv-light), .82) 50%, rgba(var(--gv-light), 0) 54.5%, transparent 56%) 0 0 / 300% 100% no-repeat;
}
@media (hover: hover) {
	:is(.nav-logo, .s-nav-logo):hover .gv-sheen::after { opacity: 1; background-position: 100% 0; transition: background-position 1.1s var(--gv-ease-io), opacity .12s linear; }
}
:is(.nav-logo, .s-nav-logo):focus-visible .gv-sheen::after { opacity: 1; background-position: 100% 0; transition: background-position 1.1s var(--gv-ease-io), opacity .12s linear; }

/* ---- M4.14 · Theme-aware official lockup ----------------------------------
   Both official variants are in the markup; the theme attribute (set by the inline
   head script before first paint) shows exactly one, so the right logo is there on the
   first frame, switches instantly, and never shifts layout. Files: images/logo-on-dark.png
   (white wordmark, for dark surfaces) and images/logo-on-light.png (black wordmark, for
   light surfaces) — derived without redrawing by scripts/derive_theme_logos.py. Each
   file is cropped to the mark's diameter, so one CSS height gives both the same mark.
   The lockup carries the wordmark, so the old typed "GIANT VISION" is hidden (the
   load-error fallback still restores it inline). Height: the mark keeps about its
   previous on-screen size (33px desktop / 26px phone before). */
.gv-logo { display: block; line-height: 0; flex-shrink: 0; }
.gv-logo > img { display: block; height: 36px; width: auto; max-width: none; object-fit: contain; }
html[data-theme="light"] .gv-logo > .gv-logo-d,
html:not([data-theme="light"]) .gv-logo > .gv-logo-l { display: none; }
:is(.footer-logo-wrap, .s-footer-logo-wrap) .gv-logo > img { height: 40px; }
.gv-logo ~ :is(.nav-brand-name, .s-brand-name, .footer-brand-text, .s-footer-brand-text) { display: none; }
@media (max-width: 768px) {
	.gv-logo > img { height: 28px; }
	:is(.footer-logo-wrap, .s-footer-logo-wrap) .gv-logo > img { height: 32px; }
}

/* ---- Navbar: quieter chrome, one travelling ink line, consistent controls */
html[data-theme] .navbar.scrolled { height: calc(var(--nav-h) - 10px); }
html[data-theme] .nav-links { position: relative; gap: 2px; }
html[data-theme] .nav-link { font-size: .92rem; color: var(--fg-muted); transition: color var(--gv-t-quick) ease; }
html[data-theme] .nav-link:hover, html[data-theme] .nav-link:focus-visible { color: var(--fg); background: none; }
html.gv-ink[data-theme] .nav-link::after { display: none; }
.gv-nav-ink {
	position: absolute; left: 0; right: auto; inset-block-end: 3px; inline-size: 100px; block-size: 2px; border-radius: 2px;
	background: var(--brand); transform-origin: 0 50%; pointer-events: none; list-style: none; opacity: 0;
	transition: transform .6s var(--gv-ease), opacity var(--gv-t-quick) ease;
}
.gv-nav-ink.is-still { transition: none; }
html[data-theme] .nav-utils { gap: 8px; padding-inline-start: 18px; border-inline-start: 1px solid var(--border); }
html[data-theme] :is(.navbar .theme-toggle, .navbar .lang-toggle) {
	block-size: 40px; border-radius: 12px; background: transparent; border-color: var(--border-2);
	transition: border-color var(--gv-t-quick) ease, color var(--gv-t-quick) ease, background-color var(--gv-t-quick) ease;
}
html[data-theme] .navbar .theme-toggle { inline-size: 40px; }
html[data-theme] .navbar .theme-toggle:hover { transform: none; }
html[data-theme] .navbar .theme-toggle svg { transition: transform .6s var(--gv-ease); }
html[data-theme] .navbar .theme-toggle:hover svg { transform: rotate(-25deg); }
html[data-theme] .nav-cta {
	border-radius: 12px; padding: 11px 20px; font-size: .88rem; letter-spacing: .01em;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
	transition: background-color var(--gv-t-quick) ease, transform .25s var(--gv-ease), box-shadow var(--gv-t-quick) ease;
}
@media (hover: hover) {
	html[data-theme] .nav-cta:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -14px var(--brand); }
}
html[data-theme] .nav-cta:active { transform: scale(.98); }
@media (max-width: 1180px) { html[data-theme] .nav-utils { padding-inline-start: 10px; } }

/* ---- Statistics: an editorial composition ------------------------------- */
html[data-theme] .gv-stats { position: relative; overflow: hidden; isolation: isolate; text-align: start; }
.gv-stats-wrap {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-areas: "intro figs" "intro lines";
	column-gap: clamp(40px, 7vw, 120px); row-gap: clamp(24px, 3vw, 40px); align-items: start;
}
.gv-stats-intro { grid-area: intro; position: relative; align-self: start; }
html[data-theme] .gv-stats .h2 { margin: 0 0 18px; text-shadow: none; }
html[data-theme] .gv-stats .section-sub { margin: 0; max-width: 40ch; text-shadow: none; }
/* The Experience Unfolds — a kinetic architectural installation (gv-motion.js §9).
   The box is sized here, before any script (no layout shift). Beneath it, a still rendered
   from the same scene: phones/tablets, reduced motion, no WebGL, or a device over budget
   keep the still; on capable desktops the live scene replaces it at the identical pose. */
.gv-sculpture {
	position: relative; display: block; inline-size: min(100%, 470px); aspect-ratio: 6 / 5; block-size: auto;
	margin-block-start: clamp(16px, 2.2vw, 34px); pointer-events: none;
	background: url("images/stats-sculpture-dark.webp") center / contain no-repeat;
}
html[data-theme="light"] .gv-sculpture { background-image: url("images/stats-sculpture-daylight.webp"); }   /* M4.14: re-rendered from the Daylight Gallery scene (new name: no stale cache) */
.gv-sculpture canvas { position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; }
.gv-sculpture.is-live { background-image: none !important; }
.gv-sculpture.is-mirror { transform: scaleX(-1); }      /* English: the tall sail stays on the outer side */

.gv-stats-figures { grid-area: figs; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.gv-stats-figures[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.gv-stats-figures[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gv-stats-figures[data-count="4"] > .gv-stat:nth-child(even) { margin-block-start: clamp(28px, 3.4vw, 52px); }   /* intentional offset */
html[data-theme] .gv-stat {
	display: flex; flex-direction: column; align-items: flex-start; gap: 0; text-align: start;
	padding: 20px 0 28px; border: 0; border-radius: 0; background: none; box-shadow: none; border-block-start: 1px solid var(--border-2); position: relative;
}
html[data-theme] .gv-stat + .gv-stat::before { display: none; }
html[data-theme] .gv-stat::after {   /* an orange graduation over the start of each rule */
	content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 0; inline-size: 56px; block-size: 1px;
	background: var(--brand); transform-origin: var(--gv-origin-start, right);
}
html.gv-motion[data-theme] .gv-stat::after { transform: scaleX(0); transition: transform 1.1s var(--gv-ease) .2s; }
html.gv-motion[data-theme] .gv-stats.gv-in .gv-stat::after { transform: scaleX(1); }
.gv-stat-idx { font-size: .72rem; letter-spacing: .18em; color: var(--brand-text); font-weight: 700; font-variant-numeric: tabular-nums; }
html[data-theme] .gv-stats .stat-val {
	min-block-size: 0; display: block; margin: 18px 0 14px;
	font-size: clamp(2.8rem, 1.5rem + 3.4vw, 4.9rem); font-weight: 800; line-height: .95; letter-spacing: -.045em;
	color: var(--fg); text-shadow: none;
}
.gv-num { display: inline-grid; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.gv-num > span { grid-area: 1 / 1; white-space: nowrap; }
.gv-num-ghost { visibility: hidden; }
html[dir="rtl"] .gv-num { justify-items: end; }
.gv-num-s { color: var(--brand); margin-inline-start: .04em; }
html[data-theme] .gv-stat-label { margin: 0; color: var(--fg-2); font-size: 1rem; font-weight: 500; line-height: 1.6; max-width: 30ch; }
.gv-stats-statements { grid-area: lines; }
html[data-theme] .gv-stat--line {
	flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 18px; row-gap: 6px; padding: 22px 0 0;
}
.gv-stat-mark { inline-size: 10px; block-size: 10px; border-radius: 50%; border: 2px solid var(--brand); flex: none; align-self: center; }
html[data-theme] .gv-stat--line .gv-stat-label { color: var(--fg-muted); font-size: .9rem; }
html[data-theme] .gv-stats .gv-stat--line .stat-val {
	margin: 0; font-size: clamp(1.4rem, 1rem + 1.3vw, 2.1rem); letter-spacing: -.01em; line-height: 1.2; font-weight: 700;
	flex: 1 1 260px; min-inline-size: 0; inline-size: auto; max-inline-size: none; justify-content: flex-start;
}
html[lang="ar"][data-theme] .gv-stats .stat-val, html[lang="ar"] .gv-stat-idx { letter-spacing: 0; }
@media (max-width: 1000px) {
	.gv-stats-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "figs" "lines"; }
	.gv-stats-intro { padding-block-end: 12px; padding-inline-end: 120px; }
	.gv-sculpture { position: absolute; inset-inline-end: 0; inset-block-start: 0; margin: 0; inline-size: 116px; }
}
@media (max-width: 560px) {
	.gv-stats-figures[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gv-stats-figures[data-count="4"] > .gv-stat:nth-child(even) { margin-block-start: 28px; }
	html[data-theme] .gv-stats .stat-val { font-size: clamp(2.5rem, 1rem + 8vw, 3.4rem); }
	html[data-theme] .gv-stat-label { font-size: .92rem; }
}

/* ---- Services: index · statement · services (three columns on desktop) -- */
@media (min-width: 1101px) {
	html[data-theme] .services .wrap {
		display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr);
		grid-template-areas: "hd hd" "tabs panels" "foot foot"; column-gap: clamp(32px, 4vw, 64px);
	}
	html[data-theme] .services .section-hd { grid-area: hd; }
	html[data-theme] .services .tabs { grid-area: tabs; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; position: sticky; inset-block-start: calc(var(--nav-h) + 24px); align-self: start; }
	html[data-theme] .services .panels { grid-area: panels; }
	html[data-theme] .services .services-footer { grid-area: foot; }
	html[data-theme] .services .panel.active { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
	html[data-theme] .services .panel-hd { position: sticky; inset-block-start: calc(var(--nav-h) + 24px); }
}
html[data-theme] .services .tabs { margin: 0 0 40px; justify-content: flex-start; }
/* the category index: numbered lines, not pills */
html[data-theme] .services .tab {
	position: relative; display: flex; align-items: baseline; gap: 14px; inline-size: 100%;
	background: none; border: 0; border-block-end: 1px solid var(--border); border-radius: 0; box-shadow: none;
	padding: 16px 0; font-size: 1rem; font-weight: 600; color: var(--fg-muted); text-align: start; cursor: pointer;
	transition: color var(--gv-t-quick) ease, padding .5s var(--gv-ease);
}
html[data-theme] .services .tab::before {
	content: attr(data-index); font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--fg-muted);
	font-variant-numeric: tabular-nums; min-inline-size: 2.2em; transition: color var(--gv-t-quick) ease;
}
html[data-theme] .services .tab::after {   /* the active marker: a small lens ring + travelling rule */
	content: ""; position: absolute; inset-inline-start: 0; inset-block-end: -1px; inline-size: 100%; block-size: 1px;
	background: var(--brand); transform: scaleX(0); transform-origin: var(--gv-origin-start, right);
	transition: transform .6s var(--gv-ease);
}
html[data-theme] .services .tab .tab-icon { display: none; }
@media (hover: hover) { html[data-theme] .services .tab:hover { color: var(--fg); } }
html[data-theme] .services .tab.active { color: var(--fg); font-weight: 700; padding-inline-start: 10px; background: none; box-shadow: none; }
html[data-theme] .services .tab.active::before { color: var(--brand); }
html[data-theme] .services .tab.active::after { transform: scaleX(1); }
html[data-theme] .services .tab:focus-visible { outline-offset: -2px; }

/* statement column */
html[data-theme] .services .panel-hd {
	display: block; border: 0; padding: 0; margin: 0 0 32px;
}
html[data-theme] .services .panel-hd .panel-icon {
	inline-size: 52px; block-size: 52px; border-radius: 50%; background: transparent;
	border: 1px solid var(--border-brand); margin-block-end: 26px; box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--brand) 8%, transparent);
}
html[data-theme] .services .panel-hd h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.25; letter-spacing: -.015em; margin: 0 0 14px; text-wrap: balance; }
html[lang="ar"][data-theme] .services .panel-hd h3 { letter-spacing: 0; line-height: 1.45; }
html[data-theme] .services .panel-hd span { font-size: 1rem; line-height: 1.75; color: var(--fg-muted); display: block; max-width: 34ch; }

/* services column: editorial rows with one clear hover language */
html[data-theme] .services .scards { display: block; border-block-start: 1px solid var(--border-2); }
/* M4.15: a card the CMS marks inactive (cms.js) leaves the list; Impact Flow skips it */
html[data-theme] .services .scard[hidden] { display: none; }
html[data-theme] .services .scard {
	display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; grid-template-areas: "num title go" "num desc go";
	column-gap: 18px; row-gap: 6px; align-items: start;
	background: none; border: 0; border-block-end: 1px solid var(--border); border-radius: 0; box-shadow: none;
	padding: 24px 6px; overflow: visible; transform: none;
	transition: background-color var(--gv-t-quick) ease;
}
html[data-theme] .services .scard::before {
	inset-block-start: auto; inset-block-end: -1px; block-size: 1px; inline-size: 100%;
	background: var(--brand); transform: scaleX(0); transform-origin: var(--gv-origin-start, right);
	transition: transform .7s var(--gv-ease);
}
html[data-theme] .services .scard-num { grid-area: num; font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--fg-muted); line-height: 1.9; }
html[data-theme] .services .scard h4 { grid-area: title; font-size: 1.12rem; margin: 0; transition: transform .6s var(--gv-ease), color var(--gv-t-quick) ease; }
html[data-theme] .services .scard p { grid-area: desc; margin: 0; font-size: .92rem; max-width: 52ch; }
html[data-theme] .services .scard-link {
	grid-area: go; align-self: center; margin: 0; font-size: 0; gap: 0;
	inline-size: 42px; block-size: 42px; border-radius: 50%; border: 1px solid var(--border-2); justify-content: center;
	transition: border-color var(--gv-t-quick) ease, background-color var(--gv-t-quick) ease, color var(--gv-t-quick) ease, transform .6s var(--gv-ease);
}
html[data-theme] .services .scard-link span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html[data-theme] .services .scard-link::after { content: ""; position: absolute; inset: 0; }   /* the whole row is the target */
html[data-theme] .services .scard-link svg { inline-size: 16px; block-size: 16px; }
html[dir="ltr"] .scard-link svg, html[dir="ltr"] .mm-cta-link svg { transform: scaleX(-1); }       /* arrows point forward in English too */
@media (hover: hover) {
	html[data-theme] .services .scard:hover { background: color-mix(in srgb, var(--brand) 4%, transparent); transform: none; border-color: var(--border); }
	html[data-theme] .services .scard:hover::before { transform: scaleX(1); width: 100%; }
	html[data-theme] .services .scard:hover h4 { color: var(--brand-text); transform: translateX(calc(6px * var(--gv-dir, 1) * -1)); }
	html[data-theme] .services .scard:hover .scard-num { color: var(--brand-text); }
	html[data-theme] .services .scard:hover .scard-link { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
}
html[dir="ltr"][data-theme] .services .scard:hover h4 { transform: translateX(6px); }
html[dir="rtl"][data-theme] .services .scard:hover h4 { transform: translateX(-6px); }
html[data-theme] .services .scard:focus-within { background: color-mix(in srgb, var(--brand) 4%, transparent); }
html[data-theme] .services .scard-link:focus-visible { outline-offset: 3px; border-radius: 50%; }
html[data-theme] .services .services-footer { justify-content: flex-start; }

/* switching category: rows arrive in sequence; the first view waits for the section */
html.gv-motion[data-theme] .services .scard.reveal, html.gv-motion[data-theme] .services .panel-hd { opacity: 1; filter: none; transform: none; transition-property: background-color; }
html.gv-motion .services.gv-in .panel.active .scard { animation: gvRowIn .7s var(--gv-ease) both; }
html.gv-motion .services.gv-in .panel.active .panel-hd { animation: gvRowIn .8s var(--gv-ease) both; }
html.gv-motion .services:not(.gv-in) :is(.scard, .panel-hd) { opacity: 0; }
html.gv-motion .services.gv-in .panel.active .scard:nth-child(2) { animation-delay: .06s; }
html.gv-motion .services.gv-in .panel.active .scard:nth-child(3) { animation-delay: .12s; }
html.gv-motion .services.gv-in .panel.active .scard:nth-child(4) { animation-delay: .18s; }
html.gv-motion .services.gv-in .panel.active .scard:nth-child(5) { animation-delay: .24s; }
html.gv-motion .services.gv-in .panel.active .scard:nth-child(6) { animation-delay: .30s; }   /* M4.15: the sixth digital service keeps the sequence */
@keyframes gvRowIn { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

@media (min-width: 721px) and (max-width: 1100px) {
	html[data-theme] .services .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
	html[data-theme] .services .panel.active { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); column-gap: 32px; }
}
@media (max-width: 720px) {
	html[data-theme] .services .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; margin-block-end: 32px; }
	html[data-theme] .services .tab { font-size: .92rem; padding: 14px 0; gap: 10px; }
	html[data-theme] .services .tab.active { padding-inline-start: 6px; }
	html[data-theme] .services .panel-hd .panel-icon { display: none; }
	html[data-theme] .services .panel-hd { margin-block-end: 22px; }
	html[data-theme] .services .scard { grid-template-columns: 2.4em minmax(0, 1fr) auto; column-gap: 12px; padding: 20px 2px; }
	html[data-theme] .services .scard-link { inline-size: 38px; block-size: 38px; }
}

/* ---- Reduced motion: the composition stays, the movement goes ----------- */
@media (prefers-reduced-motion: reduce) {
	.gv-ambient::before { animation: none; }
	html[data-theme] .hero-photo, .gv-ambient::after, .gv-lens-body, .gv-lens-scale, .gv-lens-slide, .gv-lens-stage::before { transform: none !important; }
	.gv-lens-glass, .gv-lens:not(.is-open) .gv-lens-glass { clip-path: circle(50% at 50% 50%); transition: none; animation: none !important; }
	.gv-lens-slide, .gv-lens-slide.is-on, .gv-lens-slide.is-leaving { transition: none !important; }
	.gv-lens-slide img, .gv-lens-slide.is-leaving img { filter: none !important; }
	.gv-lens-glint { animation: none !important; }
	.gv-lens-toggle .gv-lens-ring { animation: none !important; opacity: 0 !important; }
	.gv-lens-body::after { animation: none !important; }
	.gv-lens-slide img { transform: scale(1.12) !important; }
	.gv-lens-glint { transition: none; opacity: 1; }
	.gv-sheen::after { display: none; }
	.gv-nav-ink, html[data-theme] .gv-stat::after, html[data-theme] .services :is(.tab, .tab::after, .scard, .scard::before, .scard h4, .scard-link) { transition: none !important; }
	html.gv-motion .services :is(.scard, .panel-hd) { animation: none !important; opacity: 1 !important; }
}

/* ---- M4.1 — automatic rotation control and the meteor light trail -------- */
/* pause/play with an exposure ring: the time left before the next project */
.gv-lens-toggle { position: relative; }
/* the indicator is one point travelling the rim once per project — transform only, so it costs
   nothing on the main thread; reset on every change, paused with the rotation */
.gv-lens-ring { position: absolute; inset: -1px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity var(--gv-t-quick) ease; }
.gv-lens-ring i { position: absolute; inset-block-start: -2.5px; inset-inline-start: calc(50% - 2.5px); inline-size: 5px; block-size: 5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 6px var(--brand); }
.gv-lens.is-auto .gv-lens-toggle.is-timing .gv-lens-ring { opacity: 1; animation: gvExposure 5.2s linear forwards; }
.gv-lens.is-auto.is-held .gv-lens-toggle.is-timing .gv-lens-ring { animation-play-state: paused; }
html[dir="rtl"] .gv-lens.is-auto .gv-lens-toggle.is-timing .gv-lens-ring { animation-name: gvExposureRtl; }   /* travels in the reading direction */
@keyframes gvExposure { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes gvExposureRtl { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.gv-lens-toggle .gv-ico-play { display: none; }
.gv-lens:not(.is-auto) .gv-lens-toggle .gv-ico-pause { display: none; }
.gv-lens:not(.is-auto) .gv-lens-toggle .gv-ico-play { display: block; margin-inline-start: 2px; }
html[dir="rtl"] .gv-lens-toggle .gv-ico-play { transform: scaleX(-1); margin-inline-start: 0; margin-inline-end: 2px; }
.gv-lens-nav { gap: 8px; }

/* ---- M4.2 — the meteor ribbon --------------------------------------------
   The swoosh is redrawn live on a canvas INSIDE the art plate (under its shade), over a
   clean plate of the same artwork with the swoosh painted out. The plate is applied only
   by the script, in the same frame as the ribbon's first (rest) pose — never a static copy
   beneath, never an empty plate. Reduced motion / no script: the original artwork. */
.gv-ribbon { position: absolute; display: block; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }   /* its own layer: redrawing it never repaints the art */
html[data-theme] .hero-photo.gv-plate { background-image: url("images/dark-mode-hero-plate.webp") !important; }
html[data-theme="light"] .hero-photo.gv-plate { background-image: url("images/light-mode-hero-plate.webp") !important; }
@media (prefers-reduced-motion: reduce) {
	.gv-ribbon { display: none; }
	html[data-theme] .hero-photo.gv-plate { background-image: url("images/dark-mode-hero.webp") !important; }
	html[data-theme="light"] .hero-photo.gv-plate { background-image: url("images/light-mode-hero.webp") !important; }
}

/* ---- M4.3 — living backgrounds ------------------------------------------------
   Service finder: the light strings are redrawn live on a canvas under the content.
   The original artwork cross-fades out as the strings fade in (normally while the
   section is still off screen). Reduced motion / no script: the original artwork. */
.gv-strings { position: absolute; display: block; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 1.4s var(--gv-ease-io); will-change: transform; }
.service-finder.gv-live { background-image: none !important; background-color: #000; }
html[data-theme="light"] .service-finder.gv-live { background-color: #FBF3E9; background-image: radial-gradient(ellipse 70% 60% at 50% 48%, #FEFCF7 0%, #FCF6EE 55%, #FBF2E8 100%) !important; }
.service-finder.gv-live::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: url("images/sec5_dark.png") center / cover no-repeat; opacity: 1; transition: opacity 1.4s var(--gv-ease-io);
}
html[data-theme="light"] .service-finder.gv-live::before { background-image: url("images/sec5_light.png"); }
.service-finder.gv-live-in::before { opacity: 0; }
.service-finder.gv-live-in .gv-strings { opacity: 1; }
.service-finder.gv-live > .wrap { position: relative; z-index: 1; }
/* Service pages: the hero swoosh is the same approved artwork as the homepage hero,
   so it lives through the same ribbon engine, over its own clean plate. */
html[data-category] .s-hero-bg.gv-plate { background-image: url("images/services/hero-dark-plate.webp") !important; }
html[data-theme="light"][data-category] .s-hero-bg.gv-plate { background-image: url("images/services/hero-light-plate.webp") !important; }
@media (prefers-reduced-motion: reduce) {
	.gv-strings { display: none; }
	.service-finder.gv-live::before { opacity: 1 !important; }
	html[data-category] .s-hero-bg.gv-plate { background-image: url("images/services/hero-dark.webp") !important; }
	html[data-theme="light"][data-category] .s-hero-bg.gv-plate { background-image: url("images/services/hero-light.webp") !important; }
}


/* ---- M4.4 — services: the Impact Flow -----------------------------------------
   Idea → strategy → execution → impact, drawn as a ray diagram through the statement
   column's lens. The SVG sits beneath the content (lines live in gutters and on the
   rows' own rules, never across text); light moves only while it travels. */
html[data-theme] .services .wrap { position: relative; isolation: isolate; }
.gv-flow { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; z-index: -1; pointer-events: none; overflow: visible; }
.gv-flow path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.gv-flow { --gv-fl-ink: rgba(244, 236, 224, .1); --gv-fl-lit: color-mix(in srgb, var(--brand) 42%, transparent); --gv-fl-light: #FFB25E; }
html[data-theme="light"] .gv-flow { --gv-fl-ink: rgba(74, 46, 20, .13); --gv-fl-lit: color-mix(in srgb, var(--brand) 48%, transparent); --gv-fl-light: #E8751A; }
.gv-fl-base path { stroke: var(--gv-fl-ink); stroke-width: 1; }
.gv-fl-lit path  { stroke: var(--gv-fl-lit); stroke-width: 1; }
.gv-fl-lit circle { fill: var(--gv-fl-ink); }
.gv-fl-lit circle.is-on { fill: var(--brand); }
.gv-fl-light path { stroke: var(--gv-fl-light); stroke-width: 1.8; opacity: 0; }
/* arrivals: the lens gathers the light, a service number warms, its arrow takes the light */
/* (cheap by construction: the lens glow is a pre-drawn layer that only fades — compositor work;
   a service warms the instant the light arrives and cools in a few discrete steps, so it costs a
   handful of repaints rather than one per frame) */
html[data-theme] .services .panel-hd .panel-icon { position: relative; }
html[data-theme] .services .panel-hd .panel-icon::after {
	content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none; opacity: 0;
	border: 1px solid var(--brand);
	box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--brand) 16%, transparent), 0 0 0 7px color-mix(in srgb, var(--brand) 7%, transparent);
	transition: opacity .9s var(--gv-ease); will-change: opacity;
}
html[data-theme] .services .panel-hd .panel-icon.gv-fl-hit::after { opacity: 1; }
html[data-theme] .services .scard.gv-fl-hit :is(.scard-num, .scard-link) { transition: none; }
html[data-theme] .services .scard.gv-fl-cool :is(.scard-num, .scard-link) { transition: color .7s steps(4, jump-none), border-color .7s steps(4, jump-none); }
html[data-theme] .services .scard.gv-fl-hit .scard-num { color: var(--brand-text); }
html[data-theme] .services .scard.gv-fl-hit .scard-link { border-color: var(--brand); color: var(--brand); }
/* a selection is one movement: the statement and the service list arrive together, the list a beat
   behind as the light reaches it — no per-row stagger */
html.gv-motion .services.gv-in .panel.active .scard { animation: none; }
html.gv-motion .services.gv-in .panel.active .scards { animation: gvRowIn .7s var(--gv-ease) .1s both; }
html.gv-motion .services.gv-in .panel.active .panel-hd { animation: gvRowIn .6s var(--gv-ease) both; }
@media (prefers-reduced-motion: reduce) {
	.gv-fl-light { display: none; }
	html.gv-motion .services .panel.active :is(.scards, .panel-hd) { animation: none !important; opacity: 1 !important; }
	html[data-theme] .services :is(.panel-icon, .panel-icon::after, .scard-num, .scard-link) { transition: none !important; }
}

/* ---- M4.7 — statistics: the Living Stage ---------------------------------------
   The hall around the approved installation (the sculpture itself is untouched).
   Every moving layer is pre-drawn and animated by transform/opacity only. */
html[data-theme] .gv-stats > .wrap { position: relative; z-index: 1; }
.gv-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict;
	--gv-pool: 232, 117, 26; }
.gv-stage > i { position: absolute; display: block; }
/* the back wall: a little warmth gathered behind the installation, darkness toward the figures */
.gv-st-wall { inset: 0;
	background: radial-gradient(ellipse calc(var(--gv-sw, 400px) * 1.3) 70% at var(--gv-sx, 75%) calc(var(--gv-sy, 60%) - 6%), rgba(var(--gv-pool), .09), transparent 70%); }
/* M4.14 the Daylight Gallery: light only reads as light against a little shade. A warm umber
   falloff from the ceiling over the installation's side (never grey, never a block) gives the
   shafts something to cut through; where they land, the wall is at its most luminous. */
html[data-theme="light"] .gv-st-wall { background:
	radial-gradient(ellipse calc(var(--gv-sw, 400px) * .95) 46% at var(--gv-sx, 75%) calc(var(--gv-sy, 60%) - 2%), rgba(255, 251, 243, .78), rgba(255, 249, 238, .3) 55%, transparent 78%),
	radial-gradient(ellipse calc(var(--gv-sw, 400px) * 1.75) 88% at var(--gv-sx, 75%) 0%, rgba(128, 74, 34, .15), rgba(128, 74, 34, .06) 50%, transparent 78%),
	linear-gradient(to bottom, rgba(120, 76, 36, .07), transparent 45%); }
/* haze: a small soft texture, scaled up, drifting through the hall (only near the stage) */
/* (only as large as the stage it fills: a small layer for the compositor) */
.gv-st-haze { left: calc(var(--gv-sx, 75%) - var(--gv-sw, 400px) * .95); top: -6%; inline-size: calc(var(--gv-sw, 400px) * 1.9); block-size: 100%;
	background: url("images/stats-haze.webp") center / 100% 100% no-repeat; opacity: .2;
	-webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%);
	        mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); will-change: transform; }
html[data-theme="light"] .gv-st-haze { opacity: .4; }   /* M4.14: warm dust in the shafts (was off) */
/* rigs: placed and aimed by script; the beam inside sways and breathes */
.gv-st-rig { left: 0; top: 0; inline-size: 0; transform-origin: 0 0; }
.gv-st-beam { position: absolute; left: 0; top: 0; block-size: 100%; inline-size: calc(var(--gv-sw, 400px) * .78); translate: -50% 0;
	transform-origin: 50% 0; will-change: transform;
	/* the cone and its falloff are baked into a small texture: the compositor only turns it (no per-frame masks) */
	background: url("images/stats-beam-dark.webp") center / 100% 100% no-repeat; opacity: .5; }
/* M4.14: golden shafts in daylight — the white cones had almost no contrast with the wall. The same
   cone (alpha map of the approved beam), in a richer amber and a little denser (images/stats-beam-day.webp). */
html[data-theme="light"] .gv-st-beam { background-image: url("images/stats-beam-day.webp"); }
.r2 .gv-st-beam { inline-size: calc(var(--gv-sw, 400px) * .62); opacity: .62; }
.r3 .gv-st-beam { inline-size: calc(var(--gv-sw, 400px) * .5); opacity: .32; }
html[data-theme="light"] .gv-st-beam { opacity: 1; }
html[data-theme="light"] .r2 .gv-st-beam { opacity: 1; }
html[data-theme="light"] .r3 .gv-st-beam { opacity: .7; }
/* the light lands in a warm pool on the floor */
.gv-st-pool { left: calc(var(--gv-sx, 75%) - var(--gv-sw, 400px) * .95); top: calc(var(--gv-sy, 60%) + var(--gv-sw, 400px) * .1);
	inline-size: calc(var(--gv-sw, 400px) * 1.9); block-size: calc(var(--gv-sw, 400px) * .42);
	background: radial-gradient(closest-side, rgba(var(--gv-pool), .2), rgba(var(--gv-pool), .06) 55%, transparent); will-change: transform, opacity; }
html[data-theme="light"] .gv-st-pool { background: radial-gradient(closest-side, rgba(var(--gv-pool), .3), rgba(var(--gv-pool), .1) 55%, transparent); }
/* M4.14 — orange that holds its weight in daylight (light theme, this section only; measured).
   The brand orange #D96810 sits at 2.4-3.0:1 on this lit warm wall: the large "+" fell below the
   3:1 large-text minimum (2.63). The design system's own deeper brand tone (--brand-d, #B85A0C)
   brings the "+" to ~3.4:1 and lifts the section label and the (decorative, aria-hidden) indices
   to the level the same chips have elsewhere on cream. Dark theme untouched. */
html[data-theme="light"] .gv-stats .gv-num-s { color: var(--brand-d); }
html[data-theme="light"] .gv-stats .gv-stat-idx { color: var(--brand-text); }   /* M4.16 */
html[data-theme="light"] .gv-stats .gv-stats-intro > .chip { color: var(--brand-text); }   /* M4.16 (was --brand-d) */
html[data-theme="light"] .gv-stats .gv-stat::after { background: var(--brand-d); }
/* M4.16 — two short orange lines cross bright artwork: the "Our Numbers" eyebrow passes through
   the stage's golden shafts (measured 3.3-3.6:1) and the service-hero tagline through the hero
   ribbon (2.9-3.4:1). Each gets a soft veil of its own section's ground, hugging the line and
   fading out at every edge — no box, no outline, artwork and colours unchanged. The veil sits
   under the text only; the shafts and the ribbon read through around it. */
:is(html[data-theme] .gv-stats .gv-stats-intro > .chip, html[data-theme] .s-hero-tagline) { position: relative; isolation: isolate; }
:is(html[data-theme] .gv-stats .gv-stats-intro > .chip, html[data-theme] .s-hero-tagline)::after {
	content: ""; position: absolute; z-index: -1; inset: -8px -36px; pointer-events: none;
	background: linear-gradient(90deg, transparent, var(--gv-veil) 36px, var(--gv-veil) calc(100% - 36px), transparent);
	-webkit-mask-image: linear-gradient(transparent, #000 8px, #000 calc(100% - 8px), transparent);
	mask-image: linear-gradient(transparent, #000 8px, #000 calc(100% - 8px), transparent);
}
html[data-theme] .gv-stats .gv-stats-intro > .chip { --gv-veil: rgba(12, 11, 10, .82); }
html[data-theme="light"] .gv-stats .gv-stats-intro > .chip { --gv-veil: rgba(249, 243, 234, .96); }
html[data-theme] .s-hero-tagline { --gv-veil: rgba(9, 11, 13, .86); inline-size: fit-content; max-inline-size: 100%; margin-inline: auto; }
html[data-theme="light"] .s-hero-tagline { --gv-veil: rgba(247, 242, 235, .92); }
@media (prefers-reduced-motion: no-preference) {
	/* sway on the beam, breathing on its rig: the two multiply, never fight */
	.r1 .gv-st-beam { animation: gvBeamA 29s var(--gv-ease-io) infinite alternate; }   /* the sculpture's own light rhythm */
	.r2 .gv-st-beam { animation: gvBeamB 23s var(--gv-ease-io) -7s infinite alternate; }
	.r3 .gv-st-beam { animation: gvBeamC 37s var(--gv-ease-io) -13s infinite alternate; }
	.gv-st-rig.r1 { animation: gvBeamI 11s ease-in-out infinite alternate; }
	.gv-st-rig.r2 { animation: gvBeamI 17s ease-in-out -4s infinite alternate; }
	.gv-st-rig.r3 { animation: gvBeamI 13s ease-in-out -9s infinite alternate; }
	.gv-st-haze { animation: gvHaze 71s ease-in-out infinite alternate; }
	.gv-st-pool { animation: gvPool 19s ease-in-out infinite alternate; }
	.gv-stats.gv-off .gv-stage :is(.gv-st-rig, .gv-st-beam, .gv-st-haze, .gv-st-pool) { animation-play-state: paused; }
}
@keyframes gvBeamA { from { transform: rotate(-5.5deg) scaleX(.92); } to { transform: rotate(4.5deg) scaleX(1.06); } }
@keyframes gvBeamB { from { transform: rotate(4deg) scaleX(1.05); } to { transform: rotate(-6deg) scaleX(.9); } }
@keyframes gvBeamC { from { transform: rotate(-3deg); } to { transform: rotate(6.5deg) scaleX(1.1); } }
@keyframes gvBeamI { from { opacity: .45; } to { opacity: 1; } }
@keyframes gvHaze { from { transform: translate3d(-6%, 1%, 0) scale(1.06); } to { transform: translate3d(6%, -2%, 0) scale(1.12); } }
@keyframes gvPool { from { transform: scale(.9, .94); opacity: .65; } to { transform: scale(1.06, 1.02) translateX(2%); opacity: 1; } }
@media (max-width: 1000px) {
	.gv-st-rig.r3, .gv-st-haze { display: none; }               /* phones/tablet: two shafts and the pool */
}
/* the sculpture's still carries the band colour in its corners; on a lit stage those corners would
   read as a box — feather them away (the still only; the live canvas is transparent and untouched) */
.gv-sculpture:not(.is-live) {
	-webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 54%, #000 64%, transparent 100%);
	        mask-image: radial-gradient(ellipse 50% 50% at 50% 54%, #000 64%, transparent 100%);
}

/* --------------------------------------------------------------------------
   M4.10 — Living photograph: the camera operator in the events & media CTA band.
   Built by gv-motion.js (livingPhoto) only for media-production-*.webp; without it
   (reduced motion, data saver, no script) the band keeps its original background.
   Paint order is the original one: band → photograph → tint → brand glows → content.
   -------------------------------------------------------------------------- */
html[data-theme] .s-final-cta.gv-lp-on { background-image: none; isolation: isolate; }
.gv-lp { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.gv-lp-art { position: absolute; }
.gv-lp-move, .gv-lp-img, .gv-lp-lights, .gv-lp-haze, .gv-lp-tint { position: absolute; inset: 0; }
.gv-lp-img { background: var(--s-cta-photo) center / 100% 100% no-repeat; }
/* M4.11 — the camera move must read within seconds (M4.10's 28 s ease-in from rest moved ~1 px
   in the first 3 s, then sat under an 88% wash). A 16 s push toward the operator and his camera and
   back; drift and push share one interpolation from a 1.5% floor, so the enlargement always covers the
   drift (no edge can show; margins checked for this origin). Offset by a quarter cycle: whenever the band comes into view the camera is
   already moving (it is paused off screen). */
/* origin at the front of the camera: the push grows toward the operator, never into the text column */
.gv-lp-move { transform-origin: 33% 42%; will-change: transform; animation: gvLpPush 16s ease-in-out -4s infinite; }
@keyframes gvLpPush {
  0%, 100% { transform: scale(1.015) translate3d(0, 0, 0); }
  50%      { transform: scale(1.085) translate3d(-1.1%, -.55%, 0); }
}
/* first activation while the band is on screen: fade over the original instead of a jump */
.gv-lp.is-fading { animation: gvLpIn 1.1s ease-out both; }
/* the photograph's own practicals breathe (registered on them, moving with the image) */
.gv-lp-lights { mix-blend-mode: screen; animation: gvLpIn 1.6s ease-out both; }
.gv-lp-lights b { position: absolute; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 226, 182, var(--k)), rgba(255, 158, 70, calc(var(--k) * .5)) 46%, rgba(255, 130, 40, 0) 100%);
  animation: gvLpBreathe 5s ease-in-out infinite; }
@keyframes gvLpBreathe { 0%, 100% { opacity: .05; } 55% { opacity: 1; } }
@keyframes gvLpIn { from { opacity: 0; } to { opacity: 1; } }
/* studio haze: the one layer that moves against the photograph — depth without cutting it */
.gv-lp-haze { will-change: transform, opacity;
  background: radial-gradient(30% 50% at 23% 50%, rgba(255, 186, 120, .42), rgba(255, 160, 90, 0) 70%),
              radial-gradient(22% 34% at 10% 36%, rgba(255, 204, 150, .3), rgba(255, 204, 150, 0) 70%);
  animation: gvLpHaze 11s ease-in-out infinite alternate; }
@keyframes gvLpHaze { from { transform: translate3d(-4%, 1.2%, 0); opacity: .35; } to { transform: translate3d(4.5%, -1.6%, 0); opacity: 1; } }
/* light theme: brightening an already bright image shows nothing — the warmth of the same light does */
html[data-theme="light"] .gv-lp-lights { mix-blend-mode: soft-light; }
html[data-theme="light"] .gv-lp-lights b { background: radial-gradient(closest-side, rgba(255, 140, 40, var(--k)), rgba(255, 150, 60, calc(var(--k) * .55)) 46%, rgba(255, 150, 60, 0) 100%); }
html[data-theme="light"] .gv-lp-haze { background: radial-gradient(30% 50% at 23% 50%, rgba(255, 150, 70, .5), rgba(255, 150, 70, 0) 70%),
              radial-gradient(22% 34% at 10% 36%, rgba(255, 160, 80, .36), rgba(255, 160, 80, 0) 70%); }
/* the band's own tint, unchanged, now above the living photograph */
.gv-lp-tint { background-image: linear-gradient(135deg, var(--brand-a18), var(--brand-a08)), linear-gradient(135deg, rgba(5, 5, 5, .88), rgba(5, 5, 5, .74)); }
html[data-theme="light"] .gv-lp-tint { background-image: linear-gradient(135deg, var(--brand-a18), var(--brand-a08)), linear-gradient(135deg, rgba(250, 250, 248, .88), rgba(250, 250, 248, .74)); }
/* wide screens: the wash eases off over the photograph's side only (the camera, the operator, the
   practicals sit in the left third of the band in both reading directions) and is back to the
   original values before the text column begins */
@media (min-width: 901px) {
  .gv-lp-tint { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.68) 0%, rgba(0,0,0,.72) 16%, #000 29%);
                mask-image: linear-gradient(to right, rgba(0,0,0,.68) 0%, rgba(0,0,0,.72) 16%, #000 29%); }
}
/* lighter level: the camera move only (no blended light / haze group) */
.gv-lp-lite .gv-lp-lights { display: none; }      /* M4.11: lights alone were imperceptible; the push is what people see */
/* off screen: everything holds */
.s-final-cta.gv-off .gv-lp, .s-final-cta.gv-off .gv-lp * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .gv-lp, .gv-lp * { animation: none !important; } }
