:root {
  --ink: #eef6f0;
  --ink-soft: #a9b9ae;
  --ink-muted: #74867b;
  --bg: #07120d;
  --bg-soft: #0b1811;
  --panel: #0d1d15;
  --line: rgba(213, 241, 222, .13);
  --lime: #b7f34a;
  --green: #30d47f;
  --cyan: #62d9cf;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--lime); color: #07120d; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled { height: 70px; background: rgba(7,18,13,.9); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 160px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: .875rem; font-weight: 600; }
.site-nav a { text-decoration: none; color: #d8e5dc; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--lime); }
.nav-cta { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; }
.menu-button { display: none; }

.hero { position: relative; min-height: 820px; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero-image, .hero-wash, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.05); }
.hero-wash { background: linear-gradient(90deg, rgba(4,12,8,.98) 0%, rgba(4,12,8,.88) 31%, rgba(4,12,8,.35) 65%, rgba(4,12,8,.08) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero-grid { opacity: .12; background-image: linear-gradient(rgba(183,243,74,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(183,243,74,.14) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.hero-content { position: relative; z-index: 2; width: min(760px, calc(100% - 48px)); margin: 3rem max(24px, calc((100vw - var(--max)) / 2)) 0; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.5rem; color: var(--lime); font-family: "DM Mono", monospace; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; }
h1 { max-width: 850px; margin: 0; font-size: clamp(3.8rem, 7.1vw, 7rem); line-height: .96; letter-spacing: -.07em; font-weight: 600; }
h1 em { color: var(--lime); font-style: normal; }
.hero-lede { max-width: 610px; margin: 2rem 0 0; color: #c0cec4; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 52px; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #08110c; }
.button-primary:hover, .button-primary:focus-visible { background: #cdfd72; }
.button-quiet { border-color: rgba(255,255,255,.22); background: rgba(6,17,11,.35); backdrop-filter: blur(8px); }
.button-quiet:hover, .button-quiet:focus-visible { border-color: var(--lime); }
.hero-note { position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 2.5rem; display: flex; gap: 2rem; color: rgba(238,246,240,.6); font-family: "DM Mono", monospace; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 8rem 0; }
.section-kicker { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); color: var(--ink-muted); font-family: "DM Mono", monospace; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.section-kicker p { margin: 0; }
.intro-copy { display: grid; grid-template-columns: 1.5fr .7fr; gap: 4rem; align-items: end; padding: 4.5rem 0 5rem; }
.display-copy { margin: 0; max-width: 820px; font-size: clamp(2rem, 4vw, 4.25rem); line-height: 1.12; letter-spacing: -.055em; font-weight: 500; }
.display-copy strong { color: var(--lime); font-weight: 500; }
.support-copy { margin: 0; color: var(--ink-soft); }

.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.product-card { position: relative; min-height: 570px; padding: 1.4rem; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.product-sarang, .product-renjer, .product-monitor { grid-column: span 4; }
.product-sarang { background: linear-gradient(145deg, #10261b, #0a1710 70%); }
.card-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.product-number { color: var(--ink-muted); font-family: "DM Mono", monospace; font-size: .75rem; }
.status { padding: .35rem .55rem; border: 1px solid rgba(213,241,222,.28); border-radius: 999px; background: rgba(7,18,13,.9); color: #dbe8de; font-family: "DM Mono", monospace; font-size: .65rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(8px); }
.status-live { border-color: rgba(183,243,74,.25); background: rgba(183,243,74,.08); color: var(--lime); }
.status-live::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: .4rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); vertical-align: 1px; }
.product-content { position: relative; z-index: 2; margin-top: auto; }
.product-visual { position: absolute; inset: 0 0 auto; height: 340px; overflow: hidden; }
.product-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,18,13,.04) 35%, var(--panel) 100%); content: ""; }
.product-sarang .product-visual::after { background: linear-gradient(180deg, rgba(7,18,13,.02) 32%, #0b1a12 100%); }
.product-visual img { position: absolute; max-width: none; height: 100%; display: block; object-fit: cover; transition: transform .7s ease; }
.product-sarang .product-visual img { left: 0; width: 300%; }
.product-renjer .product-visual img { left: -100%; width: 300%; }
.product-monitor .product-visual img { left: -200%; width: 300%; }
.product-card:hover .product-visual img { transform: scale(1.015); }
.product-type { margin: 0 0 .55rem; color: var(--green); font-family: "DM Mono", monospace; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.product-card h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1; letter-spacing: -.05em; }
.product-card p:not(.product-type) { color: var(--ink-soft); }
.text-link { display: inline-flex; gap: .6rem; margin-top: 1rem; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 700; }
.text-link:hover, .text-link:focus-visible { color: var(--lime); }
.text-link-muted { color: var(--ink-muted); }

.approach { padding-top: 4rem; }
.approach-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7rem; padding-top: 5rem; }
.approach-title { position: sticky; top: 120px; align-self: start; }
.approach-title h2, .closing h2 { margin: 0; font-size: clamp(3rem, 6vw, 6rem); line-height: .98; letter-spacing: -.065em; font-weight: 600; }
.principles { list-style: none; margin: 0; padding: 0; }
.principles li { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
.principles li > span { color: var(--lime); font-family: "DM Mono", monospace; font-size: .7rem; }
.principles h3 { margin: -.4rem 0 .5rem; font-size: 1.45rem; letter-spacing: -.03em; }
.principles p { max-width: 500px; margin: 0; color: var(--ink-soft); }

.closing { margin-bottom: 7rem; padding: 6rem; border: 1px solid var(--line); background: radial-gradient(circle at 80% 20%, rgba(183,243,74,.13), transparent 30%), linear-gradient(135deg, #102219, #09150f); }
.closing h2 { max-width: 800px; }
.closing > p:not(.eyebrow) { max-width: 600px; margin: 2rem 0; color: var(--ink-soft); font-size: 1.1rem; }
footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 2rem 0 3rem; display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: .8rem; }
footer p { margin: 0; }
.footer-projects { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.footer-projects a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.footer-projects a:hover, .footer-projects a:focus-visible { color: var(--lime); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { height: 72px; }
  .menu-button { display: grid; gap: 5px; padding: 10px; border: 0; background: transparent; }
  .menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 24px 1.5rem; background: rgba(7,18,13,.97); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem 0; }
  .nav-cta { border: 0; border-radius: 0; }
  .hero { min-height: 760px; }
  .hero-image { object-position: 62% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(4,12,8,.96), rgba(4,12,8,.6) 75%, rgba(4,12,8,.25)), linear-gradient(0deg, var(--bg), transparent 35%); }
  .hero-note { display: none; }
  .intro-copy { grid-template-columns: 1fr; gap: 2rem; }
  .support-copy { max-width: 620px; }
  .product-sarang, .product-renjer, .product-monitor { grid-column: span 12; }
  .approach-layout { grid-template-columns: 1fr; gap: 3rem; }
  .approach-title { position: static; }
  .closing { padding: 4rem; }
  footer { grid-template-columns: 1fr auto; }
  .footer-projects { grid-column: 1 / -1; grid-row: 2; }
  .copyright { text-align: right; }
}

@media (max-width: 640px) {
  .brand img { width: 140px; }
  .hero-content { width: calc(100% - 36px); margin-left: 18px; margin-right: 18px; }
  h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .section { width: calc(100% - 36px); padding: 5.5rem 0; }
  .intro-copy { padding: 3rem 0; }
  .display-copy { font-size: 2.35rem; }
  .product-grid { display: block; }
  .product-card { min-height: 520px; margin-bottom: 1rem; }
  .closing { width: calc(100% - 36px); padding: 3rem 1.5rem; }
  footer { width: calc(100% - 36px); }
  .footer-projects { gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
