@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@500;600;700&display=swap');

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --lime:   #ddff00;
  --bg:     #080808;
  --bg2:    #111;
  --bg3:    #1a1a1a;
  --border: #222;
  --text:   #fff;
  --muted:  #666;
  --font:   'Instrument Sans', sans-serif;
  --radius: 14px;
}

html { scroll-behavior: smooth; zoom: 0.85; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

.site { background: var(--bg); min-height: 100vh; }

/* ══════════════════════════════════════
   NAV
   ══════════════════════════════════════ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.3s, border-color 0.3s, box-shadow .3s;
}
nav.scrolled {
  background: rgba(8, 8, 8, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 40px rgba(0,0,0,.6);
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--lime);
  cursor: default;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--lime);
  transition: width .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--lime);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(221,255,0,.25);
}

/* ── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ─── */
.drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.77,0,.18,1);
}
.drawer.is-open { transform: translateY(0); }

.drawer-link {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.drawer-link:hover { color: var(--lime); }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  position: relative;
  padding: 160px 40px 140px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url('https://framerusercontent.com/images/QJ7xTHJiLIy10SScnMIVYh9eHA.jpg?scale-down-to=2048&width=2854&height=1632');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, rgba(8, 8, 8, 0.1) 0%, rgba(8, 8, 8, 0.4) 50%, rgba(8, 8, 8, 1) 100%),
    linear-gradient(to bottom, transparent 60%, rgba(8, 8, 8, 1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  animation: fadeSlideDown .6s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease infinite;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeSlideUp .7s ease .1s both;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p {
  font-size: 15px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 40px;
  line-height: 1.65;
  font-weight: 500;
  animation: fadeSlideUp .7s ease .2s both;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  animation: fadeSlideUp .7s ease .3s both;
}

/* ── BUTTONS ─── */
.btn-primary {
  background: var(--lime);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(221,255,0,.3);
}
.btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--text); border-color: #444; }

/* ══════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg2);
  margin: 0 0 60px;
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-content {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  animation: marquee 18s linear infinite;
  will-change: transform;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-sep { color: var(--lime); }

/* ══════════════════════════════════════
   SECTION LABEL
   ══════════════════════════════════════ */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--lime);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   PORTFOLIO GRID
   ══════════════════════════════════════ */
.grid-section { padding: 0 40px 60px; }

/* ── FILTER BAR (High-Detail Reference Design) ── */
.filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  flex-wrap: wrap;
  margin-left: auto;
}

.filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  margin-right: 4px;
}

.filter-pills {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #181818;
  color: #d1d1d1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.filter-pill:hover {
  background: #242424;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: #ebebeb;
  color: #0d0d0d;
  border-color: #ebebeb;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.6);
  cursor: default;
  transform: none;
}

.filter-pill.active:hover {
  background: #ffffff;
  color: #000000;
}

.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}
.row-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.horiz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

/* Show More button for horizontal videos */
.show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  margin-bottom: 48px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.show-more-btn:hover {
  color: var(--lime);
  border-color: rgba(221, 255, 0, 0.3);
  background: var(--bg3);
}
.show-more-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s;
}
.show-more-btn.expanded svg {
  transform: rotate(180deg);
}

/* Hidden cards in collapsed state */
.horiz-grid .vcard.h-hidden {
  display: none;
}
.horiz-grid.h-expanded .vcard.h-hidden {
  display: block;
}

.vert-grid .vcard.v-hidden {
  display: none;
}
.vert-grid.v-expanded .vcard.v-hidden {
  display: block;
}
.vert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

/* ── VIDEO CARD ─── */
.vcard {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.4s;
}
.vcard:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(221, 255, 0, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(221, 255, 0, 0.06);
}
.vcard--h { aspect-ratio: 16 / 9; }
.vcard--v { aspect-ratio: 9  / 16; }

.vcard-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.vcard:hover .vcard-bg {
  transform: scale(1.03);
}
.vcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.1) 75%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.vcard:hover .vcard-overlay { opacity: 1; }

.vcard-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease;
}
.vcard:hover .vcard-info { transform: translateY(0); opacity: 1; }

.vcard-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vcard-sub {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

.play-pill {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, border-color 0.2s;
  z-index: 10;
}
.vcard:hover .play-pill { opacity: 1; transform: scale(1); }
.play-pill:hover {
  background: var(--lime);
  border-color: var(--lime);
}
.play-pill:hover svg { fill: #000; }
.play-pill svg { 
  width: 12px; height: 12px; 
  fill: var(--lime); 
  transition: fill 0.2s;
  margin-left: 2px;
}

.cdots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.cdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background .3s, transform .3s;
}
.cdot.on { background: var(--lime); transform: scale(1.3); }

/* ══════════════════════════════════════
   STATS
   ══════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 40px 60px;
}
.stat {
  background: var(--bg2);
  padding: 24px 20px;
  text-align: center;
  transition: background .2s;
}
.stat:hover { background: var(--bg3); }
.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ══════════════════════════════════════
   SOFTWARE SKILLS
   ══════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.skill-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  cursor: default;
}
.skill-card:hover {
  border-color: rgba(221,255,0,.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 15px rgba(221,255,0,0.03);
}
.skill-icon {
  margin-bottom: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.skill-icon svg {
  display: block;
}
.skill-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.skill-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
.about-section {
  position: relative;
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.about-section > *:not(.about-bg-wrap) {
  position: relative;
  z-index: 3;
}

.about-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.about-bg-image {
  width: 100%;
  height: 100%;
  background-image: url('https://framerusercontent.com/images/WlXqktLcjLyhxLM2ikcJZ1GjQpQ.png?scale-down-to=2048&width=2862&height=1632');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, rgba(8, 8, 8, 0.2) 0%, rgba(8, 8, 8, 0.7) 60%, rgba(8, 8, 8, 1) 100%),
    linear-gradient(to bottom, rgba(8, 8, 8, 1) 0%, transparent 20%, transparent 80%, rgba(8, 8, 8, 1) 100%);
  z-index: 2;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.about-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.about-text h2 em { font-style: normal; color: var(--lime); }
.about-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
#social-links-container {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}
#social-links-container:empty {
  display: none !important;
  margin: 0 !important;
}
.about-stats-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-stat {
  background: var(--bg2);
  padding: 22px 24px;
  transition: background .2s;
}
.about-stat:hover { background: var(--bg3); }
.about-stat span {
  font-size: 28px;
  font-weight: 700;
  color: var(--lime);
  display: block;
}
.about-stat p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
.services-section {
  padding: 60px 40px 80px;
  border-top: 1px solid var(--border);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.service-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .25s, transform .25s;
  cursor: default;
}
.service-card:hover {
  border-color: rgba(221,255,0,.3);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 22px;
  color: var(--lime);
  margin-bottom: 16px;
  line-height: 1;
}
.service-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   PHOTOS SECTION
   ══════════════════════════════════════ */
.photos-section {
  padding: 0 40px 60px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg3);
  transition: transform .3s, border-color .3s;
}
.photo-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: #333;
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.photo-card:hover .photo-img { transform: scale(1.04); }

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
}
.photo-card:hover .photo-overlay { opacity: 1; }

.photo-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.photo-sub {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

/* Photo lightbox */
/* Doubled class beats the generic .modal-box max-width declared later */
.modal-box.modal-box--photo {
  width: auto;
  max-width: 94vw;
  max-height: 94vh;
  padding: 16px 16px 20px;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.photo-lb-img {
  display: block;
  max-width: 90vw;
  max-height: calc(90vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 14px;
}

/* ══════════════════════════════════════
   ADMIN CONFIG PANEL
   ══════════════════════════════════════ */
.admin-config-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 4px;
}
.admin-config-hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}
.admin-config-hint a { color: var(--lime); text-decoration: none; }
.admin-config-hint strong { color: var(--text); }

/* Send button locked state */
.btn-primary.locked {
  opacity: .4;
  cursor: not-allowed;
}
.btn-primary.locked::after {
  content: ' 🔒';
  font-size: 11px;
}

/* ══════════════════════════════════════
   ADMIN PILL
   ══════════════════════════════════════ */
.admin-pill {
  position: fixed;
  bottom: 20px; right: 24px;
  background: #181c25;
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(221,255,0,.25);
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  z-index: 150;
}
.admin-pill:hover {
  background: #1e2330;
  box-shadow: 0 4px 20px rgba(221,255,0,.15);
}

/* ══════════════════════════════════════
   MODALS
   ══════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: translateY(20px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.modal-backdrop.is-open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-box--sm  { max-width: 380px; }
.modal-box--video { max-width: 900px; text-align: center; }

.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, border-color .2s;
}
.modal-close:hover { color: var(--text); border-color: #444; }

.modal-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.modal-title {
  font-size: 36px;
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.modal-title em { font-style: normal; color: var(--lime); }

/* ── FORM ELEMENTS ─── */
.modal-form { display: flex; flex-direction: column; gap: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.form-input,
.form-textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 16px;
  width: 100%;
  transition: border-color .2s;
  outline: none;
  resize: none;
}
.form-input.full { width: 100%; }
.form-input:focus,
.form-textarea:focus {
  border-color: rgba(221,255,0,.4);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }

.form-submit { margin-top: 6px; width: 100%; }

.form-note {
  font-size: 12px;
  font-weight: 600;
  min-height: 18px;
  text-align: center;
}

/* ── LIGHTBOX / VIDEO PLAYER ─── */
.modal-box--video {
  max-width: 900px;
  width: 94vw;
  text-align: left;
  padding: 28px 28px 32px;
}

.lightbox-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.lightbox-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Player wrapper — aspect-ratio switches per orientation */
.lightbox-player-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.lightbox-player-wrap.is-vertical {
  /* 9:16 */
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}
.lightbox-player-wrap.is-horizontal {
  aspect-ratio: 16 / 9;
}

/* Placeholder state */
.lightbox-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  min-height: 200px;
}
.lightbox-placeholder p  { font-size: 13px; font-weight: 600; margin: 0; }
.lightbox-placeholder span { font-size: 11px; color: #333; }
.lightbox-placeholder code { color: var(--lime); background: none; }

/* Video.js skin overrides — match dark theme */
.video-js {
  width: 100% !important;
  height: 100% !important;
  font-family: var(--font) !important;
  border-radius: 0;
}
.video-js .vjs-big-play-button {
  background: rgba(221,255,0,.15) !important;
  border: 2px solid var(--lime) !important;
  border-radius: 50% !important;
  width: 64px !important;
  height: 64px !important;
  line-height: 64px !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  backdrop-filter: blur(6px);
  transition: background .2s, transform .2s !important;
}
.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:hover {
  background: rgba(221,255,0,.28) !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
}
.video-js .vjs-big-play-button .vjs-icon-placeholder::before {
  color: var(--lime) !important;
  line-height: 64px !important;
}
.video-js .vjs-control-bar {
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent) !important;
  padding: 0 8px 4px !important;
  height: 44px !important;
}
.video-js .vjs-play-progress,
.video-js .vjs-volume-level {
  background: var(--lime) !important;
}
.video-js .vjs-slider {
  background: rgba(255,255,255,.12) !important;
}
.video-js .vjs-load-progress { background: rgba(221,255,0,.18) !important; }
.video-js .vjs-time-control,
.video-js .vjs-remaining-time { display: block !important; font-size: 11px !important; }
.video-js .vjs-control { color: #ccc !important; }
.video-js .vjs-control:hover { color: var(--lime) !important; }

/* ══════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════ */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

/* ══════════════════════════════════════
   RESPONSIVE SYSTEM
   Desktop  : 1200px+
   Laptop   : 769–1199px
   Tablet   : 481–768px
   Mobile   : ≤480px
   ══════════════════════════════════════ */

/* ── Desktop 1200px+ ── */
@media (min-width: 1200px) {
  .hero         { padding: 100px 60px 80px; }
  .grid-section { padding: 0 60px 80px; }
  .stats        { margin: 0 60px 80px; }
  .about-section,
  .services-section { padding: 80px 60px; }
  .horiz-grid   { gap: 24px; }
  .vert-grid    { gap: 24px; }
  .skills-grid  { gap: 24px; }
}

/* ── Laptop 769–1199px ── */
@media (min-width: 769px) and (max-width: 1199px) {
  nav               { padding: 18px 32px; }
  .hero             { padding: 72px 32px 52px; }
  .hero h1          { font-size: clamp(44px, 6vw, 72px); }
  .grid-section     { padding: 0 32px 52px; }
  .stats            { margin: 0 32px 52px; }
  .about-section,
  .services-section { padding: 52px 32px; }
  .photos-section   { padding: 0 32px 52px; }
  .about-inner      { grid-template-columns: 1fr 280px; gap: 40px; }
  .horiz-grid       { gap: 16px; }
  .vert-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
  .photo-grid       { gap: 10px; }
  .stat-num         { font-size: 26px; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .skills-grid      { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ── Tablet 601–768px ── */
@media (min-width: 601px) and (max-width: 768px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero           { padding: 56px 24px 40px; min-height: auto; }
  .hero h1        { font-size: clamp(38px, 9vw, 58px); }
  .hero p         { font-size: 13px; max-width: 340px; }
  .hero-btns      { flex-direction: column; align-items: center; gap: 10px; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { width: 220px; text-align: center; }
  .about-text .btn-primary { width: auto; align-self: flex-start; }

  .marquee-wrap   { margin-bottom: 40px; }

  .grid-section   { padding: 0 24px 40px; }
  .filter-bar     { gap: 10px; margin-bottom: 24px; }
  .filter-pill    { padding: 7px 16px; font-size: 10px; }
  .horiz-grid     { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
  .vert-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stats          { grid-template-columns: repeat(2, 1fr); margin: 0 24px 40px; }
  .stat-num       { font-size: 26px; }

  .about-section,
  .services-section { padding: 44px 24px; }
  .about-inner    { grid-template-columns: 1fr; gap: 32px; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .skills-grid    { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 36px; }
  .photos-section { padding: 0 24px 40px; }
  .photo-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .form-row       { grid-template-columns: 1fr; }
  .admin-pill     { bottom: 14px; right: 16px; font-size: 11px; }
}

.btn-whatsapp {
  background: #25D366;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  color: #000;
}

/* ── Mobile ≤600px ── */
@media (max-width: 600px) {
  nav {
    padding: 14px 16px;
    position: relative;
  }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .logo      { font-size: 15px; }
  .nav-cta   { display: none; }

  .hero        { padding: 48px 16px 36px; min-height: auto; }
  .hero-badge  { font-size: 10px; }
  .hero h1     { font-size: clamp(34px, 12vw, 50px); letter-spacing: -.02em; }
  .hero p      { font-size: 13px; max-width: 100%; }
  .hero-btns   { flex-direction: column; align-items: center; gap: 10px; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { width: 100%; max-width: 280px; text-align: center; }

  .marquee-wrap  { margin-bottom: 32px; }
  .marquee-item  { font-size: 10px; }
  .section-label { font-size: 10px; margin-bottom: 20px; }

  .grid-section  { padding: 0 16px 36px; }

  /* Row header: stack label + filter vertically, filter on right */
  .row-header {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 14px;
  }
  .row-label { font-size: 9px; align-self: flex-start; }

  /* Filter bar: compact, right-aligned, horizontally scrollable */
  .filter-bar {
    margin-left: auto;
    gap: 6px;
    overflow-x: auto;
    width: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-label  { font-size: 8px; margin-right: 2px; letter-spacing: 0.1em; }
  .filter-pills  { gap: 5px; flex-wrap: nowrap; }
  .filter-pill   { padding: 4px 10px; font-size: 8px; letter-spacing: 0.08em; flex-shrink: 0; box-shadow: none; }
  .horiz-grid    { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
  .vert-grid     { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Always show play button on mobile (no hover), hide text overlay */
  .vcard-overlay { opacity: 1; }
  .vcard-info    { display: none; }
  .play-pill     { opacity: 1; }

  .stats         { grid-template-columns: repeat(2, 1fr); margin: 0 16px 36px; }
  .stat          { padding: 18px 12px; }
  .stat-num      { font-size: 24px; }
  .stat-label    { font-size: 9px; }

  .about-section { padding: 40px 16px; }
  .about-inner   { grid-template-columns: 1fr; gap: 32px; }
  .about-text    { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
  .about-text h2 {
    font-size: clamp(28px, 8.5vw, 36px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
  }
  .about-text p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 100%;
  }
  .about-text .btn-primary {
    width: auto;
    align-self: flex-start;
    padding: 13px 28px;
    font-size: 12px;
    text-align: center;
  }

  .about-stats-col {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--border);
    gap: 1px;
    width: 100%;
    overflow: hidden;
  }
  .about-stat {
    padding: 22px 20px;
    background: var(--bg2);
  }
  .about-stat span {
    font-size: 32px;
    font-weight: 800;
    color: var(--lime);
    line-height: 1;
    letter-spacing: -0.01em;
  }
  .about-stat p {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
  }

  .services-section { padding: 36px 16px 48px; }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .service-card {
    padding: 18px 14px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
  }
  .service-icon {
    font-size: 20px;
    color: var(--lime);
    margin-bottom: 12px;
    line-height: 1;
  }
  .service-card h3 {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.25;
    white-space: nowrap;
  }
  .service-card p {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
  }

  .skills-grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; }
  .photos-section { padding: 0 16px 36px; }
  .photo-grid    { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .modal-box     { padding: 28px 20px; }
  .modal-title   { font-size: 28px; }
  .form-row      { grid-template-columns: 1fr; }

  .admin-pill    { bottom: 12px; right: 12px; font-size: 11px; padding: 7px 13px; }
}
