/* ============================================
   ZAYANE STUDIO — Design System
   8px base unit | Georgia italic display | System sans body
   Navy/gold/cream palette | No pure white or black
   ============================================ */

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

/* --- Design Tokens --- */
:root {
  /* Backgrounds */
  --bg-deep: #0a0f1e;
  --bg-primary: #0d1426;
  --bg-card: #111b33;
  --bg-elevated: #162040;

  /* Text */
  --text-primary: #f0e8d5;
  --text-secondary: #8a9ab5;
  --text-muted: #5e6d8a;

  /* Accent */
  --gold: #c9a84c;
  --gold-hover: #dbb85c;
  --gold-subtle: rgba(201, 168, 76, 0.15);
  --gold-border: rgba(201, 168, 76, 0.15);
  --gold-border-hover: rgba(201, 168, 76, 0.4);

  /* Borders */
  --border: rgba(138, 154, 181, 0.1);

  /* Typography */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Type Scale */
  --text-display: clamp(2.5rem, 5vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3vw, 2.25rem);
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --text-caption: 0.8125rem;
  --text-label: 0.75rem;

  /* Spacing (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-15: 120px;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius: 8px;

  /* Transitions */
  --ease: 200ms ease;
}

/* --- Base --- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--ease);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: normal;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: var(--text-display);
}

h2 {
  font-size: var(--text-h2);
  letter-spacing: 0.02em;
}

h3 {
  font-size: var(--text-h3);
  letter-spacing: 0.01em;
}

p {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner {
  max-width: var(--container);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: color var(--ease);
}

.nav-logo:hover {
  color: var(--gold-hover);
}

.logo-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: var(--space-5);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: var(--text-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) 0;
  position: relative;
  transition: color var(--ease);
}

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

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

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

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  transition: transform 300ms ease, opacity 200ms ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* --- Epic Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-15) var(--gutter) var(--space-10);
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

/* Timelapse video crossfade */
.hero-videos {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
}

.hero-video.active {
  opacity: 1;
}

/* Sound toggle button */
.sound-toggle {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-4);
  z-index: 10;
  background: rgba(10, 15, 30, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sound-toggle:hover {
  color: var(--gold);
  border-color: var(--gold-border-hover);
}

.sound-toggle.playing {
  color: var(--gold);
  border-color: var(--gold);
  animation: soundPulse 2s ease-in-out infinite;
}

@keyframes soundPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(201, 168, 76, 0); }
}

/* Film grain overlay */
.hero-grain {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  animation: grainShift 0.5s steps(6) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5px, 5px); }
  40% { transform: translate(5px, -5px); }
  60% { transform: translate(-3px, -3px); }
  80% { transform: translate(3px, 3px); }
}

/* Cinematic vignette — dark enough for text to pop */
.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(to bottom, rgba(10,15,30,0.4) 0%, rgba(10,15,30,0.2) 30%, rgba(10,15,30,0.3) 60%, rgba(10,15,30,0.85) 100%),
    radial-gradient(ellipse at center, rgba(10,15,30,0.35) 0%, rgba(10,15,30,0.7) 50%, rgba(10,15,30,0.95) 85%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Golden atmospheric glow behind text */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Hero content with reveal animation */
.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 5;
}

.hero-reveal .hero-wordmark {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-reveal .title-line {
  display: block;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-reveal .title-line:nth-child(1) {
  animation-delay: 0.5s;
}

.hero-reveal .title-line:nth-child(2) {
  animation-delay: 0.7s;
}

.hero-reveal .hero-sub {
  animation: fadeSlideUp 0.8s ease 1s both;
}

.hero-reveal .hero-ctas {
  animation: fadeSlideUp 0.8s ease 1.2s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-body);
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  opacity: 0.8;
}

.hero h1 {
  margin-bottom: var(--space-3);
  color: var(--text-primary);
  text-shadow: 0 2px 40px rgba(10,15,30,0.8);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 20px rgba(10,15,30,0.9);
}

.hero-ctas {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  animation: fadeSlideUp 0.8s ease 1.8s both;
}

.hero-scroll-hint span {
  font-size: var(--text-label);
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--space-4);
  font-size: 1rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--ease);
  text-align: center;
  font-weight: 500;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: var(--gold-hover);
  color: var(--bg-deep);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

/* --- Ornamental Divider --- */
.divider {
  text-align: center;
  padding: var(--space-4) 0;
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.3;
  letter-spacing: 0.8em;
  background: var(--bg-deep);
}

/* --- Sections --- */
.section {
  padding: var(--space-15) 0;
}

.section-dark {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-header h2 {
  margin-bottom: var(--space-2);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: var(--text-body);
}

/* --- Social Proof Bar --- */
.proof-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  padding: var(--space-6) var(--gutter);
  background: var(--bg-card);
}

.proof-item {
  text-align: center;
}

.proof-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}

.proof-label {
  font-size: var(--text-label);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-top: var(--space-1);
}

/* --- Portfolio Grid --- */
.portfolio-grid,
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--ease);
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity var(--ease);
}

.portfolio-item .item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: linear-gradient(transparent, rgba(10, 15, 30, 0.85));
  opacity: 0;
  transition: opacity var(--ease);
}

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

/* Signature watermark */
.portfolio-item::after {
  content: 'Zayane';
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.75rem;
  color: rgba(201, 168, 76, 0.35);
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 1;
}

.portfolio-tag {
  display: inline-block;
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  background: rgba(10, 15, 30, 0.6);
  color: var(--text-primary);
  border: 1px solid rgba(240, 232, 213, 0.2);
  border-radius: 3px;
  margin-right: 6px;
}

/* --- Filter Tabs --- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.filter-tab {
  padding: 10px var(--space-3);
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--ease);
  font-family: var(--font-body);
}

.filter-tab:hover {
  color: var(--text-secondary);
  border-color: var(--text-muted);
}

.filter-tab.active {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-subtle);
}

/* --- Niche Panels --- */
.niche-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.niche-panel {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  text-align: center;
  transition: border-color var(--ease);
}

.niche-panel:hover {
  border-color: var(--gold-border-hover);
}

.niche-icon {
  margin-bottom: var(--space-3);
  opacity: 0.7;
}

.niche-panel h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.niche-panel ul {
  list-style: none;
  margin-bottom: var(--space-2);
}

.niche-panel li {
  color: var(--text-secondary);
  font-size: var(--text-body);
  padding: 4px 0;
}

.niche-clients {
  font-size: var(--text-label);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
  letter-spacing: 0.02em;
}

.niche-panel .btn-outline {
  font-size: var(--text-caption);
  height: 40px;
  padding: 0 var(--space-3);
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.step {
  text-align: center;
  padding: var(--space-4) var(--space-3);
}

.step-icon {
  margin-bottom: var(--space-2);
  opacity: 0.6;
}

.step-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: var(--space-1);
  line-height: 1;
}

.step h3 {
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.step p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.6;
}

.process-note {
  text-align: center;
  color: var(--gold);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  opacity: 0.7;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  position: relative;
  transition: border-color var(--ease);
}

.testimonial-card:hover {
  border-color: var(--gold-border-hover);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: var(--space-2);
  left: var(--space-3);
  line-height: 1;
}

.testimonial-card blockquote {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-3);
  padding-top: var(--space-4);
}

.testimonial-author {
  font-size: var(--text-label);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-body);
}

/* --- Service Cards --- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  transition: border-color var(--ease);
}

.service-card:hover {
  border-color: var(--gold-border-hover);
}

.service-icon {
  margin-bottom: var(--space-3);
  opacity: 0.6;
}

.service-card h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.service-card p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.service-card .card-link {
  font-size: var(--text-caption);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--ease);
}

.service-card .card-link:hover {
  color: var(--gold-hover);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-15) var(--gutter);
  background: var(--bg-deep);
}

.cta-section h2 {
  margin-bottom: var(--space-2);
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-5);
}

/* --- About Page --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.about-text h1 {
  margin-bottom: var(--space-4);
}

.about-text p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  margin-bottom: var(--space-3);
  line-height: 1.7;
}

.about-photo {
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 96px;
}

.credential-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  padding: var(--space-5) 0;
  text-align: center;
}

.credential-bar span,
.credential-bar .credential {
  color: var(--gold);
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.credential-bar .credential svg {
  flex-shrink: 0;
}

.credential-bar span::after,
.credential-bar .credential::after {
  content: '\00B7';
  margin-left: var(--space-5);
  color: var(--text-muted);
}

.credential-bar span:last-child::after,
.credential-bar .credential:last-child::after {
  display: none;
}

.rush-callout {
  text-align: center;
  padding: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
}

/* --- Contact Page --- */
.contact-layout {
  max-width: 600px;
  margin: 0 auto;
}

.contact-layout h1 {
  text-align: center;
  margin-bottom: var(--space-1);
}

.contact-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

.form-group {
  margin-bottom: var(--space-3);
}

.form-group label {
  display: block;
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px var(--space-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  transition: border-color var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235e6d8a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-2) center;
  padding-right: var(--space-5);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group .optional {
  color: var(--text-muted);
  font-size: var(--text-label);
  font-style: italic;
  margin-left: var(--space-1);
  text-transform: none;
  letter-spacing: normal;
}

.form-submit {
  text-align: center;
  margin-top: var(--space-5);
}

.form-submit .btn {
  width: 100%;
  max-width: 320px;
}

.contact-alt {
  text-align: center;
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: var(--text-caption);
}

.rush-note {
  text-align: center;
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-caption);
  font-style: italic;
}

/* --- Footer --- */
.footer {
  padding: var(--space-5) var(--gutter);
  text-align: center;
  background: var(--bg-deep);
  font-size: var(--text-caption);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  letter-spacing: 0.02em;
}

.footer a {
  color: var(--text-muted);
  transition: color var(--ease);
}

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

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(10, 15, 30, 0.96);
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  cursor: zoom-out;
  animation: fadeIn 200ms ease;
}

.lightbox.active {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  z-index: 2001;
  transition: color var(--ease);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--text-primary);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
  border-radius: var(--radius);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
  .section {
    padding: var(--space-10) 0;
  }

  .section-header {
    margin-bottom: var(--space-6);
  }

  .portfolio-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .niche-panels,
  .process-steps,
  .service-cards {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .about-photo {
    position: static;
    max-height: 480px;
    aspect-ratio: 4 / 3;
  }

  .proof-bar {
    gap: var(--space-6);
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --text-display: 2rem;
    --text-h2: 1.5rem;
    --text-h3: 1.125rem;
  }

  .section {
    padding: var(--space-8) 0;
  }

  /* Full-screen overlay menu — fully opaque */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0f1e;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 1050;
  }

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

  .nav-links li {
    padding: var(--space-3) 0;
    border: none;
    list-style: none;
  }

  .nav-links a {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
  }

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

  .nav-toggle {
    display: block;
  }

  .portfolio-grid,
  .featured-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .hero {
    min-height: 100svh;
    padding: var(--space-10) var(--gutter) var(--space-8);
  }

  .hero-scroll-hint {
    bottom: var(--space-3);
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .proof-bar {
    gap: var(--space-4);
    padding: var(--space-5) var(--gutter);
  }

  .credential-bar {
    flex-direction: column;
    gap: var(--space-1);
  }

  .credential-bar span::after {
    display: none;
  }

  .niche-panel,
  .service-card,
  .testimonial-card {
    padding: var(--space-3);
  }

  .cta-section {
    padding: var(--space-8) var(--gutter);
  }

  .step {
    padding: var(--space-3) var(--space-2);
  }
}
