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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--kasih-teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.8rem;
  background: var(--paper);
  color: var(--ink);
}

.skip:focus {
  top: 1rem;
}

/* ── Chrome ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  background: var(--deep-ink);
  color: var(--cloud-mist);
}

.site-header--inner {
  background: var(--paper);
  color: var(--prima-navy);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.brand small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.site-header .brand small {
  color: rgba(236, 239, 240, 0.55);
}

.site-header--inner .brand small {
  color: var(--prima-navy);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.site-footer {
  padding: 2.4rem var(--gutter) 2.8rem;
  background: var(--deep-ink);
  color: var(--cloud-mist);
}

.site-footer .wrap {
  width: min(var(--max), 100%);
}

.site-footer p {
  margin: 0 0 0.7rem;
  max-width: var(--measure);
  color: rgba(236, 239, 240, 0.78);
  font-size: var(--fs-small);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  font-size: 0.82rem;
}

/* ── Type ── */
.display {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 560;
  font-optical-sizing: auto;
  line-height: var(--lh-display);
  letter-spacing: -0.035em;
}

.display-sub {
  display: block;
  margin-top: 0.12em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.display--soft {
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
}

.display--quiz {
  font-size: clamp(2.8rem, 6.4vw, 4.85rem);
  line-height: 1.02;
}

.title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-title);
  font-weight: 500;
  line-height: var(--lh-title);
  letter-spacing: -0.02em;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: var(--measure);
  color: var(--text-body);
  font-size: var(--fs-body);
}

.meta {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.rule {
  height: 1px;
  margin: 1.6rem 0;
  background: var(--line);
  border: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn-teal {
  background: var(--kasih-teal);
  color: #1b2232;
}

.btn-teal:hover {
  filter: brightness(0.96);
}

.btn-block {
  width: 100%;
  min-height: 3.1rem;
}

.btn-ghost {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-header--inner .btn-ghost:hover {
  background: rgba(19, 63, 109, 0.05);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  margin-top: 1.5rem;
}

.text-link {
  font-size: 0.92rem;
  font-weight: 600;
}

/* ── Layout ── */
.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.page {
  padding: 3.2rem 0 5.5rem;
}

.prose {
  max-width: var(--measure);
}

.prose p,
.prose li {
  color: var(--text-body);
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.55rem;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.answer-first {
  margin: 1.15rem 0 0;
  max-width: var(--measure);
  color: var(--text-body);
  font-size: var(--fs-body);
}

.stack-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-body);
}

.stack-list li + li {
  margin-top: 0.45rem;
}

.updated {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.legal-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-small);
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.8rem var(--gutter) 6rem;
  background:
    linear-gradient(180deg, rgba(27, 34, 50, 0.42), rgba(27, 34, 50, 0.9)),
    url("../img/mesh.svg") center / cover no-repeat,
    var(--deep-ink);
  color: var(--cloud-mist);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border: 1px solid rgba(236, 239, 240, 0.08);
  border-radius: 50%;
  transform: translate(28%, -36%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3.4rem;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 22.5rem);
  gap: 2.4rem 3rem;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.hero .shell {
  width: min(var(--max), 100%);
}

.shell--full > * {
  grid-column: 1 / -1;
}

.hero-grid {
  position: relative;
  z-index: 1;
  align-items: end;
}

.hero-copy .display {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(0, 183, 206, 0.45);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--prima-navy);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.quiz-form-panel .eyebrow {
  color: var(--kasih-teal);
}

.hero .lede {
  color: rgba(236, 239, 240, 0.86);
}

.hero-panel {
  position: relative;
  z-index: 2;
  margin-bottom: -8rem;
  padding: 1.45rem 1.4rem 1.55rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-offset);
}

.hero-panel header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.hero-panel header span {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-panel header strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.object-cols {
  display: flex;
  justify-content: space-between;
  margin: 0 0 0.15rem;
  color: var(--text-muted);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  align-items: baseline;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.index-row:last-of-type {
  border-bottom: 0;
}

.index-row b {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.index-row span {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.index-row em {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hero-panel .pack-line {
  margin: 1rem 0 0;
  color: var(--text-body);
  font-size: var(--fs-small);
}

.hero-panel .panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
}

/* ── Band + sticky rail ── */
.band {
  position: relative;
  padding: 4.6rem 0 4.4rem;
}

.band--underhang {
  padding-top: 2.8rem;
  min-height: 13.5rem;
}

.band--mist {
  background: var(--cloud-mist);
}

.band--paper {
  background: var(--paper);
}

.band-grid {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr);
  gap: 1.4rem 2.2rem;
}

.rail {
  position: sticky;
  top: 5.2rem;
  align-self: start;
  padding-top: 0.2rem;
  color: var(--prima-navy);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rail b {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--prima-navy);
  font-weight: 600;
}

.rail--q {
  padding-left: 0.75rem;
  border-left: 2px solid var(--kasih-teal);
}

.band-copy {
  max-width: 42rem;
}

.band-copy .title {
  margin-bottom: 0.9rem;
}

/* ── Process spine (not cards) ── */
.spine {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.spine li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.spine b {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--prima-navy);
}

.spine strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.spine p {
  margin: 0;
  max-width: 58ch;
  color: var(--text-body);
  font-size: var(--fs-small);
}

/* ── Pack instrument ── */
.instrument {
  margin-top: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-offset);
}

.instrument-main {
  padding: 1.4rem 1.5rem 1.55rem;
}

.instrument-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.pack-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1.1rem 0 0;
}

.pack-row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  color: var(--text-body);
  font-size: var(--fs-small);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--prima-navy);
}

/* ── Exclusion inset (same elevation as other objects) ── */
.inset {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-offset);
}

.inset ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-body);
}

/* ── FAQ ── */
.faq-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.faq-list li + li {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.faq-list a {
  font-weight: 600;
}

.faq-list p {
  margin: 0.35rem 0 0;
  max-width: var(--measure);
  color: var(--text-body);
}

/* ── Product object ── */
.product-page {
  padding: 3.4rem 0 5.5rem;
}

.product-intro {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto 2.4rem;
}

.object-stage {
  position: relative;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto 3.4rem;
  padding-bottom: 1.6rem;
}

.object-stage::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 0;
  top: 2.4rem;
  bottom: 0;
  background: var(--prima-navy);
}

.product-object {
  position: relative;
  z-index: 1;
  width: min(54rem, 94%);
  margin-left: 0;
  padding: 1.7rem 1.75rem 1.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-offset);
}

.product-object .object-cols {
  margin-top: 1.15rem;
  padding-bottom: 0.35rem;
}

.object-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1rem;
}

.object-top span {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mark {
  position: relative;
  display: flex;
  gap: 0.28rem;
  align-items: flex-end;
  height: 2.55rem;
  padding-bottom: 4px;
}

.mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.mark i {
  display: block;
  width: 0.38rem;
  background: var(--prima-navy);
}

.mark--sm {
  height: 1.35rem;
}

.mark i:nth-child(1) { height: 28%; }
.mark i:nth-child(2) { height: 44%; }
.mark i:nth-child(3) { height: 62%; }
.mark i:nth-child(4) { height: 80%; }
.mark i:nth-child(5) {
  height: 100%;
  background: var(--kasih-teal);
}

.strength-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.strength-row:focus-visible {
  outline-offset: -2px;
}

.strength-row b {
  font-family: var(--font-serif);
  font-size: 2.05rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.strength-row span {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.strength-row strong {
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  color: var(--ink);
}

.object-foot {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--text-body);
  font-size: var(--fs-small);
}

/* ── Split quiz ── */
.quiz-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.9fr);
  min-height: calc(100vh - 7.5rem);
}

.quiz-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.2rem var(--gutter) 4.6rem;
  background: var(--paper);
}

.quiz-copy .lede {
  max-width: 46ch;
}

.quiz-notes {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 46ch;
  border-top: 1px solid var(--line);
}

.quiz-notes li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-body);
  font-size: var(--fs-small);
}

.quiz-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.4rem var(--gutter);
  background:
    linear-gradient(165deg, rgba(19, 63, 109, 0.88), rgba(27, 34, 50, 0.96)),
    url("../img/mesh.svg") center / cover no-repeat;
  color: var(--cloud-mist);
}

.notify-card {
  width: min(28rem, 100%);
  padding: 1.85rem 1.7rem 1.9rem;
  border: 1px solid rgba(236, 239, 240, 0.32);
  background: rgba(15, 20, 32, 0.45);
}

.notify-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cloud-mist);
}

.form {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  margin: 1.15rem 0 1rem;
}

.form label {
  font-size: var(--fs-small);
}

.form input {
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--cloud-mist);
  border-radius: var(--radius);
  background: #121826;
  color: var(--paper);
  font: inherit;
}

.form input::placeholder {
  color: #d5d9de;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr);
  gap: 2.4rem;
}

.mail-card {
  align-self: start;
  padding: 1.3rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-offset);
}

.mail-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
  font-weight: 600;
}

.hours-label {
  margin-top: 1.1rem;
}

.quiz-form-panel p,
.quiz-form-panel .meta {
  color: rgba(236, 239, 240, 0.8);
}

.notify-card .btn {
  margin: 1.25rem 0 1.1rem;
}

.notify-address {
  margin: 0.2rem 0 1rem;
  font-weight: 600;
}

.notify-address a {
  color: var(--cloud-mist);
}

/* ── Answers ── */
.answers-page .shell {
  grid-template-columns: 6.6rem minmax(0, 1fr);
}

.answers-page .rail {
  color: var(--ink);
}

.answer-beats {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.answer-beats li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 2.25rem 0 0.35rem;
  border-top: 1px solid var(--line);
}

.answer-beats b {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--prima-navy);
}

.answer-beats .title {
  margin: 0 0 0.55rem;
}

.answer-beats p {
  margin: 0;
  max-width: var(--measure);
  color: var(--text-body);
}

.faq-block {
  margin-top: 2.8rem;
}

.faq-cards {
  margin: 1.1rem 0 0;
  padding: 0 1.35rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-offset);
}

.faq-cards li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-cards li:last-child {
  border-bottom: 0;
}

.faq-cards p {
  margin: 0.3rem 0 0;
  color: var(--text-body);
}

.answers-next {
  margin-top: 2rem;
}

/* ── Mobile dock ── */
.dock {
  display: none;
}

@media (max-width: 640px) {
  .page-home .hero .actions .btn-teal {
    display: none;
  }

  .page-home {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  .dock {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 18;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: var(--deep-ink);
    border-top: 1px solid rgba(236, 239, 240, 0.12);
  }

  .dock .btn {
    width: 100%;
  }
}

/* ── Motion ── */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
}

.js .reveal.is-in {
  animation: rise 640ms var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

/* ── 1120 / tablet ── */
@media (max-width: 980px) {
  .shell,
  .hero-grid,
  .band-grid,
  .instrument,
  .contact-grid,
  .quiz-split {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin: 0;
  }

  .hero::after {
    display: none;
  }

  .rail {
    position: static;
  }

  .spine li:nth-child(even) {
    padding-left: 0;
  }

  .object-stage::before {
    left: 0;
    top: 1.4rem;
  }

  .product-object {
    width: 100%;
  }
}

/* ── 390 ── */
@media (max-width: 640px) {
  .nav {
    max-width: 58%;
    font-size: 0.7rem;
    gap: 0.45rem 0.7rem;
  }

  .hero {
    padding-top: 1.85rem;
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  .hero .display {
    font-size: clamp(2.55rem, 10.5vw, 3.15rem);
  }

  .hero .lede {
    margin-top: 0.85rem;
  }

  .hero-panel {
    padding: 0.95rem 1rem 1.05rem;
  }

  .index-row {
    padding-block: 0.5rem;
  }

  .index-row b {
    font-size: 1.28rem;
  }

  .hero-panel .pack-line {
    margin-top: 0.7rem;
  }

  .band {
    padding-top: 3.4rem;
  }

  .spine li {
    grid-template-columns: 1.8rem 1fr;
  }
}
