/* ============================================================
   TOKENS
============================================================ */
:root{
  --ink:#0c0c10;
  --ink-soft:#1c1c22;
  --lime:#c6ff4d;
  --lime-dark:#5c8a12;
  --lime-tint:#eef8d6;
  --bg:#f7f6f1;
  --surface:#ffffff;
  --border:#e7e4da;
  --text:#0c0c10;
  --text-2:#5c5a52;
  --text-3:#918f86;
  --radius-sm:11px;
  --radius:18px;
  --radius-lg:28px;
  --shadow-sm:0 10px 24px -14px rgba(12,12,16,.18);
  --shadow-md:0 24px 48px -20px rgba(12,12,16,.28);
  --font-display:'Clash Display', sans-serif;
  --font-body:'Outfit', sans-serif;
  --font-mono:'JetBrains Mono', monospace;
  --surface-blur:rgba(247,246,241,.68);
  --tag-lime-border:rgba(92,138,18,.28);
  --error-bg:#fdeee9;
  --error-text:#a13a1e;
  --error-border:#f3cdbd;
}

/* subtle grain texture — tactile, premium paper feel, not a raster asset */
body::before{
  content:'';
  position:fixed; inset:0; z-index:9000; pointer-events:none;
  opacity:.035; 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");
}
[data-theme="dark"] body::before{opacity:.05;}

/* Dark mode — opt-in via [data-theme="dark"] on <html>, default stays light */
[data-theme="dark"]{
  --bg:#111216;
  --surface:#1a1b20;
  --border:#2a2b31;
  --text:#f2f1ec;
  --text-2:#a8a6a0;
  --text-3:#726f68;
  --lime-tint:rgba(198,255,77,.1);
  --lime-dark:#c6ff4d; /* on dark surfaces the muted olive green is unreadable — use bright lime instead */
  --shadow-sm:0 10px 24px -14px rgba(0,0,0,.55);
  --shadow-md:0 24px 48px -20px rgba(0,0,0,.65);
  --surface-blur:rgba(17,18,22,.62);
  --tag-lime-border:rgba(198,255,77,.28);
  --error-bg:#3a1f18;
  --error-text:#ff9b7a;
  --error-border:#5a2e22;
}
[data-theme="dark"] body{color-scheme:dark;}

/* ============================================================
   RESET / BASE
============================================================ */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:clip; width:100%;}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:clip; width:100%; max-width:100vw;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none; margin:0; padding:0;}
button{font-family:inherit; cursor:pointer;}
h1,h2,h3,h4{font-family:var(--font-display); font-weight:600; letter-spacing:-0.02em; margin:0;}
p{margin:0;}
.container{max-width:1220px; margin:0 auto; padding:0 32px;}
@media (max-width:640px){ .container{padding:0 20px;} }

/* Utility: use instead of the native [hidden] attribute when the element also
   carries display:flex/grid rules — author CSS otherwise silently wins over
   the browser's built-in [hidden]{display:none} regardless of specificity. */
.is-hidden{display:none !important;}

/* ============================================================
   AOS-LITE — custom scroll animations, no external library.
   Legacy .reveal / .reveal-left / .reveal-right still work.
   Preferred going forward: data-aos="fade-up|fade-down|fade-left|fade-right|zoom-in"
   Optional: data-aos-delay="150" (ms), style="--aos-duration:800ms"
============================================================ */
.reveal, .reveal-left, .reveal-right, [data-aos]{
  opacity:0;
  transition:opacity var(--aos-duration,.6s) ease, transform var(--aos-duration,.6s) ease;
  transition-delay:var(--aos-delay,0ms);
}
.reveal, [data-aos="fade-up"]{transform:translateY(22px);}
[data-aos="fade-down"]{transform:translateY(-22px);}
.reveal-left, [data-aos="fade-left"]{transform:translateX(-26px);}
.reveal-right, [data-aos="fade-right"]{transform:translateX(26px);}
[data-aos="zoom-in"]{transform:scale(.92);}

.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible,
[data-aos].is-visible{opacity:1; transform:none;}

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-left, .reveal-right, [data-aos]{transition:none; opacity:1; transform:none;}
}

/* ============================================================
   TAGS / PILLS / BUTTONS
============================================================ */
.tag{display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:500; padding:6px 14px; border-radius:99px;}
.tag i{font-size:8px;}
.tag--lime{color:var(--lime-dark); background:var(--lime-tint); border:1px solid var(--tag-lime-border);}
.tag--dark{color:var(--lime); background:rgba(198,255,77,.12); border:1px solid rgba(198,255,77,.28);}
.section-tag{display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:500; color:var(--lime-dark); background:var(--lime-tint); border:1px solid var(--tag-lime-border); padding:6px 14px; border-radius:99px;}
[data-theme="dark"] .tag--lime, [data-theme="dark"] .section-tag{color:var(--lime);}

.pill{font-size:12.5px; font-weight:500; color:var(--text-2); background:var(--surface); border:1px solid var(--border); padding:7px 13px; border-radius:99px;}

.btn{display:inline-flex; align-items:center; gap:10px; font-size:15px; font-weight:500; padding:14px 24px; border-radius:var(--radius-sm); border:1.5px solid transparent; transition:transform .15s, box-shadow .15s, background .15s;}
.btn:active{transform:scale(.98);}
.btn--primary{background:var(--ink); color:var(--lime); border-color:rgba(255,255,255,.06);}
.btn--primary:hover{box-shadow:var(--shadow-sm); transform:translateY(-2px);}
.btn--ghost{background:var(--surface); color:var(--text); border-color:var(--border);}
.btn--ghost:hover{border-color:var(--text);}
.btn--ghost-dark{background:transparent; color:#fff; border-color:rgba(255,255,255,.28);}
.btn--ghost-dark:hover{border-color:#fff;}
.btn--lg{padding:16px 28px; font-size:15.5px;}
.btn--block{width:100%; justify-content:center;}

/* ============================================================
   SITE LOADER
============================================================ */
.site-loader{position:fixed; inset:0; z-index:999; background:var(--ink); display:flex; align-items:center; justify-content:center; transition:opacity .5s ease, visibility .5s ease;}
html:not([data-loading]) .site-loader{opacity:0; visibility:hidden;}
.site-loader__bg{position:absolute; inset:0; background:radial-gradient(circle at 50% 40%, rgba(198,255,77,.14), transparent 60%);}
.site-loader__card{position:relative; text-align:center; color:#fff;}
.site-loader__orb{width:64px; height:64px; margin:0 auto 20px; border-radius:50%; background:var(--lime); opacity:.9; animation:pulse 1.4s ease-in-out infinite;}
@keyframes pulse{0%,100%{transform:scale(1); opacity:.9;} 50%{transform:scale(.75); opacity:.5;}}
.site-loader__brand{font-family:var(--font-display); font-size:20px; font-weight:600; margin-bottom:6px;}
.site-loader__brand small{display:block; font-size:12px; font-weight:400; color:rgba(255,255,255,.5); font-family:var(--font-body);}
.site-loader__tech{display:flex; align-items:center; justify-content:center; gap:10px; margin:18px 0 14px; color:rgba(255,255,255,.6); font-size:13px;}
.site-loader__bar{width:160px; height:3px; background:rgba(255,255,255,.12); border-radius:99px; overflow:hidden; margin:0 auto;}
.site-loader__bar span{display:block; width:40%; height:100%; background:var(--lime); animation:loaderbar 1.2s ease-in-out infinite;}
@keyframes loaderbar{0%{transform:translateX(-100%);} 100%{transform:translateX(350%);}}

/* ============================================================
   CURSOR (subtle, optional)
============================================================ */
#js-cursor{position:fixed; top:0; left:0; z-index:998; pointer-events:none; display:none;}
@media (hover:hover) and (pointer:fine){
  #js-cursor{display:block;}
  .cursor__dot{position:fixed; width:6px; height:6px; border-radius:50%; background:var(--ink); transform:translate(-50%,-50%);}
  .cursor__ring{position:fixed; width:32px; height:32px; border-radius:50%; border:1.5px solid var(--lime-dark); opacity:.5; transform:translate(-50%,-50%); transition:width .15s, height .15s;}
}

/* ============================================================
   HEADER — minimal bar, all nav lives in the full-screen overlay
============================================================ */
header.site-header{
  position:sticky; top:0; z-index:70; background:var(--surface-blur);
  backdrop-filter:blur(18px) saturate(180%); -webkit-backdrop-filter:blur(18px) saturate(180%);
  border-bottom:1px solid var(--border); box-shadow:0 1px 0 rgba(255,255,255,.5) inset, 0 8px 24px -18px rgba(12,12,16,.25);
}
[data-theme="dark"] header.site-header{box-shadow:0 1px 0 rgba(255,255,255,.06) inset, 0 8px 24px -18px rgba(0,0,0,.5);}
.header__inner{display:flex; align-items:center; justify-content:space-between; height:76px;}
.brand{font-family:var(--font-display); font-size:19px; font-weight:600; display:flex; align-items:center;}
.brand__letter{display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; background:var(--ink); color:var(--lime); border-radius:9px; font-size:15px; margin-right:9px;}
.brand__dot{color:var(--lime-dark);}

/* Right side is always two clearly separated groups, same order everywhere:
   [ utility: language · theme ]   [ actions: hire us · menu ] */
.header__right{display:flex; align-items:center; gap:22px;}
.header__utility{display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--border); border-radius:99px; padding:5px;}
.header__divider{width:1px; height:18px; background:var(--border);}
.header__utility .lang-dd__toggle{border:none; background:none; padding:6px 10px;}
.header__utility .theme-toggle{border:none; background:none;}
.header__actions{display:flex; align-items:center; gap:10px;}

.btn--sm{padding:10px 18px; font-size:13.5px;}
.nav-cta{display:inline-flex;}
@media (max-width:640px){
  .nav-cta{display:none;}
  .header__utility .lang-dd, .header__divider{display:none;}
}

.mob-toggle{
  display:flex; align-items:center; gap:10px; background:var(--ink); border:1px solid var(--ink);
  border-radius:99px; padding:8px 8px 8px 16px; transition:transform .15s;
}
.mob-toggle:hover{transform:translateY(-1px);}
.mob-toggle__label{font-size:13px; font-weight:500; font-family:var(--font-mono); color:var(--lime);}
.mob-toggle__bars{display:flex; flex-direction:column; gap:4px; width:32px; height:32px; align-items:center; justify-content:center; background:rgba(255,255,255,.1); border-radius:50%; flex-shrink:0;}
.mob-toggle__bars span{width:12px; height:1.5px; background:var(--lime); border-radius:2px;}

/* theme toggle */
.theme-toggle{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--border); background:var(--surface);
  color:var(--text-2); display:flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0;
  transition:border-color .15s, color .15s;
}
.theme-toggle:hover{color:var(--ink);}
.theme-toggle__icon--light{display:none;}
[data-theme="dark"] .theme-toggle__icon--dark{display:none;}
[data-theme="dark"] .theme-toggle__icon--light{display:block;}
.theme-toggle--mob{
  width:auto; height:auto; border-radius:99px; padding:10px 18px; gap:10px; display:inline-flex;
  align-items:center; font-size:13.5px; color:var(--text-2); background:var(--surface); border-color:var(--border);
}
.theme-toggle--mob:hover{color:var(--ink); border-color:var(--ink);}

/* language dropdown */
.lang-dd{position:relative;}
.lang-dd__toggle{
  display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--border);
  border-radius:99px; padding:8px 14px; font-size:13px; font-weight:500; color:var(--text); transition:border-color .15s;
}
.lang-dd__toggle:hover{border-color:var(--ink);}
.lang-dd__toggle i{font-size:9px; color:var(--text-3); transition:transform .18s;}
.lang-dd.is-open .lang-dd__toggle i{transform:rotate(180deg);}
.lang-dd__flag{font-size:15px; line-height:1;}
.lang-dd__menu{
  position:absolute; top:calc(100% + 12px); right:0; min-width:150px; background:var(--surface);
  border:1px solid var(--border); border-radius:14px; padding:6px; box-shadow:var(--shadow-md);
  opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .15s, transform .15s, visibility .15s; z-index:50;
}
.lang-dd.is-open .lang-dd__menu{opacity:1; visibility:visible; transform:none;}
.lang-dd__item{display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:500; color:var(--text-2); padding:9px 12px; border-radius:9px; transition:background .12s, color .12s;}
.lang-dd__item:hover{background:var(--bg); color:var(--ink);}
.lang-dd__item.is-active{color:var(--lime-dark); background:var(--lime-tint);}

/* ============================================================
   NAV SIDEBAR — slides in from the right, same easing as before,
   just a panel instead of a full-screen takeover
============================================================ */
/* ============================================================
   FULL-SCREEN NAV OVERLAY — numbered index, all breakpoints
============================================================ */
.nav-overlay{
  position:fixed; inset:0; z-index:90; background:var(--ink); color:#fff;
  clip-path:circle(2% at calc(100% - 46px) 40px); transition:clip-path .55s cubic-bezier(.65,0,.35,1);
  visibility:hidden; display:flex; flex-direction:column;
}
.nav-overlay.is-open{clip-path:circle(150% at calc(100% - 46px) 40px); visibility:visible;}
.nav-overlay__inner{display:flex; flex-direction:column; height:100%; padding-top:28px; padding-bottom:36px;}
.nav-overlay__top{display:flex; align-items:center; justify-content:space-between;}
.brand--overlay{color:#fff;}
.brand--overlay .brand__letter{background:var(--lime); color:var(--ink);}
.nav-overlay__close{width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.2); background:none; color:#fff; font-size:16px;}
.nav-overlay__close:hover{background:rgba(255,255,255,.08);}

.nav-overlay__links{display:flex; flex-direction:column; justify-content:center; flex:1; gap:2px; padding:20px 0;}
.nav-overlay__link{
  display:flex; align-items:center; gap:26px; padding:16px 4px; border-top:1px solid rgba(255,255,255,.1);
  font-family:var(--font-display); font-size:clamp(32px,6vw,68px); font-weight:600; color:rgba(255,255,255,.5);
  transition:color .2s, padding-left .2s;
}
.nav-overlay__links a:last-child{border-bottom:1px solid rgba(255,255,255,.1);}
.nav-overlay__link:hover, .nav-overlay__link.is-active{color:#fff; padding-left:18px;}
.nav-overlay__link.is-active{color:var(--lime);}
.nav-overlay__num{font-family:var(--font-mono); font-size:14px; color:var(--lime); width:34px; flex-shrink:0;}
.nav-overlay__link i{margin-left:auto; font-size:20px; opacity:0; transform:translateX(-10px); transition:.2s;}
.nav-overlay__link:hover i{opacity:1; transform:none;}

.nav-overlay__foot{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1);}
.nav-overlay__foot-col{display:flex; flex-direction:column; align-items:flex-start; gap:4px;}
.nav-overlay__foot-col a{font-size:14px; color:rgba(255,255,255,.8);}
.nav-overlay__foot-col a:hover{color:var(--lime);}
.nav-overlay__utility{display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.nav-overlay .kicker{color:rgba(255,255,255,.45);}
.nav-overlay .kicker::before{background:var(--lime);}
.nav-overlay .mob-menu__lang-link{font-size:13px; color:rgba(255,255,255,.7); display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border:1px solid rgba(255,255,255,.14); border-radius:99px;}
.nav-overlay .mob-menu__lang-link.is-active{color:var(--lime); border-color:rgba(198,255,77,.4);}

@media (max-width:640px){
  .nav-overlay__foot{grid-template-columns:1fr;}
  .nav-overlay__link{gap:16px;}
}

/* ============================================================
   AVAILABILITY BADGE
============================================================ */
.avail-badge{display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:500; color:var(--lime-dark); background:var(--lime-tint); border:1px solid var(--tag-lime-border); padding:7px 13px; border-radius:99px;}
.avail-badge__dot{width:7px; height:7px; border-radius:50%; background:var(--lime-dark); animation:pulse 1.6s ease-in-out infinite;}
.avail-badge--card{margin-top:26px;}

/* ============================================================
   HOME — HERO (photo-based, no full-bleed panel)
============================================================ */
/* ============================================================
   HOME — HERO V2 (typographic, no photo dependency)
============================================================ */
.hero-v2{padding:64px 0 0;}
.hero-v2__top{display:flex; align-items:center; gap:16px; margin-bottom:28px;}
.hero-v2__top .avail-badge{margin-left:auto;}
.display-huge{
  font-size:clamp(42px,8vw,108px); line-height:.98; letter-spacing:-0.035em; margin:0 0 40px;
  max-width:1100px;
}
.display-huge .word{display:inline-block; opacity:0; transform:translateY(60%); animation:word-in .8s cubic-bezier(.2,.8,.2,1) forwards;}
.display-huge em{font-style:normal; color:var(--lime-dark); background:none;}
[data-theme="dark"] .display-huge em{color:var(--lime);}
@keyframes word-in{to{opacity:1; transform:translateY(0);}}
@media (prefers-reduced-motion: reduce){ .display-huge .word{animation:none; opacity:1; transform:none;} }

.hero-v2__row{display:grid; grid-template-columns:1fr auto; gap:40px; align-items:end; padding-bottom:44px; border-bottom:1px solid var(--border);}
.hero-v2__desc{font-size:17px; line-height:1.65; color:var(--text-2); max-width:480px;}
.hero-v2__desc strong{color:var(--text); font-weight:600;}
.hero-v2__actions{display:flex; gap:14px; flex-wrap:wrap;}
@media (max-width:900px){
  .hero-v2__row{grid-template-columns:1fr;}
}

/* ============================================================
   TEXT MARQUEE BAND — big bold graphic divider
============================================================ */
.marquee-text{background:var(--ink); overflow:hidden; padding:22px 0; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08);}
.marquee-text__track{display:flex; width:max-content; will-change:transform;}
.marquee-text__item{
  font-family:var(--font-display); font-size:clamp(24px,3.4vw,40px); font-weight:600; color:rgba(255,255,255,.9);
  white-space:nowrap; padding:0 28px; display:flex; align-items:center; gap:28px;
}
.marquee-text__item i{color:var(--lime); font-size:.5em;}

/* ============================================================
   SECTION HEADER (shared)
============================================================ */
.section{padding:90px 0;}
.kicker{
  font-family:var(--font-mono); font-size:12px; font-weight:500; letter-spacing:.06em; text-transform:uppercase;
  color:var(--text-2); display:flex; align-items:center; gap:10px; margin-bottom:18px;
}
.kicker::before{content:''; width:22px; height:1px; background:var(--lime-dark);}
.section-num{
  display:flex; align-items:baseline; gap:16px; margin-bottom:16px; font-family:var(--font-mono);
  font-size:13px; color:var(--text-3); letter-spacing:.04em;
}
.section-num span{color:var(--lime-dark); font-weight:500;}
.section-header{max-width:640px; margin-bottom:44px;}
.section-header h2{font-size:clamp(30px,3.6vw,46px); margin:0 0 14px; line-height:1.1; letter-spacing:-0.02em;}
.section-header p, .section-sub{color:var(--text-2); font-size:15.5px; line-height:1.6; margin:0;}
.section-title{font-size:clamp(28px,3vw,38px); margin:16px 0 14px; line-height:1.15;}
.section-cta{margin-top:40px; text-align:center;}

/* ============================================================
   INDEX LIST — numbered rows (services)
============================================================ */
.index-list{border-top:1px solid var(--border);}
.index-row{
  display:grid; grid-template-columns:60px minmax(0,1fr) auto; align-items:center; gap:28px;
  padding:28px 4px; border-bottom:1px solid var(--border); transition:padding-left .2s, background .2s;
  width:100%; background:none; border-left:none; border-right:none; border-top:none; font:inherit; color:inherit;
  text-align:left; cursor:pointer;
}
.index-row:hover{padding-left:14px; background:var(--surface);}
.index-row__num{font-family:var(--font-mono); font-size:13px; color:var(--lime-dark);}
.index-row__main h3{font-size:clamp(19px,2vw,25px); font-weight:600; font-family:var(--font-body); margin-bottom:6px;}
.index-row__main p{font-size:14px; color:var(--text-2); max-width:520px; line-height:1.55;}
.index-row__icon{width:50px; height:50px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--text-2); transition:.2s;}
.index-row:hover .index-row__icon{background:var(--ink); color:var(--lime); border-color:var(--ink); transform:rotate(-45deg);}
@media (max-width:700px){
  .index-row{grid-template-columns:40px minmax(0,1fr); gap:14px;}
  .index-row__icon{display:none;}
}

/* ============================================================
   LEDGER — full-bleed stats band
============================================================ */
.ledger{background:var(--ink); border-radius:var(--radius-lg); display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden;}
.ledger__cell{padding:44px 32px; border-left:1px solid rgba(255,255,255,.1);}
.ledger__cell:first-child{border-left:none;}
.ledger__val{display:block; font-family:var(--font-mono); font-size:clamp(30px,3.6vw,46px); font-weight:500; color:var(--lime); letter-spacing:-0.02em;}
.ledger__lbl{display:block; font-size:12.5px; color:rgba(255,255,255,.55); margin-top:8px; text-transform:uppercase; letter-spacing:.04em;}
@media (max-width:900px){
  .ledger{grid-template-columns:repeat(2,1fr);}
  .ledger__cell:nth-child(2n+1){border-left:none;}
  .ledger__cell:nth-child(n+3){border-top:1px solid rgba(255,255,255,.1);}
}

/* ============================================================
   WORK LIST — index-style featured projects
============================================================ */
.work-list{border-top:1px solid var(--border);}
.work-row{
  display:grid; grid-template-columns:50px minmax(0,1fr) auto auto auto; align-items:center; gap:24px;
  padding:26px 4px; border-bottom:1px solid var(--border); border-left:3px solid transparent;
  transition:padding-left .2s, border-color .2s, background .2s; width:100%; background:none; text-align:left;
}
.work-row:hover{padding-left:18px; border-left-color:var(--accent, var(--lime)); background:var(--surface);}
.work-row__num{font-family:var(--font-mono); font-size:13px; color:var(--text-3);}
.work-row__title{font-family:var(--font-display); font-size:clamp(20px,2.2vw,28px); font-weight:600; min-width:0;}
.work-row__cat{font-family:var(--font-mono); font-size:11.5px; color:var(--lime-dark); text-transform:uppercase; letter-spacing:.04em; white-space:nowrap;}
.work-row__tags{display:flex; gap:6px; min-width:0;}
.work-row__tags span{font-size:11px; font-family:var(--font-mono); color:var(--text-2); background:var(--bg); border:1px solid var(--border); padding:4px 9px; border-radius:99px; white-space:nowrap;}
.work-row__arrow{color:var(--text-3); font-size:16px; transition:transform .2s, color .2s;}
.work-row:hover .work-row__arrow{color:var(--ink); transform:translate(3px,-3px);}
@media (max-width:900px){
  .work-row{grid-template-columns:36px minmax(0,1fr); row-gap:10px;}
  .work-row__cat, .work-row__tags, .work-row__arrow{grid-column:2; min-width:0;}
  .work-row__cat{white-space:normal;}
  .work-row__tags{display:none;}
}

/* ============================================================
   SERVICES
============================================================ */
.services__grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.service-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px 22px; transition:transform .18s, box-shadow .18s, background .18s;}
.service-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-sm); background:var(--ink);}
.service-card:hover h3{color:#fff;}
.service-card:hover p{color:rgba(255,255,255,.6);}
.service-card:hover .service-card__icon{background:var(--lime); color:var(--ink);}
.service-card__icon{width:44px; height:44px; border-radius:11px; background:var(--lime-tint); color:var(--lime-dark); display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:18px; transition:.18s;}
.service-card h3{font-size:16px; font-weight:600; font-family:var(--font-body); margin-bottom:8px;}
.service-card p{font-size:13.5px; color:var(--text-2); line-height:1.55;}
@media (max-width:900px){ .services__grid{grid-template-columns:repeat(2,1fr);} }

/* ============================================================
   STATS BAND (lime filled)
============================================================ */
.stats-band{background:var(--lime); border-radius:var(--radius-lg); padding:48px 56px; display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.stat .stat__val, .stat__val{display:block; font-family:var(--font-mono); font-size:38px; font-weight:500; color:var(--ink); letter-spacing:-0.02em;}
.stat .stat__lbl, .stat__lbl{display:block; font-size:13px; color:#3c5107; margin-top:6px; font-weight:500; text-transform:uppercase; letter-spacing:.03em;}
@media (max-width:900px){ .stats-band{grid-template-columns:repeat(2,1fr);} }

/* ============================================================
   FEATURED PROJECTS — bento grid
============================================================ */
.proj-head{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:30px; gap:20px; flex-wrap:wrap;}
.bento{display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:minmax(200px,auto); gap:18px;}
.bento .proj-card-c:first-child{grid-column:span 2; grid-row:span 2;}
.proj-card-c{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:26px;
  display:flex; flex-direction:column; gap:14px; transition:transform .2s, box-shadow .2s, border-color .2s;
}
.proj-card-c:hover{transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--lime-dark);}
.bento .proj-card-c:first-child{padding:34px; justify-content:flex-end;}
.bento .proj-card-c:first-child h3{font-size:26px;}
.bento .proj-card-c:first-child p{font-size:14.5px; max-width:420px;}
.proj-card-c__top{display:flex; align-items:center; justify-content:space-between;}
.proj-card-c__icon{width:44px; height:44px; border-radius:11px; background:var(--ink); color:var(--lime); display:flex; align-items:center; justify-content:center; font-size:17px;}
.proj-card-c__cat{font-family:var(--font-mono); font-size:11px; font-weight:500; color:var(--lime-dark); text-transform:uppercase; letter-spacing:.05em;}
.proj-card-c__body h3{font-size:17px; font-weight:600; font-family:var(--font-body); margin-bottom:8px;}
.proj-card-c__body p{font-size:13.5px; color:var(--text-2); line-height:1.55; margin-bottom:14px;}
.proj-card-c__tags{display:flex; flex-wrap:wrap; gap:7px; margin-bottom:14px;}
.proj-card-c__tags span{font-family:var(--font-mono); font-size:10.5px; background:var(--bg); border:1px solid var(--border); padding:5px 10px; border-radius:99px; color:var(--text-2);}
.proj-card-c__link{font-size:13.5px; font-weight:600; display:inline-flex; align-items:center; gap:7px; background:none; border:none; padding:0; color:var(--ink);}
.proj-card-c__link i{font-size:11px; color:var(--lime-dark);}
@media (max-width:900px){
  .bento{grid-template-columns:1fr;}
  .bento .proj-card-c:first-child{grid-column:auto; grid-row:auto;}
}

/* ============================================================
   SKILLS BAND (dark) — a scattered chip grid, not fake mastery %
============================================================ */
.skills-band{background:var(--ink); border-radius:var(--radius-lg); padding:60px; color:#fff; display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.skills-band h2{color:#fff;}
.skills-band p{color:rgba(255,255,255,.6); margin-top:14px;}
.tech-grid{display:flex; flex-wrap:wrap; gap:12px; align-content:center;}
.tech-chip{
  display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14); color:rgba(255,255,255,.92); padding:12px 18px;
  border-radius:14px; font-size:14px; font-weight:500; transform:rotate(var(--r, 0deg));
  transition:transform .2s ease, background .2s, border-color .2s, color .2s;
}
.tech-chip i{color:var(--lime); font-size:16px;}
.tech-chip:hover{transform:rotate(0deg) scale(1.06); background:var(--lime); color:var(--ink); border-color:var(--lime);}
.tech-chip:hover i{color:var(--ink);}
@media (max-width:900px){
  .skills-band{grid-template-columns:1fr; padding:40px 28px;}
}

/* ============================================================
   CTA STRIP (dark filled, all pages)
============================================================ */
.cta-strip{background:var(--ink); border-radius:var(--radius-lg); padding:70px 60px; text-align:center; position:relative; overflow:hidden;}
.cta-strip::before{content:''; position:absolute; bottom:-100px; right:-60px; width:300px; height:300px; background:var(--lime); opacity:.16; filter:blur(90px); border-radius:50%;}
.cta-strip h2{font-size:clamp(28px,3.4vw,42px); color:#fff; margin:14px 0 12px; position:relative;}
.cta-strip p{color:rgba(255,255,255,.6); max-width:520px; margin:0 auto 30px; font-size:15.5px; position:relative;}
.cta-strip__actions, .cta-strip-actions{display:flex; gap:14px; justify-content:center; position:relative; flex-wrap:wrap;}
.cta-strip__inner{background:var(--ink); border-radius:var(--radius-lg); padding:70px 60px; text-align:center; position:relative; overflow:hidden;}
.cta-strip__bg{position:absolute; bottom:-100px; right:-60px; width:300px; height:300px; background:var(--lime); opacity:.16; filter:blur(90px); border-radius:50%;}
.cta-strip__content{position:relative;}
.cta-strip__content h2{color:#fff;}
.cta-strip__heading{font-size:clamp(28px,3.4vw,42px); color:#fff; margin:14px 0 12px;}
.cta-strip__sub{color:rgba(255,255,255,.6); max-width:520px; margin:0 auto 30px; font-size:15.5px;}

/* ============================================================
   PAGE HERO V2 (projects / about / contact) — typographic
============================================================ */
.page-hero-v2{padding:56px 0 48px; border-bottom:1px solid var(--border);}
.page-hero-v2__top{margin-bottom:20px;}
.display-huge--md{font-size:clamp(34px,6vw,72px); margin-bottom:24px;}
.page-hero-v2__sub{font-size:16px; color:var(--text-2); max-width:600px; line-height:1.65;}

/* legacy page-hero (about/contact still use this — kept for compatibility) */
.page-hero{padding:56px 0 48px; position:relative; overflow:hidden; border-bottom:1px solid var(--border);}
.page-hero__bg{position:absolute; inset:0; z-index:0; pointer-events:none;}
.blob{position:absolute; border-radius:50%; filter:blur(70px); opacity:.3;}
.blob--lg{width:420px; height:420px;}
.blob--teal{background:#7cc6ff; top:-160px; right:-100px;}
.blob--purple{background:#c39bff; top:-160px; right:-100px;}
.blob--lime{background:var(--lime); top:-160px; right:-100px;}
.page-hero .container{position:relative; z-index:1;}
.page-hero__title{font-size:clamp(32px,4.2vw,50px); line-height:1.05; margin:18px 0 16px; letter-spacing:-0.02em;}
.page-hero__sub{font-size:15.5px; color:var(--text-2); max-width:560px; line-height:1.6;}

/* ============================================================
   PROJECTS LISTING PAGE
============================================================ */
.projects-section{padding:56px 0 100px;}
.filter-bar{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px;}
.filter-btn{font-family:var(--font-mono); background:var(--surface); border:1px solid var(--border); color:var(--text-2); font-size:12.5px; font-weight:500; padding:10px 16px; border-radius:99px; display:inline-flex; align-items:center; gap:8px; transition:.15s;}
.filter-btn:hover{border-color:var(--ink);}
.filter-btn--active{background:var(--ink); color:var(--lime); border-color:var(--ink);}
.filter-btn__count{font-size:11px; opacity:.7;}
.projects-count{font-family:var(--font-mono); font-size:13px; color:var(--text-3); margin-bottom:32px;}
.projects-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:28px;}
.proj-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:36px; display:flex; flex-direction:column; gap:18px; position:relative; overflow:hidden;
  transition:transform .22s, box-shadow .22s, border-color .22s;
}
.proj-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:var(--accent, var(--lime)); transform:scaleX(0); transform-origin:left; transition:transform .3s ease;
}
.proj-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent;}
.proj-card:hover::before{transform:scaleX(1);}
.proj-card.is-hidden{display:none;}
.proj-card__head{display:flex; align-items:center; justify-content:space-between;}
.proj-card__num{font-family:var(--font-mono); font-size:12.5px; color:var(--text-3); letter-spacing:.04em;}
.proj-card__icon{width:52px; height:52px; border-radius:14px; background:var(--ink); color:var(--lime); display:flex; align-items:center; justify-content:center; font-size:19px;}
.proj-card__ext{width:38px; height:38px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:13px; color:var(--text-2); transition:.15s; flex-shrink:0;}
.proj-card__ext:hover{background:var(--ink); color:var(--lime); border-color:var(--ink);}
.proj-card__cat{font-family:var(--font-mono); font-size:11.5px; font-weight:500; color:var(--lime-dark); text-transform:uppercase; letter-spacing:.05em;}
.proj-card__title{font-size:22px; font-weight:600; font-family:var(--font-body); margin:10px 0 12px; line-height:1.25;}
.proj-card__desc{font-size:14.5px; color:var(--text-2); line-height:1.65;}
.proj-card__highlights{display:flex; flex-direction:column; gap:8px; margin-top:2px;}
.proj-card__highlights li{display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--text-2); line-height:1.5;}
.proj-card__highlights i{color:var(--lime-dark); font-size:10px; margin-top:5px; flex-shrink:0;}
.proj-card__foot{margin-top:auto; padding-top:16px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:16px;}
.proj-card__tags{display:flex; flex-wrap:wrap; gap:8px;}
.proj-card__tags span{font-family:var(--font-mono); font-size:11px; background:var(--bg); border:1px solid var(--border); padding:6px 12px; border-radius:99px; color:var(--text-2);}
.proj-card__action{width:100%; justify-content:center; display:flex; align-items:center; gap:9px; background:var(--ink); color:var(--lime); font-size:13.5px; font-weight:500; padding:13px; border-radius:11px; transition:transform .15s;}
.proj-card__action:hover{transform:translateY(-2px);}
.projects-empty{text-align:center; padding:60px 20px; color:var(--text-2);}
.projects-empty.is-hidden{display:none;}
.projects-empty span{font-size:28px; color:var(--text-3); display:block; margin-bottom:12px;}
@media (max-width:900px){ .projects-grid{grid-template-columns:1fr;} }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-section{padding-bottom:20px;}
.about-layout{display:grid; grid-template-columns:.85fr 1.15fr; gap:56px;}
.about-bio{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px 34px;}
.about-avatar{position:relative; width:76px; height:76px; margin-bottom:22px;}
.about-avatar__inner{width:100%; height:100%; border-radius:20px; background:var(--ink); color:var(--lime); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:30px; font-weight:600;}
.about-bio__name{font-size:24px; font-weight:600; font-family:var(--font-display); margin-bottom:4px;}
.about-bio__role{font-size:13.5px; color:var(--lime-dark); font-weight:500; margin-bottom:20px;}
.about-bio__text{font-size:14.5px; color:var(--text-2); line-height:1.7; margin-bottom:14px;}
.about-bio__actions{display:flex; gap:12px; margin-top:24px; flex-wrap:wrap;}
.about-details{display:flex; flex-direction:column; gap:0;}
.about-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px 26px;}
.about-card__title{font-size:16px; font-weight:600; font-family:var(--font-body); margin-bottom:18px;}
.about-info-list__item{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:10px 0; border-top:1px solid var(--border); font-size:13.5px;}
.about-info-list__item:first-child{border-top:none; padding-top:0;}
.about-info-list__item dt{color:var(--text-2); display:flex; align-items:center; gap:8px;}
.about-info-list__item dt i{color:var(--lime-dark); width:14px;}
.about-info-list__item dd{margin:0; font-weight:500; text-align:right;}
.what-i-build li{display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-2); padding:9px 0; border-top:1px solid var(--border);}
.what-i-build li:first-child{border-top:none;}
.what-i-build i{color:var(--lime-dark); width:16px;}
.about-skills-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.skill-bar{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:16px 18px;}
.skill-bar__name{font-size:13.5px; font-weight:500; display:flex; align-items:center;}
.skill-bar__name i{color:var(--lime-dark);}
@media (max-width:980px){
  .about-layout{grid-template-columns:1fr;}
  .about-details{margin-top:24px;}
  .about-skills-grid{grid-template-columns:repeat(2,1fr);}
}

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-section{padding-top:20px;}
.contact-layout{display:grid; grid-template-columns:.85fr 1.15fr; gap:32px; align-items:start;}
.contact-card{background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:40px 34px;}
.contact-card h2{color:#fff; font-size:22px; margin-bottom:14px;}
.contact-card > p{color:rgba(255,255,255,.6); font-size:14.5px; line-height:1.65; margin-bottom:26px;}
.contact-info-list{display:flex; flex-direction:column; gap:0;}
.contact-info-list__item{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid rgba(255,255,255,.1); font-size:13.5px;}
.contact-info-list__item:first-child{border-top:none; padding-top:0;}
.contact-info-list__item dt{color:rgba(255,255,255,.55); display:flex; align-items:center; gap:8px;}
.contact-info-list__item dt i{color:var(--lime);}
.contact-info-list__item dd{margin:0; font-weight:500; text-align:right;}
.contact-info-list__item dd a{color:var(--lime);}

.contact-form-wrap{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px;}
.contact-form{display:flex; flex-direction:column; gap:18px;}
.form-row{display:flex; flex-direction:column; gap:8px;}
.form-row label{font-size:13px; font-weight:500; color:var(--text-2);}
.form-row input, .form-row textarea{
  border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:13px 15px; font-family:var(--font-body);
  font-size:14.5px; background:var(--bg); color:var(--ink); resize:vertical; transition:border-color .15s;
}
.form-row input:focus, .form-row textarea:focus{outline:none; border-color:var(--ink);}
.form-error{display:flex; align-items:center; gap:10px; background:var(--error-bg); color:var(--error-text); border:1px solid var(--error-border); padding:12px 16px; border-radius:var(--radius-sm); font-size:13.5px;}
.form-success{text-align:center; padding:30px 10px;}
.form-success__icon{width:54px; height:54px; border-radius:50%; background:var(--lime); color:var(--ink); display:flex; align-items:center; justify-content:center; font-size:20px; margin:0 auto 18px;}
.form-success h3{font-size:19px; margin-bottom:8px;}
.form-success p{color:var(--text-2); font-size:14.5px; margin-bottom:22px;}
@media (max-width:900px){ .contact-layout{grid-template-columns:1fr;} }

/* ============================================================
   GALLERY MODAL
============================================================ */
.gallery-modal{position:fixed; inset:0; z-index:80; display:flex; align-items:center; justify-content:center; padding:24px;}
.gallery-modal[hidden]{display:none;}
.gallery-modal__backdrop{position:absolute; inset:0; background:rgba(12,12,16,.7); backdrop-filter:blur(4px);}
.gallery-modal__dialog{position:relative; z-index:1; background:var(--surface); border-radius:var(--radius-lg); max-width:960px; width:100%; max-height:88vh; overflow:auto; display:grid; grid-template-columns:1.3fr 1fr;}
.gallery-modal__close{position:absolute; top:16px; right:16px; z-index:2; width:38px; height:38px; border-radius:50%; background:var(--ink); color:#fff; border:none;}
.gallery-modal__media{position:relative; background:var(--ink); display:flex; align-items:center; justify-content:center; min-height:320px;}
.gallery-modal__image{width:100%; height:100%; object-fit:contain; max-height:70vh;}
.gallery-modal__nav{position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; border:none;}
.gallery-modal__nav--prev{left:12px;} .gallery-modal__nav--next{right:12px;}
.gallery-modal__content{padding:28px;}
.gallery-modal__eyebrow{font-size:12px; font-weight:500; color:var(--lime-dark);}
.gallery-modal__title{font-size:19px; margin:8px 0 10px;}
.gallery-modal__desc{font-size:13.5px; color:var(--text-2); line-height:1.6;}
.gallery-modal__thumbs{display:flex; gap:8px; flex-wrap:wrap; margin-top:18px;}
.gallery-modal__thumbs img{width:52px; height:52px; object-fit:cover; border-radius:8px; border:2px solid transparent; cursor:pointer;}
.gallery-modal__thumbs img.is-active{border-color:var(--lime-dark);}
.gallery-modal__footer{display:flex; align-items:center; justify-content:space-between; margin-top:22px;}
.gallery-modal__count{font-size:12.5px; color:var(--text-2);}
.gallery-modal__visit{font-size:13px; font-weight:600; display:flex; align-items:center; gap:8px;}
@media (max-width:720px){ .gallery-modal__dialog{grid-template-columns:1fr;} }

/* ============================================================
   SERVICE MODAL — click a service row, get the pitch + a form
============================================================ */
.service-modal{position:fixed; inset:0; z-index:80; display:flex; align-items:center; justify-content:center; padding:24px;}
.service-modal[hidden]{display:none;}
.service-modal__backdrop{position:absolute; inset:0; background:rgba(12,12,16,.7); backdrop-filter:blur(4px);}
.service-modal__dialog{
  position:relative; z-index:1; background:var(--surface); border-radius:var(--radius-lg);
  max-width:520px; width:100%; max-height:88vh; overflow:auto; padding:36px;
}
.service-modal__close{position:absolute; top:16px; right:16px; z-index:2; width:38px; height:38px; border-radius:50%; background:var(--ink); color:#fff; border:none;}
.service-modal__intro{margin-bottom:26px; padding-bottom:26px; border-bottom:1px solid var(--border);}
.service-modal__icon{width:52px; height:52px; border-radius:14px; background:var(--ink); color:var(--lime); display:flex; align-items:center; justify-content:center; font-size:19px; margin-bottom:16px;}
.service-modal__title{font-size:22px; margin-bottom:10px;}
.service-modal__desc{font-size:14px; color:var(--text-2); line-height:1.65;}
.service-modal__form{display:flex; flex-direction:column; gap:16px;}
@media (max-width:640px){ .service-modal__dialog{padding:26px;} }

/* ============================================================
   FOOTER
============================================================ */
.site-footer{padding:56px 0 40px; border-top:1px solid var(--border); margin-top:40px;}
.footer__inner{display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:30px;}
.footer__brand{margin-bottom:10px;}
.footer__tagline{font-size:13.5px; color:var(--text-2);}
.footer__nav{display:flex; gap:24px; font-size:14px; color:var(--text-2);}
.footer__nav a:hover{color:var(--ink);}
.footer__right{text-align:right;}
.footer__copy{font-size:12.5px; color:var(--text-3); margin-top:10px;}
@media (max-width:640px){ .footer__inner{flex-direction:column;} .footer__right{text-align:left;} }
/* ============================================================
   MOBILE NAV SPACING — comfortable touch targets and vertical rhythm
============================================================ */
@media (max-width:640px){
  .header__inner{height:68px;}
  .header__right{gap:8px;}
  .header__right > .theme-toggle{width:36px;height:36px;}
  .mob-toggle{padding:6px 6px 6px 12px;gap:7px;}
  .mob-toggle__bars{width:30px;height:30px;}
  .mob-toggle__label{font-size:12px;}

  .nav-overlay__inner{padding-top:20px;padding-bottom:22px;min-height:100dvh;}
  .nav-overlay__links{justify-content:flex-start;gap:0;padding:32px 0 22px;overflow-y:auto;}
  .nav-overlay__link{font-size:clamp(27px,9vw,40px);line-height:1.08;padding:18px 4px;gap:14px;min-height:68px;}
  .nav-overlay__num{width:28px;font-size:12px;}
  .nav-overlay__link:hover,.nav-overlay__link.is-active{padding-left:8px;}
  .nav-overlay__foot{gap:16px;padding-top:18px;}
  .nav-overlay__foot-col{gap:7px;}
  .nav-overlay__foot .kicker{margin-bottom:4px !important;}
  .nav-overlay__utility{gap:10px;}
  .nav-overlay .mob-menu__lang-link{padding:9px 13px;}
}
@media (max-width:380px){
  .brand{font-size:17px;}
  .brand__letter{width:27px;height:27px;margin-right:7px;}
  .header__right > .theme-toggle{display:none;}
  .nav-overlay__link{font-size:28px;padding:15px 2px;min-height:60px;}
}
