/* ══════════════════════════════════════════════════════════════════
   GrL'Ca 1.8 — the glass system. "Glass over the Adriatic night."
   Loaded on every page (functions.php). Tokens in main.css.

   One memorable thing: the 3D stack of Fixit screens (hero) and its
   pinned scroll story. Everything else is quiet glass and type.

   The old section ids (#hero, #services, #seo-aio…) are kept for
   anchors and links; main.css still styles some of them, so the
   rules below that reset them carry the id too.
   ══════════════════════════════════════════════════════════════════ */

/* ── Grounds ───────────────────────────────────────────────────── */
.gx-dark  { background: var(--ink); color: #ecebe7; position: relative; isolation: isolate; }
.gx-light { background: var(--paper); color: var(--ink); position: relative; }
.gx-section { padding: clamp(5rem, 9vw, 8rem) 5vw; }
.gx-section--tight { padding-top: clamp(3rem, 6vw, 5rem); }
.gx-wrap { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.gx-center { text-align: center; }

/* Old id rules from main.css, neutralised for the new sections */
#services.gx-light, #process.gx-light, #faq.gx-light, #testimonials.gx-light { background: var(--paper); color: var(--ink); }
#services.gx-light h2 { color: var(--ink); }   /* main.css still paints #services h2 for the old dark section */
#seo-aio.gx-section { display: block; padding: clamp(5rem, 9vw, 8rem) 5vw; }

/* Slow ambient light behind the dark sections — the only motion that runs
   without being asked, and it stops under reduced motion. */
.gx-aurora {
	position: absolute; inset: -20% -10% -10%; z-index: -1; pointer-events: none;
	background:
		radial-gradient(40% 45% at 78% 30%, rgba(156,195,186,.22), transparent 70%),
		radial-gradient(30% 35% at 18% 75%, rgba(200,69,58,.16), transparent 70%),
		radial-gradient(35% 40% at 50% 110%, rgba(122,117,112,.25), transparent 70%);
	filter: blur(30px);
	animation: gx-drift 28s ease-in-out infinite alternate;
}
.gx-aurora--low { opacity: .7; }
.gx-dark::after {
	/* fine grain, so the glass has something to diffuse */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
	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");
}
@keyframes gx-drift { to { transform: translate3d(-3%, 4%, 0) scale(1.06); } }

/* ── Type ──────────────────────────────────────────────────────── */
.gx-h1, .gx-h2 { font-family: var(--serif); color: inherit; margin: 0 0 1.2rem; }
/* Syne is a wide face: it gets a smaller size and a longer measure than a
   condensed display would, or a headline runs to seven lines. */
.gx-h1 { font-weight: 700; font-size: clamp(2.1rem, 3.9vw, 3.7rem); line-height: 1.04; letter-spacing: -.035em; max-width: 21ch; }
.gx-h2 { font-weight: 700; font-size: clamp(1.75rem, 2.9vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; max-width: 24ch; }
.gx-lead, .gx-sub { font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.68; max-width: 58ch; margin: 0 0 2rem; }
.gx-dark .gx-lead, .gx-dark .gx-sub { color: rgba(236,235,231,.72); }
.gx-light .gx-sub { color: #55524e; }
.gx-dark strong { color: #fff; }
.gx-fine { font-size: .88rem; color: rgba(236,235,231,.55); margin-top: 1rem; }
.gx-light .gx-fine { color: #6b6762; }
.gx-fine a { color: inherit; }
.gx-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.gx-head--row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.gx-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }

/* ── Buttons ───────────────────────────────────────────────────── */
.gx-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.gx-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
	padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
	text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.gx-btn--red { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(200,69,58,.7); }
.gx-btn--red:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(200,69,58,.8); color: #fff; }
.gx-btn--glass {
	background: var(--glass-bg); color: #fff; border: 1px solid var(--glass-edge);
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.gx-btn--glass:hover { background: var(--glass-bg-hi); border-color: rgba(255,255,255,.3); color: #fff; }
.gx-light .gx-btn--glass { background: rgba(255,255,255,.6); color: var(--ink); border-color: rgba(28,29,34,.14); }
.gx-light .gx-btn--glass:hover { background: #fff; color: var(--ink); }

/* Glass surface on dark */
.gx-glass {
	background: linear-gradient(150deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
	border: 1px solid var(--glass-edge); border-radius: var(--radius-lg);
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14);
}

/* ══ HERO ══════════════════════════════════════════════════════════ */
section#hero.gx-hero {
	display: block; min-height: 100svh; padding: calc(var(--header-h) + clamp(2rem, 6vw, 5rem)) 5vw clamp(3rem, 6vw, 5rem);
	overflow: hidden;
}
.gx-hero__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; z-index: 1; }
.gx-hero__logo { margin-bottom: 2rem; }
.gx-hero__logo svg { height: 52px; width: auto; }
.gx-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin: 2.6rem 0 0; flex-wrap: wrap; }
.gx-stats div { display: flex; flex-direction: column-reverse; }
.gx-stats dd { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.04em; color: #fff; line-height: 1; }
.gx-stats dt { font-size: .88rem; color: rgba(236,235,231,.6); margin-top: .35rem; }

/* The 3D stack. --rx/--ry come from home.js (pointer + scroll). */
.gx-scene { perspective: 1600px; height: clamp(360px, 42vw, 520px); position: relative; }
.gx-stack {
	position: absolute; inset: 0; transform-style: preserve-3d;
	transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, -24deg)) rotateZ(4deg);
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.gx-pane {
	position: absolute; width: min(400px, 78%); padding: 1.1rem 1.2rem 1.3rem; border-radius: 18px; color: #f2f1ee;
	background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
	border: 1px solid rgba(255,255,255,.2);
	-webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
	box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.28);
}
.gx-pane--back  { top: 2%;  left: 20%; transform: translateZ(-120px); }
.gx-pane--mid   { top: 30%; left: 4%;  transform: translateZ(-20px); }
.gx-pane--front { top: 52%; left: 30%; transform: translateZ(110px); background: linear-gradient(150deg, rgba(255,255,255,.22), rgba(255,255,255,.07)); }

/* Fixit mock UI, shared by hero panes and story screens */
.fx-bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: .8rem; margin-bottom: .9rem; color: rgba(255,255,255,.75); }
.fx-bar span { font-weight: 600; color: #fff; }
.fx-bar em { font-style: normal; font-size: .72rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(255,255,255,.12); }
.fx-bar em.fx-ok   { background: rgba(156,195,186,.25); color: #cfe6e0; }
.fx-bar em.fx-warm { background: rgba(232,130,60,.22); color: #ffd3b4; }
.fx-rows { list-style: none; margin: 0; padding: 0; font-size: .82rem; }
.fx-rows li { display: flex; justify-content: space-between; padding: .45rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.fx-rows li span { color: rgba(255,255,255,.6); }
.fx-receipt { font-size: .84rem; }
.fx-receipt div { display: flex; justify-content: space-between; padding: .3rem 0; }
.fx-receipt .fx-sum { border-top: 1px dashed rgba(255,255,255,.25); margin-top: .3rem; padding-top: .55rem; font-size: .95rem; }
.fx-receipt code { display: block; margin-top: .6rem; font-size: .74rem; color: #cfe6e0; background: rgba(0,0,0,.18); padding: .35rem .5rem; border-radius: 6px; }
.fx-order b { display: block; font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: .25rem; }
.fx-order span { font-size: .84rem; color: rgba(255,255,255,.7); }
.fx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin-top: 1rem; }
.fx-steps i { height: 5px; border-radius: 3px; background: rgba(255,255,255,.15); }
.fx-steps i.on { background: linear-gradient(90deg, var(--glass-tint), #cfe6e0); }
.fx-chip { position: absolute; right: 1rem; bottom: -.7rem; font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--accent); color: #fff; padding: .3rem .7rem; border-radius: 999px; }
.fx-form label { display: flex; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.6); padding: .45rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.fx-form label b { color: #fff; font-weight: 600; }
.fx-photos { display: flex; gap: .5rem; margin-top: .8rem; }
.fx-photos i { width: 54px; height: 54px; border-radius: 10px; background: linear-gradient(135deg, rgba(156,195,186,.35), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.15); }
.fx-timeline { list-style: none; margin: 0; padding: 0 0 0 1.1rem; font-size: .88rem; border-left: 2px solid rgba(255,255,255,.12); }
.fx-timeline li { position: relative; padding: .45rem 0 .45rem .6rem; color: rgba(255,255,255,.5); }
.fx-timeline li::before { content: ""; position: absolute; left: -1.45rem; top: .85rem; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.fx-timeline li.on { color: #fff; }
.fx-timeline li.on::before { background: var(--glass-tint); box-shadow: 0 0 12px var(--glass-tint); }

/* ══ FIXIT STORY ═══════════════════════════════════════════════════ */
/* Without JS (or under reduced motion) this is a normal section with all
   four steps listed. With JS it is tall, and the inner part pins while
   --p runs 0→1 and the device turns through the four screens. */
.gx-story { padding: clamp(4rem, 8vw, 7rem) 5vw; }
.js .gx-story.is-live { height: 330vh; padding: 0 5vw; }
.gx-story__pin { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; z-index: 1; }
.js .gx-story.is-live .gx-story__pin { position: sticky; top: var(--header-h); min-height: calc(100svh - var(--header-h)); }

.gx-steps { list-style: none; counter-reset: gx; margin: 0; padding: 0; }
.gx-steps li { counter-increment: gx; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .9rem; padding: .95rem 0; border-top: 1px solid rgba(255,255,255,.1); transition: opacity .35s; }
.gx-steps li::before { content: counter(gx); grid-row: span 2; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--glass-tint); }
.gx-steps b { font-family: var(--serif); font-size: 1.15rem; letter-spacing: -.02em; }
.gx-steps span { color: rgba(236,235,231,.7); font-size: .97rem; line-height: 1.55; }
.js .gx-story.is-live .gx-steps li { opacity: .35; }
.js .gx-story.is-live .gx-steps li.is-active { opacity: 1; }

.gx-device { perspective: 1500px; display: flex; justify-content: center; }
.gx-device__body {
	position: relative; width: min(460px, 86vw); aspect-ratio: 4 / 3.1; border-radius: 26px; padding: 1.4rem;
	transform-style: preserve-3d;
	transform: rotateX(10deg) rotateY(calc(-26deg + var(--p, 0) * 52deg));
	transition: transform .25s linear;
	background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.035));
	border: 1px solid rgba(255,255,255,.2);
	-webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
	box-shadow: 0 60px 100px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.25);
}
/* Out goes fast, in comes after: the two screens never sit on top of each other. */
.gx-screen { position: absolute; inset: 1.4rem; color: #f2f1ee; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.gx-screen.is-active { transition: opacity .3s .12s, transform .3s .12s, visibility 0s; }
.gx-screen.is-active, .gx-story:not(.is-live) .gx-screen[data-screen="0"] { opacity: 1; visibility: visible; transform: none; }

/* ══ WORK (bento) ══════════════════════════════════════════════════ */
#portfolio.gx-light::before {
	/* colour behind the frosted cards, or the glass reads as plain white */
	content: ""; position: absolute; inset: 15% 5% 10%; pointer-events: none; z-index: 0; filter: blur(60px); opacity: .55;
	background: radial-gradient(30% 40% at 20% 30%, rgba(156,195,186,.7), transparent 70%),
	            radial-gradient(25% 35% at 80% 70%, rgba(200,69,58,.35), transparent 70%),
	            radial-gradient(30% 30% at 60% 20%, rgba(122,117,112,.5), transparent 70%);
}
.gx-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 1rem; }
.gx-work {
	display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius-lg); color: var(--ink); text-decoration: none;
	background: linear-gradient(150deg, rgba(255,255,255,.78), rgba(255,255,255,.45));
	border: 1px solid rgba(255,255,255,.85);
	-webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 24px 50px -30px rgba(28,29,34,.35);
	transition: transform .25s, box-shadow .25s;
}
a.gx-work:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -30px rgba(28,29,34,.45); color: var(--ink); }
.gx-work.is-wide { grid-column: span 2; }
.gx-work.is-tall { grid-row: span 2; }
.gx-work__top { display: flex; justify-content: space-between; align-items: start; gap: .6rem; }
.gx-work h3 { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; margin: 0; }
.gx-work.is-tall h3 { font-size: 1.9rem; }
.gx-work__what { font-weight: 600; margin: .4rem 0 .7rem; color: #3b3935; }
.gx-work__text { margin: 0 0 1.2rem; color: #5a5752; line-height: 1.6; font-size: .96rem; }
.gx-badge { font-size: .75rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: rgba(122,117,112,.15); color: #4d4a46; white-space: nowrap; }
.gx-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: auto 0 0; padding: 0; }
.gx-tags li { font-size: .76rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(28,29,34,.06); color: #4d4a46; }
.gx-more { margin-top: 2rem; }
.gx-more a { color: var(--ink); font-weight: 600; }

/* ══ AI BUILDER ════════════════════════════════════════════════════ */
.gx-ai { overflow: hidden; }
.gx-ai__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.gx-flow { list-style: none; counter-reset: fl; margin: 0 0 1.6rem; padding: 0; }
.gx-flow li { counter-increment: fl; position: relative; padding: .55rem 0 .55rem 2.4rem; color: rgba(236,235,231,.75); line-height: 1.55; }
.gx-flow li::before { content: counter(fl); position: absolute; left: 0; top: .5rem; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; font-size: .82rem; font-weight: 700; background: rgba(156,195,186,.2); color: #cfe6e0; }
.gx-flow b { color: #fff; }
.gx-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-width: 420px; }
.gx-plans li { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 1.1rem; border-radius: var(--radius-md); background: var(--glass-bg); border: 1px solid var(--glass-edge); }
.gx-plans b { font-family: var(--serif); font-size: 1.35rem; color: #fff; letter-spacing: -.02em; }
.gx-plans small { font-family: var(--sans); font-size: .8rem; color: rgba(236,235,231,.6); margin-left: .15rem; }

/* Three designs, fanned in depth — one per direction the builder draws */
.gx-fan { position: relative; height: clamp(320px, 36vw, 440px); perspective: 1400px; }
.gx-fan__card {
	position: absolute; top: 8%; left: 18%; width: 58%; aspect-ratio: 3 / 4; border-radius: 18px; padding: 1rem; overflow: hidden;
	border: 1px solid rgba(255,255,255,.25); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75);
	transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.gx-fan__card i  { display: block; height: 38%; border-radius: 10px; margin-bottom: .8rem; }
.gx-fan__card b  { display: block; height: 14px; width: 70%; border-radius: 4px; margin-bottom: .6rem; }
.gx-fan__card span { display: block; height: 8px; width: 90%; border-radius: 4px; margin-bottom: .4rem; opacity: .6; }
.gx-fan__card em { display: block; width: 40%; height: 22px; border-radius: 999px; margin-top: 1rem; }
.gx-fan__card--1 { background: #12131a; transform: rotateY(28deg) rotateZ(-9deg) translate3d(-34%, 4%, -60px); }
.gx-fan__card--1 i { background: linear-gradient(135deg, #c8453a, #4a1d1a); } .gx-fan__card--1 b, .gx-fan__card--1 span { background: #e9e7e3; } .gx-fan__card--1 em { background: #c8453a; }
.gx-fan__card--2 { background: #eef5f3; transform: translate3d(0, 0, 40px); z-index: 2; }
.gx-fan__card--2 i { background: linear-gradient(135deg, #9cc3ba, #e4f0ed); } .gx-fan__card--2 b, .gx-fan__card--2 span { background: #1c1d22; } .gx-fan__card--2 em { background: #2c6e63; }
.gx-fan__card--3 { background: #f3ede4; transform: rotateY(-28deg) rotateZ(9deg) translate3d(34%, 4%, -60px); }
.gx-fan__card--3 i { background: linear-gradient(135deg, #7a7570, #d8cfc2); } .gx-fan__card--3 b, .gx-fan__card--3 span { background: #3b342c; } .gx-fan__card--3 em { background: #3b342c; }
.gx-fan:hover .gx-fan__card--1 { transform: rotateY(32deg) rotateZ(-12deg) translate3d(-42%, 2%, -60px); }
.gx-fan:hover .gx-fan__card--3 { transform: rotateY(-32deg) rotateZ(12deg) translate3d(42%, 2%, -60px); }

/* ══ SERVICES ══════════════════════════════════════════════════════ */
.gx-services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.gx-svc { display: flex; flex-direction: column; padding: 2rem 2rem 2rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); transition: background .25s; }
.gx-svc:nth-child(odd) { border-right: 1px solid var(--border); }
.gx-svc:nth-child(even) { padding-left: 2rem; }
.gx-svc:hover { background: rgba(255,255,255,.5); color: var(--ink); }
.gx-svc h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.035em; margin: 0 0 .6rem; }
.gx-svc p { color: #55524e; line-height: 1.62; margin: 0 0 1.2rem; max-width: 52ch; }
.gx-svc__price { margin-top: auto; font-weight: 700; color: var(--accent); }

/* ══ HOSTING ═══════════════════════════════════════════════════════ */
.gx-host { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gx-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; }
.gx-feats b { display: block; color: #fff; margin-bottom: .2rem; }
.gx-feats span { color: rgba(236,235,231,.65); font-size: .94rem; }
.gx-domain { padding: clamp(1.2rem, 3vw, 2rem); }
/* The plugin's domain search brings its own light card; let it sit in the glass. */
.gx-domain .grlca-portal-wrap { border-radius: var(--radius-md); overflow: hidden; }

/* ══ SEO ═══════════════════════════════════════════════════════════ */
.gx-seo { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.gx-checks { list-style: none; margin: 0; padding: 0; }
.gx-checks li { position: relative; padding: .7rem 0 .7rem 2rem; border-top: 1px solid var(--border); color: #4d4a46; line-height: 1.55; }
.gx-checks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.05rem; height: .55rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.gx-checks b { color: var(--ink); }
.gx-code { margin: 0; border-radius: var(--radius-lg); background: var(--ink); color: #dfe9e6; padding: 1.4rem 1.5rem; box-shadow: 0 40px 70px -40px rgba(28,29,34,.6); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); }
.gx-code figcaption { font-size: .82rem; color: rgba(236,235,231,.55); margin-bottom: .8rem; }
.gx-code pre { margin: 0; overflow-x: auto; font: .82rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ══ PROCESS ═══════════════════════════════════════════════════════ */
.gx-process { list-style: none; counter-reset: pr; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.gx-process li { counter-increment: pr; border-top: 2px solid var(--ink); padding-top: 1rem; }
.gx-process li::before { content: counter(pr); display: block; font-family: var(--serif); font-weight: 800; font-size: 2.4rem; letter-spacing: -.05em; color: var(--muted); line-height: 1; margin-bottom: .6rem; }
.gx-process b { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: .35rem; }
.gx-process span { color: #55524e; line-height: 1.55; font-size: .95rem; }

/* ══ PRICES ════════════════════════════════════════════════════════ */
.gx-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; align-items: stretch; }
.gx-price { display: flex; flex-direction: column; padding: 2rem; color: #ecebe7; }
.gx-price--main { border-color: rgba(200,69,58,.55); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(200,69,58,.25), inset 0 1px 0 rgba(255,255,255,.14); }
.gx-price h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 .6rem; color: #fff; }
/* .gx-price > p would otherwise grey the price out (same element, higher specificity) */
.gx-price > .gx-price__num { font-family: var(--serif); font-weight: 700; font-size: 2.1rem; letter-spacing: -.035em; color: #fff; margin: 0 0 .6rem; }
.gx-price__num small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: rgba(236,235,231,.6); }
.gx-price > p { color: rgba(236,235,231,.7); line-height: 1.55; margin: 0 0 1rem; }
.gx-price ul { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.gx-price li { padding: .4rem 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .94rem; color: rgba(236,235,231,.82); }
.gx-price .gx-btn { margin-top: auto; }

/* ══ QUOTES ════════════════════════════════════════════════════════ */
.gx-quotes { columns: 2 320px; column-gap: 1rem; margin-top: 2rem; }
.gx-quote { break-inside: avoid; margin: 0 0 1rem; padding: 1.8rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9); }
.gx-quote blockquote { margin: 0 0 1.2rem; }
.gx-quote p { font-size: 1.04rem; line-height: 1.65; color: #2c2b28; margin: 0; }
.gx-quote figcaption b { display: block; }
.gx-quote figcaption span { font-size: .88rem; color: #6b6762; }

/* ══ FAQ ═══════════════════════════════════════════════════════════ */
.gx-faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.gx-q { border-top: 1px solid var(--border); }
.gx-q:last-child { border-bottom: 1px solid var(--border); }
.gx-q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 600; font-size: 1.04rem; }
.gx-q summary::-webkit-details-marker { display: none; }
.gx-q summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: transform .25s; }
.gx-q[open] summary::after { transform: rotate(45deg); }
.gx-q p { margin: 0 0 1.2rem; color: #4d4a46; line-height: 1.68; max-width: 70ch; }

/* ══ CLIENTS ═══════════════════════════════════════════════════════ */
.gx-clients { padding-bottom: clamp(4rem, 7vw, 6rem); overflow: hidden; }
.gx-ticker { margin-top: 2.4rem; display: grid; gap: .7rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.gx-ticker__row { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.4rem; width: max-content; animation: gx-tick 70s linear infinite; }
.gx-ticker__row.is-rev { animation-direction: reverse; animation-duration: 85s; }
.gx-ticker li { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; color: rgba(236,235,231,.55); white-space: nowrap; }
.gx-ticker li span { color: rgba(156,195,186,.75); }
.gx-ticker:hover .gx-ticker__row { animation-play-state: paused; }
@keyframes gx-tick { to { transform: translateX(-50%); } }

/* ══ Responsive ════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
	.gx-bento { grid-template-columns: repeat(2, 1fr); }
	.gx-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.gx-hero__inner, .gx-ai__grid, .gx-host, .gx-seo, .gx-faq, .gx-story__pin { grid-template-columns: 1fr; }
	.gx-scene { height: 380px; margin-top: 1rem; }
	.gx-stack { transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, -16deg)) rotateZ(3deg) scale(.88); }
	/* The pinned story needs room to scroll; on a phone it is a list. */
	.js .gx-story.is-live { height: auto; padding: clamp(4rem, 8vw, 7rem) 5vw; }
	.js .gx-story.is-live .gx-story__pin { position: static; min-height: 0; }
	.js .gx-story.is-live .gx-steps li { opacity: 1; }
	.gx-device { order: -1; }
	.gx-services { grid-template-columns: 1fr; }
	.gx-svc, .gx-svc:nth-child(even) { padding: 1.6rem 0; border-right: 0; }
	.gx-fan { height: 320px; }
}
@media (max-width: 600px) {
	.gx-bento { grid-template-columns: 1fr; }
	.gx-work.is-wide, .gx-work.is-tall { grid-column: auto; grid-row: auto; }
	.gx-process, .gx-feats { grid-template-columns: 1fr; }
	.gx-pane { width: 84%; }
	.gx-pane--back { left: 10%; } .gx-pane--front { left: 14%; }
	.gx-actions .gx-btn { width: 100%; }
}

/* ══ Reduced motion: still, and still complete ═════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.gx-aurora, .gx-ticker__row { animation: none; }
	.gx-ticker__row { flex-wrap: wrap; width: auto; }
	.gx-ticker li[aria-hidden] { display: none; }
	.gx-stack, .gx-device__body, .gx-fan__card { transition: none; }
	.js .gx-story.is-live { height: auto; }
	.js .gx-story.is-live .gx-story__pin { position: static; }
	.js .gx-story.is-live .gx-steps li { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════
   1.8 — components for every other page (same system as the homepage)
   ══════════════════════════════════════════════════════════════════ */

/* Page hero: dark, aurora, H1 + lead + actions, optional 3D glass panel. */
.gx-pagehead { padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 5vw clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.gx-pagehead__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; z-index: 1; }
.gx-pagehead__inner.is-single { grid-template-columns: minmax(0, 860px); }
.gx-crumbs { font-size: .88rem; color: rgba(236,235,231,.55); margin: 0 0 1.4rem; }
.gx-crumbs a { color: inherit; text-decoration: none; }
.gx-crumbs a:hover { color: #fff; }
.gx-light .gx-crumbs { color: #6b6762; }

/* 3D glass facts panel (tilts with the pointer, see glass.js). */
.gx-facts-wrap { perspective: 1400px; }
.gx-facts {
	transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg));
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
	padding: 1.6rem 1.7rem; border-radius: var(--radius-lg); color: #f2f1ee;
	background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
	border: 1px solid rgba(255,255,255,.2);
	-webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
	box-shadow: 0 50px 90px -40px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.25);
}
.gx-facts h2, .gx-facts h3 { font-family: var(--serif); font-size: 1.1rem; margin: 0 0 1rem; color: #fff; letter-spacing: -.02em; }
.gx-facts dl { margin: 0; }
.gx-facts dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .94rem; }
.gx-facts dt { color: rgba(236,235,231,.6); }
.gx-facts dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.gx-facts ul { list-style: none; margin: 0; padding: 0; }
.gx-facts li { padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid rgba(255,255,255,.1); position: relative; font-size: .95rem; color: rgba(236,235,231,.85); }
.gx-facts li::before { content: ""; position: absolute; left: 0; top: 1rem; width: .8rem; height: .42rem; border-left: 2px solid var(--glass-tint); border-bottom: 2px solid var(--glass-tint); transform: rotate(-45deg); }

/* Glass card grid — light glass on fog, dark glass on basalt. */
.gx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.gx-card {
	display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius-lg); color: var(--ink); text-decoration: none;
	background: linear-gradient(150deg, rgba(255,255,255,.8), rgba(255,255,255,.48));
	border: 1px solid rgba(255,255,255,.9);
	-webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 24px 50px -32px rgba(28,29,34,.35);
}
a.gx-card { transition: transform .25s, box-shadow .25s; }
a.gx-card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -30px rgba(28,29,34,.45); color: var(--ink); }
.gx-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; letter-spacing: -.025em; margin: 0 0 .5rem; }
.gx-card p { margin: 0 0 1rem; color: #55524e; line-height: 1.6; font-size: .96rem; }
.gx-card p:last-child { margin-bottom: 0; }
.gx-card .gx-tags { margin-top: auto; }
.gx-dark .gx-card {
	color: #ecebe7; background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
	border-color: var(--glass-edge); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
}
.gx-dark .gx-card p { color: rgba(236,235,231,.7); }
.gx-dark a.gx-card:hover { color: #fff; }
.gx-dark .gx-tags li { background: rgba(255,255,255,.08); color: rgba(236,235,231,.8); }
/* Light sections behind glass cards get the same soft colour as the homepage bento. */
.gx-light.gx-tinted::before {
	content: ""; position: absolute; inset: 10% 5%; pointer-events: none; z-index: 0; filter: blur(60px); opacity: .5;
	background: radial-gradient(30% 40% at 20% 30%, rgba(156,195,186,.7), transparent 70%),
	            radial-gradient(25% 35% at 80% 70%, rgba(200,69,58,.3), transparent 70%);
}

/* Text beside a visual. */
.gx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.gx-split.is-reverse > :first-child { order: 2; }

/* Dark mock window (product UI) on light or dark ground. */
.gx-window {
	background: var(--ink); color: #f2f1ee; border-radius: var(--radius-lg); padding: 1.3rem 1.4rem;
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 50px 90px -45px rgba(28,29,34,.7);
	transform: perspective(1300px) rotateY(-9deg) rotateX(4deg);
}
.gx-dark .gx-window { background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border-color: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* Steps and stats on light ground (the story versions are for dark). */
.gx-light .gx-steps li { border-top-color: var(--border); }
.gx-light .gx-steps li::before { color: var(--accent); }
.gx-light .gx-steps span { color: #55524e; }
.gx-light .gx-stats dd { color: var(--ink); }
.gx-light .gx-stats dt { color: #6b6762; }

/* Buttons: the quiet primary for light sections. */
.gx-btn--dark { background: var(--ink); color: #fff; }
.gx-btn--dark:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px -14px rgba(28,29,34,.6); }

/* Long text (privacy, blog posts, plain pages). */
.gx-prose { max-width: 72ch; font-size: 1.05rem; line-height: 1.78; color: #2c2b28; }
.gx-prose h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.025em; margin: 2.4rem 0 .9rem; }
.gx-prose h3 { font-family: var(--serif); font-size: 1.2rem; margin: 2rem 0 .7rem; }
.gx-prose p, .gx-prose ul, .gx-prose ol { margin: 0 0 1.2rem; }
.gx-prose a { color: var(--accent); }

/* Small label above a heading, when the content needs one (sentence case). */
.gx-kicker { font-size: .92rem; font-weight: 600; color: var(--muted); margin: 0 0 .7rem; }
.gx-dark .gx-kicker { color: var(--glass-tint); }

@media (max-width: 900px) {
	.gx-pagehead__inner, .gx-split { grid-template-columns: 1fr; }
	.gx-split.is-reverse > :first-child { order: 0; }
	.gx-facts, .gx-window { transform: none; }
}

/* ── 1.8 small gaps found while rebuilding inner pages ─────────────── */
.gx-dark .gx-badge { background: rgba(255,255,255,.1); color: #e9e7e3; border-color: rgba(255,255,255,.18); }
.gx-dark code, .gx-card code, .gx-prose code {
	font-size: .88em; padding: .1em .4em; border-radius: 6px;
	background: rgba(28,29,34,.07); border: 1px solid rgba(28,29,34,.1);
}
.gx-dark code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #e9e7e3; }
.gx-stats--grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }

/* Blog: sidebar widgets as light glass, sentence-case labels, quiet placeholder. */
.sidebar-widget:not(.gx-dark) {
	background: linear-gradient(150deg, rgba(255,255,255,.82), rgba(255,255,255,.5));
	border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg);
	-webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 24px 50px -32px rgba(28,29,34,.35);
}
.sidebar-widget.gx-dark { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 0; }
.blog-meta, .post-tags-label, .share-label, .filter-label, .post-cat, .btag { text-transform: none; letter-spacing: 0; }
.bimg-placeholder { background: radial-gradient(120% 90% at 20% 10%, rgba(156,195,186,.55), transparent 60%), linear-gradient(150deg, #2a2b31, #1c1d22); }
/* Aurora glows are wider than the viewport on phones; clip (not hidden) keeps the pinned story's sticky working. */
.gx-dark, .gx-light { overflow-x: clip; }
