/* Amplified Technology Services
   Hero: the 3D house → theater behind the headline and quote screens only.
   Everything after: solid black with grey and royal-blue accents. */
:root {
  --black: #030405;
  --ink-1: #08090b;
  --ink-2: #0e1013;
  --charcoal: #1a1d22;     /* section backgrounds */
  --charcoal-2: #23272e;   /* cards on charcoal */
  --charcoal-3: #2c3139;   /* card hover / borders */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --grey-5: #5b626c;
  --grey-4: #868e98;
  --grey-3: #a9b0b9;
  --grey-1: #e3e6ea;
  --white: #f5f7f9;
  --blue: #1d63e0;
  --blue-hi: #3a7bff;
  --blue-glow: rgba(29, 99, 224, 0.55);

  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --wrap: 1440px;
  --header-h: 76px;
  --bar: clamp(16px, 3.5vh, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--grey-3); font: 400 17px/1.6 var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--white); font-weight: 700; line-height: 0.95; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 400; background: var(--white); color: var(--black); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Type ---------- */
.mega, .headline h1 { font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.035em; text-wrap: balance; }
.mega { font-size: clamp(40px, 6.6vw, 116px); }
/* Outlined words that fill with blue light when their block comes into view */
.o {
  color: transparent; -webkit-text-stroke: 1.5px rgba(245, 247, 249, 0.9);
  background: linear-gradient(90deg, var(--blue-hi), var(--blue) 60%, #6ea0ff);
  -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size 1.6s var(--ease-in-out) .25s, -webkit-text-stroke-color 1.2s .25s, filter 1.2s .25s;
}
.in .o, .lit .o, .loaded .fill-on-load { background-size: 100% 100%; -webkit-text-stroke-color: transparent; filter: drop-shadow(0 0 24px rgba(29, 99, 224, 0.45)); }
.scene-tag { display: flex; align-items: center; gap: 10px; color: var(--grey-4); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px var(--blue); flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 2px;
  font: 700 11.5px/1 var(--display); font-stretch: 120%; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; transition: border-color .3s, box-shadow .4s var(--ease), transform .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::before { transform: translateX(120%); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { box-shadow: 0 0 40px 2px var(--blue-glow); }
.btn-ghost { color: var(--white); border-color: var(--line-2); background: rgba(3,4,5,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--blue-hi); box-shadow: inset 0 0 24px rgba(29,99,224,.35); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 10.5px; }
.btn-lg { min-height: 58px; padding: 0 34px; }
.btn:active { transform: scale(0.98); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 500; background: #000; display: grid; place-content: center; justify-items: center; gap: 20px;
  clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-in-out), visibility 0s 1.1s; }
/* Logo images are on black; screen blending makes the black disappear on any dark background */
.loader-mark { width: 84px; opacity: 0; animation: titleIn 1.1s var(--ease) .1s forwards; }
.loader-title { color: var(--white); font-weight: 800; font-stretch: 125%; font-size: clamp(18px, 2.6vw, 32px); letter-spacing: .3em; text-transform: uppercase; text-align: center; line-height: 1.5; opacity: 0; animation: titleIn 1.3s var(--ease) .3s forwards; }
.loader-title span { display: block; font-size: .5em; letter-spacing: .45em; color: transparent; -webkit-text-stroke: 1px var(--grey-3); }
.loader-title { color: var(--white); font-weight: 800; font-stretch: 125%; font-size: clamp(18px, 2.6vw, 32px); letter-spacing: .32em; text-transform: uppercase; text-align: center; opacity: 0; animation: titleIn 1.3s var(--ease) .3s forwards; }
.loader-title span { color: transparent; -webkit-text-stroke: 1px var(--grey-3); }
.loader-bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--blue-hi); box-shadow: 0 0 10px var(--blue); animation: load 1.3s var(--ease) infinite; }
.loaded .loader { clip-path: inset(50% 0 50% 0); visibility: hidden; }
@keyframes titleIn { from { opacity: 0; filter: blur(8px); transform: scale(1.06); } to { opacity: 1; filter: none; transform: none; } }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes breathe { 50% { opacity: .5; } }

.film-grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .8s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, -2%); } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; gap: 36px; padding: 0 var(--gutter);
  transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(26,29,34,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 46px; height: auto; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; color: var(--white); font-weight: 800; font-stretch: 125%; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; line-height: 1.1; }
.brand-name small { font: 500 8.5px/1.6 var(--mono); letter-spacing: .3em; color: var(--grey-4); }
.nav { display: flex; gap: 34px; }
.nav a { position: relative; font: 600 11px/1 var(--display); font-stretch: 115%; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-3); padding: 8px 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--white); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--blue-hi); box-shadow: 0 0 8px var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a.active::after, .nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: rgba(3,4,5,.4); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn i { width: 18px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 auto; z-index: 99; background: rgba(26,29,34,.98); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); display: grid; padding: 8px var(--gutter) 28px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--white); font-size: 28px; font-weight: 800; font-stretch: 125%; letter-spacing: .04em; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 22px; }

/* ---------- HERO ZONE ---------- */
/* The 3D canvas sticks behind the two hero screens, then scrolls away with them */
.hero-zone { position: relative; }
.hero-bg { position: sticky; top: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh; overflow: hidden; background: var(--black); z-index: 0; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.fallback { position: absolute; inset: 0; display: none; background: radial-gradient(60% 50% at 70% 60%, rgba(29,99,224,.3), transparent 70%), var(--ink-1); }
.no-webgl .fallback { display: block; }
.no-webgl #gl { display: none; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,4,5,.82) 0%, rgba(3,4,5,.4) 36%, rgba(3,4,5,0) 60%), linear-gradient(0deg, rgba(3,4,5,.7) 0%, rgba(3,4,5,0) 26%), linear-gradient(180deg, rgba(3,4,5,.5) 0%, rgba(3,4,5,0) 16%); }
.letterbox i { position: absolute; left: 0; right: 0; height: var(--bar); background: #000; pointer-events: none; }
.letterbox i:first-child { top: 0; }
.letterbox i:last-child { bottom: 0; box-shadow: 0 -1px 0 rgba(58,123,255,.14); }

.hero-page { position: relative; z-index: 1; min-height: 100vh; min-height: 100lvh; display: flex; align-items: center; padding: calc(var(--header-h) + 30px) 0 calc(var(--bar) + 50px); }
.hero-page > .wrap { width: 100%; }
.headline .scene-tag { margin-bottom: 24px; }
/* Headline sits in the lower part of the screen so the rooftop sign above stays clear */
.headline { align-items: flex-end; padding-bottom: calc(var(--bar) + 70px); }
.headline h1 { font-size: clamp(40px, 5.6vw, 104px); line-height: .9; margin-bottom: 24px; max-width: 12em; }
.headline h1 .line { display: block; }
.headline .lede { font-size: clamp(17px, 1.4vw, 21px); color: var(--grey-1); max-width: 30em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; font-size: 10px; color: var(--grey-3); }
.tags li { padding: 7px 12px; border: 1px solid var(--line-2); background: rgba(3,4,5,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(var(--bar) + 16px); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--grey-4); font-size: 10px; }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--blue-hi), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Quote screen (over the media room): form first, "what happens next" beside it */
.quote-grid { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.quote-card { position: relative; display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--charcoal-3);
  background: linear-gradient(180deg, rgba(35,39,46,.9), rgba(26,29,34,.95)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.quote-card::before { content: ""; position: absolute; left: 0; top: -1px; width: 38%; height: 1px; background: var(--blue-hi); box-shadow: 0 0 12px var(--blue); }
.quote-card .btn { width: 100%; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Floating-label fields: the label sits inside the box and slides up when you type */
.fl { position: relative; }
.fl input, .fl select, .fl textarea { width: 100%; padding: 22px 14px 10px; background: rgba(3,4,5,.5); border: 1px solid var(--line-2); color: #fff; font: 400 16px/1.3 var(--display); border-radius: 0; appearance: none; transition: border-color .2s, box-shadow .2s; }
.fl textarea { min-height: 92px; resize: vertical; }
.fl label { position: absolute; left: 14px; top: 16px; color: var(--grey-4); font: 500 14px/1 var(--display); pointer-events: none; transition: all .2s var(--ease); }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(29,99,224,.2); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label, .fl select + label { top: 7px; font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); }
.fl select { background-image: linear-gradient(45deg, transparent 50%, var(--grey-4) 50%), linear-gradient(135deg, var(--grey-4) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.fl select option { background: var(--ink-2); }
.fl [aria-invalid="true"] { border-color: #e0574f; }
.form-error { color: #ff8a80; font-size: 14px; }
.fine { color: var(--grey-5); font-size: 10px; text-align: center; }

.next-steps .mega { font-size: clamp(32px, 4.2vw, 66px); line-height: .95; text-shadow: 0 4px 30px rgba(0,0,0,.8); }
.scards { display: grid; gap: 12px; margin: 30px 0; }
.scard { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--charcoal-3); background: rgba(35,39,46,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, transform .3s var(--ease); }
.scard:hover { border-color: rgba(58,123,255,.5); transform: translateX(6px); }
.scard svg { width: 34px; height: 34px; fill: none; stroke: var(--blue-hi); stroke-width: 1.4; }
.scard b { display: block; color: #fff; font-weight: 700; font-stretch: 115%; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.scard p { color: var(--grey-4); font-size: 14px; }
.scard em { font-style: normal; color: var(--grey-5); }
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.reach a { display: grid; gap: 6px; justify-items: center; padding: 16px 8px; border: 1px solid var(--line-2); background: rgba(3,4,5,.45); color: #fff; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s, box-shadow .2s; }
.reach a small { color: var(--grey-4); font: 400 10px/1 var(--mono); letter-spacing: .06em; text-transform: none; }
.reach a:hover { border-color: var(--blue-hi); box-shadow: inset 0 0 20px rgba(29,99,224,.3); }

/* ---------- Content sections (solid black) ---------- */
.section { position: relative; padding: clamp(72px, 8vw, 120px) 0; border-top: 1px solid var(--line); background: var(--black); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .scene-tag { margin-bottom: 22px; }

/* Recent work */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.work { background: var(--charcoal); }
.work-card { grid-column: span 6; display: flex; flex-direction: column; border: 1px solid var(--charcoal-3); background: var(--charcoal-2); overflow: hidden; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.work-card:hover { border-color: rgba(58,123,255,.5); transform: translateY(-4px); box-shadow: 0 20px 60px -30px rgba(29,99,224,.6); }
.work-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,4,5,.6), transparent 50%); pointer-events: none; }
.work-media.empty img { display: none; }
.work-media.empty { background: radial-gradient(60% 70% at 70% 30%, rgba(29,99,224,.32), transparent 70%), radial-gradient(40% 40% at 20% 90%, rgba(255,255,255,.04), transparent 70%), linear-gradient(135deg, #2a2f36, #15181c); }
.work-media.empty::before { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%; opacity: .75; background: center / contain no-repeat var(--icon); filter: drop-shadow(0 0 12px rgba(29,99,224,.9)); }
.work-media[data-icon="theater"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233a7bff' stroke-width='1.2'%3E%3Crect x='4' y='8' width='32' height='14' rx='1'/%3E%3Cpath d='M8 30h6M17 30h6M26 30h6M8 34h24'/%3E%3C/svg%3E"); }
.work-media[data-icon="audio"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233a7bff' stroke-width='1.2'%3E%3Ccircle cx='20' cy='20' r='4'/%3E%3Cpath d='M12 12a11 11 0 0 0 0 16M28 12a11 11 0 0 1 0 16M7 7a18 18 0 0 0 0 26M33 7a18 18 0 0 1 0 26'/%3E%3C/svg%3E"); }
.work-media[data-icon="conference"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233a7bff' stroke-width='1.2'%3E%3Crect x='8' y='6' width='24' height='14' rx='1'/%3E%3Crect x='6' y='25' width='28' height='6' rx='3'/%3E%3Cpath d='M12 35h4M24 35h4'/%3E%3C/svg%3E"); }
.work-media[data-icon="smart"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233a7bff' stroke-width='1.2'%3E%3Crect x='11' y='5' width='18' height='30' rx='3'/%3E%3Ccircle cx='20' cy='16' r='4'/%3E%3Cpath d='M15 26h10M15 30h10'/%3E%3C/svg%3E"); }
.work-media[data-icon="signage"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233a7bff' stroke-width='1.2'%3E%3Crect x='5' y='7' width='13' height='10'/%3E%3Crect x='22' y='7' width='13' height='10'/%3E%3Crect x='5' y='21' width='13' height='10'/%3E%3Crect x='22' y='21' width='13' height='10'/%3E%3C/svg%3E"); }
.work-media[data-icon="backyard"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233a7bff' stroke-width='1.2'%3E%3Crect x='13' y='6' width='14' height='22' rx='2'/%3E%3Ccircle cx='20' cy='13' r='3'/%3E%3Ccircle cx='20' cy='21' r='4'/%3E%3Cpath d='M20 28v6M14 34h12M4 22c3-1 5-1 6 0M30 22c1-1 3-1 6 0'/%3E%3C/svg%3E"); }
.work-media[data-icon="golf"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233a7bff' stroke-width='1.2'%3E%3Cpath d='M15 32V6l12 5-12 5'/%3E%3Cellipse cx='17' cy='32' rx='11' ry='3'/%3E%3Ccircle cx='28' cy='27' r='1.6'/%3E%3C/svg%3E"); }
.work-info { padding: 22px 24px 26px; }
.work-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--grey-5); font-size: 10px; margin-bottom: 12px; }
.work-meta span { color: var(--blue-hi); }
.work-info h3 { font-size: 20px; font-stretch: 120%; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; margin-bottom: 10px; }
.work-info h3 { font-size: clamp(22px, 2vw, 30px); }
.work-info p:not(.work-meta) { font-size: 15px; line-height: 1.55; color: var(--grey-4); }

/* Reviews: slow lateral drift */
.reviews { background: radial-gradient(50% 50% at 50% 100%, rgba(29,99,224,.12), transparent 70%), var(--black); overflow: hidden; }
.review-rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.review-track { display: flex; gap: 22px; width: max-content; padding: 6px 0 10px; animation: drift var(--drift, 90s) linear infinite; }
.review-rail:hover .review-track, .review-rail:focus-within .review-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.review-card { flex: 0 0 auto; width: min(440px, 82vw); margin: 0; padding: 32px 30px 28px; border: 1px solid var(--charcoal-3); background: var(--charcoal); display: flex; flex-direction: column; transition: border-color .4s, box-shadow .4s; }
.review-card:hover { border-color: rgba(58,123,255,.5); box-shadow: 0 0 40px -10px rgba(29,99,224,.45); }
.stars { display: flex; gap: 5px; margin-bottom: 22px; }
.stars i { width: 16px; height: 16px; background: var(--blue-hi); filter: drop-shadow(0 0 6px rgba(29,99,224,.8)); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.review-card blockquote { margin: 0 0 26px; font-size: 18px; line-height: 1.55; color: var(--grey-1); flex: 1; }
.review-card figcaption { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-card figcaption b { color: var(--white); font-weight: 700; font-stretch: 120%; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.review-card figcaption span { color: var(--grey-5); font-size: 10px; }

/* ---------- Footer: map + areas ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); background: var(--charcoal); padding: clamp(70px, 8vw, 110px) 0 0; }
.areas-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: stretch; padding-bottom: clamp(56px, 6vw, 90px); }
.areas-info .scene-tag { margin-bottom: 22px; }
.areas-info .mega { font-size: clamp(38px, 5.4vw, 96px); margin-bottom: 8px; }
.areas-info > p { font-size: 17px; max-width: 30em; }
.cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 36px; border-top: 1px solid var(--line); }
.cities li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--grey-1); font-weight: 600; font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.cities li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 8px var(--blue); flex-shrink: 0; }
.map-frame { position: relative; min-height: 460px; border: 1px solid var(--charcoal-3); overflow: hidden; background: var(--charcoal-2); }
.map-frame::before { content: ""; position: absolute; left: 0; top: -1px; z-index: 3; width: 38%; height: 1px; background: var(--blue-hi); box-shadow: 0 0 12px var(--blue); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.85); }
.map-tint { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 40% at 50% 50%, rgba(29,99,224,.22), transparent 70%), rgba(9,25,60,.28); mix-blend-mode: screen; }
.map-pin { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.map-pin i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 0 5px rgba(29,99,224,.3), 0 0 28px 6px var(--blue); }
.map-pin i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--blue-hi); animation: ping 2.2s var(--ease) infinite; }
.map-pin span { position: absolute; left: 22px; top: -12px; white-space: nowrap; padding: 6px 10px; background: rgba(3,4,5,.8); border-left: 1px solid var(--blue-hi); color: var(--white); font-size: 10px; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 14px; align-self: start; }
.footer-brand .brand-mark { width: 64px; }
.footer-brand .brand-name { font-size: 20px; }
.footer-brand .brand-name small { font-size: 10px; }
.foot-h { color: var(--blue-hi); margin-bottom: 16px; }
.site-footer ul:not(.cities) { display: grid; gap: 10px; font-size: 15px; }
.site-footer ul a:hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--grey-4); font-size: 10px; }
.footer-base a:hover { color: var(--white); }

/* ---------- Chat assistant ---------- */
.chat { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 120; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px; }
.chat-launch { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 1px solid rgba(58,123,255,.5); border-radius: 999px; cursor: pointer;
  background: rgba(26,29,34,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--grey-1); font: 500 13px/1.2 var(--display);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 24px rgba(29,99,224,.35); transition: transform .3s var(--ease), box-shadow .3s; }
.chat-launch:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(0,0,0,.55), 0 0 34px rgba(29,99,224,.55); }
.chat-launch b { color: #fff; font-weight: 700; }
.chat-launch-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px var(--blue-glow); }
.chat-launch-icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--blue-hi); animation: ping 2.6s var(--ease) infinite; }
.chat-launch-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.chat.open .chat-launch-icon::after { animation: none; opacity: 0; }

.chat-panel { width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100vh - 150px)); display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--charcoal-3); background: rgba(20,22,26,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(58,123,255,.08); transform-origin: bottom right;
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .25s, transform .3s var(--ease); }
.chat-panel[hidden] { display: none; }
.chat.open .chat-panel { opacity: 1; transform: none; }
.chat-panel::before { content: ""; position: absolute; left: 0; top: 0; width: 38%; height: 1px; background: var(--blue-hi); box-shadow: 0 0 12px var(--blue); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: var(--charcoal); }
.chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--charcoal-3); background: var(--black); }
.chat-avatar svg { width: 30px; }
.chat-head div { flex: 1; display: grid; gap: 2px; }
.chat-head b { color: #fff; font: 700 13px/1.2 var(--display); font-stretch: 115%; letter-spacing: .1em; text-transform: uppercase; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: var(--grey-4); font-size: 12px; }
.chat-head small i { width: 7px; height: 7px; border-radius: 50%; background: #3ad07a; box-shadow: 0 0 8px #3ad07a; }
.chat-close { width: 34px; height: 34px; border: 1px solid var(--line-2); background: transparent; color: var(--grey-3); font-size: 20px; line-height: 1; cursor: pointer; }
.chat-close:hover { color: #fff; border-color: var(--blue-hi); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 14px; font-size: 14.5px; line-height: 1.5; animation: msgIn .3s var(--ease); }
.msg.bot { align-self: flex-start; background: var(--charcoal-2); color: var(--grey-1); border: 1px solid var(--charcoal-3); border-radius: 2px 14px 14px 14px; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 14px 2px 14px 14px; box-shadow: 0 6px 20px -8px var(--blue-glow); }
.msg ul { margin: 8px 0; padding-left: 18px; list-style: disc; }
.msg a:not(.btn) { color: #8fb3ff; text-decoration: underline; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dots { display: inline-flex; gap: 4px; padding: 3px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-4); animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chat-summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0; padding: 10px 12px; border-left: 2px solid var(--blue-hi); background: rgba(3,4,5,.4); font-size: 13.5px; }
.chat-summary span { color: var(--grey-4); font: 500 10px/1.8 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.chat-summary b { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; max-height: 136px; overflow-y: auto; }
.chat-chips:empty { display: none; }
.chat-chips button { padding: 8px 12px; border: 1px solid rgba(58,123,255,.45); border-radius: 999px; background: rgba(29,99,224,.1); color: #dbe6ff; font: 600 12.5px/1.2 var(--display); cursor: pointer; transition: background-color .2s, border-color .2s; }
.chat-chips button:hover { background: rgba(29,99,224,.28); border-color: var(--blue-hi); }
.chat-input { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--charcoal); }
.chat-input input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line-2); background: rgba(3,4,5,.5); color: #fff; font: 400 15px/1.3 var(--display); border-radius: 0; }
.chat-input input:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(29,99,224,.2); }
.chat-input button { width: 46px; border: 0; background: var(--blue); cursor: pointer; display: grid; place-items: center; }
.chat-input button:hover { background: var(--blue-hi); }
.chat-input svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
@media (max-width: 600px) {
  .chat-launch-text { display: none; }
  .chat-launch { padding: 6px; }
  .chat-panel { width: calc(100vw - 20px); height: min(560px, calc(100vh - 130px)); }
}
@media (prefers-reduced-motion: reduce) {
  .chat-launch-icon::after, .dots i { animation: none; }
  .msg { animation: none; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.work-grid .reveal:nth-child(2) { transition-delay: .08s; }
.work-grid .reveal:nth-child(3) { transition-delay: .16s; }
.work-grid .reveal:nth-child(4) { transition-delay: .08s; }
.work-grid .reveal:nth-child(5) { transition-delay: .16s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 620px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; --bar: 0px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: flex; }
  .brand-mark { width: 38px; }
  .brand-name { font-size: 13px; }
  .brand-name small { font-size: 7.5px; letter-spacing: .22em; }
  .letterbox, .scroll-cue { display: none; }
  .hero-scrim { background: linear-gradient(0deg, rgba(3,4,5,.9) 0%, rgba(3,4,5,.55) 45%, rgba(3,4,5,.1) 75%), linear-gradient(180deg, rgba(3,4,5,.6) 0%, rgba(3,4,5,0) 18%); }
  .headline { align-items: flex-end; }
  .areas-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .work-card { grid-column: span 12; }
  .two, .reach { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .cities { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .cities li { font-size: 12.5px; }
  .footer-base { flex-direction: column; }
  .o { -webkit-text-stroke-width: 1px; }
  .headline h1 { font-size: 8.6vw; letter-spacing: .01em; }
  .mega { font-size: clamp(30px, 9vw, 44px); letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film-grain, .scroll-cue i, .loader-bar i, .map-pin i::after { animation: none; }
  .loader-mark, .loader-title { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .review-track { animation: none; }
  .review-rail { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
