/* ===========================================================================
   VIZIS — 3D Architectural Visualization
   Visual system: near-black canvas, the renders carry the colour.
   Display: Space Grotesk · Body: Inter · Labels: Space Mono
   =========================================================================== */

:root{
  --ink:        #0B0B0C;
  --ink-2:      #131316;
  --surface:    #17171A;
  --paper:      #F4F2ED;
  --muted:      #9C9CA2;
  --faint:      #6B6B70;
  --line:       rgba(244,242,237,.10);
  --line-2:     rgba(244,242,237,.16);
  --amber:      #F0A11E;   /* brand accent — used with restraint */
  --amber-soft: rgba(240,161,30,.14);

  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-body:    "Inter", system-ui, -apple-system, sans-serif;
  --ff-mono:    "Space Mono", ui-monospace, monospace;

  --pad: clamp(20px, 5vw, 96px);
  --maxw: 1320px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; margin:0; padding:0 }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100% }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto } *{ animation:none!important; transition:none!important } }

body{
  background:var(--ink); color:var(--paper);
  font-family:var(--ff-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; height:auto }
a{ color:inherit; text-decoration:none }
::selection{ background:var(--amber); color:#000 }

.wrap{ max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad) }

/* ---- type ---- */
.eyebrow{
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.22em;
  text-transform:uppercase; color:var(--amber);
}
.eyebrow.dim{ color:var(--faint) }
h1,h2,h3{ font-family:var(--ff-display); font-weight:500; line-height:1.04; letter-spacing:-.02em }
.display{ font-size:clamp(2.6rem, 7vw, 6.2rem) }
.h2{ font-size:clamp(2rem, 4.6vw, 3.6rem) }
.lead{ font-size:clamp(1.15rem,2vw,1.5rem); color:var(--muted); line-height:1.5; font-weight:400 }

/* ===== scroll reveal ===== */
[data-reveal]{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease) }
[data-reveal].in{ opacity:1; transform:none }
[data-reveal][data-delay="1"]{ transition-delay:.08s }
[data-reveal][data-delay="2"]{ transition-delay:.16s }
[data-reveal][data-delay="3"]{ transition-delay:.24s }

/* =========================================================================
   NAV
   ========================================================================= */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:60;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px var(--pad);
  transition:background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom:1px solid transparent;
}
.nav.solid{
  background:rgba(11,11,12,.72); backdrop-filter:blur(18px) saturate(140%);
  border-bottom:1px solid var(--line); padding-block:13px;
}
.brand{ font-family:var(--ff-display); font-weight:700; font-size:1.35rem; letter-spacing:.02em; display:flex; align-items:center; gap:2px }
.brand .dot{ color:var(--amber) }
.nav-links{ display:flex; gap:34px; align-items:center }
.nav-links a{ font-size:.83rem; letter-spacing:.04em; color:var(--muted); transition:color .25s }
.nav-links a:hover{ color:var(--paper) }
.btn{
  font-family:var(--ff-body); font-size:.82rem; font-weight:500; letter-spacing:.02em;
  display:inline-flex; align-items:center; gap:.5em; cursor:pointer; border:0;
  padding:.72em 1.3em; border-radius:100px; transition:transform .25s var(--ease), background .25s, color .25s;
}
.btn-primary{ background:var(--paper); color:#0b0b0c }
.btn-primary:hover{ transform:translateY(-2px); background:#fff }
.btn-ghost{ background:transparent; color:var(--paper); border:1px solid var(--line-2) }
.btn-ghost:hover{ border-color:var(--paper) }
.btn-amber{ background:var(--amber); color:#1a1206 }
.btn-amber:hover{ transform:translateY(-2px); filter:brightness(1.06) }
.nav-toggle{ display:none; background:none; border:0; color:var(--paper); cursor:pointer; flex-direction:column; gap:5px; padding:8px }
.nav-toggle span{ width:24px; height:2px; background:var(--paper); transition:.3s }

/* =========================================================================
   HERO
   ========================================================================= */
.hero{ position:relative; min-height:100svh; display:flex; align-items:flex-end; overflow:hidden }
.hero-bg{ position:absolute; inset:0; z-index:0 }
.hero-bg .slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transition:opacity 1.6s var(--ease); transform:scale(1.06); animation:kb 18s linear infinite;
}
.hero-bg .slide.on{ opacity:1 }
@keyframes kb{ from{ transform:scale(1.02) } to{ transform:scale(1.12) } }
.hero::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.15) 38%, rgba(11,11,12,.35) 70%, var(--ink) 100%);
}
.hero-inner{ position:relative; z-index:2; width:100%; padding-bottom:clamp(48px,8vh,110px) }
.hero h1{ max-width:16ch; margin:.5rem 0 1.4rem }
.hero .lead{ max-width:46ch; color:#d9d7d1 }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:2.2rem }
.scrollcue{ position:absolute; left:var(--pad); bottom:26px; z-index:2; font-family:var(--ff-mono); font-size:11px; letter-spacing:.2em; color:var(--muted); display:flex; align-items:center; gap:10px }
.scrollcue .ln{ width:46px; height:1px; background:var(--line-2); position:relative; overflow:hidden }
.scrollcue .ln::after{ content:""; position:absolute; inset:0; width:40%; background:var(--amber); animation:slide 2.4s var(--ease) infinite }
@keyframes slide{ 0%{ transform:translateX(-120%) } 100%{ transform:translateX(280%) } }

/* =========================================================================
   MARQUEE / client strip
   ========================================================================= */
.strip{ border-block:1px solid var(--line); padding-block:26px; overflow:hidden; white-space:nowrap }
.strip .track{ display:inline-flex; gap:64px; animation:marq 32s linear infinite; will-change:transform }
.strip:hover .track{ animation-play-state:paused }
.strip span{ font-family:var(--ff-display); font-size:clamp(1.1rem,2vw,1.5rem); color:var(--faint); letter-spacing:-.01em }
.strip span b{ color:var(--paper); font-weight:500 }
@keyframes marq{ to{ transform:translateX(-50%) } }

/* =========================================================================
   SECTION scaffolding
   ========================================================================= */
section{ position:relative }
.sec{ padding-block:clamp(80px,12vh,150px) }
.sec-head{ display:flex; flex-wrap:wrap; gap:28px 60px; align-items:end; justify-content:space-between; margin-bottom:clamp(40px,6vh,72px) }
.sec-head .t{ max-width:20ch }
.sec-head .d{ max-width:42ch }
.index{ font-family:var(--ff-mono); font-size:12px; color:var(--faint); letter-spacing:.1em; margin-bottom:18px; display:flex; align-items:center; gap:12px }
.index::before{ content:""; width:30px; height:1px; background:var(--amber) }

/* =========================================================================
   COMPARATOR (signature)
   ========================================================================= */
.compare-sec{ background:var(--ink-2) }
.comparator{
  position:relative; aspect-ratio:16/9; border-radius:14px; overflow:hidden; user-select:none;
  cursor:ew-resize; border:1px solid var(--line); touch-action:none; background:#000;
}
.comparator img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none }
.comparator .after{ clip-path:inset(0 0 0 50%) }
.comparator .handle{
  position:absolute; top:0; bottom:0; left:50%; width:2px; background:var(--paper); transform:translateX(-1px); z-index:3;
}
.comparator .knob{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:46px; height:46px; border-radius:50%; background:var(--paper); color:#0b0b0c;
  display:grid; place-items:center; font-size:18px; z-index:4; box-shadow:0 6px 24px rgba(0,0,0,.5);
}
.comparator .tag{
  position:absolute; bottom:16px; z-index:3; font-family:var(--ff-mono); font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; padding:6px 12px; border-radius:100px; background:rgba(11,11,12,.6); backdrop-filter:blur(6px);
}
.comparator .tag.l{ left:16px; color:var(--muted) } .comparator .tag.r{ right:16px; color:var(--amber) }

/* =========================================================================
   WORK / gallery
   ========================================================================= */
.filters{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:34px }
.filters button{
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  background:transparent; color:var(--muted); border:1px solid var(--line); border-radius:100px;
  padding:.6em 1.1em; cursor:pointer; transition:.25s;
}
.filters button:hover{ color:var(--paper); border-color:var(--line-2) }
.filters button.on{ background:var(--paper); color:#0b0b0c; border-color:var(--paper) }
.grid{ columns:3 280px; column-gap:16px }
.tile{
  position:relative; break-inside:avoid; margin-bottom:16px; border-radius:12px; overflow:hidden; cursor:pointer;
  background:var(--surface); border:1px solid var(--line);
}
.tile img{ width:100%; transition:transform .7s var(--ease), filter .5s; filter:saturate(.96) }
.tile:hover img{ transform:scale(1.05); filter:saturate(1.05) }
.tile .meta{
  position:absolute; inset:auto 0 0 0; padding:18px 16px 14px;
  background:linear-gradient(180deg, transparent, rgba(11,11,12,.82));
  font-family:var(--ff-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--paper);
  opacity:0; transform:translateY(8px); transition:.4s var(--ease);
}
.tile:hover .meta{ opacity:1; transform:none }
.tile .meta b{ color:var(--amber); font-weight:400 }
.tile.hide{ display:none }

/* lightbox */
.lb{ position:fixed; inset:0; z-index:90; background:rgba(7,7,8,.96); backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:.35s }
.lb.open{ opacity:1; visibility:visible }
.lb img{ max-width:92vw; max-height:84vh; border-radius:8px; box-shadow:0 30px 80px rgba(0,0,0,.6) }
.lb-close,.lb-nav{ position:absolute; background:rgba(255,255,255,.06); border:1px solid var(--line-2); color:var(--paper);
  width:50px; height:50px; border-radius:50%; cursor:pointer; font-size:20px; display:grid; place-items:center; transition:.25s }
.lb-close:hover,.lb-nav:hover{ background:rgba(255,255,255,.16) }
.lb-close{ top:24px; right:24px } .lb-nav.prev{ left:24px; top:50% } .lb-nav.next{ right:24px; top:50% }
.lb-cap{ position:absolute; bottom:24px; left:0; right:0; text-align:center; font-family:var(--ff-mono); font-size:12px; letter-spacing:.12em; color:var(--muted) }

/* =========================================================================
   SERVICES (editorial list)
   ========================================================================= */
.svc{ border-top:1px solid var(--line) }
.svc-row{
  display:grid; grid-template-columns:60px 1.1fr 1.4fr 150px; gap:28px; align-items:center;
  padding:34px 0; border-bottom:1px solid var(--line); position:relative; transition:padding .4s var(--ease);
}
.svc-row .no{ font-family:var(--ff-mono); font-size:13px; color:var(--faint) }
.svc-row h3{ font-size:clamp(1.5rem,2.6vw,2.1rem) }
.svc-row p{ color:var(--muted); font-size:.96rem }
.svc-row .go{ justify-self:end; font-family:var(--ff-mono); font-size:12px; letter-spacing:.1em; color:var(--faint); transition:.3s }
.svc-row:hover{ padding-left:14px } .svc-row:hover .go{ color:var(--amber) }
.svc-row:hover h3{ color:var(--amber) }

/* =========================================================================
   ANIMATIONS / showreel
   ========================================================================= */
.reel-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px }
.reel{ position:relative; aspect-ratio:16/10; border-radius:12px; overflow:hidden; border:1px solid var(--line); background:var(--surface) }
.reel img{ width:100%; height:100%; object-fit:cover; opacity:.62; transition:.6s var(--ease) }
.reel:hover img{ opacity:.85; transform:scale(1.05) }
.reel .play{ position:absolute; inset:0; display:grid; place-items:center }
.reel .play i{ width:64px; height:64px; border-radius:50%; background:rgba(11,11,12,.5); border:1px solid var(--line-2); backdrop-filter:blur(6px);
  display:grid; place-items:center; transition:.3s }
.reel:hover .play i{ background:var(--amber); border-color:var(--amber) }
.reel .play i::after{ content:""; border-left:16px solid var(--paper); border-block:10px solid transparent; margin-left:4px; transition:.3s }
.reel:hover .play i::after{ border-left-color:#1a1206 }
.reel .cap{ position:absolute; left:16px; bottom:14px; font-family:var(--ff-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase }

/* =========================================================================
   PROCESS (numbered timeline — a real sequence)
   ========================================================================= */
.proc-sec{ background:var(--ink-2) }
.proc{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 70px }
.step{ display:grid; grid-template-columns:64px 1fr; gap:22px; padding:30px 0; border-top:1px solid var(--line) }
.step .n{ font-family:var(--ff-display); font-size:1.5rem; color:var(--amber) }
.step h4{ font-family:var(--ff-display); font-weight:500; font-size:1.2rem; margin-bottom:8px; letter-spacing:-.01em }
.step p{ color:var(--muted); font-size:.92rem }

/* =========================================================================
   STUDIO / about
   ========================================================================= */
.studio{ display:grid; grid-template-columns:1.3fr .9fr; gap:clamp(30px,6vw,90px); align-items:start }
.studio .big{ font-family:var(--ff-display); font-weight:500; font-size:clamp(1.5rem,3vw,2.4rem); line-height:1.18; letter-spacing:-.02em }
.studio .big b{ color:var(--amber); font-weight:500 }
.studio p{ color:var(--muted); margin-top:1.2rem }
.clients{ border-top:1px solid var(--line); margin-top:14px }
.clients li{ list-style:none; padding:14px 0; border-bottom:1px solid var(--line); font-family:var(--ff-mono); font-size:13px; letter-spacing:.06em; color:var(--muted); display:flex; justify-content:space-between }
.clients li span{ color:var(--faint) }
.stat-row{ display:flex; gap:48px; margin-top:42px; flex-wrap:wrap }
.stat .k{ font-family:var(--ff-display); font-size:clamp(2.2rem,4vw,3.2rem); color:var(--paper) }
.stat .l{ font-family:var(--ff-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--faint) }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(34px,6vw,80px) }
.contact .addr p{ color:var(--muted); margin-bottom:20px; line-height:1.7 }
.contact .addr a{ color:var(--paper); border-bottom:1px solid var(--line-2); transition:.25s }
.contact .addr a:hover{ border-color:var(--amber); color:var(--amber) }
.contact .label{ font-family:var(--ff-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); display:block; margin-bottom:6px }
.field{ margin-bottom:18px }
.field input,.field textarea,.field select{
  width:100%; background:var(--ink-2); border:1px solid var(--line); border-radius:10px; color:var(--paper);
  font-family:var(--ff-body); font-size:.96rem; padding:14px 16px; transition:border-color .25s;
}
.field input:focus,.field textarea:focus,.field select:focus{ outline:none; border-color:var(--amber) }
.field textarea{ min-height:130px; resize:vertical }
.field select{ appearance:none; cursor:pointer }
.two{ display:grid; grid-template-columns:1fr 1fr; gap:18px }
.form-note{ font-size:.82rem; color:var(--faint); margin-top:10px }

/* =========================================================================
   FOOTER
   ========================================================================= */
.foot{ border-top:1px solid var(--line); padding-block:56px 40px }
.foot-top{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:30px; align-items:start }
.foot .brand{ font-size:2rem }
.foot-links{ display:flex; gap:48px; flex-wrap:wrap }
.foot-col h5{ font-family:var(--ff-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); margin-bottom:14px; font-weight:400 }
.foot-col a{ display:block; color:var(--muted); font-size:.9rem; padding:5px 0; transition:.25s }
.foot-col a:hover{ color:var(--paper) }
.foot-bot{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; margin-top:46px; padding-top:24px; border-top:1px solid var(--line); font-family:var(--ff-mono); font-size:11px; letter-spacing:.06em; color:var(--faint) }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:1000px){
  .svc-row{ grid-template-columns:46px 1fr; gap:8px 18px }
  .svc-row p{ grid-column:2 } .svc-row .go{ display:none }
  .proc{ grid-template-columns:1fr; gap:0 }
  .studio,.contact{ grid-template-columns:1fr }
  .reel-grid{ grid-template-columns:1fr 1fr }
}
@media (max-width:720px){
  .nav-links{ display:none } .nav-toggle{ display:flex }
  .nav-links.show{ display:flex; position:absolute; top:100%; left:0; right:0; flex-direction:column; gap:0;
    background:rgba(11,11,12,.96); backdrop-filter:blur(18px); border-bottom:1px solid var(--line); padding:8px var(--pad) 18px }
  .nav-links.show a{ padding:13px 0; border-bottom:1px solid var(--line); width:100% }
  .nav-links.show .btn{ margin-top:12px; justify-content:center }
  .grid{ columns:2 150px; column-gap:12px } .tile{ margin-bottom:12px }
  .reel-grid{ grid-template-columns:1fr } .two{ grid-template-columns:1fr }
  .comparator{ aspect-ratio:4/5 }
  .foot-top{ flex-direction:column }
}
@media (max-width:420px){ .grid{ columns:1 } }
