/* ============================================================
   VirtualAIHomes.com — architectural light
   ============================================================ */

:root {
  --bone: #faf9f6;
  --bone-2: #f2f0ea;
  --bone-3: #e8e5dd;
  --ink: #14161a;
  --ink-2: #3d424b;
  --ink-3: #767c88;
  --line: #ddd9d0;
  --accent: #1c3f5e;
  --accent-2: #2f6d99;
  --white: #ffffff;
  --radius: 4px;
  --nav-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 60px rgba(20, 22, 26, 0.10);
}

/* aliases so pages written against the previous dark theme keep rendering */
:root {
  --bg: var(--bone); --bg-2: var(--bone-2); --bg-3: var(--bone-3);
  --panel: var(--white); --panel-border: var(--line);
  --text: var(--ink); --text-dim: var(--ink-2); --text-faint: var(--ink-3);
  --accent-warm: var(--accent); --gradient: var(--accent);
}
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.hero h1 .grad { font-weight: 600; color: var(--white); }
.eyebrow .live { display: none; }
.sec-head .kicker { display: block; }

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

body {
  background: var(--bone);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: min(1280px, 90vw); margin: 0 auto; }

/* the dark theme's ambient orbs and cursor glow have no place here */
.orb, #glow { display: none !important; }

/* ---------- preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--bone);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader .mark {
  font-size: 13px; font-weight: 500; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--ink-3);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); z-index: 150; transition: width 0.1s linear;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; font-weight: 600; font-size: 16px; letter-spacing: 0.16em; text-transform: uppercase; }
.logo .mark { width: 32px; height: 32px; margin-right: 13px; filter: brightness(0); }
.logo em { font-style: normal; font-weight: 600; color: var(--accent); margin: 0 0.18em; }

.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* hero sits under a transparent nav on white text */
.nav.on-media .logo,
.nav.on-media .nav-links a { color: var(--white); }
.nav.on-media .logo .mark { filter: brightness(0) invert(1); }
.nav.on-media .nav-links a::after { background: var(--white); }
.nav.on-media .hamburger { color: var(--white); }
.nav.scrolled.on-media .logo, .nav.scrolled.on-media .nav-links a { color: var(--ink-2); }
.nav.scrolled.on-media .logo { color: var(--ink); }
.nav.scrolled.on-media .logo .mark { filter: brightness(0); }
.nav.scrolled.on-media .hamburger { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-sm { padding: 11px 22px; font-size: 11.5px; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.hamburger { display: none; background: none; border: none; color: var(--ink); font-size: 24px; }

/* ---------- lede (light typographic opening) ---------- */
.lede { padding: calc(var(--nav-h) + clamp(70px, 12vh, 150px)) 0 clamp(48px, 7vh, 90px); }
.lede h1 {
  font-size: clamp(38px, 6.6vw, 104px); line-height: 1.0;
  letter-spacing: -0.042em; font-weight: 300; margin: 30px 0 52px; max-width: 17ch;
}
.lede h1 b { font-weight: 600; }
.lede-foot {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  border-top: 1px solid var(--line); padding-top: 34px;
}
.lede-foot .lead { font-size: 17px; color: var(--ink-2); max-width: 52ch; font-weight: 300; }
.lede .stagger { opacity: 0; transform: translateY(26px); animation: riseIn 0.9s var(--ease) forwards; }
.lede .stagger:nth-child(1) { animation-delay: 0.08s; }
.lede .stagger:nth-child(2) { animation-delay: 0.18s; }
.lede .stagger:nth-child(3) { animation-delay: 0.3s; }
@media (max-width: 860px) {
  .lede-foot { grid-template-columns: 1fr; align-items: start; gap: 28px; }
}

/* ---------- visualization gallery ---------- */
.viz { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.viz-item { position: relative; background: var(--bone); overflow: hidden; cursor: pointer; }
.viz-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.9s var(--ease); }
.viz-item:hover img { transform: scale(1.04); }
.viz-item .cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 20px 24px 24px;
}
.viz-item .cap h4 { font-size: 16px; font-weight: 500; }
.viz-item .cap span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.viz-item.wide { grid-column: span 2; }
@media (max-width: 760px) {
  .viz { grid-template-columns: 1fr; }
  .viz-item.wide { grid-column: span 1; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); animation: slowZoom 26s ease-in-out infinite alternate;
}
@keyframes slowZoom { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,14,18,0.82) 0%, rgba(12,14,18,0.28) 55%, rgba(12,14,18,0.42) 100%);
}
.hero-inner { position: relative; z-index: 2; width: min(1280px, 90vw); margin: 0 auto; padding: 0 0 clamp(60px, 9vh, 120px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 92px); line-height: 1.02;
  letter-spacing: -0.035em; font-weight: 300;
  margin: 26px 0 26px; max-width: 18ch;
}
.hero h1 b { font-weight: 600; }
.hero p.lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,0.82); max-width: 54ch; margin-bottom: 40px; font-weight: 300; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .stagger { opacity: 0; transform: translateY(28px); animation: riseIn 1s var(--ease) forwards; }
.hero .stagger:nth-child(1) { animation-delay: 0.12s; }
.hero .stagger:nth-child(2) { animation-delay: 0.24s; }
.hero .stagger:nth-child(3) { animation-delay: 0.36s; }
.hero .stagger:nth-child(4) { animation-delay: 0.48s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; bottom: 34px; right: 5vw; z-index: 2;
  color: rgba(255,255,255,0.6); font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.scroll-hint .line { width: 54px; height: 1px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.scroll-hint .line::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  animation: sweep 2.2s ease-in-out infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.sec-head { margin-bottom: 62px; max-width: 62ch; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .kicker {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink-3);
}
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 54px); letter-spacing: -0.032em; line-height: 1.08;
  margin: 18px 0 20px; font-weight: 300;
}
.sec-head h2 b, .sec-head h2 em { font-weight: 600; font-style: normal; }
.sec-head p { color: var(--ink-2); font-weight: 300; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bone-2);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-3); display: flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee-track span::after { content: ""; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- before / after ---------- */
.ba {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16 / 9; box-shadow: var(--shadow); cursor: ew-resize; user-select: none;
  border-radius: var(--radius);
}
.ba video, .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before-img { z-index: 2; clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); filter: saturate(0.5) contrast(0.95); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 1px; background: #fff; z-index: 4; box-shadow: 0 0 16px rgba(0,0,0,0.4); }
.ba .handle::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.ba .handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 13px; font-weight: 600; color: var(--ink); z-index: 1; letter-spacing: 1px;
}
.ba .tag {
  position: absolute; top: 20px; z-index: 5; padding: 7px 14px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(255,255,255,0.94); color: var(--ink); border-radius: var(--radius);
}
.ba .tag.l { left: 20px; }
.ba .tag.r { right: 20px; background: var(--ink); color: var(--white); }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bone); padding: 42px 34px 38px; position: relative;
  transition: background 0.4s var(--ease); overflow: hidden;
}
.card:hover { background: var(--white); }
.card .icon { color: var(--accent); margin-bottom: 26px; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15px; font-weight: 300; }
.card .num {
  position: absolute; top: 26px; right: 28px; font-size: 11px;
  letter-spacing: 0.2em; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.card .more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  color: var(--accent); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.card .more .arr { transition: transform 0.3s var(--ease); }
.card:hover .more .arr { transform: translateX(4px); }

/* service list rows */
.svc-row {
  display: grid; grid-template-columns: 68px 1fr 1.3fr auto; gap: 32px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}
.svc-row:first-child { border-top: 1px solid var(--line); }
.svc-row:hover { padding-left: 14px; }
.svc-row .idx { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc-row h3 { font-size: clamp(19px, 2vw, 26px); font-weight: 400; letter-spacing: -0.02em; }
.svc-row p { color: var(--ink-2); font-size: 14.5px; font-weight: 300; }
.svc-row .go { color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.3s; }
.svc-row:hover .go { color: var(--accent); transform: translateX(6px); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bone); padding: 46px 34px; transition: background 0.4s; }
.step:hover { background: var(--white); }
.step .badge { font-size: 11px; letter-spacing: 0.24em; color: var(--accent); margin-bottom: 24px; }
.step h3 { font-size: 21px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.015em; }
.step p { color: var(--ink-2); font-size: 15px; font-weight: 300; }
.step .connector { display: none; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bone); padding: 46px 24px; text-align: left; }
.stat .val {
  font-size: clamp(36px, 4.4vw, 60px); font-weight: 300; letter-spacing: -0.04em;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1;
}
.stat .lbl { color: var(--ink-3); font-size: 12px; margin-top: 14px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- showcase ---------- */
.showcase { position: relative; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.showcase video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.showcase video::-webkit-media-controls-current-time-display,
.showcase video::-webkit-media-controls-time-remaining-display { display: none; }
.showcase .chip {
  position: absolute; top: 20px; left: 20px; padding: 8px 16px;
  background: rgba(255,255,255,0.94); color: var(--ink); border-radius: var(--radius);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}

/* gallery */
.g-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--bone-3); }
.g-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.g-card:hover img { transform: scale(1.06); }
.g-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: var(--white);
  background: linear-gradient(to top, rgba(12,14,18,0.78) 0%, transparent 58%);
}
.g-card .overlay h4 { font-size: 17px; font-weight: 500; }
.g-card .overlay span { font-size: 12px; letter-spacing: 0.06em; opacity: 0.75; }
.g-card .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.8);
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,0.95); color: var(--ink);
  display: grid; place-items: center; opacity: 0; transition: opacity 0.4s, transform 0.4s var(--ease);
}
.g-card:hover .play { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.tab {
  padding: 15px 26px; border: none; background: transparent; color: var(--ink-3);
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid transparent; margin-bottom: -1px; transition: all 0.3s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; animation: fadeUp 0.55s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tab-panel img { aspect-ratio: 4/3; object-fit: cover; }
.tab-panel h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 18px; }
.tab-panel h3 em { font-style: normal; font-weight: 600; }
.tab-panel p { color: var(--ink-2); margin-bottom: 26px; font-weight: 300; }
.tab-panel ul { list-style: none; display: grid; gap: 13px; margin-bottom: 32px; }
.tab-panel li { display: flex; gap: 14px; color: var(--ink-2); font-size: 15px; font-weight: 300; }
.tab-panel li::before { content: ""; width: 16px; height: 1px; background: var(--accent); margin-top: 13px; flex-shrink: 0; }

/* ---------- industries ---------- */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ind { background: var(--bone); padding: 34px 26px; transition: background 0.4s, color 0.4s; }
.ind:hover { background: var(--ink); color: var(--white); }
.ind .n { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); }
.ind:hover .n { color: rgba(255,255,255,0.6); }
.ind h4 { font-size: 17px; font-weight: 500; margin: 14px 0 8px; }
.ind p { font-size: 13.5px; color: var(--ink-2); font-weight: 300; }
.ind:hover p { color: rgba(255,255,255,0.75); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: 17px; font-weight: 400; text-align: left;
}
.faq-q .chev { transition: transform 0.4s var(--ease); color: var(--accent); font-size: 18px; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a p { padding: 0 0 28px; color: var(--ink-2); font-size: 15.5px; font-weight: 300; max-width: 70ch; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quote { background: var(--bone); padding: 40px 32px; transition: background 0.4s; }
.quote:hover { background: var(--white); }
.quote .stars { color: var(--accent); letter-spacing: 3px; font-size: 12px; margin-bottom: 20px; }
.quote p { font-size: 16px; color: var(--ink); margin-bottom: 26px; font-weight: 300; line-height: 1.65; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.quote .who b { display: block; font-size: 14px; font-weight: 500; }
.quote .who span { color: var(--ink-3); font-size: 12.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 6vw; text-align: center; color: var(--white); border-radius: var(--radius); }
.cta-band .bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .bg img, .cta-band .bg video { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: rgba(12,14,18,0.68); }
.cta-band .inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 52px); letter-spacing: -0.032em; line-height: 1.1; margin-bottom: 20px; font-weight: 300; }
.cta-band h2 b, .cta-band h2 em { font-weight: 600; font-style: normal; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 56ch; margin: 0 auto 36px; font-weight: 300; }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 96px) 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 74px); letter-spacing: -0.038em; line-height: 1.04; margin: 22px 0 22px; font-weight: 300; max-width: 20ch; }
.page-hero h1 em, .page-hero h1 b { font-style: normal; font-weight: 600; }
.page-hero p { color: var(--ink-2); max-width: 62ch; font-size: 17px; font-weight: 300; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; }
.contact-info h3 { font-size: 26px; font-weight: 300; margin-bottom: 16px; letter-spacing: -0.025em; }
.contact-info p { color: var(--ink-2); margin-bottom: 34px; font-weight: 300; }
.c-row { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.c-row:first-of-type { border-top: 1px solid var(--line); }
.c-row .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.c-row .icon svg { width: 20px; height: 20px; }
.c-row b { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 4px; }
.c-row span { color: var(--ink); font-size: 15.5px; }

.form { background: var(--white); border: 1px solid var(--line); padding: 46px; border-radius: var(--radius); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0; border: none; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--ink); font-family: inherit; font-size: 16px;
  border-radius: 0; transition: border-color 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 18px; }
.form-success { display: none; text-align: center; padding: 70px 20px; }
.form-success.show { display: block; animation: fadeUp 0.6s var(--ease); }
.form-success .big { margin-bottom: 22px; color: var(--accent); display: flex; justify-content: center; }

/* ---------- work strip (full bleed, sits above the footer) ---------- */
.work-strip { padding: clamp(56px, 8vw, 96px) 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.work-strip .head {
  width: min(1280px, 90vw); margin: 0 auto clamp(34px, 4vw, 52px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.work-strip .head .kicker { font-size: 11.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }
.work-strip .head h2 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 300; letter-spacing: -0.03em; margin-top: 14px; }
.work-strip .head h2 b { font-weight: 600; }
.work-strip .head a { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 9px; align-items: center; padding-bottom: 6px; }
.work-strip .head a .arr { transition: transform 0.3s var(--ease); }
.work-strip .head a:hover .arr { transform: translateX(5px); }

.strip-track { display: flex; gap: 14px; width: max-content; animation: strip 46s linear infinite; padding-bottom: 4px; }
.work-strip:hover .strip-track { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(-50%); } }
.strip-item { position: relative; width: clamp(230px, 24vw, 340px); flex-shrink: 0; cursor: pointer; overflow: hidden; background: var(--bone-3); }
.strip-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; filter: grayscale(0.15); }
.strip-item:hover img { transform: scale(1.05); filter: grayscale(0); }
.strip-item .lab {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  background: linear-gradient(to top, rgba(12,14,18,0.8), transparent);
  color: #fff; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease);
}
.strip-item:hover .lab { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; overflow-x: auto; width: 100%; }
}

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--white); padding: 84px 0 34px; position: relative; overflow: hidden; }
footer .logo { color: var(--white); }
footer .logo .mark { filter: brightness(0) invert(1); }
footer .logo em { color: #7fb2d6; }
.f-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 58px; position: relative; z-index: 2; }
.f-grid p { color: rgba(255,255,255,0.6); font-size: 14.5px; max-width: 36ch; margin-top: 18px; font-weight: 300; }
.f-grid h4 { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 22px; font-weight: 500; }
.f-grid ul { list-style: none; display: grid; gap: 13px; }
.f-grid ul a { color: rgba(255,255,255,0.78); font-size: 14.5px; font-weight: 300; transition: color 0.25s, padding-left 0.25s; }
.f-grid ul a:hover { color: var(--white); padding-left: 5px; }
.f-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  color: rgba(255,255,255,0.45); font-size: 12.5px; position: relative; z-index: 2;
}
.f-giant { display: none; }

/* ---------- lightbox ---------- */
#lightbox { position: fixed; inset: 0; z-index: 180; background: rgba(250,249,246,0.97); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 4vw; }
#lightbox.open { display: flex; animation: fadeUp 0.35s var(--ease); }
#lightbox video, #lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; box-shadow: var(--shadow); }
#lightbox .close {
  position: absolute; top: 26px; right: 30px; width: 44px; height: 44px;
  background: var(--ink); border: none; color: var(--white); font-size: 17px;
  border-radius: 50%; transition: transform 0.3s;
}
#lightbox .close:hover { transform: rotate(90deg); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid.c4, .inds { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bone); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease);
  }
  .nav-links.open { max-height: 460px; }
  .nav-links a { padding: 18px 5vw; border-top: 1px solid var(--line); color: var(--ink-2) !important; }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin: 18px 5vw 24px; justify-content: center; color: var(--white) !important; }
  .hamburger { display: block; }
  .grid.c3, .quotes, .steps { grid-template-columns: 1fr; }
  .tab-panel.active { grid-template-columns: 1fr; gap: 34px; }
  .svc-row { grid-template-columns: 40px 1fr auto; gap: 18px; }
  .svc-row p { display: none; }
  .form .row2 { grid-template-columns: 1fr; }
  .form { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .grid.c4, .grid.c2, .stats, .inds { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
