/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --bg:     #060709;
  --bg2:    #0d1014;
  --bg3:    #131619;
  --panel:  rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --line:   rgba(255,255,255,.10);
  --line2:  rgba(255,255,255,.06);
  --text:   #f0f2ff;
  --muted:  rgba(240,242,255,.60);
  --faint:  rgba(240,242,255,.35);
  --orange: #F7931E;
  --red:    #ED1C24;
  --mag:    #E91E63;
  --teal:   #2FA7A7;
  --grad:   linear-gradient(90deg, var(--orange), var(--mag), var(--teal));
  --grad135:linear-gradient(135deg, var(--orange), var(--red), var(--mag));
  --max:    1140px;
  --pad:    clamp(1.2rem, 4vw, 2.5rem);
  --nav:    70px;
  --r:      10px;
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─────────────────────────────────────────
   BACKGROUND ATMOSPHERE
───────────────────────────────────────── */
/* Night photo texture — fixed, very dark */
body {
  background-image: url('/assets/images/calgary-night.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(47,167,167,.14), transparent),
    radial-gradient(ellipse 50% 35% at 88% 15%, rgba(247,147,30,.12), transparent),
    radial-gradient(ellipse 55% 40% at 50% 80%, rgba(233,30,99,.09), transparent),
    linear-gradient(180deg, rgba(6,7,9,.96) 0%, rgba(13,16,20,.95) 60%, rgba(4,6,12,.97) 100%);
}
/* Subtle grid */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}

/* ─────────────────────────────────────────
   SCROLL PROGRESS
───────────────────────────────────────── */
#progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 2px;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
#progress span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(247,147,30,.5);
  transition: width .08s linear;
}

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.nav {
  position: fixed; top: 2px; left: 0; right: 0; z-index: 800;
  height: var(--nav);
  background: rgba(6,7,9,.55);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line2);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.nav.scrolled {
  background: rgba(6,7,9,.88);
  border-color: var(--line);
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* Logo — icon + wordmark */
.nav-brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: .95rem;
  letter-spacing: .14em; color: #fff;
  text-transform: uppercase;
}
.nav-brand img {
  height: 32px; width: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(47,167,167,.3));
}
.nav-brand-word {
  background: linear-gradient(90deg, var(--orange), var(--mag), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Pill nav */
.nav-links {
  display: flex; align-items: center; gap: .2rem;
  list-style: none;
  padding: .3rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line2);
  border-radius: 8px;
}
.nav-links a {
  display: block; padding: .48rem .85rem;
  border-radius: 6px;
  font-size: .82rem; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.nav-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: .82rem;
  padding: .6rem 1.15rem; border-radius: 7px;
  background: var(--grad135);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset;
  transition: opacity .15s, transform .15s;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: 1px solid var(--line);
  border-radius: 7px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .22s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none; flex-direction: column;
  position: fixed; top: calc(var(--nav) + 2px); left: var(--pad); right: var(--pad); z-index: 799;
  padding: .8rem;
  background: rgba(8,11,16,.97);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(24px);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: .9rem 1rem; border-radius: 8px;
  font-size: .95rem; color: var(--muted);
  transition: background .15s, color .15s;
}
.nav-drawer a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-drawer .drawer-cta {
  margin-top: .4rem;
  background: var(--grad135);
  color: #fff; text-align: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
}

/* ─────────────────────────────────────────
   SHARED LAYOUT
───────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px,11vw,140px) 0; }
.section-sm { padding: clamp(60px,8vw,100px) 0; }

/* Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad); flex-shrink: 0;
}
h1, h2 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.05em; line-height: 1.0; }
h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.025em; font-size: 1.2rem; }
h1 { font-size: clamp(3rem, 7.5vw, 6.8rem); font-weight: 700; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); font-weight: 700; }
.lead { font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--muted); font-weight: 300; line-height: 1.8; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.orange { color: var(--orange); }
.teal { color: var(--teal); }

/* Buttons */
.btns { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .82rem 1.55rem; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .88rem;
  border: 1px solid transparent;
  transition: opacity .15s, transform .15s, background .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn-primary {
  background: var(--grad135); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 12px 36px rgba(247,147,30,.2);
}
.btn-secondary {
  background: rgba(255,255,255,.06); color: var(--muted);
  border-color: var(--line);
}
.btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; opacity: 1; }

/* Cards — unified, no clip-path fighting */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r);
  position: relative; overflow: hidden;
}
/* Top-right colour accent on every card */
.card::after {
  content: ''; position: absolute;
  top: 0; right: 0; width: 80px; height: 2px;
  background: var(--grad);
  border-radius: 0 var(--r) 0 0;
}
/* Inner glow */
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(47,167,167,.12), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(233,30,99,.10), transparent 40%);
}
.card > * { position: relative; }

/* Tricolour rule line */
.tribar { height: 2px; background: var(--grad); }

/* Section divider */
.divider { height: 1px; background: var(--line2); }

/* ─────────────────────────────────────────
   PAGE / SUB-PAGE ROUTING
───────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─────────────────────────────────────────
   PAGE VEIL
───────────────────────────────────────── */
#pg-veil {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
}
#pg-veil.visible {
  opacity: 1; pointer-events: all;
}

/* ─────────────────────────────────────────
   FADE REVEAL
───────────────────────────────────────── */
.fade { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.fade.in { opacity: 1; transform: none; }
.fd1 { transition-delay: .08s; }
.fd2 { transition-delay: .16s; }
.fd3 { transition-delay: .24s; }
.fd4 { transition-delay: .32s; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav);
}

/* Real Calgary photo — full bleed */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  filter: brightness(.65) saturate(1.15);
}
/* Dark overlay: left readable, right shows photo */
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg,
      rgba(6,7,9,.97) 0%,
      rgba(6,7,9,.88) 30%,
      rgba(6,7,9,.55) 58%,
      rgba(6,7,9,.20) 100%
    ),
    linear-gradient(to bottom,
      transparent 0%,
      transparent 65%,
      rgba(6,7,9,.95) 100%
    );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 8rem var(--pad) 10rem;
  max-width: var(--max); margin: 0 auto; width: 100%;
}
.hero-inner { max-width: 780px; }

.hero-avail {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .76rem; color: var(--faint); margin-bottom: 1.8rem;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,.6);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }

.hero h1 { margin-bottom: 1.6rem; max-width: 780px; }
.hero .lead { max-width: 580px; margin-bottom: 0; }

/* Hero stat cards below CTA */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(16px);
  max-width: 720px;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.hstat {
  padding: 1.4rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.hstat:last-child { border-right: none; }
.hstat:hover { background: rgba(255,255,255,.05); }
.hstat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: #fff;
  margin-bottom: .35rem;
}
.hstat span { display: block; font-size: .78rem; color: var(--faint); line-height: 1.5; }

/* Rotating signal text */
.signal {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 2rem;
  font-size: .73rem; color: var(--faint);
}
.signal-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px rgba(47,167,167,.7);
  animation: pulse 2s infinite;
}
#signalText { color: var(--teal); transition: opacity .18s, transform .18s; }

/* Ticker ribbon */
.ribbon {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: .85rem 0;
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--line2);
  overflow: hidden;
}
.ticker {
  display: flex; gap: 2.8rem; width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker span {
  white-space: nowrap; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: rgba(255,255,255,.35);
}
.ticker b { color: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translateY(14px) rotate(1deg); } }

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line2);
  border: 1px solid var(--line2);
  border-radius: var(--r); overflow: hidden;
  margin-bottom: 1.2rem;
}
.service-card {
  background: var(--bg2);
  padding: 2rem 1.8rem;
  transition: background .2s;
  cursor: pointer;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.service-card:nth-child(1)::after { background: var(--orange); }
.service-card:nth-child(2)::after { background: var(--teal); }
.service-card:nth-child(3)::after { background: var(--mag); }
.service-card:nth-child(4)::after { background: var(--orange); }
.service-card:hover, .service-card.active { background: var(--bg3); }
.service-card:hover::after, .service-card.active::after { transform: scaleX(1); }

.svc-num {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em;
  color: var(--teal); margin-bottom: 2rem;
}
.svc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem; flex-shrink: 0;
}
.service-card:nth-child(1) .svc-icon { background: rgba(247,147,30,.13); color: var(--orange); }
.service-card:nth-child(2) .svc-icon { background: rgba(47,167,167,.13); color: var(--teal); }
.service-card:nth-child(3) .svc-icon { background: rgba(233,30,99,.13); color: var(--mag); }
.service-card:nth-child(4) .svc-icon { background: rgba(247,147,30,.13); color: var(--orange); }
.service-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.service-card p { font-size: .84rem; color: var(--muted); line-height: 1.7; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.chip {
  font-size: .68rem; padding: .3rem .65rem;
  border: 1px solid var(--line); border-radius: 5px;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.03);
}

/* Service lab preview */
.svc-lab {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  background: rgba(255,255,255,.03);
  transition: opacity .2s;
}
.lab-copy { padding: 2rem 2.2rem; border-right: 1px solid var(--line); }
.lab-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; display: block;
}
.lab-copy h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.lab-copy p { font-size: .9rem; color: var(--muted); line-height: 1.75; }
.lab-visual { padding: 2rem 2.2rem; background: rgba(0,0,0,.2); }
.lab-visual-head span {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--faint); display: block; margin-bottom: .3rem;
}
.lab-visual-head b { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; }
.lab-asset {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem;
}
.lab-asset span {
  padding: .35rem .8rem; border-radius: 5px;
  border: 1px solid rgba(47,167,167,.25);
  font-size: .78rem; color: var(--muted);
  background: rgba(47,167,167,.07);
}
.lab-asset span:first-child {
  background: linear-gradient(135deg, rgba(47,167,167,.2), rgba(247,147,30,.1));
  border-color: rgba(47,167,167,.35); color: #fff;
}
.lab-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.lab-tags span {
  font-size: .68rem; padding: .25rem .6rem;
  border: 1px solid var(--line2); border-radius: 4px;
  color: var(--faint);
}

/* ─────────────────────────────────────────
   WORK
───────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.work-card {
  display: block; text-decoration: none;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--bg2);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(0,0,0,.4);
  border-color: rgba(247,147,30,.3);
}
.shot {
  aspect-ratio: 16/10; position: relative;
  background: #0a1220; overflow: hidden;
}
/* Browser chrome bar */
.shot::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 32px; z-index: 2;
  background: rgba(255,255,255,.07);
  border-bottom: 1px solid var(--line2);
}
/* Browser dots */
.shot::after {
  content: ''; position: absolute;
  top: 10px; left: 12px; z-index: 3;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 #febc2e, 28px 0 #28c840;
}
.shot img {
  position: absolute; top: 32px; left: 0; right: 0;
  width: 100%; height: calc(100% - 32px);
  object-fit: cover; object-position: top center;
  transition: transform .6s ease;
}
.work-card:hover .shot img { transform: scale(1.05); }
.work-body { padding: 1.4rem 1.6rem; }
.work-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .4rem;
}
.work-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.work-body p { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.work-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8rem; font-weight: 600; color: var(--orange); margin-top: .75rem;
}

/* ─────────────────────────────────────────
   PROCESS — interactive step selector
───────────────────────────────────────── */
.process-wrap {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.2rem;
  margin-top: 3rem; align-items: stretch;
}
/* Left: clickable tiles */
.process-tiles { display: flex; flex-direction: column; gap: .6rem; }
.process-tile {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line2);
  border-radius: 8px; background: var(--bg2);
  cursor: pointer; text-align: left; width: 100%;
  transition: background .2s, border-color .2s, transform .2s;
}
.process-tile:hover { background: var(--bg3); border-color: var(--line); transform: translateX(4px); }
.process-tile.active {
  background: linear-gradient(135deg, rgba(47,167,167,.14), rgba(247,147,30,.07));
  border-color: rgba(47,167,167,.4);
  box-shadow: inset 3px 0 0 var(--orange);
  transform: translateX(5px);
}
.tile-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700; color: var(--teal);
  line-height: 1; flex-shrink: 0; width: 48px;
}
.tile-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: .98rem; color: #fff; display: block;
}
.tile-sub { font-size: .8rem; color: var(--faint); margin-top: .15rem; display: block; }

/* Right: detail panel */
.process-display {
  padding: 2.4rem 2.6rem;
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 380px;
  transition: opacity .22s;
}
.process-display.updating { opacity: 0; }
.pd-kicker {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal);
  display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem;
}
.pd-kicker::before { content: ''; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.process-display h3 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -.05em; line-height: 1.05;
  margin-bottom: 1rem;
}
.process-display > p { font-size: .95rem; color: var(--muted); line-height: 1.8; max-width: 480px; }
.pd-meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .7rem; margin-top: 2rem; }
.pd-meta-item {
  padding: .9rem 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line2); border-radius: 7px;
}
.pd-meta-item span { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); display: block; margin-bottom: .2rem; }
.pd-meta-item b { font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 700; color: #fff; }
.pd-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.pd-chips span {
  font-size: .7rem; padding: .28rem .65rem;
  border: 1px solid rgba(47,167,167,.25);
  border-radius: 4px; color: var(--muted);
  background: rgba(47,167,167,.07);
}
.pd-progress {
  height: 2px; background: var(--line2); border-radius: 2px;
  margin-top: 1.5rem; overflow: hidden;
}
.pd-progress-fill {
  height: 100%; background: var(--grad);
  border-radius: 2px; transition: width .4s ease;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tcard { padding: 2rem 2rem 1.8rem; position: relative; overflow: hidden; }
.tcard::before {
  content: '\201C';
  position: absolute; top: .5rem; right: 1.4rem;
  font-size: 6rem; line-height: 1;
  color: rgba(255,255,255,.05);
  font-family: 'Space Grotesk', sans-serif;
  pointer-events: none; user-select: none;
}
.tcard-stars { color: var(--orange); font-size: .75rem; letter-spacing: 3px; margin-bottom: 1.1rem; }
.tcard-q { font-size: .92rem; color: rgba(240,242,255,.75); line-height: 1.85; margin-bottom: 1.6rem; font-style: italic; }
.tcard-rule { width: 28px; height: 2px; border-radius: 2px; margin-bottom: 1rem; }
.tcard-name { font-family: 'Space Grotesk', sans-serif; font-size: .9rem; font-weight: 700; color: #fff; }
.tcard-role { font-size: .76rem; color: var(--faint); margin-top: .2rem; }

/* ─────────────────────────────────────────
   FULL-BLEED PHOTO BAND
───────────────────────────────────────── */
.img-band {
  position: relative; overflow: hidden;
  height: clamp(280px, 38vw, 460px);
  display: flex; align-items: center; justify-content: center;
}
.img-band-photo {
  position: absolute; inset: 0;
  width: 100%; height: 120%; top: -10%;
  object-fit: cover; object-position: center 35%;
  transition: transform .1s linear;
}
.img-band::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(6,7,9,.88) 0%,
    rgba(6,7,9,.56) 45%,
    rgba(6,7,9,.84) 100%);
}
.img-band-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 var(--pad); max-width: 680px;
}
.img-band-content h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.12; }
.img-band-content p  { font-size: 1rem; color: var(--muted); max-width: 440px; margin: 1.1rem auto 0; line-height: 1.75; }

/* ─────────────────────────────────────────
   WHY EVEREX BAND
───────────────────────────────────────── */
.why-band {
  padding: clamp(70px,10vw,120px) 0;
  position: relative; overflow: hidden;
}
.why-band::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: rgba(255,255,255,.025);
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
}
.why-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.45fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.why-heading h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.15; }
.why-heading p  { font-size: .95rem; color: var(--muted); margin-top: 1rem; max-width: 300px; line-height: 1.8; }
.why-heading .btn { margin-top: 2rem; }
.why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why-item {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  transition: background .2s, border-color .2s;
}
.why-item:hover { background: rgba(255,255,255,.06); border-color: var(--line); }
.why-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.why-item:nth-child(1) .why-icon { background: rgba(247,147,30,.12); color: var(--orange); }
.why-item:nth-child(2) .why-icon { background: rgba(47,167,167,.12); color: var(--teal); }
.why-item:nth-child(3) .why-icon { background: rgba(233,30,99,.12); color: var(--mag); }
.why-item:nth-child(4) .why-icon { background: rgba(47,167,167,.12); color: var(--teal); }
.why-item h3 { font-size: .9rem; font-weight: 700; margin-bottom: .4rem; }
.why-item p  { font-size: .8rem; color: var(--muted); line-height: 1.65; }

/* ─────────────────────────────────────────
   ABOUT (inline on home)
───────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.about-card { padding: clamp(1.8rem, 3.5vw, 2.8rem); }
.about-logo { height: 48px; width: auto; margin-bottom: 1.8rem; object-fit: contain; }
.values { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.8rem; }
.value {
  padding: 1rem 1.2rem;
  border: 1px solid var(--line2);
  border-radius: 8px; background: rgba(255,255,255,.03);
  transition: background .2s;
}
.value:hover { background: rgba(255,255,255,.055); }
.value h3 { font-size: .95rem; margin-bottom: .25rem; }
.value p { font-size: .84rem; color: var(--muted); }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem; align-items: start; }
.contact-info { padding: clamp(1.6rem, 3vw, 2.4rem); }
.contact-info h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.contact-info > p { font-size: .92rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.8rem; }
.contact-list { display: flex; flex-direction: column; gap: 0; }
.contact-list > * {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line2);
  font-size: .88rem;
}
.contact-list span { color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-list b { color: #fff; font-weight: 500; }
.contact-list a { transition: color .15s; }
.contact-list a:hover b { color: var(--orange); }

/* Form */
.contact-form { padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px; padding: .75rem 1rem;
  font-size: .9rem; font-family: inherit;
  color: #fff; outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
  width: 100%;
}
.form-group select option { background: #111; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(247,147,30,.65);
  box-shadow: 0 0 0 1px rgba(247,147,30,.25), 0 0 28px rgba(247,147,30,.07);
  background: rgba(255,255,255,.07);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(47,167,167,.15);
  background: rgba(0,0,0,.25);
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line2);
  margin-bottom: 2rem;
}
.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-logo img { height: 28px; width: 28px; object-fit: contain; }
.footer-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: .88rem; letter-spacing: .14em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-brand p { font-size: .84rem; color: var(--faint); line-height: 1.75; max-width: 240px; margin-bottom: 1.2rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.footer-badges span {
  font-size: .68rem; padding: .28rem .65rem;
  border: 1px solid var(--line2); border-radius: 4px; color: var(--faint);
}
.footer-col h4 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.3); margin-bottom: 1rem; }
.footer-col a {
  display: block; font-size: .85rem; color: var(--muted);
  padding: .35rem 0; transition: color .15s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; color: var(--faint); flex-wrap: wrap; gap: 1rem;
}

/* ─────────────────────────────────────────
   SUB-PAGES (About, Privacy, Terms)
───────────────────────────────────────── */
.sub-hero {
  padding: calc(var(--nav) + 60px) var(--pad) 60px;
  max-width: var(--max); margin: 0 auto;
  border-bottom: 1px solid var(--line2);
}
.sub-hero .eyebrow { margin-bottom: 1rem; }
.sub-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 700px; }
.sub-hero p { font-size: 1.05rem; color: var(--muted); font-weight: 300; line-height: 1.8; max-width: 540px; margin-top: 1.2rem; }

/* About sub-page */
.about-full-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem;
}
.about-photo-wrap {
  aspect-ratio: 4/5; border-radius: var(--r);
  overflow: hidden; position: relative;
  background: var(--bg3); border: 1px solid var(--line2);
}
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .8rem; color: var(--faint); font-size: .82rem;
}
.about-placeholder svg { opacity: .3; }
.about-vals { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2rem; }
.about-val { display: flex; gap: 1rem; align-items: flex-start; }
.about-val-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: rgba(255,255,255,.05); border: 1px solid var(--line2);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.about-val h4 { font-size: .92rem; font-weight: 600; color: #fff; margin-bottom: .25rem; }
.about-val p { font-size: .84rem; color: var(--muted); line-height: 1.7; }

/* Legal pages */
.legal-content {
  max-width: 720px; margin: 0 auto;
  padding: clamp(48px,7vw,80px) var(--pad);
}
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 .8rem; }
.legal-content p { font-size: .93rem; color: var(--muted); line-height: 1.85; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { font-size: .93rem; color: var(--muted); line-height: 1.85; margin-bottom: .4rem; }
.legal-date { font-size: .78rem; color: var(--faint); margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line2); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1000px) {
  .why-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-heading p { max-width: 100%; }
}
@media (max-width: 560px) {
  .why-items { grid-template-columns: 1fr; }
  .img-band { height: clamp(220px, 50vw, 320px); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-lab { grid-template-columns: 1fr; }
  .lab-copy { border-right: none; border-bottom: 1px solid var(--line); }
  .work-grid { grid-template-columns: 1fr; }
  .process-wrap { grid-template-columns: 1fr; }
  .process-display { min-height: auto; }
  .testi-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-full-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo-wrap { aspect-ratio: 3/2; max-width: 500px; }
  .hero-stats { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .hstat:last-child { grid-column: 1 / -1; border-right: none; border-top: 1px solid rgba(255,255,255,.1); }
  .pd-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hstat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hstat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .btns { flex-direction: column; }
  .btns .btn { justify-content: center; }
  .pd-meta { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
