/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f0f0ee;
  --white: #ffffff;
  --ink: #1a1a1a;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --pad-x: clamp(24px, 5vw, 56px);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Hero / Navbar ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-video {
    object-position: left center;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(240,240,238,1) 0%, rgba(240,240,238,0.5) 45%, rgba(240,240,238,0) 100%),
    linear-gradient(to right, rgba(240,240,238,0.85) 0%, rgba(240,240,238,0) 60%);
}

.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px 0;
}
.logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  flex-shrink: 0;
  padding: 10px 20px;
  background: #EDEDED;
  border-radius: 12px;
}
.links-pill {
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 12px;
  padding: 10px 24px;
  background: #EDEDED;
}
.links-pill a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
}
.links-pill a:hover { color: var(--gray-900); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  border: 1px solid #93c5fd;
  border-radius: 999px;
  padding: 8px 18px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Mobile nav */
@media (max-width: 640px) {
  .navbar { flex-wrap: wrap; gap: 8px; }
  .links-pill { order: 3; width: 100%; justify-content: center; gap: 16px; padding: 8px 12px; }
  .links-pill a { font-size: 12px; }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 70px);
  padding: 0 var(--pad-x) 64px;
}
.hero-text { max-width: 520px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 16px;
  transition: color 0.2s;
}
.hero-badge:hover { color: var(--gray-900); }
.hero-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-900);
  border: 1px solid var(--gray-900);
  border-radius: 999px;
  padding: 12px 24px;
  transition: all 0.2s;
}
.hero-cta:hover { background: var(--gray-900); color: #fff; }

/* ===== Section common ===== */
section { padding: 96px 0; }
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  max-width: 720px;
}
.section-sub {
  margin-top: 16px;
  font-size: 15px;
  color: var(--gray-600);
  max-width: 600px;
}

/* ===== About ===== */
.about { background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.about-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.about-h {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.about-p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.team-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.06); transform: translateY(-2px); }
.team-avatar {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.team-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.team-desc {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
}

/* ===== Work ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.work-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s, transform 0.3s;
}
.work-item:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.work-img-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--gray-200);
}
.work-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.work-item:hover .work-img-wrap img { transform: scale(1.05); }
.work-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-900);
  opacity: 0;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.work-item:hover .work-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-info { padding: 16px 18px; }
.work-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.work-info p {
  font-size: 12px;
  color: var(--gray-500);
}

/* Mobile: 4 rows x 2 cols */
@media (max-width: 768px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
}

/* ===== Contact ===== */
.contact { background: var(--white); border-top: 1px solid var(--gray-200); }
.contact-card {
  background: var(--gray-900);
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
}
.contact-card .section-label { color: var(--gray-400); }
.contact-card .section-title { color: #fff; }
.contact-sub { margin-top: 12px; font-size: 14px; color: var(--gray-300); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--gray-200);
  transition: color 0.2s;
}
a.contact-item:hover { color: #fff; }
.contact-item svg { color: var(--gray-400); flex-shrink: 0; }
@media (max-width: 768px) {
  .contact-card { padding: 40px 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-100);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.copyright { font-size: 12.5px; color: var(--gray-500); }
.icp-link {
  font-size: 12.5px;
  color: var(--gray-500);
  transition: color 0.2s;
}
.icp-link:hover { color: var(--gray-800); }
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; text-align: center; }
}
