/* ═══════════════════════════════════════════════
   SNAP. Content — Portfolio CSS
   ═══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --clr-bg:        #0a0a0a;
  --clr-bg2:       #111111;
  --clr-surface:   #161616;
  --clr-border:    rgba(255,255,255,0.08);
  --clr-accent:    #00d4c8;     
  --clr-accent2:   #007a74;
  --clr-white:     #f5f5f0;
  --clr-muted:     #888;
  --ff-display:    'Bebas Neue', sans-serif;
  --ff-serif:      'Playfair Display', serif;
  --ff-body:       'Outfit', sans-serif;
  --nav-h:         72px;
  --radius:        6px;
  --trans:         0.10s cubic-bezier(0.4,0,0.2,1);
}

/* ── LIGHT MODE ──────────────────────────────── */
body.light-mode {
  --clr-bg:        #f5f5f0;
  --clr-bg2:       #eeeeea;
  --clr-surface:   #e8e8e2;
  --clr-border:    rgba(0,0,0,0.08);
  --clr-white:     #0a0a0a;
  --clr-muted:     #666;
}

body.light-mode {
  transition: background var(--trans), color var(--trans);
}

body.light-mode * {
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}

/* ── LIGHT MODE — Hero Section Text Override ─── */
body.light-mode .hero-title {
  color: #f5f5f0;
}
body.light-mode .stats-bar .scroll-reveal.visible {
  background: black;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--clr-border);
}
body.light-mode .hero-eyebrow {
  color: var(--clr-accent);
}
body.light-mode .hero-sub {
  color: rgba(245,245,240,0.7);
}
body.light-mode .btn-ghost {
  color: #f5f5f0;
}

/* ── LIGHT MODE — About Section Text Override ─- */
body.light-mode .section-title {
  color: #0a0a0a;
}
body.light-mode .about-text  {
  color: #0a0a0a;
}
body.light-mode .about-text p {
  color: rgba(0, 0, 0, 0.7);
}
.body.light-mode .about-tags span {
  color: rgba(0, 0, 0, 0.7);
}
/* ── LIGHT MODE — Contact Section Text Override ─ */
body.light-mode .contact-detail strong {
  color: #0a0a0a;
}
body.light-mode .contact-detail a,
body.light-mode .contact-detail span {
  color: rgba(0, 0, 0, 0.8);
}
/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--clr-bg);
  color: var(--clr-white);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea {
  font-family: var(--ff-body);
  color: var(--clr-white);
}

/* ── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-accent); border-radius: 99px; }

/* ── NAVBAR ──────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: background var(--trans), backdrop-filter var(--trans), box-shadow var(--trans);
}
#navbar.scrolled {
  background: rgba(10, 10, 10, 0.39);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--clr-border);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 100%;
}
.nav-logo img {
  display: block;
  height: calc(var(--nav-h) - 0.5rem);
  width: auto;
  max-height: 3.5rem;
}
.nav-logo span {
  display: none;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.7);
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--clr-accent); }
.nav-cta {
  border: 1px solid var(--clr-accent) !important;
  color: var(--clr-accent) !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: var(--radius);
  transition: background var(--trans), color var(--trans) !important;
}
.nav-cta:hover {
  background: var(--clr-accent) !important;
  color: var(--clr-bg) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,10,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.05em;
  color: rgba(245,245,240,0.85);
  display: block;
  padding: 0.3rem 0;
  transition: color var(--trans);
}
.mobile-menu a:hover { color: var(--clr-accent); }

/* ── HERO ─────────────────────────────────────── */
#hero {
  position: relative;
  height: 150dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Gradient overlay: dark at edges, slightly lighter in center for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.85) 100%),
    linear-gradient(to right, rgba(10,10,10,0.4) 0%, transparent 50%, rgba(10,10,10,0.4) 100%);
}

/* Fallback if no video: show a dark teal gradient */
.hero-video-wrap:not(:has(video[src])) {
  background: linear-gradient(135deg, #0a0a0a 0%, #00d4c820 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 clamp(1.5rem, 8vw, 6rem);
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--clr-accent);
  font-size: 0.88em;
}
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(245,245,240,0.7);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.45);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(0,212,200,0.7), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--clr-accent);
  color: var(--clr-bg);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  border: 1px solid var(--clr-accent);
}
.btn-primary:hover {
  background: var(--clr-accent2);
  border-color: var(--clr-accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,200,0.25);
}
.btn-primary.full-width { width: 100%; text-align: center; }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--clr-white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245,245,240,0.3);
  transition: border-color var(--trans), color var(--trans), transform var(--trans);
}
.btn-ghost:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

/* ── REVEAL ANIMATIONS ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: revealUp 0.8s var(--trans) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* scroll-triggered reveal (JS adds .visible) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--trans), transform 0.7s var(--trans);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── STATS BAR ───────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 2.5rem 5vw;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 4vw;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--clr-accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-muted);
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--clr-border);
  flex-shrink: 0;
}

/* ── SECTION SHARED ──────────────────────────── */
section { padding: clamp(5rem, 10vw, 9rem) 5vw; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header.light .section-title { color: var(--clr-white); }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.section-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--clr-accent);
}
.section-sub {
  color: var(--clr-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ── GALLERY ─────────────────────────────────── */
#gallery { background: var(--clr-bg); }

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--clr-border);
  border-radius: 99px;
  transition: all var(--trans);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(0,212,200,0.07);
}

/* Masonry-style grid */
.gallery-grid {
  columns: 4 240px;
  column-gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--trans), filter 0.4s;
  display: block;
  /* Fallback bg while image loads */
  background: var(--clr-surface);
  min-height: 200px;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.75);
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--trans), transform var(--trans);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Hidden items during filter */
.gallery-item.hidden {
  display: none;
}

/* ── VIDEOS ──────────────────────────────────── */
#videos { background: var(--clr-bg2); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.video-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  border-color: rgba(0,212,200,0.3);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.video-thumb video,
.video-thumb iframe {
  width: 100%; height: 100%;
  object-fit: cover;
  border: none;
}
.video-info {
  padding: 1.2rem 1.4rem 1.4rem;
}
.video-info h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  color: var(--clr-white);
}
.video-info p { font-size: 0.88rem; color: var(--clr-muted); }

/* ── ABOUT ───────────────────────────────────── */
#about {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  /* Fallback if image not added yet */
  background: var(--clr-surface);
  min-height: 400px;
  border: 1px solid var(--clr-border);
}

.about-text .section-title { margin-bottom: 1.4rem; text-align: left; }
.about-text .section-eyebrow { text-align: left; }
.about-text p {
  color: rgba(245,245,240,0.7);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.8rem 0 2rem;
}
.about-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--clr-border);
  border-radius: 99px;
  color: var(--clr-muted);
}

/* ── CONTACT ─────────────────────────────────── */
#contact {
  background: var(--clr-bg2);
  border-top: 1px solid var(--clr-border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--clr-white);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(136,136,136,0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(0,212,200,0.12);
}
.form-group select option { background: var(--clr-surface); }

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(0,212,200,0.1);
  border: 1px solid rgba(0,212,200,0.3);
  border-radius: var(--radius);
  color: var(--clr-accent);
  font-size: 0.88rem;
  text-align: center;
}
.form-success.show { display: block; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding-top: 0.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ci-icon {
  width: 40px; height: 40px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 0.2rem;
}
.contact-detail a, .contact-detail span {
  font-size: 0.9rem;
  color: rgba(245,245,240,0.8);
  transition: color var(--trans);
}
.contact-detail a:hover { color: var(--clr-accent); }
.contact-quote {
  margin-top: 1rem;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--clr-accent);
  background: var(--clr-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.contact-quote blockquote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(245,245,240,0.85);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.contact-quote cite {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: 3.5rem 5vw 2.5rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-logo {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
}
.footer-logo span { color: var(--clr-accent); }
.footer-tagline { font-size: 0.78rem; color: var(--clr-muted); letter-spacing: 0.15em; text-transform: uppercase; }
.footer-links {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.5rem 0;
}
.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  transition: color var(--clr-accent2);
}
.footer-links a:hover { color: var(--clr-accent); }
.footer-copy { font-size: 0.75rem; color: rgba(136,136,136,0.5); }

/* ── LIGHTBOX ────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-img-wrap {
  max-width: 90vw;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lb-img-wrap img {
  max-width: 90vw;
  max-height: 82dvh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb-caption {
  font-size: 0.85rem;
  color: rgba(245,245,240,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.2rem;
  transition: background var(--trans);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(0,212,200,0.2); }
.lb-close { top: 1.5rem; right: 1.5rem; font-size: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ── ABOUT BADGE LOGO ────────────────────────── */
.about-badge {
  position: absolute;
  bottom: -1.2rem; right: -1.2rem;
  background: white;
  padding: 0.2rem;
  border-radius: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  box-shadow: 0 8px 24px rgba(0,212,200,0.3);
  overflow: hidden;
}
.about-badge-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* Fallback while image loads */
  background: BLACK;
}

/* ── RESPONSIVE — TABLET (≤900px) ───────────── */
@media (max-width: 900px) {
  .about-inner      { grid-template-columns: 1fr; }
  .contact-inner    { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 480px; margin: 0 auto; }
  .about-badge      { right: 0; bottom: -1rem; }

  /* Video grid 2 columns on tablet */
  .video-grid { grid-template-columns: repeat(2, 1fr); }

  /* Slightly tighter sections */
  section { padding: 4rem 5vw; }
}

/* ── RESPONSIVE — MOBILE (≤768px) ───────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* Hero — improved spacing and readability */
  #hero       { min-height: 100svh; padding: 3rem 5vw; }
  .hero-title { font-size: clamp(2rem, 9vw, 3.2rem); margin-bottom: 1.2rem; }
  .hero-sub   { font-size: 1rem; padding: 0; line-height: 1.6; margin-bottom: 2rem; }
  .hero-eyebrow { font-size: 0.8rem; margin-bottom: 1rem; letter-spacing: 0.15em; }
  .hero-actions { flex-direction: column; align-items: center; gap: 1.2rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost  { width: 100%; max-width: 320px; text-align: center; padding: 1rem 2rem; font-size: 1rem; }
  .hero-scroll-hint { bottom: 2rem; }

  /* Section spacing */
  section { padding: 4rem 5vw !important; }

  /* Stats — improved layout */
  .stats-bar    { gap: 2rem; flex-wrap: wrap; padding: 3rem 5vw; display: grid; grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .stat         { flex: unset; text-align: center; padding: 1.5rem 1rem; }
  .stat-value   { font-size: 1.8rem; margin-bottom: 0.5rem; }
  .stat-label   { font-size: 0.95rem; }

  /* Gallery — better spacing */
  .gallery-grid { columns: 2 160px; column-gap: 1rem; }
  .gallery-item { margin-bottom: 1rem; border-radius: 8px; }
  /* Always show caption on touch (no hover) */
  .gallery-caption {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.85rem;
    padding: 1rem;
    line-height: 1.4;
  }

  /* Filter tabs — better tap targets */
  .filter-tabs  { gap: 0.75rem; margin-bottom: 2rem; }
  .filter-btn   { font-size: 0.85rem; padding: 0.7rem 1.2rem; border-radius: 20px; }

  /* Videos — single column with breathing room */
  .video-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .video-card   { border-radius: 12px; overflow: hidden; }

  /* About — single column for better readability */
  .about-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-badge  { width: 80px; height: 80px; right: 1rem; bottom: -1rem; }
  .about-text .section-title { font-size: 2.2rem; margin-bottom: 1.5rem; }
  .about-text p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }
  .about-tags { margin-top: 1.5rem; }
  .about-tags span { font-size: 0.85rem; padding: 0.5rem 1rem; margin-right: 0.7rem; margin-bottom: 0.7rem; }

  /* Contact — improved form spacing */
  .form-row     { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row input,
  .form-row textarea { padding: 1rem; font-size: 1rem; border-radius: 8px; }
  .contact-info { padding-top: 2rem; }
  .contact-info p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; }

  /* Lightbox nav arrows — keep within screen */
  .lb-prev { left: 0.8rem; }
  .lb-next { right: 0.8rem; }
  .lb-close { top: 1.5rem; right: 1.5rem; }
  .lb-img-wrap img { max-height: 75dvh; }

  /* Footer — better spacing */
  .footer-links { gap: 1.5rem; flex-wrap: wrap; }
  .footer-links a { font-size: 0.9rem; padding: 0.5rem 0; }
  footer { padding: 3rem 5vw 2rem; }

  /* Section titles scale */
  .section-title { font-size: clamp(1.8rem, 8vw, 3rem); margin-bottom: 2rem; }
}

/* ── RESPONSIVE — SMALL MOBILE (≤480px) ─────── */
@media (max-width: 480px) {
  :root { --nav-h: 56px; }

  /* Hero — optimized for small screens */
  .hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.15em; margin-bottom: 0.8rem; }
  .hero-title   { font-size: clamp(1.8rem, 12vw, 2.6rem); margin-bottom: 1rem; line-height: 1.2; }
  .hero-sub .break { display: none; }
  .hero-sub     { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.8rem; }
  .hero-actions { gap: 1rem; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { padding: 0.95rem 1.5rem; font-size: 0.95rem; }

  /* Section padding */
  section { padding: 3.5rem 4.5vw !important; }

  /* Gallery — optimized 2 cols */
  .gallery-grid { columns: 2 130px; column-gap: 0.75rem; }
  .gallery-item { margin-bottom: 0.75rem; border-radius: 6px; }
  .gallery-caption { font-size: 0.8rem; padding: 0.8rem; }

  /* Stats — proper 2x2 grid with breathing room */
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 2.5rem 4.5vw; }
  .stat      { padding: 1.2rem 0.8rem; }
  .stat-value { font-size: 1.6rem; }
  .stat-label { font-size: 0.9rem; }

  /* About — single column optimized */
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-badge  { width: 72px; height: 72px; right: 0.8rem; bottom: -0.8rem; }
  .about-text .section-title { font-size: 1.8rem; margin-bottom: 1.2rem; }
  .about-text p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
  .about-tags span { font-size: 0.8rem; padding: 0.45rem 0.9rem; margin-bottom: 0.6rem; }

  /* Filter tabs — touchable size */
  .filter-tabs { gap: 0.6rem; margin-bottom: 1.8rem; }
  .filter-btn { font-size: 0.8rem; padding: 0.6rem 1rem; }

  /* Video cards */
  .video-grid { gap: 1.5rem; }
  .video-card { border-radius: 10px; }

  /* Contact form */
  .form-row { gap: 1.2rem; }
  .form-row input,
  .form-row textarea { padding: 0.95rem; font-size: 0.95rem; border-radius: 6px; }
  .contact-info { padding-top: 1.5rem; }
  .contact-info p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.2rem; }

  /* Footer */
  .footer-links { gap: 1.2rem; }
  .footer-links a { font-size: 0.85rem; }
  footer { padding: 2.5rem 4.5vw 2rem; }

  /* Section title */
  .section-title { font-size: clamp(1.6rem, 10vw, 2.6rem); margin-bottom: 1.5rem; }

  /* Pre-loader */
  .pre-logo { font-size: 2.5rem; }
  .pre-lens { width: 56px; height: 56px; }

  /* Buttons */
  .btn-primary, .btn-ghost { width: 100%; }
}

/* ── TOUCH DEVICES — disable hover effects ────── */
@media (hover: none) {
  .gallery-item:hover img  { transform: none; filter: none; }
  .btn-primary:hover       { transform: none; box-shadow: none; }
  .btn-ghost:hover         { transform: none; }
  .video-card:hover        { transform: none; box-shadow: none; }
}

/* ── SAFE AREA INSETS (notch / home bar) ─────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer  { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); }
  #navbar { padding-top: env(safe-area-inset-top); }
}