/* ============================================================
   HERO-ZOOM (trial) — scroll-scrubbed 3D room → desktop screen
   Fully scoped under .zhero — does not touch existing styles.
   ============================================================ */

/* Lenis compatibility: CSS smooth-scroll must be OFF while Lenis drives
   the scroll, otherwise the two fight and scrolling locks up completely */
html.lenis, html.lenis body { scroll-behavior: auto !important; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

.zhero {
  position: relative;
  width: 100%;
  background: #1a120c;
  z-index: 5;
}

.zhero__stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh; /* stable on mobile — no URL-bar jump */
  overflow: hidden;
}

.zhero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- loading indicator ---- */
.zhero__loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #1a120c;
  color: #f5e9dd;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 6;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.zhero__loading.is-hidden { opacity: 0; visibility: hidden; }
.zhero__loading-bar {
  width: 180px; height: 2px;
  background: rgba(245, 233, 221, 0.15);
  overflow: hidden; border-radius: 2px;
}
.zhero__loading-fill {
  width: 0%; height: 100%;
  background: #e8734a;
  transition: width 0.2s ease;
}

/* ---- BLUE SIDE PANEL (logo + copy + scroll instruction) ----
   fades out as you start scrolling                              */
.zhero__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 40vw);
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 90px 36px 40px;
  color: #fff;
  pointer-events: none;
  background: linear-gradient(
    to left,
    rgba(14, 33, 86, 0.88) 0%,
    rgba(14, 33, 86, 0.72) 55%,
    rgba(14, 33, 86, 0.35) 82%,
    transparent 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.zhero__panel-logo img {
  display: block;
  height: 74px;
  width: auto;
  filter: brightness(1.6) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}
.zhero__intro-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9db8ff;
}
.zhero__intro-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.zhero__intro-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #ffd9be;
}
.zhero__panel-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 300px;
}
.zhero__panel-scroll {
  margin-top: 4vh;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
}
.zhero__panel-scroll svg {
  width: 18px;
  height: 18px;
  animation: zheroBounce 1.5s ease-in-out infinite;
}
@keyframes zheroBounce {
  0%, 100% { transform: translateY(-3px); opacity: 0.6; }
  50%      { transform: translateY(4px);  opacity: 1; }
}

/* ---- scroll hint (old, replaced by panel instruction) ---- */
.zhero__hint[hidden] { display: none !important; }
.zhero__hint {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.9;
}
.zhero__hint-line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  animation: zheroHint 1.6s ease-in-out infinite;
}
@keyframes zheroHint {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- the "screen" overlay (positioned by JS over the monitor) ---- */
.zhero__screen {
  position: absolute;
  z-index: 5;
  overflow: hidden;
  background: #0d0a09;
  opacity: 0;
  visibility: hidden;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 80px rgba(232,115,74,0.25) inset;
}
.zhero__screen::after {
  /* subtle scanline / vignette so it feels like a display */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0,0,0,0.5) 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.015) 0 1px, transparent 1px 3px);
  z-index: 3;
}

.zhero__screen-glow {
  position: absolute; inset: 0;
  background: #fff;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}

/* desktop-ish top bar inside the screen */
.zhero__screen-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.zhero__screen-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.zhero__screen-bar i:nth-child(1) { background: #ff5f57; }
.zhero__screen-bar i:nth-child(2) { background: #febc2e; }
.zhero__screen-bar i:nth-child(3) { background: #28c840; }
.zhero__screen-bar span { margin-left: 10px; }

/* horizontal works track */
.zhero__viewport {
  position: absolute;
  inset: 34px 0 0 0;
  overflow: hidden;
  z-index: 1;
}
.zhero__track {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 3vw;
  padding: 0 6vw;
  will-change: transform;
}
.zhero__card {
  position: relative;
  flex: 0 0 auto;
  height: 62%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: #201712;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.zhero__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  will-change: transform;
}
.zhero__card figcaption {
  position: absolute;
  left: 10px; bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* big title card at start of track */
.zhero__card--title {
  aspect-ratio: auto;
  width: auto;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-right: 2vw;
  overflow: visible;
}
.zhero__card--title .zhero__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8734a;
}
.zhero__card--title h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(20px, 2.6vw, 44px);
  line-height: 1.05;
  white-space: nowrap;
}
.zhero__card--title h3 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #ffd9be;
}
.zhero__card--title p {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
}

/* end card */
.zhero__card--end {
  aspect-ratio: auto;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 0 4vw;
}
.zhero__card--end a {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 28px);
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #e8734a;
  padding-bottom: 4px;
  white-space: nowrap;
  pointer-events: auto;
}

/* ---- MOBILE: panel becomes a bottom sheet, everything readable ---- */
@media (max-width: 720px) {
  /* middle of screen, anchored right — video stays visible on the left */
  .zhero__panel {
    top: 0; bottom: 0;
    left: auto; right: 0;
    width: min(78vw, 320px);
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    gap: 12px;
    padding: 20px 18px 20px 34px;
    background: linear-gradient(
      to left,
      rgba(14, 33, 86, 0.88) 0%,
      rgba(14, 33, 86, 0.66) 60%,
      rgba(14, 33, 86, 0.25) 85%,
      transparent 100%
    );
  }
  .zhero__panel-logo img { height: 52px; }
  .zhero__intro-eyebrow { font-size: 8px; letter-spacing: 0.22em; }
  .zhero__intro-title { font-size: clamp(22px, 6.5vw, 30px); }
  .zhero__panel-sub { font-size: 12px; max-width: 100%; }
  .zhero__panel-scroll { margin-top: 12px; }
  .zhero__card { height: 55%; }
  .zhero__screen { border-radius: 4px; }
  .zhero__screen-bar { height: 26px; font-size: 8px; }
  .zhero__viewport { inset: 26px 0 0 0; }
  .zhero__finale-img { width: 96vw; }
  .zhero__finale-eyebrow { font-size: 8px; letter-spacing: 0.25em; }
}

/* reduced motion: no pin, just show first frame + works grid-free fallback */
@media (prefers-reduced-motion: reduce) {
  .zhero__hint-line { animation: none; }
}

/* ============================================================
   FINALE — "CONNECTED CREATIVITY" emerges from inside the screen
   ============================================================ */
.zhero__finale {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #ffffff;           /* matches site --paper for seamless handoff */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.zhero__finale-inner {
  text-align: center;
  will-change: transform, filter;
}
.zhero__finale-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(9px, 1vw, 12px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #e8734a;
  margin-bottom: 2vh;
  opacity: 0;
}
.zhero__finale-img {
  display: block;
  width: 94vw;
  max-width: none;
  height: auto;
  margin: 0 auto;
  will-change: clip-path, transform, filter;
}

/* ============================================================
   SERVICES MOTION — creative animation for the Practice section
   Pre-states apply only when JS arms them (.sm-armed), so the
   section is untouched if scripts don't run.
   ============================================================ */

/* -- disciplines strip: masked word reveal + scroll drift -- */
.disciplines.sm-armed { overflow: hidden; }
.disciplines.sm-armed .disc,
.disciplines.sm-armed .disc__sep {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.disciplines.sm-armed.sm-in .disc,
.disciplines.sm-armed.sm-in .disc__sep {
  transform: translateY(0);
  opacity: 1;
}
.disciplines.sm-armed .disc__sep { transition-duration: 1.2s; }

/* -- cards: cascading inner reveals when each card enters -- */
.cats.sm-armed .cat { position: relative; }

.cats.sm-armed .cat .cat__num {
  display: inline-block;
  transform: translateY(26px) rotate(-4deg);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
.cats.sm-armed .cat.sm-in .cat__num { transform: none; opacity: 1; }

.cats.sm-armed .cat .cat__kicker {
  transform: translateX(14px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, opacity 0.5s ease 0.15s;
}
.cats.sm-armed .cat.sm-in .cat__kicker { transform: none; opacity: 1; }

.cats.sm-armed .cat .cat__title { position: relative; padding-bottom: 6px; }
.cats.sm-armed .cat .cat__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  border-radius: 2px;
  background: #e8734a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.cats.sm-armed .cat.sm-in .cat__title::after { transform: scaleX(1); }

.cats.sm-armed .cat .cat__desc {
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s, opacity 0.5s ease 0.2s;
}
.cats.sm-armed .cat.sm-in .cat__desc { opacity: 1; transform: none; }

.cats.sm-armed .cat .cat__list li {
  opacity: 0;
  transform: translateX(-16px);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
  transition-delay: calc(0.3s + var(--i, 0) * 50ms);
}
.cats.sm-armed .cat.sm-in .cat__list li { opacity: 1; transform: none; }

.cats.sm-armed .cat .cat__cta {
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.55s, opacity 0.5s ease 0.55s;
}
.cats.sm-armed .cat.sm-in .cat__cta { opacity: 1; transform: none; }

/* -- hover: cursor-following glow + lift (tilt handled in JS) -- */
.cats.sm-armed .cat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(232, 115, 74, 0.14),
    transparent 46%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.cats.sm-armed .cat:hover::before { opacity: 1; }

/* keep content above the glow */
.cats.sm-armed .cat > * { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .disciplines.sm-armed .disc,
  .disciplines.sm-armed .disc__sep,
  .cats.sm-armed .cat .cat__num,
  .cats.sm-armed .cat .cat__kicker,
  .cats.sm-armed .cat .cat__desc,
  .cats.sm-armed .cat .cat__list li,
  .cats.sm-armed .cat .cat__cta {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* ============================================================
   WORK BENTO — portfolio grid as a 3D bento layout
   Active only when JS adds .sm-bento (safe fallback otherwise)
   ============================================================ */
.work__grid.sm-bento {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 172px;
  grid-auto-flow: dense;
  gap: 16px;
  perspective: 1400px;
}
.work__grid.sm-bento .work-card {
  animation: none;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  /* entrance pre-state */
  opacity: 0;
  transform: translateY(30px) scale(0.94) rotateX(7deg);
  transition:
    opacity 0.6s ease var(--d, 0ms),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
}
.work__grid.sm-bento .work-card.wk-in {
  opacity: 1;
  transform: none;
}
.work__grid.sm-bento .work-card__media {
  aspect-ratio: auto;
  height: 100%;
}
.work__grid.sm-bento .work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work__grid.sm-bento .b-lg   { grid-column: span 2; grid-row: span 2; }
.work__grid.sm-bento .b-wide { grid-column: span 2; }
.work__grid.sm-bento .b-tall { grid-row: span 2; }

/* cursor-following glow on cards */
.work__grid.sm-bento .work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--mx, 50%) var(--my, 50%),
    rgba(232, 115, 74, 0.16),
    transparent 46%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 3;
}
.work__grid.sm-bento .work-card:hover::after { opacity: 1; }

@media (max-width: 900px) {
  .work__grid.sm-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 520px) {
  .work__grid.sm-bento { grid-auto-rows: 128px; gap: 10px; }
}

/* ============================================================
   FOUNDERS MOTION — portraits with 3D presence
   ============================================================ */
.founders__grid.sm-armed .founder__media {
  clip-path: inset(10% 7% 10% 7% round 24px);
  transform: scale(0.96);
  transition:
    clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.founders__grid.sm-armed .founder.fd-in .founder__media {
  clip-path: inset(0 0 0 0 round 24px);
  transform: none;
}
.founders__grid.sm-armed .founder__media img {
  transform: scale(1.14);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, filter 0.6s ease;
  will-change: transform;
}
.founders__grid.sm-armed .founder.fd-in .founder__media img { transform: scale(1.03); }
.founders__grid.sm-armed .founder:hover .founder__media img {
  filter: grayscale(0.15) contrast(1.03);
  transform: scale(1.08);
}

/* shine sweep across the portrait when it reveals */
.founders__grid.sm-armed .founder__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-160%);
  z-index: 2;
  pointer-events: none;
}
.founders__grid.sm-armed .founder.fd-in .founder__media::after {
  transition: transform 1.1s ease 0.45s;
  transform: translateX(160%);
}

/* caption cascade */
.founders__grid.sm-armed .founder .founder__role,
.founders__grid.sm-armed .founder .founder__name,
.founders__grid.sm-armed .founder .founder__line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
}
.founders__grid.sm-armed .founder .founder__role  { transition-delay: 0.25s; }
.founders__grid.sm-armed .founder .founder__name  { transition-delay: 0.35s; }
.founders__grid.sm-armed .founder .founder__line  { transition-delay: 0.45s; }
.founders__grid.sm-armed .founder.fd-in .founder__role,
.founders__grid.sm-armed .founder.fd-in .founder__name,
.founders__grid.sm-armed .founder.fd-in .founder__line {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .work__grid.sm-bento .work-card,
  .founders__grid.sm-armed .founder__media,
  .founders__grid.sm-armed .founder__media img,
  .founders__grid.sm-armed .founder .founder__role,
  .founders__grid.sm-armed .founder .founder__name,
  .founders__grid.sm-armed .founder .founder__line {
    transition: none;
    transform: none;
    opacity: 1;
    clip-path: none;
  }
}

/* ============================================================
   ZDISC — 4-category bento right below CONNECTED CREATIVITY
   Image tiles + dark shade + 3D motion
   ============================================================ */
.zdisc {
  position: relative;
  background: #ffffff;
  padding: clamp(40px, 7vh, 90px) clamp(18px, 5vw, 72px) clamp(50px, 8vh, 100px);
  z-index: 4;
}
.zdisc__head { max-width: 1500px; margin: 0 auto 34px; }

.zdisc__grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 16px;
  perspective: 1400px;
}
.zdisc-tile--lg   { grid-column: span 2; grid-row: span 2; }
.zdisc-tile--wide { grid-column: span 2; }

.zdisc-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #14100d;
  transform-style: preserve-3d;
  /* entrance pre-state (armed by JS) */
  opacity: 0;
  transform: translateY(34px) scale(0.94) rotateX(8deg);
  transition:
    opacity 0.6s ease var(--d, 0ms),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
}
.zdisc-tile.zd-in { opacity: 1; transform: none; }
.zdisc.no-motion .zdisc-tile { opacity: 1; transform: none; }

.zdisc-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);   /* base; GSAP drives zoom + parallax */
  will-change: transform;
}

/* dark shade — slightly stronger on top area, strong at the bottom
   so text always reads cleanly over the artwork */
.zdisc-tile__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10, 8, 6, 0.38) 0%,
      rgba(10, 8, 6, 0.12) 32%,
      rgba(10, 8, 6, 0.18) 55%,
      rgba(10, 8, 6, 0.78) 100%);
  transition: opacity 0.4s ease;
  z-index: 1;
}
.zdisc-tile:hover .zdisc-tile__shade { opacity: 0.85; }

/* cursor glow */
.zdisc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(232, 115, 74, 0.22),
    transparent 46%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.zdisc-tile:hover::after { opacity: 1; }

.zdisc-tile__inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  color: #fff;
}
.zdisc-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zdisc-tile__num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}
.zdisc-tile__count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 999px;
}
.zdisc-tile__bottom h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 40px);
  line-height: 1.05;
  margin-bottom: 6px;
}
.zdisc-tile__bottom p {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 340px;
  margin-bottom: 12px;
}
.zdisc-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffd9be;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.zdisc-tile__cta svg { width: 16px; height: 16px; }
.zdisc-tile:hover .zdisc-tile__cta { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .zdisc__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .zdisc-tile--lg { grid-column: span 2; grid-row: span 2; }
  .zdisc-tile--wide { grid-column: span 2; }
  .zdisc-tile__cta { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zdisc-tile { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   UNIFORM WORK GRID — all cards same size (no masonry)
   (user request: koi chota ya bada nahi; sab same size)
   ============================================================ */
.work__grid.sm-bento {
  grid-template-columns: repeat(4, 1fr) !important;
  grid-auto-rows: auto !important;
  grid-auto-flow: row !important;
}
.work__grid.sm-bento .work-card { height: auto !important; }
.work__grid.sm-bento .work-card__media {
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
}
.work__grid.sm-bento .b-lg,
.work__grid.sm-bento .b-wide,
.work__grid.sm-bento .b-tall {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}
@media (max-width: 900px) {
  .work__grid.sm-bento { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
  .work__grid.sm-bento { grid-template-columns: 1fr !important; }
}
