/* ============================================================
   D&C Groundworks — Design System
   Navy #273E57 · Beige #EDE7DF · Montserrat
   ============================================================ */

:root {
  --navy: #273E57;
  --navy-dark: #1B2C3E;
  --navy-light: #3E5975;
  --beige: #EDE7DF;
  --beige-dark: #D8CFC2;
  --offwhite: #F7F4EF;
  --charcoal: #222831;
  --white: #FFFFFF;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Oswald', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); text-transform: uppercase; letter-spacing: 1px; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); font-weight: 600; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--beige { background: var(--beige); }
.section--offwhite { background: var(--offwhite); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--navy-light);
  margin-bottom: 16px;
}
.section--navy .eyebrow { color: var(--beige-dark); }

.lead { font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 620px; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 16px 34px; border-radius: 2px; cursor: pointer;
  transition: all 0.3s var(--ease); border: 2px solid var(--navy);
  background: var(--navy); color: var(--white);
}
.btn:hover { background: var(--navy-light); border-color: var(--navy-light); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--beige); border-color: var(--beige); }

/* ---------- Top contact bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; padding: 8px 16px; background: var(--navy-dark);
  color: var(--beige-dark); font-size: 0.78rem; letter-spacing: 0.4px; font-weight: 500;
  transition: transform 0.4s var(--ease);
}
.topbar a { color: var(--beige-dark); }
.topbar a:hover { color: var(--white); }
.topbar__sep { opacity: 0.4; }
.topbar.hide { transform: translateY(-100%); }
@media (max-width: 640px) { .topbar { font-size: 0.68rem; gap: 6px; } .topbar__sep { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; transition: all 0.4s var(--ease);
  background: transparent;
}
.nav.scrolled { top: 0; background: var(--navy); box-shadow: 0 4px 30px rgba(0,0,0,0.25); padding: 12px 32px; }
@media (max-width: 640px) { .nav { top: 46px; } }
.nav__logo { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 34px; list-style: none; }
.nav__links a {
  color: var(--white); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--beige); transition: width 0.3s var(--ease);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { padding: 10px 22px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { width: 26px; height: 2px; background: var(--white); transition: 0.3s; }

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(75vw, 320px);
    background: var(--navy-dark); flex-direction: column; justify-content: center;
    padding: 40px; gap: 28px; transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 101; }
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Faded overlay so text is always readable */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,44,62,0.55) 0%, rgba(27,44,62,0.70) 100%);
}
/* Fallback gradient when no video/image is present yet */
.hero__media--placeholder { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.hero__inner { max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 300; margin-bottom: 34px; max-width: 560px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; opacity: 0.8;
}
.hero__scroll::after { content: ''; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: var(--white); animation: scrollpulse 1.8s infinite; }
@keyframes scrollpulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6);} 50% { opacity: 1; transform: scaleY(1);} }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); padding: 34px 28px; border-radius: 3px;
  border: 1px solid var(--beige-dark); transition: all 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(39,62,87,0.14); border-color: var(--navy); }
.card__icon { width: 48px; height: 48px; margin-bottom: 18px; color: var(--navy); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
@media (max-width: 700px){ .stats { grid-template-columns: 1fr 1fr; } }
.stat__num { font-family: var(--font-head); font-size: clamp(2.6rem,5.4vw,4rem); font-weight: 700; color: var(--white); line-height: 1; }
.stat__label { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--beige-dark); margin-top: 8px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   CINEMATIC REVEAL — Projects
   ============================================================ */
.project {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; padding: 100px 0;
}
.project__bg { position: absolute; inset: 0; z-index: -2; }
.project__bg video, .project__bg img { width: 100%; height: 100%; object-fit: cover; }
.project__bg::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(27,44,62,0.85) 0%, rgba(27,44,62,0.45) 100%); }
.project__bg--placeholder { background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-dark) 100%); }
.project__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; width: 100%; }
@media (max-width: 900px){ .project__grid { grid-template-columns: 1fr; } }
.project__title { color: var(--white); margin-bottom: 14px; }
.project__meta { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--beige-dark); margin-bottom: 20px; }
.project__desc { margin-bottom: 28px; max-width: 460px; }

/* before/after slider */
.ba {
  position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4); user-select: none; touch-action: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__label {
  position: absolute; top: 14px; padding: 5px 12px; font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; background: rgba(27,44,62,0.75); color: var(--white); border-radius: 2px;
}
.ba__label--before { left: 14px; }
.ba__label--after { right: 14px; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white);
  transform: translateX(-50%); cursor: ew-resize;
}
.ba__handle::before {
  content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--navy); border-radius: 50%; font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.ba__placeholder { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background: var(--navy-light); color: var(--white); font-size: 0.8rem; letter-spacing:2px; text-transform:uppercase; }

/* project stat chips */
.project__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.pstat__num { font-size: 2.2rem; font-weight: 700; color: var(--white); line-height: 1; }
.pstat__label { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--beige-dark); margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: var(--beige); padding: 70px 0 30px; position: relative; overflow: hidden; }
.footer::after {
  content: ''; position: absolute; right: -60px; bottom: -80px;
  width: 360px; height: 360px; z-index: 0; pointer-events: none;
  background: url('../assets/logo.png') center/contain no-repeat;
  opacity: 0.06; filter: grayscale(1) brightness(2.2);
}
@media (max-width: 700px){ .footer::after { width: 240px; height: 240px; right: -50px; bottom: -60px; } }
.footer .container { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 700px){ .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--white); text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 16px; }
.footer a { color: var(--beige-dark); font-size: 0.9rem; display: block; margin-bottom: 10px; transition: color 0.2s; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 0.8rem; color: var(--beige-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Quote form ---------- */
.form { display: grid; gap: 20px; max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px){ .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--beige-dark); border-radius: 2px;
  font-family: var(--font); font-size: 1rem; background: var(--white); color: var(--charcoal);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field textarea { min-height: 130px; resize: vertical; }

/* ============================================================
   SECTION BACKGROUND BLEND (faded photo/footage behind content)
   ============================================================ */
.bg-blend { position: relative; overflow: hidden; }
.bg-blend > .bg-blend__media { position: absolute; inset: 0; z-index: 0; }
.bg-blend > .bg-blend__media img,
.bg-blend > .bg-blend__media video { width: 100%; height: 100%; object-fit: cover; }
.bg-blend > .bg-blend__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,44,62,0.82), rgba(27,44,62,0.92));
}
.bg-blend > .container { position: relative; z-index: 1; }

/* ============================================================
   BRAND BAND — enlarged faded logo watermark
   ============================================================ */
.brand-band { position: relative; overflow: hidden; text-align: center; }
.brand-band::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: clamp(320px, 52vw, 620px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url('../assets/logo.png') center/contain no-repeat;
  opacity: 0.07; filter: grayscale(1) brightness(2.4);
  z-index: 0; pointer-events: none;
}
.brand-band .container { position: relative; z-index: 1; }
.brand-band .eyebrow { color: var(--beige-dark); }
.brand-band p { color: var(--beige); max-width: 640px; margin: 16px auto 0; }

/* Accreditation strip */
.accred { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; }
.accred__logo { height: clamp(64px, 9vw, 92px); width: auto; object-fit: contain; background: #fff; padding: 14px 22px; border-radius: 10px; box-shadow: 0 10px 30px rgba(27,44,62,0.12); }
.accred__fallback {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--navy); font-size: clamp(1rem, 2vw, 1.25rem);
  padding: 14px 26px; border: 2px solid var(--navy); border-radius: 8px;
}
.accred__text { max-width: 460px; text-align: left; }
.accred__text p { margin: 6px 0 0; color: var(--charcoal); font-size: 0.95rem; }
@media (max-width: 640px){ .accred__text { text-align: center; } }

/* ============================================================
   LIVE PROJECTS — weekly update timeline
   ============================================================ */
.live { padding: clamp(56px, 8vw, 96px) 0; background: var(--offwhite); }

/* Featured ongoing project banner */
.live__feature {
  position: relative; overflow: hidden; border-radius: 6px;
  background: var(--navy); color: var(--white);
  padding: clamp(34px, 5vw, 60px); margin-bottom: clamp(50px, 7vw, 80px);
  box-shadow: 0 30px 70px rgba(27,44,62,0.28);
}
.live__feature .bg-blend__media::after { background: linear-gradient(110deg, rgba(27,44,62,0.92) 20%, rgba(39,62,87,0.62)); }
.live__status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  background: rgba(255,255,255,0.12); color: #fff; padding: 8px 16px; border-radius: 40px; margin-bottom: 20px;
}
.live__status .dot { width: 9px; height: 9px; border-radius: 50%; background: #57d38a; box-shadow: 0 0 0 0 rgba(87,211,138,0.7); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 0%{box-shadow:0 0 0 0 rgba(87,211,138,0.6);} 70%{box-shadow:0 0 0 12px rgba(87,211,138,0);} 100%{box-shadow:0 0 0 0 rgba(87,211,138,0);} }
.live__ptitle { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.8rem); margin-bottom: 12px; }
.live__pmeta { font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase; color: var(--beige-dark); margin-bottom: 18px; }
.live__psummary { max-width: 620px; color: var(--beige); font-weight: 300; }

/* Timeline */
.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; top: 8px; bottom: 8px; left: 27px; width: 2px;
  background: linear-gradient(var(--beige-dark), var(--navy-light)); z-index: 0;
}
.tl-item { position: relative; padding-left: 78px; margin-bottom: clamp(34px, 5vw, 54px); }
.tl-item:last-child { margin-bottom: 0; }
.tl-node {
  position: absolute; left: 6px; top: 4px; width: 44px; height: 44px; z-index: 1;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(27,44,62,0.35); border: 3px solid var(--offwhite);
}
.tl-card {
  background: var(--white); border: 1px solid var(--beige-dark); border-radius: 6px;
  overflow: hidden; transition: all 0.35s var(--ease);
}
.tl-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(39,62,87,0.16); border-color: var(--navy); }
.tl-photo { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--beige-dark); cursor: zoom-in; }
.tl-video { cursor: default; background: #000; display: block; }
.tl-body { padding: 20px 24px 24px; }
.tl-week { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--navy-light); font-weight: 600; }
.tl-cap { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-top: 6px; }
@media (max-width: 560px){ .tl-item { padding-left: 62px; } .tl-node { width: 38px; height: 38px; left: 8px; } .timeline::before { left: 26px; } }

/* Multiple live projects */
.live-project .live__feature { margin-bottom: 30px; }
.live-project + .live-project { margin-top: 56px; padding-top: 52px; border-top: 1px solid var(--beige-dark); }
.wk-empty { max-width: 940px; margin: 0 auto; padding: 26px; text-align: center; border: 1px dashed var(--beige-dark); border-radius: 8px; color: var(--navy-light); font-weight: 600; letter-spacing: 0.5px; }

/* Weekly accordion (Live Projects) */
.wk-accordion { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.wk { background: var(--white); border: 1px solid var(--beige-dark); border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.wk.is-open { box-shadow: 0 18px 40px rgba(39,62,87,0.12); border-color: var(--navy-light); }
.wk__head {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-head);
  transition: background 0.25s var(--ease);
}
.wk__head:hover { background: var(--offwhite); }
.wk__node {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.wk__title { font-size: 1.15rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.wk__meta { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy-light); font-family: var(--font-body); font-weight: 600; }
.wk__chev {
  margin-left: auto; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.wk.is-open .wk__chev { transform: rotate(-135deg); }
.wk__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.wk.is-open .wk__panel { grid-template-rows: 1fr; }
.wk__inner { overflow: hidden; }
.wk__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; padding: 2px 22px 24px; }
@media (max-width: 560px){ .wk__head { padding: 15px 16px; gap: 12px; } .wk__title { font-size: 1rem; } .wk__grid { padding: 2px 16px 20px; } }
@media (prefers-reduced-motion: reduce){ .wk__panel, .wk__chev { transition: none; } }

/* ============================================================
   PROJECTS GALLERY — masonry grid + lightbox
   ============================================================ */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.gfilter {
  font-family: var(--font); font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 10px 22px; border: 1px solid var(--beige-dark);
  background: transparent; color: var(--navy); border-radius: 40px; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.gfilter:hover { border-color: var(--navy-light); }
.gfilter.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.gallery { columns: 4 260px; column-gap: 16px; }
@media (max-width: 900px){ .gallery { columns: 3 200px; } }
@media (max-width: 560px){ .gallery { columns: 2 150px; column-gap: 12px; } }
.gallery figure {
  break-inside: avoid; margin: 0 0 16px; border-radius: 5px; overflow: hidden;
  cursor: zoom-in; background: var(--beige-dark); box-shadow: 0 8px 22px rgba(27,44,62,0.10);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.gallery figure:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,44,62,0.22); }
.gallery img { width: 100%; display: block; transition: transform 0.5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; background: rgba(20,30,42,0.94);
  padding: 30px; opacity: 0; transition: opacity 0.3s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox__btn {
  position: absolute; top: 24px; right: 30px; width: 48px; height: 48px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 1.6rem; border-radius: 50%; line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 2rem; border-radius: 50%;
}
.lightbox__nav:hover, .lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__prev { left: 24px; } .lightbox__next { right: 24px; }
.lightbox__count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--beige-dark); font-size: 0.8rem; letter-spacing: 2px; }

/* ============================================================
   SERVICE ROWS — alternating image / copy
   ============================================================ */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(50px, 8vw, 96px); }
.srow:last-child { margin-bottom: 0; }
.srow:nth-child(even) .srow__media { order: 2; }
@media (max-width: 820px){ .srow { grid-template-columns: 1fr; gap: 24px; } .srow:nth-child(even) .srow__media { order: 0; } }
.srow__media { border-radius: 6px; overflow: hidden; box-shadow: 0 24px 50px rgba(27,44,62,0.18); aspect-ratio: 4/3; background: var(--beige-dark); }
.srow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.srow__media:hover img { transform: scale(1.05); }
.srow__list { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.srow__list li { position: relative; padding-left: 26px; font-size: 0.95rem; }
.srow__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--navy); }

/* Floating "Live Projects" side tab (home page) */
.live-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 11px; background: var(--navy); color: var(--beige);
  border-radius: 10px 0 0 10px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  font-size: 0.82rem; box-shadow: -6px 8px 24px rgba(27,44,62,0.28);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), padding-right 0.3s var(--ease);
}
.live-tab:hover { background: var(--navy-dark); padding-right: 16px; }
.live-tab__text { writing-mode: vertical-rl; transform: rotate(180deg); }
.live-tab__dot {
  width: 10px; height: 10px; border-radius: 50%; background: #57d38a; flex: none;
  box-shadow: 0 0 0 0 rgba(87,211,138,0.7); animation: livepulse 1.8s infinite;
}
@media (max-width: 640px){
  .live-tab { top: auto; bottom: 18px; right: 14px; transform: none; flex-direction: row; gap: 8px;
    padding: 10px 16px; border-radius: 999px; font-size: 0.72rem; }
  .live-tab__text { writing-mode: horizontal-tb; transform: none; }
}
@media (prefers-reduced-motion: reduce){ .live-tab__dot { animation: none; } }
