/* ===========================================
   WORK.CSS — Bear My Brand Portfolio Page
   =========================================== */

/* ─── CSS CUSTOM PROPERTIES ─────────────────── */
:root {
  --wk-blue: #1b70bb;
  --wk-bg: #000;
  --wk-bg2: #060a10;
  --wk-bg3: #0a0f18;
  --wk-border: rgba(255, 255, 255, 0.08);
  --wk-text-dim: rgba(255, 255, 255, 0.4);
  --wk-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── HERO ──────────────────────────────────── */
.wk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
  overflow: hidden;
  padding-bottom: 76px; /* space for stats bar */
}

.wk-hero__cvs,
.wk-hero__noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wk-hero__noise {
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: screen;
}

.wk-hero__orb1 {
  position: absolute;
  width: clamp(300px, 50vw, 700px);
  height: clamp(300px, 50vw, 700px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 112, 187, 0.18) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  pointer-events: none;
  animation: orbFloat1 12s ease-in-out infinite;
}

.wk-hero__orb2 {
  position: absolute;
  width: clamp(200px, 35vw, 500px);
  height: clamp(200px, 35vw, 500px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 112, 187, 0.12) 0%, transparent 70%);
  bottom: 10%;
  right: 5%;
  pointer-events: none;
  animation: orbFloat2 16s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(40px, 30px) scale(1.05); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-30px, -40px) scale(1.08); }
}

.wk-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-h, 72px) + 60px) var(--gutter, 6vw) 40px;
}

/* ─── H1 WORDS ──────────────────────────────── */
.h1r {
  overflow: hidden;
}

.h1-mask {
  overflow: hidden;
}

.wk-h1-sm {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 7.5vw, 112px);
  color: rgba(255, 255, 255, 0.75);
  display: block;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.wk-h1-lg {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 14vw, 220px);
  color: #fff;
  display: block;
  line-height: 0.88;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-transform: uppercase;
}

.wk-blue {
  color: var(--wk-blue);
}

.wk-hero__sub {
  margin-top: clamp(20px, 3vw, 40px);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  max-width: 480px;
  line-height: 1.7;
}

/* ─── STATS BAR ─────────────────────────────── */
.wk-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter, 6vw);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  gap: 0;
}

.wk-stat {
  display: flex;
  flex-direction: column;
  padding: 0 clamp(20px, 3vw, 48px);
}

.wk-stat:first-child {
  padding-left: 0;
}

.wk-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 32px);
  color: #fff;
  line-height: 1;
}

.wk-stat-lbl {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-top: 4px;
}

.wk-stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
  margin: 16px 0;
  flex-shrink: 0;
}

/* ─── FILTER TABS ───────────────────────────── */
.wk-filter {
  position: sticky;
  top: var(--nav-h, 72px);
  z-index: 90;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wk-filter__inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 var(--gutter, 6vw);
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
}

.wk-filter__inner::-webkit-scrollbar {
  display: none;
}

.wk-tab {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 20px 24px;
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.wk-tab:hover {
  color: rgba(255, 255, 255, 0.75);
}

.wk-tab.active {
  color: var(--wk-blue);
}

.wk-tab-indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--wk-blue);
  transition: left 0.35s var(--wk-transition), width 0.35s var(--wk-transition);
  pointer-events: none;
}

/* ─── SECTION WRAPPER ───────────────────────── */
.wk-section {
  display: none;
  padding: 80px var(--gutter, 6vw);
  background: var(--wk-bg);
}

.wk-section.active {
  display: block;
}

/* Section head */
.wk-section-head {
  margin-bottom: 56px;
}

.wk-section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wk-blue);
  margin-bottom: 14px;
}

.wk-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 88px);
  color: #fff;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ─── CARD GRID ─────────────────────────────── */
.wk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Variant spacings */
.wk-grid--brand      { grid-template-columns: repeat(3, 1fr); gap: 2px; }
.wk-grid--editorial  { grid-template-columns: repeat(2, 1fr); gap: 2px; }
.wk-grid--web        { gap: 2px; }

/* ─── CARD ──────────────────────────────────── */
.wk-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #0a0f18;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
}

.wk-card:focus-visible {
  outline: 2px solid var(--wk-blue);
  outline-offset: 2px;
}

.wk-card--wide {
  grid-column: span 2;
}

.wk-card--tall {
  grid-row: span 2;
}

/* The image/gradient fill */
.wk-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s var(--wk-transition);
  z-index: 0;
}

.wk-card:hover .wk-card__img {
  transform: scale(1.04);
}

/* Live screenshot preview image */
.wk-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.4s ease;
}

/* Editorial real-image cards */
.wk-grid--editorial .wk-card__img {
  background: #0a0f18;
}
.wk-grid--editorial .wk-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.65s var(--wk-transition);
}
.wk-grid--editorial .wk-card:hover .wk-card__img {
  transform: none;
}
.wk-grid--editorial .wk-card:hover .wk-card__img img {
  transform: scale(1.04);
}

/* Thriskinsure / Cloudflare-protected site mock wireframe */
.wk-card__img--protected { overflow: hidden; }
.wk-mock-site {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 10px 12px; gap: 8px;
  opacity: 1;
}
.wk-mock-nav-bar {
  height: 10px; width: 70%; border-radius: 2px;
  background: rgba(255,255,255,0.25);
}
.wk-mock-hero-block {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; gap: 6px;
}
.wk-mock-h1 { height: 8px; width: 85%; border-radius: 2px; background: rgba(255,255,255,0.4); }
.wk-mock-h2 { height: 5px; width: 60%; border-radius: 2px; background: rgba(255,255,255,0.2); }
.wk-mock-btn { margin-top: 6px; height: 12px; width: 30%; border-radius: 2px; background: rgba(27,112,187,0.7); }
.wk-mock-cards { display: flex; gap: 6px; }
.wk-mock-card { flex: 1; height: 30px; border-radius: 2px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); }

/* Decorative textures layered on top of gradient */
.wk-card__texture {
  position: absolute;
  inset: 0;
  opacity: 0.07;
}

.wk-texture--grid {
  background-image: repeating-linear-gradient(
    0deg, rgba(255,255,255,0.5) 0, rgba(255,255,255,0.5) 1px, transparent 1px, transparent 40px
  ), repeating-linear-gradient(
    90deg, rgba(255,255,255,0.5) 0, rgba(255,255,255,0.5) 1px, transparent 1px, transparent 40px
  );
}

.wk-texture--lines {
  background-image: repeating-linear-gradient(
    45deg, rgba(255,255,255,0.4) 0, rgba(255,255,255,0.4) 1px, transparent 1px, transparent 16px
  );
}

/* Ghost number watermark */
.wk-card__ghost {
  position: absolute;
  bottom: -10px;
  right: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(80px, 12vw, 180px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 1;
  transition: color 0.4s;
  user-select: none;
}

.wk-card:hover .wk-card__ghost {
  color: rgba(255, 255, 255, 0.1);
}

/* Hover overlay */
.wk-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.28) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
}

.wk-card:hover .wk-card__overlay,
.wk-card:focus-visible .wk-card__overlay {
  opacity: 1;
}

.wk-card__view {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wk-blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.wk-card:hover .wk-card__view {
  color: #fff;
}

/* Card info below */
.wk-card__info {
  position: relative;
  z-index: 3;
  padding: 16px 0 0;
  background: var(--wk-bg);
  /* The card is absolute positioned inside, so info sits below */
  /* We override with absolute positioning for cards */
}

/* Re-scope info for position inside the card */
.wk-grid .wk-card {
  display: grid;
  grid-template-rows: 1fr auto;
}

.wk-card .wk-card__img {
  grid-row: 1 / 3;
  grid-column: 1;
}

.wk-card .wk-card__info {
  grid-row: 2;
  grid-column: 1;
  position: relative;
  padding: 14px 16px 16px;
  background: var(--wk-bg3);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.wk-card .wk-card__ghost {
  grid-row: 1;
  grid-column: 1;
}

.wk-card .wk-card__overlay {
  grid-row: 1;
  grid-column: 1;
}

.wk-card__client {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 18px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.wk-card__project {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  line-height: 1.4;
}

.wk-card__tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.wk-card__tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.4;
  transition: border-color 0.2s, color 0.2s;
}

.wk-card:hover .wk-card__tag {
  border-color: rgba(27, 112, 187, 0.35);
  color: rgba(255, 255, 255, 0.55);
}

/* ─── BROWSER CHROME (Web cards) ────────────── */
.wk-browser-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wk-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wk-browser-dot:nth-child(1) { background: #ff5f57; }
.wk-browser-dot:nth-child(2) { background: #ffbd2e; }
.wk-browser-dot:nth-child(3) { background: #28c940; }

.wk-browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  height: 14px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.38);
  margin-left: 6px;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Barlow', monospace;
  letter-spacing: 0.02em;
}

/* ── Web cards: screenshot as dominant top visual ─── */
.wk-grid--web .wk-card {
  display: flex;
  flex-direction: column;
  aspect-ratio: unset;
}

/* Screenshot block: fixed height, in-flow (not absolute) */
.wk-grid--web .wk-card__img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  background: #0d1220;
}

/* Scale on hover clips inside the img box */
.wk-grid--web .wk-card:hover .wk-card__img {
  transform: scale(1.02);
}

/* Screenshot scaled to fit — shows full header + hero */
.wk-grid--web .wk-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform-origin: top center;
}

/* Overlay only covers the image area */
.wk-grid--web .wk-card__overlay {
  height: 220px;
  bottom: auto;
}

/* Ghost watermark — bottom of card */
.wk-grid--web .wk-card__ghost {
  top: auto;
  bottom: 8px;
}

/* Info sits below the screenshot */
.wk-grid--web .wk-card__info {
  position: relative;
  padding: 14px 16px 16px;
  background: #0a0f18;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
}

/* Agency card special treatment */
.wk-card__img--agency {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wk-card__agency-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 10vw, 120px);
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: -0.02em;
  user-select: none;
}

/* ─── VIDEO SECTION ─────────────────────────── */
.wk-video-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wk-vtab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 28px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-vtab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.wk-vtab.active {
  color: var(--wk-blue);
  border-bottom-color: var(--wk-blue);
}

/* ─── REELS GRID ────────────────────────────── */
.wk-reels-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.wk-reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  cursor: pointer;
  background: #0a0f18;
  opacity: 0;
  transform: translateY(24px);
}

.wk-reel-card:focus-visible {
  outline: 2px solid var(--wk-blue);
  outline-offset: 2px;
}

.wk-reel-card__thumb {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--wk-transition);
  z-index: 1;
}

.wk-reel-card:hover .wk-reel-card__thumb {
  transform: scale(1.07);
}

.wk-reel-grad {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wk-reel-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
}

.wk-reel-card__overlay--always {
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
}

.wk-reel-card:hover .wk-reel-card__overlay {
  opacity: 1;
}

.wk-reel-card__play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wk-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: transform 0.25s, background 0.25s;
  padding-left: 3px; /* optical center for play icon */
}

.wk-reel-card:hover .wk-reel-card__play {
  transform: scale(1.12);
  background: #2485d4;
}

.wk-reel-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* ─── LONG FORM GRID ────────────────────────── */
.wk-longform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wk-lf-card {
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
}

.wk-lf-card:focus-visible {
  outline: 2px solid var(--wk-blue);
  outline-offset: 2px;
}

.wk-lf-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0f18;
  margin-bottom: 12px;
  border-radius: 2px;
}

.wk-lf-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--wk-transition);
  z-index: 1;
}

.wk-lf-card:hover .wk-lf-thumb img {
  transform: scale(1.04);
}

.wk-lf-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
}

.wk-lf-thumb__overlay--always {
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
}

.wk-lf-card:hover .wk-lf-thumb__overlay {
  opacity: 1;
}

.wk-lf-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  transition: transform 0.25s, background 0.25s;
}

.wk-lf-card:hover .wk-lf-play {
  transform: scale(1.1);
  background: #e00000;
}

.wk-lf-title {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.wk-lf-dur {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── CTA SECTION ───────────────────────────── */
.wk-cta {
  padding: 120px var(--gutter, 6vw);
  text-align: center;
  background: var(--wk-bg2);
  position: relative;
  overflow: hidden;
}

.wk-cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 112, 187, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.wk-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.wk-cta__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wk-blue);
  margin-bottom: 20px;
}

.wk-cta__h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 120px);
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.wk-cta__sub {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── REVEAL ANIMATIONS ─────────────────────── */
.wk-card.wk-revealed,
.wk-reel-card.wk-revealed,
.wk-lf-card.wk-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 1200px) {
  .wk-reels-grid { grid-template-columns: repeat(4, 1fr); }
  .wk-longform-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .wk-grid { grid-template-columns: repeat(2, 1fr); }
  .wk-card--wide { grid-column: span 2; }
  .wk-reels-grid { grid-template-columns: repeat(4, 1fr); }
  .wk-longform-grid { grid-template-columns: repeat(2, 1fr); }
  .wk-section-title { font-size: clamp(32px, 5vw, 64px); }
}

@media (max-width: 768px) {
  .wk-grid { grid-template-columns: repeat(2, 1fr); }
  .wk-card--wide { grid-column: span 2; }
  .wk-reels-grid { grid-template-columns: repeat(3, 1fr); }
  .wk-longform-grid { grid-template-columns: repeat(2, 1fr); }
  .wk-section { padding: 56px var(--gutter, 5vw); }
  .wk-tab { padding: 16px 18px; font-size: 11px; }
}

@media (max-width: 600px) {
  /* Hero — compact, no giant gap between content and stats */
  .wk-hero {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: calc(var(--nav-h, 72px) + 36px);
    padding-bottom: 0;
  }
  /* Stats — flow below hero content, not floating at bottom */
  .wk-hero-stats {
    position: relative;
    bottom: auto; left: auto; right: auto;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    padding: 16px var(--gutter, 5vw);
    gap: 12px 0;
    margin-top: 24px;
  }
  .wk-stat { padding: 0 16px; }
  .wk-stat:first-child { padding-left: 0; }
  .wk-stat-sep { display: none; }

  /* Grid — single column */
  .wk-grid { grid-template-columns: 1fr; }
  .wk-card--wide { grid-column: span 1; }
  .wk-reels-grid { grid-template-columns: repeat(2, 1fr); }
  .wk-longform-grid { grid-template-columns: 1fr; }

  /* Tabs — scrollable row, no overflow */
  .wk-tab { padding: 14px 14px; font-size: 10px; letter-spacing: 0.06em; }
  .wk-vtab { padding: 14px 18px; font-size: 13px; }

  /* H1 scale down */
  .wk-h1-lg { font-size: clamp(52px, 14vw, 100px); white-space: normal; }

  /* Sections */
  .wk-cta { padding: 80px var(--gutter, 5vw); }
  .wk-cta__h2 { font-size: clamp(40px, 12vw, 72px); }
  .wk-section-head { margin-bottom: 36px; }

  /* Footer bottom padding — clear WhatsApp button */
  .footer-bottom { padding-bottom: 88px; }
}

@media (max-width: 420px) {
  .wk-reels-grid { grid-template-columns: repeat(2, 1fr); }
  .wk-h1-sm { font-size: clamp(32px, 9vw, 64px); }
  .wk-h1-lg { font-size: clamp(52px, 14vw, 100px); white-space: normal; }
}

/* ─── VIDEO LIGHTBOX MODAL ───────────────── */
#wkVideoModal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#wkVideoModal.is-open {
  opacity: 1;
  pointer-events: all;
}
.wk-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
}
.wk-modal-inner {
  position: relative;
  z-index: 1;
  width: min(400px, 92vw);
}
.wk-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.wk-modal-close:hover {
  background: var(--wk-blue);
  border-color: var(--wk-blue);
}
.wk-modal-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}
.wk-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
