/* ==========================================================================
   InnovationLabs — innovationlabs.co.id
   Vanilla CSS, tanpa framework.
   ========================================================================== */

:root {
  --ink: #101418;
  --ink-soft: #4b5563;
  --ink-faint: #9ca3af;
  --paper: #ffffff;
  --paper-warm: #f7f8fa;
  --line: #e5e8ec;
  --accent: #1d6ff2;
  --accent-ink: #144fb0;
  --accent-soft: #e8f0fe;
  --dark: #0f172a;
  --dark-2: #16213b;
  --radius: 18px;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typographic primitives ---------- */

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  max-width: 22ch;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.kicker-light { color: #8ab4ff; }

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

.section-head { margin-bottom: 48px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(29, 111, 242, 0.55);
}
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-2px); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--dark);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.brand-text {
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.brand-text em { font-style: normal; color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-links .nav-cta {
  color: #fff;
  background: var(--dark);
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-links .nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* burger — CSS only */
.nav-toggle { display: none; }
.nav-burger { display: none; }

@media (max-width: 820px) {
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
  .nav-links .nav-cta { text-align: center; margin-top: 8px; }

  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--accent-soft), transparent 60%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 460px at 75% 20%, rgba(0,0,0,0.5), transparent 75%);
  -webkit-mask-image: radial-gradient(700px 460px at 75% 20%, rgba(0,0,0,0.5), transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-top: 84px;
  padding-bottom: 84px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 17ch;
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-stats dd {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.hero-visual { justify-self: end; }

.hero-visual img {
  width: min(100%, 430px);
  height: auto;
  animation: float 7s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-visual img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   MEDIA STRIP
   ========================================================================== */

.media-strip {
  border-block: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 30px 0;
}

.media-strip .container {
  display: flex;
  align-items: center;
  gap: 20px 40px;
  flex-wrap: wrap;
}

.media-label {
  font-size: 0.82rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

.media-logos {
  display: flex;
  align-items: center;
  gap: 20px 36px;
  flex-wrap: wrap;
}

.media-logos img {
  height: 26px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.3s var(--ease);
}
.media-logos img:hover { filter: grayscale(0) opacity(1); }

.media-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-faint);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   TENTANG
   ========================================================================== */

.about { padding: 96px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.about-copy p { color: var(--ink-soft); margin-top: 18px; max-width: 58ch; }
.about-copy h2 { margin-top: 4px; }

.about-facts {
  background: var(--dark);
  color: #e8ecf4;
  border-radius: var(--radius);
  padding: 34px 32px;
}

.about-facts h3 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8ab4ff;
  margin-bottom: 20px;
}

.about-facts dl > div {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.about-facts dt {
  font-size: 0.78rem;
  color: #93a1bd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.about-facts dd { font-size: 0.95rem; line-height: 1.5; }

/* ==========================================================================
   LAYANAN
   ========================================================================== */

.services {
  padding: 96px 0;
  background: var(--paper-warm);
  border-block: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  border-color: #cfd6df;
  box-shadow: 0 18px 36px -20px rgba(16, 20, 24, 0.18);
}

.service-wide { grid-column: span 2; }

.service-icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 18px;
}

.service h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: 0.94rem; max-width: 70ch; }

/* ==========================================================================
   PORTOFOLIO
   ========================================================================== */

.portfolio { padding: 96px 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.work {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.work:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -24px rgba(16, 20, 24, 0.22);
}

.work-featured { grid-column: span 2; }

.work-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.work-wide figure { height: 100%; aspect-ratio: auto; }

.work-wide .work-body { padding: 32px 36px; }

.work figure {
  overflow: hidden;
  aspect-ratio: 1732 / 1244;
  background: var(--paper-warm);
}

.work-featured figure { aspect-ratio: auto; max-height: 460px; }

.work figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.work:hover figure img { transform: scale(1.03); }

/* cover tipografis untuk proyek tanpa tangkapan layar publik */
.work figure.work-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 34px 38px;
  background:
    radial-gradient(420px 300px at 82% 18%, rgba(29, 111, 242, 0.4), transparent 70%),
    linear-gradient(160deg, var(--dark-2), var(--dark));
}

.work figure.work-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.cover-icon {
  width: 46px;
  height: 46px;
  color: #8ab4ff;
}
.cover-icon svg { width: 100%; height: 100%; }

.cover-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.94);
}

.cover-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #93a1bd;
}

.work p a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.work p a:hover { text-decoration: underline; }

.work-body { padding: 24px 26px 28px; }

.work-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.work-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.work-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.work h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.work p { color: var(--ink-soft); font-size: 0.94rem; max-width: 72ch; }

/* ---------- Timeline ---------- */

.timeline { margin-top: 72px; }

.timeline-title {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.timeline ol { list-style: none; }

.timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.tl-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.timeline p { color: var(--ink-soft); font-size: 0.95rem; }
.timeline strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   KLIEN
   ========================================================================== */

.clients {
  padding: 96px 0;
  background: var(--paper-warm);
  border-block: 1px solid var(--line);
}

.clients-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.clients-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 26px 30px;
  min-height: 104px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.clients-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px rgba(16, 20, 24, 0.2);
}

.clients-grid img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.62);
  transition: filter 0.3s var(--ease);
}

.clients-grid li:hover img { filter: grayscale(0) opacity(1); }

.clients-grid img.logo-sq { max-height: 78px; }

/* ==========================================================================
   FOUNDER
   ========================================================================== */

.founder { padding: 96px 0; }

.founder-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: center;
}

.founder-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(340px 300px at 20% 12%, rgba(29, 111, 242, 0.35), transparent 70%),
    linear-gradient(160deg, var(--dark-2), var(--dark));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.founder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.founder-mono {
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.founder-role-chip {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #dbe4f5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.founder-copy h2 { margin-bottom: 4px; }

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.founder-copy > p { color: var(--ink-soft); margin-bottom: 16px; max-width: 58ch; }

.founder-points {
  list-style: none;
  margin-top: 10px;
}

.founder-points li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}

.founder-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   KONTAK
   ========================================================================== */

.contact {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(29, 111, 242, 0.28), transparent 65%),
    var(--dark);
  color: #e8ecf4;
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.contact h2 { color: #fff; }

.contact-copy > p {
  color: #aab6cd;
  margin: 16px 0 28px;
  max-width: 44ch;
}

.contact-details {
  font-style: normal;
  display: grid;
  gap: 28px;
}

.contact-details h3 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8ab4ff;
  margin-bottom: 6px;
}

.contact-details p { color: #c4cede; font-size: 0.97rem; }

.contact-details a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.contact-details a:hover { text-decoration: underline; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer p { color: #8b97ad; font-size: 0.85rem; }

.footer-domain { color: #c4cede; font-weight: 600; }

.footer-legal { font-family: var(--font-mono); font-size: 0.75rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero-visual { justify-self: center; order: -1; }
  .hero-visual img { width: min(70%, 340px); margin: 0 auto; }

  .about-grid,
  .founder-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .founder-card { max-width: 420px; }
}

@media (max-width: 768px) {
  .about, .services, .portfolio, .clients, .founder, .contact { padding: 64px 0; }

  .services-grid,
  .portfolio-grid { grid-template-columns: 1fr; }

  .service-wide,
  .work-featured,
  .work-wide { grid-column: auto; }

  .work-wide { display: block; }
  .work-wide figure { aspect-ratio: 1732 / 1244; }

  .clients-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
