/* =========================================================
   Deepprod website — global styles
   Liquid glass + cinematic dark + custom cursor + reveals
   ========================================================= */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #010107;
  color: #F7F7F7;
  font-family: "Poppins", sans-serif;

  overflow-x: hidden;
}
body {
  -webkit-font-smoothing: antialiased;
}
::selection { background: #00138B; color: #F7F7F7; }


a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }

img { display: block; max-width: 100%; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}


/* ---------- Liquid Glass ---------- */
/* Apple-style: thick blur + saturation boost + thin inner highlight + subtle outline */
.lg {
  position: relative;
  background: rgba(247, 247, 247, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(247, 247, 247, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(247, 247, 247, 0.18),
    inset 0 -1px 0 rgba(1, 1, 7, 0.4),
    0 20px 60px rgba(1, 1, 7, 0.5);
  border-radius: 22px;
  isolation: isolate;
}
/* Specular highlight overlay — the wet-glass shimmer */
.lg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(247, 247, 247, 0.18) 0%,
    rgba(247, 247, 247, 0.04) 28%,
    rgba(247, 247, 247, 0) 50%,
    rgba(0, 19, 139, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Bottom edge refraction line */
.lg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 60% at 50% -20%, rgba(247,247,247,0.22), transparent 60%);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.7;
  z-index: 1;
}
.lg > * { position: relative; z-index: 2; }

/* Tighter pill variant */
.lg-pill {
  border-radius: 999px;
}

/* Subtle deeper variant for nav */
.lg-nav {
  background: rgba(10, 10, 20, 0.45);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(247, 247, 247, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(247, 247, 247, 0.14),
    inset 0 -1px 0 rgba(1, 1, 7, 0.5),
    0 12px 40px rgba(1, 1, 7, 0.4);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dp-gradient-radial);
}
.hero-bg::after {
  /* slow breathing gradient */
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(45% 35% at 50% 30%, rgba(0, 19, 139, 0.55), transparent 70%);
  animation: breathe 11s var(--ease-in-out) infinite;
  filter: blur(40px);
}
@keyframes breathe {
  0%,100% { transform: scale(1) translateY(0); opacity: 0.9; }
  50% { transform: scale(1.15) translateY(-2%); opacity: 1; }
}
/* film grain */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.97 0 0 0 0 0.97 0 0 0 0 0.97 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.85);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: #F7F7F7;
  border-radius: 50%;
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero h1 {
  font-size: clamp(64px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 800;
  font-style: italic;
  text-transform: lowercase;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(2) span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.24s; }
@keyframes rise {
  to { transform: translateY(0); }
}
.hero h1 em {
  font-style: italic;
  color: rgba(247,247,247,0.4);
  font-weight: 300;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-top: 64px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeup 1s var(--ease-out) 0.6s forwards;
}
@keyframes fadeup {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-meta p {
  max-width: 420px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(247,247,247,0.78);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px 16px 22px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F7F7F7;
  transition: all var(--dur-base) var(--ease-out);
}
.hero-cta:hover { background: rgba(247,247,247,0.10); transform: translateY(-2px); }
.hero-cta .arrow {
  display: inline-block;
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width var(--dur-base) var(--ease-out);
}
.hero-cta .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.hero-cta:hover .arrow { width: 34px; }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.55);
  z-index: 2;
}
.hero-scroll .line {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, rgba(247,247,247,0.4), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: -56px; left: 0;
  width: 100%; height: 56px;
  background: linear-gradient(180deg, transparent, #F7F7F7);
  animation: scrollDown 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollDown {
  0% { top: -56px; }
  60%, 100% { top: 56px; }
}

/* ---------- Showreel under hero ---------- */
.showreel {
  position: relative;
  margin: 0 32px;
  height: 64vh;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  background: #010107;
  border: 1px solid rgba(247,247,247,0.08);
}
.showreel-media {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.7);
  will-change: transform;
}
.showreel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,1,7,0.1) 0%, rgba(1,1,7,0.4) 60%, rgba(1,1,7,0.85) 100%);
}
.showreel-play {
  position: absolute;
  bottom: 32px; left: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.showreel-meta {
  position: absolute;
  bottom: 32px; right: 32px;
  display: flex;
  gap: 32px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.7);
}
.showreel-meta strong {
  display: block;
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #F7F7F7;
  margin-top: 4px;
}

/* ---------- Section frame ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.section-head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.55);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 800;
  font-style: italic;
  text-transform: lowercase;
  margin: 0;
  max-width: 880px;
}
.section-head h2 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(247,247,247,0.45);
}
.section-head .count {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.4);
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 8px;
  font-feature-settings: "tnum";
}
.section-head .count strong {
  font-style: italic;
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #F7F7F7;
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.work-grid .work-card.span-2 { grid-column: span 2; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .work-card.span-2 { grid-column: span 1; }
}

.work-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #0a0a14;
  cursor: pointer;
  border: 1px solid rgba(247,247,247,0.06);
  transition: transform 600ms var(--ease-out);
  will-change: transform;
}
.work-card.span-2 { aspect-ratio: 21/9; }

.work-card .media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 1200ms var(--ease-out), filter 600ms var(--ease-out);
  filter: saturate(0.7) brightness(0.65);
}
.work-card:hover .media {
  transform: scale(1.1);
  filter: saturate(1.1) brightness(0.85);
}
.work-card .media-anim {
  /* the 'video' surrogate — animated gradient that emulates moving footage */
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
  mix-blend-mode: screen;
}
.work-card:hover .media-anim { opacity: 1; }

.work-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(1,1,7,0.85) 100%);
}
.work-card .info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 32px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.work-card .title {
  font-style: italic;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin: 0 0 10px;
}
.work-card .meta {
  display: flex;
  gap: 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.65);
}
.work-card .meta .dot { color: rgba(247,247,247,0.3); }
.work-card .index {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.5);
  font-feature-settings: "tnum";
  white-space: nowrap;
  align-self: end;
}
.work-card .tag {
  position: absolute;
  top: 24px; left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(10,10,20,0.45);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(247,247,247,0.14);
  color: rgba(247,247,247,0.9);
}
.work-card .tag .live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #F7F7F7;
  opacity: 0.5;
  transition: all 200ms;
}
.work-card:hover .tag .live {
  background: #00138B;
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(0,19,139,0.35);
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(1,1,7,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  position: relative;
  width: min(1240px, 100%);
  max-height: 92vh;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  transform: scale(0.96) translateY(20px);
  transition: transform 420ms var(--ease-out);
}
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }

@media (max-width: 900px) {
  .modal { grid-template-columns: 1fr; max-height: 96vh; overflow-y: auto; }
}
.modal-player {
  position: relative;
  background: #010107;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.modal-player .media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) brightness(0.8);
}
.modal-player .anim {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
}
.modal-player .timecode {
  position: absolute;
  top: 20px; left: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.85);
  font-feature-settings: "tnum";
}
.modal-player .timecode .rec {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #F7F7F7;
  animation: pulse 1.4s ease-in-out infinite;
}
.modal-player .ctrl {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 18px;
}
.modal-player .ctrl .progress {
  flex: 1;
  height: 2px;
  background: rgba(247,247,247,0.2);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.modal-player .ctrl .progress::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 38%;
  background: #F7F7F7;
}
.modal-info {
  padding: 48px 44px;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-left: 1px solid rgba(247,247,247,0.08);
  overflow-y: auto;
}
.modal-info .tag-row {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.modal-info .pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(247,247,247,0.16);
  color: rgba(247,247,247,0.75);
}
.modal-info h3 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 800;
  font-style: italic;
  text-transform: lowercase;
  margin: 0 0 16px;
}
.modal-info p.lead {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  color: rgba(247,247,247,0.78);
  margin: 0 0 36px;
}
.credits {
  display: grid;
  grid-template-columns: 130px 1fr;
  row-gap: 12px;
  border-top: 1px solid rgba(247,247,247,0.08);
  padding-top: 28px;
  font-size: 13px;
}
.credits dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.5);
  align-self: center;
}
.credits dd {
  margin: 0;
  font-weight: 300;
  color: rgba(247,247,247,0.95);
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 5;
  transition: transform 200ms var(--ease-out);
}
.modal-close:hover { transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; stroke: #F7F7F7; stroke-width: 1.5; fill: none; }

/* ---------- Clients marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(247,247,247,0.08);
  border-bottom: 1px solid rgba(247,247,247,0.08);
  padding: 28px 0;
  margin: 80px 0 0;
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: rgba(247,247,247,0.65);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 80px;
  transition: color 200ms;
}
.marquee-item:hover { color: #F7F7F7; }
.marquee-item::after {
  content: "·";
  color: rgba(247,247,247,0.25);
  font-style: normal;
  font-weight: 400;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(247,247,247,0.08);
  background: #010107;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-grid h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.45);
  margin: 0 0 20px;
  font-weight: 400;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(247,247,247,0.85);
  transition: color 200ms;
}
.footer-grid a:hover { color: #F7F7F7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(247,247,247,0.06);
}
.footer-mark {
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  line-height: 0.85;
  margin: 0 0 60px;
  color: #F7F7F7;
  background: linear-gradient(180deg, #F7F7F7 0%, rgba(247,247,247,0.15) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,247,247,0.5);
}

/* ---------- Responsive ---------- */

/* Tablet — ≤ 900px */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }

  .hero { padding: 100px 0 50px; }
  .hero-meta { margin-top: 40px; }
}

/* Mobile — ≤ 600px */
@media (max-width: 600px) {
  /* Nav */
  .nav-links a {
    padding: 8px 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
  }

  /* Hero */
  .hero { padding: 90px 0 40px; }
  .hero h1 { font-size: clamp(48px, 13vw, 120px); }
  .hero-meta { margin-top: 32px; gap: 20px; }
  .hero-meta p { font-size: 14px; max-width: 100%; }
  .hero-scroll { display: none; }

  /* Sections */
  .section { padding: 60px 0; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }
  .section-head h2 { font-size: clamp(32px, 9vw, 56px); }
  .section-head .count { align-items: flex-start; flex-direction: row; align-items: center; }
  .section-head .count strong { font-size: 36px; }

  /* Work cards */
  .work-grid { gap: 16px; }
  .work-card { border-radius: 14px; }
  .work-card .info { padding: 16px 20px; }
  .work-card .title { font-size: clamp(16px, 5vw, 28px); margin-bottom: 6px; }
  .work-card .meta { gap: 8px; font-size: 9px; }
  .work-card .index { display: none; }
  .work-card .tag { top: 16px; left: 16px; font-size: 9px; padding: 4px 10px; }

  /* Modal — bottom sheet */
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal {
    border-radius: 20px 20px 0 0;
    max-height: 95vh;
    width: 100%;
    transform: scale(1) translateY(40px);
  }
  .modal-backdrop.open .modal { transform: translateY(0); }
  .modal-info { padding: 24px 20px; }
  .modal-info h3 { font-size: clamp(24px, 7vw, 40px); }
  .modal-info p.lead { font-size: 14px; margin-bottom: 24px; }
  .modal-close { top: 12px; right: 12px; }
  .credits { grid-template-columns: 110px 1fr; font-size: 12px; }

  /* Footer */
  .footer { padding: 60px 0 32px; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
    margin-bottom: 40px;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-mark { margin-bottom: 40px; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d-1 { transition-delay: 80ms; }
.reveal-d-2 { transition-delay: 160ms; }
.reveal-d-3 { transition-delay: 240ms; }
.reveal-d-4 { transition-delay: 320ms; }

/* ---------- Animated 'video' gradients (hover preview surrogates) ---------- */
@keyframes drift1 {
  0%   { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 100% 50%, -50% 100%; }
}
@keyframes drift2 {
  0%   { background-position: 0% 0%; transform: scale(1.05); }
  50%  { background-position: 50% 80%; transform: scale(1.08); }
  100% { background-position: 100% 30%; transform: scale(1.05); }
}
.fx-night {
  background:
    radial-gradient(60% 80% at 30% 30%, rgba(0,19,139,0.55), transparent 70%),
    radial-gradient(70% 60% at 80% 80%, rgba(20, 30, 90, 0.5), transparent 70%);
  background-size: 200% 200%;
  animation: drift1 12s ease-in-out infinite alternate;
}
.fx-amber {
  background:
    radial-gradient(60% 80% at 70% 40%, rgba(255, 140, 50, 0.25), transparent 70%),
    radial-gradient(70% 60% at 20% 80%, rgba(0, 19, 139, 0.4), transparent 70%);
  background-size: 200% 200%;
  animation: drift1 14s ease-in-out infinite alternate;
}
.fx-mono {
  background:
    radial-gradient(60% 80% at 50% 30%, rgba(247,247,247,0.22), transparent 70%),
    radial-gradient(70% 60% at 30% 90%, rgba(247,247,247,0.08), transparent 70%);
  background-size: 200% 200%;
  animation: drift1 16s ease-in-out infinite alternate;
}
.fx-blue {
  background:
    radial-gradient(50% 70% at 60% 30%, rgba(0,19,139,0.7), transparent 70%),
    radial-gradient(70% 60% at 20% 80%, rgba(0,12,92,0.6), transparent 70%);
  background-size: 200% 200%;
  animation: drift1 10s ease-in-out infinite alternate;
}
.fx-rose {
  background:
    radial-gradient(60% 80% at 30% 60%, rgba(170, 60, 130, 0.4), transparent 70%),
    radial-gradient(70% 60% at 80% 20%, rgba(0, 19, 139, 0.5), transparent 70%);
  background-size: 200% 200%;
  animation: drift1 13s ease-in-out infinite alternate;
}
.fx-teal {
  background:
    radial-gradient(60% 80% at 30% 60%, rgba(40, 130, 150, 0.45), transparent 70%),
    radial-gradient(70% 60% at 80% 20%, rgba(0, 19, 139, 0.5), transparent 70%);
  background-size: 200% 200%;
  animation: drift1 11s ease-in-out infinite alternate;
}

/* Cinematic still 'photos' rendered as multi-stop gradients to evoke specific scenes */
.still-rooftop {
  background:
    linear-gradient(180deg, #1a2a4a 0%, #0a1230 35%, #050818 70%, #020308 100%),
    radial-gradient(80% 40% at 50% 80%, rgba(255,150,80,0.3), transparent 70%);
  background-blend-mode: screen;
}
.still-paris {
  background:
    linear-gradient(180deg, #2a1a0c 0%, #1a1020 40%, #050518 100%),
    radial-gradient(60% 50% at 30% 100%, rgba(255,120,40,0.5), transparent 70%);
  background-blend-mode: screen;
}
.still-club {
  background:
    radial-gradient(50% 70% at 50% 60%, rgba(180, 30, 130, 0.55), transparent 70%),
    linear-gradient(180deg, #060615 0%, #18062a 50%, #050510 100%);
  background-blend-mode: screen;
}
.still-arctic {
  background:
    linear-gradient(180deg, #b8d8e8 0%, #6090b0 30%, #1a3050 60%, #050c20 100%);
}
.still-arena {
  background:
    radial-gradient(70% 50% at 50% 30%, rgba(0,19,139,0.7), transparent 70%),
    linear-gradient(180deg, #050818 0%, #0a0c20 100%);
}
.still-runway {
  background:
    linear-gradient(180deg, #0a0a14 0%, #18101e 100%),
    radial-gradient(40% 30% at 50% 50%, rgba(247,247,247,0.18), transparent 70%);
  background-blend-mode: screen;
}
.still-doc {
  background:
    linear-gradient(180deg, #2a2218 0%, #1a1410 50%, #060606 100%);
}
.still-coast {
  background:
    linear-gradient(180deg, #6a8aa4 0%, #2a4a6a 40%, #050818 100%);
}
.still-studio {
  background:
    linear-gradient(180deg, #0a0a14 0%, #050510 100%),
    radial-gradient(40% 30% at 30% 40%, rgba(0,19,139,0.4), transparent 70%),
    radial-gradient(40% 30% at 70% 70%, rgba(180,40,60,0.3), transparent 70%);
  background-blend-mode: screen;
}
.still-night {
  background:
    radial-gradient(60% 70% at 30% 80%, rgba(255,180,80,0.25), transparent 70%),
    linear-gradient(180deg, #050818 0%, #08081a 50%, #030308 100%);
}
.still-couture {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(247,247,247,0.18), transparent 70%),
    linear-gradient(180deg, #18141e 0%, #08060a 100%);
}
.still-quai {
  background:
    linear-gradient(180deg, #1a2a3a 0%, #0a1828 50%, #04060c 100%),
    radial-gradient(40% 60% at 70% 60%, rgba(255,150,60,0.35), transparent 70%);
  background-blend-mode: screen;
}
