/*
Theme Name: Gazelle Web-Tech
Theme URI: https://gazelleweb-tech.com
Author: Gazelle Web Technologies
Author URI: https://gazelleweb-tech.com
Description: Custom theme for gazelleweb-tech.com — "Your digital department." Pages for Home, About, Services, Contact and the CAMA, SchoolOval and Mental Sprint products, a project enquiry form saved under Enquiries in wp-admin, and editable headline, contact details and CAMA figures under Appearance → Customize → Gazelle. Activating the theme creates the pages and sets the front page.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gazelle
Tags: one-column, theme-options
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #111113;
	--bg-alt: #18181B;
	--card: #1F1F23;
	--footer: #0B0B0C;
	--line: #2E2E33;
	--line-strong: #6B6B73;
	--text: #FFFFFF;
	--head: #E4E4E8;
	--body: #C9C9CF;
	--muted: #9A9AA2;
	--yellow: #FDC80D;
	--gradient: linear-gradient(90deg, #FFEB31, #FDC80D 30%, #F9A931 65%, #F2843F);
	--cyan: #00AEEF;
	--magenta: #EC008C;
	--navy: #262262;
	--green: #39B54A;
	--purple: #7F3E98;
	--orange: #FCB040;
	--f-display: 'Urbanist', system-ui, sans-serif;
	--f-body: 'Instrument Sans', system-ui, sans-serif;
	--f-mono: 'JetBrains Mono', ui-monospace, monospace;
	--gutter: clamp(20px, 5vw, 72px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-wipe: cubic-bezier(.6, 0, .2, 1);
	--hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
input, select, textarea, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--line-strong); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--yellow); color: var(--bg); }

.wrap { max-width: 1320px; margin: 0 auto; width: 100%; }
.wrap--1240 { max-width: 1240px; }
.section { padding: 120px var(--gutter); background: var(--bg); }
.section--alt { background: var(--bg-alt); }

.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.display { font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.03em; line-height: 1; }
.h2--lg { font-size: clamp(40px, 5vw, 72px); }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--body); text-wrap: pretty; }

/* ---------- Buttons & chips ---------- */
.btn { display: inline-block; font-weight: 600; font-size: 17px; line-height: 1.2; cursor: pointer; border: 0; }
.btn--primary { color: var(--bg); padding: 17px 28px; background: var(--gradient); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.btn--secondary { color: var(--text); padding: 16px 27px; border: 1.5px solid var(--line-strong); background: transparent; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 12px 18px; font-size: 16px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chip { position: relative; display: inline-block; font-weight: 400; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--yellow); border-color: var(--yellow); color: var(--bg); }
.chip:has(input:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 3px; }

.hexmark { display: inline-block; flex: none; clip-path: var(--hex); }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px clamp(20px, 4vw, 56px); }
.site-logo { display: flex; position: relative; z-index: 2; }
.site-logo img { height: 38px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-link { color: var(--text); }
.nav-link.is-active, .products__trigger.is-active { color: var(--yellow); }
.products { position: relative; }
.products__trigger { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--text); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.products__trigger .caret { font-size: 10px; transition: transform .25s; }
.products__panel { position: absolute; top: 100%; left: -18px; padding-top: 10px; display: none; }
.products.is-open .products__panel { display: block; }
.products__list { background: var(--bg-alt); border: 1px solid var(--line); min-width: 300px; display: flex; flex-direction: column; }
.products__item { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.products__item + .products__item { border-top: 1px solid var(--line); }
.products__item--soon { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; cursor: default; }
.products__name { font-family: var(--f-display); font-weight: 800; font-size: 20px; }
.products__item--soon .products__name { color: var(--muted); }
.products__desc { font-size: 14px; color: var(--body); }
.badge { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line-strong); color: var(--body); }
.nav-cta { color: var(--bg); font-weight: 600; padding: 11px 20px; background: var(--gradient); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.nav-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line-strong); cursor: pointer; padding: 0; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (hover: hover) and (min-width: 961px) {
	.products:hover .products__panel, .products:focus-within .products__panel { display: block; }
}

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: 0; z-index: 1; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 104px var(--gutter) 40px; overflow-y: auto; font-size: 28px; font-family: var(--f-display); font-weight: 700; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
	.menu-open .site-nav { visibility: visible; opacity: 1; transition: opacity .25s; }
	.site-nav > .nav-link, .products__trigger { padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; }
	.products__trigger { justify-content: space-between; font-size: 28px; }
	.products.is-open .caret { transform: rotate(180deg); }
	.products__panel { position: static; padding: 0; }
	.products__list { min-width: 0; border: 0; border-bottom: 1px solid var(--line); }
	.nav-cta { margin-top: 32px; align-self: flex-start; font-family: var(--f-body); font-size: 18px; padding: 16px 26px; }
}

/* ---------- Heroes ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: 150px var(--gutter) 40px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero__fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(17,17,19,0) 25%, rgba(17,17,19,.88) 75%, #111113 100%); }
.hero > :not(.hero__bg):not(.hero__fade) { position: relative; }

/* ---------- Hexagon logo ---------- */
.hexlogo { display: block; width: 100%; height: auto; overflow: visible; }
.hexlogo .facet { transform: translate(calc(var(--dx) * var(--fly, 900px)), calc(var(--dy) * var(--fly, 900px))); transition: transform .9s var(--ease), opacity .5s; }
.hexlogo.is-assembled .facet { transform: none; transition-delay: calc(var(--i) * 70ms); }
.hexlogo .g { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-wipe) .75s; }
.hexlogo.is-assembled .g { clip-path: inset(0 0 0 0); }
.tilt { perspective: 900px; }
.tilt__inner { transition: transform .5s var(--ease); transform-style: preserve-3d; }

/* Send button variant: facets scattered and faded until ready */
.hexlogo--send { --fly: 160px; }
.hexlogo--send .facet { opacity: .35; transition: transform .8s var(--ease), opacity .5s; }
.hexlogo--send.is-assembled .facet { opacity: 1; transition-delay: calc(var(--i) * 60ms); }
.hexlogo--send .g { clip-path: none; opacity: .15; transition: opacity .6s .8s; }
.hexlogo--send.is-assembled .g { opacity: 1; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(var(--rise, 30px)); transition: opacity .7s var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Home ---------- */
.home-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; gap: 56px; }
.home-hero .hero__fade { background: linear-gradient(180deg, rgba(17,17,19,0) 30%, rgba(17,17,19,.85) 78%, #111113 100%); }
.home-hero__row1 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.home-hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 10vw, 168px); line-height: .88; letter-spacing: -.045em; text-wrap: balance; max-width: 11ch; }
.home-hero__logo { padding-bottom: 1vw; }
.home-hero__logo .tilt__inner { width: clamp(90px, 13vw, 190px); }
.home-hero__row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: end; }
.home-hero__row2 .lede { max-width: 32em; }
.home-hero__row2 .btn-row { justify-content: flex-end; }
.ticker { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; font-size: 15px; }
.ticker__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 320px; max-width: 760px; }
.ticker__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.ticker__text { font-family: var(--f-mono); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.45; min-height: 2.9em; }
.ticker__tag { font-size: 14px; font-weight: 600; color: var(--body); transition: opacity .4s; }
.ticker__clocks { display: flex; gap: 22px; align-self: flex-end; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
	/* Logo above the headline so the headline gets the full width */
	.home-hero__row1 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.home-hero__logo { order: -1; padding-bottom: 0; }
	.home-hero__logo .tilt__inner { width: 72px; }
	.home-hero h1 { font-size: clamp(40px, 13vw, 56px); }
	.home-hero__row2 .btn-row { justify-content: flex-start; }
	.ticker__clocks { align-self: flex-start; }
}

.voices { padding: 140px clamp(20px, 6vw, 96px); }
.voices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; justify-items: center; margin-top: 56px; }
.hexquote { width: min(100%, 340px); aspect-ratio: 551 / 634; background: var(--line); clip-path: var(--hex); display: flex; align-items: center; justify-content: center; }
.hexquote__inner { width: calc(100% - 4px); height: calc(100% - 4px); background: var(--bg); clip-path: var(--hex); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 0 15%; text-align: center; margin: 0; }
.hexquote blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.25; }
.hexquote figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--body); line-height: 1.5; }

.home-start { padding: 140px clamp(20px, 6vw, 96px) 120px; overflow: hidden; }
.home-start__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 96px); }
.home-start h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 6vw, 92px); letter-spacing: -.035em; line-height: .92; }
.home-start p { font-size: 19px; line-height: 1.5; color: var(--body); max-width: 28em; margin-top: 24px; }

/* ---------- Forms ---------- */
.enquiry { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.field input { background: transparent; border: 0; border-bottom: 1.5px solid var(--line-strong); color: var(--text); font-size: 20px; padding: 10px 0; outline: none; border-radius: 0; }
.field input:focus, .convo input:focus, .enquiry textarea:focus { border-color: var(--yellow); }
.fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 500; }
.fieldset legend { padding: 0; margin-bottom: 10px; }
.enquiry--full { gap: 36px; border-top: 1px solid var(--line); padding-top: 36px; }
.enquiry--full .fieldset legend, .enquiry--full .label-mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); font-weight: 400; margin-bottom: 14px; }
.convo { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.5; letter-spacing: -.02em; color: var(--body); }
.convo input { background: transparent; border: 0; border-bottom: 2px solid var(--line-strong); color: var(--text); font: inherit; padding: 0 4px; outline: none; border-radius: 0; max-width: 100%; }
.convo .w-name { width: 8.5em; } .convo .w-biz { width: 9.5em; } .convo .w-email { width: 11em; }
.enquiry textarea { background: var(--bg-alt); border: 1px solid var(--line); color: var(--text); font-size: 18px; line-height: 1.5; padding: 18px; outline: none; resize: vertical; border-radius: 0; width: 100%; }
.enquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; gap: 22px; color: var(--text); margin-top: 8px; }
.send svg { width: 84px; }
.send span { font-family: var(--f-display); font-weight: 800; font-size: 32px; }
.send[disabled] { cursor: progress; opacity: .6; }
.home-start .send svg { width: 92px; }
.home-start .send span { font-size: 28px; }
.form-note { color: var(--body); font-size: 14px; }
.form-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: #FF8A8A; font-size: 15px; min-height: 1.2em; }
.form-error:empty { display: none; }
.is-invalid { border-color: #FF8A8A !important; }
.thanks { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.thanks[hidden] { display: none; }
.thanks__mark { font-family: var(--f-mono); font-size: 15px; color: var(--yellow); }
.thanks__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 5vw, 72px); letter-spacing: -.03em; line-height: .95; }
.thanks__body { font-size: 20px; color: var(--body); }
.thanks .btn--secondary { align-self: flex-start; margin-top: 8px; font-size: 16px; padding: 14px 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); padding: 64px var(--gutter) 40px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; font-size: 15px; line-height: 1.6; color: var(--body); }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { height: 34px; width: auto; align-self: flex-start; }
.site-footer__title { color: var(--text); font-weight: 600; }
.site-footer__links { display: flex; flex-direction: column; gap: 4px; }
.site-footer__copy { margin-top: 48px; font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 7vw, 112px); letter-spacing: -.04em; line-height: .9; }

/* ---------- About ---------- */
.about-hero { min-height: 92vh; display: flex; flex-direction: column; justify-content: flex-end; gap: 48px; padding-bottom: 64px; }
.about-hero__top { display: flex; flex-direction: column; gap: 18px; }
.about-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.about-hero h1 { font-family: var(--f-display); line-height: .9; letter-spacing: -.045em; display: flex; flex-direction: column; gap: .12em; min-width: 0; }
.about-hero h1 .l1 { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .35em; }
.about-hero h1 .name { font-weight: 900; font-size: clamp(64px, 11vw, 184px); color: var(--head); }
.about-hero h1 .say { font-family: var(--f-mono); font-weight: 400; font-size: clamp(20px, 2.4vw, 36px); letter-spacing: 0; color: var(--yellow); }
.about-hero h1 .l2 { font-weight: 300; font-size: clamp(34px, 5.4vw, 92px); letter-spacing: -.02em; }
.about-hero__logo { width: clamp(80px, 11vw, 160px); margin-bottom: .6vw; }
.about-hero__cols { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; }
.about-hero__cols .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.about-hero__cols .small { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--body); text-wrap: pretty; }
.statement__inner { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 6vw, 96px); align-items: flex-start; }
.statement__label { flex: 0 1 260px; display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.statement__label svg { width: 22px; height: auto; flex: none; }
.statement__text { flex: 1 1 520px; font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 48px; }
.pillar { --rise: 40px; background: var(--card); padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 22px; min-height: 340px; clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px); }
.pillar__top { display: flex; justify-content: space-between; align-items: center; }
.pillar__top svg { width: 40px; height: auto; }
.pillar__n { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.pillar h3 { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.pillar p { font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.cta-band--about h2 { max-width: 9ch; }

/* ---------- Services ---------- */
.svc-hero { min-height: 88vh; display: flex; align-items: flex-end; padding: 160px var(--gutter) 80px; }
.svc-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: end; }
.svc-hero h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(72px, 11vw, 168px); line-height: .86; letter-spacing: -.045em; color: var(--head); margin-top: 18px; }
.term-lines { font-family: var(--f-mono); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.75; color: var(--body); display: flex; flex-direction: column; }
.term-lines .prompt { color: var(--yellow); }
.term-lines .line { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s; transition-delay: calc(400ms + var(--i) * 350ms); }
.is-loaded .term-lines .line { opacity: 1; transform: none; }

.how { padding: 80px var(--gutter) 120px; }
.how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.term { background: var(--footer); border: 1px solid var(--line); display: flex; flex-direction: column; }
.term__bar { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); align-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.term__bar i { width: 10px; height: 10px; background: var(--line); }
.term__bar .file { margin-left: 12px; }
.term__bar .state { margin-left: auto; }
.term__body { padding: 24px 22px 30px; font-family: var(--f-mono); font-size: 15px; line-height: 1.9; min-height: 330px; list-style: none; margin: 0; }
.term__body button { display: flex; gap: 14px; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; text-align: left; color: var(--muted); opacity: .3; transition: opacity .3s, color .3s; }
.term__body .is-done button { color: var(--body); opacity: 1; }
.term__body .is-current button { color: var(--yellow); opacity: 1; }
.term__progress { height: 3px; background: var(--card); margin-top: auto; }
.term__progress div { height: 3px; width: 20%; background: var(--yellow); transition: width .6s var(--ease); }
.step-detail { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.step-detail .eyebrow { font-size: 14px; }
.step-detail__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 7vw, 96px); line-height: .9; letter-spacing: -.04em; }
.step-detail__line { font-size: 21px; line-height: 1.5; color: var(--body); max-width: 24em; }
.step-tabs { display: flex; gap: 8px; padding-top: 10px; flex-wrap: wrap; }
.step-tabs button { font-family: var(--f-mono); font-size: 14px; padding: 11px 15px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; transition: background-color .3s, color .3s; }
.step-tabs button[aria-selected="true"] { background: var(--yellow); color: var(--bg); }

.industries { padding: 120px var(--gutter) 130px; }
.industries__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.industries__head span { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.industries__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; margin-top: 56px; }
.dial { display: flex; justify-content: center; }
.dial svg { width: min(100%, 460px); height: auto; overflow: visible; }
.dial .facet { cursor: pointer; opacity: .35; transition: transform .5s var(--ease), opacity .4s; }
.dial .facet.is-on { opacity: 1; transform: translate(calc(var(--dx) * 60px), calc(var(--dy) * 60px)); }
.dial .facet:focus { outline: none; }
.dial .facet:focus-visible { opacity: .8; }
.ind { display: flex; flex-direction: column; gap: 22px; border-top: 3px solid var(--cyan); padding-top: 28px; transition: border-color .4s; }
.ind__n { font-family: var(--f-mono); font-size: 14px; color: var(--body); }
.ind__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 5vw, 68px); line-height: .95; letter-spacing: -.03em; }
.ind__line { font-size: 21px; line-height: 1.5; color: var(--body); max-width: 28em; }
.ind__clients { list-style: none; margin: 0; padding: 6px 0 0; }
.ind__clients li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.ind__clients b { font-weight: 600; }
.ind__clients span { color: var(--muted); }
.ind-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ind-tabs button { font-size: 14px; padding: 9px 13px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: background-color .3s, color .3s; }
.ind-tabs button[aria-selected="true"] { background: var(--c); border-color: var(--c); color: var(--bg); }
.cta-band--svc h2 { max-width: 11ch; }

/* ---------- CAMA ---------- */
.cama-hero { padding: 170px var(--gutter) 100px; position: relative; overflow: hidden; }
.cama-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.cama-hero__copy { display: flex; flex-direction: column; gap: 26px; }
.cama-hero h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(88px, 13vw, 200px); line-height: .82; letter-spacing: -.05em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; align-self: flex-start; padding-bottom: 8px; }
.cama-hero .sub { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.015em; }
.cama-hero .desc { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 30em; text-wrap: pretty; }
.mock { background: var(--frame, var(--cyan)); padding: 14px; clip-path: polygon(50% 30%, 62% 40%, 62% 60%, 50% 70%, 38% 60%, 38% 40%); transition: clip-path 1s var(--ease-wipe) .2s; min-width: 0; }
.mock.is-open { clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%, 0% 0%); }
.mock__app { background: #FBFBFE; color: #14123A; display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 460px; opacity: 0; transition: opacity .5s .9s; }
.mock.is-open .mock__app { opacity: 1; }
.mock__side { background: #14123A; color: #C9C8DA; padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.mock__brand { font-family: var(--f-display); font-weight: 800; font-size: 20px; color: #fff; margin: 0 8px 14px; }
.mock__side button { text-align: left; font: inherit; padding: 9px 8px; border: 0; cursor: pointer; background: transparent; color: #C9C8DA; transition: background-color .25s; }
.mock__side button[aria-selected="true"] { background: var(--frame, var(--cyan)); color: #14123A; }
.mock__main { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mock__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mock__title { font-weight: 600; font-size: 18px; }
.mock__ill { font-family: var(--f-mono); font-size: 11px; color: #55537A; }
.mock__panel { display: flex; flex-direction: column; gap: 16px; }
.mock__panel[hidden] { display: none; }
.rota { display: flex; flex-direction: column; gap: 4px; }
.rota__row { display: grid; grid-template-columns: 84px repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 12px; }
.rota__row--head { font-size: 11px; color: #55537A; font-weight: 600; }
.rota__row > span:first-child { display: flex; align-items: center; }
.rota__cell { height: 30px; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); color: #fff; background: #EEEEF6; overflow: hidden; }
.rota__cell--E { background: #262262; } .rota__cell--L { background: #00AEEF; } .rota__cell--N { background: #14123A; }
.rota__cell--open { background: #FFE8CC; color: #C2410C; font-size: 10px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #55537A; }
.legend .open { color: #C2410C; font-weight: 600; }
.mtable { display: flex; flex-direction: column; border-top: 1px solid #DAD9EA; }
.mtable__row { display: grid; gap: 18px; padding: 12px 0; border-bottom: 1px solid #DAD9EA; font-size: 14px; align-items: center; }
.mtable--time .mtable__row { grid-template-columns: 1fr auto auto; }
.mtable--inv .mtable__row { grid-template-columns: auto 1fr auto auto; }
.mtable--comp .mtable__row { grid-template-columns: 1fr 70px 70px 70px; gap: 10px; }
.mtable--comp .mtable__row--head { font-size: 11px; font-weight: 600; color: #55537A; padding: 10px 0; }
.mono { font-family: var(--f-mono); }
.mono-muted { font-family: var(--f-mono); color: #55537A; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 8px; }
.pill--ok { background: #DCF5E3; color: #0B6B35; }
.pill--wait { background: #FFF1D6; color: #8A4B00; }
.pill--bad { background: #FDE2E2; color: #9F1239; }
.tick { width: 14px; height: 16px; clip-path: var(--hex); }
.tick--g { background: #0B8F4A; } .tick--a { background: #E8A317; } .tick--x { background: #C9C8DA; }
.note { font-size: 13px; color: #55537A; }
.phone-wrap { display: flex; justify-content: center; padding: 6px 0; }
.phone { width: 220px; height: 360px; border: 8px solid #14123A; border-radius: 30px; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.phone__hi { font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.phone__card { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.phone__card small { font-size: 11px; color: #55537A; font-weight: 600; }
.phone__card b { font-weight: 600; }
.phone__accept { margin-top: 4px; padding: 9px; text-align: center; background: #14123A; color: #fff; font-size: 13px; font-weight: 600; }
.phone__foot { margin-top: auto; font-size: 12px; color: #55537A; text-align: center; }
@media (max-width: 520px) {
	.mock__app { grid-template-columns: 1fr; }
	.mock__side { flex-direction: row; flex-wrap: wrap; }
	.mock__brand { width: 100%; margin-bottom: 4px; }
	.rota__row { grid-template-columns: 64px repeat(7, minmax(0, 1fr)); }
	.mtable--comp .mtable__row { grid-template-columns: 1fr 44px 44px 44px; }
}

.stats { padding: 90px var(--gutter); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--c); padding-top: 22px; }
.stat__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 6vw, 88px); letter-spacing: -.04em; line-height: 1; }
.stat__label { font-size: 18px; color: var(--body); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2px; background: var(--line); margin-top: 48px; }
.feature { background: var(--bg); padding: 32px; min-height: 220px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: background-color .3s; border: 0; color: var(--text); text-align: left; font: inherit; }
.feature:hover { background: #161619; }
.feature[aria-pressed="true"] { background: var(--card); }
.feature__top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.feature__top .hexmark { width: 20px; height: 23px; background: var(--line); transition: background-color .3s; }
.feature[aria-pressed="true"] .hexmark { background: var(--frame, var(--cyan)); }
.feature__n { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.feature__title { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin-top: auto; }
.feature__line { font-size: 16px; line-height: 1.5; color: var(--body); }
.feature--static { cursor: default; }
.cta-band--cama h2 { max-width: 12ch; }
.cta-band--cama p { font-size: 19px; color: var(--body); margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-hero { min-height: 62vh; display: flex; align-items: flex-end; padding: 160px var(--gutter) 56px; }
.contact-hero .hero__fade { background: linear-gradient(180deg, rgba(17,17,19,0) 20%, rgba(17,17,19,.88) 72%, #111113 100%); }
.contact-hero__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.contact-hero h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 10vw, 160px); line-height: .86; letter-spacing: -.045em; color: var(--head); margin-top: 18px; }
.contact-hero p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--body); max-width: 24em; }
.contact-main { padding: 56px var(--gutter) 120px; }
.contact-main__row { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.contact-main__form { flex: 2 1 520px; min-width: 0; }
.contact-main .thanks { border-top: 1px solid var(--line); padding-top: 36px; }
.aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 36px; }
.aside__block { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.aside__block--direct { gap: 12px; border-top: 2px solid var(--yellow); }
.aside__block--direct .eyebrow { color: var(--muted); }
.aside__phone { font-family: var(--f-display); font-weight: 700; font-size: 26px; }
.aside__link { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.aside__city { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.aside__city b { font-family: var(--f-display); font-weight: 800; font-size: 26px; }
.aside__city span { font-family: var(--f-mono); font-size: 15px; color: var(--body); }
.aside address { font-style: normal; font-size: 16px; line-height: 1.55; color: var(--body); }

/* ---------- Generic pages ---------- */
.page-hero { padding: 170px var(--gutter) 40px; }
.page-hero h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(48px, 7vw, 112px); letter-spacing: -.04em; line-height: .92; color: var(--head); }
.prose { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 120px; font-size: 18px; line-height: 1.6; color: var(--body); }
.prose h2, .prose h3 { font-family: var(--f-display); color: var(--text); margin: 1.6em 0 .5em; letter-spacing: -.02em; }
.prose a { color: var(--yellow); text-decoration: underline; }
.prose p { margin: 0 0 1em; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; }
	.hexlogo .facet, .hexlogo.is-assembled .facet { transform: none; opacity: 0; transition: opacity .4s; }
	.hexlogo.is-assembled .facet { opacity: 1; }
	.hexlogo .g { clip-path: none; opacity: 0; transition: opacity .4s; }
	.hexlogo.is-assembled .g { opacity: 1; }
	.hexlogo--send .facet { opacity: .2; }
	[data-reveal] { transform: none; transition: opacity .4s; }
	.term-lines .line { transform: none; transition-delay: 0s; }
	.mock, .mock.is-open { clip-path: none; transition: none; }
	.mock__app { transition: opacity .3s; }
	.tilt__inner { transform: none !important; }
}

/* hidden must win over display rules above */
.enquiry[hidden], .thanks[hidden], .mock__panel[hidden] { display: none !important; }

/* ---------- Products: shared ---------- */
.products__item.is-current .products__name { color: var(--yellow); }
.gz-schooloval { --frame: #39B54A; }
.gz-mental-sprint { --frame: #F2B631; }
.product-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.product-meta .badge { color: var(--yellow); border-color: var(--yellow); }
.statements { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.statement { border-top: 2px solid var(--c); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.statement h3 { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.statement p { font-size: 18px; line-height: 1.55; color: var(--body); }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head p { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 40em; }
.note-band { border: 1px solid var(--line); padding: 22px 24px; font-size: 15px; line-height: 1.6; color: var(--body); display: flex; gap: 14px; align-items: flex-start; margin-top: 48px; }
.note-band .hexmark { width: 12px; height: 14px; background: var(--frame, var(--yellow)); margin-top: 5px; }

/* SchoolOval: payments strip */
.rails { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2px; background: var(--line); margin-top: 48px; }
.rail { background: var(--bg-alt); padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.rail b { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.rail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rail li { font-family: var(--f-mono); font-size: 13px; padding: 6px 10px; border: 1px solid var(--line-strong); color: var(--body); }
.so-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.so-kpi { background: #F1F1F8; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.so-kpi small { font-size: 11px; color: #55537A; font-weight: 600; }
.so-kpi b { font-size: 17px; }
.so-btn { align-self: flex-start; padding: 9px 14px; background: #14123A; color: #fff; font-size: 13px; font-weight: 600; }
.pickup { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.pickup__card { border: 1px solid #DAD9EA; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.pickup__code { font-family: var(--f-mono); font-size: 26px; font-weight: 500; letter-spacing: .1em; }
@media (max-width: 520px) { .so-kpis { grid-template-columns: 1fr; } }

/* Mental Sprint: phone screenshots */
.ms-stage { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ms-phone { width: min(100%, 300px); aspect-ratio: 1170 / 2532; background: #0D2219; border: 10px solid #0D2219; border-radius: 38px; overflow: hidden; position: relative; clip-path: none; padding: 0; outline: 2px solid var(--line); }
.ms-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.ms-phone img.is-on { opacity: 1; }
.ms-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ms-tabs button { font-size: 14px; padding: 9px 13px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: background-color .3s, color .3s; }
.ms-tabs button[aria-selected="true"] { background: #F2B631; border-color: #F2B631; color: #0D2219; }
.ms-caption { font-size: 15px; color: var(--body); text-align: center; max-width: 30em; min-height: 3em; }
.ms-logo { height: 40px; width: auto; align-self: flex-start; }
.gz-mental-sprint .cama-hero h1, .gz-schooloval .cama-hero h1 { font-size: clamp(64px, 9vw, 150px); }
@media (prefers-reduced-motion: reduce) { .ms-phone img { transition: none; } }
