/* ==========================================================================
   SNDWRKS — Shendi Wijaya Visual Portfolio
   Dark Cinematic (#000000) + Ember (#FA643F) + Steel-Blue Ambience (#4E7DB8)
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-elevated: #07090f;
  --bg-card: #0c1018;
  --bg-card-hover: #111826;
  --accent: #fa643f;
  --accent-soft: rgba(250, 100, 63, 0.16);
  --accent-glow: rgba(250, 100, 63, 0.44);
  --blue: #5d8ec7;
  --blue-bright: #9ec0e6;
  --blue-deep: #1a2d47;
  --blue-glow: rgba(88, 140, 206, 0.3);
  --text: #ffffff;
  --text-muted: rgba(232, 240, 250, 0.72);
  --text-subtle: rgba(196, 212, 232, 0.48);
  --border: rgba(154, 188, 228, 0.14);
  --border-accent: rgba(250, 100, 63, 0.5);
  --border-blue: rgba(114, 162, 220, 0.4);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-width: 1240px;
  --font-display: "Syncopate", "Space Grotesk", system-ui, sans-serif;
  --font-heading: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 18px 0;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    padding 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(138, 178, 224, 0.14);
  padding: 13px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.nav-links a {
  color: rgba(235, 243, 255, 0.82);
  padding: 4px 6px;
  transition: color 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(250, 100, 63, 0.55);
  color: #ffffff;
  background: rgba(250, 100, 63, 0.14);
  transition: background 0.25s ease, transform 0.25s var(--ease-out),
    box-shadow 0.25s ease;
}

.nav-cta-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section (Steel-Blue + Golden-Orange Motion-Blur Streaks)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 112px 20px 88px;
  background: #04070e url("assets/web/hero-bg.webp") center 38% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 28, 46, 0.96) 0%,
      rgba(98, 128, 164, 0.68) 9%,
      rgba(22, 34, 52, 0.88) 18%,
      rgba(250, 122, 63, 0.44) 30%,
      rgba(255, 206, 138, 0.62) 41%,
      rgba(18, 30, 48, 0.9) 50%,
      rgba(146, 180, 214, 0.56) 60%,
      rgba(52, 82, 118, 0.7) 69%,
      rgba(14, 22, 34, 0.92) 82%,
      #000000 100%
    );
  pointer-events: none;
  z-index: 0;
}

.hero-canvas {
  display: none;
}

.about-photo {
  width: clamp(136px, 16vw, 172px);
  height: clamp(136px, 16vw, 172px);
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(6, 12, 22, 0.06) 0%, rgba(0, 0, 0, 0.58) 84%),
    linear-gradient(180deg, rgba(4, 8, 16, 0.42) 0%, rgba(0, 0, 0, 0.02) 26%, rgba(0, 0, 0, 0.28) 72%, #000000 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 980px;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(236, 245, 255, 0.88);
  margin-bottom: 24px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(6, 14, 26, 0.52);
  border: 1px solid rgba(154, 194, 238, 0.24);
  backdrop-filter: blur(8px);
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 8.6vw, 6.4rem);
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    -10px 0 14px rgba(255, 255, 255, 0.22),
    10px 0 14px rgba(255, 255, 255, 0.22),
    -24px 0 30px rgba(158, 192, 230, 0.26),
    24px 0 30px rgba(250, 100, 63, 0.28),
    0 10px 44px rgba(0, 0, 0, 0.58);
  margin-bottom: 18px;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: rgba(255, 255, 255, 0.42);
  filter: blur(5px);
  transform: scaleX(1.07);
  pointer-events: none;
  z-index: -1;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 249, 255, 0.95);
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.7);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.28s var(--ease-out), background 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(250, 100, 63, 0.34);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #ff7552;
  box-shadow: 0 14px 36px rgba(250, 100, 63, 0.5);
}

.btn-ghost {
  background: rgba(8, 16, 28, 0.58);
  border: 1px solid rgba(164, 198, 236, 0.32);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--blue-bright);
  background: rgba(78, 125, 184, 0.24);
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(218, 234, 252, 0.72);
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(93, 142, 199, 0.5) 55%, rgba(93, 142, 199, 0) 100%);
}

/* ==========================================================================
   Subpage Hero Banner
   ========================================================================== */

.subpage-hero {
  position: relative;
  padding: 96px 0 24px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 45%, #000000 100%),
    url("assets/web/hero-bg.webp") center 40% / cover no-repeat;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(182, 210, 242, 0.045) 0 1px,
    transparent 1px 6px
  );
  pointer-events: none;
}

.subpage-hero-inner {
  position: relative;
  z-index: 2;
}

.back-projects-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(146, 184, 228, 0.26);
  background: rgba(8, 16, 30, 0.56);
  margin-bottom: 22px;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.back-projects-link:hover {
  border-color: var(--accent);
  color: #ffffff;
  transform: translateX(-2px);
}

/* ==========================================================================
   Motion-Blur Horizontal Divider Band (Blue + Ember Streak)
   ========================================================================== */

.streak-divider {
  position: relative;
  height: 58px;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #000000 0%,
      rgba(56, 94, 144, 0.42) 26%,
      rgba(140, 178, 222, 0.28) 42%,
      rgba(250, 100, 63, 0.24) 56%,
      rgba(44, 72, 112, 0.34) 74%,
      #000000 100%
    );
}

.streak-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(210, 230, 255, 0.05) 0px,
    rgba(210, 230, 255, 0.05) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.75;
}

/* ==========================================================================
   Bio / About Section (Subtle Deep-Blue Ambience)
   ========================================================================== */

.about {
  position: relative;
  padding: 28px 0 24px;
  text-align: center;
  background: #000000;
}

.about-statement {
  max-width: 780px;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(244, 249, 255, 0.94);
}

.about-highlight {
  color: var(--accent);
  font-weight: 500;
}

.discipline-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}

.pill {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(132, 174, 224, 0.22);
  background: rgba(40, 74, 118, 0.14);
  color: rgba(220, 235, 252, 0.82);
}

.clients-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.clients-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 38px;
}

.client-name {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.3vw, 0.9rem);
  letter-spacing: 0.18em;
  color: rgba(212, 228, 246, 0.68);
  transition: color 0.25s ease;
}

.client-name:hover {
  color: var(--accent);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section {
  position: relative;
  padding: 24px 0 32px;
}

.section-projects {
  background:
    radial-gradient(ellipse at 16% 36%, rgba(56, 102, 166, 0.14), transparent 54%),
    radial-gradient(ellipse at 86% 68%, rgba(250, 100, 63, 0.1), transparent 54%),
    #000000;
}

.brands-section {
  padding: 20px 0 18px;
  text-align: center;
  background: #000000;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 40px;
}

.brand-logo {
  height: 40px;
  color: rgba(226, 238, 252, 0.62);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}

.brand-logo svg {
  height: 36px;
  width: auto;
}

.brand-logo:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-bright);
  opacity: 0.78;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.15;
}

.section-desc {
  max-width: 640px;
  margin-top: 14px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* ==========================================================================
   My Projects Gateway (3 Columns Side-by-Side on Full Desktop)
   ========================================================================== */

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}

.gateway-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.gateway-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.92;
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease;
}

.gateway-card[data-kind="photography"]::before {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(176, 206, 240, 0.06) 0px,
      rgba(176, 206, 240, 0.06) 2px,
      rgba(0, 0, 0, 0.44) 2px,
      rgba(0, 0, 0, 0.44) 9px
    ),
    radial-gradient(circle at 20% 22%, rgba(92, 146, 214, 0.36), transparent 56%),
    radial-gradient(circle at 82% 76%, rgba(250, 100, 63, 0.3), transparent 58%),
    linear-gradient(155deg, #132033 0%, #090e18 58%, #04060a 100%);
}

.gateway-card[data-kind="videography"]::before {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(176, 206, 240, 0.05) 0px,
      rgba(176, 206, 240, 0.05) 1px,
      rgba(0, 0, 0, 0.48) 1px,
      rgba(0, 0, 0, 0.48) 7px
    ),
    radial-gradient(circle at 78% 24%, rgba(84, 134, 204, 0.34), transparent 55%),
    radial-gradient(circle at 22% 74%, rgba(250, 100, 63, 0.36), transparent 56%),
    linear-gradient(155deg, #161d2b 0%, #090c14 60%, #040508 100%);
}

.gateway-card[data-kind="graphic-design"]::before {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(182, 212, 246, 0.06) 0px,
      rgba(182, 212, 246, 0.06) 2px,
      rgba(0, 0, 0, 0.46) 2px,
      rgba(0, 0, 0, 0.46) 8px
    ),
    radial-gradient(circle at 50% 24%, rgba(108, 160, 224, 0.42), transparent 58%),
    radial-gradient(circle at 76% 84%, rgba(250, 128, 72, 0.28), transparent 54%),
    linear-gradient(160deg, #122238 0%, #080e1a 60%, #03050a 100%);
}

.gateway-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 38px rgba(84, 136, 204, 0.2),
    0 0 24px rgba(250, 100, 63, 0.14);
}

.gateway-card:hover::before {
  transform: scale(1.04);
}

.gateway-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: grayscale(1) brightness(0.54) contrast(1.14);
  transition: filter 0.45s ease, transform 0.65s var(--ease-out);
  pointer-events: none;
}

.gateway-card:hover .gateway-media {
  filter: grayscale(0) brightness(0.92) contrast(1.04) saturate(1.1);
  transform: scale(1.05);
}

.gateway-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.24) 48%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.gateway-top,
.gateway-center,
.gateway-bottom {
  position: relative;
  z-index: 2;
}

.gateway-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(214, 232, 252, 0.78);
}

.gateway-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(4, 10, 20, 0.68);
  border: 1px solid rgba(154, 192, 236, 0.22);
  white-space: nowrap;
}

.gateway-center {
  margin: 34px 0;
  text-align: center;
}

.gateway-bar {
  display: inline-block;
  padding: 12px 20px;
  background: rgba(4, 7, 13, 0.88);
  border: 1px solid rgba(156, 192, 232, 0.2);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.86rem, 1.35vw, 1.15rem);
  letter-spacing: 0.14em;
  color: #ffffff;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.gateway-card:hover .gateway-bar {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 22px rgba(250, 100, 63, 0.2);
}

.gateway-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.gateway-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250, 100, 63, 0.55);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.gateway-card:hover .gateway-arrow {
  background: var(--accent);
  color: #ffffff;
  transform: translateX(3px);
}

/* ==========================================================================
   Filter Tabs
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-tab {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(42, 74, 118, 0.12);
  color: var(--text-muted);
  transition: all 0.24s ease;
}

.filter-tab:hover {
  border-color: var(--blue-bright);
  color: #ffffff;
}

.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(250, 100, 63, 0.34);
}

/* ==========================================================================
   Photography & Graphic Design Collections
   ========================================================================== */

.photo-collections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease-out), border-color 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
}

.photo-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.photo-visual[data-theme="sports"] {
  background:
    repeating-linear-gradient(180deg, rgba(176, 206, 240, 0.05) 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at 20% 30%, rgba(250, 100, 63, 0.44), transparent 58%),
    radial-gradient(ellipse at 85% 80%, rgba(78, 125, 184, 0.34), transparent 56%),
    linear-gradient(145deg, #1b171c 0%, #0d1522 54%, #05070c 100%);
}

.photo-visual[data-theme="event"] {
  background:
    repeating-linear-gradient(180deg, rgba(176, 206, 240, 0.05) 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at 80% 25%, rgba(250, 148, 63, 0.34), transparent 55%),
    radial-gradient(ellipse at 18% 78%, rgba(86, 138, 206, 0.42), transparent 58%),
    linear-gradient(155deg, #111c2d 0%, #080c14 100%);
}

.photo-visual[data-theme="family"] {
  background:
    repeating-linear-gradient(180deg, rgba(176, 206, 240, 0.04) 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at 50% 35%, rgba(235, 178, 128, 0.32), transparent 58%),
    radial-gradient(ellipse at 16% 84%, rgba(74, 118, 174, 0.3), transparent 55%),
    linear-gradient(160deg, #1c1a1d 0%, #090c12 100%);
}

.photo-visual[data-theme="design-cobalt"] {
  background:
    repeating-linear-gradient(180deg, rgba(180, 212, 248, 0.06) 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at 26% 28%, rgba(92, 152, 224, 0.48), transparent 58%),
    radial-gradient(ellipse at 80% 78%, rgba(250, 100, 63, 0.34), transparent 56%),
    linear-gradient(150deg, #11223a 0%, #070d18 100%);
}

.photo-visual[data-theme="design-steel"] {
  background:
    repeating-linear-gradient(180deg, rgba(180, 212, 248, 0.055) 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at 74% 30%, rgba(126, 174, 228, 0.42), transparent 58%),
    radial-gradient(ellipse at 24% 80%, rgba(76, 118, 174, 0.36), transparent 56%),
    linear-gradient(155deg, #121f32 0%, #070b14 100%);
}

.photo-visual[data-theme="design-ember"] {
  background:
    repeating-linear-gradient(180deg, rgba(180, 212, 248, 0.05) 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at 70% 32%, rgba(250, 116, 63, 0.4), transparent 58%),
    radial-gradient(ellipse at 22% 76%, rgba(84, 134, 198, 0.36), transparent 58%),
    linear-gradient(155deg, #1b1a24 0%, #080c14 100%);
}

.photo-visual-tag {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 243, 255, 0.84);
  background: rgba(4, 10, 20, 0.64);
  border: 1px solid rgba(154, 192, 236, 0.22);
  padding: 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.photo-visual-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.photo-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.photo-subtitle {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
}

.photo-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.photo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.photo-chip {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(74, 120, 178, 0.14);
  color: rgba(220, 234, 250, 0.82);
  border: 1px solid rgba(134, 176, 226, 0.16);
}

.drive-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(250, 100, 63, 0.5);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.drive-link:hover {
  color: #ff8261;
  border-color: #ff8261;
  gap: 11px;
}

.local-photo-grid {
  margin-top: 28px;
  columns: 3 280px;
  column-gap: 16px;
}

.local-photo-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: zoom-in;
  position: relative;
}

.local-photo-item img {
  width: 100%;
  height: auto;
  transition: transform 0.45s var(--ease-out);
}

.local-photo-item:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   Videography Showcase
   ========================================================================== */

.video-group { margin-bottom: 52px; }
.video-group:last-of-type { margin-bottom: 0; }

.video-group-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.video-group-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  letter-spacing: 0.12em;
  color: #ffffff;
}

.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.video-grid.has-wide { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.video-grid.has-wide .video-card.format-9-16 { grid-column: span 3; }
.video-grid.has-wide .video-card.format-16-9 { grid-column: span 6; }
.video-grid.wide-only { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease-out), border-color 0.3s ease,
    box-shadow 0.32s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
}

.video-poster {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.video-card.format-9-16 .video-poster { aspect-ratio: 9 / 14; }
.video-card.format-16-9 .video-poster { aspect-ratio: 16 / 9; }

.video-poster img {
  filter: grayscale(1);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.video-card:hover .video-poster img { transform: scale(1.04); }

.video-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 16, 0.42) 0%, rgba(0, 0, 0, 0.14) 45%, rgba(4, 8, 16, 0.86) 100%);
  pointer-events: none;
}

.video-poster[data-theme="sports-amber"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.05) 0 1px, transparent 1px 6px), radial-gradient(circle at 25% 25%, rgba(250, 100, 63, 0.48), transparent 58%), radial-gradient(circle at 80% 80%, rgba(74, 126, 192, 0.34), transparent 56%), linear-gradient(160deg, #1f171a 0%, #080d17 100%); }
.video-poster[data-theme="sports-crimson"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.045) 0 1px, transparent 1px 5px), radial-gradient(circle at 75% 30%, rgba(226, 62, 62, 0.42), transparent 58%), radial-gradient(circle at 20% 78%, rgba(74, 126, 192, 0.34), transparent 58%), linear-gradient(160deg, #1b111c 0%, #070b14 100%); }
.video-poster[data-theme="sports-steel"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.055) 0 1px, transparent 1px 6px), radial-gradient(circle at 30% 60%, rgba(114, 164, 224, 0.48), transparent 58%), radial-gradient(circle at 75% 20%, rgba(250, 100, 63, 0.28), transparent 48%), linear-gradient(165deg, #112035 0%, #060a12 100%); }
.video-poster[data-theme="sports-ember"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.045) 0 1px, transparent 1px 6px), radial-gradient(circle at 50% 38%, rgba(255, 134, 70, 0.44), transparent 56%), radial-gradient(circle at 20% 85%, rgba(82, 132, 196, 0.32), transparent 54%), linear-gradient(160deg, #1d181a 0%, #080d16 100%); }
.video-poster[data-theme="brand-obsidian"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.05) 0 1px, transparent 1px 5px), radial-gradient(circle at 70% 25%, rgba(92, 146, 214, 0.4), transparent 54%), radial-gradient(circle at 25% 75%, rgba(250, 100, 63, 0.3), transparent 52%), linear-gradient(160deg, #131d2d 0%, #070a12 100%); }
.video-poster[data-theme="brand-warm"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.045) 0 1px, transparent 1px 6px), radial-gradient(circle at 25% 75%, rgba(242, 166, 90, 0.38), transparent 58%), radial-gradient(circle at 78% 22%, rgba(82, 134, 198, 0.34), transparent 56%), linear-gradient(155deg, #1c1b22 0%, #080c14 100%); }
.video-poster[data-theme="brand-cinema"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.05) 0 1px, transparent 1px 5px), radial-gradient(ellipse at 65% 45%, rgba(250, 100, 63, 0.34), transparent 58%), radial-gradient(ellipse at 20% 30%, rgba(86, 138, 206, 0.36), transparent 56%), linear-gradient(145deg, #131c2b 0%, #060910 100%); }
.video-poster[data-theme="travel-dusk"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.05) 0 1px, transparent 1px 6px), radial-gradient(ellipse at 30% 38%, rgba(250, 120, 63, 0.36), transparent 56%), radial-gradient(ellipse at 78% 72%, rgba(82, 144, 210, 0.42), transparent 56%), linear-gradient(155deg, #121e30 0%, #060a12 100%); }
.video-poster[data-theme="travel-horizon"] { background: repeating-linear-gradient(180deg, rgba(180, 210, 245, 0.05) 0 1px, transparent 1px 6px), radial-gradient(ellipse at 68% 32%, rgba(240, 160, 88, 0.38), transparent 56%), radial-gradient(ellipse at 20% 80%, rgba(74, 146, 198, 0.4), transparent 56%), linear-gradient(155deg, #10202e 0%, #060a12 100%); }

.video-meta-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.video-chip { font-family: var(--font-heading); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(4, 10, 20, 0.66); border: 1px solid rgba(154, 192, 236, 0.22); color: rgba(232, 243, 255, 0.88); }

.video-play-btn {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  margin: auto;
  border-radius: 50%;
  background: rgba(4, 10, 20, 0.72);
  border: 1px solid rgba(250, 100, 63, 0.72);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform 0.28s var(--ease-out), background 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--accent);
  box-shadow: 0 0 28px var(--accent-glow);
}

.video-quote { position: relative; z-index: 2; font-size: 0.82rem; font-style: italic; color: rgba(226, 238, 252, 0.82); text-align: center; margin-top: 6px; }
.video-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; background: var(--bg-card); flex: 1; }
.video-title { font-family: var(--font-heading); font-weight: 600; font-size: 0.94rem; letter-spacing: 0.06em; text-transform: uppercase; color: #ffffff; }
.video-client { font-family: var(--font-heading); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ==========================================================================
   Contact Section (Dual Blue + Warm Ember Ambience)
   ========================================================================== */

.contact {
  position: relative;
  padding: 22px 0 36px;
  text-align: center;
  overflow: hidden;
  background: #000000;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(58, 102, 162, 0.12), transparent 60%);
  pointer-events: none;
}

.contact-inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.contact-heading { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 4.4vw, 3rem); letter-spacing: 0.14em; text-transform: uppercase; color: #ffffff; margin-bottom: 24px; }
.contact-email-wrap { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px; }
.contact-email { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.8vw, 1.7rem); color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; transition: color 0.2s ease; }
.contact-email:hover { color: #ff8261; }
.copy-btn { font-family: var(--font-heading); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); background: rgba(46, 82, 130, 0.16); transition: all 0.2s ease; }
.copy-btn:hover { border-color: var(--accent); color: #ffffff; }
.contact-location { font-size: 0.92rem; color: var(--text-muted); letter-spacing: 0.04em; margin-bottom: 22px; }

.social-row { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 24px; }
.social-circle { width: 52px; height: 52px; border-radius: 50%; background: #ffffff; color: #000000; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.28s var(--ease-out), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.social-circle:hover { transform: translateY(-4px); background: var(--accent); color: #ffffff; box-shadow: 0 12px 28px var(--accent-glow); }
.social-circle svg { width: 22px; height: 22px; }

/* ==========================================================================
   Footer, Lightbox, Toast, Reveal
   ========================================================================== */

.site-footer { border-top: 1px solid var(--border); padding: 28px 0 36px; font-size: 0.82rem; color: var(--text-subtle); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.back-top { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(250, 100, 63, 0.55); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.back-top:hover { background: var(--accent); color: #ffffff; transform: translateY(-2px); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2, 6, 12, 0.94); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-figure { max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox-figure img { max-width: 92vw; max-height: 78vh; border-radius: 12px; object-fit: contain; }
.lightbox-caption { font-size: 0.9rem; color: var(--text-muted); }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(176, 206, 240, 0.28); color: #ffffff; font-size: 1.4rem; display: inline-flex; align-items: center; justify-content: center; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 120; background: #0c1320; border: 1px solid var(--border-accent); color: #ffffff; font-family: var(--font-heading); font-size: 0.82rem; letter-spacing: 0.06em; padding: 11px 20px; border-radius: 999px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6); transition: opacity 0.25s ease, transform 0.25s var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 980px) {
  .gateway-grid,
  .photo-collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .video-grid,
  .video-grid.has-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .video-grid.has-wide .video-card.format-9-16 { grid-column: span 1; }
  .video-grid.has-wide .video-card.format-16-9 { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-cta { display: none; }
  .gateway-grid,
  .photo-collections,
  .video-grid.wide-only,
  .video-grid,
  .video-grid.has-wide {
    grid-template-columns: 1fr;
  }
  .video-grid.has-wide .video-card.format-16-9 { grid-column: span 1; }
  .video-card.format-9-16 .video-poster { aspect-ratio: 4 / 5; }
  .gateway-card { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Tight Editorial Masonry Gallery (Photography & Graphic Design)
   ========================================================================== */

.gallery-section { margin-bottom: 36px; scroll-margin-top: 90px; }
.gallery-section:last-child { margin-bottom: 0; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gallery-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.45rem); letter-spacing: 0.12em; text-transform: uppercase; color: #ffffff; margin: 0; }
.gallery-view-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); transition: color 0.2s ease, gap 0.2s ease; }
.gallery-view-btn:hover { color: #ff8261; gap: 9px; }
.gallery-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gallery-item { display: block; width: 100%; aspect-ratio: 4 / 3; margin: 0; border-radius: 3px; overflow: hidden; border: none; background: #090b10; cursor: zoom-in; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.45s var(--ease-out), opacity 0.25s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-placeholder { cursor: default; display: flex; align-items: flex-end; padding: 12px; background: repeating-linear-gradient(180deg, rgba(176,206,240,0.05) 0 1px, transparent 1px 6px), radial-gradient(ellipse at 30% 25%, rgba(92,146,214,0.3), transparent 60%), radial-gradient(ellipse at 80% 85%, rgba(250,100,63,0.2), transparent 60%), linear-gradient(155deg, #101a2a 0%, #070a11 100%); }
.gallery-placeholder span { font-family: var(--font-heading); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-subtle); }
.gallery-foot { display: flex; justify-content: center; align-items: center; margin-top: 18px; }
.gallery-others { font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.84rem; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.gallery-others:hover { color: #ff8261; }

/* Staggered Editorial Preview (6 items, flush bottom across all 3 columns) */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(12, 1fr);
  gap: 6px;
  height: clamp(380px, 46vw, 560px);
}
.gallery-preview .gallery-item {
  aspect-ratio: auto;
  height: 100%;
}
.gallery-preview .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 7; }
.gallery-preview .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1 / span 5; }
.gallery-preview .gallery-item:nth-child(3) { grid-column: 3; grid-row: 1 / span 8; }
.gallery-preview .gallery-item:nth-child(4) { grid-column: 1; grid-row: 8 / span 5; }
.gallery-preview .gallery-item:nth-child(5) { grid-column: 2; grid-row: 6 / span 7; }
.gallery-preview .gallery-item:nth-child(6) { grid-column: 3; grid-row: 9 / span 4; }

/* Scrollable pop-up gallery (tight natural masonry) */
.gallery-modal { position: fixed; inset: 0; z-index: 90; background: rgba(2, 5, 10, 0.94); backdrop-filter: blur(12px); display: none; align-items: center; justify-content: center; padding: clamp(10px, 2.5vw, 24px); }
.gallery-modal.open { display: flex; }
.gallery-modal-panel { width: 100%; max-width: 1280px; max-height: 100%; display: flex; flex-direction: column; background: #04070d; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.78); }
.gallery-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.gallery-modal-title { font-family: var(--font-display); font-size: clamp(0.85rem, 1.8vw, 1.15rem); letter-spacing: 0.12em; color: #ffffff; text-transform: uppercase; }
.gallery-modal-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); font-size: 1.25rem; color: rgba(255, 255, 255, 0.8); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, color 0.2s ease; }
.gallery-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.gallery-modal-body { overflow-y: auto; padding: 14px; }
.gallery-modal-body .gallery-masonry { display: block; columns: 4 210px; column-gap: 6px; }
.gallery-modal-body .gallery-item { aspect-ratio: auto; height: auto; break-inside: avoid; margin-bottom: 6px; }
.gallery-modal-body .gallery-item img { height: auto; }
@media (max-width: 720px) {
  .gallery-preview { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 5px; }
  .gallery-preview .gallery-item:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; height: auto; }
  .gallery-modal-body .gallery-masonry { columns: 2 140px; column-gap: 5px; }
  .gallery-modal-body .gallery-item { margin-bottom: 5px; }
}

/* Reels Carousel + Minimal Cinema Video Player */
button.video-card { text-align: left; width: 100%; }
.video-chip-play { background: rgba(250, 100, 63, 0.24); border-color: rgba(250, 100, 63, 0.72); color: #ffffff; }
.video-modal { position: fixed; inset: 0; z-index: 95; background: rgba(2, 5, 10, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: none; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 28px); }
.video-modal.open { display: flex; }
.reel-shell { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2.4vw, 24px); width: 100%; max-width: 1080px; }
.reel-nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.78); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.reel-nav:hover { border-color: rgba(250, 100, 63, 0.7); color: #ffffff; background: rgba(250, 100, 63, 0.14); transform: scale(1.05); }
.reel-frame { position: relative; width: min(410px, 92vw); aspect-ratio: 9 / 16; max-height: 88vh; border-radius: 20px; overflow: hidden; background: #000000; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 32px 96px rgba(0, 0, 0, 0.85); }
.reel-frame.is-wide { width: min(920px, 94vw); aspect-ratio: 16 / 9; }
.reel-video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; background: #000000; }
.reel-top-grad { position: absolute; top: 0; left: 0; right: 0; height: 108px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 100%); pointer-events: none; transition: opacity 0.3s ease; }
.reel-bottom-grad { position: absolute; bottom: 0; left: 0; right: 0; height: 170px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 100%); pointer-events: none; transition: opacity 0.3s ease; }
.reel-stories { position: absolute; top: 10px; left: 14px; right: 14px; z-index: 4; display: flex; gap: 5px; pointer-events: none; }
.reel-story { flex: 1; height: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.24); overflow: hidden; }
.reel-story-fill { display: block; height: 100%; width: 0%; background: var(--accent); border-radius: 999px; transition: width 0.12s linear; }
.reel-story.done .reel-story-fill { width: 100%; background: rgba(255, 255, 255, 0.85); }
.reel-top-bar { position: absolute; top: 20px; left: 16px; right: 14px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: opacity 0.3s ease; }
.reel-brand { font-family: var(--font-heading); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
.reel-close { width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, 0.34); color: rgba(255, 255, 255, 0.82); display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); transition: color 0.2s ease, background 0.2s ease; }
.reel-close:hover { color: #ffffff; background: rgba(250, 100, 63, 0.45); }
.reel-bottom { position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 5; display: flex; flex-direction: column; gap: 10px; transition: opacity 0.3s ease; }
.reel-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px; }
.reel-title { font-family: var(--font-heading); font-size: 0.84rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.94); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75); }
.reel-counter { font-family: var(--font-heading); font-size: 0.68rem; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.56); white-space: nowrap; }
.reel-controls { background: rgba(6, 9, 15, 0.58); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 10px 12px 9px; display: flex; flex-direction: column; gap: 8px; }
.reel-scrub-wrap { position: relative; height: 14px; display: flex; align-items: center; }
.reel-scrub-track { position: absolute; left: 0; right: 0; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); overflow: hidden; pointer-events: none; }
.reel-scrub-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 999px; }
.reel-scrub { position: relative; width: 100%; height: 14px; opacity: 0; cursor: pointer; margin: 0; }
.reel-ctrl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reel-ctrl-left, .reel-ctrl-right { display: flex; align-items: center; gap: 8px; }
.reel-icon-btn { width: 28px; height: 28px; border-radius: 50%; color: rgba(255, 255, 255, 0.84); display: inline-flex; align-items: center; justify-content: center; transition: color 0.2s ease, background 0.2s ease; }
.reel-icon-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.1); }
.reel-play-toggle { color: var(--accent); }
.reel-play-toggle:hover { color: #ff8261; }
.reel-time { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; color: rgba(255, 255, 255, 0.68); letter-spacing: 0.02em; }
.reel-frame.is-idle .reel-top-bar, .reel-frame.is-idle .reel-bottom, .reel-frame.is-idle .reel-top-grad, .reel-frame.is-idle .reel-bottom-grad { opacity: 0; }
@media (max-width: 640px) { .reel-nav { display: none; } .reel-frame { width: min(94vw, 400px); max-height: 86vh; } }

/* ==========================================================================
   Staggered Category Strips — One-Screen Photography Showcase
   ========================================================================== */

.subpage-hero-compact {
  padding: 84px 0 10px;
}
.subpage-hero-compact .back-projects-link {
  margin-bottom: 12px;
}
.photo-stage-section {
  padding: 10px 0 28px;
}
.photo-cat-strips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 0 20px;
}
.photo-cat-strips-2 {
  max-width: 720px;
}
.stage-back-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.stage-back-wrap .back-projects-link {
  margin-bottom: 0;
}
.photo-cat-strip {
  position: relative;
  flex: 1 1 0;
  height: clamp(340px, 56vh, 520px);
  border-radius: 3px;
  overflow: hidden;
  background: #080a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  transition:
    flex 0.55s var(--ease-out),
    transform 0.45s var(--ease-out),
    opacity 0.35s ease,
    box-shadow 0.4s ease;
}
.photo-cat-strip:nth-child(1),
.photo-cat-strip:nth-child(2),
.photo-cat-strip:nth-child(3) { transform: none; }

.photo-cat-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) brightness(0.64) contrast(1.12);
  transition: transform 0.65s var(--ease-out), filter 0.45s ease;
}
.photo-cat-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.22) 50%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.photo-cat-index {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
}
.photo-cat-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.photo-cat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.8vw, 1.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.85);
}
.photo-cat-line {
  width: 24px;
  height: 2px;
  background: var(--accent);
  opacity: 0.7;
  transition: width 0.35s var(--ease-out), opacity 0.3s ease;
}
.photo-cat-count {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.photo-cat-strips:hover .photo-cat-strip {
  opacity: 0.52;
}
.photo-cat-strips .photo-cat-strip:hover {
  flex: 1.55 1 0;
  opacity: 1;
  z-index: 3;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.82);
}
.photo-cat-strip:hover img {
  filter: grayscale(0) brightness(1) contrast(1.04) saturate(1.06);
  transform: scale(1.04);
}
.photo-cat-strip:hover .photo-cat-line {
  width: 52px;
  opacity: 1;
}

@media (max-width: 720px) {
  .photo-cat-strips {
    flex-direction: column;
    gap: 10px;
    padding: 8px 0 16px;
  }
  .photo-cat-strip {
    width: 100%;
    flex: none;
    height: 175px;
    transform: none !important;
  }
  .photo-cat-strips:hover .photo-cat-strip { opacity: 1; }
  .photo-cat-strips .photo-cat-strip:hover { flex: none; }
}
