/* Mau Solusi Kreatif — tokens
   Palette named after Indonesian natural dye colors: tarum (indigo),
   kunyit (turmeric/ochre), kapas (undyed cotton/paper), soga (batik
   outline brown-black used in place of pure black). Deliberately a
   sunlit, paper-and-ink identity — the opposite register from
   Rekarta's dark, technical "cockpit" palette. */

:root {
  --kapas: #ede6d6;
  --kapas-light: #f6f2e8;
  --soga: #2b2118;
  --soga-soft: #5b5042;
  --tarum: #2a3b8f;
  --tarum-deep: #1d2a66;
  --kunyit: #c9872a;
  --garis: #d8cdb4;

  --font-display: "Zilla Slab", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --content-max: 40rem;
  --page-max: 72rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--kapas);
  color: var(--soga);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--tarum);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--tarum-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--tarum);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Header ---- */

.site-header {
  padding: 1.75rem 0 1.25rem;
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--soga);
  text-decoration: none;
}

.site-header nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--soga);
  text-decoration: none;
  border-bottom: 1.5px solid var(--garis);
}

.site-header nav a:hover {
  color: var(--tarum);
  border-color: var(--tarum);
}

.header-controls {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.lang {
  display: flex;
  gap: 0.6rem;
}

.lang__opt {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--garis);
}

.lang__opt:hover {
  color: var(--tarum);
}

.lang__opt[aria-pressed="true"] {
  color: var(--soga);
}

/* ---- Hero ---- */

.hero {
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 7vw, 5rem);
}

.hero__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 1.75rem;
}

.hero__name span {
  display: block;
}

.hero__name .is-accent {
  color: var(--tarum);
}

.hero__lede {
  max-width: var(--content-max);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--soga-soft);
  margin: 0;
}

.hero__lede strong {
  color: var(--soga);
  font-weight: 600;
}

/* ---- Section rhythm ---- */

section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--garis);
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1.25rem;
}

.section__body {
  max-width: var(--content-max);
}

.section__body p {
  margin: 0 0 1.1em;
}

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

/* ---- Product feature ---- */

.product {
  background: var(--kapas-light);
  border: 1px solid var(--garis);
  border-radius: 2px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--content-max);
}

.product__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0;
}

.product__status {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--kunyit);
  border: 1px solid var(--kunyit);
  border-radius: 2px;
  padding: 0.15rem 0.5rem;
  width: fit-content;
}

.product p {
  margin: 0;
  color: var(--soga-soft);
}

.product__parts {
  margin: 0.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--garis);
}

.product__part {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--garis);
}

.product__part:last-child {
  border-bottom: none;
}

.product__part dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--soga);
  margin: 0;
}

.product__part dd {
  margin: 0;
  color: var(--soga-soft);
}

.product__note {
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 26rem) {
  .product__part {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ---- Contact ---- */

.contact__email {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--garis);
  padding: 1.75rem 0 2.5rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--soga-soft);
}

@media (max-width: 30rem) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
