/* ============================================================
   Shri Krishna — Portfolio
   Type system: 3 sizes (lg / md / sm) · 3 weights (700 / 500 / 400)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f2;
  --ink: #0a0a0a;
  --ink-soft: #6b6b6b;
  --ink-faint: rgba(10, 10, 10, 0.26);
  --line: #e6e6e4;
  --accent: #57bd5a;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* three weights */
  --fw-reg: 400;
  --fw-med: 500;
  --fw-bold: 700;

  /* three sizes */
  --fs-lg: clamp(2.4rem, 6vw, 4.8rem);   /* display headings */
  --fs-md: clamp(1.2rem, 2.1vw, 1.85rem);/* statements / intros / titles */
  --fs-sm: 1rem;                          /* body / nav / buttons */
  --fs-mono: 0.72rem;                     /* small mono label */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { background: var(--bg); }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: 'Switzer', 'Inter', system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: var(--fw-reg);
  line-height: 1.6;
  overflow-x: hidden;
  /* native cursor stays visible; the ball rides on top */
}

.lenis.lenis-smooth { scroll-behavior: auto !important; }

a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }

.mono {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--fs-mono);
  font-weight: var(--fw-reg);
  line-height: 1.4;
}
.label { color: var(--ink-soft); }

/* ---------- Custom cursor ball ----------
   White ball + difference blend => renders BLACK over light areas and
   WHITE over dark areas, so it stays visible everywhere. It rides on top
   of the native cursor, follows fast, and squashes/stretches with speed. */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;         /* center on the transform origin */
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .25s var(--ease);
}
.cursor-dot.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor-dot.is-hidden { opacity: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled { padding: 14px 40px; border-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }

.logo { font-weight: var(--fw-bold); font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink-soft); }
.logo .logo-accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  position: relative;
  background: none; border: none;
  font-family: inherit; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta::after { display: none; }
.nav-cta .arrow { transition: transform .3s var(--ease); display: inline-block; }
.nav-cta:hover .arrow { transform: translateX(4px); }

.nav-dropdown { position: relative; }
.nav-drop-btn svg { transition: transform .3s var(--ease); }
.nav-dropdown.open .nav-drop-btn svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  min-width: 210px;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { padding: 10px 14px; border-radius: 9px; font-size: var(--fs-sm); font-weight: var(--fw-med); transition: background .2s var(--ease); }
.dropdown-menu a:hover { background: var(--bg-soft); }

.menu-toggle { display: none; background: none; border: none; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s var(--ease); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 26px;
  clip-path: circle(0% at 100% 0);
  transition: clip-path .6s var(--ease);
}
.mobile-menu.open { clip-path: circle(150% at 100% 0); }
.mobile-menu a { font-size: var(--fs-md); font-weight: var(--fw-bold); letter-spacing: -0.02em; }

/* ============================================================
   OVERLAP SCROLL — the hero is pinned; every following frame
   scrolls up and engulfs it. Following sections are opaque.
   ============================================================ */
/* main is an opaque layer that scrolls OVER the pinned hero (top); the spacer
   after it gives 100vh of scroll room so main scrolls UP to reveal the fixed
   contact (bottom) */
main { position: relative; z-index: 1; background: var(--bg); }
.hero { position: sticky; top: 0; z-index: 0; }
/* :where() keeps specificity at zero so case-study pages can restyle their
   own sections (dark scenes, stat bands) with simple class selectors */
main > :where(section:not(.hero)) { position: relative; z-index: 1; background: var(--bg); }
.footer-spacer { height: 100vh; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}
.hero-inner { text-align: center; }
.hero-title {
  font-weight: var(--fw-bold);
  letter-spacing: -0.045em;
  line-height: 1;
  font-size: var(--fs-lg);
}
.reveal-line { display: block; overflow: hidden; padding: 0.14em 0.04em; margin: -0.14em -0.04em; }
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.hero-title.in .reveal-line > span { transform: translateY(0); }

.hero-sub {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: var(--fw-reg);
  line-height: 1.5;
}
/* tertiary line under the subheadline — smaller and quieter */
.hero-sub2 {
  margin-top: 14px;
  color: rgba(24, 22, 19, .42);
  font-size: 0.72rem;
  font-weight: var(--fw-reg);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.reveal-fade { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-fade.in { opacity: 1; transform: none; }

.hero-footer {
  position: absolute;
  bottom: 34px; left: 0; right: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.corner-left, .corner-right { color: var(--ink); }

.scroll-down {
  position: absolute;
  left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  display: grid; place-items: center;
  text-align: center;
}
.scroll-ring { position: absolute; inset: 0; border: 1px solid var(--ink); border-radius: 50%; animation: spin 12s linear infinite; }
.scroll-down:hover .scroll-ring { border-color: var(--accent); }
.scroll-text { font-family: 'Space Mono', monospace; font-size: 11px; line-height: 1.2; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Gradient placeholders (swap for real images) ---------- */
.grad-1 { background: linear-gradient(135deg,#2b3a4a,#5b7089); }
.grad-2 { background: linear-gradient(135deg,#5a3b2a,#a5764a); }
.grad-3 { background: linear-gradient(135deg,#2b5c3a,#57bd5a); }
.grad-4 { background: linear-gradient(135deg,#23324d,#4a6fa5); }
.grad-5 { background: linear-gradient(135deg,#4a2b52,#a06fb0); }
.grad-6 { background: linear-gradient(135deg,#1b1b1b,#3f3f3f); }
.grad-7 { background: linear-gradient(135deg,#6b2b3a,#c25a70); }
.grad-8 { background: linear-gradient(135deg,#111,#333); }
.grad-9 { background: linear-gradient(135deg,#7a3b52,#d98fa0); }

/* ---------- Showcase (engulfs the hero) ---------- */
.showcase {
  height: 100vh;
  min-height: 560px;
  display: grid; place-items: center;
  overflow: hidden;
  background: #0e0e0e;
}
/* The showreel sits full-bleed behind the headline. The gradient stays as
   the fallback the video paints over, so the section is never blank while
   the file loads. */
.showcase-media { position: absolute; inset: 0; background: linear-gradient(135deg,#0e0e0e,#3a3632 60%,#6c6157); }
/* The footage steps back so the headline leads: slightly lifted contrast/
   brightness/saturation plus a 2.5px blur. scale(1.02) tucks the blur's soft
   edge outside the frame. The title is its own layer — never filtered. */
.showcase-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(0.87) brightness(0.93) saturate(0.91) blur(2.5px);
  transform: scale(1.02);
}
/* Flat 12% black scrim — just enough to quiet the footage under the white
   headline. Keep it in the 10–14% band; past 15% the film starts to read as
   darkened rather than graded. */
.showcase-media::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: rgba(0,0,0,0.12);
}
.showcase-title {
  position: relative; z-index: 2;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  padding: 0 24px;
  line-height: 1;
}

/* ---------- Section frame heads (consistent) ---------- */
.frame-pad { padding: 110px 40px; }
.section-head-2 { display: grid; grid-template-columns: 160px 1fr; gap: 40px; }

/* ---------- Works (natural scroll) ---------- */
.works { padding: 104px 40px 104px; max-width: 1500px; margin: 0 auto; }
.works-head { display: grid; grid-template-columns: 150px 1fr; gap: 30px; margin-bottom: 52px; align-items: start; }
.works-head .label { padding-top: 5px; letter-spacing: 0.18em; }
.works-intro { max-width: 440px; font-size: 1.15rem; font-weight: var(--fw-med); line-height: 1.4; letter-spacing: 0; }

/* Featured trio — 3 flagship case studies in one row */
.works-featurehead { margin-bottom: 26px; }
.works-featurehead .label { color: var(--ink-soft); }
.works-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 64px; }
.works-rest[hidden] { display: none; }
.works-rest { margin-top: 40px; }
.feat-card { display: block; }
.feat-media {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--bg-soft);
}
.feat-media img, .feat-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.feat-media::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .4s var(--ease); }
.feat-card:hover .feat-media img, .feat-card:hover .feat-media video { transform: scale(1.035); }
.feat-card:hover .feat-media::after { background: rgba(0,0,0,.14); }
.feat-cap { padding: 18px 2px 0; }
.feat-cap h3 { font-size: 1.2rem; font-weight: var(--fw-med); letter-spacing: -0.01em; }
.feat-cap span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 0.92rem; }

.works-otherhead { margin-bottom: 30px; }
.works-otherhead .label { color: var(--ink-soft); }

/* natural masonry — varied heights via per-card --ar */
.works-grid { columns: 3; column-gap: 26px; }
.work-card {
  display: block; position: relative; width: 100%;
  break-inside: avoid; margin-bottom: 26px;
  border-radius: 14px; overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: var(--ar, 16/10);
  transition: transform .5s var(--ease);
}
.work-card img, .work-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.work-card::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .4s var(--ease); z-index: 1; }
.work-card:hover::after { background: rgba(0,0,0,.24); }
.work-card.is-more { display: none; }
.work-card.is-more.show { display: block; }

/* title/subtitle overlay — only appears on hover */
.wc-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 24px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.work-card:hover .wc-overlay { opacity: 1; transform: none; }
.wc-overlay h3 { font-size: var(--fs-sm); font-weight: var(--fw-med); letter-spacing: -0.01em; }
.wc-overlay span { font-size: var(--fs-mono); opacity: .82; }
.wc-caption { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: rgba(255,255,255,.85); }

.view-pill {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-weight: var(--fw-med); font-size: 1.05rem; letter-spacing: -0.01em;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .3s var(--ease);
}
.view-pill.show { transform: translate(-50%, -50%) scale(1); }

.works-more { text-align: center; margin-top: 52px; }
.pill-btn {
  background: var(--ink); color: #fff;
  border: none; font-family: inherit;
  font-weight: var(--fw-med); font-size: var(--fs-sm);
  padding: 14px 28px; border-radius: 40px;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.pill-btn:hover { transform: translateY(-2px); background: #222; }

/* ---------- About (full 100vh frame: name top, statement mid, bio bottom) ---------- */
.about {
  height: 100vh; min-height: 640px;
  max-width: 1500px; margin: 0 auto;
  padding: 104px 40px 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 60px;
}
.about-left { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.about-name { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: var(--fw-bold); letter-spacing: -0.04em; line-height: 1; }
.about-statement {
  max-width: 560px;
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  font-weight: var(--fw-med); letter-spacing: -0.01em; line-height: 1.28;
  color: var(--ink-faint);
}
/* words darken one-by-one as the section scrolls (JS sets per-word color) */
.about-statement .fw { color: var(--ink-faint); transition: color .18s linear; }
/* bio sits lower-left, indented in — like the reference */
.about-bio { margin-left: 46%; max-width: 340px; }
.about-bio p { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: var(--fw-med); }
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(5px); }
.about-photo { height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Services (symmetric top/bottom spacing; list shifted right) ---------- */
.services { min-height: 100vh; max-width: 1500px; margin: 0 auto; padding: 104px 40px 104px; }
/* head identical to .works-head so both sections match */
.services-head { display: grid; grid-template-columns: 150px 1fr; gap: 30px; margin-bottom: 160px; align-items: start; }
.services-head .label { padding-top: 5px; letter-spacing: 0.18em; }
.services-intro { max-width: 440px; font-size: 1.15rem; font-weight: var(--fw-med); line-height: 1.4; color: var(--ink); }
.services-body { display: grid; grid-template-columns: 320px 1fr; gap: 110px; align-items: start; }
.services-detail { position: sticky; top: 120px; }
.sd-img { width: 100%; aspect-ratio: 4/3; border-radius: 14px; margin-bottom: 22px; transition: background .4s var(--ease); background-size: cover; background-position: center; }
.sd-text { font-size: 1.02rem; line-height: 1.5; color: var(--ink); max-width: 340px; }

.services-list { list-style: none; border-top: 1px solid var(--line); padding-left: 40px; }
.service-item {
  display: flex; align-items: flex-start; gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.service-item .s-num { font-family: 'Space Mono', monospace; font-size: 0.85rem; padding-top: 0.5em; }
/* lighter weight + looser tracking to match the reference letterforms */
.service-item .s-name { font-size: clamp(1.85rem, 4.1vw, 3.5rem); font-weight: 600; letter-spacing: -0.012em; line-height: 1.06; }
.service-item.is-active { color: var(--ink); border-bottom: 2px solid var(--ink); }

/* ---------- Contact (fixed footer — revealed as the page scrolls up) ---------- */
.contact {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 0;
  height: 100vh;
  background: var(--ink); color: #fff;
  padding: 120px 40px 34px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 60px;
}
.contact-top {
  flex: 1;
  max-width: 1500px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px;
  align-items: center;
}
.contact-brand { display: flex; flex-direction: column; gap: 26px; }
.contact-logo { font-size: 1.9rem; color: rgba(255,255,255,.55); }
.contact-logo .logo-accent { color: var(--accent); }
.contact-role { font-size: var(--fs-sm); font-weight: var(--fw-med); line-height: 1.5; color: #fff; }

.contact-cta { }
.contact-title {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  font-weight: var(--fw-bold); letter-spacing: -0.035em; line-height: 1.02;
}
.contact-link { margin-top: 34px; font-size: var(--fs-md); color: #fff; }

.contact-bottom {
  max-width: 1500px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.contact-meta, .contact-nav { display: flex; flex-wrap: wrap; gap: 34px; }
.contact-bottom a { font-size: var(--fs-sm); font-weight: var(--fw-med); color: rgba(255,255,255,.7); transition: color .3s var(--ease); }
.contact-bottom a:hover { color: #fff; }
.contact-legal {
  width: 100%;
  margin-top: 4px;
  font-family: 'Space Mono', monospace;
  font-size: var(--fs-mono);
  color: rgba(255,255,255,.42);
}

/* ---------- Open-arrow hint on project hover ---------- */
.feat-cap h3::after, .wc-overlay h3::after, .reel-cap b::after {
  content: '\2197';
  display: inline-block;
  margin-left: 8px;
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.feat-card:hover .feat-cap h3::after,
.feat-card:focus-visible .feat-cap h3::after,
.work-card:hover .wc-overlay h3::after,
.work-card:focus-visible .wc-overlay h3::after,
.reel:hover .reel-cap b::after,
.reel:focus-visible .reel-cap b::after { opacity: 1; transform: none; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* work-card images reveal a touch bigger for a nicer "settle" */
.work-card[data-reveal] { transform: translateY(46px) scale(0.96); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.work-card[data-reveal].in { transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .works-grid { columns: 2; }
  .works-featured { gap: 20px; }
}

@media (max-width: 900px) {
  .site-header, .hero-footer, .hero { padding-left: 22px; padding-right: 22px; }
  .hero-sub br { display: none; }  /* let the subheadline wrap naturally on small screens */
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .works, .about, .services, .contact { padding-left: 22px; padding-right: 22px; }
  .works-head, .services-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
  .services-head { margin-bottom: 72px; }  /* keep the intro clear of the list container on mobile */
  .works-featured { grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
  .about { grid-template-columns: 1fr; grid-template-rows: auto; gap: 34px; padding-top: 96px; padding-bottom: 70px; height: auto; min-height: auto; }
  .about-left { gap: 26px; height: auto; }
  .about-bio { margin-left: 0; margin-top: 6px; max-width: 460px; }
  .about-photo { height: auto; aspect-ratio: 4/5; }
  .services { min-height: auto; }
  .services-intro { justify-self: start; }
  .services-body { grid-template-columns: 1fr; gap: 28px; }
  .services-detail { position: static; }
  /* on small screens drop the fixed-reveal — normal flow is safer */
  .footer-spacer { height: 0; }
  .contact { position: static; height: auto; min-height: auto; padding-top: 100px; }
  .contact-top { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .contact-bottom { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-footer .mono { font-size: 10px; max-width: 42%; }
}

@media (max-width: 640px) {
  .works-grid { columns: 1; }
  .contact { min-height: auto; }
}

@media (max-width: 560px) {
  .hero-footer .corner-left, .hero-footer .corner-right { display: none; }
  .scroll-down { position: static; transform: none; margin: 0 auto; }
  .hero-footer { justify-content: center; }
  .service-item { gap: 14px; }
}

/* Touch devices: restore native cursor */
@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .view-pill { display: none; }
  .menu-toggle { cursor: pointer; }
}


/* ---------- Graphics + Motion strips ----------
   Same rhythm as .works: a label/intro head, then grouped grids.
   Media is shown at its natural aspect so nothing gets cropped. */
.strip { padding: 104px 40px; max-width: 1500px; margin: 0 auto; }
.strip-head { display: grid; grid-template-columns: 150px 1fr; gap: 30px; margin-bottom: 52px; align-items: start; }
.strip-head .label { padding-top: 5px; letter-spacing: 0.18em; }
.strip-intro { max-width: 440px; font-size: 1.15rem; font-weight: var(--fw-med); line-height: 1.4; letter-spacing: 0; }

.strip-group { margin: 0 0 22px; padding-top: 8px; border-top: 1px solid var(--border); }
.strip + .strip { padding-top: 0; }
.strip-tag { display: block; margin: 18px 0 8px; letter-spacing: 0.18em; color: var(--text-muted); }
.strip-note { max-width: 62ch; font-size: 1rem; font-weight: var(--fw-reg); line-height: 1.55; color: var(--text-muted); margin: 0; }

@media (max-width: 1000px) {
  .strip-grid--tall { grid-template-columns: repeat(2, 1fr); }
  .strip-grid--three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .strip { padding: 72px 22px; }
  .strip-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 34px; }
  .strip-grid--wide, .strip-grid--three, .strip-grid--tall { grid-template-columns: 1fr; }
}



/* ---------- Brand reels ----------
   Four fixed tiles, one per body of work, each holding a short film cut
   from that brand's stills. They play one at a time in sequence rather
   than all at once: four looping videos side by side is noise, and the
   eye has nowhere to go. reel.js owns the running order.

   271px is the old carousel tile plus 15%. */
.car-sec { padding: 104px 40px; max-width: 1500px; margin: 0 auto; }
.car-head { display: grid; grid-template-columns: 150px 1fr; gap: 30px; margin-bottom: 52px; align-items: start; }
.car-head .label { padding-top: 5px; letter-spacing: 0.18em; }
.car-intro { max-width: 440px; font-size: 1.15rem; font-weight: var(--fw-med); line-height: 1.4; letter-spacing: 0; }

/* Centred rather than left aligned: four fixed-width tiles inside a 1500px
   container would otherwise sit off to one side with dead space beside them. */
.reel-grid { display: grid; grid-template-columns: repeat(4, 271px); gap: 26px; justify-content: center; }
.reel {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: 14px; background: var(--bg-soft);
  text-decoration: none; color: inherit;
}
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The tile that is not currently playing sits back a little, so the running
   one reads as the active piece without anything flashing or moving. */
.reel::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(250,249,247,.42);
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.reel.is-playing::before { opacity: 0; }
.reel::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 34%, rgba(0,0,0,0) 60%);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.reel:hover::after, .reel:focus-visible::after { opacity: 1; }

.reel-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.reel-cap b {
  display: block; color: #fff; font-size: 1rem; font-weight: var(--fw-med);
  letter-spacing: -0.01em; opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.reel-cap span {
  display: block; margin-top: 3px; color: rgba(255,255,255,.78); font-size: 0.8rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.reel:hover .reel-cap b, .reel:hover .reel-cap span,
.reel:focus-visible .reel-cap b, .reel:focus-visible .reel-cap span { opacity: 1; transform: none; }

@media (max-width: 1220px) {
  .reel-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .reel-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .car-sec { padding: 72px 22px; }
  .car-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 34px; }
  .reel-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .reel-cap b { font-size: 0.85rem; }
  .reel-cap span { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .001s !important; }
}
