/* ===========================================================
   EC Structures — "Precision Glass" Theme (mobile-first)
   Complete stylesheet. Light, layered, glassmorphic.
   Space Grotesk display · Inter body · JetBrains Mono utility.
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:       #f6f8fa;
  --ink:      #0e1b2c;
  --ink-2:    #46556a;
  --line:     rgba(14, 27, 44, 0.10);

  --accent:      #2e7cf6;
  --accent-deep: #1b5fd9;
  --accent-tint: rgba(46, 124, 246, 0.08);

  --glass:        rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);

  --shadow-sm: 0 2px 10px rgba(14, 27, 44, .05);
  --shadow:    0 12px 30px rgba(14, 27, 44, .09);
  --shadow-lg: 0 26px 60px rgba(14, 27, 44, .14);
  --radius:     14px;  /* glass panels */
  --radius-btn: 8px;   /* buttons */
  --container: 1200px;

  --head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Consolas', monospace;

  --header-h: 72px;
  --callbar-h: 64px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;                 /* guard: ambient blobs bleed off-canvas */
  padding-bottom: var(--callbar-h);   /* room for the mobile call bar */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Mono utility face ---------- */
.mono,
.eyebrow,
.contact__label,
.work__item figcaption,
.lightbox__caption,
.form__microcopy {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

.eyebrow {
  display: inline-block;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 12px;
}

.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__title { font-size: clamp(1.9rem, 5.5vw, 3rem); }
.section__lead { margin-top: 14px; color: var(--ink-2); font-size: 1.06rem; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 48px; height: 48px; }

/* ===========================================================
   GLASS SYSTEM
   .glass       — real backdrop blur (max 3 visible per viewport)
   .glass--lite — translucent solid, no blur (used on card grids
                  to stay inside the blur budget)
   =========================================================== */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(14, 27, 44, .08);
  border-radius: var(--radius);
}
.glass--lite {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(255, 255, 255, 0.82);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.92); }
}

/* ---------- Ambient background (hero + contact) ---------- */
.ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.ambient__blob {
  position: absolute;
  width: 44vw;
  min-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .4;
  filter: blur(64px);
}
.ambient__blob--1 {
  top: -12%; right: -8%;
  background: radial-gradient(circle at 35% 35%, rgba(46, 124, 246, .55), transparent 68%);
}
.ambient__blob--2 {
  bottom: -18%; left: -10%;
  background: radial-gradient(circle at 60% 40%, rgba(56, 189, 248, .45), transparent 66%);
}
.ambient__blob--3 {
  top: 30%; left: 34%;
  width: 30vw;
  background: radial-gradient(circle at 50% 50%, rgba(99, 161, 255, .35), transparent 70%);
}

/* ---------- Buttons (44px+ targets) ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(46, 124, 246, .28); }
.btn--accent:hover { background: var(--accent-deep); box-shadow: 0 10px 28px rgba(46, 124, 246, .45); }

.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }

/* Glass-outline pair on the dark CTA band */
.btn--light,
.btn--outline-light {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn--light:hover,
.btn--outline-light:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .7); }
.btn--light {
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 0 32px rgba(46, 124, 246, .35);  /* soft glow */
}
.btn--light:hover { box-shadow: 0 0 44px rgba(46, 124, 246, .55); }

.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1.08rem; }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
}

/* ---------- Header (sticky glass, shrinks on scroll) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0;
  border-left: 0; border-right: 0; border-top: 0;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--glass-border); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.brand__icon { height: 40px; width: auto; transition: height .25s ease; }
.brand__name {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__quote { flex: 0 0 auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-2);
  position: relative;
  padding: 10px 0;
  transition: color .2s;
}
/* Animated underline growing from the left */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  overflow: hidden;
}
/* Faint blueprint grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 27, 44, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 27, 44, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 72px;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero__title-accent { color: var(--accent); }
.hero__lead { font-size: 1.1rem; color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__actions .btn { flex: 1 1 100%; }

.hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; max-width: 480px; }
.hero__trust li { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.hero__trust .icon { color: var(--accent); }

.hero__media { position: relative; max-width: 560px; }
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__caption {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 10px 14px;
  color: var(--ink);
  border-radius: var(--radius-btn);
}
.hero__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero__badge-num { font-family: var(--head); font-size: 1.8rem; font-weight: 700; color: var(--ink); line-height: 1; }
.hero__badge-txt { font-size: .82rem; color: var(--ink-2); line-height: 1.35; }

/* ---------- Trust bar: floating glass cards over the boundary ---------- */
.trustbar { position: relative; z-index: 5; }
.trustbar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2×2 on mobile and tablet */
  gap: 12px;
  margin-top: -34px;
}
.trustbar__card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  padding: 12px 14px;
  color: var(--ink-2);
  font-weight: 600;
}

/* ---------- Marquee band ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  margin-top: 28px;
  padding: 13px 0;
}
.marquee__track { display: flex; width: max-content; }
.marquee__seq { color: var(--ink-2); white-space: nowrap; padding-right: 1ch; }

/* ---------- Trusted-on-site strip (text-based logo strip) ---------- */
.alongside { padding: 44px 0 8px; text-align: center; }
.alongside__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin-top: 16px;
}
.alongside__list li {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: .06em;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- Services (alternating full-width rows) ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, rgba(46, 124, 246, 0.05) 55%, var(--bg) 100%); }

.svc-rows { display: grid; }
.svc-row {
  display: grid;
  grid-template-columns: 1fr;   /* mobile: photo stacks above text */
  gap: 22px;
  align-items: center;
  padding: 36px 0;
}
.svc-row + .svc-row { border-top: 1px solid var(--line); }

.svc-row__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.svc-row__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-row:hover .svc-row__media img { transform: scale(1.03); }

.svc-row__num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--accent);
  opacity: .22;
  margin-bottom: 10px;
  transition: opacity .3s ease;
}
.svc-row:hover .svc-row__num { opacity: 1; }

.svc-row__title { font-size: 2rem; margin-bottom: 10px; }
.svc-row__body > p { color: var(--ink-2); font-size: 1rem; margin-bottom: 16px; max-width: 480px; }

.svc-row__list { display: grid; gap: 8px; margin-bottom: 18px; }
.svc-row__list li {
  position: relative;
  padding-left: 22px;
  font-size: .94rem;
  color: var(--ink-2);
}
.svc-row__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .58em;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--accent-tint);
  border: 2px solid var(--accent);
}

.svc-row__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-family: var(--head);
  font-weight: 600;
  color: var(--accent-deep);
  transition: color .2s;
}
.svc-row__link:hover { color: var(--accent); }

/* ---------- Work / Gallery ---------- */
.work { background: var(--bg); }
.work__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter {
  font-family: var(--head);
  font-weight: 600;
  font-size: .95rem;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s ease;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Mobile: single column */
.work__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.work__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--line);
}
.work__item.is-hidden { display: none; }

.work__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.work__zoom img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .55s ease;
}
.work__item:hover .work__zoom img { transform: scale(1.04); }

/* Glass caption bar (slides up on hover where hover exists) */
.work__item figcaption {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  pointer-events: none;
}
@media (hover: hover) {
  .work__item figcaption {
    transform: translateY(calc(100% + 16px));
    transition: transform .3s ease;
  }
  .work__item:hover figcaption,
  .work__item:focus-within figcaption { transform: none; }
}

/* ---------- About ---------- */
.about { background: #fff; }
.about__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about__media { max-width: 520px; }
.about__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__content .section__title { margin-bottom: 16px; }
.about__content p { color: var(--ink-2); margin-bottom: 16px; font-size: 1.02rem; }
.about__content strong { color: var(--ink); }
.about__areas { margin: 4px 0 24px; }
.about__areas li {
  background: var(--bg);
  color: var(--ink-2);
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  font-size: .96rem;
}

/* ---------- Why choose us (glass cards) ---------- */
.why { background: var(--bg); }
.why__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.why__card {
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.why__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}
.why__card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.why__card p { color: var(--ink-2); font-size: .95rem; }

/* Licensed & Certified panel */
.creds {
  margin-top: 26px;
  padding: 26px 22px;
  text-align: center;
}
.creds__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 14px;
}
.creds__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: var(--ink-2);
}
.creds__note { color: var(--ink-2); font-size: .95rem; }

/* ---------- Reviews (currently commented out in HTML) ---------- */
.reviews { background: #fff; }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.review__stars { color: #e8a20a; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review__text { color: var(--ink-2); margin-bottom: 20px; }
.review__author strong { display: block; color: var(--ink); }
.review__loc { color: var(--ink-2); font-size: .88rem; }

/* ---------- CTA band (the one deep-navy section) ---------- */
.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
/* One large blurred blob centred behind the text.
   Positioned with left/top (not transform) so the drift
   animation's transform doesn't fight the centring. */
.cta__blob {
  position: absolute;
  top: -35%;
  left: calc(50% - 32vw);
  width: 64vw;
  min-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(46, 124, 246, .55), transparent 66%);
  filter: blur(80px);
  opacity: .6;
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; text-align: center; padding: 60px 20px; }
.cta__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: #fff; margin-bottom: 10px; }
.cta__text { font-size: 1.08rem; color: rgba(255, 255, 255, .85); margin-bottom: 26px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--bg); overflow: hidden; }
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.contact__lead { color: var(--ink-2); margin: 12px 0 26px; font-size: 1.02rem; }
.contact__list { display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ico {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  color: var(--accent-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
}
.contact__label { display: block; color: var(--ink-2); }
.contact__list a { font-weight: 600; display: inline-block; padding: 2px 0; }
.contact__list a:hover { color: var(--accent-deep); }

.contact__form-wrap { position: relative; }
.contact__form { padding: 26px 22px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label {
  font-family: var(--head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 124, 246, .18);
}
.field input.invalid,
.field textarea.invalid {
  border-color: #d64545;
  background: #fdf6f6;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, .10);
}
.field__error {
  margin-top: 6px;
  font-size: .86rem;
  font-weight: 500;
  color: #c03535;
}
.form__error {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(214, 69, 69, .35);
  background: #fdf6f6;
  font-size: .86rem;
  font-weight: 500;
  color: #c03535;
}
.form__error a { color: #c03535; font-weight: 700; text-decoration: underline; }

/* Honeypot spam trap — visually removed, bots still fill it */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form__microcopy { margin-top: 12px; text-align: center; color: var(--ink-2); }

.contact__success { padding: 44px 28px; text-align: center; }
.contact__success .icon--lg { color: #1f8a4c; margin: 0 auto 16px; }
.contact__success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.contact__success p { color: var(--ink-2); }
.contact__success a { color: var(--accent-deep); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); color: var(--ink-2); padding-top: 52px; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
.footer .brand { margin-bottom: 12px; }
.footer .brand__icon { height: 44px; }
.footer__brand p { color: var(--ink-2); font-size: .95rem; max-width: 320px; }
.footer__col h4 { text-transform: uppercase; letter-spacing: 1px; font-size: .95rem; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a, .footer__col li { color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.footer__col a { display: inline-block; padding: 3px 0; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--line); padding: 18px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .84rem;
  color: var(--ink-2);
}
.footer__creds {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 10px;
  padding-bottom: 6px;
}
.footer__creds .mono {
  font-size: .72rem;
  color: var(--ink-2);
  opacity: .75;
}

/* ---------- Mobile call bar (glass) ---------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-radius: 0;
  border-left: 0; border-right: 0; border-bottom: 0;
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -6px 20px rgba(14, 27, 44, .08);
}
.callbar__btn {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: var(--radius-btn);
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
}
.callbar__btn--call { background: var(--ink); color: #fff; }
.callbar__btn--quote { background: var(--accent); color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 17, 28, .94);
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(86vh - 48px);
  width: auto;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-lg);
}
.lightbox__caption { color: #fff; text-align: center; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Scroll reveal (stagger delays set inline by JS) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===========================================================
   MOTION SYSTEM — transform/opacity only, gated behind
   prefers-reduced-motion: no-preference
   =========================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* Ambient blob drift */
  .ambient__blob { will-change: transform; animation: blob-drift 22s ease-in-out infinite alternate; }
  .ambient__blob--2 { animation-duration: 25s; animation-delay: -6s; }
  .ambient__blob--3 { animation-duration: 18s; animation-delay: -11s; }
  .cta__blob { will-change: transform; animation: blob-drift 24s ease-in-out infinite alternate; }

  @keyframes blob-drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-4%, 6%) scale(1.12); }
    100% { transform: translate(5%, -4%) scale(0.94); }
  }

  /* Hero staggered load-in: 0.6s each, 0.12s apart */
  .hero .pill,
  .hero__title,
  .hero__lead,
  .hero__actions,
  .hero__trust,
  .hero__media {
    opacity: 0;
    animation: rise-in .6s cubic-bezier(.22, .8, .36, 1) forwards;
  }
  .hero .pill      { animation-delay: 0s; }
  .hero__title     { animation-delay: .12s; }
  .hero__lead      { animation-delay: .24s; }
  .hero__actions   { animation-delay: .36s; animation-name: pop-in; }
  .hero__trust     { animation-delay: .48s; }
  .hero__media     { animation-delay: .3s; animation-name: slide-in; }

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes pop-in {
    from { opacity: 0; transform: scale(.94); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes slide-in {
    from { opacity: 0; transform: translateX(36px); }
    to   { opacity: 1; transform: none; }
  }

  /* Floating years badge (±8px, 6s) */
  .hero__badge { animation: badge-float 6s ease-in-out infinite; }
  @keyframes badge-float {
    0%, 100% { transform: translateY(8px); }
    50%      { transform: translateY(-8px); }
  }

  /* Marquee: duplicated content, seamless -50% loop, pauses on hover */
  .marquee__track { will-change: transform; animation: marquee-scroll 32s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* Primary button sheen sweep (hover only) */
  .btn--accent::after,
  .callbar__btn--quote::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: translateX(-120%) skewX(-18deg);
    pointer-events: none;
  }
  .btn--accent:hover::after,
  .callbar__btn--quote:hover::after { animation: sheen .6s ease; }
  @keyframes sheen {
    to { transform: translateX(320%) skewX(-18deg); }
  }
}

/* Reduced motion: hide ambient layers, kill animation */
@media (prefers-reduced-motion: reduce) {
  .ambient, .cta__blob { display: none; }
  * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================
   Tablet & up
   =========================================================== */
@media (min-width: 560px) {
  .container { padding: 0 24px; }
  .hero__actions .btn { flex: 0 1 auto; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  /* Tablet gallery: 2 equal columns */
  .work__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .work__zoom img { aspect-ratio: 1 / 1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 56px; }

  .brand__icon { height: 48px; }
  .brand__name { font-size: 1.35rem; }
  .header.is-scrolled .brand__icon { height: 42px; }
  :root { --header-h: 84px; }

  .header__quote { display: none; }
  .nav__cta--menu { display: inline-flex; }

  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 96px;
  }
  .hero__img { aspect-ratio: 4 / 5; }
  .hero__badge { top: 24px; left: -18px; }
  .hero__caption { left: 14px; right: 14px; bottom: 14px; }

  .trustbar__grid { margin-top: -42px; gap: 14px; }
  .trustbar__card { min-height: 64px; }
  .marquee { margin-top: 36px; }

  /* Services rows: two columns, photo alternating left/right */
  .svc-row { grid-template-columns: 1fr 1fr; gap: 48px; padding: 44px 0; }
  .svc-row:nth-child(even) .svc-row__media { order: 2; }

  .about__grid { grid-template-columns: 1fr 1.15fr; gap: 56px; }
  .about__img { aspect-ratio: 4 / 5; }
  .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 52px; }
  .contact__form { padding: 34px 30px; }

  .callbar { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .trustbar__grid { grid-template-columns: repeat(4, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .footer__inner { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }

  /* Desktop gallery: varied 6-column mosaic.
     Standard items span 2 columns (3 per row); the 1st and 6th of
     each 6-item group span 3; the 2nd spans 2 rows. Dense flow
     backfills gaps so filtered views stay tight. */
  .work__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 18px;
  }
  .work__item { grid-column: span 2; }
  .work__item:nth-child(6n + 1),
  .work__item:nth-child(6n + 6) { grid-column: span 3; }
  .work__item:nth-child(6n + 2) { grid-row: span 2; }
  .work__zoom img { aspect-ratio: auto; }
}

/* ===========================================================
   Mobile nav drawer (<768px)
   =========================================================== */
@media (max-width: 767px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: rgba(255, 255, 255, .96);
    padding: 96px 28px 40px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s ease, visibility .3s;
    z-index: 110;
    visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__link { font-size: 1.25rem; padding: 10px 0; width: 100%; }
  .nav__cta--menu { margin-top: 14px; width: 100%; }
  .nav-toggle { display: flex; }
}

/* Very narrow screens: icon only in the header so it never wraps
   (footer keeps its brand name — it has room) */
@media (max-width: 399px) {
  .brand__name { display: none; }
  .footer .brand__name { display: inline; }
}
