:root {
  --bg: #000;
  --surface: #0e0e10;
  --surface2: #141416;
  --border: #1e1e22;
  --white: #fafafa;
  --muted: #666;
  --accent: #6e82f0;
  --accent-dim: rgba(110,130,240,0.08);
  --accent-mid: rgba(110,130,240,0.18);
  --accent-glow: rgba(110,130,240,0.25);
  --content-width: 1400px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

nav, section, div, footer { position: relative; z-index: 1; }
::selection { background: var(--accent); color: #000; }
a { color: inherit; text-decoration: none; }

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  font-weight: 400;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

#liquid-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.hero-title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 860px;
}

.hero-title .accent { color: var(--accent); }

/* WORK SECTION */
.work-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 80px 80px 100px;
}

.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 60px;
}

.filter-btn {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover {
  color: var(--white);
  border-color: rgba(110,130,240,0.3);
}

.filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}

.work-row:hover {
  opacity: 0.85;
}

.work-row:first-child {
  border-top: none;
  padding-top: 0;
}

.work-row.reverse .work-row-visual {
  order: 2;
}

.work-row.reverse .work-row-info {
  order: 1;
}

.work-row-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
  aspect-ratio: 4/3;
}

.work-row-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-row-visual:hover img {
  transform: scale(1.03);
}

.work-row-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
}

.work-row-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

.work-row-info h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.work-row-info p {
  font-size: 14px;
  color: #888;
  line-height: 1.75;
}

.work-row-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.work-row-tools img {
  height: 24px;
  width: 24px;
  object-fit: contain;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.work-row-tools img:hover { opacity: 1; }

/* SKILLS SECTION */
.skills-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 80px 120px;
}

.section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.skill-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.skill-item:hover {
  border-color: rgba(110,130,240,0.35);
  transform: translateY(-3px);
}

.skill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.skill-icon img {
  height: 24px;
  width: 24px;
  object-fit: contain;
  opacity: 0.7;
}

.skill-item h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.skill-item p {
  font-size: 12px;
  color: #777;
  letter-spacing: 0.04em;
}

/* FOOTER */
footer {
  position: relative;
  overflow: hidden;
}

.footer-gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(to bottom,
    rgba(110,130,240,0.15) 0%,
    rgba(110,130,240,0.08) 30%,
    rgba(40,30,80,0.04) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 100px 80px 80px;
  border-top: 1px solid var(--border);
}

footer h2 {
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 60px;
}

footer h2 a { color: var(--accent); }
footer h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-col p {
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 24px; }
  .hero-title { font-size: clamp(22px, 5vw, 32px); max-width: 100%; }
  .work-section { padding: 60px 24px 80px; }
  .filter-bar { gap: 8px; margin-bottom: 40px; }
  .filter-btn { font-size: 11px; padding: 8px 18px; }
  .work-row { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .work-row.reverse .work-row-visual { order: 0; }
  .work-row.reverse .work-row-info { order: 0; }
  .skills-section { padding: 0 24px 80px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .skill-item { padding: 20px 16px; }
  .about-section { padding: 60px 24px 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-aside { flex-direction: row; flex-wrap: wrap; }
  .about-card { flex: 1 1 200px; }
  .footer-content { padding: 60px 24px 40px; }
  footer h2 { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1400px) {
  .hero-content { padding: 0 100px; }
  .work-section { padding-left: 100px; padding-right: 100px; }
  .skills-section { padding-left: 100px; padding-right: 100px; }
  .about-section { padding-left: 100px; padding-right: 100px; }
  .footer-content { padding-left: 100px; padding-right: 100px; }
}

/* ABOUT PAGE */
.about-hero {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  position: relative;
  margin-top: 0;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 80px 80px 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 40px;
}

.about-text p {
  font-size: 15px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p strong {
  color: var(--white);
  font-weight: 500;
}

.about-highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 32px 0;
}

.about-highlight p {
  margin-bottom: 0;
  font-size: 14px;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 120px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  transition: border-color 0.3s;
}

.about-card:hover {
  border-color: rgba(110,130,240,0.3);
}

.about-card-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.about-card h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.about-card p {
  font-size: 13px;
  color: #777;
}

/* ── PROJECT PAGES ── */
.project-hero {
  padding: 140px 80px 80px;
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: 100px; left: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(110,130,240,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.project-hero > * { position: relative; z-index: 1; }

.project-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); text-decoration: none;
  font-size: 13px; letter-spacing: 0.04em;
  margin-bottom: 32px; transition: color 0.2s;
}
.project-back:hover { color: var(--accent); }
.project-back::before { content: '\2190'; font-size: 14px; }

.project-tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.project-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }

.project-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.0; margin-bottom: 28px;
}
.project-hero h1 em {
  font-style: normal; display: block;
  font-size: 0.5em; color: var(--muted);
  letter-spacing: 0.02em; font-weight: 600;
  margin-bottom: 6px;
}

.project-tools {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px; align-items: center;
}
.project-tools img { height: 28px; width: 28px; object-fit: contain; }

.project-quote {
  font-size: 14px; color: #888; line-height: 1.75;
  border-left: 2px solid var(--accent);
  padding-left: 20px; font-style: italic;
}

.project-cover {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(110,130,240,0.2);
  background: var(--surface);
  box-shadow: 0 0 60px rgba(110,130,240,0.08);
  aspect-ratio: 4/3;
}
.project-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.project-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 80px 100px;
}

.content-block {
  padding: 70px 0;
  border-top: 1px solid var(--border);
}

.block-header {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: 32px;
}
.block-number {
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase;
  flex-shrink: 0; padding-top: 4px; opacity: 0.8;
}
.block-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700; letter-spacing: -0.02em;
}

.block-body {
  max-width: 680px; font-size: 15px;
  color: #999; line-height: 1.8;
  margin-left: 37px;
}
.block-body p + p { margin-top: 16px; }
.block-body strong { color: var(--white); font-weight: 500; }

.callout {
  margin-left: 37px; margin-top: 24px;
  background: var(--accent-dim);
  border: 1px solid rgba(110,130,240,0.25);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 16px 20px;
  font-size: 14px; color: #aaa; line-height: 1.7;
  max-width: 680px;
}
.callout strong { color: var(--white); }

/* Product grid */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 32px;
}
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.3s, transform 0.3s;
}
.product-card:hover { border-color: rgba(110,130,240,0.35); transform: translateY(-3px); }
.product-card-img {
  width: 100%; aspect-ratio: 3/4; border-radius: 10px;
  overflow: hidden; background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-card-num { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); opacity: 0.7; }
.product-card-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.product-card-body { font-size: 13px; color: #888; line-height: 1.65; flex: 1; }

/* USP row */
.usp-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 32px;
}
.usp-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 20px; text-align: center;
  transition: border-color 0.3s;
}
.usp-card:hover { border-color: rgba(110,130,240,0.3); }
.usp-icon { font-size: 28px; margin-bottom: 12px; }
.usp-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.usp-body { font-size: 12px; color: #888; line-height: 1.6; }

/* Stat cards */
.stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-left: 37px; margin-top: 28px; max-width: 680px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: rgba(110,130,240,0.35); transform: translateY(-3px); }
.stat-num { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: #888; line-height: 1.5; }
.stat-sub { font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: 0.04em; }

/* Marketing list */
.marketing-list {
  margin-left: 37px; margin-top: 24px;
  display: flex; flex-direction: column; gap: 8px; max-width: 500px;
}
.marketing-list-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: #bbb;
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px;
  transition: border-color 0.2s;
}
.marketing-list-item:hover { border-color: rgba(110,130,240,0.25); }
.marketing-list-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; opacity: 0.7; }

/* Image grid */
.image-grid { display: grid; gap: 16px; margin-top: 32px; }
.image-grid.g-1 { grid-template-columns: 1fr; }
.image-grid.g-2 { grid-template-columns: 1fr 1fr; }
.image-grid.g-3 { grid-template-columns: 1fr 1fr 1fr; }
.image-grid-item {
  border-radius: 12px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); transition: border-color 0.3s;
}
.image-grid-item:hover { border-color: rgba(110,130,240,0.35); }
.image-grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.image-grid-item:hover img { transform: scale(1.02); }

/* Figma embed */
.figma-wrap {
  margin-top: 32px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(110,130,240,0.2); background: var(--surface);
  position: relative;
}
.figma-label { position: absolute; top: 16px; right: 16px; font-size: 11px; color: var(--accent); letter-spacing: 0.1em; z-index: 2; opacity: 0.7; }
.figma-wrap iframe { width: 100%; height: 600px; border: none; display: block; }

/* Video */
.video-wrap {
  margin-top: 32px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(110,130,240,0.2); background: #000;
}
.video-wrap video { width: 100%; display: block; max-height: 600px; object-fit: contain; }

/* Doc links */
.doc-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; margin-left: 37px; }
.doc-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--accent); font-size: 13px; font-weight: 500;
  border: 1px solid rgba(110,130,240,0.35); padding: 10px 20px;
  border-radius: 8px; background: var(--accent-dim);
  transition: background 0.2s, border-color 0.2s;
}
.doc-link:hover { background: rgba(110,130,240,0.2); border-color: var(--accent); }
.doc-link::before { content: '\2197'; font-size: 12px; opacity: 0.7; }

/* Tags */
.project-tags { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.tag { font-size: 12px; color: var(--accent); border: 1px solid rgba(110,130,240,0.3); background: var(--accent-dim); padding: 5px 12px; border-radius: 100px; letter-spacing: 0.04em; }

/* Project nav */
.project-nav-footer { border-top: 1px solid var(--border); padding: 40px 0 0; display: flex; justify-content: space-between; align-items: center; }
.project-nav-link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.project-nav-link span { font-size: 11px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.project-nav-link strong { font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; transition: color 0.2s; }
.project-nav-link:hover strong { color: var(--accent); }

/* Logo strip */
.logo-strip { max-width: var(--content-width); margin: 0 auto; padding: 0 80px 60px; }
.logo-strip img { max-height: 48px; object-fit: contain; opacity: 0.7; }

/* Fade animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

