/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  --bg:      #080808;
  --bg2:     #0e0e0e;
  --bg3:     #141414;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --text:    #f0ede8;
  --text2:   #a8a49e;
  --muted:   #585450;
  --lime:    #c8f135;
  --lime2:   #d8f960;
  --pink:    #f03fcc;
  --blue:    #3ff0e0;
  --orange:  #f06428;
  --syne:    'Syne', sans-serif;
  --body:    'Bricolage Grotesque', sans-serif;
  --eout:    cubic-bezier(0.16, 1, 0.3, 1);
  --eio:     cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--body); font-weight: 400;
  overflow-x: hidden; cursor: none;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  body, body * { cursor: auto !important; }
  #cur-dot, #cur-ring { display: none !important; }
}

body.loading { overflow: hidden; }

/* ── LOADER ──────────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 12000;
  background: linear-gradient(180deg, #090909 0%, #050505 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.loader-inner {
  position: relative; z-index: 2; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.loader-mark {
  font-family: var(--syne); font-size: clamp(34px,6vw,62px);
  font-weight: 800; letter-spacing: -0.05em; color: var(--text);
}
.loader-mark .dot { color: var(--lime); }
.loader-copy {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text2);
}
.loader-bar {
  width: min(220px,48vw); height: 3px;
  background: rgba(255,255,255,0.06); overflow: hidden;
}
.loader-bar-fill {
  width: 100%; height: 100%;
  transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime2) 100%);
}
.loader-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,241,53,0.07) 0%, transparent 68%);
  animation: floatGlow 7s ease-in-out infinite;
}

/* ── CURSOR ──────────────────────────────────────────────────────── */
#cur-dot {
  position: fixed; width: 5px; height: 5px;
  background: var(--lime); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%); will-change: left,top;
}
#cur-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(200,241,53,0.3); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .4s var(--eout), height .4s var(--eout),
              border-color .3s, background .3s;
  will-change: left,top;
}
#cur-ring.expand   { width: 50px; height: 50px; border-color: rgba(200,241,53,0.55); }
#cur-ring.card-hover {
  width: 48px; height: 48px;
  background: rgba(200,241,53,0.04);
  border-color: rgba(200,241,53,0.5);
}

/* ── NOISE ───────────────────────────────────────────────────────── */
body::after {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9996; opacity: 0.45;
}

/* ── NAV ─────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s var(--eout), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.stuck {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(28px) saturate(160%);
  border-bottom-color: var(--border);
  padding: 16px 48px;
}
.nav-logo {
  font-family: var(--syne); font-size: 18px; font-weight: 700;
  text-decoration: none; color: var(--text); letter-spacing: -0.01em; opacity: 0;
}
.nav-logo .dot { color: var(--lime); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links li { opacity: 0; }
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text2); text-decoration: none;
  transition: color .25s; cursor: none; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--lime);
  transition: width .3s var(--eout);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-btn {
  font-family: var(--syne); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--lime); color: #080808; border: none;
  padding: 10px 22px; cursor: none;
  transition: background .25s, transform .3s var(--eout); opacity: 0;
}
.nav-btn:hover { background: var(--lime2); transform: translateY(-1px); }
.ham { display: none; flex-direction: column; gap: 5px; cursor: none; }
.ham span { width: 22px; height: 1px; background: var(--text2); transition: .3s; }

/* ── HERO ────────────────────────────────────────────────────────── */
#hero {
  min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; padding: 120px 48px 120px;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 70% at 40% 50%, black 20%, transparent 100%);
  opacity: 0;
}
.hero-glow {
  position: absolute; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(200,241,53,0.055) 0%, transparent 65%);
  border-radius: 50%; top: 0%; left: -12%; pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite; opacity: 0;
}
.hero-glow2 {
  position: absolute; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(240,63,204,0.04) 0%, transparent 65%);
  border-radius: 50%; bottom: 8%; right: -4%; pointer-events: none;
  animation: floatGlow 11s ease-in-out infinite reverse; opacity: 0;
}
@keyframes floatGlow {
  0%,100% { transform: translate(0,0); }
  33%      { transform: translate(20px,-30px); }
  66%      { transform: translate(-15px,20px); }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(200,241,53,0.06); border: 1px solid rgba(200,241,53,0.16);
  padding: 7px 15px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime);
  margin-bottom: 36px; width: fit-content; opacity: 0;
}
.hero-tag-dot {
  width: 5px; height: 5px; background: var(--lime); border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.2;transform:scale(.75)} }

.hero-title {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(52px, 9.5vw, 136px); line-height: 0.91;
  letter-spacing: -0.035em; margin-bottom: 48px;
}
.hero-title .line { overflow: hidden; display: block; }
.hero-title .li   { display: block; transform: translateY(115%); will-change: transform; }
.hero-title .accent { color: var(--lime); }
.hero-title .stroke {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.18);
  color: transparent;
}

.hero-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; opacity: 0; transform: translateY(20px);
}
.hero-desc {
  max-width: 380px; font-size: 15px; line-height: 1.82;
  color: var(--text2); font-weight: 300;
}
.hero-desc strong { color: var(--text); font-weight: 500; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

/* hero counter — bottom right */
.hero-counter {
  position: absolute; bottom: 36px; right: 48px;
  display: flex; align-items: center; gap: 24px;
  opacity: 0;
}
.hc-item { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.hc-num {
  font-family: var(--syne); font-size: 22px; font-weight: 800;
  color: var(--lime); line-height: 1; letter-spacing: -0.03em;
}
.hc-inf { font-size: 26px; }
.hc-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.hc-div { width: 1px; height: 32px; background: var(--border2); }

.hero-scroll {
  position: absolute; bottom: 44px; left: 48px;
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  opacity: 0;
}
@media (max-height: 680px) { .hero-scroll { display: none; } }
.hero-scroll-line {
  width: 1px; height: 44px; background: var(--muted);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--lime);
  animation: scanLine 2.2s ease-in-out infinite;
}
@keyframes scanLine { 0%{top:-100%} 100%{top:100%} }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn-lime {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--lime); color: #080808;
  font-family: var(--syne); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 14px 28px; cursor: none;
  transition: background .25s, transform .3s var(--eout);
}
.btn-lime:hover { background: var(--lime2); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border2); color: var(--text2);
  font-family: var(--syne); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 14px 28px; cursor: none;
  transition: border-color .25s, color .25s, transform .3s var(--eout);
}
.btn-outline:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

/* ── MARQUEE ─────────────────────────────────────────────────────── */
.marquee-wrap { background: var(--lime); padding: 13px 0; overflow: hidden; display: flex; }
.marquee-inner { display: flex; animation: marqueeRoll 22s linear infinite; width: max-content; }
@keyframes marqueeRoll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.m-item {
  display: flex; align-items: center; gap: 18px; padding: 0 32px;
  white-space: nowrap; font-family: var(--syne); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(8,8,8,0.65);
}
.m-item .sep { font-size: 7px; color: rgba(8,8,8,0.3); }

/* ── ABOUT ───────────────────────────────────────────────────────── */
#about { padding: 120px 48px; background: var(--bg2); position: relative; overflow: hidden; }
.about-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 88px; align-items: center; }
.about-left  { position: relative; }
.about-card  {
  background: var(--bg3); border: 1px solid var(--border);
  padding: 44px 40px; position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--pink) 100%);
}
.about-avatar {
  width: 68px; height: 68px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--syne); font-size: 22px; font-weight: 800;
  color: #080808; margin-bottom: 22px; letter-spacing: -0.02em;
}
.about-name { font-family: var(--syne); font-size: 20px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.02em; }
.about-role-tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(200,241,53,0.08); color: var(--lime);
  border: 1px solid rgba(200,241,53,0.18); padding: 4px 11px; margin-bottom: 22px;
}
.about-card-body { font-size: 13.5px; line-height: 1.75; color: var(--text2); margin-bottom: 26px; font-weight: 300; }
.about-stats-row { display: flex; gap: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.a-stat .n { font-family: var(--syne); font-size: 26px; font-weight: 800; color: var(--lime); line-height: 1; margin-bottom: 3px; }
.a-stat .l { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.about-float-badge {
  position: absolute; bottom: -18px; right: -18px;
  width: 76px; height: 76px; background: var(--pink);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  animation: rotateBadge 12s linear infinite;
}
@keyframes rotateBadge { from{transform:rotate(0)} to{transform:rotate(360deg)} }
.badge-in { animation: rotateBadge 12s linear infinite reverse; text-align: center; }
.badge-in .bn { font-family: var(--syne); font-size: 15px; font-weight: 800; color: #080808; }
.badge-in .bl { font-size: 7px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(0,0,0,0.55); }

.section-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-eyebrow span { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.eyebrow-bar { width: 24px; height: 1.5px; background: var(--lime); transform-origin: left; }
.section-heading {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(40px, 5vw, 70px); line-height: 0.93;
  letter-spacing: -0.035em; margin-bottom: 28px;
}
.section-heading .hl  { color: var(--lime); }
.section-heading .dim { color: var(--muted); }
.about-text { font-size: 15px; line-height: 1.82; color: var(--text2); margin-bottom: 18px; font-weight: 300; }
.about-text strong { color: var(--text); font-weight: 500; }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 32px; }
.ap-chip {
  background: transparent; border: 1px solid var(--border);
  padding: 11px 15px; font-size: 12.5px; font-weight: 400;
  color: var(--text2); display: flex; align-items: center; gap: 9px;
  transition: border-color .3s var(--eout), color .3s, background .3s; cursor: none;
}
.ap-chip:hover { border-color: rgba(200,241,53,0.35); color: var(--text); background: rgba(200,241,53,0.04); }
.ap-chip .ic { font-size: 11px; color: var(--lime); opacity: 0.8; }

/* ── SERVICES ────────────────────────────────────────────────────── */
#services { padding: 120px 48px; }
.services-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 64px; }
.services-top-copy { max-width: 260px; font-size: 13.5px; line-height: 1.8; color: var(--text2); font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.svc-card {
  background: var(--bg); padding: 48px 36px;
  position: relative; overflow: hidden; cursor: none;
  transition: background .4s var(--eout);
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; transition: width .5s var(--eout);
}
.svc-card:nth-child(1)::after { background: var(--lime); }
.svc-card:nth-child(2)::after { background: var(--pink); }
.svc-card:nth-child(3)::after { background: var(--blue); }
.svc-card:hover::after   { width: 100%; }
.svc-card:hover { background: var(--bg2); }
.svc-num { font-family: var(--syne); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.svc-icon-wrap {
  width: 44px; height: 44px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  transition: border-color .35s, background .35s;
}
.svc-card:hover .svc-icon-wrap { background: rgba(200,241,53,0.05); border-color: rgba(200,241,53,0.25); }
.svc-icon-wrap svg { opacity: 0.55; transition: opacity .35s; }
.svc-card:hover .svc-icon-wrap svg { opacity: 1; }
.svc-title { font-family: var(--syne); font-size: 19px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.svc-body  { font-size: 13.5px; line-height: 1.75; color: var(--text2); margin-bottom: 28px; font-weight: 300; }
.svc-list  { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc-list li { font-size: 12px; color: var(--text2); display: flex; align-items: center; gap: 9px; font-weight: 300; }
.svc-list li::before { content: ''; width: 12px; height: 1px; background: var(--lime); flex-shrink: 0; opacity: 0.65; }

/* ── WORK ────────────────────────────────────────────────────────── */
#work { padding: 120px 48px; background: var(--bg2); }
.work-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }

/* edit bar */
.work-edit-bar {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px; padding: 12px 16px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.02);
}
.edit-toggle-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--syne); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent; color: var(--text2); border: 1px solid var(--border2);
  padding: 8px 14px; cursor: none;
  transition: color .25s, border-color .25s, background .25s;
}
.edit-toggle-btn:hover     { color: var(--lime); border-color: rgba(200,241,53,0.4); }
.edit-toggle-btn.is-active { color: var(--lime); border-color: var(--lime); background: rgba(200,241,53,0.06); }
.edit-hint { font-size: 12px; color: var(--muted); }

/* grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: 14px;
}

/* ── WORK CARD ───────────────────────────────────────────────────── */
.work-card {
  position: relative; overflow: visible; cursor: none;
  background: var(--bg3); border: 1px solid var(--border);
  transition: border-color .4s var(--eout), transform .4s var(--eout);
  will-change: transform;
  display: flex; flex-direction: column;
}
.work-card:hover { border-color: rgba(200,241,53,0.28); transform: translateY(-4px); }

/* column spans */
.work-card[data-span="7"]  { grid-column: span 7; }
.work-card[data-span="5"]  { grid-column: span 5; }
.work-card[data-span="12"] { grid-column: span 12; }

/* thumbnail wrapper — clips the image/zoom */
.work-thumb {
  position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 16/9;
  flex-shrink: 0;
}
.work-card-wide .work-thumb { aspect-ratio: 21/9; }

/* actual image */
.work-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease, transform .7s var(--eout);
  will-change: transform;
}
.work-card.has-image .work-image        { opacity: 1; }
.work-card.has-image:hover .work-image  { transform: scale(1.05); }

/* gradient bg fallbacks — hidden once image loads */
.thumb-1 { background: linear-gradient(135deg, #0c0c1a, #18002e 50%, #050508); }
.thumb-2 { background: linear-gradient(135deg, #081408, #002b00); }
.thumb-3 { background: linear-gradient(135deg, #160a00, #341200); }
.thumb-4 { background: linear-gradient(135deg, #030d16, #001633); }
.thumb-5 { background: linear-gradient(135deg, #20050f, #4a0f2e 50%, #12030a); }

/* placeholder shown when no image */
.thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.18);
  font-family: var(--syne); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: opacity .3s;
}
.work-card.has-image .thumb-placeholder { opacity: 0; pointer-events: none; }
.thumb-placeholder-wide { font-size: 12px; }
.thumb-placeholder svg  { opacity: 0.4; }

/* subtle dark vignette overlay always present when has-image */
.work-card.has-image .work-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0) 40%, rgba(8,8,8,0.18) 100%);
  pointer-events: none;
}

/* hover overlay — slides up from bottom */
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.97) 0%,
    rgba(8,8,8,0.6)  38%,
    rgba(8,8,8,0.12) 70%,
    transparent      100%
  );
  opacity: 0;
  transition: opacity .38s var(--eout);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  pointer-events: none;
}
.work-card:hover .work-overlay { opacity: 1; }

.work-overlay-content {
  padding: 14px 16px 12px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(8,8,8,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 400px;
}
/* staggered reveal children */
.work-cat,
.work-title,
.work-desc {
  transform: translateY(12px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-timing-function: var(--eout);
}
.work-cat   { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime); margin-bottom: 7px; transition-duration: .35s; transition-delay: 0.04s; }
.work-title { font-family: var(--syne); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; transition-duration: .35s; transition-delay: 0.09s; }
.work-desc  { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--text2); font-weight: 300; transition-duration: .35s; transition-delay: 0.14s; }
.work-card:hover .work-cat,
.work-card:hover .work-title,
.work-card:hover .work-desc  { transform: translateY(0); opacity: 1; }

/* arrow button */
.work-arrow {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0) rotate(-45deg);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
  z-index: 10;
}
.work-card:hover .work-arrow { transform: scale(1) rotate(0); }

/* ── PROJECT PANEL (edit mode only) ─────────────────────────────── */
.project-panel {
  display: none; /* hidden by default — only shown in edit mode */
  flex-direction: column; gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
  position: relative; z-index: 5;
}
/* shown when edit mode active */
.edit-mode .project-panel { display: flex; }

.project-field { display: grid; gap: 7px; }
.project-field-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.project-upload-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.project-upload-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.project-upload-status { font-size: 11px; color: var(--text2); min-height: 16px; }
.project-upload-status.has-image { color: var(--lime); }
.project-upload-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 14px; border: 1px solid var(--border2);
  background: transparent; color: var(--text);
  font-family: var(--syne); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: none; transition: border-color .25s, color .25s, background .25s;
  white-space: nowrap;
}
.project-upload-btn:hover { border-color: var(--lime); color: var(--lime); background: rgba(200,241,53,0.05); }
.project-file { display: none; }
.project-input, .project-textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-family: var(--body); font-size: 13px;
  padding: 11px 13px; outline: none;
  transition: border-color .25s, background .25s;
  resize: none;
}
.project-input:focus, .project-textarea:focus {
  border-color: rgba(200,241,53,0.35); background: rgba(255,255,255,0.02);
}
.project-textarea { min-height: 72px; line-height: 1.55; }

/* work-coming bar */
.work-coming {
  margin-top: 40px; padding: 28px 32px;
  border: 1px dashed rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.work-coming-cta { white-space: nowrap; flex-shrink: 0; }
.wc-left { display: flex; align-items: center; gap: 16px; }
.wc-icon {
  width: 38px; height: 38px; background: rgba(200,241,53,0.06);
  border: 1px solid rgba(200,241,53,0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wc-text { font-size: 13.5px; line-height: 1.65; color: var(--text2); font-weight: 300; }
.wc-text strong { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; }

/* ── CONTACT ─────────────────────────────────────────────────────── */
#contact { padding: 120px 48px; position: relative; overflow: hidden; }
.contact-bg {
  position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
  font-family: var(--syne); font-size: clamp(80px,18vw,280px);
  font-weight: 800; white-space: nowrap; color: rgba(255,255,255,0.014);
  letter-spacing: -0.05em; pointer-events: none; user-select: none;
}
.contact-inner { max-width: 780px; margin: 0 auto; position: relative; }
.contact-title {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(48px, 7.5vw, 104px); line-height: 0.91;
  letter-spacing: -0.04em; margin-bottom: 28px;
}
.contact-title .hl { color: var(--lime); }
.contact-sub { font-size: 15px; line-height: 1.8; color: var(--text2); max-width: 420px; margin-bottom: 52px; font-weight: 300; }
.contact-sub strong { color: var(--text); font-weight: 500; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg  { display: flex; flex-direction: column; gap: 8px; }
.fg.full { grid-column: span 2; }
.flabel { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.finput, .ftextarea {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-family: var(--body); font-size: 14px;
  font-weight: 300; padding: 13px 16px; outline: none;
  transition: border-color .3s var(--eout), background .3s;
  cursor: none; resize: none;
}
.finput:focus, .ftextarea:focus { border-color: rgba(200,241,53,0.4); background: var(--bg3); }
.finput::placeholder, .ftextarea::placeholder { color: var(--muted); }
.ftextarea { height: 128px; }
.fsubmit {
  grid-column: span 2; background: var(--lime); border: none; color: #080808;
  font-family: var(--syne); font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 17px; cursor: none; transition: background .25s, transform .3s var(--eout);
}
.fsubmit:hover { background: var(--lime2); transform: translateY(-2px); }
.fsubmit.is-sent {
  background: var(--bg3); color: var(--lime);
  border: 1px solid rgba(200,241,53,0.25);
}
.contact-error {
  grid-column: span 2;
  color: #ff8c8c;
  font-size: 12px;
  min-height: 18px;
  margin-top: -4px;
  opacity: 0;
  transition: opacity .2s ease;
}
.contact-error.visible { opacity: 1; }
.contact-alts { display: flex; align-items: center; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.contact-pref {
  font-size: 12px; font-weight: 500; color: var(--text2);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.clink {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 400; color: var(--text2); text-decoration: none;
  letter-spacing: 0.02em; transition: color .25s; cursor: none;
}
.clink:hover { color: var(--lime); }
.clink-sep { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }
.avail-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(200,241,53,0.06); border: 1px solid rgba(200,241,53,0.18);
  padding: 7px 15px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: 36px;
}
.avail-dot { width: 5px; height: 5px; background: var(--lime); border-radius: 50%; animation: blink 2.4s ease-in-out infinite; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer {
  padding: 32px 48px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; background: var(--bg);
}
.foot-logo { font-family: var(--syne); font-size: 16px; font-weight: 700; color: var(--muted); }
.foot-logo .dot { color: var(--lime); }
.foot-copy  { font-size: 11px; color: var(--muted); letter-spacing: 0.03em; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .25s; cursor: none; }
.foot-links a:hover { color: var(--lime); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav, nav.stuck { padding: 18px 22px; }
  .nav-links, .nav-btn { display: none; }
  .ham { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(8,8,8,0.97); backdrop-filter: blur(24px);
    padding: 24px 22px 36px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999; gap: 22px;
  }
  #hero        { padding: 106px 22px 80px; }
  .hero-row    { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-scroll { left: 22px; bottom: 28px; }
  .hero-counter { right: 22px; bottom: 28px; gap: 16px; }
  .hc-num { font-size: 18px; }
  .about-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-float-badge { right: 0; }
  #about, #services, #work, #contact { padding: 80px 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-top, .work-top { flex-direction: column; align-items: flex-start; gap: 18px; }

  /* on mobile: all cards full width, overlay always visible */
  .work-grid { grid-template-columns: 1fr; }
  .work-card[data-span] { grid-column: span 1; }
  .work-overlay { 
    opacity: 1; 
    background: linear-gradient(to top, rgba(8,8,8,0.98) 0%, rgba(8,8,8,0.8) 40%, rgba(8,8,8,0.3) 70%, transparent 100%);
  }
  .work-overlay-content { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .work-cat, .work-title, .work-desc { transform: none; opacity: 1; }
  .work-arrow { transform: scale(1) rotate(0); }
  .work-card:hover { transform: none; }

  .contact-form  { grid-template-columns: 1fr; gap: 16px; }
  .fg.full, .fsubmit { grid-column: span 1; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px 22px; }
  .contact-alts  { gap: 16px; }
  .work-coming   { flex-direction: column; }
}
@media (max-width: 560px) {
  .hero-title  { font-size: clamp(30px, 10vw, 72px); line-height: 1.02; margin-bottom: 32px; }
  .contact-title { font-size: clamp(32px, 9vw, 72px); line-height: 1.02; }
  .contact-inner { padding: 0 18px; }
  .contact-form { gap: 14px; }
  .contact-form .fg { width: 100%; }
  .fsubmit { font-size: 12px; padding: 18px 20px; width: 100%; justify-self: stretch; }
  .approach-grid { grid-template-columns: 1fr; }
  .about-stats-row { gap: 20px; }
  .hero-counter { display: none; }
  .project-upload-row { flex-direction: column; align-items: stretch; }
  .project-upload-btn { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .contact-form { justify-items: stretch; align-items: stretch; }
  .fsubmit { width: 100%; max-width: 100%; margin: 0 auto; justify-self: stretch; }

  .work-overlay {
    opacity: 0;
    background: transparent;
    pointer-events: none;
    transition: opacity .3s ease, background .3s ease;
  }
  .work-card .work-overlay-content {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .work-card .work-cat,
  .work-card .work-title,
  .work-card .work-desc {
    opacity: 0;
    transform: translateY(18px);
  }
  .work-card .work-arrow {
    opacity: 1;
    transition: transform .3s ease;
  }
  .work-card.active .work-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(8,8,8,0.94) 0%, rgba(8,8,8,0.85) 32%, rgba(8,8,8,0.35) 64%, transparent 100%);
    pointer-events: auto;
  }
  .work-card.active .work-overlay-content {
    opacity: 1;
    transform: translateY(0);
  }
  .work-card.active .work-cat,
  .work-card.active .work-title,
  .work-card.active .work-desc {
    opacity: 1;
    transform: none;
  }
  .work-card.active .work-arrow {
    transform: scale(1.03) rotate(0);
  }
}

/* ── GSAP init ───────────────────────────────────────────────────── */
.sr   { opacity: 0; will-change: opacity, transform; }
.sr-l { opacity: 0; will-change: opacity, transform; }

/* ── reduced-motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .loader-glow,
  .about-float-badge,
  .hero-tag-dot,
  .avail-dot,
  .marquee-inner,
  .hero-scroll-line::after { animation: none; }
  .work-image,
  .work-card { transition: none; }
}
