/* ============================================================
   Green Turtle — premium digital for motorsport
   ============================================================ */
:root {
  --bg: #070908;
  --bg-2: #0d100e;
  --panel: #11150f;
  --ink: #f1f6f0;
  --ink-soft: #8b988c;
  --brg: #0c3b2a;          /* british racing green */
  --green: #1ee07a;        /* signal green accent */
  --lime: #b6ff3c;         /* redline highlight */
  --red: #ff3b30;          /* start lights */
  --line: rgba(30, 224, 122, 0.14);
  --line-2: rgba(255, 255, 255, 0.06);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #02110b; }

h1, h2, h3, .stat-big { font-family: "Archivo", sans-serif; }
.accent {
  background: linear-gradient(100deg, var(--green), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; color: var(--green); margin-bottom: 22px; }

/* ---------- Canvas / texture ---------- */
#speed { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- HUD reticle cursor ---------- */
.reticle { position: fixed; top: 0; left: 0; width: 44px; height: 44px; z-index: 9999; pointer-events: none; transform: translate(-50%, -50%); transition: width .25s var(--ease), height .25s var(--ease), opacity .25s; mix-blend-mode: difference; will-change: transform; }
.reticle span { position: absolute; background: var(--green); }
.reticle span:nth-child(1), .reticle span:nth-child(2) { left: 50%; width: 1px; height: 12px; transform: translateX(-50%); }
.reticle span:nth-child(1) { top: 0; } .reticle span:nth-child(2) { bottom: 0; }
.reticle span:nth-child(3), .reticle span:nth-child(4) { top: 50%; height: 1px; width: 12px; transform: translateY(-50%); }
.reticle span:nth-child(3) { left: 0; } .reticle span:nth-child(4) { right: 0; }
.reticle.hover { width: 64px; height: 64px; opacity: 1; }
.reticle.hover span { background: var(--lime); }
@media (hover: none) { .reticle { display: none; } }

/* ---------- Track progress ---------- */
.track-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9000; background: rgba(255,255,255,.04); }
.track-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--brg), var(--green), var(--lime)); box-shadow: 0 0 12px var(--green); }

/* ---------- Loader: start lights ---------- */
.loader { position: fixed; inset: 0; z-index: 9500; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 26px; transition: opacity .6s var(--ease), visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-lights { display: flex; gap: 14px; padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 10px; background: #000; }
.loader-lights i { width: 26px; height: 26px; border-radius: 50%; background: #240807; box-shadow: inset 0 0 0 2px #1a1a1a; transition: background .15s, box-shadow .15s; }
.loader-lights i.on { background: radial-gradient(circle at 35% 30%, #ff7b73, var(--red)); box-shadow: 0 0 18px var(--red), inset 0 0 4px #fff3; }
.loader-lights.go i { background: radial-gradient(circle at 35% 30%, #7bffb0, var(--green)); box-shadow: 0 0 22px var(--green); }
.loader-text { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--ink-soft); }
.loader-text.go { color: var(--green); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 800; display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(20px, 5vw, 60px); transition: padding .4s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: 12px clamp(20px, 5vw, 60px); background: rgba(7,9,8,.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-2); }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; transition: height .4s var(--ease); }
.nav.scrolled .brand img { height: 28px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { position: relative; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--green); transition: width .35s var(--ease); }
.nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { width: 100%; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 11px 18px; border-radius: 6px; border: 1px solid var(--green); color: var(--green); transition: background .35s, color .35s; }
.nav-cta:hover { background: var(--green); color: #02110b; }
.nav-cta .arrow { transition: transform .3s var(--ease); }
.nav-cta:hover .arrow { transform: translateX(4px); }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: none; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }

/* ---------- Layout primitives ---------- */
main { position: relative; z-index: 2; }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 60px); }
.section-head { margin-bottom: 56px; }
.section-head h2, .about-copy h2, .contact-title { font-weight: 900; letter-spacing: -0.02em; line-height: 0.96; font-size: clamp(34px, 6vw, 76px); text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }
.btn-primary { background: var(--green); color: #02110b; box-shadow: 0 10px 36px -12px var(--green); }
.btn-primary:hover { box-shadow: 0 14px 46px -10px var(--green); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(30,224,122,.08); border-color: var(--green); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--ink-soft); margin-bottom: 26px; }
.eyebrow .led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: var(--max); margin: 0 auto; padding: 130px clamp(20px, 5vw, 60px) 70px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 50px; align-items: center; }
.hero-title { font-size: clamp(44px, 7.6vw, 104px); font-weight: 900; line-height: 0.94; letter-spacing: -0.03em; text-transform: uppercase; margin: 6px 0 26px; }
.hero-sub { max-width: 520px; color: var(--ink-soft); font-size: clamp(16px, 2vw, 19px); }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 34px; left: clamp(20px, 5vw, 60px); display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--ink-soft); }
.scroll-line { width: 70px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; width: 34%; background: var(--green); animation: slide 2.2s var(--ease) infinite; }
@keyframes slide { 0% { left: -34%; } 100% { left: 100%; } }

/* ---------- Telemetry cluster ---------- */
.cluster { position: relative; justify-self: center; }
.cluster-glass { position: relative; width: min(360px, 78vw); padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(20,30,24,.9), rgba(8,12,10,.9)); box-shadow: 0 30px 80px -30px #000, inset 0 1px 0 rgba(255,255,255,.05); }
.gauge { width: 100%; display: block; }
.gauge-bg { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 14; }
.gauge-arc { fill: none; stroke: url(#arcGrad); stroke-width: 14; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(30,224,122,.5)); }
#ticks line { stroke: rgba(255,255,255,.22); stroke-width: 2; }
/* origin 0 0: the JS rotate() already specifies its pivot (120 120) — a CSS
   origin here would double-apply and make the needle float off the hub */
.needle { stroke: var(--lime); stroke-width: 3; stroke-linecap: round; transform-origin: 0 0; filter: drop-shadow(0 0 4px var(--lime)); }
.needle-cap { fill: #1b211a; stroke: var(--lime); stroke-width: 2; }
.cluster-readout { position: absolute; top: 54%; left: 0; right: 0; text-align: center; }
.cluster-readout .rpm { display: block; font-family: var(--mono); font-weight: 700; font-size: 40px; color: var(--ink); letter-spacing: .04em; }
.cluster-readout .rpm-label { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-soft); }
.cluster-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.cluster-foot b { color: var(--green); font-weight: 700; }
.cluster-foot .gear { width: 34px; height: 34px; display: grid; place-content: center; border: 1px solid var(--line); border-radius: 6px; color: var(--lime); font-weight: 700; }
.cluster-tag { position: absolute; top: -10px; right: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: #02110b; background: var(--green); padding: 4px 10px; border-radius: 4px; }

/* ---------- Stats banner ---------- */
.stats { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat { padding: 38px clamp(20px, 4vw, 50px); border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: 0; }
.stat-big { display: block; font-weight: 900; font-size: clamp(40px, 6vw, 70px); line-height: 1; color: var(--ink); }
.stat-big i { font-style: normal; color: var(--green); font-size: .42em; margin-left: 4px; }
.stat-label { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); margin-top: 12px; display: block; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line-2); padding: 18px 0; position: relative; z-index: 2; background: var(--brg); }
.marquee-track { display: flex; gap: 30px; white-space: nowrap; width: max-content; animation: scrollX 24s linear infinite; }
.marquee-track span { font-family: "Archivo"; font-weight: 800; font-size: clamp(18px, 2.6vw, 30px); letter-spacing: .06em; color: rgba(255,255,255,.55); }
.marquee-track .sep { color: var(--green); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { position: relative; padding: 30px 28px 26px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel), #0a0d0b); transform-style: preserve-3d; transition: transform .25s var(--ease), border-color .4s, background .4s; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(30,224,122,.12), transparent 60%); opacity: 0; transition: opacity .4s; }
.svc-card:hover { border-color: var(--line); } .svc-card:hover::before { opacity: 1; }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.svc-no { font-family: "Archivo"; font-weight: 900; font-size: 34px; color: rgba(255,255,255,.12); }
.svc-lane { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--green); }
.svc-card h3 { font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.svc-card p { color: var(--ink-soft); font-size: 15px; }
.svc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.svc-tags li { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 11px; }
.svc-go { position: absolute; right: 24px; bottom: 22px; font-size: 22px; color: var(--ink-soft); transition: transform .3s var(--ease), color .3s; }
.svc-card:hover .svc-go { color: var(--green); transform: translate(4px, -4px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--ink-soft); font-size: clamp(16px, 1.8vw, 19px); max-width: 540px; }
.about-copy .because { color: var(--green); font-family: "Archivo"; font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); margin-top: 14px; }
.about-panel { position: relative; background: linear-gradient(180deg, var(--panel), #0a0d0b); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.panel-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-family: var(--mono); }
.panel-row span { font-size: 11px; letter-spacing: .18em; color: var(--ink-soft); }
.panel-row b { font-size: 14px; color: var(--ink); font-weight: 500; text-align: right; }
.sparkline { width: 100%; height: 70px; margin-top: 18px; }
.sparkline polyline { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(30,224,122,.6)); }
.panel-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-soft); margin-top: 6px; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-card { display: block; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); transform-style: preserve-3d; transition: transform .25s var(--ease), border-color .4s; }
.work-card:hover { border-color: var(--line); }
.work-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0a0d0b; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transform: translateZ(20px) scale(1.01); transition: transform .5s var(--ease); }
.work-card:hover .work-media img { transform: translateZ(20px) scale(1.05); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; }
.work-meta h3 { font-weight: 800; font-size: 19px; }
.work-meta span { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.work-card:hover .work-meta span { color: var(--green); }

.work-all { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-family: var(--mono); font-size: 14px; letter-spacing: .04em; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .3s; }
.work-all:hover { color: var(--green); }
.work-all .arrow { transition: transform .3s var(--ease); }
.work-all:hover .arrow { transform: translateX(6px); }

/* ---------- Work page (work.html) ---------- */
.work-hero { padding-top: clamp(140px, 20vh, 220px); padding-bottom: clamp(40px, 6vh, 70px); }
.work-hero h1 { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; font-size: clamp(46px, 8vw, 96px); margin: 12px 0 22px; }
.work-hero p { max-width: 580px; color: var(--ink-soft); font-size: clamp(16px, 2vw, 19px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); transition: color .3s, transform .3s var(--ease); }
.back-link:hover { color: var(--green); }
.wp-meta { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; }
.wp-top { display: flex; align-items: center; justify-content: space-between; }
.wp-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.wp-go { font-size: 18px; color: var(--ink-soft); transition: transform .3s var(--ease), color .3s; }
.work-card:hover .wp-go { color: var(--green); transform: translate(3px, -3px); }
.wp-meta h3 { font-weight: 800; font-size: clamp(20px, 2.2vw, 24px); }
.wp-meta p { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.wp-url { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 2px; transition: color .3s; }
.work-card:hover .wp-url { color: var(--green); }
.contact .btn { margin-top: 8px; }

/* ---------- Social graphics gallery (work.html) ---------- */
.gfx-grid { columns: 3; column-gap: 18px; }
.gfx-item { break-inside: avoid; margin: 0 0 18px; position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); cursor: zoom-in; transform-style: preserve-3d; transition: transform .3s var(--ease), border-color .4s var(--ease); }
.gfx-item:hover { border-color: var(--green); }
.gfx-item img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.gfx-item:hover img { transform: scale(1.04); }
.gfx-cap { position: absolute; inset: auto 0 0 0; padding: 38px 16px 14px; background: linear-gradient(transparent, rgba(7,9,8,.92)); opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.gfx-item:hover .gfx-cap { opacity: 1; transform: none; }
.gfx-cat { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.gfx-title { display: block; font-weight: 700; font-size: 15px; margin-top: 3px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9600; display: none; align-items: center; justify-content: center; padding: 5vh 5vw; background: rgba(4,6,5,.94); backdrop-filter: blur(8px); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; box-shadow: 0 30px 80px -20px #000; }
.lightbox-close { position: absolute; top: 22px; right: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); padding: 9px 13px; border-radius: 6px; cursor: pointer; transition: color .3s, border-color .3s; }
.lightbox-close:hover { color: var(--green); border-color: var(--green); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-title { margin: 6px 0 44px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; text-align: left; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-family: inherit; font-size: 17px; padding: 16px 4px; resize: none; transition: border-color .35s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field label { position: absolute; left: 4px; top: 16px; color: var(--ink-soft); font-size: 17px; pointer-events: none; transition: .3s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: -10px; font-size: 12px; color: var(--green); font-family: var(--mono); letter-spacing: .05em; }
.contact-form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form-status { grid-column: 1 / -1; color: var(--green); font-family: var(--mono); font-size: 14px; min-height: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-mail { display: inline-block; margin-top: 34px; font-family: var(--mono); font-size: 15px; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .3s; }
.contact-mail:hover { color: var(--green); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 56px clamp(20px, 5vw, 60px); border-top: 1px solid var(--line-2); }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; padding-bottom: 36px; }
.footer-brand { display: inline-flex; }
.footer-brand img { height: 30px; width: auto; display: block; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-family: var(--mono); color: var(--ink-soft); font-size: 14px; transition: color .3s; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); opacity: .7; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* static-capture mode: everything fully loaded, no fade-in */
body.still .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cluster { justify-self: start; }
  .about-grid { grid-template-columns: 1fr; }
  .gfx-grid { columns: 2; }
}
@media (max-width: 560px) {
  .gfx-grid { columns: 1; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand img, .nav.scrolled .brand img { height: 24px; }
  .nav-links.open { display: flex; flex-direction: column; gap: 26px; position: fixed; inset: 0; z-index: 700; background: rgba(7,9,8,.97); backdrop-filter: blur(18px); align-items: center; justify-content: center; font-size: 22px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line-2); }
  .stat:first-child { border-top: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
