/* ============================================================
   ARYAN MEHTA — PORTFOLIO + PRODUCT STORE
   Premium CSS · Pixel-based · Minimal · Editorial
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --bg: #fafaf8;
  --bg-alt: #f3f3ef;
  --fg: #0f0f0e;
  --fg-soft: #3a3a38;
  --muted: #9a9a94;
  --border: #e0e0d8;
  --accent: #c8a96e;
  --accent-dark: #a8883e;
  --accent-bg: #fdf8ef;
  --white: #ffffff;
  --card-bg: #ffffff;

  --nav-h: 72px;
  --radius: 4px;
  --radius-lg: 8px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
select, input, textarea { font-family: inherit; }

/* ---- CURSOR ---- */
.cursor {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  mix-blend-mode: multiply;
}
.cursor-dot {
  position: fixed;
  width: 4px; height: 4px;
  background: var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 48px; height: 48px;
  background: rgba(200,169,110,0.12);
  border-color: var(--accent);
}

/* ---- LOADER ---- */
.loader {
  position: fixed; inset: 0;
  background: var(--fg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-name {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 32px;
}
.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto;
}
.loader-progress {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.05s linear;
}

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  height: 60px;
  border-color: var(--border);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--fg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { right: 0; }
.nav-link.active { color: var(--fg); }
.nav-link.active::after { right: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--fg); transition: all 0.3s ease; }
.nav-toggle.open span:first-child { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:last-child { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px 48px 40px;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 10px 22px;
  transition: all 0.22s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-full { width: 100%; }
.btn-primary {
  background: var(--fg);
  color: var(--white);
  border: 1px solid var(--fg);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: none;
  padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--accent); }

/* ---- ACCENT ---- */
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }

/* ---- REVEAL ANIMATIONS ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease calc(var(--delay, 0ms)), transform 0.65s ease calc(var(--delay, 0ms));
}
.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease calc(var(--delay, 0ms));
}
.revealed .reveal-up,
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.reveal-fade.in-view { opacity: 1; }

/* ---- SECTION BASE ---- */
.section { padding: 120px 0; }
.section-header {
  margin-bottom: 72px;
  max-width: 600px;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-sub {
  font-size: 16px;
  color: var(--fg-soft);
  line-height: 1.7;
  max-width: 480px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-h) 0 0;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  animation: gridFadeIn 1.2s ease 1.2s forwards;
  opacity: 0;
}

@keyframes gridFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--fg-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 48px;
  background: var(--white);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -3px;
  margin-bottom: 32px;
  color: var(--fg);
}

.heading-line {
  display: block;
  animation: lineStagger 0.8s ease backwards;
}

.heading-line:nth-child(1) { animation-delay: 0.1s; }
.heading-line:nth-child(2) { animation-delay: 0.2s; }
.heading-line:nth-child(3) { animation-delay: 0.3s; }

@keyframes lineStagger {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animated beige text line */
.hero-animated-text {
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -3px;
  color: var(--accent);
  margin-bottom: 32px;
  height: 92px;
  position: relative;
  animation: fadeUp 0.8s ease 0.4s backwards;
}

.typewriter {
  display: inline-block;
  min-height: 92px;
}

.cursor-blink {
  display: inline-block;
  width: 3px;
  height: 76px;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 0.7s step-end infinite;
  opacity: 0;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes eraseOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-soft);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-actions .btn {
  transition: all 0.3s ease;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hero-actions .btn-ghost:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Fade up animation */
.fade-up {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.hero-badge { animation-delay: 0s; }
.hero-heading { animation-delay: 0.2s; }
.hero-animated-text { animation-delay: 0.4s; }
.hero-sub { animation-delay: 0.6s; }
.hero-actions { animation-delay: 0.8s; }
.hero-stats { animation-delay: 1s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating tags */
.hero-tags {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.tag {
  position: absolute;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--fg-soft);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
}

.tag-1 {
  top: 15%;
  left: 5%;
  animation: float 6s ease-in-out infinite;
}
.tag-2 {
  top: 20%;
  right: 8%;
  animation: float 7s ease-in-out 1s infinite;
}
.tag-3 {
  bottom: 20%;
  left: 8%;
  animation: float 8s ease-in-out 0.5s infinite;
}
.tag-4 {
  bottom: 15%;
  right: 5%;
  animation: float 6.5s ease-in-out 1.5s infinite;
}

.fade-in {
  animation: fadeTagIn 0.8s ease forwards;
}

.tag-1 { animation-delay: 0.5s, 0s; }
.tag-2 { animation-delay: 0.6s, 1s; }
.tag-3 { animation-delay: 0.7s, 0.5s; }
.tag-4 { animation-delay: 0.8s, 1.5s; }

@keyframes fadeTagIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Scroll indicator animations */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 24px;
  background: var(--muted);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    height: 24px;
    opacity: 1;
  }
  50% {
    height: 12px;
    opacity: 0.5;
  }
}

.scroll-text {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.float-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  animation: float 6s ease-in-out infinite;
}
.float-badge svg { color: var(--accent); }
.float-1 { top: -16px; left: -40px; animation-delay: 0s; }
.float-2 { top: 80px; right: -40px; animation-delay: 1.5s; }
.float-3 { bottom: 100px; left: -48px; animation-delay: 3s; }
.float-4 { bottom: -16px; right: -20px; animation-delay: 4.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--fg);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-text { font-size: 10px; letter-spacing: 2px; }

/* ---- TRUST STRIP ---- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.trust-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
  letter-spacing: 0.5px;
}
.trust-sep {
  color: var(--muted);
  font-size: 18px;
}

/* ---- SERVICES ---- */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}
.service-card {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s ease;
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 36px; right: 36px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { background: var(--accent-bg); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  color: var(--accent);
  margin-bottom: 4px;
}
.service-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.service-desc {
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.65;
  flex: 1;
}
.service-price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  transition: color 0.2s ease;
}
.service-link:hover { color: var(--accent); }

/* ---- PRODUCTS ---- */
.products { background: var(--bg-alt); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

.product-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}
.product-visual {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pv-1 { background: #0f0f0e; }
.pv-2 { background: #f0f0ec; }
.pv-3 { background: #1a1a18; }
.pv-4 { background: #f5f3ef; }
.pv-5 { background: #0f0f0e; }
.product-art { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 24px 32px; gap: 8px; }

/* Heatscope bar chart */
.pv-bar {
  flex: 1;
  background: var(--accent);
  opacity: 0.8;
  border-radius: 2px 2px 0 0;
  transition: opacity 0.2s;
}
.pv-bar:nth-child(even) { opacity: 0.4; }
.pv-bar:nth-child(3) { opacity: 1; background: #ff6b6b; }

/* UX Audit circle */
.pv-2 .product-art { flex-direction: column; align-items: center; justify-content: center; padding: 0; gap: 16px; }
.pv-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 6px solid var(--border);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-bottom-color: var(--accent);
}
.pv-score {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.pv-score span { font-size: 16px; color: var(--muted); }

/* Cero chat */
.pv-3 .product-art { flex-direction: column; align-items: stretch; justify-content: center; padding: 20px 24px; gap: 8px; }
.pv-chat { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.pv-msg { padding: 8px 12px; border-radius: 10px; font-size: 11px; max-width: 80%; line-height: 1.4; }
.pv-msg-in { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); align-self: flex-start; }
.pv-msg-out { background: var(--accent); color: var(--white); align-self: flex-end; }

/* SaaS UI form */
.pv-4 .product-art { flex-direction: column; align-items: stretch; justify-content: center; padding: 20px 32px; gap: 10px; }
.pv-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.pv-field { height: 8px; background: var(--border); border-radius: 4px; width: 100%; }
.pv-field-accent { background: var(--accent); opacity: 0.7; height: 32px; border-radius: 4px; }

/* Client OS flow */
.pv-5 .product-art { flex-direction: row; align-items: center; justify-content: center; gap: 8px; }
.pv-flow { display: flex; align-items: center; gap: 8px; }
.pv-node { width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); }
.pv-node-accent { background: var(--accent); border-color: var(--accent); }
.pv-arrow { color: rgba(255,255,255,0.4); font-size: 14px; }

.product-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; }
.product-category { font-size: 11px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }
.product-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
}
.product-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.product-desc { font-size: 13px; color: var(--fg-soft); line-height: 1.65; flex: 1; }
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.product-features span {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* Product CTA card */
.product-cta {
  background: var(--fg);
  border-color: var(--fg);
}
.product-cta:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.product-cta-inner {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: center;
}
.product-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.product-cta-inner p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }
.email-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.email-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.email-input::placeholder { color: rgba(255,255,255,0.3); }
.email-input:focus { border-color: var(--accent); }

/* ---- WORK / CASE STUDIES ---- */
.work { background: var(--bg); }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--fg);
}
.work-visual {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.work-large .work-visual { height: 260px; }
.wv-1 { background: #141413; }
.wv-2 { background: #f0f0ec; }
.wv-3 { background: #0f1419; }

/* Work art */
.work-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; }
.wv-table { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6px; width: 100%; height: 100%; }
.wv-row { display: contents; }
.wv-cell { background: rgba(255,255,255,0.06); border-radius: 4px; }
.wv-header .wv-cell { height: 20px; }
.wv-accent-cell { background: var(--accent) !important; opacity: 0.9; }
.wv-dark-cell { background: rgba(255,255,255,0.12) !important; }

.wv-2 .work-art { gap: 16px; }
.wv-charts { display: flex; align-items: center; gap: 20px; }
.wv-donut {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 10px solid var(--border);
  border-top-color: var(--accent);
  border-right-color: var(--fg);
  flex-shrink: 0;
}
.wv-bars-small { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.wv-bars-small div { width: 16px; background: var(--fg); border-radius: 2px 2px 0 0; }
.wv-bars-small div:nth-child(2) { background: var(--accent); }

.wv-3 .work-art { flex-direction: column; gap: 12px; justify-content: center; }
.wv-permissions { display: flex; flex-direction: column; gap: 10px; width: 80%; }
.wv-perm-row { display: flex; align-items: center; gap: 10px; }
.wv-perm-label { width: 60px; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; flex-shrink: 0; }
.wv-perm-dot { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); }
.wv-perm-dot.active { background: var(--accent); border-color: var(--accent); }

.work-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.work-meta { display: flex; align-items: center; justify-content: space-between; }
.work-industry, .work-year { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.work-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.25; }
.work-desc { font-size: 13px; color: var(--fg-soft); line-height: 1.65; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-tags span { font-size: 11px; font-family: var(--font-mono); padding: 4px 10px; border: 1px solid var(--border); border-radius: 100px; color: var(--muted); }
.work-link { font-size: 13px; font-weight: 600; color: var(--fg); margin-top: 4px; transition: color 0.2s ease; }
.work-link:hover { color: var(--accent); }

/* ---- ABOUT ---- */
.about { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: start; }
.about-signature {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--muted);
  margin-top: 24px;
  letter-spacing: -0.5px;
}
.about-para { font-size: 16px; color: var(--fg-soft); line-height: 1.8; margin-bottom: 20px; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0; }
.about-col-title { font-size: 11px; font-family: var(--font-mono); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.about-list { display: flex; flex-direction: column; gap: 8px; }
.about-list li { font-size: 14px; color: var(--fg-soft); padding-left: 12px; border-left: 2px solid var(--border); }

/* ---- BLOG ---- */
.blog { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); border-color: var(--fg); }
.blog-visual {
  height: 224px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.bv-1 { background: #1a1a18; }
.bv-2 { background: #f0ece6; }
.bv-3 { background: #0f1825; }
.blog-cat { font-size: 10px; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; }
.blog-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-title { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.3; }
.blog-excerpt { font-size: 13px; color: var(--fg-soft); line-height: 1.65; flex: 1; }
.blog-link { font-size: 13px; font-weight: 600; color: var(--fg); margin-top: auto; transition: color 0.2s ease; }
.blog-link:hover { color: var(--accent); }
.blog-footer { text-align: center; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--bg-alt); }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.testi-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.testi-quote {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent);
  line-height: 0.6;
  margin-bottom: 8px;
}
.testi-text { font-size: 16px; color: var(--fg-soft); line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---- CONTACT ---- */
.contact { background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: start; }
.contact-sub { font-size: 16px; color: var(--fg-soft); line-height: 1.7; margin-top: 16px; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-soft);
  transition: color 0.2s ease;
}
.contact-detail:hover { color: var(--accent); }
.contact-detail svg { color: var(--accent); flex-shrink: 0; }

/* Form */
.contact-form-wrap { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.form-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  appearance: none;
}
.form-input:focus { border-color: var(--fg); background: var(--white); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9a94' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-submit { margin-top: 8px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 14px 16px;
  border-radius: var(--radius);
}
.form-success.show { display: flex; }

/* ---- FOOTER ---- */
.footer {
  background: var(--fg);
  color: var(--white);
  padding: 96px 0 48px;
  position: relative;
  overflow: hidden;
}

.footer-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  flex: 1;
}

.footer-wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--white);
  line-height: 1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-wordmark:hover {
  color: var(--accent);
}

.footer-tagline {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.footer-socials {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--accent);
}

.social-link img {
  width: 24px;
  height: 24px;
  display: block;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.social-link:hover img {
  opacity: 1;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.3px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero-heading { font-size: 60px; }
  .tag { font-size: 11px; }
  .section-title { font-size: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
  .hero-inner { padding: 60px 24px; }
  .hero-heading { font-size: 48px; letter-spacing: -2px; }
  .hero-badge { margin-bottom: 32px; }
  .hero-sub { font-size: 15px; margin-bottom: 40px; }
  .hero-stats { gap: 32px; }
  .tag { display: none; }
  .section { padding: 80px 0; }
  .section-title { font-size: 36px; letter-spacing: -1px; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-wordmark { font-size: 44px; }
  .trust-inner { gap: 12px 16px; }
  .trust-sep { display: none; }
  .about-inner { gap: 32px; }
  .about-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-inner { padding: 40px 20px; }
  .hero-heading { font-size: 38px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 24px; flex-direction: column; }
  .stat-divider { display: none; }
  .stat-num { font-size: 28px; }
  .section-title { font-size: 30px; }
  .footer-wordmark { font-size: 36px; }
  .footer-socials { gap: 16px; }
  .about-cols { grid-template-columns: 1fr; }
}
