/* ==========================================================================
   HASHLIGHT — Social Media Management Studio
   Design tokens: near-black stage, flash-gold + electric-blue duo,
   film-sprocket & timecode motifs throughout.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* decorative background gradients — reel tiles (g1-g4) and editor photos (e1-e3) */
.g1{ background:radial-gradient(120% 90% at 15% 0%, rgba(255,194,75,.42), transparent 55%), radial-gradient(120% 90% at 90% 100%, rgba(62,142,255,.32), transparent 55%), linear-gradient(160deg,#1c1c22,#0c0c0f 75%); }
.g2{ background:radial-gradient(120% 90% at 90% 0%, rgba(62,142,255,.4), transparent 55%), radial-gradient(120% 90% at 10% 100%, rgba(255,194,75,.3), transparent 55%), linear-gradient(200deg,#191922,#0c0c0f 75%); }
.g3{ background:radial-gradient(130% 100% at 50% 0%, rgba(255,216,115,.32), transparent 60%), linear-gradient(180deg,#1a1a1f,#0c0c0f 80%); }
.g4{ background:radial-gradient(120% 90% at 20% 100%, rgba(62,142,255,.38), transparent 55%), radial-gradient(120% 90% at 85% 0%, rgba(255,194,75,.28), transparent 55%), linear-gradient(220deg,#1c1c22,#0c0c0f 75%); }
.e1{ background:radial-gradient(120% 90% at 20% 0%, rgba(255,194,75,.4), transparent 55%), linear-gradient(160deg,#1c1c22,#0c0c0f 75%); }
.e2{ background:radial-gradient(120% 90% at 85% 100%, rgba(62,142,255,.38), transparent 55%), linear-gradient(200deg,#191922,#0c0c0f 75%); }
.e3{ background:radial-gradient(130% 100% at 50% 0%, rgba(255,216,115,.3), transparent 60%), linear-gradient(180deg,#1a1a1f,#0c0c0f 80%); }

:root{
  --bg:            #0a0a0c;
  --bg-alt:        #101014;
  --bg-raised:     #17171c;
  --ink:           #f4f2ed;
  --ink-dim:       #9a98a3;
  --ink-faint:     #55545c;
  --gold:          #ffc24b;
  --gold-bright:   #ffd873;
  --blue:          #3e8eff;
  --line:          rgba(244,242,237,0.10);
  --line-strong:   rgba(244,242,237,0.22);

  --display: 'Anton', sans-serif;
  --body:    'Inter', sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --max: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.16,.84,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
html,body{ background:var(--bg); }

body{
  font-family:var(--body);
  color:var(--ink);
  background:var(--bg);
  overflow-x:hidden;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea{ font-family:inherit; }

::selection{ background:var(--gold); color:#0a0a0c; }

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- grain overlay ---------- */
.grain{
  position:fixed; inset:0; z-index:2; pointer-events:none; opacity:.05; 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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- flash cursor spotlight (desktop, fine pointer only) ---------- */
.flash-spot{
  position:fixed; top:0; left:0; width:520px; height:520px; z-index:1; pointer-events:none;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(255,194,75,0.10) 0%, rgba(255,194,75,0.04) 35%, transparent 70%);
  opacity:0; transition:opacity .4s var(--ease);
  will-change:transform;
}
.flash-spot.active{ opacity:1; }
@media (pointer:coarse){ .flash-spot{ display:none; } }

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--gold); outline-offset:3px; border-radius:2px;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.wrap{ max-width:var(--max); margin-inline:auto; padding-inline:var(--pad); }
.eyebrow{
  font-family:var(--mono); font-size:12px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold); display:inline-flex; align-items:center;
}
.text-dim{ color:var(--ink-dim); }
.gold{ color:var(--gold); }
.blue-text{ color:var(--blue); }
section{ position:relative; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:13px; letter-spacing:.08em; text-transform:uppercase;
  padding:16px 26px; border-radius:999px; border:1px solid var(--line-strong);
  transition:all .35s var(--ease); white-space:nowrap;
}
.btn-primary{ background:var(--gold); color:#0a0a0c; border-color:var(--gold); font-weight:600; }
.btn-primary:hover{ background:var(--gold-bright); transform:translateY(-2px); box-shadow:0 10px 30px -8px rgba(255,194,75,.5); }
.btn-ghost{ color:var(--ink); background:transparent; }
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }
.btn svg{ width:14px; height:14px; transition:transform .35s var(--ease); }
.btn:hover svg{ transform:translate(3px,-3px); }

.h1{ font-family:var(--display); text-transform:uppercase; line-height:.92; letter-spacing:-.01em; }
.h2{
  font-family:var(--display); text-transform:uppercase; letter-spacing:-.005em; line-height:.98;
  font-size:clamp(34px,5.2vw,64px);
}
.lede{ font-size:clamp(16px,1.6vw,19px); color:var(--ink-dim); max-width:56ch; }

/* sprocket strip — signature film-reel motif used as section divider */
.sprockets{ height:26px; display:flex; align-items:center; gap:14px; overflow:hidden; padding-inline:var(--pad); }
.sprockets::before, .sprockets::after{ content:''; flex:1; height:1px; background:var(--line); }
.sprockets i{ width:6px; height:6px; border-radius:1px; background:var(--line-strong); flex-shrink:0; }
.sprockets-row{ display:flex; gap:14px; flex-shrink:0; }

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-d1{ transition-delay:.08s; } .reveal-d2{ transition-delay:.16s; } .reveal-d3{ transition-delay:.24s; } .reveal-d4{ transition-delay:.32s; }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav{
  position:fixed; top:18px; left:50%; transform:translateX(-50%); z-index:50;
  width:fit-content; max-width:calc(100% - 36px);
  display:flex; align-items:center; justify-content:center; gap:26px;
  padding:14px 26px; border-radius:26px;
  background:rgba(20,20,24,0.5);
  border:1px solid rgba(244,242,237,0.14);
  backdrop-filter:blur(20px) saturate(160%); -webkit-backdrop-filter:blur(20px) saturate(160%);
  box-shadow:0 20px 50px -22px rgba(0,0,0,.7), inset 0 1px 0 rgba(244,242,237,.08);
  transition:background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), top .4s var(--ease);
}
.site-nav.scrolled{
  background:rgba(14,14,17,0.72); top:12px; padding-block:11px;
  box-shadow:0 26px 60px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(244,242,237,.1);
}

.logo{ font-family:var(--display); font-size:22px; letter-spacing:.01em; text-transform:uppercase; display:flex; align-items:center; gap:10px; }
.logo-mark{ width:36px; height:36px; object-fit:contain; display:block; flex-shrink:0; filter:brightness(0) invert(1); }

.nav-sep{ color:var(--ink-faint); font-size:14.7px; line-height:1; opacity:.6; flex-shrink:0; }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  font-family:var(--mono); font-size:12.6px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-dim);
  position:relative; padding-bottom:4px; transition:color .3s var(--ease); white-space:nowrap;
}
.nav-links a::before{ content: attr(data-index); color:var(--ink-faint); margin-right:6px; }
.nav-links a::after{ content:''; position:absolute; left:0; bottom:0; height:1px; width:0; background:var(--gold); transition:width .35s var(--ease); }
.nav-links a:hover, .nav-links a.active{ color:var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active::before{ color:var(--gold); }

.nav-cta{ display:flex; align-items:center; gap:22px; }
.nav-cta .rec-tag{ font-size:11.55px; text-transform:uppercase; letter-spacing:.1em; }
/* "Start a project" in the top bar — 20% smaller on desktop only
   (mobile has its own separate 25%-smaller rule further down) */
@media (min-width:921px){
  .nav-cta .js-start-project{ font-size:10.4px; padding:12.8px 20.8px; gap:8px; }
  .nav-cta .js-start-project svg{ width:11.2px; height:11.2px; }
}
.rec-tag{ display:flex; align-items:center; gap:8px; font-family:var(--mono); font-size:11px; letter-spacing:.12em; color:var(--ink-dim); white-space:nowrap; }
.rec-dot{ width:6px; height:6px; border-radius:50%; background:#ff4d4d; animation:pulse 1.6s infinite; }
@keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.25; } }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; z-index:60; }
.nav-toggle span{ width:24px; height:2px; background:var(--ink); display:block; transition:all .3s var(--ease); }

/* mobile nav */
@media (max-width:920px){
  /* .site-nav normally centers itself with transform:translateX(-50%), but a
     transform on an ancestor becomes the containing block for any
     position:fixed descendant — which made the fixed, inset:0 .nav-links
     menu below size/position itself against the small nav pill instead of
     the full screen, leaving a sliver of it visible even when "closed".
     Centering via left/right+auto-margin instead avoids creating that
     containing block, so the closed menu is fully off-screen. */
  .site-nav{ left:0; right:0; transform:none; margin-inline:auto; }
  .nav-links{
    position:fixed; inset:0; background:var(--bg); flex-direction:column; justify-content:center; align-items:flex-start;
    padding:var(--pad); gap:26px; transform:translateX(100%); transition:transform .5s var(--ease); z-index:55;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:28px; font-family:var(--display); text-transform:uppercase; color:var(--ink); }
  .nav-links a::after{ display:none; }
  .rec-tag{ display:none; }
  .nav-sep{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-toggle.open span:nth-child(1){ transform:rotate(45deg) translate(5px,5px); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform:rotate(-45deg) translate(5px,-5px); }

  /* "Start a project" in the top bar — 25% smaller on mobile only */
  .nav-cta .js-start-project{
    font-size:9.75px; padding:12px 19.5px; gap:7.5px;
  }
  .nav-cta .js-start-project svg{ width:10.5px; height:10.5px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  min-height:100svh; display:flex; flex-direction:column; justify-content:center;
  padding-top:120px; padding-bottom:60px; position:relative;
}
.hero-grid{ display:grid; grid-template-columns:1.3fr .9fr; gap:60px; align-items:center; }
@media (max-width:980px){ .hero-grid{ grid-template-columns:1fr; } }

/* hero eyebrow — two left-aligned lines sitting flush above the headline */
.hero-eyebrow{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; text-align:left; margin-bottom:22px; }
.hero-eyebrow span{
  font-family:var(--mono); font-size:26.4px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold); display:inline-flex; align-items:center;
}
/* first line carries the "Hashlight" wordmark — matches .logo's font/weight/color,
   sized 20% up from the original 22px since it now stands in for the nav text */
.hero-eyebrow span:first-child{
  font-family:var(--display); font-size:26.4px; letter-spacing:.01em;
  color:var(--ink);
}

.hero-title{ font-size:clamp(52px, 8.4vw, 118px); }
.hero-title .flash{
  background:linear-gradient(100deg, var(--gold-bright) 20%, var(--gold) 40%, var(--blue) 65%, var(--gold-bright) 85%);
  background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:sheen 7s ease-in-out infinite;
}
@keyframes sheen{ 0%{ background-position:0% 0; } 50%{ background-position:100% 0; } 100%{ background-position:0% 0; } }

.hero-sub{ margin-top:26px; }
.hero-actions{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; }

/* reel mock card */
.reel-card{
  position:relative; aspect-ratio:9/13; border-radius:22px; overflow:hidden;
  border:1px solid var(--line-strong);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(62,142,255,.35), transparent 55%),
    radial-gradient(120% 90% at 85% 100%, rgba(255,194,75,.35), transparent 55%),
    linear-gradient(160deg, #1a1a20, #0c0c0f 70%);
  box-shadow:0 40px 80px -30px rgba(0,0,0,.7);
  animation:float 6s ease-in-out infinite;
}
@keyframes float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }
.reel-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:transparent; }
.reel-card .grid-lines{ position:absolute; inset:0; background-image:linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size:100% 33.33%, 33.33% 100%; opacity:.5; pointer-events:none; }
.reel-top{ position:absolute; top:18px; left:18px; right:18px; display:flex; justify-content:space-between; align-items:center; font-family:var(--mono); font-size:11px; color:var(--ink-dim); letter-spacing:.08em; pointer-events:none; }
.reel-top .rec-tag{ color:#ff8f8f; }
.reel-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:64px; height:64px; border-radius:50%; background:rgba(244,242,237,.08); backdrop-filter:blur(6px);
  border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center;
  transition:background .3s var(--ease), opacity .3s var(--ease); z-index:1;
}
.reel-play:hover{ background:rgba(244,242,237,.16); }
.reel-play svg{ width:20px; height:20px; }
.reel-play .icon-play{ margin-left:3px; }
.reel-play .icon-pause{ display:none; }
.reel-play.is-playing{ opacity:0; }
.reel-play.is-playing:hover{ opacity:1; }
.reel-play.is-playing .icon-play{ display:none; }
.reel-play.is-playing .icon-pause{ display:block; margin-left:0; }
.reel-bottom{ position:absolute; bottom:18px; left:18px; right:18px; pointer-events:none; }
.reel-bottom .handle{ font-family:var(--mono); font-size:12px; color:var(--gold); margin-bottom:6px; }
.reel-bottom .caption{ font-size:14px; font-weight:600; }
.reel-stats{ display:flex; gap:16px; margin-top:10px; font-family:var(--mono); font-size:11px; color:var(--ink-dim); }

.scroll-cue{ position:absolute; bottom:28px; right:var(--pad); display:flex; align-items:center; gap:12px; font-family:var(--mono); font-size:12px; color:var(--ink-faint); }
.scroll-cue .track{ width:1px; height:40px; background:var(--line-strong); position:relative; overflow:hidden; }
.scroll-cue .track::after{ content:''; position:absolute; top:0; left:0; width:100%; height:14px; background:var(--gold); animation:cue 2s ease-in-out infinite; }
@keyframes cue{ 0%{ transform:translateY(-100%); } 100%{ transform:translateY(140%); } }
@media (max-width:640px){ .scroll-cue{ display:none; } }

/* ==========================================================================
   Marquee ticker
   ========================================================================== */
.ticker-wrap{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden; padding:18.7px 0;
  background:rgba(16,16,20,.45);
  backdrop-filter:blur(16px) saturate(150%); -webkit-backdrop-filter:blur(16px) saturate(150%);
}
.ticker{ display:flex; width:max-content; animation:tick 32s linear infinite; }
.ticker span{
  font-family:var(--mono); font-size:14px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-dim);
  padding-right:36px; display:flex; align-items:center; gap:36px; white-space:nowrap;
}
.ticker span b, .footer-platforms-track span b{ color:var(--gold); font-weight:600; }
.ticker span i, .footer-platforms-track span i{ width:5px; height:5px; border-radius:50%; background:var(--ink-faint); display:inline-block; }
@keyframes tick{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats{ padding-block:clamp(60px,8vw,110px); border-bottom:1px solid var(--line); }
.stats-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
@media (max-width:760px){ .stats-grid{ grid-template-columns:1fr; gap:36px; } }
.stat-num{ font-family:var(--display); font-size:clamp(48px,6vw,76px); color:var(--ink); line-height:1; }
.stat-label{ font-family:var(--mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-dim); margin-top:12px; }

/* ==========================================================================
   Services (bento)
   ========================================================================== */
.services{ padding-block:clamp(80px,10vw,140px); }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:56px; flex-wrap:wrap; }
.section-head > div{ display:flex; flex-direction:column; gap:16px; align-items:flex-start; }
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:20px; overflow:hidden; }
@media (max-width:980px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .services-grid{ grid-template-columns:1fr; } }
.service-card{ background:var(--bg); padding:38px 30px; min-height:280px; display:flex; flex-direction:column; justify-content:space-between; transition:background .4s var(--ease); position:relative; overflow:hidden; }
.service-card::before{ content:''; position:absolute; inset:0; background:linear-gradient(160deg, rgba(255,194,75,.10), transparent 60%); opacity:0; transition:opacity .4s var(--ease); }
.service-card:hover{ background:var(--bg-raised); }
.service-card:hover::before{ opacity:1; }
.service-index{ font-family:var(--mono); font-size:13px; color:var(--gold); }
.service-title{ font-family:var(--display); font-size:22px; text-transform:uppercase; margin-top:50px; letter-spacing:.01em; }
.service-desc{ font-size:14px; color:var(--ink-dim); margin-top:14px; }

/* ==========================================================================
   Link-teaser rows (index page pillars)
   ========================================================================== */
.pillars{ border-top:1px solid var(--line); }
.pillar{
  display:flex; align-items:center; justify-content:space-between; padding:38px var(--pad);
  border-bottom:1px solid var(--line); position:relative; overflow:hidden; transition:padding-left .4s var(--ease);
}
.pillar::before{ content:''; position:absolute; left:0; top:0; bottom:0; width:0; background:var(--gold); transition:width .4s var(--ease); }
.pillar:hover{ padding-left:calc(var(--pad) + 18px); }
.pillar:hover::before{ width:4px; }
.pillar-left{ display:flex; align-items:baseline; gap:24px; }
.pillar-title{ font-family:var(--display); font-size:clamp(26px,4vw,44px); text-transform:uppercase; transition:color .3s var(--ease); }
.pillar:hover .pillar-title{ color:var(--gold); }
.pillar-sub{ font-family:var(--mono); font-size:12px; color:var(--ink-dim); display:none; }
@media (min-width:760px){ .pillar-sub{ display:block; } }
.pillar-arrow{ width:44px; height:44px; border-radius:50%; border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all .35s var(--ease); }
.pillar:hover .pillar-arrow{ background:var(--gold); border-color:var(--gold); transform:rotate(45deg); }
.pillar-arrow svg{ width:16px; height:16px; }
.pillar:hover .pillar-arrow svg{ color:#0a0a0c; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band{ padding-block:clamp(90px,12vw,160px); text-align:center; border-top:1px solid var(--line); }
.cta-title{ font-size:clamp(48px,9vw,120px); }
.cta-band .lede{ margin-inline:auto; text-align:center; margin-top:20px; }
.cta-band .btn{ margin-top:40px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ border-top:1px solid var(--line); padding-block:24px 34px; }
/* on mobile the dial anchors off the bottom edge and pokes up ~80-100px,
   which otherwise sits right on top of the copyright line below */
@media (max-width:920px){ .site-footer{ padding-bottom:120px; } }

/* floating WhatsApp button — lives in the footer's markup (so it survives
   the page-panel split, since footer is never hidden) but is fixed to the
   viewport so it's visible on every page, not just when scrolled to the bottom */
.whatsapp-float{
  position:fixed; right:24px; bottom:24px; z-index:60;
  width:56px; height:56px; border-radius:50%; background:#25D366; color:#08130d;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px -8px rgba(37,211,102,.55);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float:hover{ transform:translateY(-3px) scale(1.05); box-shadow:0 16px 36px -6px rgba(37,211,102,.65); }
.whatsapp-float svg{ width:28px; height:28px; }
@media (max-width:640px){ .whatsapp-float{ right:16px; bottom:16px; width:50px; height:50px; } .whatsapp-float svg{ width:24px; height:24px; } }

/* rolling platforms banner — reuses the hero ticker's marquee animation */
.footer-platforms{
  overflow:hidden; padding-bottom:16px; margin-bottom:48px; border-bottom:1px solid var(--line);
  width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
}
.footer-platforms-track{ display:flex; width:max-content; animation:tick 85.5s linear infinite; }
.footer-platforms-track > span{
  display:flex; align-items:center; gap:48px; padding-right:48px; white-space:nowrap;
  font-family:var(--mono); font-size:17px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-dim);
}
.footer-platform-item{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:14px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-dim);
}
.footer-platform-item svg{ width:20px; height:20px; flex-shrink:0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand .logo{ margin-bottom:16px; }
.footer-brand p{ color:var(--ink-dim); font-size:14px; max-width:32ch; }
.footer-col h4{ font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:16px; }
.footer-col a, .footer-col p{ display:block; font-size:14px; color:var(--ink-dim); margin-bottom:10px; transition:color .25s; }
.footer-col a:hover{ color:var(--gold); }
.footer-bottom{ margin-top:60px; padding-top:26px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; font-family:var(--mono); font-size:11px; color:var(--ink-faint); flex-wrap:wrap; gap:12px; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero{ padding-top:150px; padding-bottom:70px; border-bottom:1px solid var(--line); }
.page-hero .h1{ font-size:clamp(44px,7vw,90px); margin-top:18px; }
.page-hero .lede{ margin-top:22px; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; padding-block:clamp(70px,9vw,120px); align-items:start; }
@media (max-width:920px){ .about-grid{ grid-template-columns:1fr; gap:50px; } }
.director-card{ border:1px solid var(--line-strong); border-radius:20px; overflow:hidden; position:sticky; top:120px; }
/* sticky only makes sense in the two-column layout — in the stacked
   single-column mobile layout it floats over the copy below while scrolling */
@media (max-width:920px){ .director-card{ position:static; } }
.director-photo{ aspect-ratio:4/5; background:
    radial-gradient(120% 90% at 15% 0%, rgba(255,194,75,.4), transparent 55%),
    radial-gradient(120% 90% at 90% 100%, rgba(62,142,255,.35), transparent 55%),
    linear-gradient(160deg,#1c1c22,#0c0c0f 75%);
  display:flex; align-items:flex-end; padding:26px; position:relative; overflow:hidden; }
.director-photo-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.director-photo .frame-corner{ position:absolute; width:22px; height:22px; border-color:var(--ink-dim); z-index:1; }
.director-photo .tl{ top:16px; left:16px; border-top:1px solid; border-left:1px solid; }
.director-photo .br{ bottom:16px; right:16px; border-bottom:1px solid; border-right:1px solid; }
.director-info{ padding:26px; border-top:1px solid var(--line); }
.director-info .name{ font-family:var(--display); font-size:24px; text-transform:uppercase; }
.director-info .role{ font-family:var(--mono); font-size:12px; color:var(--gold); margin-top:6px; letter-spacing:.08em; }

.about-copy p{ font-size:17px; color:var(--ink-dim); margin-bottom:22px; max-width:62ch; }
.about-copy p b{ color:var(--ink); font-weight:600; }

.values{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden; margin-top:40px; }
@media (max-width:760px){ .values{ grid-template-columns:1fr; } }
.value-card{ background:var(--bg); padding:28px; }
.value-card .num{ font-family:var(--mono); color:var(--gold); font-size:12px; }
.value-card h5{ font-family:var(--display); text-transform:uppercase; font-size:18px; margin-top:16px; }
.value-card p{ font-size:13px; color:var(--ink-dim); margin-top:10px; }

.timeline{ padding-block:clamp(60px,8vw,110px); border-top:1px solid var(--line); }
.tl-row{ display:grid; grid-template-columns:120px 1fr; gap:30px; padding-block:26px; border-bottom:1px solid var(--line); }
.tl-row .yr{ font-family:var(--mono); color:var(--gold); font-size:14px; }
.tl-row h5{ font-family:var(--display); text-transform:uppercase; font-size:20px; }
.tl-row p{ color:var(--ink-dim); font-size:14px; margin-top:6px; max-width:56ch; }

/* ==========================================================================
   Social Media page — reel grid
   ========================================================================== */
.social-cta{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding-block:40px; border-bottom:1px solid var(--line); }
.ig-handle{ display:flex; align-items:center; gap:14px; }
.ig-icon{ width:44px; height:44px; border-radius:12px; background:linear-gradient(135deg,var(--gold),var(--blue)); display:flex; align-items:center; justify-content:center; }
.ig-icon svg{ width:22px; height:22px; color:#0a0a0c; }

.reel-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; padding-block:clamp(50px,7vw,90px); }
@media (max-width:980px){ .reel-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .reel-grid{ grid-template-columns:1fr; } }
.reel-tile{
  aspect-ratio:9/16; border-radius:16px; overflow:hidden; position:relative; border:1px solid var(--line);
  transition:transform .45s var(--ease), border-color .45s var(--ease);
}
.reel-tile:hover{ transform:translateY(-8px); border-color:var(--line-strong); }
.reel-tile .bg{ position:absolute; inset:0; }
/* always visible — shows its first loaded frame as a thumbnail at rest,
   then simply starts moving on hover, no fade needed */
.reel-tile-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:transparent; }
.reel-tile .overlay{ position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 45%); }
.reel-tile .meta{ position:absolute; bottom:14px; left:14px; right:14px; }
.reel-tile .views{ font-family:var(--mono); font-size:11px; color:var(--gold-bright); }
.reel-tile .cap{ font-size:13px; font-weight:600; margin-top:4px; }

.tag{ font-family:var(--mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-dim); border:1px solid var(--line-strong); border-radius:999px; padding:4px 10px; }

/* ==========================================================================
   Video editors page
   ========================================================================== */
.editors-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; padding-block:clamp(50px,7vw,90px); max-width:760px; margin-inline:auto; }
@media (max-width:600px){ .editors-grid{ grid-template-columns:1fr; } }
.editor-card{ border:1px solid var(--line); border-radius:18px; overflow:hidden; transition:border-color .35s var(--ease), transform .35s var(--ease); }
.editor-card:hover{ border-color:var(--line-strong); transform:translateY(-6px); }
.editor-photo{ aspect-ratio:1; position:relative; }
.editor-photo .played{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .3s; background:rgba(0,0,0,.35); }
.editor-card:hover .played{ opacity:1; }
.editor-info{ padding:22px; border-top:1px solid var(--line); }
.editor-info .name{ font-family:var(--display); font-size:19px; text-transform:uppercase; }
.editor-info .role{ font-family:var(--mono); font-size:11px; color:var(--gold); margin-top:4px; letter-spacing:.06em; }
.editor-info .desc{ font-size:13px; color:var(--ink-dim); margin-top:12px; }
.editor-skills{ display:flex; gap:6px; margin-top:14px; flex-wrap:wrap; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; padding-block:clamp(60px,8vw,110px); }
@media (max-width:920px){ .contact-grid{ grid-template-columns:1fr; gap:50px; } }

.contact-info-block{ margin-bottom:44px; }
.contact-info-block .label{ font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:10px; }
.contact-info-block a, .contact-info-block p{ font-family:var(--display); font-size:clamp(22px,2.6vw,32px); text-transform:uppercase; }
.contact-info-block a{ transition:color .3s; }
.contact-info-block a:hover{ color:var(--gold); }
.social-row{ display:flex; gap:14px; margin-top:30px; }
.social-chip{ display:flex; align-items:center; gap:8px; border:1px solid var(--line-strong); border-radius:999px; padding:10px 18px; font-family:var(--mono); font-size:12px; transition:all .3s var(--ease); }
.social-chip:hover{ border-color:var(--gold); color:var(--gold); }

.form-note{ font-family:var(--mono); font-size:12px; color:var(--ink-faint); margin-top:10px; }

/* whatsapp CTA card */
.whatsapp-card{
  border:1px solid var(--line-strong); border-radius:22px; padding:clamp(30px,4vw,46px);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(37,211,102,.14), transparent 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(255,194,75,.12), transparent 55%),
    linear-gradient(160deg,#151519,#0c0c0f 75%);
  position:relative; overflow:hidden;
}
.whatsapp-icon{
  width:56px; height:56px; border-radius:16px; background:#25D366; color:#0a0a0c;
  display:flex; align-items:center; justify-content:center; margin-bottom:26px;
}
.whatsapp-icon svg{ width:28px; height:28px; }
.whatsapp-title{ font-family:var(--display); text-transform:uppercase; font-size:clamp(28px,3.6vw,40px); line-height:1; margin-top:14px; }
.whatsapp-card .lede{ margin-top:18px; max-width:44ch; }
.whatsapp-btn{ margin-top:32px; background:#25D366; border-color:#25D366; color:#08130d; }
.whatsapp-btn:hover{ background:#2fe077; box-shadow:0 10px 30px -8px rgba(37,211,102,.5); }
.whatsapp-card .form-note{ margin-top:16px; }

/* ==========================================================================
   Page panels — each dial section, plus the page-local content around it,
   is grouped (at runtime, in script.js) into its own panel. Only the active
   one is ever in the document flow, so pages have a real end and never
   scroll into one another — switching pages is a jump, not a scroll.
   ========================================================================== */
.page-panel{ display:none; }
.page-panel.active{ display:block; }

/* ==========================================================================
   Telephone-dial section navigator — an actual rotary dial: drag it around
   and it spins (numbers included) until you let go, snapping to whichever
   digit lands on the fixed finger-stop, which becomes the active page. No
   click-to-jump on the numbers themselves — drag-and-release only. Desktop
   anchors the dial off the right edge (stop at the leftmost point); mobile
   anchors it off the bottom edge (stop at the top point) — same widget,
   repositioned.
   ========================================================================== */
.tel-dial{ position:fixed; inset:0; z-index:45; pointer-events:none; }

.tel-dial-face{
  position:fixed; right:-150px; top:50%; transform:translateY(-50%);
  width:300px; height:300px; z-index:45;
  pointer-events:auto; touch-action:none; cursor:grab;
}
.tel-dial-face:active{ cursor:grabbing; }
@media (max-width:920px){
  .tel-dial-face{
    right:auto; left:50%; top:auto; bottom:-150px; transform:translateX(-50%);
    width:230px; height:230px;
  }
}
.tel-dial-face::before{
  content:''; position:absolute; inset:0; border-radius:50%;
  background:
    conic-gradient(from 200deg, rgba(255,216,115,.10), transparent 28%, transparent 68%, rgba(62,142,255,.09), rgba(255,216,115,.10)),
    radial-gradient(circle at 30% 26%, rgba(244,242,237,.11), transparent 50%),
    radial-gradient(circle at 76% 82%, rgba(62,142,255,.06), transparent 60%),
    linear-gradient(160deg, rgba(23,23,28,.55), rgba(12,12,15,.55) 78%);
  border:1px solid var(--line-strong);
  backdrop-filter:blur(20px) saturate(160%); -webkit-backdrop-filter:blur(20px) saturate(160%);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.75),
    0 0 44px -12px rgba(255,194,75,.10),
    inset 0 0 0 1px rgba(244,242,237,.06),
    inset 0 0 0 11px rgba(0,0,0,.24),
    inset 0 2px 3px rgba(244,242,237,.05);
  transition:box-shadow .3s var(--ease);
}
.tel-dial-face:hover::before{
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.75),
    0 0 56px -10px rgba(255,194,75,.18),
    inset 0 0 0 1px rgba(244,242,237,.08),
    inset 0 0 0 11px rgba(0,0,0,.24),
    inset 0 2px 3px rgba(244,242,237,.05);
}
.tel-dial-face::after{
  content:''; position:absolute; inset:16px; border-radius:50%; pointer-events:none;
  background:repeating-conic-gradient(from 0deg, rgba(244,242,237,.06) 0deg .6deg, transparent .6deg 18deg);
  opacity:.7;
  animation:dial-idle-spin 50s linear infinite;
}
@keyframes dial-idle-spin{ to{ transform:rotate(360deg); } }

.tel-dial-ring{ position:absolute; inset:0; pointer-events:none; will-change:transform; }

/* finger holes — set inward from the rim (not sitting on the dial's edge
   line) so they read as holes drilled into the face; they revolve AND tilt
   together with the ring's rotation, like numbers printed on a spinning disc */
.tel-dial-hole{
  position:absolute; width:42px; height:42px; margin:-21px 0 0 -21px; border-radius:50%;
  background:rgba(16,16,20,.5); border:1px solid var(--line); color:var(--ink-dim);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  font-family:var(--mono); font-size:14px; font-weight:500;
  display:flex; align-items:center; justify-content:center;
  box-shadow:
    inset 0 2px 5px rgba(0,0,0,.55), inset 0 -1px 0 rgba(244,242,237,.05),
    0 0 0 3px rgba(244,242,237,.03);
  transition:background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  pointer-events:none;
}
.tel-dial-hole.active{
  background:var(--gold); border-color:var(--gold); color:#0a0a0c; font-weight:600;
  animation:hole-pulse 2.4s ease-in-out infinite;
}
@keyframes hole-pulse{
  0%,100%{ box-shadow:0 4px 16px -4px rgba(255,194,75,.6), 0 0 0 3px rgba(255,194,75,.08); }
  50%{ box-shadow:0 4px 26px -2px rgba(255,194,75,.85), 0 0 0 5px rgba(255,194,75,.14); }
}
@media (max-width:920px){
  .tel-dial-hole{ width:34px; height:34px; margin:-17px 0 0 -17px; font-size:12px; }
}

.tel-dial-hub{
  position:absolute; left:50%; top:50%; width:56px; height:56px; margin:-28px 0 0 -28px;
  border-radius:50%; pointer-events:none;
  background:linear-gradient(160deg, rgba(23,23,28,.6), rgba(12,12,15,.6) 80%);
  border:1px solid var(--line-strong);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  box-shadow:0 4px 12px rgba(0,0,0,.5), inset 0 1px 0 rgba(244,242,237,.07);
  display:flex; align-items:center; justify-content:center;
}
.tel-dial-hub::before{
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--gold); box-shadow:0 0 10px 2px rgba(255,194,75,.45);
}
@media (max-width:920px){ .tel-dial-hub{ width:44px; height:44px; margin:-22px 0 0 -22px; } }

/* the mechanical finger-stop — fixed, does not rotate with the ring; marks
   the spot a hole must reach to register as the active page */
.tel-dial-stop{
  position:absolute; width:12px; height:26px; margin-top:-13px; left:-3px; top:50%;
  border-radius:4px; pointer-events:none;
  background:linear-gradient(180deg, var(--ink-dim), var(--ink-faint));
  box-shadow:0 2px 6px rgba(0,0,0,.5), inset 0 1px 0 rgba(244,242,237,.18);
}
@media (max-width:920px){
  .tel-dial-stop{ left:50%; top:-3px; margin-top:0; margin-left:-13px; width:26px; height:12px; }
}

/* jump-cut veil — dial/nav navigation "opens" a section instead of scrolling past
   it. Sits below the dial (z-index 45) so the ring keeps rotating, visible,
   through the transition — only the page content underneath gets covered. */
.page-transition-veil{
  position:fixed; inset:0; z-index:42; background:var(--bg);
  opacity:0; pointer-events:none; transition:opacity .18s ease;
}
.page-transition-veil.show{ opacity:1; transition:opacity .22s ease; }

/* first-visit tutorial — thin dark layer, dial pokes through (z-index 45 > 40) */
.tutorial-overlay{
  position:fixed; inset:0; z-index:40; background:rgba(6,6,8,.6);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .5s var(--ease), visibility 0s linear .5s;
}
.tutorial-overlay.show{
  opacity:1; visibility:visible; pointer-events:auto;
  transition:opacity .5s var(--ease), visibility 0s linear 0s;
}
/* arc + caption are positioned in JS from the dial's live bounding box, so
   they always hug the actual dial regardless of its current size/anchor */
.tutorial-arc-svg{ position:fixed; left:0; top:0; pointer-events:none; overflow:visible; }
.tutorial-arc-path{ fill:none; stroke:var(--gold); stroke-width:2.5; stroke-linecap:round; opacity:.9; }
.tutorial-arc-head{ fill:none; stroke:var(--gold); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.tutorial-caption{
  position:fixed; width:150px; transform:translate(-100%,-50%); text-align:right;
  font-family:var(--mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink); line-height:1.6; pointer-events:none;
}
@media (max-width:920px){
  .tutorial-caption{ width:200px; transform:translate(-50%,-100%); text-align:center; }
}

/* ==========================================================================
   "Start a project" intake modal
   ========================================================================== */
.field{ margin-bottom:24px; }
.field label{ display:block; font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-dim); margin-bottom:10px; }
.field input, .field select{
  width:100%; background:transparent; border:none; border-bottom:1px solid var(--line-strong);
  padding:12px 2px; color:var(--ink); font-size:16px; transition:border-color .3s var(--ease);
}
.field select option{ background:var(--bg-raised); }
.field input:focus, .field select:focus{ border-color:var(--gold); outline:none; }
.field input::placeholder{ color:var(--ink-faint); }

.modal-overlay{
  position:fixed; inset:0; z-index:80; display:flex; align-items:center; justify-content:center;
  padding:var(--pad); background:rgba(6,6,8,.72); backdrop-filter:blur(6px);
  opacity:0; visibility:hidden; transition:opacity .3s var(--ease), visibility 0s linear .3s;
}
.modal-overlay.open{ opacity:1; visibility:visible; transition:opacity .3s var(--ease), visibility 0s linear 0s; }
.modal-card{
  position:relative; width:100%; max-width:460px; max-height:88vh; overflow-y:auto;
  background:linear-gradient(160deg,#151519,#0c0c0f 78%); border:1px solid var(--line-strong);
  border-radius:22px; box-shadow:0 40px 90px -30px rgba(0,0,0,.8);
  transform:translateY(18px) scale(.98); transition:transform .35s cubic-bezier(.34,1.15,.4,1);
}
.modal-overlay.open .modal-card{ transform:translateY(0) scale(1); }
.modal-body{ padding:clamp(30px,4vw,46px); }
.modal-close{
  position:absolute; top:18px; right:18px; width:36px; height:36px; border-radius:50%;
  background:var(--bg-alt); border:1px solid var(--line); color:var(--ink-dim);
  display:flex; align-items:center; justify-content:center; transition:all .3s var(--ease);
}
.modal-close:hover{ border-color:var(--gold); color:var(--gold); }
.modal-close svg{ width:16px; height:16px; }
.modal-title{ font-family:var(--display); text-transform:uppercase; font-size:clamp(26px,3.6vw,36px); line-height:1; margin-top:14px; margin-bottom:28px; }
.modal-body .btn{ width:100%; justify-content:center; margin-top:6px; }
.modal-confirm{ text-align:center; padding-block:20px; }
.modal-confirm-icon{
  width:56px; height:56px; border-radius:50%; background:rgba(255,194,75,.12); color:var(--gold);
  display:flex; align-items:center; justify-content:center; margin:0 auto 22px;
}
.modal-confirm-icon svg{ width:26px; height:26px; }
.modal-confirm-text{ font-size:17px; line-height:1.5; }
.modal-confirm .modal-done{ margin-top:26px; }

.reel-embed-fallback{ display:block; text-align:center; padding:12px; }

/* inline portfolio preview — for editor sites that allow being framed */
.portfolio-modal-card{ max-width:900px; width:92vw; padding:0; background:#000; border-color:var(--line); }
.portfolio-embed-wrap{ height:min(80vh, 700px); }
.portfolio-embed-wrap iframe{ width:100%; height:100%; border:0; display:block; }
