/* ---------- Generic page hero (About/Services/Portfolio/Industries) ---------- */
.page-hero {
  margin-top: 100px;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 44vw, 460px);
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #1a1a1a, #0d0d0d);
  border: 1px solid var(--border);
}
.page-hero .media-bg {
  position: absolute; inset: 0 0 -22% 0; z-index: 0;   /* overscan only at the bottom for parallax travel */
  background-color: #0a0a0a;
  background-position: center right; background-size: cover; background-repeat: no-repeat;
}
.page-hero .media-bg::after {                       /* left-to-right black→transparent wash for text legibility */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #080808 0%, rgba(8,8,8,0.85) 30%, rgba(8,8,8,0.35) 65%, transparent 100%);
}
.page-hero .hero-content { position: relative; z-index: 1; max-width: 640px; }
.page-hero h1 {
  margin-bottom: var(--sp-3);
  font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.1; font-weight: 200;
  letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.page-hero .lead {
  color: rgba(255,255,255,0.86);
  font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
  .page-hero {
    margin-top: 88px;
    min-height: clamp(300px, 72vw, 400px);
    padding: clamp(1.75rem, 7vw, 2.5rem);
    align-items: flex-end;            /* anchor text to bottom over the image */
  }
  .page-hero .media-bg::after {       /* bottom-up wash works better for bottom-aligned text */
    background: linear-gradient(0deg, rgba(8,8,8,0.94) 0%, rgba(8,8,8,0.6) 50%, rgba(8,8,8,0.3) 100%);
  }
  .page-hero .hero-content { max-width: none; }
}

/* =============================================================
   HOME
   ============================================================= */

/* ---- Hero (centered headline + showreel showcase) ---- */
.home-hero {
  position: relative;
  isolation: isolate;                       /* keep the aura layered behind content */
  margin-top: clamp(120px, 15vh, 180px);   /* clears the fixed nav */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Ambient purple wash behind the whole hero */
.home-hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -14%;
  width: min(1200px, 98vw); height: 130%;
  transform: translateX(-50%);
  background:
    radial-gradient(46% 40% at 50% 18%, rgba(255, 138, 61, 0.26), transparent 70%),
    radial-gradient(60% 50% at 50% 78%, rgba(242, 107, 31, 0.32), transparent 72%);
  filter: blur(30px);
  z-index: -2;
  pointer-events: none;
}
/* Faint perspective grid for depth, like the reference */
.home-hero::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: min(1100px, 96vw); height: 60%;
  transform: translateX(-50%);
  background-image:
    linear-gradient(rgba(242, 107, 31, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 107, 31, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent 72%);
          mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent 72%);
  z-index: -2;
  pointer-events: none;
}
.home-hero .hero-content { max-width: 760px; margin-inline: auto; }
.hero-title {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: clamp(40px, 8vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
  margin: var(--sp-3) auto 0;
  max-width: 52ch;
}

/* CTA pill — input + button */
.hero-cta {
  display: flex; align-items: center; gap: 0.4rem;
  margin: var(--sp-4) auto 0;
  width: 100%; max-width: 440px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.35rem 0.35rem 0.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hero-cta:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-cta-input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: #fff; font: inherit; font-size: 0.95rem;
  padding: 0.55rem 0.5rem 0.55rem 0.75rem;
}
.hero-cta-input::placeholder { color: var(--text-dim); }
.hero-cta-btn {
  flex: none; border: 0; cursor: pointer;
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  padding: 0.62rem 1.3rem; border-radius: var(--r-pill);
  transition: background var(--transition), transform var(--transition);
}
.hero-cta-btn:hover { background: var(--accent-2); transform: translateY(-1px); }

.hero-note {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: var(--sp-3);
  font-size: 0.82rem; color: var(--text-dim);
}
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }
.hero-note .dot { color: var(--accent); }

/* Showreel showcase with glow */
.hero-stage {
  position: relative;
  width: 100%; max-width: 1080px;
  margin: clamp(2.5rem, 6vw, 5rem) auto 0;
}
.hero-glow {
  position: absolute; left: 50%; top: 50%;
  width: 112%; height: 128%;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 48%,
    rgba(255, 138, 61, 0.50),
    rgba(242, 107, 31, 0.22) 50%,
    transparent 75%);
  filter: blur(64px);
  z-index: -1; pointer-events: none;
}
.hero-video {
  position: relative; z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.85);
}
.hero-shot {
  width: 100%; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
}
.hero-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.hero-play {
  position: absolute; inset: 0; margin: auto;
  width: clamp(64px, 8vw, 88px); height: clamp(64px, 8vw, 88px);
  border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 0 var(--accent-soft);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  animation: heroPlayPulse 2.6s var(--ease-out) infinite;
}
.hero-play:hover { transform: scale(1.08); background: var(--accent-2); }
.hero-play svg { width: clamp(26px, 3vw, 34px); height: clamp(26px, 3vw, 34px); margin-left: 3px; }
.hero-video.playing .hero-play { display: none; }
@keyframes heroPlayPulse {
  0%   { box-shadow: 0 0 0 0 rgba(242, 107, 31, 0.45); }
  70%  { box-shadow: 0 0 0 22px rgba(242, 107, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 107, 31, 0); }
}

@media (max-width: 560px) {
  .home-hero { margin-top: 104px; }
  .hero-cta { max-width: 100%; }
  .hero-shot { aspect-ratio: 4 / 3; }
}

/* ---- Two-column intro / about block ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }

/* About section (home) — typography per spec */
.about-sub {
  display: block;
  font-family: var(--font-body);   /* Inter */
  font-weight: 400;                /* Regular */
  font-size: 32px;
  letter-spacing: -0.05em;         /* -5% */
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.about-title {
  font-family: var(--font-body);   /* Inter */
  font-weight: 200;                /* ExtraLight */
  font-size: 48px;
  line-height: 1.18;
  letter-spacing: 0;
  color: #fff;
}
.about-text {
  font-family: var(--font-body);   /* Inter */
  font-weight: 300;                /* Light */
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: var(--sp-3);
  max-width: 54ch;
}
/* ---- About page: By The Numbers (6-up counter row, matches home Clients) ---- */
.stats-row.stats-6 { grid-template-columns: repeat(3, 1fr); row-gap: clamp(2.25rem, 4vw, 3.25rem); }
.stats-row.stats-6 .stat-item:not(:last-child)::after { display: block; }   /* reset default */
.stats-row.stats-6 .stat-item:nth-child(3n)::after { display: none; }       /* no divider at row end */
@media (max-width: 560px) {
  .stats-row.stats-6 { grid-template-columns: repeat(2, 1fr); }
  .stats-row.stats-6 .stat-item:nth-child(3n)::after { display: block; }
  .stats-row.stats-6 .stat-item:nth-child(2n)::after { display: none; }
}

/* ---- About page: full-width intro copy ---- */
.about-intro { max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.about-intro .eyebrow { margin-bottom: 0.4rem; }
.about-intro h2 { margin-top: 0; font-weight: 200; font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; }
.about-copy {
  max-width: 980px;
  columns: 2; column-gap: clamp(2rem, 3.5vw, 3rem);
}
.about-copy p { break-inside: auto; margin: 0 0 var(--sp-4); color: var(--text-muted); line-height: 1.8; }
.about-copy p:last-child { margin-bottom: 0; }
.about-closing {
  margin-top: clamp(1.75rem, 3vw, 2.5rem); padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
  max-width: 34ch;
  font-family: var(--font-head); font-weight: 200;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--text);
}
@media (max-width: 768px) {
  .about-copy { columns: 1; max-width: none; }
  .about-closing { max-width: none; }
}

.about-figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.7);
}
.about-figure::before {               /* subtle accent wash from the top-left */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(155deg, rgba(242,107,31,0.22), transparent 42%);
}
.about-figure::after {                /* soft bottom vignette for depth + tag legibility */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 38%);
}
.about-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}
.about-figure:hover .about-img { transform: scale(1.05); }
.about-figure-tag {
  position: absolute; z-index: 3; left: 1.25rem; bottom: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: 999px;
  background: rgba(20,20,20,0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.8rem; letter-spacing: 0.04em; color: #fff;
}
.about-figure-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(242,107,31,0.25);
}
@media (max-width: 768px) {
  .about-sub { font-size: 24px; }
  .about-title { font-size: 34px; }
  .about-text { font-size: 17px; }
}

/* ---- Founder message (framed + gap, matches About) ---- */
#founder { background: #0E0E0E; }
.founder {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.founder .video-side {
  position: relative; min-height: 460px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, rgba(242,107,31,0.20), transparent 40%),
    linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 55%),
    url("../images/home/martin.png") center top / cover no-repeat;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.7);
  cursor: pointer;
}
/* click-to-play: the iframe fills the frame and the play button steps aside */
.founder .video-side iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; z-index: 2;
}
.founder .video-side.playing { cursor: default; }
.founder .video-side.playing .play-btn { display: none; }
.play-btn {
  position: relative; z-index: 1;
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center; color: #fff; cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
/* pulsing ring to draw the eye to the play button */
.play-btn::before, .play-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  animation: play-pulse 2.6s ease-out infinite;
}
.play-btn::after { animation-delay: 1.3s; }
@keyframes play-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}
.play-btn:hover { transform: scale(1.08); background: var(--accent); border-color: var(--accent); }
.play-btn svg { width: 30px; height: 30px; }
@media (prefers-reduced-motion: reduce) {
  .play-btn::before, .play-btn::after { animation: none; }
}
.founder .text-side { position: relative; padding: clamp(0.5rem, 1.5vw, 1.5rem) 0; display: flex; flex-direction: column; justify-content: center; }
/* Size comes from the shared section-title rule in mainstyle.css (48px / 34px). */
.founder .text-side h2 { margin-bottom: var(--sp-3); font-weight: 200; }
.founder .founder-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55; color: var(--text-dim); margin-bottom: var(--sp-2); }
.founder .founder-quote { margin: 0 0 var(--sp-3); padding-left: 1.1rem; border-left: 2px solid var(--accent); font-family: var(--font-head); font-weight: 200; font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.25; color: var(--text); }
.founder .founder-body { font-size: clamp(0.95rem, 1.25vw, 1.05rem); line-height: 1.6; margin-bottom: var(--sp-3); color: var(--text-muted); }
.founder .founder-attribution { display: flex; flex-direction: column; gap: 0.15rem; }
.founder .founder-name { font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; color: var(--text); }
.founder .founder-role { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim); }
.founder .signature { position: absolute; bottom: 0; right: clamp(1.5rem, 3vw, 3rem); font-family: var(--font-head); font-weight: 200; color: var(--text-dim); font-size: clamp(6rem, 12vw, 11rem); opacity: 0.15; line-height: 1; margin-top: 0; pointer-events: none; }

/* ---- Works (portfolio teaser) — carousel ---- */
.works-carousel { overflow: hidden; }
.works-track {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
  -ms-overflow-style: none;   /* IE/Edge */
  scrollbar-width: none;      /* Firefox */
}
.works-track::-webkit-scrollbar { display: none; }
.works-track > .work-card {
  flex: 0 0 calc((100% - var(--sp-3)) / 1.4);   /* ~1.4 wider cards + a peek, uniform size */
  scroll-snap-align: start;
}
.work-card { position: relative; border-radius: 0; overflow: hidden; }
.work-card .media { min-height: 340px; border-radius: 0; }
.work-meta { margin-top: var(--sp-3); }
.work-meta h3 { margin-bottom: 0.5rem; font-weight: 400; }
.work-meta .read-more { color: var(--accent); font-size: 0.9rem; display: inline-flex; gap: 0.5rem; align-items: center; margin-top: 0.6rem; }

/* read-more arrow → small outlined circular badge that slides on hover */
.read-more svg {
  width: 24px; height: 24px;
  padding: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: none;
  transform: rotate(-45deg);     /* up-right (↗) by default */
  transition: transform 0.4s var(--ease-out), background var(--transition), color var(--transition);
}
.read-more:hover svg { transform: rotate(0deg); }   /* straightens to → on hover */

/* Carousel nav buttons */
.works-nav { display: flex; gap: 0.6rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text); display: grid; place-items: center; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.carousel-btn svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .works-track > .work-card { flex-basis: 88%; }   /* ~1 card per view on mobile + small peek */
  /* let the 16:9 aspect ratio drive height instead of the fixed desktop min-height */
  .work-card .media { min-height: 0; aspect-ratio: 16 / 9; }
}

/* ---- AI-first banner ---- */
.ai-banner {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  background:
    linear-gradient(115deg, rgba(26,18,8,0.82), rgba(10,10,10,0.78) 60%),
    url("../images/home/ai-first.png") center / cover no-repeat;
  border: 1px solid var(--border);
}
.ai-banner::after {
  content: ""; position: absolute; right: -10%; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,107,31,0.25), transparent 70%);
}
.ai-banner .eyebrow { color: var(--accent); font-size: clamp(1.1rem, 3.2vw, 32px); font-weight: 400; }
/* Size comes from the shared section-title rule in mainstyle.css (48px / 34px). */
.ai-banner h2 { max-width: 18ch; font-weight: 200; }

/* ---- Services cards ---- */
.service-card .icon-badge { background: var(--accent); color: #fff; }
.service-card h3 { margin-bottom: var(--sp-2); font-weight: 300; }
.service-card .read-more { color: #fff; font-size: 0.9rem; display: inline-flex; gap: 0.4rem; align-items: center; margin-top: var(--sp-3); }
.service-card:hover .read-more { color: var(--accent); }

/* ---- Behind the scenes gallery ---- */
.bts-carousel { overflow: hidden; }
.bts-track {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
  -ms-overflow-style: none;   /* IE/Edge */
  scrollbar-width: none;      /* Firefox */
}
.bts-track::-webkit-scrollbar { display: none; }
.bts-slide {
  flex: 0 0 calc((100% - var(--sp-3) * 2) / 2.4);   /* ~2.4 visible + a peek */
  scroll-snap-align: start;
}
.bts-slide img {
  width: 100%; aspect-ratio: 16 / 11;
  object-fit: cover; border-radius: var(--r-xl); display: block;
}
.bts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); max-width: none; flex-wrap: wrap; }
.bts-head .works-nav { flex: none; }
.bts-foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--sp-5); gap: var(--sp-3); flex-wrap: wrap; }
.bts-foot-lead { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.bts-foot-lead p { font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--text); margin: 0; }
.bts-foot .carousel-btn { border-radius: 50%; }

/* Home BTS slide as a link to the full gallery */
.bts-slide-link { position: relative; display: block; cursor: pointer; }
.bts-slide-link .bts-slide-cap {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; z-index: 2;
  display: flex; align-items: center; justify-content: flex-start; gap: 0.6rem;
  font-size: 1.35rem; font-weight: 600; color: #fff; opacity: 0;
  transform: translateY(6px); transition: all var(--transition);
}
.bts-slide-link .bts-slide-cap i { width: 24px; height: 24px; flex: none; }
.bts-slide-link::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-xl); z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0) 60%);
  opacity: 0; transition: opacity var(--transition);
}
.bts-slide-link:hover::after { opacity: 1; }
.bts-slide-link:hover .bts-slide-cap { opacity: 1; transform: none; color: var(--accent); }
.bts-slide-link:hover img { transform: scale(1.04); }
.bts-slide-link img { transition: transform 0.5s ease; }

/* ---- BTS gallery (bts.php) — JS-balanced masonry ---- */
.gallery-grid {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}
.gallery-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-elev);
}
.gallery-item img {
  width: 100%; height: auto;
  display: block;           /* natural aspect ratio — no cropping */
  transition: transform 0.5s ease, opacity var(--transition);
}
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent-soft); opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- BTS album drill-down (step 1: shoots, step 2: photos) ---- */
.bts-albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-3);
}
/* Explicit display above would otherwise beat the [hidden] attribute. */
.bts-albums[hidden], .bts-photos[hidden] { display: none; }
.bts-album {
  position: relative; display: block; padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden; cursor: pointer;
  background: var(--bg-elev);
}
.bts-album img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.bts-album::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0) 55%);
}
.bts-album-cap {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2;
  display: flex; flex-direction: column; gap: 0.15rem; text-align: left;
}
.bts-album-name { font-size: 1.25rem; font-weight: 600; color: #fff; line-height: 1.2; }
.bts-album-count { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.bts-album:hover img { transform: scale(1.05); }
.bts-album:hover { border-color: var(--accent); }
.bts-album:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.bts-photos-head {
  display: flex; align-items: center; gap: var(--sp-4);
  margin-bottom: var(--sp-4); flex-wrap: wrap;
}
.bts-photos-title { margin: 0; font-weight: 300; }
.bts-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border: 1px solid var(--border);
  border-radius: 100px; background: transparent; color: var(--text);
  cursor: pointer; font: inherit; transition: all var(--transition);
}
.bts-back:hover { border-color: var(--accent); color: #fff; }
.bts-back i { width: 18px; height: 18px; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox-stage {
  margin: 0; max-width: min(1100px, 92vw); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
}
.lightbox-stage img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain; border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-stage figcaption { color: var(--text-muted); font-size: 0.95rem; text-align: center; }
.lightbox-close, .lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.06);
  color: #fff; cursor: pointer; transition: all var(--transition);
}
.lightbox-close { top: clamp(1rem, 4vw, 2rem); right: clamp(1rem, 4vw, 2rem); transform: none; }
.lightbox-prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox-next { right: clamp(0.75rem, 3vw, 2rem); }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-nav i, .lightbox-close i { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-stage img { max-height: 70vh; }
}

/* ---- Industries strip (home) ---- */
.ind-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); text-align: center; }
.ind-item { padding: var(--sp-3); }
.ind-item .icon-badge { margin-inline: auto; background: transparent; border: 1px solid var(--border-strong); }
.ind-item h4 { font-size: 1rem; font-weight: 500; }
/* Industry cards that link to their films */
.ind-linked { text-decoration: none; display: block; transition: border-color var(--transition), transform var(--transition); }
.ind-linked:hover { border-color: var(--accent); transform: translateY(-3px); }
.ind-linked:hover .icon-badge { border-color: var(--accent); }
.ind-count { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--accent); }
/* Work-by-industry blocks */
.industry-block { margin-top: var(--sp-5); scroll-margin-top: 110px; }
.industry-block:first-of-type { margin-top: 0; }
.industry-block-title { font-weight: 300; margin-bottom: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--border); }

/* ---- Clients / logos ---- */
.logo-grid { display: grid; grid-template-columns: repeat(7, 1fr); column-gap: var(--sp-3); row-gap: var(--sp-5); align-items: center; }
.logo-cell {
  height: 80px;
  display: grid; place-items: center;
  opacity: 0.7; transition: all var(--transition);
}
.logo-cell img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
}
.logo-cell:hover { opacity: 1; }

.clients-title { white-space: nowrap; }
@media (max-width: 560px) { .clients-title { white-space: normal; } }

/* ---- Clients: animated counters ---- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.stat-item { padding: var(--sp-3) var(--sp-2); position: relative; }
.stat-item:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: 0;
  transform: translateY(-50%); height: 50%; width: 1px;
  background: var(--border);
}
.stat-num {
  display: block;
  font-family: var(--font-head); font-weight: 200;
  font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1;
  color: var(--accent);
}
.stat-label {
  display: block; margin-top: 0.75rem;
  font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- Clients: full-width logo marquee ---- */
.logo-marquee {
  width: 100vw; margin-left: calc(50% - 50vw);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  display: flex; width: max-content;
  align-items: center;   /* no gap — spacing comes from .logo-cell padding so -50% is exactly one set */
  animation: logo-scroll 60s linear infinite;
  will-change: transform;
  transform: translateZ(0);        /* promote to its own GPU layer */
  backface-visibility: hidden;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
/* show the actual logos as-is, no background/overlay */
.logo-marquee .logo-cell {
  flex: 0 0 auto;
  display: grid; place-items: center;
  height: 130px; padding: 0 clamp(1.25rem, 2.5vw, 2.5rem);
  background: transparent; opacity: 1;
}
.logo-marquee .logo-cell img {
  height: clamp(64px, 7vw, 90px);   /* uniform visual height, width follows naturally */
  width: auto; max-width: none;
  object-fit: contain; display: block;
}
@keyframes logo-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }   /* track holds 2 copies → -50% = one full set */
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ---- Testimonials (carousel) ---- */
.testi-carousel { overflow: hidden; }
.testi-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-top: 34px;          /* room for the overhanging quote badge */
  -ms-overflow-style: none;   /* IE/Edge */
  scrollbar-width: none;      /* Firefox */
}
.testi-track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.testi-media { position: relative; }
.testi-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); display: block; }
.testi-media .quote-mark {
  position: absolute; top: -28px; right: -28px;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 2.6rem; line-height: 0; padding-top: 1.4rem;
}
.testi-body h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 200; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: var(--sp-3); }
.testi-body p { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: var(--sp-4); }
.testi-body cite { font-style: normal; color: var(--text-muted); }
.testi-body cite strong { color: #fff; display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: 0.25rem; }
.testi-nav { margin-top: var(--sp-4); }
.testi-nav .carousel-btn { border-radius: 50%; }

/* ---- Video testimonials (vertical reels coverflow carousel) ---- */
.vtesti { --vt-shift: 78%; --vt-shift-2: 148%; }
.vtesti-stage {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  transition: height 0.6s var(--ease-out);
}
/* Every slide is absolutely positioned so its transform tweens smoothly on
   prev/next. JS sizes the stage to the active slide, so there's no gap. */
.vtesti-slide {
  position: absolute;
  top: 0; left: 50%;
  width: min(72%, 320px);
  transform: translateX(-50%) scale(0.55);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
  z-index: 0;
}
.vtesti-slide.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.vtesti-slide.is-prev {
  transform: translateX(calc(-50% - var(--vt-shift))) scale(0.78);
  opacity: 0.45;
  pointer-events: auto;
  z-index: 2;
}
.vtesti-slide.is-next {
  transform: translateX(calc(-50% + var(--vt-shift))) scale(0.78);
  opacity: 0.45;
  pointer-events: auto;
  z-index: 2;
}
/* Outer tier — sits further out, smaller and dimmer for depth. */
.vtesti-slide.is-prev-2 {
  transform: translateX(calc(-50% - var(--vt-shift-2))) scale(0.6);
  opacity: 0.2;
  pointer-events: auto;
  z-index: 1;
}
.vtesti-slide.is-next-2 {
  transform: translateX(calc(-50% + var(--vt-shift-2))) scale(0.6);
  opacity: 0.2;
  pointer-events: auto;
  z-index: 1;
}
.vtesti-slide.is-prev,
.vtesti-slide.is-next,
.vtesti-slide.is-prev-2,
.vtesti-slide.is-next-2 { cursor: pointer; }
.vtesti-slide.is-prev:hover,
.vtesti-slide.is-next:hover { opacity: 0.75; }
.vtesti-slide.is-prev-2:hover,
.vtesti-slide.is-next-2:hover { opacity: 0.4; }

.vtesti-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.vtesti-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vtesti-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* A landscape (16:9) source cropped to fill the vertical 9:16 frame: blow the
   iframe up so its video height covers the frame, then clip the sides. */
.vtesti-slide[data-crop] .vtesti-media iframe {
  left: 50%; right: auto; top: 0; bottom: 0;
  width: 316%; height: 100%;
  transform: translateX(-50%);
}

.vtesti-play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.vtesti-play:hover { transform: scale(1.08); background: var(--accent-2); }
.vtesti-play svg { width: 30px; height: 30px; }
/* Only the centre, active video is playable */
.vtesti-slide:not(.is-active) .vtesti-play { display: none; }
.vtesti-media.playing .vtesti-play { display: none; }

.vtesti-cap { text-align: center; margin-top: var(--sp-3); transition: opacity 0.4s var(--ease-out); }
.vtesti-cap h3 { font-weight: 300; font-size: 1.25rem; margin-bottom: 0.25rem; }
.vtesti-cap span { color: var(--text-muted); font-size: 0.9rem; }
.vtesti-slide:not(.is-active) .vtesti-cap { opacity: 0; }

.vtesti-dots {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-top: var(--sp-4);
}
.vtesti-dot {
  width: 9px; height: 9px; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--r-pill); background: var(--border-strong);
  transition: background var(--transition), width var(--transition);
}
.vtesti-dot:hover { background: var(--text-muted); }
.vtesti-dot.is-on { width: 24px; background: var(--accent); }

.vtesti-nav { justify-content: center; margin-top: var(--sp-3); }

@media (max-width: 768px) {
  .vtesti { --vt-shift: 60%; --vt-shift-2: 108%; }
  .vtesti-slide { width: min(66%, 280px); }
  .vtesti-slide.is-prev,
  .vtesti-slide.is-next { opacity: 0.22; }
  .vtesti-slide.is-prev-2,
  .vtesti-slide.is-next-2 { opacity: 0.1; }
}
/* Too cramped for five reels on a phone — fall back to a 3-tile row. */
@media (max-width: 520px) {
  .vtesti-slide.is-prev-2,
  .vtesti-slide.is-next-2 { opacity: 0; pointer-events: none; }
}

/* ---- Workflow stepper ---- */
.workflow { display: grid; grid-template-columns: 0.45fr 1.55fr; gap: clamp(2rem, 5vw, 4rem); }
.steps { display: flex; flex-direction: column; gap: 0.3rem; }
.step {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2); border-radius: var(--r-md);
  border: 1px solid var(--border); cursor: pointer;
  transition: all var(--transition); background: var(--card);
}
.step:hover { border-color: var(--border-strong); }
.step.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.step .num { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; opacity: 0.7; min-width: 1.8rem; }
.step.active .num { opacity: 1; }
.step h4 { font-weight: 500; }
.workflow .step-detail { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.workflow .step-detail-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-md); margin-bottom: var(--sp-4); display: block; }
.workflow .step-detail h3 { color: var(--accent); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: var(--sp-4); }
.workflow .step-detail ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem var(--sp-4); }
.workflow .step-detail li { color: var(--text-muted); font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: center; }
.workflow .step-detail li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.workflow .step-detail .step-desc { color: var(--text-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; max-width: 52ch; }

/* =============================================================
   FORMS (home enquiry + contact page)
   ============================================================= */
.form-field { margin-bottom: var(--sp-3); }
.form-field label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; font-family: var(--font-head); }
.form-control {
  width: 100%; padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  background: var(--card-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: #fff;
  transition: border-color var(--transition), background var(--transition);
}
.form-control::placeholder { font-size: 0.9rem; color: var(--text-dim); }
.form-control:focus { outline: none; border-color: var(--accent); background: #222; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }
.check {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: var(--text-muted); cursor: pointer;
}
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-note { font-size: 0.85rem; padding: 0.8rem 1rem; border-radius: var(--r-sm); margin-bottom: var(--sp-3); }
.form-note.success { background: rgba(46,160,67,0.12); color: #4ade80; border: 1px solid rgba(46,160,67,0.3); }
.form-note.error { background: rgba(220,38,38,0.12); color: #f87171; border: 1px solid rgba(220,38,38,0.3); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-field .req { color: var(--accent); }
select.form-control { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.2rem; }
select.form-control option { background: #1a1a1a; color: #fff; }

/* ---- Footer "Request a Quote" CTA band ---- */
.footer-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); flex-wrap: wrap;
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 4vw, 2rem);
  margin-bottom: var(--sp-6, 4rem);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: linear-gradient(120deg, #1c1c1c, #0d0d0d);
}
.footer-cta-text h3 { font-weight: 300; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.footer-cta-text p { margin-top: 0.35rem; color: var(--text-muted); }
.footer-cta .btn { flex: none; }

/* Tighter horizontal padding than the base .btn (1.5rem / 0.45rem), so the
   arrow badge hugs the edge. Shared by the footer CTA and the quote modal
   so the two stay identical. */
.footer-cta .btn,
.modal .btn { padding-left: 1rem; padding-right: 0.3rem; }

/* ---- Modal (Request a Quote popup) ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 580px;
  margin: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.modal h3 { font-weight: 300; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.modal-sub { margin: 0.4rem 0 var(--sp-3); color: var(--text-muted); font-size: 0.95rem; }
.modal-close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: transparent; color: #fff;
  cursor: pointer; display: grid; place-items: center;
  transition: color var(--transition), border-color var(--transition);
}
.modal-close:hover { color: var(--accent); border-color: var(--accent); }
.modal-close i { width: 20px; height: 20px; }
.modal .form-field { margin-bottom: var(--sp-2); }
.modal .form-grid-2 { gap: var(--sp-2); }
.modal textarea.form-control { min-height: 84px; }
/* Shrink to the label instead of stretching the full form width, and centre it.
   display:flex (not the inline-flex default) is what lets the auto margins centre it. */
.modal .btn { display: flex; width: fit-content; justify-content: center; margin: var(--sp-2) auto 0; }
.modal-success { text-align: center; padding: var(--sp-2) 0; }
.modal-success-icon {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: var(--sp-2);
}
.modal-success-icon i { width: 28px; height: 28px; }
body.modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .modal .form-grid-2 { grid-template-columns: 1fr; }
  /* Stacked layout: the heading sits on its own row above the full-width
     button, so centre it instead of leaving it flush left. */
  .footer-cta { justify-content: center; }
  .footer-cta-text { flex-basis: 100%; text-align: center; }
  .footer-cta .btn { width: 100%; justify-content: center; }
}

/* ---- Contact page layout ---- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-info h2 { margin-bottom: var(--sp-3); }
.contact-info .info-block { margin-top: var(--sp-4); }
.contact-info .info-block h4 { color: #fff; margin-bottom: 0.5rem; }
.contact-info .info-block p { font-size: 0.95rem; line-height: 1.7; }
.map-embed { margin-top: var(--sp-5); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---- 404 / error page ---- */
.error-page {
  margin-top: 76px;            /* clear the fixed header */
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}
.error-code {
  display: block;
  font-family: var(--font-head);
  font-weight: 200;
  font-size: clamp(7rem, 22vw, 16rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-2);
}
.error-page h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

/* =============================================================
   RESPONSIVE — page sections
   ============================================================= */
@media (max-width: 980px) {
  .founder, .works-grid, .testimonial, .workflow, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  /* Founder: text first, image second on mobile */
  .founder .text-side { order: 1; }
  .founder .video-side { order: 2; }
  .testi-media .quote-mark { top: -24px; right: 16px; }
  .bts-slide { flex-basis: calc((100% - var(--sp-3)) / 1.6); }
  .ind-row { grid-template-columns: repeat(5, 1fr); gap: var(--sp-2); }   /* keep 2 rows */
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  /* Workflow (mobile): full-width detail card first, all number chips wrapped below (no scroll) */
  #workflow .workflow { grid-template-columns: 1fr; gap: var(--sp-3); }
  #workflow .step-detail { order: 1; }
  #workflow .steps {
    order: 2;
    flex-direction: row; flex-wrap: wrap;
    justify-content: center; gap: 0.5rem;
  }
  #workflow .step {
    flex: 0 0 auto;
    justify-content: center; padding: 0.55rem 0.95rem;
  }
  #workflow .step h4 { display: none; }                 /* remove the title on mobile */
  #workflow .step .num { min-width: 0; opacity: 1; font-size: 1.05rem; }   /* show only the number */
}
@media (max-width: 560px) {
  .form-grid-2, .checkbox-grid, .workflow .step-detail ul { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
  .stat-item:nth-child(2)::after { display: none; }   /* no divider at row end */
  /* industries: 4 per row on phones */
  .ind-row { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .ind-item { padding: 0.6rem 0.25rem; }
  .ind-item .icon-badge { width: 46px; height: 46px; margin-bottom: var(--sp-2); }
  .ind-item .icon-badge svg { width: 20px; height: 20px; }
  .ind-item h4 { font-size: 0.78rem; line-height: 1.2; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .founder .video-side { min-height: 260px; }
}
