:root {
  --indigo: #2E2A6B;
  --indigo-deep: #232057;
  --indigo-soft: #4A4590;
  --peach: #F4A985;
  --peach-soft: #F9CDB7;
  --cream: #FBF3EC;
  --white: #FFFFFF;
  --ink: #2E2A6B;
  --ink-muted: #5E5A8C;

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 5vw, 64px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; max-width: 18ch; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

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

.eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach);
}
.eyebrow--indigo { color: var(--indigo-soft); }

.container { max-width: 1120px; margin: 0 auto; }

.section { padding: clamp(72px, 10vw, 120px) var(--gutter); }
.section--cream { background: var(--cream); }
.section--indigo { background: var(--indigo); color: var(--white); }
.section--peach { background: var(--peach); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--peach { background: var(--peach); color: var(--indigo); }
.btn--peach:hover { background: var(--peach-soft); }
.btn--ghost { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--peach); color: var(--peach); }

:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
}
.nav__logo img { width: 112px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav__links a:hover { color: var(--peach); }
.nav__links .nav__cta {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--indigo);
  background: var(--peach);
}
.nav__links .nav__cta:hover { color: var(--indigo); background: var(--peach-soft); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 120px var(--gutter) 72px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(1200px 500px at 50% 110%, rgba(244,169,133,.12), transparent 70%),
    var(--indigo);
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero__sub {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.78);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.wave {
  width: 100vw;
  height: clamp(130px, 20vw, 200px);
}
.wave canvas { width: 100%; height: 100%; display: block; }

.tuner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tuner__head { display: flex; align-items: center; gap: 8px; }
.tuner__hint { font-size: 14px; color: rgba(255,255,255,.6); }

.mute {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.mute:hover { color: var(--peach); background: rgba(255,255,255,.14); }
.mute__off { display: none; }
.mute[aria-pressed="false"] .mute__waves { display: none; }
.mute[aria-pressed="false"] .mute__off { display: inline; }
.tuner__keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tuner__status { min-height: 1.6em; font-size: 15px; font-weight: 600; color: var(--peach-soft); }

.key {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.key:hover { background: rgba(255,255,255,.14); }
.key__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.key[aria-pressed="true"] {
  color: var(--indigo);
  background: var(--peach);
  box-shadow: none;
}
.key[aria-pressed="true"] .key__dot { background: var(--indigo); }
.tuner:not(.is-touched) .key { animation: nudge 2.4s ease-in-out infinite; }
.tuner:not(.is-touched) .key:nth-child(2) { animation-delay: .3s; }
.tuner:not(.is-touched) .key:nth-child(3) { animation-delay: .6s; }
@keyframes nudge {
  0%, 70%, 100% { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }
  80% { box-shadow: inset 0 0 0 1.5px var(--peach), 0 0 0 6px rgba(244,169,133,.15); }
}

/* Filosofi */
.philosophy {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.philosophy__intro h2 { margin-bottom: 24px; }
.philosophy__intro h2 em { font-style: normal; color: var(--peach); }
.philosophy__intro > p { color: var(--ink-muted); max-width: 52ch; }

.note-reveal {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 36px 0 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--indigo);
  color: rgba(255,255,255,.85);
  max-width: 460px;
}
.note-reveal img { width: 44px; flex: none; animation: bob 3s ease-in-out infinite; }
.note-reveal figcaption { font-size: 15px; }
.note-reveal strong { color: var(--peach); }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }

.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pillar {
  position: relative;
  padding: 24px 24px 24px 76px;
  border-radius: var(--radius);
  background: var(--white);
}
.pillar__num {
  position: absolute;
  left: 24px; top: 26px;
  font-size: 14px;
  font-weight: 800;
  color: var(--peach);
}
.pillar h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.pillar small { font-size: 13px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0; }
.pillar p { color: var(--ink-muted); font-size: 16px; }

/* Layanan */
#layanan h2 { margin-bottom: 48px; }
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform .25s ease, background-color .25s ease;
}
.service h3 { margin: 24px 0 10px; }
.service p { font-size: 15px; color: var(--ink-muted); }
.service:hover { transform: translateY(-4px); background: var(--peach-soft); }

/* Equalizer kecil yang ikut "berbunyi" saat hover */
.eq { display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.eq i {
  width: 8px;
  height: calc(var(--h) * 100%);
  border-radius: 4px;
  background: var(--indigo);
  transform-origin: bottom;
}
.eq i:nth-child(2) { background: var(--peach); }
.service:hover .eq i { animation: eq .9s ease-in-out infinite alternate; }
.service:hover .eq i:nth-child(2) { animation-delay: -.3s; background: var(--indigo); }
.service:hover .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

/* Karya */
#karya h2 { margin-bottom: 48px; }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.work__media { aspect-ratio: 1024 / 500; background: #2B3A5C; overflow: hidden; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work:hover .work__media img { transform: scale(1.03); }

.work__media--todo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 5%, 40px);
  background: #15171C;
}
.work__media--todo .todo-mark { width: 34%; height: auto; flex: none; }
.work:hover .work__media--todo .todo-mark { transform: none; }
.todo-mock {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  width: min(58%, 260px);
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.todo-mock li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
  overflow: hidden;
}
.todo-mock i {
  flex: none;
  width: 14px; height: 14px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4);
}
.todo-mock .is-done { color: rgba(255,255,255,.4); text-decoration: line-through; }
.todo-mock .is-done i { background: #A8E6BE; box-shadow: none; }
.todo-mock b { margin-left: auto; font-size: 11px; font-weight: 700; color: #A8E6BE; }

.work__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 28px; }
.work__tags { font-size: 13px; font-weight: 700; color: var(--peach); letter-spacing: .02em; }
.work__body h3 { font-size: 26px; }
.work__body > p:not(.work__tags) { font-size: 15px; color: var(--ink-muted); }
.work__link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--indigo);
  text-decoration: none;
}
.work__link:hover { color: var(--peach); }

/* Proses: paranada */
#proses h2 { margin-bottom: 56px; }
.staff {
  --line: rgba(255,255,255,.14);
  --gap: 18px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.staff::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: calc(var(--gap) * 4 + 1px);
  background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px var(--gap));
}
.step { position: relative; padding-top: calc(var(--gap) * 4 + 40px); }
.step h3 { margin-bottom: 8px; color: var(--peach); }
.step p { font-size: 15px; color: rgba(255,255,255,.72); }

/* Not = lingkaran + batang tegak di kanan, persis huruf d */
.note {
  position: absolute;
  left: 8px;
  top: calc(var(--gap) * (4 - var(--lift)) - 9px);
  width: 22px; height: 18px;
  border-radius: 50%;
  background: var(--peach);
  transform: rotate(-18deg);
}
.note::after {
  content: "";
  position: absolute;
  right: 0; bottom: 50%;
  width: 3.5px; height: 46px;
  border-radius: 2px;
  background: var(--peach);
  transform: rotate(18deg);
  transform-origin: bottom;
}

/* Kontak */
.contact { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact h2 { max-width: 16ch; margin-bottom: 14px; }
.contact > p { color: var(--indigo-soft); font-size: 18px; }
.contact__email { margin-top: 28px; font-weight: 600; font-size: 15px !important; }

.sonar {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px; height: 168px;
  margin-top: 44px;
  border-radius: 50%;
  text-decoration: none;
  background: var(--indigo);
  color: var(--peach);
  transition: transform .25s ease;
}
.sonar:hover { transform: scale(1.05); }
.sonar__label { position: relative; font-weight: 800; font-size: 17px; }
.sonar__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--indigo);
  animation: ping 2.6s cubic-bezier(.2,.6,.4,1) infinite;
}
.sonar__ring:nth-child(2) { animation-delay: 1.3s; }
@keyframes ping {
  from { transform: scale(1); opacity: .6; }
  to { transform: scale(1.9); opacity: 0; }
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 32px var(--gutter);
  background: var(--indigo-deep);
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand span {
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.2);
  font-weight: 600;
  color: var(--peach-soft);
}

/* Responsif */
@media (max-width: 960px) {
  .philosophy { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: 1fr; }
  .staff { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .staff::before { display: none; }
  .step { padding-top: 0; padding-left: 52px; }
  .note { top: 30px; left: 6px; }
}

@media (max-width: 600px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .services, .staff { grid-template-columns: 1fr; }
  .work__media--todo { aspect-ratio: auto; padding: 28px 20px; gap: 16px; }
  .todo-mock { font-size: 12px; }
  .todo-mock b { display: none; }
  .hero { gap: 22px; }
  .footer { justify-content: center; text-align: center; }
}

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