/* ============================================================
   METACRAFT MEDIA — Cinematic AI Video Agency
   Design tokens
   ============================================================ */
:root{
  --void:        #060607;
  --panel:       #0e0e12;
  --panel-2:     #141419;
  --glass:       rgba(255,255,255,0.04);
  --glass-brd:   rgba(255,255,255,0.09);
  --line:        rgba(255,255,255,0.08);

  --chrome-1:    #f6f7f9;
  --chrome-2:    #b8bac2;
  --chrome-3:    #6d707a;

  --gold:        #e7bd72;
  --gold-2:      #c69a4f;
  --gold-dim:    rgba(231,189,114,0.35);

  /* new glass accents, drawn from reference UI */
  --amber-1:     #ffcf7a;
  --amber-2:     #f5a623;
  --amber-3:     #b8630f;
  --teal-1:      #7fe3f2;
  --teal-2:      #1fa5c2;
  --teal-3:      #0d5f79;

  --heading-gradient: linear-gradient(120deg, var(--amber-1) 0%, var(--gold) 35%, var(--teal-1) 100%);

  --text:        #e9e9ec;
  --text-dim:    #9a9ca4;
  --text-faint:  #6a6c74;

  --radius-lg:   30px;
  --radius-md:   22px;
  --radius-sm:   12px;

  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-soft:   cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  --font-display: 'Unbounded', sans-serif;
  --font-body:    'Manrope', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  background: var(--void);
}
body{
  margin:0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; cursor:pointer; }
::selection{ background: var(--gold-dim); color:#fff; }

/* ============================================================
   AMBIENT LAYERS
   ============================================================ */
.grain{
  position: fixed; inset:0; z-index: 999; pointer-events:none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow{
  position: fixed; top:0; left:0; width: 460px; height: 460px;
  margin-left:-230px; margin-top:-230px;
  border-radius: 50%; pointer-events:none; z-index: 2;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, rgba(31,165,194,0.06) 40%, transparent 70%);
  transform: translate3d(-1000px,-1000px,0);
  transition: opacity .4s ease;
  will-change: transform;
}
@media (hover:none){ .cursor-glow{ display:none; } }

.scroll-progress{
  position: fixed; top:0; left:0; height:3px; width:0%;
  background: linear-gradient(90deg, var(--amber-2), var(--gold), var(--teal-2));
  z-index: 1001;
  box-shadow: 0 0 16px rgba(245,166,35,0.5);
  transition: width .08s linear;
}

/* ============================================================
   REVEAL ANIMATION SYSTEM
   ============================================================ */
.reveal-up, .reveal-scale, .reveal-lines{
  opacity: 0;
}
.reveal-up{ transform: translateY(34px) scale(.985); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-scale{ transform: scale(.9) rotate(-1deg); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal-lines{ transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }

.reveal-up.in-view, .reveal-scale.in-view, .reveal-lines.in-view{
  opacity: 1; transform: none;
}
.reveal-up[data-delay="1"]{ transition-delay: .06s; }
.reveal-up[data-delay="2"]{ transition-delay: .13s; }
.reveal-up[data-delay="3"]{ transition-delay: .24s; }
.reveal-up[data-delay="4"]{ transition-delay: .36s; }
.reveal-up[data-delay="5"]{ transition-delay: .55s; }

/* idle floating (continuous) */
.float-idle{ animation: floatIdle 5s var(--fd, 0s) ease-in-out infinite; }
@keyframes floatIdle{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

/* ============================================================
   TYPE UTILITIES
   ============================================================ */
.eyebrow{
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--amber-2);
  font-weight: 600;
  margin: 0 0 18px;
  display: inline-block;
  position: relative;
}
.section-title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  background: var(--heading-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 18ch;
}
.hl{ font-weight: 700; }
.hl-amber{ color: var(--amber-1); }
.hl-teal{ color: var(--teal-1); }
.hl-gold{ color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  position: relative;
  display: inline-flex; align-items:center; justify-content:center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out), border-color .3s ease;
}
.btn span{ position:relative; z-index:2; }
.btn-solid{
  background: linear-gradient(135deg, var(--amber-1) 0%, var(--amber-2) 55%, var(--amber-3) 100%);
  color: #17130a;
}
.btn-solid::before{
  content:''; position:absolute; inset:0; z-index:1;
  background: linear-gradient(135deg, var(--gold), var(--teal-2));
  opacity:0; transition: opacity .45s ease;
}
.btn-solid:hover::before{ opacity: .55; }
.btn-solid:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px -10px rgba(245,166,35,0.55);
}
.btn-outline{
  color: var(--text);
  border-color: var(--glass-brd);
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.btn-outline:hover{
  border-color: var(--teal-2);
  transform: translateY(-3px) scale(1.02);
  background: rgba(31,165,194,0.08);
  box-shadow: 0 16px 40px -14px rgba(31,165,194,0.4);
}
.btn-ghost{
  padding: 11px 22px;
  font-size: 13px;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
}
.btn-ghost:hover{ border-color: var(--gold-dim); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn-large{ padding: 19px 42px; font-size: 15.5px; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px clamp(20px,4vw,56px);
  background: rgba(6,6,7,0.32);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, padding .4s ease;
}
.nav.scrolled{
  background: rgba(6,6,7,0.78);
  border-bottom-color: var(--line);
  padding-top: 8px; padding-bottom: 8px;
}
.nav-brand{ display:flex; align-items:center; }
.nav-logo{
  height: 74px; width: auto;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.6));
  transition: height .4s var(--ease-out), transform .4s var(--ease-out);
}
.nav.scrolled .nav-logo{ height: 56px; }
.nav-brand:hover .nav-logo{ transform: scale(1.04); }

.nav-links{ display:flex; gap: 38px; }
.nav-links a{
  position: relative; font-size: 13.5px; font-weight: 500; color: var(--text-dim);
  letter-spacing: .02em;
  transition: color .3s ease;
}
.nav-links a span{ position:relative; }
.nav-links a span::after{
  content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background: linear-gradient(90deg, var(--amber-2), var(--teal-2));
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover{ color: var(--text); }
.nav-links a:hover span::after{ transform: scaleX(1); transform-origin: left; }

.nav-cta{ display:inline-flex; }
.nav-burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 40px; height: 40px; background:none; border:none; padding:0;
}
.nav-burger span{ display:block; height:1.5px; width:22px; background: var(--chrome-1); transition: transform .35s var(--ease-out), opacity .3s ease; }
.nav-burger.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity:0; }
.nav-burger.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0 0 auto 0; z-index: 480;
  display:flex; flex-direction:column; gap: 26px;
  padding: 120px 32px 40px;
  background: rgba(6,6,7,0.98);
  backdrop-filter: blur(20px);
  transform: translateY(-100%);
  transition: transform .5s var(--ease-out);
}
.mobile-menu.open{ transform: translateY(0); }
.mobile-menu a{
  font-family: var(--font-display);
  font-size: 26px; font-weight: 400; color: var(--chrome-1);
}
.mobile-menu .btn{ margin-top: 12px; align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: 150px 24px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 8%, rgba(245,166,35,0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 90%, rgba(31,165,194,0.10), transparent 60%),
    var(--void);
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; object-position: center;
  opacity: 0.75;
  filter: saturate(0.9) brightness(0.95) contrast(1.05);
  mix-blend-mode: screen;
}
.hero-video-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(6,6,7,0.92) 0%, rgba(6,6,7,0.72) 30%, rgba(6,6,7,0.35) 58%, rgba(6,6,7,0.65) 100%),
    linear-gradient(0deg, var(--void) 0%, transparent 16%, transparent 84%, var(--void) 100%);
}
.hero-grid{
  position:absolute; inset:-10% -10%;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, black, transparent 75%);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(64px,64px,0); }
}
.hero-glow{
  position:absolute; top: 38%; left:50%; width: 900px; height: 900px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(245,166,35,0.14) 0%, rgba(31,165,194,0.06) 40%, transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 7s ease-in-out infinite;
}
@keyframes pulseGlow{
  0%,100%{ opacity: .7; transform: translate(-50%,-50%) scale(1); }
  50%{ opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
}
.hero-ring{
  position:absolute; top:50%; left:50%; width: 620px; height:620px;
  transform: translate(-50%,-52%);
  fill:none; stroke: var(--gold); opacity: .14;
}
.hero-ring circle{ fill:none; stroke: currentColor; stroke-width: 1; }
.hero-ring--a{ animation: spin 50s linear infinite; }
.hero-ring--b{ width: 460px; height:460px; opacity:.2; stroke: var(--teal-2); animation: spinRev 38s linear infinite; }
@keyframes spin{ to{ transform: translate(-50%,-52%) rotate(360deg); } }
@keyframes spinRev{ to{ transform: translate(-50%,-52%) rotate(-360deg); } }

/* floating glass panels — signature element inspired by reference UI */
.glass-cluster{
  position:absolute; top:50%; left:50%; width: 1px; height:1px;
  transform: translate(-50%,-50%);
}
.glass-pane{
  position:absolute; border-radius: 34px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.25);
  opacity: .5;
}
.glass-pane--amber{
  width: 220px; height: 300px;
  top: -420px; left: -520px;
  background: linear-gradient(160deg, rgba(255,207,122,.55), rgba(245,166,35,.28) 45%, rgba(184,99,15,.18));
  backdrop-filter: blur(6px);
  transform: rotate(-10deg);
}
.glass-pane--teal{
  width: 200px; height: 280px;
  top: -320px; left: -260px;
  background: linear-gradient(160deg, rgba(127,227,242,.5), rgba(31,165,194,.26) 45%, rgba(13,95,121,.16));
  backdrop-filter: blur(6px);
  transform: rotate(8deg);
}
.glass-pane--chrome{
  width: 190px; height: 260px;
  top: -180px; left: -600px;
  background: linear-gradient(160deg, rgba(246,247,249,.30), rgba(184,186,194,.14) 50%, rgba(20,20,25,.1));
  backdrop-filter: blur(6px);
  transform: rotate(-6deg);
}
.glass-shard{
  position:absolute; width: 320px; height: 26px;
  top: 60px; left: -420px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), rgba(245,166,35,.4), transparent);
  transform: rotate(24deg);
  filter: blur(0.3px);
  opacity: .45;
}
.float-a{ animation: floatA 9s ease-in-out infinite; }
.float-b{ animation: floatB 11s ease-in-out infinite; }
.float-c{ animation: floatC 13s ease-in-out infinite; }
.float-d{ animation: floatD 10s ease-in-out infinite; }
@keyframes floatA{ 0%,100%{ transform: rotate(-10deg) translateY(0); } 50%{ transform: rotate(-6deg) translateY(-22px); } }
@keyframes floatB{ 0%,100%{ transform: rotate(8deg) translateY(0); } 50%{ transform: rotate(13deg) translateY(18px); } }
@keyframes floatC{ 0%,100%{ transform: rotate(-6deg) translateY(0); } 50%{ transform: rotate(-2deg) translateY(-14px); } }
@keyframes floatD{ 0%,100%{ transform: rotate(24deg) translateX(0); } 50%{ transform: rotate(20deg) translateX(20px); } }
@media (max-width: 900px){ .glass-cluster{ display:none; } }

.hero-inner{
  position:relative; z-index:2;
  width: 100%; max-width: 1360px;
}
.hero-content{ text-align:left; max-width: 640px; }
.hero-title{
  margin: 6px 0 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.hero-title .line{ display:block; overflow: hidden; }
.hero-title .word{
  display: inline-block;
  background: linear-gradient(180deg, var(--chrome-1) 10%, var(--chrome-2) 100%);
  -webkit-background-clip: text; background-clip:text; color: transparent;
}
.hero-title .word-gold{
  background: var(--heading-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip:text; color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer{
  0%,100%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
}
.hero-sub{
  max-width: 520px; margin: 0 0 40px;
  font-size: clamp(15px,1.6vw,18px);
  color: var(--text-dim); font-weight: 400; line-height: 1.65;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-actions{ display:flex; gap:16px; justify-content:flex-start; flex-wrap:wrap; }

/* hero background-video sound pill, bottom-center of the hero section */
.hero-sound-toggle{ position:absolute; left:50%; bottom:38px; z-index:3; transform: translateX(-50%); }
.hero-sound-toggle:hover{ transform: translateX(-50%) scale(1.05); }

@media (max-width: 980px){
  .hero-content{ text-align:center; max-width: 100%; }
  .hero-actions{ justify-content:center; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
}

.scroll-cue{
  position:absolute; bottom: 38px; left:50%; transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  z-index:2; color: var(--text-faint);
}
.scroll-cue-line{ width:1px; height: 46px; background: linear-gradient(var(--amber-2), transparent); position:relative; overflow:hidden; }
.scroll-cue-line::after{
  content:''; position:absolute; top:-40%; left:0; width:100%; height:40%;
  background: var(--teal-1); animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop{ 0%{ top:-40%; } 100%{ top:100%; } }
.scroll-cue-text{ font-size: 10.5px; letter-spacing: .28em; text-transform:uppercase; }

/* ============================================================
   STATEMENT / ABOUT STRIP
   ============================================================ */
.statement{
  position:relative;
  padding: 140px 24px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement-glow{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(ellipse 40% 60% at 15% 30%, rgba(245,166,35,0.09), transparent 60%),
    radial-gradient(ellipse 40% 60% at 85% 70%, rgba(31,165,194,0.09), transparent 60%);
  animation: statementDrift 14s ease-in-out infinite;
}
@keyframes statementDrift{
  0%,100%{ opacity:.7; }
  50%{ opacity:1; }
}
.statement-inner{ max-width: 1000px; position:relative; z-index:2; }
.statement-text{
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.4;
  text-align:center;
  color: var(--chrome-2);
  letter-spacing: -0.01em;
}
.statement-emblem{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  width: 620px; opacity: .05; z-index:1; pointer-events:none;
  animation: spin 90s linear infinite;
}

/* ============================================================
   WORK
   ============================================================ */
.work{ padding: 150px 24px 40px; max-width: 1360px; margin: 0 auto; }
.work-header{ max-width: 720px; margin: 0 auto 100px; text-align:center; display:flex; flex-direction:column; align-items:center; }

.project{
  display:grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items:center;
  padding: 70px 0;
}
.project--reverse{ grid-template-columns: 1fr 1.35fr; }
.project--reverse .project-media{ order:2; }
.project--reverse .project-copy{ order:1; }
.project + .project{ border-top: 1px solid var(--line); }

.project-eyebrow{
  margin: 0 0 10px;
  font-size: 12.5px; letter-spacing:.24em; text-transform:uppercase;
  color: var(--amber-2); font-weight:600;
}
.project-title{
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 500; margin: 0 0 18px; letter-spacing: -0.01em;
  background: linear-gradient(180deg, var(--chrome-1), var(--chrome-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.project-desc{ color: var(--text-dim); font-size: 16px; max-width: 42ch; line-height: 1.7; }

.project-frame{
  position: relative; border-radius: var(--radius-lg); overflow:hidden;
  background: var(--panel);
  border: 1px solid var(--glass-brd);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .5s ease;
}
.project-frame--wide{ aspect-ratio: 16/10; }
.project-frame--tall{ aspect-ratio: 9/16; max-width: 340px; margin: 0 auto; }
.project-video{ width:100%; height:100%; object-fit: cover; display:block; }
.project-frame::before{
  content:''; position:absolute; inset:0; z-index:2; pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), transparent 30%, transparent 70%, rgba(0,0,0,0.4));
}
.project-frame::after{
  content:''; position:absolute; inset:0; z-index:2; pointer-events:none; border-radius: inherit;
  box-shadow: 0 0 0 1px transparent inset;
  transition: box-shadow .5s ease;
}
.project-frame--amber:hover{ box-shadow: 0 30px 90px -24px rgba(245,166,35,0.35), 0 0 0 1px rgba(255,255,255,0.02) inset; }
.project-frame--amber:hover::after{ box-shadow: 0 0 0 1px rgba(245,166,35,0.4) inset; }
.project-frame--teal:hover{ box-shadow: 0 30px 90px -24px rgba(31,165,194,0.35), 0 0 0 1px rgba(255,255,255,0.02) inset; }
.project-frame--teal:hover::after{ box-shadow: 0 0 0 1px rgba(31,165,194,0.4) inset; }

/* hover-to-play cue (subtle center glyph, purely decorative on hover) */
.project-frame::before{ z-index:1; }
.project-frame{ cursor: pointer; }

/* sound on/off pill — always visible, anchored at the bottom of the video */
.sound-toggle{
  position:absolute; left:50%; bottom:16px; z-index:5;
  transform: translateX(-50%);
  display:flex; align-items:center; gap:8px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(6,6,7,0.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background .3s ease, transform .3s var(--ease-spring), border-color .3s ease;
}
.sound-toggle:hover{ transform: translateX(-50%) scale(1.05); border-color: var(--amber-2); }
.sound-toggle svg{ width:16px; height:16px; flex:none; fill:none; stroke: var(--chrome-1); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.sound-toggle .icon-sound{ display:none; }
.sound-toggle.muted .icon-mute{ display:block; }
.sound-toggle.muted .icon-sound{ display:none; }
.sound-toggle:not(.muted) .icon-mute{ display:none; }
.sound-toggle:not(.muted) .icon-sound{ display:block; }
.sound-toggle span{
  font-size: 11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--chrome-1); white-space:nowrap;
}
.sound-toggle .sound-label-on{ display:none; }
.sound-toggle.muted .sound-label-off{ display:inline; }
.sound-toggle.muted .sound-label-on{ display:none; }
.sound-toggle:not(.muted) .sound-label-off{ display:none; }
.sound-toggle:not(.muted) .sound-label-on{ display:inline; }
.sound-toggle:not(.muted){ border-color: rgba(245,166,35,0.5); }

.project--vertical{ grid-template-columns: 1fr 1fr; }
.project-media--phone{ display:flex; justify-content:center; }

/* ============================================================
   SERVICES
   ============================================================ */
.services{ padding: 60px 24px 160px; max-width: 1360px; margin: 0 auto; }
.services-grid :nth-child(4){ grid-column: 2;
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1200px; margin: 0 auto;
}
.service-card{
  position: relative;
  padding: 42px 34px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s ease, box-shadow .5s ease;
  transform-style: preserve-3d;
}
.service-card::before{
  content:''; position:absolute; top:-40%; left:-20%; width: 60%; height:80%;
  border-radius: 50%; filter: blur(50px); opacity:.35; z-index:0;
  transition: opacity .5s ease;
}
.service-card--amber::before{ background: var(--amber-2); }
.service-card--teal::before{ background: var(--teal-2); }
.service-card--gold::before{ background: var(--gold); }
.service-card:hover::before{ opacity:.55; }
.service-card:hover{
  box-shadow: 0 24px 60px -24px rgba(245,166,35,0.25);
}
.service-card--teal:hover{ box-shadow: 0 24px 60px -24px rgba(31,165,194,0.3); }
.service-card--amber:hover{ border-color: rgba(245,166,35,0.4); }
.service-card--teal:hover{ border-color: rgba(31,165,194,0.4); }
.service-card--gold:hover{ border-color: var(--gold-dim); }
.service-card h3{
  position:relative; z-index:1;
  font-family: var(--font-display); font-weight: 500; font-size: 21px;
  margin: 0 0 14px; color: var(--chrome-1); letter-spacing: -0.01em;
}
.service-card p{ position:relative; z-index:1; color: var(--text-dim); font-size: 15px; line-height: 1.7; margin:0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact{ padding: 40px 24px 150px; }
.contact-panel{
  position: relative;
  max-width: 780px; margin: 0 auto;
  padding: clamp(50px,7vw,80px) clamp(28px,6vw,60px);
  border-radius: 36px;
  text-align:center;
  overflow:hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(245,166,35,0.12), transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(31,165,194,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--glass-brd);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.8);
}
.contact-emblem{
  position:absolute; top:-60px; left:50%; transform: translateX(-50%);
  width: 260px; opacity: .07; pointer-events:none;
  animation: spin 70s linear infinite;
}
.contact-sub{ max-width: 460px; margin: 14px auto 38px; color: var(--text-dim); font-size: 16px; line-height:1.7; }

/* form */
.brand-form{ position:relative; z-index:2; text-align:left; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field{ display:flex; flex-direction:column; gap: 8px; margin-bottom: 16px; }
.form-row .form-field{ margin-bottom: 0; }
.form-field label{
  font-size: 12.5px; letter-spacing:.06em; text-transform:uppercase;
  color: var(--text-faint); font-weight: 600;
}
.form-field input, .form-field select, .form-field textarea{
  font-family: var(--font-body);
  font-size: 15px; color: var(--text);
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  outline: none;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
  width: 100%;
}
.form-field textarea{ resize: vertical; min-height: 96px; font-family: var(--font-body); }
.form-field input::placeholder, .form-field textarea::placeholder{ color: var(--text-faint); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  border-color: var(--amber-2);
  background: rgba(245,166,35,0.06);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.1);
}
.form-field select{ appearance: none; -webkit-appearance:none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%239a9ca4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.brand-form .btn{ width:100%; margin-top: 8px; }
.form-note{ margin: 14px 0 0; font-size: 12.5px; color: var(--text-faint); text-align:center; }

@media (max-width: 640px){
  .form-row{ grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ border-top: 1px solid var(--line); padding: 60px 24px 40px; position: relative; overflow:hidden; }
.footer::before{
  content:''; position:absolute; inset:0; z-index:0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(245,166,35,0.06), transparent 60%);
}
.footer-inner{
  position:relative; z-index:1;
  max-width: 1200px; margin:0 auto;
  display:flex; flex-direction:column; align-items:center; gap: 16px; text-align:center;
}
.footer-brand{ display:flex; align-items:center; gap:10px; }
.footer-brand img{ width:26px; }
.footer-brand span{ font-family: var(--font-display); font-size:14px; color: var(--chrome-1); }
.footer-brand em{ font-style:normal; color: var(--text-dim); font-weight:300; }
.footer-tag{ color: var(--text-faint); font-size: 13px; letter-spacing: .04em; }

.footer-email{
  display:inline-block; margin: 10px 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, var(--amber-1), var(--gold) 45%, var(--teal-1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter .3s ease, transform .3s ease;
}
.footer-email:hover{ filter: brightness(1.2); transform: translateY(-2px); }

.footer-links{ display:flex; gap: 26px; margin: 10px 0; }
.footer-links a{ font-size: 13px; color: var(--text-dim); transition: color .3s ease; }
.footer-links a:hover{ color: var(--amber-2); }
.footer-copy{ color: var(--text-faint); font-size: 12px; margin-top: 6px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }
  .nav-burger{ display:flex; }
  .nav-logo{ height: 56px; }
  .nav.scrolled .nav-logo{ height: 44px; }

  .project, .project--reverse, .project--vertical{
    grid-template-columns: 1fr; gap: 34px;
  }
  .project--reverse .project-media, .project--reverse .project-copy{ order:0; }
  .project--vertical{ text-align:center; }
  .project-desc{ margin: 0 auto; }
  .project-frame--tall{ max-width: 300px; }

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

@media (max-width: 560px){
  .hero{ padding-top: 130px; }
  .hero-actions{ flex-direction:column; width:100%; }
  .hero-actions .btn{ width:100%; }
  .work{ padding-top: 110px; }
  .project{ padding: 46px 0; }
  .statement{ padding: 90px 20px; }
  .contact-panel{ border-radius: 24px; }
  .nav-logo{ height: 48px; }
  .nav.scrolled .nav-logo{ height: 40px; }
}
/* --- MetaCraft Concept Studio Styles --- */
.mm-concept-section {
  padding: 100px 24px;
  background-color: #0b0c10;
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.mm-concept-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.mm-concept-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 64px auto;
}

.mm-concept-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.mm-concept-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.mm-gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mm-concept-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #9ca3af;
  margin: 0 auto;
}

/* 3-Column Card Grid */
.mm-concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.mm-concept-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mm-concept-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 36px -12px rgba(99, 102, 241, 0.15);
}

.mm-card-number {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.mm-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.mm-card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #9ca3af;
  margin-bottom: 24px;
  flex-grow: 1;
}

.mm-card-spec {
  font-size: 0.78rem;
  font-family: monospace;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 6px;
  padding: 6px 12px;
  align-self: flex-start;
}

/* Technical Bridge Banner */
.mm-concept-bridge {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.4) 0%, rgba(17, 24, 39, 0.6) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mm-bridge-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.mm-bridge-content p {
  font-size: 0.92rem;
  color: #9ca3af;
  margin: 0;
}

.mm-concept-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #6366f1;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.mm-concept-btn:hover {
  background: #4f46e5;
  transform: translateX(2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mm-concept-section {
    padding: 60px 20px;
  }
  .mm-concept-bridge {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .mm-concept-btn {
    width: 100%;
    justify-content: center;
  }
}