/* =========================================================================
   GateFlow v6 – design system & site styles
   ========================================================================= */
:root {
  --bg: #07090a;
  --surface: #0e1213;
  --surface-2: #141a1b;
  --text: #f1efe8;
  --muted: #8f9894;
  --accent: #c8ff49;
  --accent-ink: #0b0e0d;
  --line: color-mix(in srgb, var(--text) 10%, transparent);
  --line-strong: color-mix(in srgb, var(--text) 20%, transparent);
  --font-display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 2px;
  --heading-scale: 1;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
html:not(.gf-lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1; }
p { margin: 0; }
em { font-style: normal; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.gf-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.gf-section { padding-block: clamp(90px, 12vw, 180px); position: relative; }

.gf-kicker, .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 28px;
}
.kicker > span:first-child { color: var(--accent); }
.gf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: gf-pulse 2.4s infinite; flex: none; }
.gf-num { color: var(--accent); font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; padding: 4px 8px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
@keyframes gf-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.gf-h2 {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  font-size: calc(clamp(36px, 7vw, 112px) * var(--heading-scale));
  line-height: 1.04; letter-spacing: -.01em;
}
.gf-h2 em, .gf-hero-title em, .gf-footer-title em { color: var(--accent); }
.gf-lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; max-width: 560px; }

.line { display: block; overflow: hidden; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.line-inner { display: block; }

/* ---------- Buttons ---------- */
.gf-btn, .button {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 26px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius); isolation: isolate; overflow: hidden;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .5s var(--ease), color .4s var(--ease), border-color .4s, background .4s;
  white-space: nowrap;
}
.gf-btn i, .button i { font-style: normal; font-size: 16px; transition: transform .5s var(--ease); }
.gf-btn:hover i, .button:hover i { transform: translate(3px, -3px) rotate(0deg); }
.gf-btn::before, .button::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .55s var(--ease-in-out);
  border-radius: inherit;
}
.gf-btn:hover::before, .button:hover::before { transform: translateY(0); }
.gf-btn-accent, .button.primary { background: var(--accent); color: var(--accent-ink); }
.gf-btn-accent::before, .button.primary::before { background: var(--text); }
.gf-btn-ghost, .button.secondary { border: 1px solid var(--line-strong); color: var(--text); background: color-mix(in srgb, var(--bg) 30%, transparent); backdrop-filter: blur(8px); }
.gf-btn-ghost::before, .button.secondary::before { background: var(--accent); }
.gf-btn-ghost:hover, .button.secondary:hover { color: var(--accent-ink); border-color: var(--accent); }
.button.dark { background: var(--accent-ink); color: var(--text); }
.button.dark::before { background: var(--text); }
.button.dark:hover { color: var(--accent-ink); }
.gf-btn-lg { min-height: 64px; padding: 0 34px; font-size: 13px; }
.gf-btn-sm { min-height: 44px; padding: 0 18px; font-size: 11px; }
.gf-btn:disabled { opacity: .35; pointer-events: none; }
.gf-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 6px; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat, linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.gf-link:hover { background-size: 100% 1px, 100% 1px; }
.gf-link i { font-style: normal; color: var(--accent); }

/* ---------- Global overlays ---------- */
.gf-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 300; pointer-events: none; }
.gf-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

.gf-grain { position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: .045; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: gf-grain 1.2s steps(6) infinite; }
@keyframes gf-grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

.gf-preloader { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; background: var(--bg); color: var(--text); }
.gf-preloader-inner { display: grid; justify-items: center; gap: 26px; }
.gf-preloader .gf-mark { width: 74px; height: 74px; }
.gf-preloader .gf-mark i { transform: scaleY(0) skewX(-18deg); transform-origin: bottom; animation: gf-bar .7s var(--ease) forwards; }
.gf-preloader .gf-mark i:nth-child(2) { animation-delay: .1s; }
.gf-preloader .gf-mark i:nth-child(3) { animation-delay: .2s; }
@keyframes gf-bar { to { transform: scaleY(1) skewX(-18deg); } }
.gf-preloader-word { font-family: var(--font-display); font-size: 15px; letter-spacing: .5em; font-weight: 600; overflow: hidden; }
.gf-preloader-word span { display: inline-block; transform: translateY(110%); animation: gf-up .8s .25s var(--ease) forwards; }
@keyframes gf-up { to { transform: none; } }
.gf-preloader-count { position: absolute; right: var(--gutter); bottom: 28px; font-family: var(--font-display); font-size: clamp(64px, 12vw, 180px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-strong); font-variant-numeric: tabular-nums; }
.gf-preloader-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; height: 1px; background: var(--line); }
.gf-preloader-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.gf-preloader.done { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-in-out); }

.gf-curtain { position: fixed; inset: 0; z-index: 880; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.gf-curtain i { background: var(--surface-2); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-in-out); border-right: 1px solid var(--line); }
.gf-curtain i:nth-child(2) { transition-delay: .04s; } .gf-curtain i:nth-child(3) { transition-delay: .08s; } .gf-curtain i:nth-child(4) { transition-delay: .12s; } .gf-curtain i:nth-child(5) { transition-delay: .16s; }
.gf-curtain.cover i { transform: scaleY(1); }
.gf-curtain.reveal i { transform-origin: top; }


/* ---------- Announcement ---------- */
.gf-announce { position: relative; z-index: 120; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.gf-announce.dark { background: var(--surface-2); color: var(--text); border-bottom: 1px solid var(--line); }
.gf-announce a { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 10px var(--gutter); }
.gf-announce i { font-style: normal; }
.gf-announce-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: gf-blink 1.4s infinite; }
@keyframes gf-blink { 50% { opacity: .2; } }
body.has-announce .gf-header { top: var(--announce-h, 38px); }
body.has-announce .gf-header.is-scrolled { top: 0; }

/* ---------- Brand ---------- */
.gf-brand { display: inline-flex; align-items: center; gap: 14px; }
.gf-mark { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid var(--line-strong); padding: 7px; flex: none; }
.gf-mark i { width: 6px; height: 100%; background: var(--accent); transform: skewX(-18deg); }
.gf-brand-text { display: grid; line-height: 1; }
.gf-brand-text b { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; font-size: 20px; text-transform: uppercase; }
.gf-brand-text small { font-size: 8.5px; font-weight: 700; letter-spacing: .3em; color: var(--muted); margin-top: 6px; }

/* ---------- Header ---------- */
.gf-header {
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--edge);
  transition: transform .6s var(--ease), background .4s, height .4s var(--ease), border-color .4s, top .4s;
  border-bottom: 1px solid transparent;
}
.gf-header.is-scrolled { height: 70px; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.gf-header.is-hidden { transform: translateY(-110%); }
body.menu-open .gf-header { transform: none; background: transparent; border-color: transparent; backdrop-filter: none; }
.gf-nav { display: flex; align-items: center; gap: 6px; }
.gf-nav-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: color-mix(in srgb, var(--text) 82%, transparent); transition: color .3s; }
.gf-nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.gf-nav-link:hover, .gf-nav-link[aria-current] { color: var(--text); }
.gf-nav-link:hover::after, .gf-nav-link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.gf-nav-link i { font-style: normal; color: var(--accent); transition: transform .4s var(--ease); }
.gf-has-mega:hover .gf-nav-link i, .gf-has-mega.open .gf-nav-link i { transform: rotate(45deg); }
.gf-has-mega { position: relative; }
.gf-mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(880px, 92vw);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(20px);
  border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px); clip-path: inset(0 0 100% 0);
  transition: opacity .3s, transform .5s var(--ease), clip-path .6s var(--ease), visibility 0s .5s;
}
.gf-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.gf-has-mega:hover .gf-mega, .gf-has-mega.open .gf-mega, .gf-has-mega:focus-within .gf-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); clip-path: inset(0 0 0 0); transition-delay: 0s; }
.gf-mega-list { display: grid; grid-template-columns: 1fr 1fr; padding: 14px; gap: 2px; }
.gf-mega-list a { display: grid; grid-template-columns: 30px 1fr; padding: 14px; border-radius: var(--radius); transition: background .3s; }
.gf-mega-list a em { grid-row: span 2; font-family: var(--font-display); font-size: 12px; color: var(--accent); padding-top: 3px; }
.gf-mega-list a span { font-weight: 800; font-size: 14px; }
.gf-mega-list a small { color: var(--muted); font-size: 12px; }
.gf-mega-list a:hover { background: var(--surface-2); }
.gf-mega-preview { position: relative; overflow: hidden; min-height: 300px; border-left: 1px solid var(--line); }
.gf-mega-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.gf-mega-preview:hover img { transform: scale(1.06); }
.gf-mega-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .85)); }
.gf-mega-preview span { color: #f4f2ec; position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: grid; }
.gf-mega-preview small { font-size: 10px; letter-spacing: .24em; color: var(--accent); font-weight: 800; }
.gf-mega-preview strong { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; font-weight: 600; }
.gf-mega-preview i { position: absolute; right: 0; bottom: 4px; font-style: normal; color: var(--accent); font-size: 20px; }
.gf-header-actions { display: flex; align-items: center; gap: 18px; }
.gf-header-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.gf-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: gf-pulse 2.4s infinite; }
.gf-burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; }
.gf-burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.gf-burger span:first-child { top: 19px; } .gf-burger span:last-child { top: 27px; }
body.menu-open .gf-burger span:first-child { top: 23px; transform: rotate(45deg); }
body.menu-open .gf-burger span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.gf-menu { position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; }
.gf-menu-bg { position: absolute; inset: 0; background: var(--surface); clip-path: circle(0% at calc(100% - 48px) 42px); transition: clip-path .9s var(--ease-in-out); }
.gf-menu-inner { position: relative; height: 100%; overflow-y: auto; padding: 120px var(--edge) 40px; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr auto; gap: 40px; }
.gf-menu-links { display: grid; align-content: center; }
.gf-menu-links a { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(30px, 8.5vw, 96px); line-height: 1.02; font-weight: 600; display: flex; align-items: baseline; gap: 18px; overflow: hidden; transition: color .3s; }
.gf-menu-links a em { font-size: 13px; color: var(--accent); font-family: var(--font-body); font-weight: 800; letter-spacing: .1em; }
.gf-menu-links a:hover { color: var(--accent); }
.gf-menu-services { display: grid; align-content: center; gap: 6px; }
.gf-menu-services small, .gf-menu-foot small { font-size: 10px; letter-spacing: .24em; font-weight: 800; color: var(--muted); }
.gf-menu-services a { font-size: 18px; font-weight: 700; color: color-mix(in srgb, var(--text) 80%, transparent); }
.gf-menu-services a:hover { color: var(--accent); }
.gf-menu-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
.gf-menu-foot > a:not(.gf-btn) { display: grid; font-weight: 800; }
.gf-menu-foot .gf-btn { margin-left: auto; }
.gf-menu-links a, .gf-menu-services, .gf-menu-foot { opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .8s var(--ease); }
body.menu-open .gf-menu { visibility: visible; pointer-events: auto; }
body.menu-open .gf-menu-bg { clip-path: circle(150% at calc(100% - 48px) 42px); }
body.menu-open .gf-menu-links a, body.menu-open .gf-menu-services, body.menu-open .gf-menu-foot { opacity: 1; transform: none; }
body.menu-open .gf-menu-links a:nth-child(1) { transition-delay: .25s; } body.menu-open .gf-menu-links a:nth-child(2) { transition-delay: .3s; } body.menu-open .gf-menu-links a:nth-child(3) { transition-delay: .35s; } body.menu-open .gf-menu-links a:nth-child(4) { transition-delay: .4s; } body.menu-open .gf-menu-links a:nth-child(5) { transition-delay: .45s; }
body.menu-open .gf-menu-services { transition-delay: .45s; } body.menu-open .gf-menu-foot { transition-delay: .55s; }
body.menu-open { overflow: hidden; }

/* ---------- Animation states ---------- */
html.js [data-reveal], html.js .reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in, html.js .reveal.is-in, html.js .reveal.visible { opacity: 1; transform: none; }
html.js [data-split] .line-inner { transform: translateY(105%) rotate(2deg); transform-origin: left top; transition: transform 1.25s var(--ease); transition-delay: calc(var(--i, 0) * .09s + var(--d, 0s)); }
html.js [data-split].is-in .line-inner { transform: none; }
html.js [data-img-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
html.js [data-img-reveal] img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
html.js [data-img-reveal].is-in { clip-path: inset(0 0 0 0); }
html.js [data-img-reveal].is-in img { transform: scale(1); }
html.gf-motion-off [data-reveal], html.gf-motion-off .reveal, html.gf-motion-off [data-split] .line-inner, html.gf-motion-off [data-img-reveal], html.gf-motion-off [data-img-reveal] img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }

/* ---------- HERO ---------- */
.gf-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + 120px); padding-bottom: clamp(110px, 14vh, 160px); }
.gf-hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.gf-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 + var(--hero-p, 0) * .12)) translateY(calc(var(--hero-p, 0) * 8%)); animation: gf-kenburns 18s var(--ease) both; will-change: transform; }
@keyframes gf-kenburns { from { scale: 1.12; filter: brightness(.6); } to { scale: 1; filter: brightness(1); } }
.gf-hero-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, color-mix(in srgb, var(--bg) 25%, transparent) 35%, color-mix(in srgb, var(--bg) 60%, transparent) 70%, var(--bg) 100%), linear-gradient(90deg, color-mix(in srgb, var(--bg) 80%, transparent), transparent 70%); }
.gf-sparks { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.gf-hero-lines { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(4, 1fr); padding-inline: var(--edge); pointer-events: none; }
.gf-hero-lines i { border-left: 1px solid color-mix(in srgb, var(--text) 6%, transparent); transform: scaleY(0); transform-origin: top; animation: gf-line 1.8s var(--ease) forwards; animation-delay: calc(var(--n, 0) * .12s + .4s); }
.gf-hero-lines i:nth-child(2) { --n: 1; } .gf-hero-lines i:nth-child(3) { --n: 2; } .gf-hero-lines i:nth-child(4) { --n: 3; border-right: 1px solid color-mix(in srgb, var(--text) 6%, transparent); }
@keyframes gf-line { to { transform: scaleY(1); } }
.gf-hero-inner { position: relative; }
.gf-hero-kicker { color: var(--text); }
.gf-hero-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: calc(clamp(38px, 9.4vw, 150px) * var(--heading-scale)); line-height: 1; letter-spacing: -.015em; margin-bottom: clamp(28px, 4vw, 48px); }
.gf-outline .line-inner, .gf-outline { color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--text) 75%, transparent); }
.gf-hero-title .gf-outline { padding-left: clamp(30px, 7vw, 120px); }
.gf-hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.gf-hero-lead { max-width: 560px; font-size: clamp(16px, 1.25vw, 19px); color: color-mix(in srgb, var(--text) 78%, transparent); }
.gf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gf-hero-stats { position: absolute; right: var(--edge); top: calc(var(--header-h) + clamp(30px, 6vh, 80px)); display: flex; gap: clamp(20px, 3vw, 46px); }
.gf-hero-stats div { display: grid; padding-left: 16px; border-left: 1px solid var(--accent); }
.gf-hero-stats b { font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 600; }
.gf-hero-stats span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.gf-scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.gf-scroll-cue i { width: 1px; height: 46px; background: var(--line-strong); position: relative; overflow: hidden; }
.gf-scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent); animation: gf-drip 1.8s var(--ease) infinite; }
@keyframes gf-drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Marquee ---------- */
.gf-marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg); position: relative; z-index: 1; }
.gf-marquee-row { display: flex; overflow: hidden; white-space: nowrap; }
.gf-marquee-track { display: flex; flex: none; will-change: transform; }
.gf-marquee-track span { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: clamp(34px, 5.4vw, 86px); line-height: 1.12; padding-right: .4em; }
.gf-marquee-outline .gf-marquee-track span { color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 35%, transparent); }
.gf-marquee-row:first-child .gf-marquee-track span { color: var(--text); }

/* ---------- Intro ---------- */
.gf-intro-grid { display: grid; grid-template-columns: minmax(260px, 0.8fr) 2fr; gap: clamp(40px, 7vw, 130px); }
.gf-intro-figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.gf-intro-figure img { width: 100%; height: 100%; object-fit: cover; }
.gf-intro-figure figcaption { position: absolute; left: 14px; bottom: 14px; font-size: 10px; letter-spacing: .24em; font-weight: 800; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 6px 10px; }
.gf-statement { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(30px, 3.9vw, 64px); line-height: 1.08; letter-spacing: -.005em; }
.gf-statement .w { color: color-mix(in srgb, var(--text) 16%, transparent); transition: color .3s; }
.gf-statement .w.on { color: var(--text); }
.gf-statement .w.on.hl { color: var(--accent); }
.gf-intro-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(50px, 6vw, 90px); border-top: 1px solid var(--line); }
.gf-intro-facts div { padding: 28px 28px 0 0; display: grid; gap: 10px; }
.gf-intro-facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.gf-intro-facts b { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; }
.gf-intro-facts b::before { content: "↘ "; color: var(--accent); }
.gf-intro-facts span { color: var(--muted); font-size: 15px; }

/* ---------- Services list ---------- */
.gf-section-head { display: grid; grid-template-columns: 1fr minmax(260px, 420px); align-items: end; gap: 28px 60px; margin-bottom: clamp(50px, 6vw, 90px); }
.gf-section-head .gf-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.gf-svc-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.gf-svc-list { border-top: 1px solid var(--line); position: relative; counter-reset: svc; }
.gf-svc-row { position: relative; display: grid; grid-template-columns: 64px 1fr 52px; align-items: center; gap: 22px; padding: 28px 0 28px 18px; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), background .5s; }
.gf-svc-row::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.gf-svc-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.gf-svc-n { font-family: var(--font-display); font-size: 14px; letter-spacing: .08em; color: var(--muted); transition: color .4s; }
.gf-svc-body { display: grid; gap: 8px; min-width: 0; }
.gf-svc-t { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 2.7vw, 46px); line-height: 1; font-weight: 600; color: color-mix(in srgb, var(--text) 45%, transparent); transition: color .45s, transform .7s var(--ease); }
.gf-svc-d { color: var(--muted); max-width: 520px; font-size: 15px; display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.gf-svc-go { justify-self: end; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 18px; transition: transform .6s var(--ease), background .4s, border-color .4s, color .4s; }
.gf-svc-img { display: none; }
.gf-svc-row.is-active { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%); }
.gf-svc-row.is-active::before { transform: scaleY(1); }
.gf-svc-row.is-active::after { transform: scaleX(1); }
.gf-svc-row.is-active .gf-svc-n { color: var(--accent); }
.gf-svc-row.is-active .gf-svc-t { color: var(--text); transform: translateX(8px); }
.gf-svc-row.is-active .gf-svc-go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(45deg); }
.gf-svc-row:focus-visible { outline-offset: -2px; }
.gf-svc-row.is-active .gf-svc-d { max-height: 120px; opacity: 1; }
.gf-svc-stage { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); isolation: isolate; box-shadow: 0 50px 120px rgba(0, 0, 0, .35); }
.gf-svc-frames figure { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-in-out); z-index: 1; }
.gf-svc-frames figure.on { clip-path: inset(0 0 0 0); z-index: 2; }
.gf-svc-frames figure.past { clip-path: inset(0 0 0 0); z-index: 0; }
.gf-svc-frames img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.6s var(--ease); }
.gf-svc-frames figure.on img { transform: scale(1); }
.gf-svc-stage::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 28%, transparent 55%, rgba(0, 0, 0, .78)); pointer-events: none; }
.gf-svc-meta { position: absolute; z-index: 4; left: 22px; right: 22px; top: 20px; display: grid; gap: 12px; color: #f4f2ec; }
.gf-svc-count { font-family: var(--font-display); font-size: 14px; letter-spacing: .1em; }
.gf-svc-count b { font-size: 22px; color: var(--accent); }
.gf-svc-bars { display: flex; gap: 4px; }
.gf-svc-bars i { flex: 1; height: 2px; background: rgba(255, 255, 255, .22); position: relative; overflow: hidden; }
.gf-svc-bars i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.gf-svc-bars i.on::after { transform: scaleX(1); }
.gf-svc-cap { position: absolute; z-index: 4; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 6px; color: #f4f2ec; }
.gf-svc-cap small { font-size: 10px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.gf-svc-cap strong { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 2.4vw, 40px); line-height: 1; font-weight: 600; }
.gf-svc-cap span { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; gap: 8px; margin-top: 6px; }
.gf-svc-cap span i { font-style: normal; color: var(--accent); transition: transform .4s var(--ease); }
.gf-svc-cap:hover span i { transform: translate(3px, -3px); }
.gf-svc-cap.swap strong { animation: gf-cap .7s var(--ease); }
@keyframes gf-cap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* SEO copy blocks */
.gf-seo-copy { padding-block: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.gf-seo-copy-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: end; }
.gf-seo-copy-text { display: grid; gap: 18px; color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75; }
@media (max-width: 900px) { .gf-seo-copy-grid { grid-template-columns: 1fr; } }

/* Related references on service pages */
.gf-relrefs { padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.gf-relrefs-head { margin-bottom: 40px; }
.gf-relrefs-head .gf-kicker { margin-bottom: 20px; }
.gf-relrefs-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 0 var(--edge) 14px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; align-items: flex-end; }
.gf-relrefs-track .gf-work-card { width: clamp(260px, 30vw, 460px); }
.gf-relrefs-track .gf-work-card.is-tall { width: clamp(220px, 22vw, 340px); }
.gf-relrefs-track .gf-work-more { min-height: 300px; }

/* Floating actions */
.gf-fab { position: fixed; right: 22px; bottom: 22px; z-index: 130; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .6s var(--ease); }
.gf-fab.on { opacity: 1; transform: none; pointer-events: auto; }
.gf-fab-call { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); transition: transform .4s var(--ease), box-shadow .4s; }
.gf-fab-call:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(0, 0, 0, .5); }
.gf-fab-call svg { width: 18px; height: 18px; fill: currentColor; animation: gf-ring 3s infinite; transform-origin: 50% 50%; }
@keyframes gf-ring { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(6deg); } }
.gf-fab-top { position: relative; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(10px); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.gf-fab-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.gf-fab-top circle { fill: none; stroke-width: 2; }
.gf-fab-top .trk { stroke: var(--line-strong); }
.gf-fab-top .prg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.gf-fab-top i { font-style: normal; font-size: 18px; transition: transform .4s var(--ease); }
.gf-fab-top:hover i { transform: translateY(-3px); }
body.menu-open .gf-fab, body.cb-open .gf-fab { opacity: 0; pointer-events: none; }

/* Callback modal */
.gf-cb { position: fixed; inset: 0; z-index: 820; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(12px); opacity: 0; transition: opacity .35s; }
.gf-cb.open { opacity: 1; }
.gf-cb-card { position: relative; width: min(480px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line-strong); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; box-shadow: 0 50px 120px rgba(0, 0, 0, .5); transform: translateY(30px) scale(.97); transition: transform .6s var(--ease); border-radius: var(--radius); }
.gf-cb.open .gf-cb-card { transform: none; }
.gf-cb-card::before { content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent); clip-path: polygon(0 0, 60px 0, 60px 1px, 1px 1px, 1px 60px, 0 60px); pointer-events: none; }
.gf-cb-card .gf-kicker { margin: 0; }
.gf-cb-card h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: clamp(36px, 5vw, 54px); line-height: 1.04; }
.gf-cb-card h3 em { color: var(--accent); }
.gf-cb-lead { color: var(--muted); }
.gf-cb-form { display: grid; gap: 14px; margin-top: 6px; }
.gf-cb-form select { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 15px; outline: none; }
.gf-cb-form select:focus { border-color: var(--accent); }
.gf-cb-form .gf-btn { width: 100%; margin-top: 6px; }
.gf-cb-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 20px; transition: background .3s, color .3s, transform .4s var(--ease); }
.gf-cb-close:hover { background: var(--accent); color: var(--accent-ink); transform: rotate(90deg); }
.gf-cb-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 20px 0 6px; }
.gf-cb-done h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 36px; font-weight: 600; margin: 0; }
.gf-cb-done p { color: var(--muted); }
body.cb-open { overflow: hidden; }

/* ---------- Quality ---------- */
.gf-quality { background: var(--surface); }
.gf-quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.gf-quality-sticky { position: sticky; top: 110px; }
.gf-quality-media figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.gf-quality-media img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.gf-badge { position: absolute; right: -46px; bottom: -46px; width: 150px; height: 150px; display: grid; place-items: center; background: var(--accent); border-radius: 50%; color: var(--accent-ink); }
.gf-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: gf-spin 16s linear infinite; }
.gf-badge text { font-size: 9.6px; font-weight: 800; letter-spacing: .2em; fill: var(--accent-ink); font-family: var(--font-body); }
.gf-badge .gf-mark { border-color: color-mix(in srgb, var(--accent-ink) 30%, transparent); }
.gf-badge .gf-mark i { background: var(--accent-ink); }
@keyframes gf-spin { to { transform: rotate(360deg); } }
.gf-quality-copy .gf-lead { margin-top: 30px; }
.gf-points { list-style: none; margin: 60px 0 0; padding: 0; display: grid; }
.gf-points li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.gf-points b { font-family: var(--font-display); font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.gf-points h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 26px; margin-bottom: 10px; }
.gf-points p { color: var(--muted); }

/* ---------- Work (horizontal scroll) ---------- */
.gf-work { position: relative; padding-top: clamp(90px, 12vw, 160px); }
.gf-work-pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 90px 50px; }
.gf-work:not(.is-hscroll) .gf-work-pin { position: relative; min-height: 0; padding-top: 0; }
.gf-work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(36px, 4vw, 60px); }
.gf-work-meta { display: grid; justify-items: end; gap: 22px; }
.gf-work-progress { width: 180px; height: 2px; background: var(--line); }
.gf-work-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--wp, 0)); }
.gf-work-track { display: flex; gap: clamp(16px, 2vw, 30px); padding-inline: var(--edge); will-change: transform; align-items: flex-end; }
.gf-work:not(.is-hscroll) .gf-work-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.gf-work:not(.is-hscroll) .gf-work-track::-webkit-scrollbar { display: none; }
.gf-work-card { position: relative; flex: none; width: clamp(280px, 38vw, 620px); scroll-snap-align: start; display: block; }
.gf-work-card.is-tall { width: clamp(240px, 26vw, 420px); }
.gf-work-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.gf-work-card.is-tall figure { aspect-ratio: 3 / 4; }
.gf-work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: grayscale(.25); }
.gf-work-card:hover img { transform: scale(1.07); filter: none; }
.gf-work-card > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding-top: 18px; }
.gf-work-card small { font-size: 10px; font-weight: 800; letter-spacing: .24em; color: var(--accent); text-transform: uppercase; }
.gf-work-card h3 { grid-row: 2; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: clamp(20px, 1.8vw, 28px); }
.gf-work-card span { grid-row: 1 / 3; grid-column: 2; font-family: var(--font-display); font-size: 40px; color: transparent; -webkit-text-stroke: 1px var(--line-strong); align-self: center; }
.gf-work-more { width: clamp(260px, 26vw, 400px) !important; align-self: stretch; border: 1px solid var(--line-strong); display: grid; place-items: end start; padding: 30px; min-height: 360px; transition: background .5s, color .5s; }
.gf-work-more > div { display: grid; grid-template-columns: 1fr; padding: 0; }
.gf-work-more h3 { grid-row: auto; font-size: clamp(28px, 2.6vw, 42px); line-height: 1; }
.gf-work-more .gf-work-more-icon { grid-row: auto; grid-column: auto; -webkit-text-stroke: 0; color: var(--accent); font-size: 60px; margin-top: 20px; transition: transform .6s var(--ease); }
.gf-work-more:hover { background: var(--accent); color: var(--accent-ink); }
.gf-work-more:hover small, .gf-work-more:hover .gf-work-more-icon { color: var(--accent-ink); }
.gf-work-more:hover .gf-work-more-icon { transform: rotate(45deg); }

/* ---------- Process ---------- */
.gf-process-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 140px); }
.gf-process-head { position: sticky; top: 120px; align-self: start; display: grid; gap: 30px; justify-items: start; }
.gf-process-head .gf-kicker { margin-bottom: 0; }
.gf-steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: clamp(50px, 7vw, 110px); padding-left: 60px; }
.gf-steps-line { position: absolute; left: 20px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.gf-steps-line i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.gf-step-item { display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start; position: relative; opacity: .28; transition: opacity .6s var(--ease); }
.gf-step-item::before { content: ""; position: absolute; left: -45px; top: 18px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); transition: background .4s, border-color .4s, box-shadow .4s; }
.gf-step-item.on { opacity: 1; }
.gf-step-item.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.gf-step-item b { font-family: var(--font-display); font-size: clamp(64px, 7vw, 110px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--text); }
.gf-step-item.on b { -webkit-text-stroke-color: var(--accent); }
.gf-step-item h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(28px, 3vw, 44px); font-weight: 600; margin-bottom: 12px; }
.gf-step-item p { color: var(--muted); max-width: 420px; }

/* ---------- Testimonials ---------- */
.gf-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gf-quote-card { border: 1px solid var(--line); padding: 34px; display: grid; gap: 22px; align-content: space-between; background: var(--surface); transition: border-color .4s, transform .6s var(--ease); }
.gf-quote-card:hover { border-color: var(--accent); transform: translateY(-6px); }
.gf-quote-card .stars { color: var(--accent); letter-spacing: .2em; }
.gf-quote-card blockquote { margin: 0; font-size: 18px; line-height: 1.6; }
.gf-quote-card footer { display: grid; font-size: 13px; color: var(--muted); }
.gf-quote-card footer b { color: var(--text); font-size: 15px; }

/* ---------- Area & FAQ ---------- */
.gf-area { background: var(--surface); }
.gf-area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); }
.gf-area-copy { display: grid; gap: 30px; justify-items: start; align-content: start; }
.gf-area-copy .gf-kicker { margin-bottom: 0; }
.gf-faq-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 22px; letter-spacing: .04em; margin-bottom: 16px; }
.gf-acc, .faq-list details { border-top: 1px solid var(--line); }
.gf-acc:last-child, .faq-list details:last-child { border-bottom: 1px solid var(--line); }
.gf-acc summary, .faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-weight: 800; font-size: 17px; cursor: pointer; transition: color .3s; }
.gf-acc summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.gf-acc summary::after, .faq-list summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font-size: 18px; transition: transform .5s var(--ease), background .3s, color .3s; }
.gf-acc[open] summary::after, .faq-list details[open] summary::after { transform: rotate(135deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.gf-acc summary:hover, .faq-list summary:hover { color: var(--accent); }
.gf-acc > div, .faq-list details > p { color: var(--muted); padding: 0 50px 26px 0; }
.gf-acc > div { overflow: hidden; }

/* ---------- Quote wizard ---------- */
.gf-quote { padding-block: clamp(90px, 12vw, 170px); position: relative; overflow: hidden; }
.gf-quote::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%); pointer-events: none; }
.gf-quote-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; position: relative; }
.gf-quote-copy { display: grid; gap: 30px; position: sticky; top: 110px; }
.gf-quote-copy .gf-kicker { margin-bottom: 0; }
.gf-promise { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gf-promise li { display: flex; align-items: center; gap: 16px; font-weight: 700; }
.gf-promise b { font-family: var(--font-display); color: var(--accent); font-size: 13px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 50%; flex: none; }
.gf-quote-contacts { display: flex; flex-wrap: wrap; gap: 14px; }
.gf-quote-contacts a { display: grid; padding: 16px 22px; border: 1px solid var(--line); min-width: 210px; transition: border-color .3s, background .3s; }
.gf-quote-contacts a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.gf-quote-contacts small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.gf-quote-contacts span { font-weight: 800; font-size: 17px; }
.gf-wizard { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 48px); position: relative; box-shadow: 0 50px 120px rgba(0, 0, 0, .35); }
.gf-wizard::before { content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent); clip-path: polygon(0 0, 60px 0, 60px 1px, 1px 1px, 1px 60px, 0 60px); pointer-events: none; }
.gf-wizard-head { margin-bottom: 34px; }
.gf-wizard-steps { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.gf-wizard-steps span.active { color: var(--accent); }
.gf-wizard-steps span.done { color: var(--text); }
.gf-wizard-bar { height: 2px; background: var(--line); }
.gf-wizard-bar i { display: block; height: 100%; background: var(--accent); width: 33.33%; transition: width .7s var(--ease); }
.gf-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.gf-step.active { display: block; animation: gf-step-in .7s var(--ease); }
.gf-step.back { animation-name: gf-step-back; }
@keyframes gf-step-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes gf-step-back { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.gf-step legend { display: grid; gap: 8px; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; margin-bottom: 28px; padding: 0; }
.gf-step legend em { font-family: var(--font-body); font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--accent); }
.gf-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gf-tile { position: relative; cursor: pointer; }
.gf-tile input { position: absolute; opacity: 0; pointer-events: none; }
.gf-tile > span { display: grid; justify-items: start; gap: 18px; padding: 18px 16px; min-height: 120px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius); transition: border-color .3s, background .3s, transform .4s var(--ease); align-content: space-between; height: 100%; }
.gf-tile svg { width: 34px; height: 34px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.gf-tile b { font-size: 13px; font-weight: 800; line-height: 1.25; }
.gf-tile:hover > span { border-color: var(--line-strong); transform: translateY(-3px); }
.gf-tile input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--bg)); }
.gf-tile input:checked + span svg { stroke: var(--accent); }
.gf-tile input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.gf-tile-wide { grid-column: span 4; }
.gf-tile-wide > span { min-height: 0; grid-template-columns: auto 1fr; align-items: center; }
.gf-tile-wide svg { width: 26px; height: 26px; }
.gf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gf-field { display: grid; gap: 8px; }
.gf-field > span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gf-span-2 { grid-column: span 2; }
.gf-field input, .gf-field textarea, .gf-field select, .contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; font-size: 15px; transition: border-color .3s, box-shadow .3s; outline: none; resize: vertical;
}
.gf-field input:focus, .gf-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.gf-field input.invalid { border-color: #ff6b5a; }
.gf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-chips label { position: relative; cursor: pointer; }
.gf-chips input { position: absolute; opacity: 0; }
.gf-chips span { display: inline-flex; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; transition: all .3s; }
.gf-chips label:hover span { border-color: var(--line-strong); }
.gf-chips input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.gf-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.gf-privacy { margin-top: 18px; font-size: 12px; color: var(--muted); }
.gf-form-error { margin-top: 18px; color: #ff8a7a; font-weight: 700; font-size: 14px; }
.gf-wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.gf-wizard-count { font-family: var(--font-display); color: var(--muted); font-size: 15px; }
.gf-wizard-count b { color: var(--text); font-size: 22px; }
.gf-wizard.is-done .gf-wizard-nav, .gf-wizard.is-done .gf-wizard-head, .gf-wizard.is-done .gf-step { display: none; }
.gf-wizard-done { text-align: center; display: grid; justify-items: center; gap: 18px; padding: 40px 0; }
.gf-wizard-done h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 48px; font-weight: 600; }
.gf-wizard-done p { color: var(--muted); max-width: 380px; }
.gf-check { width: 96px; height: 96px; fill: none; stroke: var(--accent); stroke-width: 2; }
.gf-check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: gf-draw 1s var(--ease) forwards; }
.gf-check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: gf-draw .6s .7s var(--ease) forwards; }
@keyframes gf-draw { to { stroke-dashoffset: 0; } }
.form-trap { position: absolute !important; left: -9999px; }

/* ---------- Footer ---------- */
.gf-footer { position: relative; background: var(--surface); border-top: 1px solid var(--line); overflow: hidden; padding-bottom: 20px; }
.gf-footer-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding-block: clamp(80px, 10vw, 140px) clamp(60px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.gf-footer-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: calc(clamp(48px, 8vw, 132px) * var(--heading-scale)); line-height: 1.02; }
.gf-footer-cta-side { display: grid; gap: 28px; justify-items: start; }
.gf-footer-cta-side p { color: var(--muted); font-size: 17px; }
.gf-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 70px; }
.gf-footer-grid > div { display: grid; align-content: start; gap: 10px; }
.gf-footer-grid strong { font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.gf-footer-grid > div > a { color: color-mix(in srgb, var(--text) 78%, transparent); width: fit-content; transition: color .3s, transform .4s var(--ease); }
.gf-footer-grid > div > a:hover { color: var(--accent); transform: translateX(4px); }
.gf-footer-brand { gap: 22px !important; }
.gf-footer-brand p { color: var(--muted); max-width: 340px; font-size: 15px; }
.gf-footer-contact a, .gf-footer-contact p { display: grid; }
.gf-footer-contact small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.gf-footer-contact span { font-weight: 800; }
.gf-social { display: flex; gap: 10px; }
.gf-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.gf-social a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.gf-social svg { width: 18px; height: 18px; fill: currentColor; }
.gf-footer-word { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: min(19vw, 300px); line-height: .9; letter-spacing: -.02em; text-align: center; color: transparent; -webkit-text-stroke: 1px var(--line-strong); white-space: nowrap; overflow: hidden; user-select: none; margin-top: 10px; }
.gf-footer-word span { display: inline-block; background: linear-gradient(var(--accent), var(--accent)) left / var(--fw, 0%) 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.gf-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); margin-top: 20px; }
.gf-footer-bottom a:hover { color: var(--accent); }
.gf-dock { display: none; }
body:has(.service-cta, .ref-cta, .gf-quote) .gf-footer-cta { display: none; }
body:has(.service-cta, .ref-cta, .gf-quote) .gf-footer-grid { padding-top: 90px; }

/* =========================================================================
   Legacy page components (service pages, references, contact, 404)
   ========================================================================= */
.blueprint { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(color-mix(in srgb, var(--text) 4%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 4%, transparent) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.section { padding: clamp(90px, 11vw, 160px) var(--gutter); max-width: calc(var(--wrap)); margin-inline: auto; position: relative; }
main > section:not(.section):not([class*="gf-"]) { position: relative; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 36px; letter-spacing: .04em; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); }
.section-title { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 26px 60px; align-items: end; margin-bottom: clamp(50px, 6vw, 80px); }
.section-title .kicker { grid-column: 1 / -1; margin: 0; }
.section-title h2, .service-intro h2, .service-detail-copy h2, .service-faq-heading h2, .ref-cta h2, .service-cta h2, .catalog-heading h2 {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600; line-height: 1.06; font-size: calc(clamp(38px, 5.6vw, 88px) * var(--heading-scale));
}
.section-title h2 em, .service-faq-heading h2 em, .ref-cta h2 em, .service-cta h2 em, .catalog-heading h2 em, .ref-hero h1 em, .error-main h1 em { color: var(--accent); }
.section-title > p, .service-intro p, .service-detail-copy p, .catalog-heading p { color: var(--muted); font-size: 17px; line-height: 1.75; }

.service-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; padding: 160px var(--edge) clamp(70px, 9vw, 120px); isolation: isolate; }
.service-hero-media { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; z-index: -3; transform: translateY(calc(var(--hero-p, 0) * 12%)) scale(1.05); animation: gf-kenburns 14s var(--ease) both; }
.service-hero-overlay { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 75%, transparent), color-mix(in srgb, var(--bg) 35%, transparent) 45%, var(--bg)), linear-gradient(90deg, color-mix(in srgb, var(--bg) 85%, transparent), transparent 75%); }
.service-hero .blueprint { z-index: -1; }
.service-hero-inner { max-width: var(--wrap); width: 100%; margin-inline: auto; }
.service-hero h1 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: calc(clamp(40px, 8.4vw, 136px) * var(--heading-scale)); line-height: 1.02; margin-bottom: 30px; max-width: 14ch; }
.service-hero-inner > p:not(.kicker) { max-width: 600px; color: color-mix(in srgb, var(--text) 78%, transparent); font-size: clamp(16px, 1.3vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.service-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.service-intro { display: grid; gap: 24px; align-content: start; }
.service-intro .kicker { margin: 0; }
.service-intro h2 { font-size: calc(clamp(34px, 4vw, 64px) * var(--heading-scale)); }
.service-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); align-self: start; }
.service-feature { background: var(--bg); padding: 34px 28px; display: grid; gap: 12px; align-content: start; transition: background .4s; position: relative; }
.service-feature:hover { background: var(--surface); }
.service-feature b { font-family: var(--font-display); color: var(--accent); font-size: 14px; }
.service-feature h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 24px; }
.service-feature p { color: var(--muted); font-size: 15px; }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); margin-inline: var(--edge); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-detail-image { overflow: hidden; min-height: 560px; position: relative; }
.service-detail-image img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.service-detail-copy { padding: clamp(60px, 8vw, 130px) clamp(24px, 6vw, 110px); display: grid; gap: 24px; align-content: center; }
.service-detail-copy .kicker { margin: 0; }
.service-detail-copy h2 { font-size: calc(clamp(32px, 3.6vw, 58px) * var(--heading-scale)); }
.service-detail-copy ul, .service-catalog-card ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.service-detail-copy li, .service-catalog-card li { display: flex; gap: 14px; align-items: baseline; font-weight: 700; }
.service-detail-copy li::before, .service-catalog-card li::before { content: "↘"; color: var(--accent); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: none; }
.timeline article { padding: 34px 28px 10px 0; display: grid; gap: 14px; align-content: start; position: relative; }
.timeline article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.timeline article::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.timeline article.is-in::before, .timeline article.visible::before { transform: scaleX(1); }
.timeline b { font-family: var(--font-display); font-size: 64px; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.timeline h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 26px; }
.timeline p { color: var(--muted); font-size: 15px; }

.service-faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); }
.service-faq-heading .kicker { margin-bottom: 24px; }
.faq-list h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 22px; margin-bottom: 16px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid a { display: grid; gap: 16px; padding: 34px 30px; border: 1px solid var(--line); min-height: 220px; align-content: space-between; position: relative; overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s; }
.related-grid a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform .6s var(--ease-in-out); }
.related-grid a:hover { color: var(--accent-ink); border-color: var(--accent); }
.related-grid a:hover::before { transform: none; }
.related-grid small { font-size: 10px; letter-spacing: .22em; font-weight: 800; color: var(--muted); }
.related-grid a:hover small { color: var(--accent-ink); }
.related-grid strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; }
.related-grid span { font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

.service-cta, .ref-cta { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 40px; background: var(--accent); color: var(--accent-ink); padding: clamp(50px, 6vw, 96px) clamp(26px, 5vw, 80px); margin: 0 var(--edge) clamp(70px, 9vw, 130px); border-radius: var(--radius); position: relative; overflow: hidden; }
.service-cta::after, .ref-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; background: repeating-linear-gradient(105deg, transparent 0 26px, color-mix(in srgb, var(--accent-ink) 7%, transparent) 26px 46px); pointer-events: none; }
.service-cta .kicker, .ref-cta .kicker { color: color-mix(in srgb, var(--accent-ink) 70%, transparent); }
.service-cta .kicker > span:first-child, .ref-cta .kicker > span:first-child { color: var(--accent-ink); }
.service-cta h2 em, .ref-cta h2 em { color: transparent; -webkit-text-stroke: 1.5px var(--accent-ink); }
.service-cta p:not(.kicker) { margin-top: 20px; font-weight: 600; }
.service-cta > div:last-child { display: grid; gap: 16px; justify-items: start; }
.service-phone { font-family: var(--font-display); font-size: 28px; font-weight: 600; }

.ref-hero { position: relative; padding: 190px var(--edge) clamp(70px, 8vw, 110px); overflow: hidden; border-bottom: 1px solid var(--line); }
.ref-hero::after { content: ""; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%); pointer-events: none; }
.ref-hero-inner { max-width: var(--wrap); margin-inline: auto; position: relative; z-index: 1; }
.ref-hero h1, .error-main h1, .thanks-card h1 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: calc(clamp(40px, 9vw, 150px) * var(--heading-scale)); line-height: 1.02; margin-bottom: 30px; }
.ref-hero-inner > p:not(.kicker) { max-width: 640px; color: var(--muted); font-size: 18px; }
.reference-keyword-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.reference-keyword-links a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; transition: all .3s; }
.reference-keyword-links a:hover { border-color: var(--accent); color: var(--accent); }

.service-jump { border-bottom: 1px solid var(--line); padding: 30px var(--edge); position: sticky; top: 70px; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); }
.service-jump > div { max-width: var(--wrap); margin-inline: auto; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.service-jump .kicker { margin: 0; }
.service-jump nav { display: flex; flex-wrap: wrap; gap: 6px; }
.service-jump nav a { display: inline-flex; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; transition: all .3s; }
.service-jump nav a span { color: var(--accent); font-family: var(--font-display); }
.service-jump nav a:hover { border-color: var(--accent); }
.catalog-heading { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 26px 60px; align-items: end; margin-bottom: 60px; }
.catalog-heading .kicker { grid-column: 1 / -1; margin: 0; }
.service-catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-catalog-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); background: var(--surface); transition: border-color .4s, transform .6s var(--ease); scroll-margin-top: 170px; }
.service-catalog-card:hover { border-color: var(--line-strong); }
.service-catalog-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.service-catalog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.service-catalog-card:hover .service-catalog-image img { transform: scale(1.06); }
.service-catalog-card > div { padding: 30px; display: grid; gap: 14px; align-content: start; }
.service-catalog-card small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.service-catalog-card h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 32px; }
.service-catalog-card h3 a:hover { color: var(--accent); }
.service-catalog-card p { color: var(--muted); }
.catalog-cta { display: inline-flex; gap: 10px; margin-top: 12px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.catalog-cta i { font-style: normal; transition: transform .4s var(--ease); }
.catalog-cta:hover i { transform: translate(3px, -3px); }

/* References gallery */
.reference-section { padding-top: 50px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; position: sticky; top: 80px; z-index: 20; padding: 10px 0; }
.filter-bar button { padding: 11px 20px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 700; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(10px); transition: all .3s; }
.filter-bar button sup { color: var(--accent); margin-left: 4px; font-size: 10px; }
.filter-bar button:hover { border-color: var(--accent); }
.filter-bar button.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.filter-bar button.active sup { color: var(--accent-ink); }
.masonry { columns: 3 340px; column-gap: 20px; }
.ref-item { break-inside: avoid; margin: 0 0 20px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.ref-item.hidden { display: none; }
.image-button { display: block; width: 100%; overflow: hidden; }
.ref-item img { width: 100%; transition: transform 1.3s var(--ease), filter .6s; }
.ref-item:hover img { transform: scale(1.06); }
.ref-item figcaption { color: #f4f2ec; position: absolute; inset: auto 0 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: grid; grid-template-columns: 1fr auto; pointer-events: none; transform: translateY(20px); opacity: .9; transition: transform .6s var(--ease), opacity .4s; }
.ref-item:hover figcaption { transform: none; opacity: 1; }
.ref-item figcaption small { font-size: 10px; font-weight: 800; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; }
.ref-item figcaption h3 { grid-row: 2; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 22px; }
.ref-item figcaption span { grid-row: 1 / 3; grid-column: 2; align-self: end; font-family: var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); font-size: 34px; }
.ref-item figcaption p { grid-row: 3; grid-column: 1 / -1; font-size: 13px; color: rgba(255, 255, 255, .75); margin-top: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 800; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); display: grid; place-items: center; padding: 70px 90px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-height: 80vh; max-width: 100%; width: auto; object-fit: contain; transform: scale(.94); transition: transform .6s var(--ease); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.lightbox.open img { transform: none; }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-family: var(--font-display); text-transform: uppercase; font-size: 22px; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; width: 56px; height: 56px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; font-size: 22px; transition: all .3s; background: var(--bg); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; top: 34px; left: 0; right: 0; text-align: center; font-family: var(--font-display); color: var(--muted); letter-spacing: .1em; }

/* Error & thanks */
.error-main, .thanks-card { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 10px; padding: 160px var(--gutter) 80px; max-width: var(--wrap); margin-inline: auto; position: relative; }
.error-main > p:not(.kicker), .thanks-card > p:not(.kicker) { color: var(--muted); max-width: 560px; font-size: 18px; }
.standalone-workarea { display: grid; margin-top: 30px; padding: 16px 22px; border: 1px solid var(--line); }
.standalone-workarea small { font-size: 10px; letter-spacing: .22em; color: var(--muted); font-weight: 800; }
.thanks-card .button { margin-top: 30px; }
.error-main::after { content: "404"; position: absolute; right: var(--gutter); font-size: min(34vw, 420px) !important; bottom: 60px; font-family: var(--font-display); font-size: 34vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line); z-index: -1; pointer-events: none; }

/* =========================================================================
   CMS edit mode (inside the admin's visual editor)
   ========================================================================= */
html.gf-editing [data-cms] { outline: 1px dashed transparent; outline-offset: 4px; transition: outline-color .2s; cursor: text !important; }
html.gf-editing [data-cms]:hover { outline-color: color-mix(in srgb, var(--accent) 80%, transparent); }
html.gf-editing [data-cms][contenteditable="true"] { outline: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
html.gf-editing [data-cms].gf-changed { outline-color: color-mix(in srgb, #ffb547 80%, transparent); }
html.gf-editing [data-cms-img] { cursor: pointer !important; }
html.gf-editing [data-cms-img]:hover { outline: 3px solid var(--accent); outline-offset: -3px; filter: brightness(.85); }
html.gf-editing [data-cms-section].gf-hidden-section { display: block !important; opacity: .25; outline: 2px dashed #ff6b5a; }
html.gf-editing .gf-svc-img { display: block; position: absolute; right: 70px; top: 50%; width: 64px; height: 46px; object-fit: cover; transform: translateY(-50%); }
html.gf-editing .gf-svc-d { max-height: none; opacity: 1; }
.gf-edit-badge.fade { opacity: 0; transition: opacity .8s; }
.gf-edit-badge { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 999; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); pointer-events: none; max-width: calc(100vw - 24px); text-align: center; }
.gf-maintenance { position: fixed; inset: auto 16px 16px auto; z-index: 400; max-width: 360px; background: var(--surface-2); border: 1px solid var(--accent); padding: 18px 20px; font-size: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .gf-nav, .gf-header-phone { display: none; }
  .gf-burger { display: block; }
  .gf-hero-stats { position: static; display: flex; gap: 26px; margin: 40px var(--gutter) 0; }
  .gf-hero-stats b { font-size: 30px; }
  .gf-hero { padding-bottom: 90px; padding-top: calc(var(--header-h) + 60px); }
  .gf-svc-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); gap: 40px; }
  .gf-tiles { grid-template-columns: repeat(3, 1fr); }
  .gf-tile-wide { grid-column: span 3; }
  .gf-footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline article:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .gf-header.is-scrolled { height: 64px; }
  .gf-header-actions .gf-btn { display: none; }
  .gf-menu-inner { grid-template-columns: 1fr; padding-top: 100px; }
  .gf-menu-services { display: none; }
  .gf-menu-foot .gf-btn { margin-left: 0; width: 100%; }
  .gf-hero-title .gf-outline { padding-left: 0; }
  .gf-hero-foot { display: grid; gap: 28px; }
  .gf-scroll-cue { display: none; }
  .gf-intro-grid, .gf-quality-grid, .gf-process-grid, .gf-area-grid, .gf-quote-grid, .gf-footer-cta, .gf-section-head, .section-title, .catalog-heading, .service-content, .service-detail, .service-faq { grid-template-columns: 1fr; }
  .gf-intro-figure { aspect-ratio: 16 / 10; }
  .gf-intro-facts { grid-template-columns: 1fr; }
  .gf-intro-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .gf-intro-facts div { padding: 22px 0; }
  .gf-quality-sticky, .gf-process-head, .gf-quote-copy { position: static; }
  .gf-badge { right: 14px; bottom: -40px; width: 120px; height: 120px; }
  .gf-svc-layout { grid-template-columns: 1fr; }
  .gf-svc-stage { display: none; }
  .gf-svc-row { grid-template-columns: 1fr 46px; gap: 12px 14px; padding: 22px 0; background: none !important; }
  .gf-svc-row::before { display: none; }
  .gf-svc-n { grid-column: 1; grid-row: 1; color: var(--accent); }
  .gf-svc-body { grid-column: 1; grid-row: 2; }
  .gf-svc-t { color: var(--text); transform: none !important; }
  .gf-svc-d { max-height: none; opacity: 1; }
  .gf-svc-go { grid-column: 2; grid-row: 1 / 3; width: 46px; height: 46px; }
  .gf-svc-img { display: block; grid-column: 1 / -1; grid-row: 3; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
  .gf-work-head { flex-direction: column; align-items: flex-start; }
  .gf-work-meta { justify-items: start; }
  .gf-work-card { width: 78vw; }
  .gf-work-card.is-tall { width: 62vw; }
  .gf-work-more { width: 70vw !important; }
  .gf-steps { padding-left: 40px; }
  .gf-steps-line { left: 10px; }
  .gf-step-item { grid-template-columns: 1fr; gap: 10px; }
  .gf-step-item::before { left: -35px; }
  .gf-footer-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 50px; }
  .gf-fab-call { display: none; }
  .gf-fab { bottom: 84px; right: 14px; }
  .gf-fab-top { width: 46px; height: 46px; }
  .gf-dock { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 140; transform: translateY(150%); transition: transform .6s var(--ease); }
  .gf-dock.on { transform: none; }
  .gf-dock a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
  .gf-dock a, .gf-dock button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
  .gf-dock-call, .gf-dock-cb { padding: 0 18px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); }
  .gf-dock-call svg, .gf-dock-cb svg { width: 18px; height: 18px; fill: var(--accent); }
  .gf-dock-cb span, .gf-dock-call span { display: none; }
  .gf-dock-quote { background: var(--accent); color: var(--accent-ink); }
  .gf-dock-quote i { font-style: normal; }
  body { padding-bottom: 0; }
  .gf-footer { padding-bottom: 90px; }
  .service-detail-image { min-height: 380px; }
  .related-grid { grid-template-columns: 1fr; }
  .service-catalog-grid { grid-template-columns: 1fr; }
  .service-jump { position: relative; top: 0; }
  .filter-bar { top: 64px; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filter-bar button { flex: none; }
  .lightbox { padding: 70px 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; transform: none; }
  .lightbox-caption { bottom: 90px; font-size: 18px; }
}
@media (max-width: 600px) {
  .gf-tiles { grid-template-columns: 1fr 1fr; }
  .gf-tile-wide { grid-column: span 2; }
  .gf-tile > span { min-height: 100px; }
  .gf-fields { grid-template-columns: 1fr; }
  .gf-span-2 { grid-column: auto; }
  .gf-wizard-nav .gf-btn { padding: 0 18px; }
  .gf-wizard-steps { font-size: 9px; letter-spacing: .12em; }
  .gf-hero-stats { gap: 18px; }
  .gf-hero-stats span { font-size: 9px; letter-spacing: .14em; }
  .gf-hero-actions .gf-btn { flex: 1 1 100%; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article, .timeline article + article { padding: 26px 0 0; border-left: 0; }
  .service-feature-grid { grid-template-columns: 1fr; }
  .gf-quote-contacts a { min-width: 0; flex: 1 1 100%; }
  .gf-brand-text b { font-size: 17px; }
  .gf-mark { width: 36px; height: 36px; }
  .gf-header-actions { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal], html.js .reveal, html.js [data-split] .line-inner, html.js [data-img-reveal], html.js [data-img-reveal] img { opacity: 1; transform: none; clip-path: none; }
  .gf-grain { display: none; }
}
