/* ============================================================
   Local Business Web Design — Akash Sikdar portfolio
   Design system & styles
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Hanken+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --blue: #004CF8;
  --blue-700: #0039bf;
  --blue-300: #6f95ff;
  --blue-tint: #ecf1ff;
  --blue-glow: rgba(0, 76, 248, 0.45);

  --bg: #faf9f6;
  --bg-alt: #f1f0ea;
  --paper: #ffffff;

  --ink: #0c0d12;
  --ink-2: #3a3b44;
  --muted: #6c6d77;
  --line: rgba(12, 13, 18, 0.10);
  --line-2: rgba(12, 13, 18, 0.06);

  --dark: #07080d;
  --dark-2: #0e1019;
  --dark-card: #14161f;
  --dark-line: rgba(255, 255, 255, 0.10);
  --dark-line-2: rgba(255, 255, 255, 0.06);
  --on-dark: #f4f5f7;
  --on-dark-muted: #9a9ca6;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 26px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(12,13,18,0.05), 0 4px 14px rgba(12,13,18,0.05);
  --shadow-md: 0 10px 30px rgba(12,13,18,0.10), 0 2px 8px rgba(12,13,18,0.06);
  --shadow-lg: 0 30px 70px rgba(12,13,18,0.16), 0 8px 24px rgba(12,13,18,0.08);
  --shadow-blue: 0 24px 60px rgba(0,76,248,0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { position: relative; }
.section-pad { padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(72px, 11vw, 150px); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--blue-300); }
.eyebrow.on-dark::before { background: var(--blue-300); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
.h-sec { font-size: clamp(34px, 5vw, 60px); }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 54ch; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .35s var(--ease), border-color .3s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translate(4px, -4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(0,76,248,0.30); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 16px 38px rgba(0,76,248,0.40); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: transform .5s var(--ease);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
  padding: 12px 14px 12px 22px;
  background: rgba(250, 249, 246, 0.7);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.nav.scrolled .nav-inner { box-shadow: var(--shadow-md); background: rgba(250, 249, 246, 0.88); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--blue);
  position: relative; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 6px 16px rgba(0,76,248,0.35);
  overflow: hidden;
}
.brand-mark::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 46%, rgba(255,255,255,0.9) 47%, rgba(255,255,255,0.9) 53%, transparent 54%),
    linear-gradient(135deg, transparent 66%, rgba(255,255,255,0.55) 67%, rgba(255,255,255,0.55) 73%, transparent 74%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.02; }
.brand-text b { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand-text span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 15px; color: var(--ink-2); font-weight: 500; position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blue); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a { font-family: var(--display); font-size: clamp(30px, 9vw, 52px); font-weight: 600; padding: 10px 0; color: var(--ink); letter-spacing: -0.02em; }
.mobile-menu a:nth-child(n) { border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 30px; align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 150px; padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px; border-radius: 100px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #18b663; box-shadow: 0 0 0 4px rgba(24,182,99,0.18); }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.hero h1 .accent { color: var(--blue); display: inline-block; }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 1.7vw, 20px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .mi { }
.hero-meta .mi b { font-family: var(--display); font-size: 26px; font-weight: 600; display: block; letter-spacing: -0.02em; }
.hero-meta .mi span { font-size: 13.5px; color: var(--muted); }

/* word reveal */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.hero.in-view .reveal-line:nth-child(1) > span { transition-delay: .05s; }
.hero.in-view .reveal-line:nth-child(2) > span { transition-delay: .15s; }
.hero.in-view .reveal-line:nth-child(3) > span { transition-delay: .25s; }
.hero.in-view .reveal-line > span { transform: translateY(0); }

/* ----- Browser mockup ----- */
.hero-visual { position: relative; perspective: 1600px; }
.browser {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .2s var(--ease);
  will-change: transform;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px;
  background: #f3f3ef;
  border-bottom: 1px solid var(--line-2);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url {
  flex: 1; margin-left: 8px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 8px;
  padding: 7px 14px; font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.url svg { flex: none; }
/* faux site inside */
.site { background: #fff; }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line-2); }
.site-logo { width: 78px; height: 12px; border-radius: 4px; background: var(--ink); }
.site-navlinks { display: flex; gap: 12px; }
.site-navlinks i { width: 34px; height: 7px; border-radius: 4px; background: #d9d9d2; display: block; }
.site-navlinks i:last-child { width: 50px; background: var(--blue); }
.site-hero { padding: 30px 22px 26px; }
.site-tag { width: 96px; height: 9px; border-radius: 4px; background: var(--blue-tint); margin-bottom: 14px; }
.site-h { height: 17px; border-radius: 5px; background: var(--ink); margin-bottom: 9px; }
.site-h.w1 { width: 86%; } .site-h.w2 { width: 64%; }
.site-p { height: 8px; border-radius: 4px; background: #e4e4dd; margin-bottom: 7px; }
.site-p.w1 { width: 92%; } .site-p.w2 { width: 78%; }
.site-btns { display: flex; gap: 10px; margin-top: 18px; }
.site-btns i { height: 28px; border-radius: 7px; display: block; }
.site-btns i:first-child { width: 96px; background: var(--blue); }
.site-btns i:last-child { width: 76px; background: #edede6; }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 22px 26px; }
.site-card { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px; }
.site-card .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--blue-tint); margin-bottom: 10px; }
.site-card .l { height: 7px; border-radius: 4px; background: #e4e4dd; margin-bottom: 6px; }
.site-card .l.s { width: 60%; }

/* floating chips around browser */
.float-chip {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 15px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px;
  will-change: transform;
}
.float-chip .ci { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-chip b { font-family: var(--display); font-size: 18px; font-weight: 600; display: block; line-height: 1; }
.float-chip span { font-size: 11.5px; color: var(--muted); }
.fc-speed { top: 8%; left: -7%; }
.fc-speed .ci { background: #e9f8ef; color: #18a05a; }
.fc-rank { bottom: 12%; right: -8%; }
.fc-rank .ci { background: var(--blue-tint); color: var(--blue); }
.hero-glow {
  position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent 70%);
  filter: blur(60px); top: 20%; right: -10%; z-index: 0; opacity: .5;
}

/* ============================================================
   MARQUEE strip (trust)
   ============================================================ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); padding: 22px 0; overflow: hidden; }
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(15px, 1.6vw, 19px); font-weight: 500; color: var(--ink-2); display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--blue); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-portrait { position: relative; }
.portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.about-note {
  position: absolute; bottom: -26px; right: -10px;
  background: var(--ink); color: #fff;
  border-radius: 16px; padding: 18px 20px; max-width: 240px;
  box-shadow: var(--shadow-lg);
}
.about-note .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 7px; }
.about-note p { font-size: 14px; line-height: 1.45; color: #e7e7ea; }
.about-body h2 { margin-bottom: 26px; }
.about-body p { color: var(--ink-2); margin-bottom: 18px; max-width: 56ch; }
.about-body p strong { color: var(--ink); font-weight: 600; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-tags li { font-family: var(--mono); font-size: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-2); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.skill {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.skill:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.skill::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.skill:hover::after { width: 100%; }
.skill .n { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.skill b { font-family: var(--display); font-size: 18px; font-weight: 600; display: block; margin-top: 18px; letter-spacing: -0.01em; }
.skill p { font-size: 13.5px; color: var(--muted); margin-top: 5px; }

/* ============================================================
   PORTFOLIO  (dark band — the showpiece)
   ============================================================ */
.work { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.work::before {
  content: ""; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 50%; background: radial-gradient(ellipse, rgba(0,76,248,0.22), transparent 70%); filter: blur(70px); pointer-events: none;
}
.work .wrap { position: relative; z-index: 1; }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.work-head h2 { color: #fff; }
.work-head .lead { color: var(--on-dark-muted); }
.work-hint { font-family: var(--mono); font-size: 12px; color: var(--on-dark-muted); display: flex; align-items: center; gap: 9px; }
.work-hint .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-300); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{ opacity:.4; transform: scale(.8);} 50%{opacity:1; transform: scale(1.2);} }

/* the scroller — horizontal, auto-scrolling */
.work-viewport { margin-top: 48px; position: relative; }
.work-viewport::before, .work-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(30px, 8vw, 120px); z-index: 4; pointer-events: none;
}
.work-viewport::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.work-viewport::after { right: 0; background: linear-gradient(270deg, var(--dark), transparent); }
.work-track {
  display: flex; gap: 22px; width: max-content; padding: 8px 0 18px;
  cursor: grab;
  will-change: transform;
}
.work-track.dragging { cursor: grabbing; }
.work-card {
  width: clamp(290px, 30vw, 380px); flex: none;
  background: var(--dark-card); border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.work-track:hover .work-card { opacity: .58; }
.work-track:hover .work-card:hover { opacity: 1; transform: translateY(-8px); border-color: var(--blue-300); box-shadow: var(--shadow-blue); }

/* website thumbnail: full-page screenshot, panned top\u2192bottom on hover */
.wc-shot {
  position: absolute; inset: 0;
  background-repeat: no-repeat; background-position: center top; background-size: 100% auto;
  transition: background-position .6s ease;
}
.work-card:hover .wc-shot { background-position: center bottom; transition: background-position 8s linear; }

.wc-thumb { aspect-ratio: 16/11; position: relative; overflow: hidden; }
.wc-thumb .ph-label { color: rgba(255,255,255,0.5); }
.wc-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(7,8,13,0.7); backdrop-filter: blur(6px); color: #fff;
  padding: 6px 11px; border-radius: 100px; border: 1px solid var(--dark-line);
}
.wc-num { position: absolute; top: 14px; right: 16px; z-index: 2; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.6); }
.wc-body { padding: 22px 22px 24px; }
.wc-body h3 { font-size: 21px; color: #fff; }
.wc-ind { font-family: var(--mono); font-size: 11.5px; color: var(--blue-300); margin-top: 9px; letter-spacing: 0.04em; }
.wc-body p { font-size: 14px; color: var(--on-dark-muted); margin-top: 12px; line-height: 1.5; }
.wc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--dark-line-2); }
.wc-link { font-family: var(--display); font-size: 14px; font-weight: 500; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.wc-link .arr { transition: transform .35s var(--ease); }
.wc-link:hover .arr { transform: translate(3px, -3px); }
.wc-notes { font-family: var(--mono); font-size: 10.5px; color: var(--on-dark-muted); }

.work-replace-note {
  margin-top: 34px; display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--mono); font-size: 12.5px; color: var(--on-dark-muted);
  padding: 16px 18px; border: 1px dashed var(--dark-line); border-radius: 14px;
  background: rgba(255,255,255,0.02); max-width: 640px;
}
.work-replace-note b { color: var(--blue-300); font-weight: 400; }

/* ============================================================
   PLACEHOLDER (striped) — reusable
   ============================================================ */
.ph {
  position: absolute; inset: 0;
  background-color: #ededea;
  background-image: repeating-linear-gradient(135deg, rgba(12,13,18,0.045) 0 2px, transparent 2px 11px);
  display: grid; place-items: center;
}
.ph.dark { background-color: #1a1d28; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 11px); }
.ph-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 0 16px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
  overflow: hidden;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service .svc-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; transition: background .35s, color .35s; }
.service:hover .svc-ic { background: var(--blue); color: #fff; }
.service h3 { font-size: 20px; letter-spacing: -0.01em; }
.service p { font-size: 14px; color: var(--muted); margin-top: 11px; line-height: 1.5; }
.svc-no { position: absolute; top: 22px; right: 24px; font-family: var(--mono); font-size: 12px; color: var(--line); }
.service:hover .svc-no { color: var(--blue-300); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg-alt); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 34px; }
.step .bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; position: relative; }
.step .bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--blue); transition: width 1s var(--ease); }
.step.in-view .bar::after { width: 100%; }
.step:nth-child(2) .bar::after { transition-delay: .15s; }
.step:nth-child(3) .bar::after { transition-delay: .3s; }
.step:nth-child(4) .bar::after { transition-delay: .45s; }
.step .sn { font-family: var(--mono); font-size: 13px; color: var(--blue); margin-top: 18px; }
.step h3 { font-size: 23px; margin-top: 12px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; max-width: 28ch; }

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.why-item { padding: clamp(28px, 3.4vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s; }
.why-grid .why-item:nth-child(3n) { border-right: none; }
.why-grid .why-item:nth-last-child(-n+3) { border-bottom: none; }
.why-item:hover { background: var(--bg-alt); }
.why-item .wi-ic { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); margin-bottom: 22px; }
.why-item h3 { font-size: 20px; }
.why-item p { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tst {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 28px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tst:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tst .quote-mark { font-family: var(--display); font-size: 52px; line-height: .6; color: var(--blue); height: 30px; }
.tst .stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--blue); }
.tst p { font-size: 16px; color: var(--ink-2); line-height: 1.55; flex: 1; }
.tst .who { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.tst .av { width: 46px; height: 46px; border-radius: 50%; position: relative; overflow: hidden; flex: none; border: 1px solid var(--line); }
.tst .who b { font-family: var(--display); font-size: 15.5px; font-weight: 600; display: block; }
.tst .who span { font-size: 13px; color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.contact::before { content:""; position:absolute; bottom:-20%; left:-10%; width:50%; height:80%; background: radial-gradient(circle, rgba(0,76,248,0.25), transparent 70%); filter: blur(80px); }
.contact .wrap { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact h2 { color: #fff; font-size: clamp(34px, 5vw, 58px); }
.contact-lead { color: var(--on-dark-muted); margin-top: 22px; font-size: 18px; max-width: 42ch; }
.contact-channels { margin-top: 38px; display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--dark-line); border-radius: var(--radius);
  background: rgba(255,255,255,0.02); transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.channel:hover { border-color: var(--blue-300); background: rgba(0,76,248,0.07); transform: translateX(4px); }
.channel .ch-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.05); color: var(--blue-300); display: grid; place-items: center; flex: none; }
.channel .ch-t span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.channel .ch-t b { font-family: var(--display); font-size: 17px; font-weight: 500; display: block; margin-top: 3px; color: #fff; word-break: break-all; }

.form { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); display: block; margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--dark-line);
  border-radius: 12px; padding: 14px 16px; color: #fff; font-family: var(--body); font-size: 15.5px;
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #5a5c66; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: rgba(0,76,248,0.06); }
.field.invalid input, .field.invalid textarea { border-color: #ff5f57; }
.field .err { color: #ff8a84; font-size: 12.5px; margin-top: 7px; display: none; }
.field.invalid .err { display: block; }
.form .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-success { text-align: center; padding: 30px 10px; display: none; }
.form-success.show { display: block; }
.form-success .ok { width: 60px; height: 60px; border-radius: 50%; background: rgba(24,182,99,0.15); color: #2fd07e; display: grid; place-items: center; margin: 0 auto 18px; }
.form-success h3 { color: #fff; font-size: 24px; }
.form-success p { color: var(--on-dark-muted); margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050609; color: var(--on-dark); padding-top: clamp(60px, 8vw, 100px); padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--dark-line-2); }
.footer-brand .brand-text b { color: #fff; }
.footer-brand p { color: var(--on-dark-muted); font-size: 14.5px; margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 15px; color: #cfd0d6; transition: color .25s; }
.footer-col a:hover { color: var(--blue-300); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13.5px; color: var(--on-dark-muted); }
.footer-wordmark { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 13vw, 168px); letter-spacing: -0.04em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.12); text-align: center; padding: 30px 0 6px; user-select: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.r-up { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.r-up.in-view { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1){transition-delay:.0s}
.stagger.in-view > *:nth-child(2){transition-delay:.06s}
.stagger.in-view > *:nth-child(3){transition-delay:.12s}
.stagger.in-view > *:nth-child(4){transition-delay:.18s}
.stagger.in-view > *:nth-child(5){transition-delay:.24s}
.stagger.in-view > *:nth-child(6){transition-delay:.30s}
.stagger.in-view > *:nth-child(7){transition-delay:.36s}
.stagger.in-view > *:nth-child(8){transition-delay:.42s}
.stagger.in-view > *:nth-child(9){transition-delay:.48s}
.stagger.in-view > *:nth-child(10){transition-delay:.54s}
.stagger.in-view > *:nth-child(11){transition-delay:.60s}
.stagger.in-view > *:nth-child(12){transition-delay:.66s}

/* ============================================================
   ABOUT — two-person studio
   ============================================================ */
image-slot { display: block; }
.about-people { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.person {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 34px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person-top { display: flex; align-items: center; gap: 18px; }
.person-photo { width: 84px; height: 84px; flex: none; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.person h3 { font-size: clamp(22px, 2.4vw, 28px); }
.person .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-top: 7px; }
.person > p { color: var(--ink-2); margin-top: 22px; font-size: 15.5px; flex: 1; }
.person .about-tags { margin-top: 22px; }
.person-badge {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  margin-top: 18px; padding: 9px 16px; border-radius: 100px;
  background: var(--blue-tint); color: var(--blue-700);
  font-family: var(--display); font-weight: 500; font-size: 13.5px;
}
.person-badge .pb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0,76,248,0.16); }

/* ============================================================
   WORK — slots + sub-showcases (graphics / video)
   ============================================================ */
.wc-slot {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.work-sub { margin-top: clamp(58px, 8vw, 96px); }
.work-sub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.work-sub-head h3 { color: #fff; font-size: clamp(26px, 3.6vw, 42px); margin-top: 14px; }
.work-sub-head > p { color: var(--on-dark-muted); font-size: 15px; max-width: 42ch; line-height: 1.5; }

/* graphic grid */
.gfx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gfx-tile {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--dark-line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.gfx-tile:hover { transform: translateY(-6px); border-color: var(--blue-300); box-shadow: var(--shadow-blue); }
.gfx-shot { position: absolute; inset: 0; background-size: cover; background-position: center top; transition: background-position .5s ease; }
.gfx-tile:hover .gfx-shot { background-position: center bottom; transition: background-position 6s linear; }
.gfx-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  padding: 30px 18px 16px; background: linear-gradient(transparent, rgba(7,8,13,0.9));
}
.gfx-cap .c { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-300); }
.gfx-cap b { display: block; color: #fff; font-family: var(--display); font-weight: 600; font-size: 17px; margin-top: 5px; letter-spacing: -0.01em; }

/* video grid — uniform thumbnail height so portrait (reel) and landscape videos align cleanly in the same row */
.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 22px; align-items: start; }
.vid-tile { display: flex; flex-direction: column; }
.vid-thumb {
  position: relative; overflow: hidden; cursor: pointer; height: clamp(240px, 24vw, 320px);
  border-radius: var(--radius); border: 1px solid var(--dark-line); background: #000;
}
.vid-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-thumb.is-playing .vid-play, .vid-thumb.is-playing .vid-dur { opacity: 0; pointer-events: none; }
.vid-tile-portrait .vid-thumb { width: auto; aspect-ratio: 9/16; margin: 0 auto; }
.vid-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; z-index: 3; pointer-events: none;
  transition: opacity .25s, transform .35s var(--ease);
  background: rgba(0,76,248,0.94); display: grid; place-items: center;
  box-shadow: 0 12px 34px rgba(0,76,248,0.5); transition: transform .35s var(--ease);
}
.vid-play svg { margin-left: 3px; }
.vid-tile:hover .vid-play { transform: translate(-50%, -50%) scale(1.12); }
.vid-dur {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; pointer-events: none; transition: opacity .25s;
  font-family: var(--mono); font-size: 11px; color: #fff;
  background: rgba(7,8,13,0.72); padding: 4px 9px; border-radius: 7px; border: 1px solid var(--dark-line);
}
.vid-meta { margin-top: 16px; text-align: center; }
.vid-meta b { color: #fff; font-family: var(--display); font-weight: 600; font-size: 18px; display: block; letter-spacing: -0.01em; }
.vid-meta span { color: var(--on-dark-muted); font-family: var(--mono); font-size: 12.5px; margin-top: 5px; display: block; }

/* slots sit above the dark card bg but below overlay chrome */
.wc-slot { z-index: 0; }

/* responsive for new sections */
@media (max-width: 980px) {
  .gfx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .about-people { grid-template-columns: 1fr; }
  .vid-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .gfx-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid .why-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .why-grid .why-item:nth-child(2n) { border-right: none; }
  .why-grid .why-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .why-grid .why-item:nth-last-child(-n+2) { border-bottom: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .hero { padding-top: 130px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-portrait { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .why-item { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .why-grid .why-item:last-child { border-bottom: none !important; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .hero-meta { gap: 20px; }
  .about-note { position: static; max-width: none; margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .r-up, .stagger > *, .reveal-line > span { opacity: 1 !important; transform: none !important; }
}
