:root {
  --bg: #f3f5ec;
  --surface: rgba(255, 255, 255, 0.62);
  --ink: #10170f;
  --muted: #687064;
  --line: rgba(16, 23, 15, 0.12);
  --green: #255f42;
  --lime: #c8ef75;
  --lime-soft: #ddf7a6;
  --radius-lg: clamp(24px, 3vw, 42px);
  --container: min(1440px, calc(100% - 48px));
  --shadow: 0 30px 80px rgba(28, 55, 35, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 239, 117, 0.33), transparent 28rem),
    radial-gradient(circle at 92% 80%, rgba(37, 95, 66, 0.09), transparent 30rem),
    var(--bg);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 239, 117, 0.22), transparent 66%);
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

.page-shell {
  width: var(--container);
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-sizing: border-box;
}

.navbar {
  min-height: clamp(64px, 10vh, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  width: clamp(180px, 18vw, 250px);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  backdrop-filter: blur(12px);
  color: #3f493e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(37, 95, 66, .1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(24px, 5vw, 96px);
  padding-block: clamp(12px, 3.5vh, 48px);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 42px;
  height: 1px;
  background: currentColor;
}

.headline {
  margin: 0;
  max-width: 920px;
  font-size: clamp(36px, 4.8vw, 76px);
  font-weight: 700;
  letter-spacing: -.072em;
  line-height: .91;
}

.headline-line {
  display: block;
  overflow: hidden;
  padding: .05em 0 .11em;
}

.headline-word {
  display: inline-block;
}

.headline-word.accent {
  position: relative;
  color: var(--green);
}

.headline-word.accent::after {
  content: "";
  position: absolute;
  left: .04em;
  right: -.02em;
  bottom: .01em;
  height: .13em;
  z-index: -1;
  border-radius: 999px;
  background: var(--lime);
  transform: rotate(-1.8deg);
}

.intro {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.7;
}

.hero-actions {
  margin-top: clamp(16px, 2.5vh, 28px);
  display: flex;
  align-items: center;
  gap: 28px;
}

.coming-soon {
  flex: 0 0 auto;
  padding: 17px 21px;
  border-radius: 17px;
  color: white;
  background: var(--ink);
  box-shadow: 0 14px 36px rgba(16, 23, 15, .16);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.coming-soon:hover {
  transform: translateY(-2px);
  background-color: var(--green);
  box-shadow: 0 18px 42px rgba(37, 95, 66, .24);
}

.coming-label,
.coming-domain {
  display: block;
}

.coming-label {
  margin-bottom: 4px;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.coming-domain {
  font-size: 15px;
  font-weight: 700;
}

.progress-wrap {
  width: min(320px, 100%);
}

.progress-track {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(16, 23, 15, .12);
}

.progress-bar {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(0);
}

.progress-copy {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.hero-visual {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: clamp(320px, 48vh * 1.4, 580px);
  max-height: clamp(230px, 48vh, 415px);
  aspect-ratio: 1.4 / 1;
  margin-inline: auto;
  isolation: isolate;
}

.soft-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.blob-one {
  width: 72%;
  aspect-ratio: 1;
  top: 8%;
  right: 1%;
  background: var(--lime);
}

.blob-two {
  width: 45%;
  aspect-ratio: 1;
  bottom: 3%;
  left: 0;
  background: #dbe9d7;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(16, 23, 15, .13);
  border-radius: 50%;
}

.orbit-one {
  width: 86%;
  aspect-ratio: 1;
  top: 0;
  right: 0;
}

.orbit-two {
  width: 61%;
  aspect-ratio: 1;
  right: 13%;
  top: 13%;
  border-style: dashed;
}

.card-wrapper {
  position: absolute;
  width: 78%;
}

.card-first-wrapper {
  top: 5%;
  left: 2%;
}

.card-second-wrapper {
  bottom: 8%;
  right: 2%;
}

.screenshot-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-header {
  height: 22px;
  padding-inline: 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-header .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.card-header .dot.red { background: #ff5f56; }
.card-header .dot.yellow { background: #ffbd2e; }
.card-header .dot.green { background: #27c93f; }

.card-body {
  flex: 1;
  overflow: hidden;
  background: #fdfdfd;
}

.card-body img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.footer {
  min-height: clamp(50px, 8vh, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .025em;
}

.footer p {
  margin: 0;
}

.collaboration {
  text-align: right;
}

.collaboration strong {
  margin-left: 6px;
  color: var(--ink);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

@media (max-width: 1050px) {
  :root {
    --container: min(100% - 34px, 920px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: clamp(10px, 2vh, 30px);
  }

  .hero-copy {
    padding-top: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 16px;
  }

  .headline {
    max-width: 800px;
    font-size: clamp(32px, 5.5vw, 64px);
  }

  .intro {
    max-width: 580px;
    margin-top: 12px;
  }

  .hero-actions {
    margin-top: 16px;
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
    height: auto;
  }

  .visual-stage {
    min-height: 0;
    height: clamp(200px, 35vh, 320px);
    max-width: clamp(280px, 35vh * 1.4, 450px);
    aspect-ratio: 1.4 / 1;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 28px);
  }

  .navbar {
    min-height: clamp(50px, 8vh, 64px);
  }

  .brand {
    width: clamp(120px, 25vw, 150px);
  }

  .nav-status {
    padding: 6px 10px;
    font-size: 8px;
  }

  .hero {
    padding-block: clamp(8px, 1.5vh, 20px);
    gap: 12px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 8px;
  }

  .eyebrow-line {
    width: 20px;
  }

  .headline {
    font-size: clamp(26px, 8vw, 38px);
    letter-spacing: -.068em;
  }

  .intro {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 10px;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    justify-content: center;
  }

  .coming-soon {
    padding: 10px 14px;
    border-radius: 12px;
  }

  .coming-label {
    font-size: 7px;
    margin-bottom: 2px;
  }

  .coming-domain {
    font-size: 12px;
  }

  .progress-wrap {
    width: auto;
    flex: 1;
    max-width: 200px;
  }

  .progress-copy {
    margin-top: 6px;
    font-size: 9px;
  }

  .hero-visual {
    max-width: 320px;
  }

  .visual-stage {
    min-height: 0;
    height: clamp(160px, 26vh, 220px);
    max-width: clamp(220px, 26vh * 1.4, 310px);
    aspect-ratio: 1.4 / 1;
  }

  .screenshot-card {
    border-radius: 8px;
  }

  .card-header {
    height: 14px;
    padding-inline: 6px;
    gap: 3px;
  }

  .card-header .dot {
    width: 4px;
    height: 4px;
  }

  .footer {
    padding-block: clamp(10px, 2vh, 16px);
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    font-size: 9px;
  }

  .collaboration {
    text-align: right;
  }

  .collaboration strong {
    display: inline;
    margin-left: 4px;
  }
}

/* Subpage: Tentang Kami Specific Styles */

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-back:hover {
  transform: translateX(-4px);
  background-color: rgba(255, 255, 255, 0.8);
  border-color: var(--green);
}

.about-page {
  /* Allow scrolling on about page */
  overflow-y: auto !important;
  height: auto !important;
}

.about-page .page-shell {
  height: auto !important;
  max-height: none !important;
  grid-template-rows: auto auto auto;
}

.about-hero {
  padding-block: clamp(40px, 8vh, 80px);
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.about-hero .headline {
  margin-bottom: 24px;
}

.about-section {
  padding-block: clamp(48px, 8vh, 96px);
  border-top: 1px solid var(--line);
}

.section-title {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--green);
  margin-top: 0;
  margin-bottom: clamp(24px, 4vh, 48px);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 2px;
  background: var(--lime);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: flex-start;
}

.about-body p {
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 20px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--line);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--bg);
}

.timeline-year {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--muted);
}

/* Visi & Misi Cards */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.glass-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 95, 66, 0.3);
}

.card-icon {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
  display: inline-block;
}

.card-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 16px;
}

.glass-card p {
  color: var(--muted);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  margin: 0;
}

.misi-list {
  padding-left: 20px;
  margin: 0;
}

.misi-list li {
  color: var(--muted);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  margin-bottom: 12px;
}

.misi-list li:last-child {
  margin-bottom: 0;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

/* Responsive adjustments for sub-page */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/*
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .progress-bar {
    transform: scaleX(.72);
  }

  .cursor-glow {
    display: none;
  }
}
*/
