/* ==========================================================================
   Grab And Go Elements: design tokens + widget styles
   Theme: dark espresso with frosted glass panels and warm ambient light.
   Brand colours are PLACEHOLDERS until the client supplies brand guidelines.
   ========================================================================== */

:root {
	/* Page: light theme (default) */
	--bg: #f6efe6;
	--text: #1d140e;
	--muted: rgba(29, 20, 14, .68);
	--faint: rgba(29, 20, 14, .48);
	--line: rgba(29, 20, 14, .1);
	--glass: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42) 60%);
	--glass-border: rgba(29, 20, 14, .09);
	--surface: rgba(255, 251, 246, .66);
	--surface-strong: rgba(255, 251, 246, .9);
	--fill: rgba(29, 20, 14, .04);
	--fill-2: rgba(29, 20, 14, .06);
	--fill-3: rgba(29, 20, 14, .1);
	--media-bg: #efe2d1;
	--g1: .26; --g2: .3; --g3: .2; --noise: .04; --vignette: transparent;
	--gag-shadow: 0 30px 60px -36px rgba(110, 55, 15, .35);
	--blur: 18px;
	--accent: #f0571a;
	--accent-2: #c9700a;
	--mint: #0e9a74;
	color-scheme: light;

	/* Device screens (light UI inside the device) */
	--gag-espresso: #1b120c;
	--gag-espresso-2: #2a1d14;
	--gag-cream: #fff8ee;
	--gag-paper: #ffffff;
	--gag-sand: #f3e6d3;
	--gag-orange: #e8551c;
	--gag-orange-2: #ff7a3d;
	--gag-mint: #14a37f;
	--gag-mint-soft: #d8f3ea;
	--gag-ink: #1b120c;
	--gag-muted: #6b5a4c;
	--gag-line: rgba(27, 18, 12, 0.12);

	--gag-radius: 24px;
	--gag-radius-sm: 12px;
	--gag-font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gag-font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gag-max: 1200px;
	--gag-gutter: clamp(16px, 4vw, 40px);
	--gag-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 760px) { :root { --blur: 12px; } }
html[data-theme="dark"] {
	--bg: #0d0806;
	--text: #f7efe6;
	--muted: rgba(247, 239, 230, .66);
	--faint: rgba(247, 239, 230, .42);
	--line: rgba(255, 255, 255, .1);
	--glass: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 60%);
	--glass-border: rgba(255, 255, 255, .13);
	--surface: rgba(20, 13, 9, .5);
	--surface-strong: rgba(22, 15, 11, .84);
	--fill: rgba(255, 255, 255, .05);
	--fill-2: rgba(255, 255, 255, .08);
	--fill-3: rgba(255, 255, 255, .12);
	--media-bg: #1c130d;
	--g1: .42; --g2: .26; --g3: .16; --noise: .07; --vignette: rgba(0, 0, 0, .55);
	--gag-shadow: 0 30px 70px -40px rgba(0, 0, 0, .85);
	--accent: #ff6a2b;
	--accent-2: #ffb547;
	--mint: #2fd3a5;
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	html[data-theme="system"] {
		--bg: #0d0806;
		--text: #f7efe6;
		--muted: rgba(247, 239, 230, .66);
		--faint: rgba(247, 239, 230, .42);
		--line: rgba(255, 255, 255, .1);
		--glass: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 60%);
		--glass-border: rgba(255, 255, 255, .13);
		--surface: rgba(20, 13, 9, .5);
		--surface-strong: rgba(22, 15, 11, .84);
		--fill: rgba(255, 255, 255, .05);
		--fill-2: rgba(255, 255, 255, .08);
		--fill-3: rgba(255, 255, 255, .12);
		--media-bg: #1c130d;
		--g1: .42; --g2: .26; --g3: .16; --noise: .07; --vignette: rgba(0, 0, 0, .55);
		--gag-shadow: 0 30px 70px -40px rgba(0, 0, 0, .85);
		--accent: #ff6a2b;
		--accent-2: #ffb547;
		--mint: #2fd3a5;
		color-scheme: dark;
	}
}

/* ---------- Base (scoped so the theme keeps control of everything else) ---------- */
html:has(body.gag-site) { background: var(--bg); }
body.gag-site {
	background: transparent;
	color: var(--text);
	font-family: var(--gag-font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.gag-site h1, .gag-site h2, .gag-site h3, .gag-site h4 { font-family: var(--gag-font-display); letter-spacing: -0.025em; color: var(--text); }
.gag-site a { color: inherit; }
.gag-site ::selection { background: var(--accent); color: #fff; }
.gag-wrap { width: min(100% - 2 * var(--gag-gutter), var(--gag-max)); margin-inline: auto; }
.gag-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.gag-site :focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Elementor containers sit on the ambient background */
.gag-site .elementor .e-con, .gag-site .elementor-section { background-color: transparent; }

/* ---------- Ambient light (fixed behind everything) ---------- */
.gag-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; filter: hue-rotate(var(--hue, 0deg)); transition: filter 1.6s var(--gag-ease); }
.gag-ambient i { position: absolute; border-radius: 50%; will-change: transform; }
.gag-ambient i:nth-child(1) { width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax; background: radial-gradient(circle, rgb(255 106 43 / var(--g1)), rgb(255 106 43 / 0) 62%); animation: gag-drift-a 24s ease-in-out infinite alternate; translate: calc(var(--mx, 0) * -40px) calc(var(--my, 0) * -40px); }
.gag-ambient i:nth-child(2) { width: 60vmax; height: 60vmax; right: -24vmax; top: 10vh; background: radial-gradient(circle, rgb(255 181 71 / var(--g2)), rgb(255 181 71 / 0) 62%); animation: gag-drift-b 30s ease-in-out infinite alternate; translate: calc(var(--mx, 0) * 50px) calc(var(--my, 0) * 30px); }
.gag-ambient i:nth-child(3) { width: 50vmax; height: 50vmax; left: 10vw; bottom: -30vmax; background: radial-gradient(circle, rgb(47 211 165 / var(--g3)), rgb(47 211 165 / 0) 62%); animation: gag-drift-c 34s ease-in-out infinite alternate; translate: calc(var(--mx, 0) * 24px) calc(var(--my, 0) * -36px); }
.gag-ambient::after { content: ""; position: absolute; inset: 0; opacity: var(--noise); mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.gag-ambient::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, transparent 40%, var(--vignette)); }
@keyframes gag-drift-a { to { transform: translate(14vw, 18vh) scale(1.1); } }
@keyframes gag-drift-b { to { transform: translate(-12vw, 30vh) scale(.9); } }
@keyframes gag-drift-c { to { transform: translate(30vw, -20vh) scale(1.15); } }

/* ---------- Glass surface + pointer spotlight ---------- */
.gag-glass {
	position: relative; border-radius: var(--gag-radius); background: var(--glass); border: 1px solid var(--glass-border);
	-webkit-backdrop-filter: blur(var(--blur)) saturate(160%); backdrop-filter: blur(var(--blur)) saturate(160%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--gag-shadow);
}
[data-gag-spot] { position: relative; isolation: isolate; }
[data-gag-spot]::before, [data-gag-spot]::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--gag-ease); z-index: -1; }
[data-gag-spot]::before { inset: 0; background: radial-gradient(480px circle at var(--sx, 50%) var(--sy, 0%), rgba(255,140,80,.13), transparent 45%); }
[data-gag-spot]::after { inset: -1px; padding: 1px; background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 0%), rgba(255,180,120,.85), transparent 55%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
[data-gag-spot]:hover::before, [data-gag-spot]:hover::after, [data-gag-spot]:focus-within::after { opacity: 1; }

/* ---------- Type ---------- */
.gag-eyebrow, .gag-label {
	display: inline-flex; align-items: center; gap: .55em; font: 600 .78rem/1.2 var(--gag-font-body); letter-spacing: .08em; text-transform: uppercase;
	color: var(--muted); margin: 0 0 1.1rem;
}
.gag-eyebrow::before, .gag-label::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.gag-head { margin-bottom: clamp(36px, 5vw, 64px); }
.gag-section-title { font-size: clamp(2.1rem, 4.8vw, 4rem); line-height: 1.02; margin: 0 0 1.1rem; font-weight: 700; max-width: 17ch; letter-spacing: -.035em; }
.gag-section-title em { font-style: normal; }
.gag-section-intro { font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.6; color: var(--muted); max-width: 54ch; margin: 0; }
.gag-section { padding-block: clamp(72px, 11vw, 140px); }
.gag-placeholder-tag {
	display: inline-block; font: 700 .65rem/1 var(--gag-font-body); letter-spacing: .1em; text-transform: uppercase;
	background: rgba(255,181,71,.14); color: var(--accent-2); border: 1px dashed rgba(255,181,71,.5); padding: .4em .65em; border-radius: 6px;
}

/* ---------- Theme reset guard ----------
   Hello Elementor styles every <button> (pink border/hover, nowrap). Neutralise it inside our components. */
.gag-site .gag-btn, .gag-site .gag-dash__tab, .gag-site .gag-quotes__nav button, .gag-site .gag-header__toggle, .gag-site .gag-cmp__pick button, .gag-site .gag-vis--till, .gag-site .gag-switch2 {
	white-space: normal; text-transform: none; letter-spacing: normal;
}

/* ---------- Buttons ---------- */
.gag-site .gag-btn, .gag-btn {
	display: inline-flex; align-items: center; gap: .6em; justify-content: center;
	min-height: 52px; padding: 0 1.55em; border-radius: 999px; border: 1px solid var(--glass-border);
	background: var(--fill); color: var(--text) !important; text-decoration: none !important;
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	font: 600 1rem/1 var(--gag-font-body); cursor: pointer;
	transition: background-color .25s, border-color .25s, box-shadow .4s var(--gag-ease);
}
.gag-site .gag-btn:hover, .gag-site .gag-btn:focus { background: var(--fill-3); color: var(--text) !important; border-color: var(--faint); }
.gag-site .gag-btn--primary, .gag-btn--primary {
	background: linear-gradient(135deg, #ff8a4c, #ff5a1f 60%, #e84a10); border-color: rgba(255,200,160,.45); color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 14px 34px -14px rgba(255,106,43,.85);
}
.gag-site .gag-btn--primary:hover, .gag-site .gag-btn--primary:focus { background: linear-gradient(135deg, #ff9a60, #ff6a2b 60%, #f0521a); border-color: rgba(255,220,190,.6); color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 18px 44px -14px rgba(255,106,43,1); }
.gag-btn__arrow { transition: transform .3s var(--gag-ease); }
.gag-btn:hover .gag-btn__arrow { transform: translateX(4px); }

/* ---------- Header / footer chrome ---------- */
.gag-skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 12px 18px; border-radius: 10px; transition: top .2s; }
.gag-skip:focus { top: 16px; }
.gag-header { position: fixed; inset: 14px 0 auto; z-index: 900; pointer-events: none; }
.gag-header__pill {
	pointer-events: auto; display: flex; align-items: center; gap: 16px;
	width: min(100% - 2 * var(--gag-gutter), var(--gag-max)); margin-inline: auto;
	padding: 8px 8px 8px 16px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--glass-border);
	-webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 20px 50px -24px rgba(0,0,0,.8);
	transition: transform .5s var(--gag-ease);
}
.gag-header.is-hidden .gag-header__pill { transform: translateY(-140%); }
.gag-header__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 1.1rem/1 var(--gag-font-display); margin-right: auto; }
.gag-site .gag-header__brand { color: var(--text); }
.gag-header__brand img { max-height: 38px; width: auto; }
.gag-logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #ff8a4c, #e84a10); color: #fff; font-size: .9rem; letter-spacing: -.04em; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.gag-header__nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.gag-header__nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.gag-site .gag-header__nav a:hover, .gag-header__nav .current-menu-item > a { color: var(--text); background: var(--fill-2); }
.gag-header__cta { order: 3; min-height: 44px; }
.gag-header__nav { order: 2; }
.gag-header__toggle { display: none; order: 4; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--fill); color: var(--text); cursor: pointer; }
.gag-site .gag-header__toggle:hover, .gag-site .gag-header__toggle:focus { background: var(--fill-3); color: var(--text); }
.gag-header__toggle svg { width: 20px; height: 20px; }
@media (max-width: 480px) {
	.gag-header__cta .gag-btn__label-long { display: none; }
	.gag-header__brand > span:not(.gag-logo-mark) { display: none; }
	.gag-header__pill { gap: 8px; padding-left: 8px; }
	.gag-site .gag-header__cta { white-space: nowrap; min-height: 42px; }
}
.admin-bar .gag-header { top: 46px; }
@media (max-width: 782px) { .admin-bar .gag-header { top: 60px; } }
@media (min-width: 481px) { .gag-header__cta .gag-btn__label-short { display: none; } }

.gag-footer { color: var(--muted); padding: 40px 0 36px; position: relative; }
.gag-site .gag-footer a { color: var(--text); text-decoration: none; }
.gag-site .gag-footer a:hover { color: var(--accent-2); }
.gag-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(28px, 5vw, 56px); margin-bottom: 72px; border-radius: 32px; overflow: hidden; }
.gag-footer__cta p { margin: 0; font: 700 clamp(1.8rem, 4vw, 3.2rem)/1.05 var(--gag-font-display); color: var(--text); letter-spacing: -.03em; max-width: 16ch; }
.gag-site .gag-footer__cta .gag-btn { color: #fff; }
.gag-footer__grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; }
.gag-footer__brand { font: 700 1.5rem/1.1 var(--gag-font-display); color: var(--text); margin: 0 0 12px; }
.gag-footer h2 { font: 600 .78rem/1 var(--gag-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.gag-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gag-footer__base { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: .88rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); }
@media (max-width: 760px) { .gag-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Sticky CTA ---------- */
.gag-sticky-cta {
	position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 800;
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
	background: linear-gradient(135deg, #ff8a4c, #e84a10); color: #fff !important; text-decoration: none !important; font-weight: 600;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 20px 40px -16px rgba(255,106,43,.8);
	transition: transform .45s var(--gag-ease), opacity .3s;
}
.gag-js .gag-sticky-cta:not(.is-visible) { transform: translateY(140%); opacity: 0; }
.gag-sticky-cta:focus-visible { transform: none !important; opacity: 1 !important; }
@media (max-width: 600px) { .gag-sticky-cta { display: none; } }

/* ---------- Reveal on scroll ---------- */
.gag-js.gag-motion [data-gag-reveal] { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity 1s var(--gag-ease), transform 1s var(--gag-ease), filter 1s var(--gag-ease); transition-delay: var(--d, 0s); }
.gag-js.gag-motion [data-gag-reveal].is-in { opacity: 1; transform: none; filter: none; }
.gag-js.gag-motion .gag-section-title.is-split { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   1. HERO + DEVICE JOURNEY (Attention → Interest)
   Default (no JS, reduced motion, ?gag-fallback=1): two columns, sticky device.
   With motion (.gag-motion, not .is-static): the section pins, scroll snaps
   step to step and the device swings side to side in CSS 3D.
   ========================================================================== */
.gag-journey { position: relative; }
.gag-journey__title { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: .98; font-weight: 700; margin: 0 0 1.25rem; max-width: 12ch; color: var(--text); letter-spacing: -.04em; }
.gag-journey__lead { font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.6; color: var(--muted); max-width: 44ch; margin: 0 0 2rem; }
.gag-journey__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.gag-journey__hint { margin: 1rem 0 0; font-size: .85rem; color: var(--faint); }
.gag-journey__num { display: block; font: 600 .85rem/1 var(--gag-font-body); color: var(--accent-2); letter-spacing: .08em; margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.gag-journey__panel--step .gag-label { margin-bottom: .6rem; }
.gag-journey__panel h3 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.02; margin: 0 0 16px; color: var(--text); max-width: 15ch; letter-spacing: -.035em; }
.gag-journey__panel--step p:not(.gag-label) { margin: 0; font-size: 1.08rem; line-height: 1.65; color: var(--muted); max-width: 40ch; }
.gag-line { padding-bottom: .06em; }
.gag-journey__dots { display: none; }

/* ---- static layout ---- */
.gag-journey__pin { width: min(100% - 2 * var(--gag-gutter), var(--gag-max)); margin-inline: auto; padding: 130px 0 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 72px); }
.gag-journey__panels { grid-column: 1; }
.gag-journey__panel { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.gag-journey__panel--hero { min-height: 70vh; }
.gag-journey__intro { padding-top: 48px; }
.gag-device { grid-column: 2; grid-row: 1; position: sticky; top: calc(50vh - 200px); align-self: start; }
@media (max-width: 860px) {
	.gag-journey__pin { grid-template-columns: minmax(0, 1fr); padding-top: 110px; }
	.gag-journey__panel, .gag-journey__panel--hero { min-height: 0; }
	.gag-device { grid-column: 1; grid-row: auto; position: relative; top: 0; }
}

/* ---- pinned layout ---- */
.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__pin { position: relative; width: 100%; height: 100vh; height: 100svh; padding: 0; margin: 0; display: block; overflow: hidden; }
.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__intro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panel {
	position: absolute; top: 50%; transform: translateY(-46%); min-height: 0; padding: 0;
	width: min(38vw, 520px); left: max(var(--gag-gutter), calc((100vw - var(--gag-max)) / 2)); pointer-events: auto;
}
.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panel[data-device="left"] { left: auto; right: max(var(--gag-gutter), calc((100vw - var(--gag-max)) / 2)); }
.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panel:not(:first-child) { visibility: hidden; }
.gag-js.gag-motion .gag-journey.is-pinned .gag-journey__panel:not(:first-child) { visibility: inherit; }
.gag-js.gag-motion .gag-journey:not(.is-static) .gag-device { position: absolute; inset: 0; align-self: stretch; top: 0; display: grid; place-items: center; perspective: 1800px; pointer-events: none; z-index: 1; }
.gag-js.gag-motion .gag-journey:not(.is-static) .gag-device__body { width: min(44vw, 720px); pointer-events: auto; }

/* step rail */
.gag-js.gag-motion .gag-journey.is-pinned .gag-journey__dots { display: flex; flex-direction: column; gap: 6px; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 3; list-style: none; margin: 0; padding: 0; }
.gag-site .gag-journey__dots button { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: center; width: 22px; height: 26px; color: var(--text); }
.gag-journey__dots button::after { content: ""; width: 6px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.28); transition: height .4s var(--gag-ease), background .3s, box-shadow .3s; }
.gag-journey__dots button[aria-current]::after { height: 22px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.gag-journey__dots span { position: absolute; right: 100%; top: 50%; margin-top: -12px; pointer-events: none; font-size: .78rem; font-weight: 600; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; white-space: nowrap; color: var(--text); background: var(--surface-strong); border: 1px solid var(--glass-border); padding: 5px 9px; border-radius: 8px; }
.gag-journey__dots button:hover span, .gag-journey__dots button:focus-visible span { opacity: 1; transform: none; }

/* portrait screens: device on top, copy card underneath */
@media (max-aspect-ratio: 105/100) {
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panel,
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panel[data-device="left"] {
		top: auto; bottom: 16px; transform: none; left: var(--gag-gutter); right: var(--gag-gutter); width: auto;
		background: var(--surface); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-radius: 22px; padding: 20px 20px 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 60px -30px rgba(0,0,0,.8);
	}
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-device__body { width: min(80vw, 520px); }
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__ctas { flex-wrap: nowrap; gap: 8px; }
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__ctas .gag-btn { flex: 1 1 auto; min-width: 0; padding: .8em .7em; font-size: .85rem; white-space: nowrap; text-align: center; justify-content: center; }
	.gag-js.gag-motion .gag-journey.is-pinned .gag-device__toast { top: auto; bottom: -16px; left: auto; right: 8%; }
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__title { font-size: clamp(1.8rem, 7.6vw, 2.6rem); margin-bottom: .7rem; }
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__lead { font-size: .95rem; margin-bottom: 1rem; line-height: 1.5; }
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__hint,
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panel--hero .gag-label { display: none; }
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panel h3 { font-size: clamp(1.4rem, 6vw, 2rem); margin-bottom: 8px; }
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__panel--step p:not(.gag-label) { font-size: .95rem; line-height: 1.5; }
	.gag-js.gag-motion .gag-journey.is-pinned .gag-journey__dots { right: 6px; top: 96px; transform: none; }
	.gag-journey__dots span { display: none; }
}
@media (max-aspect-ratio: 105/100) and (max-height: 700px) {
	.gag-js.gag-motion .gag-journey:not(.is-static) .gag-journey__lead { display: none; }
}

/* ==========================================================================
   DEVICE (CSS 3D) + APP
   ========================================================================== */
.gag-device__body, .gag-device__tilt, .gag-device__frame { transform-style: preserve-3d; }
.gag-device__body { position: relative; width: 100%; }
.gag-device__shadow { position: absolute; left: 8%; right: 8%; bottom: -9%; height: 14%; background: radial-gradient(closest-side, rgba(255,106,43,.45), transparent); filter: blur(18px); transform: translateZ(-60px); pointer-events: none; }
.gag-device__frame {
	position: relative; container-type: inline-size; padding: 11px; border-radius: 30px;
	background: linear-gradient(145deg, #3a2a1f, #140d08 60%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(255,160,110,.18), 0 60px 110px -40px rgba(0,0,0,.95), 0 0 90px -30px rgba(255,106,43,.55);
}
/* thickness: two layers behind the frame give the device an edge when it turns */
.gag-device__frame::before, .gag-device__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.gag-device__frame::before { background: #0d0805; transform: translateZ(-7px); }
.gag-device__frame::after { background: #241811; transform: translateZ(-14px); box-shadow: 0 0 0 1px rgba(255,255,255,.05); }
.gag-device__glare { position: absolute; inset: 11px; border-radius: 20px; pointer-events: none; transform: translateZ(1px); mix-blend-mode: soft-light;
	background: linear-gradient(115deg, transparent calc(var(--gx, 50%) - 30%), rgba(255,255,255,.55) var(--gx, 50%), transparent calc(var(--gx, 50%) + 22%)); }
.gag-device__toast { position: absolute; top: -18px; left: 6%; margin: 0; z-index: 3; transform: translateZ(70px); background: rgba(20,13,9,.82); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font: 600 .82rem/1 var(--gag-font-body); padding: 11px 16px 11px 30px; border-radius: 999px; box-shadow: 0 20px 40px -16px rgba(27,18,12,.6); white-space: nowrap; pointer-events: none; }
.gag-device__toast::before { content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 8px; background: var(--gag-mint); box-shadow: 0 0 0 4px rgba(20,163,127,.25); }
.gag-device__toast:empty { display: none; }
.gag-journey.is-static .gag-device__toast, .gag-journey:not(.is-pinned) .gag-device__toast { position: static; display: inline-block; margin: 0 0 12px; transform: none; }

.gag-app {
	--a: var(--gag-orange); --ok: var(--gag-mint); --bad: #c8412f; --l: rgba(27,18,12,.09); --soft: #f4ece1;
	position: relative; overflow: hidden; border-radius: 20px; background: #fbf7f1; color: var(--gag-ink);
	font: 400 clamp(9.5px, 1.72cqw, 13.5px)/1.3 var(--gag-font-body); aspect-ratio: 1.5; display: flex; flex-direction: column; transform: translateZ(.5px);
}
.gag-app *, .gag-app *::before, .gag-app *::after { box-sizing: border-box; }
.gag-site .gag-app button { all: unset; box-sizing: border-box; cursor: pointer; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.gag-site .gag-app button:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; }
.gag-app__top { display: flex; align-items: center; gap: .9em; padding: .8em 1.2em; border-bottom: 1px solid var(--l); background: #fff; }
.gag-app__logo { font: 800 1em/1 var(--gag-font-display); background: var(--gag-espresso); color: #fff; padding: .45em .55em; border-radius: .5em; }
.gag-app__where { font-weight: 700; }
.gag-app__sample { font-size: .78em; color: var(--gag-muted); border: 1px dashed rgba(27,18,12,.25); padding: .2em .6em; border-radius: 1em; }
.gag-app__clock { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.gag-app__main { flex: 1; display: flex; min-height: 0; }
.gag-app__nav { display: flex; flex-direction: column; gap: .3em; padding: .8em .55em; border-right: 1px solid var(--l); background: #fff; width: 6.6em; flex: none; }
.gag-site .gag-app .gag-app__tab { display: flex; flex-direction: column; align-items: center; gap: .35em; padding: .6em .2em; border-radius: .8em; font-size: .82em; font-weight: 600; color: var(--gag-muted); transition: background .25s, color .25s; }
.gag-site .gag-app .gag-app__tab:hover { background: var(--soft); color: var(--gag-ink); }
.gag-site .gag-app .gag-app__tab[aria-pressed="true"] { background: var(--gag-espresso); color: #fff; }
.gag-app__ico { width: 1.7em; height: 1.7em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.gag-app__ico--counter { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.gag-app__ico--menu { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h10'/%3E%3C/svg%3E"); }
.gag-app__ico--orders { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='3' width='7' height='18' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='11' rx='1.5'/%3E%3C/svg%3E"); }
.gag-app__ico--stock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M4 7.5l8 4.5 8-4.5M12 12v9'/%3E%3C/svg%3E"); }
.gag-app__ico--finance { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.gag-app__views { position: relative; flex: 1; min-width: 0; padding: 1em 1.1em; overflow: hidden; }
.gag-app__view { height: 100%; }
.gag-app__view[hidden] { display: none !important; }
.gag-app__seg { display: inline-flex; gap: .2em; padding: .25em; background: var(--soft); border-radius: .8em; }
.gag-site .gag-app .gag-app__seg button { padding: .45em .85em; border-radius: .6em; font-weight: 600; font-size: .9em; color: var(--gag-muted); transition: background .2s, color .2s, box-shadow .2s; }
.gag-site .gag-app .gag-app__seg button[aria-pressed="true"] { background: #fff; color: var(--gag-ink); box-shadow: 0 2px 6px -2px rgba(27,18,12,.25); }
.gag-site .gag-app .gag-app__primary { position: relative; overflow: hidden; display: block; text-align: center; background: var(--a); color: #fff; font-weight: 700; padding: .8em 1em; border-radius: .8em; transition: transform .15s, background .2s; }
.gag-site .gag-app .gag-app__primary:hover { background: #d04a15; }
.gag-site .gag-app .gag-app__primary:active { transform: scale(.97); }
.gag-site .gag-app .gag-app__mini { font-size: .85em; font-weight: 700; color: var(--a); border: 1.5px solid currentColor; padding: .35em .7em; border-radius: .6em; text-align: center; }
.gag-site .gag-app .gag-app__mini:disabled { color: var(--ok); cursor: default; }

/* Counter */
.gag-v-counter { display: grid; grid-template-columns: minmax(0, 1fr) 15.5em; gap: 1em; }
.gag-v-counter__left { display: flex; flex-direction: column; gap: .8em; min-width: 0; }
.gag-v-counter__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55em; align-content: start; }
.gag-site .gag-app .gag-tile { display: flex; flex-direction: column; justify-content: space-between; gap: .5em; min-height: 4.6em; padding: .7em .75em; border-radius: .8em; background: #fff; border: 1px solid var(--l); transition: border-color .2s, box-shadow .2s, transform .2s; position: relative; overflow: hidden; }
.gag-site .gag-app .gag-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .3em; background: var(--c, var(--a)); }
.gag-tile--drinks { --c: #b7793f; } .gag-tile--food { --c: var(--gag-orange); } .gag-tile--snacks { --c: #d9a21b; }
.gag-site .gag-app .gag-tile:hover { border-color: rgba(232,85,28,.5); box-shadow: 0 8px 16px -10px rgba(27,18,12,.35); transform: translateY(-1px); }
.gag-tile b { font-weight: 700; line-height: 1.15; }
.gag-tile span { color: var(--gag-muted); font-size: .9em; font-variant-numeric: tabular-nums; }
.gag-tile[hidden] { display: none; }
.gag-ticket { position: relative; display: flex; flex-direction: column; gap: .6em; background: #fff; border: 1px solid var(--l); border-radius: 1em; padding: .9em; min-height: 0; }
.gag-ticket__head { display: flex; justify-content: space-between; align-items: center; }
.gag-site .gag-app .gag-ticket__clear { font-size: .85em; color: var(--gag-muted); }
.gag-ticket__rows { list-style: none; margin: 0; padding: 0; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: .15em; min-height: 3em; }
.gag-ticket__rows li { display: grid; grid-template-columns: 2.2em 1fr auto; gap: .3em; padding: .4em .35em; border-radius: .45em; font-variant-numeric: tabular-nums; }
.gag-ticket__rows .q { color: var(--a); font-weight: 700; } .gag-ticket__rows .p { font-weight: 600; }
.gag-ticket__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed rgba(27,18,12,.2); padding-top: .6em; }
.gag-ticket__total b { font: 700 1.5em/1 var(--gag-font-display); font-variant-numeric: tabular-nums; }
.gag-app__seg--pay { display: flex; } .gag-app__seg--pay button { flex: 1; text-align: center; }
.gag-ticket__paid { position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.96); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7em; text-align: center; padding: 1em; }
.gag-ticket__paid[hidden] { display: none; }
.gag-ticket__paid svg { width: 3.6em; height: 3.6em; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gag-ticket__paid circle { stroke-dasharray: 151; stroke-dashoffset: 0; } .gag-ticket__paid path { stroke-dasharray: 40; stroke-dashoffset: 0; }
.gag-ticket__paid.is-on circle { animation: gag-draw151 .6s var(--gag-ease) both; }
.gag-ticket__paid.is-on path { animation: gag-draw40 .4s .45s var(--gag-ease) both; }
@keyframes gag-draw151 { from { stroke-dashoffset: 151; } }
@keyframes gag-draw40 { from { stroke-dashoffset: 40; } }

/* Menu */
.gag-v-menu { display: flex; flex-direction: column; gap: .8em; }
.gag-v-menu__when { margin: 0; color: var(--gag-muted); font-size: .92em; }
.gag-v-menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45em; }
.gag-v-menu__list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1em; padding: .75em 1em; background: #fff; border: 1px solid var(--l); border-radius: .8em; transition: opacity .3s, background .3s; }
.gag-v-menu__list li span { font-weight: 600; }
.gag-v-menu__list em { font-style: normal; font-size: .85em; font-weight: 600; color: var(--ok); }
.gag-v-menu__list li.is-off { background: var(--soft); }
.gag-v-menu__list li.is-off span { color: var(--gag-muted); text-decoration: line-through; }
.gag-v-menu__list li.is-off em { color: var(--bad); }
.gag-site .gag-app .gag-switch { width: 2.8em; height: 1.6em; border-radius: 1em; background: rgba(27,18,12,.18); position: relative; transition: background .25s; }
.gag-switch i { position: absolute; top: .2em; left: .2em; width: 1.2em; height: 1.2em; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .3s var(--gag-ease); }
.gag-site .gag-app .gag-switch[aria-checked="true"] { background: var(--ok); }
.gag-switch[aria-checked="true"] i { transform: translateX(1.2em); }

/* Orders */
.gag-v-orders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.gag-v-orders__col { background: var(--soft); border-radius: .9em; padding: .6em; display: flex; flex-direction: column; gap: .5em; min-height: 0; }
.gag-v-orders__head { margin: 0; font-weight: 700; display: flex; justify-content: space-between; padding: .2em .3em; }
.gag-v-orders__head span { background: #fff; border-radius: 1em; padding: 0 .55em; font-size: .9em; font-variant-numeric: tabular-nums; }
.gag-v-orders__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45em; }
.gag-site .gag-app .gag-ocard { display: grid; grid-template-columns: 1fr auto; gap: .25em .5em; width: 100%; background: #fff; border-radius: .7em; padding: .65em .7em; border-left: .3em solid var(--c, var(--a)); box-shadow: 0 2px 6px -3px rgba(27,18,12,.2); transition: transform .2s, box-shadow .2s; }
.gag-site .gag-app .gag-ocard:hover { transform: translateY(-1px); box-shadow: 0 8px 16px -8px rgba(27,18,12,.35); }
.gag-v-orders__col--prep { --c: #d9a21b; } .gag-v-orders__col--ready { --c: var(--gag-mint); }
.gag-ocard span { grid-column: 1 / -1; color: var(--gag-muted); font-size: .9em; }
.gag-ocard time { color: var(--gag-muted); font-size: .85em; font-variant-numeric: tabular-nums; }

/* Stock */
.gag-v-stock__sum { margin: 0 0 .8em; color: var(--gag-muted); }
.gag-v-stock__sum b { color: var(--bad); font-size: 1.15em; }
.gag-v-stock__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45em; }
.gag-v-stock__list li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 7.2em 5.6em; align-items: center; gap: .9em; background: #fff; border: 1px solid var(--l); border-radius: .8em; padding: .65em .9em; }
.gag-v-stock__list .n { font-weight: 600; }
.gag-v-stock__list .bar { position: relative; height: .55em; border-radius: 1em; background: var(--soft); }
.gag-v-stock__list .bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--ok); }
.gag-v-stock__list li.is-low .bar i { background: var(--bad); }
.gag-v-stock__list .bar u { position: absolute; top: -.3em; bottom: -.3em; width: 2px; background: var(--gag-ink); opacity: .45; text-decoration: none; }
.gag-v-stock__list .q { font-variant-numeric: tabular-nums; color: var(--gag-muted); font-size: .92em; text-align: right; }
.gag-v-stock__list em { font-style: normal; text-align: center; color: var(--ok); font-weight: 700; font-size: .85em; }

/* Finance */
.gag-v-fin { display: grid; grid-template-rows: auto 1fr auto; gap: .8em; }
.gag-v-fin__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.gag-v-fin__kpis div { background: #fff; border: 1px solid var(--l); border-radius: .8em; padding: .7em .85em; display: flex; flex-direction: column; gap: .25em; }
.gag-v-fin__kpis span { color: var(--gag-muted); font-size: .85em; }
.gag-v-fin__kpis b { font: 700 1.35em/1.1 var(--gag-font-display); font-variant-numeric: tabular-nums; }
.gag-v-fin__chart { background: #fff; border: 1px solid var(--l); border-radius: .9em; padding: .7em .9em; display: flex; flex-direction: column; min-height: 0; }
.gag-v-fin__bar-head { display: flex; justify-content: space-between; align-items: center; gap: .6em; }
.gag-v-fin__bar-head > span { font-weight: 600; font-variant-numeric: tabular-nums; }
.gag-v-fin__bars { flex: 1; display: flex; align-items: stretch; gap: .6em; padding-top: .7em; min-height: 5em; }
.gag-site .gag-app .gag-v-fin__bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3em; }
.gag-v-fin__bar i { display: block; width: 100%; max-width: 3.2em; border-radius: .45em .45em .2em .2em; background: #e9dccb; transition: background .2s; }
.gag-v-fin__bar span { font-size: .8em; color: var(--gag-muted); }
.gag-v-fin__bar:hover i, .gag-v-fin__bar.is-hot i, .gag-v-fin__bar:focus-visible i { background: var(--a); }
.gag-v-fin__send i { position: absolute; inset: 0; background: rgba(255,255,255,.22); transform: scaleX(0); transform-origin: 0 50%; }
.gag-v-fin__send span { position: relative; }
.gag-site .gag-app .gag-v-fin__send:disabled { background: var(--ok); cursor: default; }

/* compact app on narrow devices */
@container (max-width: 540px) {
	.gag-app { font-size: 10px; aspect-ratio: 1.2; }
	.gag-app__nav { width: 4.4em; padding: .6em .35em; }
	.gag-site .gag-app .gag-app__tab span { font-size: .85em; }
	.gag-app__where, .gag-app__sample { font-size: .9em; }
	.gag-v-counter { grid-template-columns: minmax(0, 1fr) 12.5em; gap: .6em; }
	.gag-v-counter__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gag-site .gag-app .gag-tile { min-height: 3.6em; padding: .5em .6em; }
	.gag-app__seg { flex-wrap: wrap; }
	.gag-site .gag-app .gag-app__seg button { padding: .4em .55em; }
	.gag-v-stock__list li { grid-template-columns: 6em minmax(0, 1fr) 5em; }
	.gag-v-stock__list .q { display: none; }
	.gag-v-orders { gap: .4em; }
	.gag-v-orders__col { padding: .4em; }
}
@container (max-width: 400px) {
	.gag-app__nav { display: none; }
	.gag-app__sample { display: none; }
	.gag-v-counter__grid .gag-tile:nth-child(n+7) { display: none; }
}


/* ==========================================================================
   Floating glass cards that lift off the device screen (journey)
   ========================================================================== */
.gag-floats { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; z-index: 4; }
.gag-float {
	position: absolute; display: flex; flex-direction: column; gap: 3px; min-width: 9.5rem; padding: .85rem 1.05rem; border-radius: 18px;
	background: var(--surface-strong); border: 1px solid var(--glass-border); color: var(--text);
	-webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 24px 50px -20px rgba(0,0,0,.8);
	opacity: 0; transform: translate3d(0, 10px, 0) scale(.86); transition: opacity .45s var(--gag-ease), transform .9s var(--gag-ease);
}
.gag-float small { font: 600 .68rem/1.2 var(--gag-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.gag-float b { font: 700 1.2rem/1.1 var(--gag-font-display); letter-spacing: -.02em; }
.gag-float span { font-size: .78rem; color: var(--muted); }
.gag-float--a { left: -15%; top: 48%; }
.gag-float--b { right: -7%; top: -12%; }
.gag-float--a::before { content: ""; position: absolute; left: 1rem; right: 1rem; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,180,120,.9), transparent); }
.gag-float.is-on { opacity: 1; transform: translate3d(0, 0, 120px) scale(1); transition-delay: .25s; }
.gag-float--b.is-on { transform: translate3d(0, 0, 80px) scale(1); transition-delay: .38s; }
.gag-journey.is-static .gag-floats { display: none; }
@media (max-aspect-ratio: 105/100) {
	.gag-float { min-width: 0; padding: .55rem .75rem; border-radius: 14px; }
	.gag-float b { font-size: .95rem; }
	.gag-float span { display: none; }
	.gag-float--a { left: -2%; top: auto; bottom: -10%; }
	.gag-float--b { display: none; }
}

/* Hero: clients strip */
.gag-journey__clients { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 1.6rem 0 0; font-size: .88rem; color: var(--faint); }
.gag-journey__clients span { margin-right: 4px; }
.gag-journey__clients b { font-weight: 600; color: var(--text); padding: .45em .85em; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--fill); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ==========================================================================
   2. CLIENTS ROW / MARQUEE
   ========================================================================== */
.gag-marquee { padding-block: 40px; border-block: 1px solid var(--line); overflow: hidden; }
.gag-marquee__title { text-align: center; font: 600 .78rem/1 var(--gag-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 0 0 24px; }
.gag-marquee__track { display: flex; width: max-content; animation: gag-marquee var(--speed, 32s) linear infinite; }
.gag-marquee:hover .gag-marquee__track, .gag-marquee:focus-within .gag-marquee__track { animation-play-state: paused; }
.gag-marquee__list { display: flex; align-items: center; gap: 72px; padding-right: 72px; margin: 0; list-style: none; }
.gag-marquee__item { display: flex; align-items: center; gap: 12px; white-space: nowrap; font: 700 1.25rem/1 var(--gag-font-display); color: var(--muted); }
.gag-marquee__item img { height: 44px; width: auto; filter: grayscale(1) brightness(2); opacity: .7; transition: filter .3s, opacity .3s; }
.gag-marquee__item:hover img { filter: none; opacity: 1; }
@keyframes gag-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.gag-marquee__track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
	.gag-marquee__list[aria-hidden="true"] { display: none; }
	.gag-marquee__list { flex-wrap: wrap; justify-content: center; gap: 32px 56px; padding: 0 16px; }
}
.gag-clients { padding: 36px var(--gag-gutter); border-block: 1px solid var(--line); text-align: center; }
.gag-clients .gag-label { margin-bottom: 16px; }
.gag-clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; }
.gag-clients__list li { font: 700 clamp(1.15rem, 2vw, 1.5rem)/1.2 var(--gag-font-display); color: var(--text); }
.gag-clients__list img { height: 48px; width: auto; }

/* ==========================================================================
   10. WHAT WE RUN (bento tiles)
   ========================================================================== */
.gag-bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.gag-tile2 { padding: 22px 24px 26px; display: flex; flex-direction: column; min-height: 320px; overflow: hidden; }
.gag-tile2.is-wide { grid-column: span 2; }
.gag-tile2 h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; margin: auto 0 8px; }
.gag-tile2 p { margin: 0; color: var(--muted); line-height: 1.55; max-width: 42ch; }
@media (max-width: 960px) { .gag-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gag-bento { grid-template-columns: minmax(0, 1fr); } .gag-tile2.is-wide { grid-column: auto; } .gag-tile2 { min-height: 0; } }

.gag-vis { position: relative; height: 150px; margin: 0 0 22px; font-size: .8rem; color: var(--muted); }
/* opening hours */
.gag-vis--hours { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.gag-vis__track { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; color: var(--faint); }
.gag-vis__bars { position: relative; height: 44px; border-radius: 12px; background: var(--fill); border: 1px solid var(--line); overflow: hidden; }
.gag-vis__bars i { position: absolute; top: 6px; bottom: 6px; left: calc(var(--a) * 100% + 6px); width: calc((var(--b) - var(--a)) * 100% - 12px); border-radius: 8px; background: linear-gradient(90deg, rgba(255,106,43,.75), rgba(255,181,71,.6)); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--gag-ease); }
.gag-vis__bars i:nth-child(2) { transition-delay: .15s; } .gag-vis__bars i:nth-child(3) { transition-delay: .3s; }
.is-in .gag-vis__bars i, .gag-js:not(.gag-motion) .gag-vis__bars i, html:not(.gag-js) .gag-vis__bars i { transform: none; }
.gag-vis__now { position: absolute; bottom: 26px; left: var(--now, 55%); width: 2px; height: 70px; background: var(--text); box-shadow: 0 0 12px rgba(255,255,255,.8); border-radius: 2px; }
.gag-vis__now::after { content: "Now"; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font: 700 .7rem/1 var(--gag-font-body); color: var(--text); }
/* till receipt */
.gag-site .gag-vis--till { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; width: 100%; height: 150px; margin: 0 0 22px; }
.gag-vis__slot { position: absolute; left: 18%; right: 18%; top: 8px; height: 10px; border-radius: 10px; background: #000; box-shadow: inset 0 1px 2px rgba(255,255,255,.2), 0 0 0 1px var(--line); }
.gag-vis__paper { position: absolute; left: 22%; right: 22%; top: 13px; height: 120px; padding: 18px 14px 10px; border-radius: 0 0 6px 6px; background: #fbf6ee; color: var(--gag-ink); display: flex; flex-direction: column; gap: 4px; font: 500 .78rem/1.2 var(--gag-font-body);
	clip-path: inset(0 0 calc(100% - var(--print, 34%)) 0); transition: clip-path 1.2s steps(14, end); box-shadow: 0 20px 30px -20px rgba(0,0,0,.8);
	-webkit-mask: linear-gradient(#000 calc(100% - 8px), transparent 0), radial-gradient(5px at 6px 100%, transparent 98%, #000) 0 100% / 12px 8px repeat-x; }
.gag-vis__paper b { font-weight: 700; } .gag-vis__paper i { font-style: normal; color: var(--gag-muted); } .gag-vis__paper em { margin-top: auto; font-style: normal; font-weight: 700; border-top: 1px dashed rgba(27,18,12,.3); padding-top: 4px; }
.gag-vis--till.is-printed .gag-vis__paper, .gag-vis--till:hover .gag-vis__paper { --print: 100%; }
.gag-vis--till small { position: absolute; right: 0; bottom: 4px; color: var(--faint); }
/* stock tank */
.gag-vis--stock { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.gag-vis__tank { position: relative; height: 54px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line); overflow: hidden; }
.gag-vis__tank i { position: absolute; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, #e8551c, #ff8a4c); transition: width 1.4s var(--gag-ease), background .6s; }
.gag-vis__tank u { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--faint); text-decoration: none; }
.gag-vis__tank u::after { content: "Reorder level"; position: absolute; top: 6px; left: 6px; white-space: nowrap; font-size: .68rem; color: var(--text); }
.gag-vis--stock.is-full .gag-vis__tank i { width: 100%; background: linear-gradient(90deg, #14a37f, #2fd3a5); }
.gag-vis--stock span b { color: var(--text); font: 700 1.3rem/1 var(--gag-font-display); }
/* cash-up */
.gag-vis--cash { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.gag-vis--cash div { padding: 14px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.gag-vis--cash b { color: var(--text); font: 700 1.15rem/1 var(--gag-font-display); font-variant-numeric: tabular-nums; }
.gag-vis--cash em { grid-column: 1 / -1; font-style: normal; font-weight: 700; color: var(--mint); display: flex; align-items: center; gap: 8px; }
.gag-vis--cash em::before { content: ""; width: 8px; height: 8px; border-radius: 8px; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
/* report */
.gag-vis--report { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.gag-vis--report svg { width: 100%; height: 120px; overflow: visible; }
.gag-vis--report .a { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.8s var(--gag-ease) .2s; }
.gag-vis--report .b { fill: url(#none); fill: rgba(255,181,71,.12); opacity: 0; transition: opacity 1s .9s; }
.is-in .gag-vis--report .a, html:not(.gag-motion) .gag-vis--report .a { stroke-dashoffset: 0; }
.is-in .gag-vis--report .b, html:not(.gag-motion) .gag-vis--report .b { opacity: 1; }
.gag-vis--report ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gag-vis--report li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--fill); border: 1px solid var(--line); }
.gag-vis--report li b { color: var(--text); }
/* software-only switch */
.gag-vis--switch { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; align-content: center; font-size: .95rem; color: var(--text); }
.gag-site .gag-switch2 { all: unset; box-sizing: border-box; cursor: pointer; width: 58px; height: 32px; border-radius: 32px; background: var(--fill-3); border: 1px solid var(--glass-border); position: relative; transition: background .3s; }
.gag-switch2 i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .35s var(--gag-ease); }
.gag-site .gag-switch2[aria-checked="true"] { background: linear-gradient(135deg, #ff8a4c, #e84a10); }
.gag-switch2[aria-checked="true"] i { transform: translateX(26px); }
.gag-vis--switch p { flex-basis: 100%; margin: 0; font: 700 1.6rem/1.1 var(--gag-font-display); letter-spacing: -.02em; }

/* ==========================================================================
   11. PROCESS
   ========================================================================== */
.gag-process__track { position: relative; }
.gag-process__line { position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.gag-process__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(var(--p, 1)); box-shadow: 0 0 14px var(--accent); }
.gag-process__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; position: relative; }
.gag-process__dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px; font: 700 1rem/1 var(--gag-font-display); color: #fff; background: linear-gradient(135deg, #ff8a4c, #e84a10); box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(255,106,43,.6); }
.gag-process__step .gag-glass { padding: 22px; min-height: 170px; }
.gag-process__step h3 { margin: 0 0 8px; font-size: 1.3rem; }
.gag-process__step p { margin: 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 860px) {
	.gag-process__list { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-left: 64px; }
	.gag-process__line { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
	.gag-process__line i { transform-origin: top; transform: scaleY(var(--p, 1)); }
	.gag-process__dot { position: absolute; left: -64px; top: 0; margin: 0; }
	.gag-process__step { position: relative; }
	.gag-process__step .gag-glass { min-height: 0; }
}

/* ==========================================================================
   3. SCROLL STORY (Services page)
   ========================================================================== */
.gag-story { color: var(--text); }
.gag-story__head { padding-top: clamp(110px, 12vw, 160px); padding-bottom: 40px; }
.gag-story__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-bottom: clamp(72px, 10vw, 130px); }
.gag-story__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gag-story__step { padding: 22px 24px; border-radius: var(--gag-radius); background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); transition: background .5s, border-color .5s, opacity .5s; }
.gag-story__step-head { display: flex; align-items: baseline; gap: 14px; }
.gag-story__num { font: 700 .85rem/1 var(--gag-font-body); color: var(--accent-2); }
.gag-story__step h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; }
.gag-story__step p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.gag-story__step ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.gag-story__step li { font-size: .82rem; padding: 6px 10px; border-radius: 999px; background: var(--fill-2); }
.gag-story.is-pinned .gag-story__step { opacity: .4; }
.gag-story.is-pinned .gag-story__step.is-active { opacity: 1; border-color: rgba(255,150,90,.6); box-shadow: 0 0 40px -10px rgba(255,106,43,.5); }
.gag-story__step p, .gag-story__step ul { transition: max-height .6s var(--gag-ease), opacity .5s, margin .5s; max-height: 260px; }
.gag-story.is-pinned .gag-story__step:not(.is-active) p,
.gag-story.is-pinned .gag-story__step:not(.is-active) ul { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; }
.gag-story__visual { position: relative; perspective: 1400px; }
.gag-story__stage { position: relative; aspect-ratio: 1 / 1.02; transform-style: preserve-3d; }
.gag-story__card {
	position: absolute; inset: 0; border-radius: 28px; background: var(--gag-cream); color: var(--gag-ink);
	padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px;
	box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.2);
	transform-origin: 50% 100%; backface-visibility: hidden;
	transition: transform 1s var(--gag-ease), opacity .8s var(--gag-ease);
	transform: translate3d(0, 40px, -160px) rotateX(18deg); opacity: 0;
}
.gag-story__card h3, .gag-story__card h4 { color: var(--gag-ink); }
.gag-story__card.is-active { transform: translate3d(0,0,0) rotateX(0) rotateY(-8deg); opacity: 1; }
.gag-story__card.is-past { transform: translate3d(0, -60px, -80px) rotateX(-24deg); opacity: 0; }
.gag-story:not(.is-pinned) .gag-story__visual { display: none; }
.gag-story:not(.is-pinned) .gag-story__body { grid-template-columns: 1fr; }
.gag-story__progress { position: absolute; left: 0; right: 0; bottom: -28px; height: 4px; border-radius: 4px; background: var(--fill-3); overflow: hidden; }
.gag-story__progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.gag-card__top { display: flex; justify-content: space-between; align-items: center; }
.gag-card__label { font: 700 .75rem/1 var(--gag-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gag-muted); }
.gag-card__pill { font-size: .75rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--gag-mint-soft); color: #0b6b53; }
.gag-card__big { font: 800 clamp(2rem, 4vw, 3.2rem)/1 var(--gag-font-display); margin: 0; color: var(--gag-ink); }
.gag-card__rows { display: grid; gap: 10px; margin-top: auto; }
.gag-card__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gag-paper); font-size: .92rem; }
.gag-card__row b { margin-left: auto; }
.gag-card__dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--gag-sand); font-size: .95rem; }
.gag-card__bar { flex: 1; height: 8px; border-radius: 8px; background: var(--gag-sand); overflow: hidden; }
.gag-card__bar i { display: block; height: 100%; background: var(--gag-mint); border-radius: inherit; }
.gag-card__bar i.is-low { background: var(--gag-orange); }
.gag-card__chart { width: 100%; height: auto; margin-top: auto; }
.gag-ui-swatch { display: block; height: 34px; border-radius: 8px; background: var(--sw); margin-bottom: 8px; }
@media (max-width: 900px) { .gag-story__body { grid-template-columns: 1fr; } }

/* ==========================================================================
   4. STATS
   ========================================================================== */
.gag-stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.gag-stat { padding: 28px 24px; border-radius: var(--gag-radius); background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.gag-stat__value { display: flex; align-items: baseline; gap: 2px; font: 700 clamp(2.4rem, 5vw, 4rem)/1 var(--gag-font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.gag-stat__suffix { color: var(--accent); }
.gag-stat__label { margin: 10px 0 0; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) { .gag-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   5. DASHBOARD SHOWCASE (Services page)
   ========================================================================== */
.gag-dash { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.gag-dash__tabs { display: grid; gap: 10px; margin-top: 28px; }
.gag-site .gag-dash__tab {
	text-align: left; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--glass-border); background: var(--fill); cursor: pointer;
	font: inherit; color: var(--text); transition: background .3s, border-color .3s, box-shadow .3s;
}
.gag-site .gag-dash__tab:hover, .gag-site .gag-dash__tab:focus { background: var(--fill-2); color: var(--text); }
.gag-dash__tab strong { display: block; font: 700 1.1rem/1.2 var(--gag-font-display); }
.gag-dash__tab span { display: block; margin-top: 6px; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.gag-site .gag-dash__tab[aria-selected="true"] { background: var(--glass); border-color: rgba(255,150,90,.6); box-shadow: 0 0 40px -12px rgba(255,106,43,.6); }
.gag-dash__tab[aria-selected="false"] span { display: none; }
.gag-dash__frame-wrap { perspective: 1600px; }
.gag-dash__frame {
	border-radius: 22px; background: linear-gradient(145deg, #3a2a1f, #140d08 60%); padding: 10px; box-shadow: 0 60px 100px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08), 0 0 80px -30px rgba(255,106,43,.5);
	transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .6s var(--gag-ease); transform-style: preserve-3d;
}
.gag-dash__bar { display: flex; gap: 6px; padding: 6px 8px 12px; align-items: center; }
.gag-dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: #5a4334; }
.gag-dash__bar small { margin-left: auto; color: rgba(255,248,238,.5); font-size: .72rem; }
.gag-dash__screen { position: relative; border-radius: 14px; background: #fbf6ef; color: var(--gag-ink); min-height: 380px; overflow: hidden; }
.gag-dash__panel { padding: 18px; animation: gag-panel-in .6s var(--gag-ease); }
.gag-dash__panel[hidden] { display: none; }
@keyframes gag-panel-in { from { opacity: 0; transform: translateY(12px); } }
.gag-ui-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.gag-ui-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gag-ui-tile { border-radius: 12px; background: var(--gag-paper); padding: 12px 10px; font-size: .78rem; border: 1px solid var(--gag-line); }
.gag-ui-tile b { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.gag-ui-tile small { color: var(--gag-muted); }
.gag-ui-cart { border-radius: 14px; background: var(--gag-paper); padding: 14px; font-size: .82rem; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--gag-line); }
.gag-ui-cart div { display: flex; justify-content: space-between; }
.gag-ui-cart .total { border-top: 1px dashed var(--gag-line); padding-top: 8px; font-weight: 700; font-size: 1rem; }
.gag-ui-pay { margin-top: auto; border-radius: 10px; background: var(--gag-mint); color: #fff; text-align: center; padding: 10px; font-weight: 700; }
.gag-ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.gag-ui-kpi { border-radius: 12px; background: var(--gag-paper); padding: 12px; border: 1px solid var(--gag-line); }
.gag-ui-kpi small { color: var(--gag-muted); font-size: .72rem; display: block; }
.gag-ui-kpi b { font-size: 1.15rem; }
.gag-ui-kpi em { font-style: normal; font-size: .72rem; color: var(--gag-mint); margin-left: 4px; }
.gag-ui-table { width: 100%; border-collapse: collapse; font-size: .8rem; background: var(--gag-paper); border-radius: 12px; overflow: hidden; }
.gag-ui-table th, .gag-ui-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--gag-line); }
.gag-ui-table th { color: var(--gag-muted); font-weight: 500; }
.gag-ui-badge { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--gag-mint-soft); color: #0b6b53; }
.gag-ui-badge.is-low { background: #ffe1d4; color: #a83a0d; }
.gag-ui-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 14px; border-radius: 12px; background: var(--gag-paper); border: 1px solid var(--gag-line); }
.gag-ui-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--gag-sand); height: var(--h); transform-origin: bottom; animation: gag-grow .9s var(--gag-ease) both; animation-delay: calc(var(--i) * 60ms); }
.gag-ui-bars i:nth-child(5) { background: var(--gag-orange); }
@keyframes gag-grow { from { transform: scaleY(0); } }
.gag-dash__note { margin-top: 14px; font-size: .8rem; color: var(--faint); text-align: right; }
@media (max-width: 900px) {
	.gag-dash { grid-template-columns: 1fr; }
	.gag-dash__frame { --rx: 0deg; --ry: 0deg; }
	.gag-ui-grid { grid-template-columns: 1fr; }
	.gag-dash__screen { min-height: 0; }
}

/* ==========================================================================
   6. CAMPUSES (portfolio)
   ========================================================================== */
.gag-portfolio__grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.gag-project {
	display: flex; flex-direction: column; overflow: hidden; color: var(--text); text-decoration: none !important; padding: 10px;
	transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transform-style: preserve-3d; transition: transform .6s var(--gag-ease);
}
/* No drop shadow on campus cards, at rest or on hover. */
.gag-portfolio .gag-project, .gag-portfolio .gag-project:hover { box-shadow: none; }
.gag-project__media { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 18px;
	background: radial-gradient(120% 90% at 20% 10%, rgba(255,138,76,.55), transparent 55%), radial-gradient(90% 90% at 90% 90%, rgba(255,181,71,.35), transparent 60%), var(--media-bg); }
.gag-project:nth-child(2n) .gag-project__media { background: radial-gradient(120% 90% at 80% 10%, rgba(47,211,165,.38), transparent 55%), radial-gradient(90% 90% at 10% 90%, rgba(255,106,43,.35), transparent 60%), var(--media-bg); }
.gag-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--gag-ease); }
.gag-project:hover .gag-project__media img { transform: scale(1.05); }
.gag-project__nophoto { position: absolute; right: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; font-size: .72rem; color: var(--muted); background: var(--surface); border: 1px dashed var(--faint); }
.gag-project__type { position: absolute; left: 14px; top: 14px; padding: 8px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--text); background: var(--surface-strong); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gag-project__metric { position: absolute; right: 14px; top: 14px; padding: 12px 16px; border-radius: 16px; background: var(--surface-strong); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateZ(40px); text-align: right; }
.gag-project__metric b { display: block; font: 700 1.6rem/1 var(--gag-font-display); color: var(--accent-2); }
.gag-project__metric small { color: var(--muted); font-size: .78rem; }
.gag-project__body { padding: 22px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gag-project__title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.gag-site a.gag-project, .gag-site a.gag-project:hover, .gag-site a.gag-project:focus { color: var(--text); }
.gag-project__meta { color: var(--faint); font-size: .9rem; margin: 0; }
.gag-project__desc { margin: 0; line-height: 1.6; color: var(--muted); }
.gag-project__services { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 6px 0 0; padding: 0; }
.gag-project__services li { font-size: .78rem; padding: 6px 11px; border-radius: 999px; background: var(--fill); border: 1px solid var(--line); color: var(--text); }
.gag-project__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent-2); }
.gag-project--cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: clamp(24px, 4vw, 40px); }
.gag-project--cta h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 6px; }
.gag-project--cta p { color: var(--muted); margin: 0; line-height: 1.6; max-width: 46ch; }
.gag-project--cta > :not(.gag-btn) { flex: 1 1 320px; }
@media (max-width: 760px) { .gag-portfolio__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   7. COMPARISON (pick your current setup)
   ========================================================================== */
.gag-cmp__pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; max-width: 640px; }
.gag-cmp__pick[hidden] { display: none; }
.gag-site .gag-cmp__pick button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--glass-border); background: var(--fill); color: var(--text); font: 700 1.05rem/1.2 var(--gag-font-display); transition: background .3s, border-color .3s, box-shadow .3s; }
.gag-cmp__pick button small { font: 400 .85rem/1.3 var(--gag-font-body); color: var(--muted); }
.gag-site .gag-cmp__pick button:hover { background: var(--fill-2); }
.gag-site .gag-cmp__pick button[aria-pressed="true"] { background: var(--glass); border-color: rgba(255,150,90,.7); box-shadow: 0 0 40px -12px rgba(255,106,43,.6); }
.gag-site .gag-cmp__pick button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.gag-compare { overflow-x: auto; padding: 8px; }
.gag-compare table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; }
.gag-compare th, .gag-compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); color: var(--text); }
.gag-compare tbody th { text-align: left; font-weight: 500; font-family: var(--gag-font-body); letter-spacing: 0; font-size: 1rem; }
.gag-compare thead th { font: 700 1rem/1.2 var(--gag-font-display); vertical-align: bottom; }
.gag-compare thead th small { display: block; font: 400 .78rem/1.3 var(--gag-font-body); color: var(--muted); margin-top: 4px; }
.gag-compare .is-us { background: rgba(255,106,43,.08); }
.gag-compare thead .is-us { background: linear-gradient(135deg, rgba(255,138,76,.9), rgba(232,74,16,.9)); color: #fff; border-radius: 16px 16px 0 0; }
.gag-compare thead .is-us small { color: rgba(255,255,255,.85); }
.gag-compare tr:last-child > * { border-bottom: 0; }
.gag-compare tr:last-child .is-us { border-radius: 0 0 16px 16px; }
.gag-cmp.is-js[data-vs="2"] .c3, .gag-cmp.is-js[data-vs="3"] .c2 { display: none; }
.gag-cmp.is-js .gag-compare table { min-width: 0; }
.gag-cmp__score { margin: 18px 4px 0; color: var(--muted); min-height: 1.5em; }
.gag-cmp__score b { color: var(--text); }
.gag-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; transition: transform .4s var(--gag-ease); }
.gag-mark--yes { background: rgba(47,211,165,.16); color: var(--mint); box-shadow: 0 0 16px -4px rgba(47,211,165,.6); }
.gag-mark--no { background: var(--fill); color: var(--faint); }
.gag-mark--partial { background: rgba(255,181,71,.14); color: var(--accent-2); }
@media (max-width: 560px) { .gag-compare th, .gag-compare td { padding: 12px 8px; } .gag-compare tbody th { font-size: .9rem; } .gag-cmp__pick { grid-template-columns: 1fr 1fr; } .gag-site .gag-cmp__pick button { padding: 12px; font-size: .92rem; } }

/* ==========================================================================
   8. TESTIMONIALS
   ========================================================================== */
.gag-quotes { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.gag-quotes__stack { position: relative; min-height: 340px; perspective: 1200px; }
.gag-quote {
	position: absolute; inset: 0; margin: 0; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--surface-strong); border: 1px solid var(--glass-border);
	-webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
	display: flex; flex-direction: column; gap: 20px; box-shadow: var(--gag-shadow);
	transition: transform .8s var(--gag-ease), opacity .6s var(--gag-ease);
	transform: translate3d(calc(var(--o, 0) * 26px), calc(var(--o, 0) * 18px), calc(var(--o, 0) * -60px)); opacity: calc(1 - var(--o, 0) * .35);
	z-index: calc(10 - var(--o, 0));
}
.gag-quote[data-off="hidden"] { opacity: 0; pointer-events: none; }
.gag-quote blockquote { margin: 0; font: 500 clamp(1.15rem, 2vw, 1.45rem)/1.5 var(--gag-font-body); color: var(--text); }
.gag-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.gag-quote__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--fill-3); display: grid; place-items: center; font-weight: 800; overflow: hidden; }
.gag-quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.gag-quote cite { font-style: normal; font-weight: 700; display: block; }
.gag-quote small { color: var(--muted); }
.gag-quotes__nav { display: flex; gap: 10px; margin-top: 28px; }
.gag-site .gag-quotes__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--fill); cursor: pointer; font-size: 1.2rem; color: var(--text); }
.gag-site .gag-quotes__nav button:hover, .gag-site .gag-quotes__nav button:focus { background: var(--fill-3); color: var(--text); border-color: var(--faint); }
@media (max-width: 900px) { .gag-quotes { grid-template-columns: 1fr; } .gag-quotes__stack { min-height: 380px; } }

/* ==========================================================================
   9. PROPOSAL FORM (Action)
   ========================================================================== */
.gag-proposal { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.gag-proposal__aside { position: sticky; top: 110px; }
.gag-proposal__next { margin-top: 36px; }
.gag-proposal__promises { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; counter-reset: gagstep; }
.gag-proposal__promises li { display: flex; gap: 14px; align-items: baseline; line-height: 1.5; counter-increment: gagstep; color: var(--muted); }
.gag-proposal__promises li::before { content: counter(gagstep); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .8rem; font-weight: 700; color: var(--text); border: 1px solid var(--glass-border); background: var(--fill); }
.gag-proposal__contact { display: grid; gap: 8px; padding: 20px; }
.gag-site .gag-proposal__contact a { color: var(--text); font-weight: 600; text-decoration: none; }
.gag-form { padding: clamp(20px, 4vw, 40px); border-radius: 28px; }
.gag-form__progress { display: flex; gap: 8px; margin-bottom: 26px; list-style: none; padding: 0; }
.gag-form__progress li { flex: 1; font-size: .78rem; font-weight: 600; color: var(--faint); }
.gag-form__progress li::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--fill-3); margin-bottom: 8px; transition: background .4s, box-shadow .4s; }
.gag-form__progress li.is-done::before, .gag-form__progress li.is-current::before { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(255,106,43,.6); }
.gag-form__progress li.is-current { color: var(--text); }
.gag-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gag-form legend { font: 700 1.5rem/1.2 var(--gag-font-display); margin-bottom: 18px; padding: 0; color: var(--text); letter-spacing: -.02em; }
.gag-js .gag-form__step:not(.is-current) { display: none; }
.gag-form__step.is-current { animation: gag-panel-in .5s var(--gag-ease); }
.gag-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gag-form__field { display: flex; flex-direction: column; gap: 6px; }
.gag-form__field--full { grid-column: 1 / -1; }
.gag-form label, .gag-form__label { font-weight: 600; font-size: .88rem; color: var(--text); }
.gag-site .gag-form input[type="text"], .gag-site .gag-form input[type="email"], .gag-site .gag-form input[type="tel"], .gag-site .gag-form select, .gag-site .gag-form textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--fill);
	font: inherit; color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s;
}
.gag-form select option { color: #1b120c; }
.gag-form ::placeholder { color: var(--faint); }
.gag-form textarea { min-height: 110px; resize: vertical; }
.gag-site .gag-form input:focus, .gag-site .gag-form select:focus, .gag-site .gag-form textarea:focus { border-color: rgba(255,150,90,.8); background: var(--fill-2); outline: none; box-shadow: 0 0 0 4px rgba(255,106,43,.2); }
.gag-site .gag-form .is-invalid { border-color: #ff6b5b !important; background: rgba(255,80,60,.08) !important; }
.gag-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.gag-choice { position: relative; }
.gag-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.gag-choice span { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--glass-border); background: var(--fill); font-weight: 600; color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s; }
.gag-choice:hover span { background: var(--fill-2); }
.gag-choice input:checked + span { border-color: rgba(255,150,90,.8); background: rgba(255,106,43,.14); box-shadow: 0 0 30px -10px rgba(255,106,43,.7); }
.gag-choice input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.gag-choices.is-invalid .gag-choice span { border-color: #ff6b5b; }
.gag-form__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.gag-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gag-form__status { margin-top: 16px; font-weight: 500; min-height: 1.4em; color: var(--muted); }
.gag-form__status.is-error { color: #ff8a7a; }
.gag-form__done { text-align: center; padding: 40px 10px; }
.gag-form__done-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, #2fd3a5, #14a37f); color: #fff; display: grid; place-items: center; font-size: 2rem; box-shadow: 0 0 40px rgba(47,211,165,.6); animation: gag-pop .6s var(--gag-ease); }
@keyframes gag-pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 900px) { .gag-proposal { grid-template-columns: 1fr; } .gag-proposal__aside { position: static; } }
@media (max-width: 560px) { .gag-form__grid { grid-template-columns: 1fr; } }

/* ---------- Reduced motion: kill decorative motion everywhere ---------- */
@media (prefers-reduced-motion: reduce) {
	.gag-site *, .gag-site *::before, .gag-site *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
html.gag-js:not(.gag-motion) .gag-ambient i { animation: none; }

/* ==========================================================================
   Theme switch (light / dark / system)
   ========================================================================== */
.gag-header__nav { display: flex; align-items: center; }
.gag-theme { display: inline-flex; gap: 2px; padding: 3px; margin-left: 6px; border-radius: 999px; background: var(--fill-2); border: 1px solid var(--glass-border); }
.gag-theme[hidden] { display: none; }
.gag-site .gag-theme button { all: unset; box-sizing: border-box; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--faint); transition: background .2s, color .2s, box-shadow .2s; }
.gag-theme svg { width: 16px; height: 16px; }
.gag-site .gag-theme button:hover { color: var(--text); }
.gag-site .gag-theme button[aria-pressed="true"] { background: var(--surface-strong); color: var(--text); box-shadow: 0 2px 8px -3px rgba(0,0,0,.35); }
.gag-site .gag-theme button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width: 1080px) {
	.gag-header__nav { position: absolute; inset: calc(100% + 8px) var(--gag-gutter) auto; display: none; background: var(--surface-strong); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 20px; padding: 10px; box-shadow: var(--gag-shadow); }
	.gag-header.is-open .gag-header__nav { display: block; }
	.gag-header__nav ul { flex-direction: column; }
	.gag-header__nav a { font-size: 1.05rem; padding: 14px 16px; }
	.gag-header__toggle { display: grid; place-items: center; }
	.gag-theme { margin: 10px 8px 6px; }
}
html[data-theme] { transition: background-color .4s; }

/* ==========================================================================
   Poppins tuning
   ========================================================================== */
.gag-site h1, .gag-site h2, .gag-site h3, .gag-site h4 { font-weight: 600; letter-spacing: -0.03em; }
.gag-section-title { font-weight: 600; letter-spacing: -.04em; }
.gag-site .gag-journey__title { font-size: clamp(2.5rem, 4.9vw, 4.5rem); line-height: 1.02; font-weight: 600; max-width: 13.5ch; letter-spacing: -.045em; }
.gag-logo-mark { font-weight: 700; font-size: .82rem; }

/* Shared chip */
.gag-chip, .gag-journey__clients b { white-space: nowrap; font-weight: 500; color: var(--text); padding: .45em .85em; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--fill); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ==========================================================================
   12. PAGE HERO (inner pages)
   ========================================================================== */
.gag-phero { padding: clamp(130px, 14vw, 170px) 0 clamp(8px, 2vw, 24px); }
.gag-phero__title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.04; margin: 0 0 1.2rem; max-width: 15ch; letter-spacing: -.045em; }
.gag-phero__intro { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 56ch; line-height: 1.65; margin: 0 0 2rem; }
.gag-phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.gag-phero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2.2rem 0 0; padding: 0; list-style: none; font-size: .88rem; color: var(--faint); }
.gag-phero__facts > span { margin-right: 4px; }

/* Page hero visual: animated line icon (or image) in a glass tile, with orbit rings and floating labels */
.gag-phero.has-visual .gag-phero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.gag-phero__text { min-width: 0; }
.gag-pv { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; justify-self: end; display: grid; place-items: center; pointer-events: none; }
.gag-pv__glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255, 122, 60, .42), rgba(255, 181, 71, .16) 45%, transparent 70%); filter: blur(28px); animation: gag-pv-breathe 7s ease-in-out infinite; }
.gag-pv__ring { position: absolute; inset: 3%; border-radius: 50%; border: 1px solid var(--line); animation: gag-pv-spin 30s linear infinite; }
.gag-pv__ring::after { content: ""; position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.gag-pv__ring--2 { inset: 17%; border-style: dashed; animation-duration: 20s; animation-direction: reverse; }
.gag-pv__ring--2::after { background: var(--mint); box-shadow: 0 0 14px var(--mint); width: 8px; height: 8px; top: -4px; left: calc(50% - 4px); }
.gag-pv__card { position: relative; width: 50%; aspect-ratio: 1; border-radius: 34px; display: grid; place-items: center; color: var(--text); animation: gag-pv-float 7s ease-in-out infinite; }
.gag-pv__card svg { width: 66%; height: auto; overflow: visible; }
.gag-pv__img { position: relative; width: 72%; aspect-ratio: 1; border-radius: 30px; padding: 10px; overflow: hidden; animation: gag-pv-float 7s ease-in-out infinite; }
.gag-pv__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; }
.gag-pv svg * { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.gag-pv svg .a { stroke: var(--accent); }
.gag-pv svg .f { fill: var(--accent); stroke: none; }
.gag-pv svg [class*="pv-"] { transform-box: fill-box; }
.gag-pv__chip { position: absolute; display: inline-flex; align-items: center; gap: .55em; padding: .6em 1em; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text); white-space: nowrap; animation: gag-pv-float 6s ease-in-out infinite; }
.gag-pv__chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.gag-pv__chip--a { top: 13%; left: 0; }
.gag-pv__chip--b { bottom: 14%; right: 0; animation-delay: -3s; }
.gag-pv__chip--b::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.pv-steam { animation: gag-pv-steam 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .45s); }
.pv-bar { transform-origin: 50% 100%; animation: gag-pv-bar 3.2s var(--gag-ease) infinite; animation-delay: calc(var(--i, 0) * .18s); }
.pv-pulse { transform-origin: 50% 50%; animation: gag-pv-pulse 2.4s ease-out infinite; }
.pv-bob { animation: gag-pv-bob 2.4s ease-in-out infinite; }
.pv-swing { transform-origin: 50% 0; animation: gag-pv-swing 3s ease-in-out infinite; }
.pv-dot { animation: gag-pv-dot 1.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .2s); }
.pv-check { stroke-dasharray: 1; stroke-dashoffset: 1; animation: gag-pv-draw 3.6s var(--gag-ease) infinite; }

@keyframes gag-pv-spin { to { transform: rotate(360deg); } }
@keyframes gag-pv-breathe { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes gag-pv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes gag-pv-steam { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes gag-pv-bar { 0%, 100% { transform: scaleY(.35); } 45%, 70% { transform: scaleY(1); } }
@keyframes gag-pv-pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes gag-pv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes gag-pv-swing { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes gag-pv-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes gag-pv-draw { 0% { stroke-dashoffset: 1; } 35%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* Static when motion is off (reduced motion, ?gag-reduced=1 or no JS): show the finished icon. */
html:not(.gag-motion) .gag-pv *, html:not(.gag-motion) .gag-pv { animation: none !important; }
html:not(.gag-motion) .pv-check { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .gag-pv * { animation: none !important; } .pv-check { stroke-dashoffset: 0; } }

@media (max-width: 900px) {
	.gag-phero.has-visual .gag-phero__grid { grid-template-columns: 1fr; gap: 8px; }
	.gag-pv { max-width: 300px; justify-self: center; margin-top: 12px; }
	.gag-pv__chip { font-size: .78rem; }
}
@media (max-width: 600px) {
	.gag-pv { max-width: 230px; margin-top: 20px; }
	.gag-pv__chip { font-size: .72rem; padding: .5em .8em; }
	.gag-pv__chip--a { left: -8%; }
	.gag-pv__chip--b { right: -8%; }
}

/* ==========================================================================
   13. CARDS
   ========================================================================== */
.gag-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.gag-card2 { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.gag-card2__k { font: 600 .8rem/1 var(--gag-font-body); color: var(--accent); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.gag-card2 h3 { margin: 10px 0 0; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.2; }
.gag-card2 p { margin: 0; color: var(--muted); line-height: 1.6; }
@media (max-width: 960px) { .gag-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gag-cards { grid-template-columns: minmax(0, 1fr); } .gag-card2 { min-height: 0; } }

/* ==========================================================================
   14. PROSE + 15. FAQ (two-column: heading left, content right)
   ========================================================================== */
.gag-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.gag-split > .gag-head { position: sticky; top: 110px; }
@media (max-width: 900px) { .gag-split { grid-template-columns: minmax(0, 1fr); } .gag-split > .gag-head { position: static; } }
.gag-prose { font-size: 1.04rem; line-height: 1.75; color: var(--muted); max-width: 68ch; }
.gag-prose > :first-child { margin-top: 0; }
.gag-prose h2, .gag-prose h3, .gag-prose h4 { color: var(--text); margin: 2em 0 .6em; font-size: 1.35rem; line-height: 1.25; }
.gag-prose p { margin: 0 0 1em; }
.gag-prose ul, .gag-prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.gag-prose li { margin: .35em 0; }
.gag-site .gag-prose a { color: var(--accent); }
.gag-prose strong { color: var(--text); font-weight: 600; }
.gag-faq { display: grid; gap: 10px; }
.gag-faq details { border-radius: 20px; }
.gag-faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 60px 20px 24px; font-weight: 600; font-size: 1.05rem; line-height: 1.4; color: var(--text); border-radius: inherit; }
.gag-faq summary::-webkit-details-marker { display: none; }
.gag-faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .35s var(--gag-ease), margin .35s; }
.gag-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.gag-faq details > div { padding: 0 24px 22px; color: var(--muted); line-height: 1.65; }
.gag-faq details > div p { margin: 0; }
.gag-split .gag-section-title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); max-width: 14ch; }
@media (max-width: 1080px) { .gag-header__nav { background: color-mix(in srgb, var(--bg) 94%, transparent); } }

/* ==========================================================================
   Campus card: status panel (no photo) styled like the app screens
   ========================================================================== */
.gag-project__panel { position: relative; border-radius: 18px; padding: 16px; min-height: 196px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
	background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%), var(--surface-strong); border: 1px solid var(--glass-border); }
.gag-project__panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 22px 22px;
	-webkit-mask: radial-gradient(120% 90% at 100% 0%, #000, transparent 70%); mask: radial-gradient(120% 90% at 100% 0%, #000, transparent 70%); }
.gag-project__bar { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gag-project__kind { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gag-project__status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--text); background: var(--fill); border: 1px solid var(--line); }
.gag-project__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: gag-live 2.2s ease-out infinite; }
@keyframes gag-live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
.gag-project__mods { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gag-project__mods li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; font-size: .9rem; font-weight: 600; color: var(--text);
	background: var(--surface); border: 1px solid var(--glass-border); transition: transform .4s var(--gag-ease), border-color .3s; }
.gag-project__ico { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.gag-project__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gag-project:hover .gag-project__mods li { border-color: color-mix(in srgb, var(--accent) 35%, var(--glass-border)); }
.gag-project:hover .gag-project__mods li:nth-child(odd) { transform: translateY(-2px); }
.gag-project:hover .gag-project__mods li:nth-child(even) { transform: translateY(2px); }
.gag-project__arrow { display: inline-block; transition: transform .35s var(--gag-ease); }
.gag-project:hover .gag-project__arrow { transform: translateX(5px); }
html:not(.gag-motion) .gag-project__status i { animation: none; }
@media (max-width: 420px) { .gag-project__mods { grid-template-columns: 1fr; } }

.gag-campus .gag-label a { color: inherit; text-decoration: none; }
.gag-campus .gag-label a:hover { color: var(--accent); }
.gag-campus__meta { color: var(--faint); margin: -.4rem 0 1rem; font-size: .95rem; }
.gag-campus__media { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; padding: 10px;
	background-image: radial-gradient(120% 90% at 20% 10%, rgba(255,138,76,.4), transparent 55%), radial-gradient(90% 90% at 90% 90%, rgba(255,181,71,.3), transparent 60%); }
.gag-campus__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }
.gag-campus .gag-section { padding-block: clamp(36px, 4.5vw, 64px); }
.gag-project > .gag-project__metric { position: static; transform: none; align-self: flex-start; margin: 12px 6px 0; }


/* ==========================================================================
   Campus page sections
   ========================================================================== */
.gag-campus__glance { padding-bottom: clamp(8px, 2vw, 20px); }
.gag-glance { margin: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 24px; }
.gag-glance > div { padding: 16px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.gag-glance dt { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 6px; }
.gag-glance dd { margin: 0; font-weight: 600; color: var(--text); line-height: 1.4; }

.gag-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.gag-svc__item { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.gag-svc__item .gag-project__ico { width: 44px; height: 44px; border-radius: 14px; }
.gag-svc__item .gag-project__ico svg { width: 22px; height: 22px; }
.gag-svc__item h3 { margin: 6px 0 0; font-size: 1.2rem; line-height: 1.25; }
.gag-svc__item p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }

.gag-day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; position: relative; }
.gag-day::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); border-radius: 2px; }
.gag-day__step { position: relative; display: flex; flex-direction: column; gap: 16px; }
.gag-day__dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--accent); box-shadow: 0 0 0 6px var(--bg), 0 10px 24px -8px var(--accent); }
.gag-day__card { padding: 22px; flex: 1; }
.gag-day__when { margin: 0 0 8px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.gag-day__card h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.25; }
.gag-day__card p:last-child { margin: 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }

.gag-campus__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.gag-campus__split .gag-head { margin-bottom: 0; }
.gag-report { padding: 8px; border-radius: 24px; }
.gag-report__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 600; }
.gag-report__tag { font-size: .75rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.gag-report ul { list-style: none; margin: 0; padding: 6px; display: grid; gap: 6px; border-radius: 18px; background: var(--surface-strong); border: 1px solid var(--glass-border); }
.gag-report li { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; font-weight: 500; }
.gag-report li + li { border-top: 1px dashed var(--line); border-radius: 0; }
.gag-report__tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--mint) 16%, transparent); position: relative; }
.gag-report__tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid var(--mint); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gag-report__foot { margin: 0; padding: 12px 16px 8px; font-size: .78rem; color: var(--faint); }
html.gag-motion .gag-report.is-in li { animation: gag-row-in .6s var(--gag-ease) both; animation-delay: var(--d, 0s); }
@keyframes gag-row-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.gag-campus__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.gag-campus__about { grid-column: 1 / -1; max-width: 72ch; }
.gag-campus__box { padding: 24px; }
.gag-campus__box h3 { margin: 0 0 12px; font-size: 1.1rem; }
.gag-campus__list, .gag-campus__hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gag-campus__list li { position: relative; padding-left: 22px; color: var(--muted); line-height: 1.55; }
.gag-campus__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.gag-campus__hours li { padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-weight: 500; }
.gag-campus__hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.gag-campus__others { padding-bottom: clamp(48px, 7vw, 96px); }

@media (max-width: 960px) {
	.gag-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gag-day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gag-day::before { display: none; }
	.gag-campus__split { grid-template-columns: 1fr; }
	.gag-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.gag-svc, .gag-day { grid-template-columns: 1fr; }
	.gag-day::before { display: block; left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
	.gag-day__step { flex-direction: row; align-items: flex-start; }
	.gag-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gag-glance > div { padding: 14px 16px; }
}

/* A lone campus card spans the row: status panel left, text right. */
.gag-project.is-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 8px; }
.gag-project.is-wide .gag-project__body { justify-content: center; padding: 22px 24px; }
@media (max-width: 760px) { .gag-project.is-wide { grid-template-columns: 1fr; } }
