/* SSV — Watch Episodes (Figma node 805:927) */

:root {
  --we-bg: #201d13;
  --we-cream: #f4f3ef;
  --we-red: #ff281b;
  --we-muted: #929ec6;
  --we-max: 1440px;
  --we-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.ssv-we-page,
body.page-ssv-we {
  margin: 0;
  background: var(--we-bg);
  color: var(--we-cream);
  font-family: 'Fustat', 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-ssv-we {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Top bar (aligned with ssv.html) ─── */
.ssv-we-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px clamp(20px, 4vw, 72px);
  max-height: 110px;
  overflow: hidden;
  opacity: 1;
  pointer-events: none;
  transition:
    transform 320ms var(--we-ease),
    opacity 220ms ease;
}
.ssv-we-top > * { pointer-events: auto; }
.ssv-we-top.is-collapsed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.ssv-we-top__logo img {
  display: block;
  height: 17px;
  width: auto;
  /* Dark (#201d13) page theme — render the red brand mark white for legibility */
  filter: brightness(0) invert(1);
}

.ssv-we-top__nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  margin-left: auto;
  margin-right: clamp(0px, 0.8vw, 8px);
  mix-blend-mode: exclusion;
}

.ssv-we-top__nav a {
  font-family: 'Fustat', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--we-muted);
  transition: color 0.25s var(--we-ease);
}
.ssv-we-top__nav a:hover { color: var(--we-cream); }
.ssv-we-top__nav a:nth-of-type(2) { color: var(--we-cream); }
.ssv-we-top__nav a.is-current {
  color: var(--we-cream);
}

.ssv-we-top__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  mix-blend-mode: exclusion;
}
.ssv-we-top__menu img { display: block; width: 12px; height: auto; }

/* ─── Main stack ─── */
.ssv-we {
  padding-top: 72px;
  padding-bottom: clamp(80px, 12vh, 140px);
}

.ssv-we__inner {
  position: relative;
  max-width: var(--we-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* Hero collage replaced by .eps (see ssv-episodes.css). Spacing for the new
   hero in this page context: */
.ssv-we__inner > .eps {
  margin-bottom: clamp(32px, 6vw, 72px);
}
.page-ssv-we.is-leaving { pointer-events: none; }
.page-ssv-we.is-leaving .ssv-we-thumbs,
.page-ssv-we.is-leaving .ssv-we-find,
.page-ssv-we.is-leaving .ssv-we-social,
.page-ssv-we.is-leaving .ssv-we-other__title {
  opacity: 0;
  transition: opacity 400ms ease-out;
}

/* ─── Let’s talk (Figma I805:954) ─── */
.ssv-we-lets {
  position: absolute;
  top: clamp(100px, 18vh, 200px);
  right: clamp(16px, 4vw, 48px);
  width: clamp(72px, 12vw, 126px);
  mix-blend-mode: exclusion;
  pointer-events: none;
}
.ssv-we-lets__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 126 / 125.8;
}
.ssv-we-lets__bg {
  position: absolute;
  inset: 2% 8% 52% 45%;
}
.ssv-we-lets__bg img { width: 100%; height: auto; display: block; }
.ssv-we-lets__text {
  position: absolute;
  left: 44%;
  top: 0;
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 33px);
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: capitalize;
}
.ssv-we-lets__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ssv-we-lets__deco img {
  position: absolute;
  max-width: 45%;
  height: auto;
  opacity: 0.9;
}
.ssv-we-lets__deco .a { bottom: 28%; right: 26%; }
.ssv-we-lets__deco .b { bottom: 22%; right: 26%; width: 38%; }
.ssv-we-lets__deco .c { top: 20%; right: 0; max-width: 55%; }

/* ─── Find … on (SVG wordmark) ─── */
.ssv-we-find {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin: clamp(48px, 10vh, 120px) 0 clamp(40px, 8vh, 96px);
  padding-right: clamp(0px, 2vw, 24px);
}
.ssv-we-find__mark {
  display: block;
  width: min(58vw, 420px);
  max-width: 100%;
  height: auto;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
}

/* ─── Social ─── */
.ssv-we-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(56px, 10vh, 120px);
}
.ssv-we-social__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s var(--we-ease);
}
.ssv-we-social__item:hover { opacity: 0.75; }
.ssv-we-social__item img {
  /* Equal height for mixed-aspect Figma lockups (XHS / IG / YT); width follows each SVG */
  --we-social-icon-h: clamp(32px, 5vw, 44px);
  height: var(--we-social-icon-h);
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
  object-position: center;
  display: block;
}
.ssv-we-social__item span {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

/* ─── Other content ─── */
.ssv-we-other__title {
  text-align: right;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 33px);
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-transform: capitalize;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.ssv-we-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
  margin-bottom: clamp(72px, 14vh, 160px);
}
.ssv-we-thumbs a {
  display: block;
  aspect-ratio: 425 / 239;
  overflow: hidden;
  border-radius: 2px;
}
.ssv-we-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(0.85);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
              filter    600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ssv-we-thumbs a:hover img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(1);
}

/* ─── Back ─── */
.ssv-we-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  max-width: 120px;
  margin: 0 auto;
  transition: opacity 0.25s var(--we-ease);
}
.ssv-we-back:hover { opacity: 0.75; }
.ssv-we-back img {
  width: clamp(56px, 10vw, 86px);
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .ssv-we-lets { display: none; }
  .ssv-we-find { justify-content: center; padding-right: 0; }
  .ssv-we-find__mark { width: min(88vw, 360px); }
  .ssv-we-social { justify-content: center; }
  .ssv-we-other__title { text-align: center; }
  .ssv-we-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ssv-we-top__nav { display: none; }
  .ssv-we-thumbs { grid-template-columns: 1fr; }
}
