/* ===================================
   R9MNV — Portfolio Stylesheet
   Aesthetic: Luxury Editorial / Dark Cinema
   =================================== */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --white: #F5F2EC;
  --off-white: #D6CFC0;
  --black: #080808;
  --dark: #111010;
  --dark-mid: #1C1B1A;
  --dark-card: #161514;
  --text-muted: #7A7570;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ===================================
   VIDEO BACKGROUND
   =================================== */
.video-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
}

#bgVideo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.55) 0%,
    rgba(8,8,8,0.3) 50%,
    rgba(8,8,8,0.85) 100%
  );
}

/* ===================================
   NAVIGATION
   =================================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  transition: background var(--transition), padding var(--transition);
}

nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 4px;
  color: var(--gold);
}

.nav-logo a {
  color: inherit; text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--gold) !important;
  padding: 8px 20px !important;
  border-radius: 2px;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 140px 60px 80px;
}

.hero-content {
  max-width: 800px;
  animation: fadeUp 1.2s ease both;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: 2px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.hero-title .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0;
  line-height: 1;
}

.hero-sub {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 36px;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-primary.large { padding: 18px 48px; font-size: 0.8rem; }

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 34px;
  border: 1px solid rgba(245, 242, 236, 0.4);
  color: var(--white);
  text-decoration: none;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 48px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===================================
   ABOUT
   =================================== */
.about {
  position: relative;
  z-index: 1;
  background: var(--dark);
  padding: 120px 60px;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  align-items: start;
}

.about-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding-top: 8px;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 32px;
  color: var(--white);
}

.about-text h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--off-white);
  margin-bottom: 20px;
  max-width: 680px;
}

.stats-row {
  display: flex;
  gap: 60px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 2px;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===================================
   SECTION HEADER
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 400;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 4px;
  color: var(--white);
  line-height: 1;
}

/* ===================================
   PREVIOUS WORK
   =================================== */
.work {
  position: relative;
  z-index: 1;
  background: var(--dark-mid);
  padding: 120px 60px;
}

.work-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}

.work-card {
  background: var(--dark-card);
  padding: 52px 40px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.work-card:hover {
  border-bottom-color: var(--gold);
  background: #1e1d1b;
}

.work-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.work-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--white);
}

.work-card p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===================================
   PORTFOLIO GALLERY — Horizontal Scroll
   =================================== */
.portfolio {
  position: relative;
  z-index: 1;
  background: var(--dark);
  padding: 120px 0;
}

.portfolio .section-header {
  padding: 0 60px;
}

/* Nav arrows + counter row */
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  margin-bottom: 36px;
}

.gallery-counter {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.gallery-counter span {
  color: var(--gold);
}

.gallery-arrows {
  display: flex;
  gap: 12px;
}

.gallery-arrow {
  width: 48px; height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  background: none;
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.gallery-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: scale(1.08);
}

.gallery-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  transform: none;
}

/* The scrollable strip */
.gallery-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 12px;
  padding: 0 60px 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.gallery-track:active { cursor: grabbing; }

/* Custom scrollbar */
.gallery-track::-webkit-scrollbar {
  height: 3px;
}
.gallery-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  margin: 0 60px;
  border-radius: 2px;
}
.gallery-track::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

/* Each card */
.gallery-item {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--dark-mid);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  width: 340px;
}

.gallery-item:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, transparent 100%);
  padding: 28px 20px 18px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* placeholder when no image loaded */
.gallery-item.placeholder {
  background: linear-gradient(135deg, #1a1918, #242220);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item.placeholder::before {
  content: 'Photo';
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: rgba(201, 168, 76, 0.25);
}

.gallery-item.placeholder img { display: none; }

/* Progress bar */
.gallery-progress-bar {
  height: 2px;
  background: rgba(255,255,255,0.06);
  margin: 20px 60px 0;
  border-radius: 2px;
  overflow: hidden;
}

.gallery-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

.gallery-cta {
  text-align: center;
  margin-top: 52px;
  padding: 0 60px;
}

/* ===================================
   CTA STRIP
   =================================== */
.cta-strip {
  position: relative;
  z-index: 1;
  background: var(--gold);
  padding: 80px 60px;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--black);
  letter-spacing: 1px;
}

.cta-strip .btn-primary {
  background: var(--black);
  color: var(--gold);
  white-space: nowrap;
}

.cta-strip .btn-primary:hover {
  background: #1a1a1a;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  position: relative;
  z-index: 1;
  background: var(--black);
  padding: 60px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 4px;
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  animation: fadeIn 0.3s ease;
}

#lightboxImg {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 36px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform var(--transition);
}

.lightbox-close:hover { transform: rotate(90deg); }

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-page {
  background: var(--black);
  min-height: 100vh;
}

.contact-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.contact-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.88) 0%,
    rgba(8,8,8,0.6) 60%,
    rgba(8,8,8,0.82) 100%
  );
}

.contact-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 60px;
}

.contact-card {
  text-align: center;
  max-width: 600px;
  width: 100%;
  background: rgba(8, 8, 8, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  padding: 70px 60px;
  animation: fadeUp 0.8s ease both;
}

.contact-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}

.contact-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--white);
}

.contact-card h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.contact-sub {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--off-white);
  margin-bottom: 44px;
  font-weight: 300;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 36px;
  border-radius: 3px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  opacity: 0.92;
}

.contact-btn.whatsapp { background: #1a8a4a; }
.contact-btn.email { background: #C23B2A; }
.contact-btn.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.btn-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
}

.contact-divider {
  width: 60px; height: 1px;
  background: rgba(201, 168, 76, 0.3);
  margin: 40px auto 24px;
}

.contact-footer-note {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}

/* ===================================
   BRANDS SECTION
   =================================== */
.brands {
  position: relative;
  z-index: 1;
  background: var(--black);
  padding: 120px 0 0;
  overflow: hidden;
}

.brands .section-header {
  padding: 0 60px 60px;
}

/* Marquee tracks */
.marquee-track {
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-inner {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track.reverse .marquee-inner {
  animation-direction: reverse;
  animation-duration: 25s;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-inner:hover { animation-play-state: paused; }

.brand-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 28px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 2px;
  background: rgba(255,255,255,0.02);
  color: rgba(214, 207, 192, 0.45);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  cursor: default;
}

.brand-pill:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.05);
}

.brand-svg {
  height: 36px;
  width: auto;
  max-width: 200px;
  display: block;
}

/* ===================================
   TIMELINE
   =================================== */
.timeline-wrap {
  padding: 0 60px 120px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 100px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(201,168,76,0.15) 100%);
}

.tl-year {
  position: relative;
  margin-bottom: 64px;
}

.tl-dot {
  position: absolute;
  left: -62px;
  top: 10px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15), 0 0 20px rgba(201,168,76,0.3);
}

.tl-year-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
}

.tl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.tl-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-left: 2px solid rgba(201, 168, 76, 0.25);
  padding: 16px 20px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-left-color var(--transition), background var(--transition);
}

.tl-card:hover {
  border-left-color: var(--gold);
  background: #1a1918;
}

.tl-brand {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
}

.tl-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

@media (max-width: 768px) {
  .brands .section-header { padding: 0 28px 48px; }
  .timeline-wrap { padding: 0 28px 80px; }
  .timeline { padding-left: 60px; }
  .timeline::before { left: 20px; }
  .tl-dot { left: -42px; }
  .tl-cards { grid-template-columns: 1fr; }
}


@media (max-width: 1024px) {
  nav { padding: 24px 40px; }
  nav.scrolled { padding: 16px 40px; }
  .hero { padding: 120px 40px 80px; }
  .about { padding: 100px 40px; }
  .work { padding: 100px 40px; }
  .portfolio { padding: 100px 40px; }
  .gallery-item { width: 280px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  nav { padding: 20px 28px; }
  nav.scrolled { padding: 14px 28px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(8,8,8,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    backdrop-filter: blur(16px);
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1.2rem; letter-spacing: 3px; }

  .hamburger { display: flex; z-index: 200; }
  .hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hero { padding: 100px 28px 80px; }
  .hero-title { font-size: clamp(4rem, 16vw, 6rem); }

  .about { padding: 80px 28px; }
  .about-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-label { writing-mode: horizontal-tb; transform: none; }

  .stats-row { gap: 36px; flex-wrap: wrap; }

  .work { padding: 80px 28px; }
  .work-grid { grid-template-columns: 1fr 1fr; }

  .portfolio { padding: 80px 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }

  .cta-strip { padding: 60px 28px; }
  .cta-inner { flex-direction: column; text-align: center; }

  footer { padding: 48px 28px; }
  .footer-inner { flex-direction: column; text-align: center; }

  .contact-card { padding: 50px 28px; }
}

@media (max-width: 480px) {
  .gallery-item { width: 240px; }
  .gallery-controls, .gallery-track, .gallery-progress-bar, .gallery-cta { padding-left: 28px; padding-right: 28px; }
  .gallery-track::-webkit-scrollbar-track { margin: 0 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
}