:root {
  --ink: #172d32;
  --ink-soft: #496066;
  --cream: #f6f1e8;
  --paper: #fffcf7;
  --coral: #eb765e;
  --coral-soft: #f5c6b6;
  --blue: #5e88a0;
  --sky: #dcecf0;
  --green: #87a58d;
  --line: rgba(23, 45, 50, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.ambient { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .28; pointer-events: none; z-index: -1; }
.ambient-one { width: 420px; height: 420px; background: var(--coral-soft); top: -180px; right: -80px; }
.ambient-two { width: 360px; height: 360px; background: var(--sky); bottom: 5%; left: -180px; }

.site-header {
  width: min(1200px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 19px "Manrope", sans-serif; letter-spacing: -.5px; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(45deg); }
.brand-mark i { display: block; border-radius: 8px 8px 3px 8px; background: var(--coral); }
.brand-mark i:nth-child(2) { background: #f1b74b; }
.brand-mark i:nth-child(3) { background: var(--blue); }
.brand-mark i:nth-child(4) { background: var(--green); }
nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--coral); transition: right .25s ease; }
nav a:hover::after { right: 0; }

.button { border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { padding: 12px 19px; font-size: 13px; }
.button-dark { background: var(--ink); color: white; }
.button-primary { background: var(--coral); color: white; padding: 17px 24px; box-shadow: 0 10px 30px rgba(235,118,94,.25); }
.button-primary:hover { box-shadow: 0 14px 34px rgba(235,118,94,.36); }

.hero {
  width: min(1200px, calc(100% - 48px));
  min-height: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  padding: 70px 0 90px;
}
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; color: var(--coral); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 24px; height: 2px; background: var(--coral); }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { margin: 20px 0 24px; font-size: clamp(48px, 5.2vw, 75px); line-height: 1.03; letter-spacing: -.055em; max-width: 730px; }
.hero-lead { margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.75; max-width: 610px; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 30px; }
.text-link { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.trust-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; }
.trust-icon { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--green); font-size: 12px; }
.trust-note p { margin: 1px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.trust-note strong { color: var(--ink); }

.hero-visual { min-height: 580px; position: relative; }
.hero-art { position: absolute; overflow: hidden; border-radius: 28px; background: white; box-shadow: 0 24px 55px rgba(23,45,50,.14); border: 1px solid rgba(255,255,255,.8); }
.hero-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.art-one { width: 61%; height: 61%; top: 1%; right: 1%; transform: rotate(2deg); background: #e8f5f7; }
.art-two { width: 45%; height: 45%; left: 0; top: 24%; transform: rotate(-4deg); background: #f3f5df; }
.art-three { width: 44%; height: 43%; right: 4%; bottom: 0; transform: rotate(3deg); background: #f4eafa; }
.art-four { width: 40%; height: 39%; left: 8%; bottom: -2%; transform: rotate(-2deg); background: #fff0df; }
.hero-badge { position: absolute; z-index: 5; left: 42%; top: 43%; width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: white; box-shadow: 0 18px 45px rgba(23,45,50,.25); }
.hero-badge span, .hero-badge small { font-size: 8px; letter-spacing: .18em; opacity: .65; }
.hero-badge strong { font: 800 44px/1 "Manrope"; color: #ffca63; margin: 6px 0; }

.intro, .principles { width: min(1200px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.intro { padding: 110px 0 55px; }
.section-number { display: inline-grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; color: var(--ink-soft); margin-bottom: 25px; }
.kicker { margin: 0 0 12px; }
.intro h2, .principles h2, .access-copy h2, .closing h2 { margin: 0; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.045em; }
.section-copy { margin: 0 0 5px; color: var(--ink-soft); line-height: 1.8; font-size: 17px; max-width: 520px; }

.spaces { width: min(1200px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 110px; }
.space-card { min-height: 455px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s ease, box-shadow .3s ease; overflow: hidden; position: relative; }
.space-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -100px; top: -110px; opacity: .5; }
.space-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(23,45,50,.09); }
.space-office { background: #f7e3dc; }.space-office::after { background: #efad98; }
.space-pondok { background: #e7eee6; }.space-pondok::after { background: #a9c0a8; }
.space-assessment { background: #e7f0f3; }.space-assessment::after { background: #a9cbd4; }
.space-games { background: #f1eada; }.space-games::after { background: #ddc78e; }
.space-top { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.space-index { font-size: 11px; font-weight: 800; }
.space-icon { font-size: 32px; line-height: 1; }
.space-label { margin: 0 0 12px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); }
.space-card h3 { font-size: clamp(23px, 2.4vw, 31px); margin: 0 0 12px; letter-spacing: -.035em; line-height: 1.12; max-width: 88%; }
.space-card p:not(.space-label) { max-width: 440px; margin: 0; line-height: 1.7; color: var(--ink-soft); }
.status { align-self: flex-start; margin-top: 20px; padding: 7px 11px; border: 1px solid rgba(23,45,50,.16); border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.space-art { position: absolute; right: -20px; bottom: -22px; width: 48%; height: 48%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(23,45,50,.12)); transition: transform .35s ease; }
.space-card:hover .space-art { transform: translateY(-8px) rotate(2deg); }
.space-card > div:nth-child(2), .space-card .status { position: relative; z-index: 2; }
.space-card > div:nth-child(2) { max-width: 62%; }

.access-section { background: var(--ink); color: white; padding: 100px 24px; }
.access-panel { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr .8fr; gap: 110px; align-items: center; }
.light { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }
.access-copy p:not(.kicker) { color: rgba(255,255,255,.66); line-height: 1.8; max-width: 580px; margin: 23px 0 30px; }
.button-light { padding: 15px 22px; background: white; color: var(--ink); }
.access-flow { padding: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.04); }
.flow-step { display: flex; align-items: center; gap: 18px; }
.flow-step > span { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--coral); font-size: 11px; font-weight: 800; }
.flow-step strong, .flow-step small { display: block; }
.flow-step strong { font: 700 15px "Manrope"; }
.flow-step small { color: rgba(255,255,255,.55); margin-top: 4px; }
.flow-line { width: 1px; height: 38px; background: rgba(255,255,255,.18); margin-left: 21px; }

.principles { padding: 120px 0; align-items: start; }
.principle-list article { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.principle-list article:first-child { padding-top: 0; }
.principle-list article > span { color: var(--coral); font: 700 11px "Manrope"; }
.principle-list h3 { margin: -5px 0 7px; font-size: 25px; }
.principle-list p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

.closing { text-align: center; padding: 100px 24px 120px; background: var(--cream); }
.closing h2 { margin-bottom: 36px; }
.closing h2 em { color: var(--coral); font-style: normal; }
footer { padding: 40px max(24px, calc((100% - 1200px)/2)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; background: var(--ink); color: white; }
.brand-footer .brand-mark { color: var(--coral); }
footer p { margin: 0; color: rgba(255,255,255,.55); font-size: 12px; }

dialog { width: min(520px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 40px; color: var(--ink); background: var(--paper); box-shadow: 0 35px 100px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(11,28,31,.7); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; color: var(--ink-soft); font-size: 27px; }
.dialog-symbol { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-size: 24px; margin-bottom: 26px; }
dialog h2 { font-size: 31px; line-height: 1.2; margin: 0 0 25px; letter-spacing: -.035em; }
.dialog-options { display: grid; gap: 10px; }
.dialog-options > div { display: flex; gap: 15px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; }
.dialog-options > div > span { color: var(--coral); font-size: 10px; font-weight: 800; }
.dialog-options p, .dialog-options strong, .dialog-options small { display: block; margin: 0; }
.dialog-options small { margin-top: 4px; color: var(--ink-soft); line-height: 1.5; }
.dialog-note { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; line-height: 1.6; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .trust-note { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 560px; }
  .intro, .principles, .access-panel { grid-template-columns: 1fr; gap: 45px; }
  .spaces { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 600px) {
  .site-header, .hero, .intro, .spaces, .principles { width: min(100% - 32px, 1200px); }
  .site-header { height: 76px; }
  .site-header .button { padding: 10px 13px; }
  h1 { font-size: 43px; }
  .hero { padding-top: 48px; gap: 15px; }
  .hero-actions { flex-direction: column; gap: 20px; }
  .hero-visual { transform: scale(.86); margin: -35px -35px; }
  .spaces { padding-bottom: 75px; }
  .space-card { min-height: 470px; }
  .space-card > div:nth-child(2) { max-width: 74%; }
  .space-art { width: 58%; height: 48%; }
  .access-section { padding: 80px 18px; }
  .access-flow { padding: 25px 20px; }
  dialog { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
