/* Portfolio site styles — extends colors_and_type.css
   Editorial · Cinematic · Premium negative space.
   HUD / system-online accent layer (Stark-inspired).
*/

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-1); }
body { font-family: var(--font-sans); }

/* -- SPACING SYSTEM ------------------------------------------------------
   Unified rhythm. Section vertical padding uses --sec-y; horizontal
   gutter uses --sec-x. Don't mix raw px values into section chrome.
   ---------------------------------------------------------------------- */
:root {
  --sec-x: 56px;
  --sec-y: 128px;
  --sec-y-tight: 96px;
  --sec-y-loose: 160px;
  --head-gap: 48px;          /* eyebrow → title gap baseline */
  --stack-1: 12px;
  --stack-2: 20px;
  --stack-3: 32px;
  --stack-4: 48px;
  --stack-5: 72px;
}
@media (max-width: 900px) {
  :root { --sec-x: 24px; --sec-y: 88px; --sec-y-tight: 64px; --sec-y-loose: 112px; }
}

/* -- HUD / TECH READOUT primitives --------------------------------------
   Corner brackets, scanline sweep, targeting reticle, monospace meta.
   Used on hero, capability cards, project tiles, about/contact frames.
   ---------------------------------------------------------------------- */
.hud-brackets { position: relative; }
.hud-brackets::before,
.hud-brackets::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--wcg-red);
  pointer-events: none;
  transition: width var(--dur-base) var(--ease-out), height var(--dur-base) var(--ease-out), opacity var(--dur-base);
  opacity: 0.7;
}
.hud-brackets::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.hud-brackets::after  { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.hud-brackets:hover::before, .hud-brackets:hover::after { width: 22px; height: 22px; opacity: 1; }

/* Monospace technical readout label (e.g. SYS / TEMP / 04.21.26) */
.hud-readout {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; gap: 8px;
}
.hud-readout::before {
  content: ""; width: 6px; height: 6px; background: var(--wcg-red);
  box-shadow: 0 0 8px var(--wcg-red);
}

/* Sweeping red scanline (use on dark frames). */
@keyframes hudScan {
  0%   { transform: translateY(-10%); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { transform: translateY(110%); opacity: 0; }
}
.hud-scanline { position: relative; overflow: hidden; }
.hud-scanline::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200,16,46,0.85), transparent);
  box-shadow: 0 0 24px 2px rgba(200,16,46,0.45);
  animation: hudScan 5.2s linear infinite;
  pointer-events: none;
}

/* Subtle ambient grid backdrop — like a HUD viewport. */
.hud-grid-bg {
  background-image:
    linear-gradient(rgba(200,16,46,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,16,46,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Targeting reticle decoration (used as ::before on section eyebrows). */
.hud-reticle::before {
  content: ""; display: inline-block; width: 14px; height: 14px;
  margin-right: 10px; vertical-align: -2px;
  background:
    linear-gradient(var(--wcg-red), var(--wcg-red)) center/100% 1px no-repeat,
    linear-gradient(var(--wcg-red), var(--wcg-red)) center/1px 100% no-repeat;
  border: 1px solid var(--wcg-red);
  border-radius: 50%;
}

/* Pulse — system-online indicator (slightly different from .wcg-pulse). */
@keyframes hudOnline {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}
.hud-online {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--wcg-red); box-shadow: 0 0 10px var(--wcg-red);
  animation: hudOnline 1.6s ease-in-out infinite;
}

/* ============================================================
   PLACEHOLDERS — branded "drop your asset here" tiles
   ============================================================ */
.wcg-hero-placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(200,16,46,0.10), transparent 70%),
    linear-gradient(180deg, #1a1818 0%, #0e0d0d 100%);
  display: flex; align-items: center; justify-content: center;
}
.wcg-hero-placeholder-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}
.wcg-hero-placeholder-label {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 999px;
  background: rgba(11,10,10,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative; z-index: 1;
}

/* Tile placeholder used inside scroller / list / project page */
.wcg-tile-ph--cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.wcg-tile-ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.wcg-tile-ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(200,16,46,0.08), transparent 70%),
    linear-gradient(180deg, #1a1818 0%, #0e0d0d 100%);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 14px;
  overflow: hidden;
  transition: filter 700ms var(--ease-out);
}
.wcg-tile-ph::before, .wcg-tile-ph::after {
  /* Cross-mark center to read as "image placeholder" */
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 28%; height: 1px; background: rgba(255,255,255,0.12);
  transform: translate(-50%, -50%) rotate(20deg);
}
.wcg-tile-ph::after { transform: translate(-50%, -50%) rotate(-20deg); }
.wcg-tile-ph-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 90%);
}
.wcg-tile-ph-meta {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.wcg-tile-ph-meta span:last-child { color: rgba(255,255,255,0.78); }

/* Variants */
.wcg-tile-ph.wcg-tile-ph-full     { position: absolute; inset: 0; }
.wcg-tile-ph.wcg-tile-ph-portrait { position: relative; aspect-ratio: 4 / 5; }

/* Hover scale — uses parent .wcg-scard:hover from main rules */
.wcg-scard:hover .wcg-tile-ph { filter: saturate(1.1); }

/* Project hero placeholder takes height from its container */
.wcg-project-hero-ph { background: transparent; }
.wcg-project-hero-ph .wcg-tile-ph { padding: 32px; }
.wcg-project-hero-ph .wcg-tile-ph-meta {
  font-size: 11px;
}

/* List view "peek" placeholder needs explicit positioning */
.wcg-list-row .peek .wcg-tile-ph { position: absolute; inset: 0; padding: 10px; }
.wcg-list-row .peek .wcg-tile-ph-meta { font-size: 9px; }

/* Project stills grid — when using placeholders */
.wcg-project-stills > .wcg-tile-ph { position: relative; aspect-ratio: 4 / 3; padding: 14px; }
.wcg-project-stills > .wcg-tile-ph:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16/7; }
.liquid-glass {
  background: rgba(255,255,255,0.02);
  background-blend-mode: luminosity;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.10);
  position: relative; overflow: hidden;
}
.liquid-glass::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0)    40%,
    rgba(255,255,255,0)    60%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass-strong {
  background: rgba(255,255,255,0.04);
  background-blend-mode: luminosity;
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: none;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.05), inset 0 1px 1px rgba(255,255,255,0.15);
  position: relative; overflow: hidden;
}
.liquid-glass-strong::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.5) 0%,
    rgba(255,255,255,0.2) 20%,
    rgba(255,255,255,0)   40%,
    rgba(255,255,255,0)   60%,
    rgba(255,255,255,0.2) 80%,
    rgba(255,255,255,0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   BLUR-IN word reveal
   ============================================================ */
.wcg-blurtext {
  display: flex; flex-wrap: wrap; row-gap: 0.05em;
  margin: 0;
}
.wcg-blurtext-word {
  display: inline-block; margin-right: 0.28em;
  transition: transform 900ms cubic-bezier(0.2,0.7,0.2,1),
              filter    900ms cubic-bezier(0.2,0.7,0.2,1),
              opacity   900ms cubic-bezier(0.2,0.7,0.2,1);
  will-change: transform, filter, opacity;
}

/* ============================================================
   NAV — floating liquid-glass pill
   ============================================================ */
.wcg-nav {
  position: fixed; top: 20px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 24px;
  pointer-events: none;
}
.wcg-nav.is-scrolled { top: 14px; }
.wcg-nav-pill {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 14px; border-radius: 999px;
  transition: padding 280ms var(--ease-out);
}
.wcg-nav-mark { height: 28px; width: auto; cursor: pointer; }
.wcg-nav-mark--anim { height: 32px; width: 140px; cursor: pointer; display: inline-flex; align-items: center; }
.wcg-nav-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.14); margin: 0 6px; }
.wcg-nav-links { display: flex; gap: 2px; }
.wcg-nav-links a {
  cursor: pointer; padding: 9px 14px; border-radius: 999px;
  font: 600 11px/1 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); transition: color var(--dur-fast), background var(--dur-fast);
}
.wcg-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.wcg-nav-links a.is-active { color: #fff; background: rgba(255,255,255,0.10); }
.wcg-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--wcg-black);
  padding: 9px 14px 9px 16px; border-radius: 999px; border: 0;
  font: 700 11px/1 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; transition: transform var(--dur-base), background var(--dur-base);
}
.wcg-nav-cta:hover { background: var(--wcg-red); color: #fff; transform: translateY(-1px); }

/* ============================================================
   HERO — cinematic full-bleed video
   ============================================================ */
.wcg-hero-cine {
  position: relative; min-height: 100vh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  background: var(--bg-1);
  isolation: isolate;
}
.wcg-hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.wcg-hero-video {
  position: absolute; left: 50%; top: 50%;
  width: 110%; height: 110%;
  transform: translate(-50%, -50%);
  object-fit: cover; object-position: center;
  filter: saturate(0.7) contrast(1.05) brightness(0.55);
}
.wcg-hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay;
}
.wcg-hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 40%, transparent 50%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.85) 100%);
}

.wcg-hero-cine-inner {
  position: relative; z-index: 2;
  padding: 160px var(--sec-x) 80px;
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; flex: 1;
  gap: 0;
}

/* HUD readout strip across the top corners of the hero. */
.wcg-hero-hud {
  position: absolute;
  top: 96px; left: var(--sec-x); right: var(--sec-x);
  z-index: 3; pointer-events: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.wcg-hero-hud .group { display: inline-flex; align-items: center; gap: 14px; }
.wcg-hero-hud .group span { display: inline-flex; align-items: center; gap: 6px; }
.wcg-hero-hud .sep { width: 1px; height: 10px; background: rgba(255,255,255,0.2); }
.wcg-hero-hud .val { color: #fff; }

/* Corner ticks on the hero viewport. */
.wcg-hero-ticks { position: absolute; inset: 80px var(--sec-x); pointer-events: none; z-index: 1; }
.wcg-hero-ticks::before, .wcg-hero-ticks::after,
.wcg-hero-ticks > i, .wcg-hero-ticks > b {
  content: ""; position: absolute; width: 24px; height: 24px;
  border: 1px solid rgba(200,16,46,0.65);
}
.wcg-hero-ticks::before { top: 0;  left: 0;  border-right: 0; border-bottom: 0; }
.wcg-hero-ticks::after  { top: 0;  right: 0; border-left: 0;  border-bottom: 0; }
.wcg-hero-ticks > i     { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.wcg-hero-ticks > b     { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.wcg-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 14px; border-radius: 0;
  background: rgba(11,10,10,0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(200,16,46,0.45);
  font-family: var(--font-mono);
  font-size: 10px; line-height: 1; letter-spacing: 0.28em; text-transform: uppercase; color: #fff;
  margin-bottom: var(--stack-3);
  position: relative;
}
.wcg-hero-eyebrow::before, .wcg-hero-eyebrow::after {
  content: ""; position: absolute; width: 6px; height: 6px;
  border: 1px solid var(--wcg-red);
}
.wcg-hero-eyebrow::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.wcg-hero-eyebrow::after  { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }
.wcg-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--wcg-red);
  box-shadow: 0 0 0 0 rgba(200,16,46,0.7);
  animation: wcgPulse 1.6s ease-out infinite;
}
@keyframes wcgPulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,16,46,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}

.wcg-hero-cine-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 10.5vw, 156px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
  max-width: 18ch;
  margin: 0;
}
/* italicize the second word for hybrid serif accent */
.wcg-hero-cine-headline .wcg-blurtext-word:nth-child(2) {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic; font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}
.wcg-hero-cine-headline .wcg-blurtext-word:nth-child(5) {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic; font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--wcg-red);
}

.wcg-hero-cine-sub {
  margin: var(--stack-3) 0 0; max-width: 520px;
  font: 400 17px/1.6 var(--font-sans);
  color: rgba(255,255,255,0.78);
}

.wcg-hero-cine-ctas {
  margin-top: var(--stack-4);
  display: inline-flex; align-items: center; gap: 20px;
}
.wcg-cta-glass {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 0;
  color: #fff; cursor: pointer;
  font: 700 11px/1 var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase;
  transition: transform var(--dur-base);
}
.wcg-cta-glass:hover { transform: translateY(-1px); }
.wcg-cta-text {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 0; color: #fff; cursor: pointer;
  padding: 14px 8px;
  font: 700 11px/1 var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase;
  transition: color var(--dur-fast);
}
.wcg-cta-text:hover { color: var(--wcg-red); }

.wcg-hero-cine-scroll {
  position: relative; z-index: 2;
  justify-self: center; padding: 0 0 40px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px; line-height: 1; letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.wcg-scroll-line {
  position: relative; width: 1px; height: 56px; background: rgba(255,255,255,0.18);
  overflow: hidden; display: block;
}
.wcg-scroll-line i {
  position: absolute; left: 0; right: 0; height: 24px; background: #fff;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(220%); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.wcg-marquee {
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  overflow: hidden; padding: 28px 0;
  background: var(--bg-1);
  position: relative;
}
.wcg-marquee::before {
  content: "Clients"; position: absolute; top: 8px; left: var(--sec-x);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em;
  color: rgba(255,255,255,0.35); pointer-events: none; z-index: 2;
  background: var(--bg-1); padding: 0 8px;
}
.wcg-marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 900; font-size: 24px; line-height: 1;
  letter-spacing: -0.01em; text-transform: uppercase; color: #fff;
}
.wcg-marquee:hover .wcg-marquee-track { animation-play-state: paused; }
.wcg-marquee-item {
  display: inline-block; padding: 0; margin: 0;
  background: transparent; border: 0; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.wcg-marquee-item.is-link {
  cursor: pointer; position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}
.wcg-marquee-item.is-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--wcg-red);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out);
}
.wcg-marquee-item.is-link:hover { color: var(--wcg-red); }
.wcg-marquee-item.is-link:hover::after { transform: scaleX(1); }
.wcg-marquee-track .dot { color: var(--wcg-red); margin: 0 32px; font-size: 14px; transform: translateY(-4px); display:inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.wcg-section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--stack-3);
  padding: var(--sec-y) var(--sec-x) var(--stack-5);
}
.wcg-section-title {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; color: #fff;
  margin: var(--stack-2) 0 0;
}
.wcg-section-title em {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic; font-weight: 400; letter-spacing: -0.02em;
  color: #fff;
}
.wcg-section-title .dot { color: var(--wcg-red); }

.wcg-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; gap: 10px;
}
.wcg-section-eyebrow::before {
  content: ""; width: 8px; height: 8px; background: var(--wcg-red);
  box-shadow: 0 0 8px var(--wcg-red); flex: 0 0 auto;
}

.wcg-view-switch {
  display: inline-flex; gap: 0; border: 1px solid var(--border-2); border-radius: 999px; padding: 4px;
}
.wcg-view-switch button {
  background: transparent; border: 0; cursor: pointer;
  color: var(--fg-2); padding: 10px 18px; border-radius: 999px;
  font: 700 10px/1 var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase;
  transition: all var(--dur-base);
  display: inline-flex; align-items: center; gap: 8px;
}
.wcg-view-switch button.is-active { background: #fff; color: var(--wcg-black); }
.wcg-view-switch button:hover:not(.is-active) { color: #fff; }

/* ============================================================
   CAPABILITIES — solid cards (per glass intensity = subtle)
   ============================================================ */
.wcg-cap { padding-bottom: var(--sec-y); }
.wcg-cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding: 0 var(--sec-x);
}
.wcg-cap-card {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  padding: 32px;
  min-height: 380px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 500ms var(--ease-out), border-color 500ms var(--ease-out), background 500ms var(--ease-out);
}
/* HUD corner brackets on capability cards */
.wcg-cap-card > .hud-corner {
  position: absolute; width: 12px; height: 12px;
  border: 1px solid var(--wcg-red);
  pointer-events: none; opacity: 0.6;
  transition: width var(--dur-base) var(--ease-out), height var(--dur-base) var(--ease-out), opacity var(--dur-base);
}
.wcg-cap-card > .hud-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.wcg-cap-card > .hud-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.wcg-cap-card > .hud-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.wcg-cap-card > .hud-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.wcg-cap-card:hover > .hud-corner { width: 18px; height: 18px; opacity: 1; }
.wcg-cap-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--wcg-red);
  transition: width 500ms var(--ease-out);
}
.wcg-cap-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
  background: var(--bg-3);
}
.wcg-cap-card:hover::before { width: 100%; }

.wcg-cap-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wcg-cap-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.wcg-cap-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 70%; }
.wcg-cap-tag {
  padding: 6px 10px; border-radius: 999px;
  font: 600 10px/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  border: 1px solid var(--border-1);
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
}

.wcg-cap-card-bottom { margin-top: auto; padding-top: var(--stack-4); }
.wcg-cap-title {
  font-family: var(--font-display);
  font-weight: 900; font-size: 44px; line-height: 1;
  letter-spacing: -0.03em; text-transform: uppercase; color: #fff; margin: 0;
}
.wcg-cap-body {
  margin: 16px 0 0; max-width: 38ch;
  font: 400 14px/1.55 var(--font-sans); color: var(--fg-2);
}
.wcg-cap-meta {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: space-between;
  font: 700 10px/1 var(--font-sans); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--fg-3);
}

/* ============================================================
   PROJECTS — Marquee scroller view
   ============================================================ */
.wcg-scroller-wrap { position: relative; }
.wcg-scroller-wrap::before,
.wcg-scroller-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 64px; width: 88px;
  pointer-events: none; z-index: 4;
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
          mask-image: linear-gradient(90deg, #000, transparent);
}
.wcg-scroller-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(11,10,10,0.85), transparent);
}
.wcg-scroller-wrap::after {
  right: 0; transform: scaleX(-1);
  background: linear-gradient(90deg, rgba(11,10,10,0.85), transparent);
}
.wcg-scroller {
  display: flex; gap: 32px; padding: 8px var(--sec-x) 64px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--sec-x);
  scrollbar-width: none;
}
.wcg-scroller::-webkit-scrollbar { display: none; }

.wcg-scard {
  flex: 0 0 auto; width: 460px; scroll-snap-align: start;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  text-align: left; color: inherit;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform var(--dur-slow) var(--ease-out);
  opacity: 0; transform: translateY(28px);
  animation: wcgScardIn 700ms var(--ease-out) forwards;
}
.wcg-scard:nth-child(1) { animation-delay: 0ms; }
.wcg-scard:nth-child(2) { animation-delay: 90ms; }
.wcg-scard:nth-child(3) { animation-delay: 180ms; }
.wcg-scard:nth-child(4) { animation-delay: 270ms; }
.wcg-scard:nth-child(5) { animation-delay: 360ms; }
.wcg-scard:nth-child(6) { animation-delay: 450ms; }
.wcg-scard:nth-child(7) { animation-delay: 540ms; }
.wcg-scard:nth-child(8) { animation-delay: 630ms; }
.wcg-scard:nth-child(9) { animation-delay: 720ms; }
.wcg-scard:nth-child(10) { animation-delay: 810ms; }
@keyframes wcgScardIn {
  to { opacity: 1; transform: translateY(0); }
}
.wcg-scard:hover { transform: translateY(-6px); }
.wcg-scard.is-tall { width: 380px; }

.wcg-scard-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--wcg-ink);
}
.wcg-scard.is-wide .wcg-scard-frame { aspect-ratio: 16 / 11; }
.wcg-scard.is-square .wcg-scard-frame { aspect-ratio: 1 / 1; }

/* Scroll-through parallax — inner placeholder shifts and scales as the
   card moves through the horizontal scroller. JS sets --scroll-pct -1..1. */
.wcg-scard-frame .wcg-tile-ph {
  transform:
    translate3d(calc(var(--scroll-pct, 0) * -16px), 0, 0)
    scale(calc(1.08 + var(--scroll-pct, 0) * var(--scroll-pct, 0) * -0.04));
  transition: transform 90ms linear, filter 700ms var(--ease-out);
}
.wcg-scard-frame {
  /* Subtle frame de-emphasis when card is far from center */
  filter: brightness(calc(1 - var(--scroll-pct, 0) * var(--scroll-pct, 0) * 0.18));
  transition: filter 200ms linear;
}
.wcg-scard:hover .wcg-scard-frame { filter: brightness(1.04); }
.wcg-scard:hover .wcg-scard-frame .wcg-tile-ph { filter: saturate(1.15) brightness(1.05); }

.wcg-scard-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 700ms var(--ease-out);
  filter: saturate(0.95);
}
.wcg-scard:hover .wcg-scard-frame img { transform: scale(1.06); filter: saturate(1.1); }
.wcg-scard-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent 45%);
  pointer-events: none;
}
.wcg-scard-num {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-family: var(--font-display); font-weight: 900; font-size: 14px;
  color: #fff; background: rgba(11,10,10,0.55); backdrop-filter: blur(8px);
  padding: 8px 12px; border-radius: 2px;
  display: flex; align-items: center; gap: 8px;
}
.wcg-scard-num::before { content: ""; width: 18px; height: 1px; background: var(--wcg-red); }
.wcg-scard-tag {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font: 700 9px/1 var(--font-sans); letter-spacing: 0.28em; text-transform: uppercase;
  color: #fff; padding: 8px 12px; border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.25); backdrop-filter: blur(8px);
}
.wcg-scard-cta {
  position: absolute; bottom: 18px; right: 18px; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wcg-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(8px) scale(0.85); opacity: 0;
  transition: all var(--dur-slow) var(--ease-out);
}
.wcg-scard:hover .wcg-scard-cta { transform: translateY(0) scale(1); opacity: 1; }
.wcg-scard-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font: 700 10px/1 var(--font-sans); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--fg-3);
}
.wcg-scard-title {
  font-family: var(--font-display);
  font-weight: 900; font-size: 32px; line-height: 1.0;
  letter-spacing: -0.02em; text-transform: uppercase; color: #fff;
  margin: 0;
}
.wcg-scard-client { color: var(--fg-2); }

.wcg-scroll-controls {
  display: flex; align-items: center; gap: 16px;
  padding: 0 var(--sec-x) var(--sec-y-tight);
}
.wcg-scroll-controls .progress {
  flex: 1; height: 1px; background: var(--border-1); position: relative; overflow: hidden;
}
.wcg-scroll-controls .progress > i {
  position: absolute; left: 0; top: 0; bottom: 0; background: #fff; width: 0%;
  transition: width 200ms linear;
}
.wcg-scroll-btn {
  width: 48px; height: 48px; border-radius: 50%; background: transparent;
  border: 1px solid var(--border-2); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-base);
}
.wcg-scroll-btn.liquid-glass {
  border: 1px solid rgba(255,255,255,0.14);
}
.wcg-scroll-btn:hover { background: rgba(255,255,255,0.92); color: var(--wcg-black); border-color: rgba(255,255,255,0.92); }
.wcg-scroll-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ============================================================
   PROJECTS — Index list view
   ============================================================ */
.wcg-list { padding: 0 var(--sec-x) var(--sec-y); }
.wcg-list-row {
  display: grid; grid-template-columns: 80px 1fr 220px 100px 56px;
  align-items: center; gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border-1);
  cursor: pointer; position: relative; overflow: hidden;
  transition: padding var(--dur-base) var(--ease-out);
}
.wcg-list-row:last-child { border-bottom: 1px solid var(--border-1); }
.wcg-list-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--wcg-red); transition: width var(--dur-base) var(--ease-out);
}
.wcg-list-row:hover { padding-left: 24px; }
.wcg-list-row:hover::before { width: 4px; }
.wcg-list-num { font: 900 14px/1 var(--font-display); color: var(--fg-3); letter-spacing: -0.01em; }
.wcg-list-title {
  font-family: var(--font-display);
  font-weight: 900; font-size: 40px; line-height: 1; letter-spacing: -0.025em;
  text-transform: uppercase; color: #fff;
}
.wcg-list-title em {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic; font-weight: 400; letter-spacing: -0.01em;
}
.wcg-list-row:hover .wcg-list-title em { color: var(--wcg-red); }
.wcg-list-client { color: var(--fg-3); font: 700 11px/1 var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase; }
.wcg-list-year   { color: var(--fg-3); font: 700 11px/1 var(--font-sans); letter-spacing: 0.22em; text-align: right; }
.wcg-list-arrow  { color: var(--fg-3); justify-self: end; transition: transform var(--dur-base), color var(--dur-base); }
.wcg-list-row:hover .wcg-list-arrow { color: #fff; transform: translateX(4px); }
.wcg-list-row .peek {
  position: absolute; top: 50%; right: 120px;
  width: 200px; height: 130px; transform: translateY(-50%) translateX(20px);
  opacity: 0; pointer-events: none; overflow: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  z-index: 5;
}
.wcg-list-row:hover .peek { opacity: 1; transform: translateY(-50%) translateX(0); }
.wcg-list-row .peek img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PROJECT PAGE
   ============================================================ */
.wcg-project { background: var(--bg-1); padding-top: 80px; min-height: 100vh; animation: fadeIn 320ms var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wcg-project-close {
  position: fixed; top: 92px; left: 28px; z-index: 60;
  background: rgba(11,10,10,0.7); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-2); color: #fff;
  height: 40px; padding: 0 16px 0 12px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase;
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-base);
}
.wcg-project-close:hover {
  background: var(--wcg-red); border-color: var(--wcg-red);
  transform: translateX(-2px);
}
.wcg-project-close span { display: inline-block; }
@media (max-width: 700px) {
  .wcg-project-close { left: 16px; padding: 0 14px 0 10px; }
}

.wcg-project-hero {
  height: 80vh; min-height: 560px;
  background-size: cover; background-position: center; position: relative;
}
.wcg-project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%); }
.wcg-project-meta { position: absolute; left: var(--sec-x); bottom: var(--sec-x); right: var(--sec-x); z-index: 2; }
.wcg-project-eyebrow {
  font: 700 10px/1 var(--font-sans); letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; gap: 14px;
}
.wcg-project-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--wcg-red); }
.wcg-project-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 3.6vw, 60px); line-height: 1; letter-spacing: -0.025em;
  text-transform: uppercase; color: #fff; margin: 24px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 700px) {
  .wcg-project-title {
    white-space: normal;
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.05;
  }
}

.wcg-project-credits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-7);
  padding: var(--sec-y-tight) var(--sec-x); border-bottom: 1px solid var(--border-1);
}
.wcg-project-credits .label { font: 700 10px/1 var(--font-sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.wcg-project-credits .value { font: 600 18px/1.4 var(--font-sans); color: #fff; }
.wcg-project-credits .summary { grid-column: 2 / -1; }
.wcg-project-credits .summary .value { font: 400 18px/1.55 var(--font-sans); color: var(--fg-2); }

.wcg-project-stills { display: grid; gap: 12px; padding: var(--sec-y-tight) var(--sec-x); grid-template-columns: 1fr 1fr; }

/* ============================================================
   PROJECT PAGE — External links above carousel
   ============================================================ */
.wcg-project-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: var(--sec-y-tight) var(--sec-x) 0;
}
.wcg-project-links-label {
  font: 500 11px/1 var(--font-mono, ui-monospace, "JetBrains Mono", monospace);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.wcg-project-links-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.wcg-project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  color: #fff;
  text-decoration: none;
  font: 500 13px/1 var(--font-sans);
  letter-spacing: 0.04em;
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.wcg-project-link:hover {
  border-color: rgba(200, 16, 46, 0.55);
  background: rgba(200, 16, 46, 0.08);
  transform: translateY(-2px);
}
.wcg-project-link svg { display: block; }

/* ============================================================
   PROJECT PAGE — Vertical-video carousel (9:16 reels)
   ============================================================ */
.wcg-vvc-wrap {
  position: relative;
  padding: var(--sec-y-tight) 0;
}
.wcg-vvc-wrap::before,
.wcg-vvc-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 64px; width: 88px;
  pointer-events: none; z-index: 4;
}
.wcg-vvc-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(11,10,10,0.92), transparent);
}
.wcg-vvc-wrap::after {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(11,10,10,0.92));
}
.wcg-vvc {
  display: flex; gap: 20px;
  padding: 8px var(--sec-x) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--sec-x);
  scrollbar-width: none;
}
.wcg-vvc::-webkit-scrollbar { display: none; }

.wcg-vvc-tile {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 320px);
  aspect-ratio: 9 / 16;
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.wcg-vvc-tile:hover { border-color: rgba(255,255,255,0.22); }
.wcg-vvc-tile.is-active {
  border-color: rgba(200, 16, 46, 0.55);
  width: clamp(280px, 30vw, 420px);
}

.wcg-vvc-poster {
  position: absolute; inset: 0;
  background: #000;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
  display: block;
  overflow: hidden;
  color: #fff;
}
.wcg-vvc-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 400ms var(--ease-out);
  filter: saturate(0.92) contrast(1.04);
}
.wcg-vvc-tile:hover .wcg-vvc-thumb {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.04);
}

/* On-brand grain + bottom-up gradient over thumbnail */
.wcg-vvc-grain {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,0,0,0.4), transparent 70%);
  pointer-events: none;
}

.wcg-vvc-num {
  position: absolute; top: 12px; left: 12px;
  font: 500 10px/1 var(--font-mono, ui-monospace, "JetBrains Mono", monospace);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.78);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  text-transform: uppercase;
}

.wcg-vvc-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #0a0a0c;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  transition: transform 240ms var(--ease-out), background 240ms var(--ease-out);
}
.wcg-vvc-play svg { transform: translateX(2px); }
.wcg-vvc-tile:hover .wcg-vvc-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.wcg-vvc-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  background: #000;
  display: block;
}

.wcg-vvc-close {
  position: absolute; top: 10px; right: 10px;
  z-index: 3;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background 200ms var(--ease-out);
}
.wcg-vvc-close:hover { background: rgba(0,0,0,0.85); }

.wcg-vvc-controls {
  display: flex; align-items: center; gap: 12px;
  padding: 0 var(--sec-x);
}
.wcg-vvc-controls .progress {
  flex: 1; height: 2px;
  background: rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
}
.wcg-vvc-controls .progress i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: rgba(255,255,255,0.55);
  transition: width 160ms var(--ease-out);
}

@media (max-width: 720px) {
  .wcg-vvc-tile { width: 64vw; }
  .wcg-vvc-tile.is-active { width: 78vw; }
}
.wcg-project-stills img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.wcg-project-stills img:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16/7; }

/* ============================================================
   PROJECT — REAL HERO IMAGE
   ============================================================ */
.wcg-project-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.wcg-project-hero .wcg-project-meta { z-index: 3; }

/* ============================================================
   PROJECT — FULL-BLEED HERO VIDEO
   Vimeo's background player letterboxes the source inside its own
   iframe. So the iframe itself must keep the source aspect ratio
   (2560:1080) and we oversize it so that BOTH width and height
   exceed the container — overflow: hidden then crops, giving us
   object-fit: cover semantics on the video.
   ============================================================ */
.wcg-project-hero-video {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #000;
}
.wcg-project-hero-video-iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  aspect-ratio: 2560 / 1080;
  /* Width must be at least 100% of the container (so it covers horizontally)
     AND tall enough that height (= width / 2.37) covers vertically.
     Using 100vh as a viewport proxy for container height works because
     the hero is sized to ~80vh; we multiply by the aspect to get a
     width that yields height ≥ 100vh. The 100% term handles narrow
     viewports where the source-aspect wins. */
  width: max(100%, calc(100vh * 2.371));
}

/* ============================================================
   PROJECT — LOOPING VIDEO BANNER
   ============================================================ */
.wcg-project-banner {
  position: relative;
  width: calc(100% - (var(--sec-x) * 2));
  margin: var(--sec-y-tight) var(--sec-x) 0;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}
.wcg-project-banner-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none; /* viewer can scroll over it without pausing */
}

/* Click-to-play inline video (above gallery) */
.wcg-project-inline-video {
  width: calc(100% - (var(--sec-x) * 2));
  margin: var(--sec-y-tight) var(--sec-x) 0;
}
.wcg-project-inline-video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}
.wcg-project-inline-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   PROJECT — PHOTO GALLERY (real images, masonry-feel grid)
   ============================================================ */
.wcg-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: var(--sec-y-tight) var(--sec-x);
}
.wcg-gallery-tile {
  position: relative;
  border: 0; padding: 0; margin: 0;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  transition: transform 360ms cubic-bezier(.2,.8,.2,1), box-shadow 360ms ease;
}
.wcg-gallery-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(.2,.8,.2,1), filter 700ms ease;
}
.wcg-gallery-tile:hover img { transform: scale(1.04); filter: brightness(1.05); }
.wcg-gallery-tile:hover { box-shadow: 0 18px 40px -16px rgba(0,0,0,0.6); }
.wcg-gallery-num {
  position: absolute;
  top: 10px; left: 12px;
  font: 500 10px/1 var(--font-mono, ui-monospace, "SFMono-Regular", Menlo, monospace);
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.4);
  padding: 5px 7px;
  border-radius: 3px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.wcg-gallery-tile:hover .wcg-gallery-num { opacity: 1; }

@media (max-width: 1100px) {
  .wcg-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 720px) {
  .wcg-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.wcg-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
  animation: wcg-lb-fade 220ms ease;
}
@keyframes wcg-lb-fade { from { opacity: 0; } to { opacity: 1; } }
.wcg-lightbox-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
  animation: wcg-lb-pop 320ms cubic-bezier(.2,.8,.2,1);
}
@keyframes wcg-lb-pop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.wcg-lightbox-close,
.wcg-lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, opacity 200ms ease;
}
.wcg-lightbox-close { top: 24px; right: 24px; }
.wcg-lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.wcg-lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.wcg-lightbox-close:hover { background: var(--wcg-red, #c1272d); transform: rotate(90deg); }
.wcg-lightbox-nav:hover:not(:disabled) { background: rgba(255,255,255,0.14); }
.wcg-lightbox-nav:disabled { opacity: 0.3; cursor: default; }
.wcg-lightbox-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font: 500 11px/1 var(--font-mono, ui-monospace, "SFMono-Regular", Menlo, monospace);
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.65);
}

/* Cover image inside placeholder tile (project cards on home + scroller) */
.wcg-tile-ph.wcg-tile-ph--cover { padding: 0; overflow: hidden; }
.wcg-tile-ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms cubic-bezier(.2,.8,.2,1);
}
.wcg-scard:hover .wcg-tile-ph-img,
.wcg-home-recent-tile:hover .wcg-tile-ph-img { transform: scale(1.04); }

.wcg-project-next {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: #fff; border: 1px solid var(--border-2);
  padding: 18px 28px; border-radius: 999px; cursor: pointer;
  margin: 0 var(--sec-x) var(--sec-y); font: 700 11px/1 var(--font-sans); letter-spacing: 0.24em; text-transform: uppercase;
  transition: all var(--dur-base);
}
.wcg-project-next:hover { background: var(--wcg-red); border-color: var(--wcg-red); padding-right: 36px; }

/* ============================================================
   ABOUT
   ============================================================ */
.wcg-about {
  display: grid; grid-template-columns: 5fr 7fr; gap: var(--stack-5);
  padding: var(--sec-y) var(--sec-x); align-items: center;
  border-top: 1px solid var(--border-1);
}
.wcg-about-img { position: relative; }
.wcg-about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.wcg-about-img::before {
  content: "EST. 2023"; position: absolute; top: -16px; left: -16px;
  background: var(--wcg-red); color: #fff; padding: 12px 16px;
  font: 700 10px/1 var(--font-sans); letter-spacing: 0.28em;
}
.wcg-about-title { margin: var(--stack-2) 0 var(--stack-3) !important; }

/* ============================================================
   CONTACT
   ============================================================ */
.wcg-contact { padding: var(--sec-y) var(--sec-x); border-top: 1px solid var(--border-1); }
.wcg-contact-title { margin: var(--stack-2) 0 0 !important; }
.wcg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 720px; margin-top: var(--stack-5); }
.wcg-field label { display: block; font: 700 10px/1 var(--font-sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.wcg-field input, .wcg-field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--border-2); color: #fff;
  font: 400 18px/1.5 var(--font-sans); padding: 12px 0; outline: none;
  transition: border-color var(--dur-base); font-family: var(--font-sans);
}
.wcg-field input:focus, .wcg-field textarea:focus { border-color: var(--wcg-red); }
.wcg-field textarea { resize: vertical; min-height: 110px; }
.wcg-btn-primary {
  background: var(--wcg-red); color: #fff;
  font: 700 11px/1 var(--font-sans); letter-spacing: 0.24em; text-transform: uppercase;
  padding: 20px 32px; border-radius: 999px; border: 0; cursor: pointer;
  transition: all var(--dur-base);
  display: inline-flex; align-items: center; gap: 12px;
}
.wcg-btn-primary:hover { background: var(--accent-hover); padding-right: 40px; }

/* ============================================================
   FOOTER
   ============================================================ */
.wcg-footer {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: var(--stack-3);
  padding: var(--space-7) var(--sec-x);
  border-top: 1px solid var(--border-1); color: var(--fg-3);
  position: relative;
}
.wcg-footer::before {
  content: "Cincinnati, OH";
  position: absolute; top: -8px; left: var(--sec-x);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em;
  color: rgba(255,255,255,0.3);
  background: var(--bg-1); padding: 0 8px;
}
.wcg-footer-mark img { height: 28px; }
.wcg-footer-meta { font: 400 11px/1.4 var(--font-sans); letter-spacing: 0.06em; }
.wcg-footer-social { display: flex; gap: 18px; justify-self: end; }
.wcg-footer-social a { transition: color var(--dur-fast); cursor: pointer; }
.wcg-footer-social a:hover { color: var(--wcg-red); }

/* ============================================================
   HOME PAGE — system overview / control panel
   ============================================================ */
.wcg-home { padding-top: 0; }
.wcg-home-boot {
  position: relative; min-height: 100vh; overflow: hidden;
  background: var(--bg-1);
  display: grid; grid-template-rows: auto 1fr auto;
  isolation: isolate;
}
.wcg-home-boot .hud-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 90%);
}
.wcg-home-boot::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(200,16,46,0.10), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6) 100%);
}

.wcg-home-topbar {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 100px var(--sec-x) 0;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.wcg-home-topbar .group { display: inline-flex; align-items: center; gap: 14px; }
.wcg-home-topbar .group span { display: inline-flex; align-items: center; gap: 6px; }
.wcg-home-topbar .val { color: #fff; }
.wcg-home-topbar .sep { width: 1px; height: 10px; background: rgba(255,255,255,0.2); }

.wcg-home-stage {
  position: relative; z-index: 2;
  padding: var(--stack-5) var(--sec-x);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--stack-5);
  align-items: center;
}
@media (max-width: 1100px) { .wcg-home-stage { grid-template-columns: 1fr; } }

/* Solo (no right-rail panel) variant — center the hero column */
.wcg-home-stage.wcg-home-stage--solo {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  min-height: calc(100vh - 180px);
  padding-top: var(--stack-6, 96px);
  padding-bottom: var(--stack-6, 96px);
}
.wcg-home-stage--solo .wcg-home-stage-inner {
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wcg-home-mark {
  margin-bottom: var(--stack-3, 18px);
  display: flex;
  justify-content: center;
}
.wcg-home-stage--solo .wcg-home-headline {
  text-align: center;
  justify-content: center;
}
.wcg-home-stage--solo .wcg-blurtext {
  justify-content: center;
}
.wcg-home-stage--solo .wcg-home-eyebrow {
  justify-content: center;
}
.wcg-home-stage--solo .wcg-home-sub {
  margin-left: auto;
  margin-right: auto;
  max-width: 580px;
  text-align: center;
}
.wcg-home-stage--solo .wcg-home-cta-row {
  justify-content: center;
}

.wcg-home-headline {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(56px, 9vw, 132px);
  line-height: 0.86; letter-spacing: -0.04em; text-transform: uppercase; color: #fff;
  margin: 0;
}
.wcg-home-headline em {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--wcg-red);
}
.wcg-home-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: var(--stack-3);
}
.wcg-home-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--wcg-red);
}
.wcg-home-sub {
  margin: var(--stack-3) 0 0; max-width: 460px;
  font: 400 17px/1.6 var(--font-sans); color: rgba(255,255,255,0.78);
}
.wcg-home-cta-row {
  margin-top: var(--stack-4);
  display: inline-flex; align-items: center; gap: 20px;
}

/* HUD readout panel — sits opposite the headline */
.wcg-home-panel {
  position: relative; padding: 28px;
  background: rgba(11,10,10,0.6);
  border: 1px solid rgba(200,16,46,0.3);
  font-family: var(--font-mono);
}
.wcg-home-panel::before, .wcg-home-panel::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--wcg-red);
}
.wcg-home-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.wcg-home-panel::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.wcg-home-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px dashed rgba(200,16,46,0.35);
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.wcg-home-panel-head .live { color: var(--wcg-red); display: inline-flex; align-items: center; gap: 8px; }
.wcg-home-panel-rows {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 10px 16px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.wcg-home-panel-rows .lbl { color: rgba(255,255,255,0.45); }
.wcg-home-panel-rows .val { color: #fff; }
.wcg-home-panel-rows .ok { color: var(--wcg-red); }

/* Three-up portal cards on home */
.wcg-home-portals {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: var(--sec-y-tight) var(--sec-x) var(--sec-y);
  border-top: 1px solid var(--border-1);
}
@media (max-width: 900px) { .wcg-home-portals { grid-template-columns: 1fr; } }
.wcg-home-portal {
  position: relative; padding: 32px; min-height: 280px;
  width: 100%; box-sizing: border-box;
  background: var(--bg-2); border: 1px solid var(--border-1);
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer; color: inherit; text-align: left;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
  overflow: hidden;
}
.wcg-home-portals > * { width: 100%; }
.wcg-home-portal:hover { transform: translateY(-4px); border-color: rgba(200,16,46,0.5); }
.wcg-home-portal::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--wcg-red); transition: width 500ms var(--ease-out);
}
.wcg-home-portal:hover::before { width: 100%; }
.wcg-home-portal-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--wcg-red);
}
.wcg-home-portal-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: 40px; line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase; color: #fff; margin: var(--stack-3) 0 0;
}
.wcg-home-portal-desc {
  margin: var(--stack-2) 0 0;
  font: 400 14px/1.55 var(--font-sans); color: var(--fg-2); max-width: 32ch;
}
.wcg-home-portal-foot {
  margin-top: var(--stack-4);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}

/* Home recent strip */
.wcg-home-recent {
  padding: 0 var(--sec-x) var(--sec-y);
}
.wcg-home-recent-head {
  display: flex; justify-content: space-between; align-items: end;
  padding-bottom: var(--stack-4);
}
.wcg-home-recent-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1100px) { .wcg-home-recent-grid { grid-template-columns: repeat(2, 1fr); } }
.wcg-home-recent-tile {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--wcg-ink);
  cursor: pointer;
  border: 1px solid var(--border-1);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.wcg-home-recent-tile:hover { transform: translateY(-4px); border-color: rgba(200,16,46,0.5); }
.wcg-home-recent-tile-meta {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff;
}
.wcg-home-recent-tile-meta .t {
  font-family: var(--font-display); font-weight: 900;
  font-size: 18px; letter-spacing: -0.01em; line-height: 1;
  text-transform: uppercase; color: #fff;
  max-width: 70%;
}

/* Slim CTA strip */
.wcg-home-strip {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--stack-4);
  padding: var(--sec-y-tight) var(--sec-x);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  position: relative; overflow: hidden;
}
.wcg-home-strip-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase; color: #fff; margin: 0;
}
.wcg-home-strip-title em {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic; font-weight: 400; color: var(--wcg-red);
}

/* ============================================================
   EDIT MODE — click-to-edit text overlay
   ============================================================ */
.wcg-edit-toggle-wrap {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9998;
  display: flex;
  gap: 8px;
  align-items: center;
}
.wcg-edit-toggle {
  appearance: none;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(20,20,22,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms, border-color 180ms, color 180ms, transform 120ms;
}
.wcg-edit-toggle:hover { border-color: rgba(255,255,255,.35); }
.wcg-edit-toggle:active { transform: translateY(1px); }
.wcg-edit-toggle.is-on {
  background: var(--wcg-red, #C8102E);
  border-color: var(--wcg-red, #C8102E);
  color: #fff;
}
.wcg-edit-toggle-reset {
  font-weight: 500;
  opacity: 0.85;
}

/* The wrapped text node — invisible until edit mode is on. */
.wcg-e { outline: none; }
body[data-edit-mode="on"] .wcg-e {
  outline: 1px dashed rgba(255,255,255,.18);
  outline-offset: 3px;
  border-radius: 2px;
  cursor: text;
  transition: outline-color 140ms, background-color 140ms;
}
body[data-edit-mode="on"] .wcg-e:hover {
  outline-color: rgba(200,16,46,.55);
  background: rgba(200,16,46,.06);
}
body[data-edit-mode="on"] .wcg-e.is-editing:focus {
  outline: 1px solid var(--wcg-red, #C8102E);
  background: rgba(200,16,46,.10);
}

/* ============================================================
   GALLERY — MASONRY (no-crop, natural aspect, for design work)
   ============================================================ */
.wcg-gallery-masonry {
  width: calc(100% - (var(--sec-x) * 2));
  margin: var(--sec-y-tight) var(--sec-x) 0;
  column-count: 4;
  column-gap: 12px;
}
@media (max-width: 1280px) { .wcg-gallery-masonry { column-count: 3; } }
@media (max-width: 900px)  { .wcg-gallery-masonry { column-count: 2; column-gap: 10px; } }
@media (max-width: 560px)  { .wcg-gallery-masonry { column-count: 1; } }
.wcg-gallery-mtile {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: #0a0a0c;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  transition: transform 220ms var(--ease-out, cubic-bezier(0.2,0.7,0.2,1));
}
.wcg-gallery-mtile:hover { transform: translateY(-2px); }
.wcg-gallery-mtile img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.wcg-gallery-mtile .wcg-gallery-num {
  position: absolute;
  top: 10px; left: 10px;
  font: 700 10px/1 var(--font-sans);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.55);
  padding: 5px 8px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 180ms;
}
.wcg-gallery-mtile:hover .wcg-gallery-num { opacity: 1; }

/* ============================================================
   WORK PAGE — uniform grid (mirrors home Selected Work)
   ============================================================ */
.wcg-work-grid {
  padding: 0 var(--sec-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1280px) { .wcg-work-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .wcg-work-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 560px)  { .wcg-work-grid { grid-template-columns: 1fr; } }

.wcg-work-tile {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--wcg-ink);
  cursor: pointer;
  border: 1px solid var(--border-1);
  transition: transform var(--dur-base) var(--ease-out, cubic-bezier(0.2,0.7,0.2,1)),
              border-color var(--dur-base);
}
.wcg-work-tile:hover { transform: translateY(-4px); border-color: rgba(200,16,46,0.5); }
.wcg-work-tile .wcg-tile-ph,
.wcg-work-tile .wcg-tile-ph--cover { position: absolute; inset: 0; }
.wcg-work-tile-meta {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff;
  pointer-events: none;
}
.wcg-work-tile-meta .t {
  font-family: var(--font-display); font-weight: 900;
  font-size: 18px; letter-spacing: -0.01em; line-height: 1;
  text-transform: uppercase; color: #fff;
  max-width: 70%;
  pointer-events: auto;
}

/* Labeled sub-section inside a project page */
.wcg-gallery-section {
  margin-top: var(--sec-y);
}
.wcg-gallery-section-head {
  padding: 0 var(--sec-x);
  margin-bottom: var(--stack-3);
}

/* About — supporting thumbnails under the main portrait */
.wcg-about-img-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.wcg-about-img-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* ============================================================
   YouTube chrome mask — hides title / channel / avatar that
   fade in on hover & pause. Left-anchored so the right-side
   audio/CC controls and our close button stay tappable.
   ============================================================ */
.wcg-yt-mask {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}
.wcg-yt-mask-top {
  top: 0;
  left: 0;
  width: 70%;
  height: 14%;
  min-height: 64px;
  background: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,0.85) 80%, rgba(0,0,0,0) 100%);
}
/* Vertical (9:16 Shorts) tiles — title sits below an avatar so we
   need a much taller mask. */
.wcg-vvc-tile .wcg-yt-mask-top {
  width: 78%;
  height: 18%;
  min-height: 90px;
  background: linear-gradient(180deg, #000 0%, #000 72%, rgba(0,0,0,0.9) 88%, rgba(0,0,0,0) 100%);
}
/* Bottom-left "link" icon + bottom-right "Shorts" badge that YouTube
   stamps on Shorts. */
.wcg-vvc-tile .wcg-yt-mask-bl,
.wcg-vvc-tile .wcg-yt-mask-br {
  bottom: 8%;
  width: 22%;
  height: 8%;
  min-height: 36px;
  background: rgba(0,0,0,0.92);
  border-radius: 6px;
}
.wcg-vvc-tile .wcg-yt-mask-bl { left: 2%; }
.wcg-vvc-tile .wcg-yt-mask-br { right: 2%; }

/* Native HTML5 video tile (no YouTube chrome) */
video.wcg-vvc-iframe {
  object-fit: cover;
  background: #000;
}
.wcg-vvc-tile.is-local {
  /* Local videos start in active size since there's no poster swap */
  width: clamp(280px, 30vw, 420px);
}
.wcg-vvc-num.is-static {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  pointer-events: none;
}

/* ============================================================
   INSTAGRAM REELS — clean 3-col grid of official IG embeds
   ============================================================ */
.wcg-ig-reels-section {
  padding: var(--sec-y-tight) var(--sec-x) 0;
}
.wcg-ig-reels-head {
  margin-bottom: var(--stack-3);
}
.wcg-ig-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 1100px) {
  .wcg-ig-reels { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 700px) {
  .wcg-ig-reels { grid-template-columns: 1fr; gap: 14px; }
}
.wcg-ig-reel-card {
  width: 100%;
  border: 1px solid var(--border-1);
  border-radius: 4px;
  overflow: hidden;
  background: #0e0e10;
  transition: transform var(--dur-base) var(--ease-out, cubic-bezier(0.2,0.7,0.2,1)),
              border-color var(--dur-base);
}
.wcg-ig-reel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200,16,46,0.45);
}
.wcg-ig-reel-card .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* ============================================================
   LINKEDIN POSTS — clean 3-col grid of LinkedIn embed iframes
   ============================================================ */
.wcg-li-posts-section {
  padding: var(--sec-y-tight) var(--sec-x) 0;
}
.wcg-li-posts-head {
  margin-bottom: var(--stack-3);
}
.wcg-li-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 1100px) {
  .wcg-li-posts { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 700px) {
  .wcg-li-posts { grid-template-columns: 1fr; gap: 14px; }
}
.wcg-li-post-card {
  width: 100%;
  aspect-ratio: 504 / 399;
  border: 1px solid var(--border-1);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: transform var(--dur-base) var(--ease-out, cubic-bezier(0.2,0.7,0.2,1)),
              border-color var(--dur-base);
}
.wcg-li-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200,16,46,0.45);
}
.wcg-li-post-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ============================================================
   PROJECT METRICS — performance callout for select projects
   ============================================================ */
.wcg-project-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 var(--sec-x) var(--sec-y-tight);
}
@media (max-width: 900px) {
  .wcg-project-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .wcg-project-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
}
.wcg-project-metric {
  border: 1px solid var(--border-1);
  background: var(--bg-2);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.wcg-project-metric::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 32px;
  background: var(--wcg-red);
}
.wcg-project-metric .value {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px); line-height: 1;
  letter-spacing: -0.02em; color: #fff;
}
.wcg-project-metric .label {
  margin-top: 12px;
  font: 600 10px/1 var(--font-sans); letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--fg-3);
}
