:root {
  --bg: #0a0a0a;
  --fg: #f5f5f0;
  --muted: #9a9a94;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
html { height: 100%; margin: 0; }
body {
  height: auto;          /* was 100% */
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  overflow-x: clip;      /* was hidden; clip keeps sticky working */
}/* ================================
   HERO
================================ */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.hero-content {
    position: relative;
    z-index: 2;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5vw;
  padding-top: calc(28px + env(safe-area-inset-top, 0px));
  position: relative;
  z-index: 50;
}
.logo {
  font-family: 'Anton', sans-serif;
  font-size:40PX;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--fg);
}
.logo span { color: var(--muted); }
nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--fg);
}
.tech {
    background: linear-gradient(
        180deg,
        #B8FFFF,
        #00E5FF,
        #006F78,
        #003B42
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.burger {
  width: 26px;
  height: 18px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.burger::before, .burger::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--fg);
  transition: transform 220ms ease, top 220ms ease, opacity 220ms ease;
}
.burger::before { top: 0; }
.burger::after { bottom: 0; }
.burger.open::before { top: 8px; transform: rotate(45deg); }
.burger.open::after { bottom: 8px; transform: rotate(-45deg); }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  min-height: 62vh;
  text-align: center;
}

.page-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.82;
  text-align: center;
  margin: 0;
  font-size: clamp(32px, 10vw, 150px);
  user-select: none;
  -webkit-user-select: none;
}
.page-title .row {
  display: block;
  white-space: nowrap;
}
.letter {
  display: inline-block;
  transform-origin: bottom center;
  transform: scale(1, 1);
  transition: transform 160ms ease-out;
  will-change: transform;
}
.space {
  display: inline-block;
  width: 0.28em;
}

.page-body {
  max-width: 640px;
  margin: 3vh auto 0;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.7;
  color: var(--muted);
}
.page-body b { color: var(--fg); font-weight: 600; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 3vh 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(14px, 1.8vw, 17px);
}
.contact-list a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--muted); }

footer {
  padding: 4vh 6vw 6vh;
  text-align: center;
  padding-bottom: calc(6vh + env(safe-area-inset-bottom, 0px));
}
footer p {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.3px;
}
footer p b { color: var(--fg); font-weight: 600; }

.hint {
  position: fixed;
  bottom: 16px;
  right: 20px;
  font-size: 11px;
  color: #555;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 5;
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2vh;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 260ms;
  padding: 4vh 4vw;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s;
}
.menu-item {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  text-align: center;
  margin: 0;
  font-size: clamp(30px, 8vw, 90px);
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  color: var(--fg);
  text-decoration: none;
  display: inline-block;
}
.menu-item.current { color: var(--muted); }
.menu-index {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: -0.5vh;
  text-align: center;
}

@media (max-width: 640px) {
  .page-title { font-size: clamp(24px, 11vw, 70px); }
  nav .links { display: none; }
}
/* ===== Service slides ===== */
.service-slide {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
} body {
  background: #000;
}
.service-slide[data-bg="tan"]  { background: #cbab86; }
.service-slide[data-bg="red"]  { background: #c1272d; }
.service-slide[data-bg="dark"] { background: #111214; }
.service-slide[data-bg="olive"]{ background: #6b6b4d; }

.service-content {
  position: absolute;
  inset: -10%;          /* was 0: bleed so scaling never reveals the red */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow:none;
  cursor: pointer;
}.service-img:hover { transform: none; }

.service-label {
  position: relative;
  z-index: 2;
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 9vw, 150px);
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;      /* keeps it on one straight line */
  text-align: center;
  margin: 0;
  color: #fff;
  pointer-events: none;     /* clicks pass through to the image */
  user-select: none;
}


.next-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}
@media (max-width: 768px) {
  .service-slide { height: 100svh; }

  .service-content { inset: 0; }          /* remove the 10% bleed on phones */

  .service-img {
    object-fit: contain;                  /* show the whole image */
    object-position: center;
  }

  .lightbox img { object-fit: contain; }  /* full view isn't cropped either */
}
.service-img { object-fit: cover; object-position: 50% 30%; }

/* ===== Lightbox (full-width image view) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 200;
  pointer-events: none;
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
  transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.lightbox.open {
  pointer-events: auto;
  clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%));
}
.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}.service-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.82;
  text-align: center;
  margin: 0;
  font-size: clamp(32px, 10vw, 150px);
  user-select: none;
  -webkit-user-select: none;

}
/* ===== 3D gallery (cylinder) =====
   In style.css, delete the old "3D gallery" block at the bottom
   (.gallery3d, .g3-scene, .g3-card, .gallery3d-title, .g3-msg)
   and paste this whole file in its place. */
 
.gallery3d {
  position: relative;
  z-index: 3;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
  border-radius: 32px 32px 0 0;
  margin-top: -1px;
}
.gallery3d::after {                       /* soft dark edges */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(0, 0, 0, .55) 100%);
}
.gallery3d-title {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 5.5vw, 92px);
  letter-spacing: .05em;
  color: var(--fg);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 2;
}
 
.cg-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: grab;
  touch-action: pan-y;                    /* vertical swipe still scrolls the page on phones */
  user-select: none;
  -webkit-user-select: none;
}
.cg-stage.dragging { cursor: grabbing; }
.cg-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}
 
.cg-card {
  position: absolute;
  overflow: hidden;
  border-radius: 10px;
  background: #333;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
  backface-visibility: hidden;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .5s;
  cursor: pointer;
}
.cg-card img,
.cg-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.cg-card.dim { opacity: .1; }
.cg-card.ph { background: linear-gradient(135deg, var(--g1), var(--g2)); }
.cg-card.ph::after {                      /* shows when a file is missing */
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 16px 'Inter', system-ui, sans-serif;
  color: rgba(0, 0, 0, .65);
}
 
.cg-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 24px;
  cursor: pointer;
  display: none;
  z-index: 5;
}
.cg-hint {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, .45);
  font: 12px 'Inter', system-ui, sans-serif;
  letter-spacing: .05em;
  pointer-events: none;
  z-index: 3;
}
 .cg-slots { display: none; }

/* bigger number on empty / missing boxes */
.cg-card.ph::after {
  font: 700 clamp(28px, 4vw, 48px) 'Anton', system-ui, sans-serif;
}

/* small ▶ badge on video boxes */
.cg-card.is-video::before {
  content: '▶';
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  border-radius: 50%;
  pointer-events: none;
}
/* ===== 3D gallery: hero-style space background ===== */
.gallery3d {
  background:
    radial-gradient(circle at 50% 45%, rgba(9, 108, 108, 0.12), transparent 35%),
    #020507;
}
.gallery-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;            /* behind the 3D boxes (.cg-stage is z-index 1) */
  pointer-events: none;
}/* ===== Video showcase ===== */
.vid-section {
  position: relative;
  z-index: 3;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000;
  border-radius: 32px 32px 0 0;
  margin-top: -1px;
}
.vid-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vid-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.75), transparent 45%),
    linear-gradient(to bottom, rgba(0,0,0,.45), transparent 25%);
  pointer-events: none;
}
.vid-top {
  position: absolute;
  top: calc(90px + env(safe-area-inset-top, 0px));
  left: 5vw; right: 5vw;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.vid-kicker {
  font: 500 10px 'Inter', sans-serif;
  letter-spacing: 4px;
  color: rgba(255,255,255,.7);
}
.vid-captions {
  position: absolute;
  left: 5vw; right: 5vw;
  bottom: 14vh;
  height: 2.6em;
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 5.5vw, 80px);
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
  z-index: 2;
}
.vid-caption {
  position: absolute;
  inset: 0 0 auto 0;
  margin: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.vid-caption.on { opacity: 1; transform: translateY(0); }
.vid-sound {
  position: absolute;
  right: 5vw;
  bottom: calc(5vh + env(safe-area-inset-bottom, 0px));
  z-index: 3;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 500 10px 'Inter', sans-serif;
  letter-spacing: 3px;
  cursor: pointer;
}
.vid-progress {
  position: absolute;
  left: 5vw; right: 5vw;
  bottom: calc(5vh + env(safe-area-inset-bottom, 0px) + 54px);
  height: 2px;
  background: rgba(255,255,255,.2);
  z-index: 2;
}
.vid-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #096c6c;
}/* ===== Testimonials (all classes prefixed tm- so nothing clashes with style.css) ===== */
.tm-section {
  --tm-bg: #0a0a30;
  --tm-muted: #b9bbd6;
  --tm-btn: #3a3a68;
  --tm-accent: #f0420f;
  --tm-accent-2: #ff7a00;
  position: relative;
  z-index: 3;
  background: var(--tm-bg);
  color: #fff;
  border-radius: 32px 32px 0 0;
  margin-top: -1px;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 48px);
  padding-bottom: calc(clamp(56px, 8vw, 110px) + env(safe-area-inset-bottom, 0px));
  font-family: 'Figtree', 'Inter', system-ui, sans-serif;
}
.tm-inner { max-width: 1040px; margin: 0 auto; }
 
.tm-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 clamp(32px, 5vw, 64px);
}
 
.tm-stage { display: block; }
 
/* single clipping window = the whole content width (like the reference) */
.tm-viewport { overflow: hidden; }
.tm-track {
  display: flex;
  transition: transform .7s cubic-bezier(.65, 0, .25, 1);
  will-change: transform;
}
/* each slide = profile column + quote column, moving as one piece */
.tm-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  column-gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
 
.tm-avatar {
  width: 88px; height: 88px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  background: #1b1b45;
  filter: grayscale(1);
}
.tm-name {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 18px 0 6px;
}
.tm-role {
  color: var(--tm-muted);
  font-size: .875rem;
  line-height: 1.45;
  margin: 0;
  max-width: 24ch;
}
 
.tm-quote-mark {
  width: 28px; height: 22px;
  color: var(--tm-accent);
  display: block;
  margin-bottom: 18px;
}
.tm-quote-text {
  font-family: 'Roboto Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.0625rem, 1.9vw, 1.3125rem);
  line-height: 1.7;
  color: var(--tm-muted);
  margin: 0;
  max-width: 52ch;
}
 
.tm-controls { display: flex; gap: 12px; margin-top: 28px; }
.tm-btn {
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: var(--tm-btn);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.tm-btn svg { width: 14px; height: 14px; }
.tm-btn:hover, .tm-btn:active {
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-accent-2));
}
.tm-btn:active { transform: scale(.94); }
.tm-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Section fills the whole screen, content centred vertically */
.tm-section {

  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tm-inner { width: 100%; }

/* Quote limited to 3 lines */
.tm-quote-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.tm-quote-text.open {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

/* Read more button */
.tm-more {
  margin-top: 14px;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--tm-accent);
  color: #fff;
  font: 500 .875rem 'Figtree', 'Inter', system-ui, sans-serif;
  cursor: pointer;
}
.tm-more:hover { color: var(--tm-accent-2); border-color: var(--tm-accent-2); }
.tm-more:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tm-more[hidden] { display: none; }
 
/* Tablet */
@media (max-width: 900px) {
  .tm-slide { grid-template-columns: minmax(180px, 220px) 1fr; column-gap: 36px; }
  .tm-avatar { width: 80px; height: 80px; }
  .tm-name { font-size: 1.125rem; }
}
 
/* Mobile: profile row on top, quote below, buttons under the slider */
@media (max-width: 640px) {
  .tm-section { border-radius: 24px 24px 0 0; }
  .tm-slide { grid-template-columns: 1fr; row-gap: 24px; }
  .tm-profile { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .tm-profile .tm-avatar { grid-row: 1 / span 2; }
  .tm-profile .tm-name { margin: 0 0 4px; align-self: end; }
  .tm-profile .tm-role { align-self: start; max-width: none; }
  .tm-controls { margin-top: 24px; }
  .tm-btn { width: 44px; height: 44px; }
}
 
@media (prefers-reduced-motion: reduce) {
  .tm-track, .tm-btn { transition: none; }
}
 /* ===== Footer (classes prefixed ft-) ===== */
.ft {
  --ft-muted: #8c8c88;
  --ft-link: #f5f5f0;
  position: relative;
  z-index: 3;
  background: #000;
  color: var(--ft-link);
  border-radius: 32px 32px 0 0;
  margin-top: -1px;
  /* override the old global `footer` rule in style.css */
  text-align: left;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 48px) 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  font-family: 'Inter', system-ui, sans-serif;
}
.ft-inner { max-width: 1100px; margin: 0 auto; }

.ft-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 32px;
  row-gap: 48px;
}
.ft-col { min-width: 0; }

.ft-head {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ft-muted);
  margin: 0 0 14px;
}
.ft-list { list-style: none; margin: 0 0 40px; padding: 0; }
.ft-list:last-child { margin-bottom: 0; }
.ft-list li { margin: 0 0 12px; }
.ft-list a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ft-link);
  text-decoration: none;
  transition: color .2s;
}
.ft-list a:hover { color: var(--ft-muted); }
.ft-list a:focus-visible,
.ft-social a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: 28px 0 32px;
}
.ft-social { display: flex; gap: 22px; align-items: center; }
.ft-social a { display: grid; place-items: center; color: var(--ft-link); transition: color .2s; }
.ft-social a:hover { color: var(--ft-muted); }
.ft-social svg { width: 18px; height: 18px; }

.ft-copy { font-size: 14px; font-weight: 500; color: var(--ft-link); }
.ft-copy span { color: var(--ft-muted); margin-left: 12px; }

/* Tablet */
@media (max-width: 900px) {
  .ft-cols { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
  .ft { border-radius: 24px 24px 0 0; }
  .ft-cols { grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ft-copy span { display: block; margin: 6px 0 0; }
}
/* ===== Showreel: stars + quote + 9:16 video panel ===== */
.vid-section {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(0, 229, 255, .07), transparent 60%),
    #020606;
}
.vid-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* two columns: quote (left half) + video (right half) */
.vid-layout {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 4vw;
  padding: 0 5vw;
}
/* want the video on the LEFT instead? add class "vid-video-left" to the <section> */
.vid-video-left .vid-frame { order: -1; }

/* ---- quote ---- */
.vid-quote { max-width: 640px; }
.vid-quote-text {
  margin: 22px 0 0;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 78px);
  line-height: 1.04;
  color: #fff;
}
.vid-quote-text p { margin: 0; }
.vid-quote-text .vid-quote-accent { color: #1fb3a3; }
.vid-quote-by {
  display: block;
  margin-top: 28px;
  font: 500 12px 'Inter', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-style: normal;
  color: rgba(255, 255, 255, .6);
}

/* ---- 9:16 video panel ---- */
.vid-frame {
  position: relative;
  justify-self: center;
  height: min(84vh, 780px);
  height: min(84svh, 780px);
  aspect-ratio: 9 / 16;
  max-width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .12);
}
.vid-frame .vid-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.vid-frame .vid-sound {
  right: 14px;
  bottom: 22px;
}
.vid-frame .vid-progress {
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
}

/* ---- tablet ---- */
@media (max-width: 1024px) {
  .vid-layout { column-gap: 3vw; }
  .vid-quote-text { font-size: clamp(30px, 5vw, 56px); }
}

/* ---- mobile: quote on top, video below ---- */
@media (max-width: 768px) {
  .vid-section { height: auto; min-height: 100vh; min-height: 100svh; }
  .vid-layout {
    height: auto;
    grid-template-columns: 1fr;
    row-gap: 36px;
    padding: 72px 6vw calc(56px + env(safe-area-inset-bottom, 0px));
  }
  .vid-quote { max-width: none; }
  .vid-quote-text { font-size: clamp(32px, 9vw, 52px); }
  .vid-frame {
    height: auto;
    width: min(78vw, 360px);
    justify-self: center;
  }
  .vid-video-left .vid-frame { order: 0; }
} 
/* ===== "Humans of" photo section — neumorphism (classes prefixed hu-) ===== */
.hu{
  --hu-bg:#e4e8ee;--hu-ink:#343a46;--hu-muted:#7a8291;--hu-pad:8px;
  --hu-raise:9px 9px 20px rgba(163,177,198,.65),-9px -9px 20px rgba(255,255,255,.95);
  --hu-press:inset 5px 5px 11px rgba(163,177,198,.6),inset -5px -5px 11px rgba(255,255,255,.95);
  position:relative;z-index:3;background:var(--hu-bg);color:var(--hu-ink);border-radius:32px 32px 0 0;margin-top:-1px;overflow:hidden;
  padding:clamp(56px,8vw,100px) 0 clamp(56px,8vw,100px);text-align:center;font-family:'Inter',system-ui,sans-serif;
  padding-bottom:calc(clamp(56px,8vw,100px) + env(safe-area-inset-bottom,0px))}
.hu::before{content:'';position:absolute;left:50%;top:0;width:min(58vw,760px);aspect-ratio:1/.9;transform:translateX(-50%);
  background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,0));clip-path:polygon(50% 0,0 100%,100% 100%);pointer-events:none}
.hu-head{position:relative;padding:0 5vw}
.hu-kicker{display:inline-block;margin:0 0 16px;padding:7px 18px;border-radius:50px;box-shadow:var(--hu-press);color:#e0762a;font-weight:500;font-size:.9rem}
.hu-title{margin:0 0 14px;font-weight:600;font-size:clamp(1.8rem,4vw,3rem);line-height:1.12;letter-spacing:-.02em;text-shadow:1px 1px 0 rgba(255,255,255,.9)}
.hu-text{max-width:54ch;margin:0 auto 26px;color:var(--hu-muted);font-size:.95rem;line-height:1.6}
.hu-btn{display:inline-block;padding:12px 30px;border-radius:50px;background:var(--hu-bg);box-shadow:var(--hu-raise);color:var(--hu-ink);text-decoration:none;font-weight:600;font-size:.9rem;transition:box-shadow .25s,color .25s}
.hu-btn:hover,.hu-btn:active{box-shadow:var(--hu-press);color:#e0762a}
.hu-btn:focus-visible{outline:2px solid #1fb3a3;outline-offset:4px}

/* photo grid: outer columns bleed off the screen edges */
.hu-grid{position:relative;margin:clamp(36px,5vw,64px) -4vw 0;display:grid;grid-template-columns:repeat(5,1fr);
  grid-auto-rows:clamp(110px,12.4vw,210px);gap:clamp(14px,1.6vw,24px);padding:10px 0 20px}
/* each tile = raised soft card with the photo sitting in an inset well */
.hu-tile{position:relative;border-radius:24px;background:var(--hu-bg);box-shadow:var(--hu-raise);transition:box-shadow .3s}
.hu-tile::before{content:'';position:absolute;inset:var(--hu-pad);border-radius:16px;box-shadow:var(--hu-press)}
.hu-tile.tall{grid-row:span 2}
.hu-tile img{position:absolute;inset:var(--hu-pad);width:calc(100% - var(--hu-pad)*2);height:calc(100% - var(--hu-pad)*2);
  object-fit:cover;display:block;border-radius:16px;z-index:1;transition:transform .4s}
.hu-tile:hover{box-shadow:6px 6px 14px rgba(163,177,198,.55),-6px -6px 14px rgba(255,255,255,.95)}

@media(min-width:901px){
  .hu-tile:nth-child(1){grid-column:1;grid-row:1}
  .hu-tile:nth-child(2){grid-column:1;grid-row:2}
  .hu-tile:nth-child(3){grid-column:2;grid-row:1/span 2}
  .hu-tile:nth-child(4){grid-column:3;grid-row:1}
  .hu-tile:nth-child(5){grid-column:3;grid-row:2}
  .hu-tile:nth-child(6){grid-column:4;grid-row:1/span 2}
  .hu-tile:nth-child(7){grid-column:5;grid-row:1}
  .hu-tile:nth-child(8){grid-column:5;grid-row:2}
}
@media(max-width:900px){
  .hu-grid{margin:36px 18px 0;grid-template-columns:repeat(3,1fr);grid-auto-rows:clamp(100px,24vw,180px);grid-auto-flow:dense}
}
@media(max-width:640px){
  .hu{border-radius:24px 24px 0 0;--hu-pad:6px}
  .hu-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:clamp(110px,34vw,170px);gap:14px}
  .hu-tile:nth-child(n+7){display:none}
}
@media(prefers-reduced-motion:reduce){.hu *{transition:none!important}}
/* ===== Service slides — mobile fix. Must load AFTER style.css (it already does in your <head>) ===== */
@media (max-width: 768px) {
  .service-slide {
    height: 100vh;
    height: 100svh;
    border-radius: 24px 24px 0 0;
  }

  /* picture on top, title underneath, both centred and never overlapping */
  .service-content {
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: clamp(16px, 4svh, 32px);
    padding: calc(24px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .service-img {
    position: relative;
    inset: auto;
    flex: 0 1 auto;
    min-height: 0;
    width: 100%;
    height: auto;
    max-height: 62svh;
    object-fit: contain;          /* whole picture visible, nothing cropped */
    object-position: center;
    border-radius: 18px;
  }
  .service-title {
    font-size: clamp(30px, 11vw, 64px);
    line-height: .9;
    flex: 0 0 auto;
  }

  /* full-screen viewer: show the whole picture, bigger close button */
  .lightbox img { object-fit: contain; }
  .lightbox-close {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

/* phones turned sideways: picture left, title right */
@media (max-width: 900px) and (orientation: landscape) {
  .service-content { flex-direction: row; gap: 24px; padding: 16px calc(24px + env(safe-area-inset-right, 0px)); }
  .service-img { width: auto; max-width: 55%; max-height: 82svh; }
  .service-title { font-size: clamp(28px, 7vw, 56px); }
}