/* Altura corporate identity v1.0 — palet Deep Teal, tipografi Inter (400 / 500). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/altura/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/altura/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #0F5964;
  --sage: #9BB8A5;
  --paper: #F7F9F6;
  --slate: #183137;
  --gold: #C4A46A;
  --tint: #E9EFEB;
  --muted: #566B70;
  --line: #D3DED7;
  --logo: #045361; /* warna piksel aset logo di PDF */
  --radius: 6px;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

h1, h2, h3 { font-weight: 400; text-wrap: balance; }

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--slate);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--teal);
}

.lead {
  max-width: 34rem;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--teal);
  color: #fff;
  border-radius: 4px;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Ikon Lucide (sprite lokal di img/icons.svg) */

.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding-block: 14px;
}

.brand { margin-right: auto; }
.brand img { width: 150px; }

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav a {
  padding-block: 6px;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--teal); }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.lang-switch button {
  margin: 0;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}
.lang-switch button:hover { color: var(--teal); }
.lang-switch button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.lang-switch button:focus-visible { outline-offset: -3px; }
.lang-switch button[aria-pressed="true"]:focus-visible { outline-color: #fff; }

@media (max-width: 540px) {
  .site-nav { order: 3; width: 100%; gap: 24px; }
}

/* Tombol */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}
.btn:hover { background: #0B4650; }

/* Hero */

.hero {
  padding-top: clamp(40px, 7vw, 96px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 6.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--teal);
}

.hero .btn { margin-top: 36px; }

/* Logo dari garis: garis sage naik dari bawah, lalu melebur menjadi logo solid.
   Aset logo menjadi mask, jadi bentuk akhirnya persis logo asli. */

.hero-logo {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 900 / 274;
  justify-self: end;
}
@media (max-width: 860px) {
  .hero-logo { justify-self: start; }
}

.hero-logo-static { width: 100%; height: auto; }

.hero-logo-lines { position: absolute; inset: 0; display: none; }

.hero-logo.is-lines .hero-logo-static { visibility: hidden; }
.hero-logo.is-lines .hero-logo-lines {
  display: flex;
  -webkit-mask: url("/altura/img/logo.png") center / 100% 100% no-repeat;
  mask: url("/altura/img/logo.png") center / 100% 100% no-repeat;
}

.hero-logo-lines span { position: relative; flex: 1; }
.hero-logo-lines span::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 44%;
  margin: 0 auto;
  background: var(--sage);
  transform-origin: 50% 100%;
  animation:
    rise 0.9s cubic-bezier(0.3, 0, 0.2, 1) var(--d) both,
    merge 0.6s ease-in-out 2.35s both;
}

@keyframes rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes merge {
  to { width: calc(100% + 1px); background-color: var(--logo); }
}

/* Kurva abstrak: elemen pendukung, bukan logo (panduan hal. 5). */

.curve-wrap {
  overflow: hidden;
  margin-block: clamp(32px, 5vw, 64px) 0;
}

.curve {
  display: block;
  position: relative;
  left: 50%;
  width: max(100%, 840px);
  height: auto;
  transform: translateX(-50%);
}

.curve path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
  animation: draw 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.curve .curve-sage { stroke: var(--sage); stroke-width: 12; animation-delay: 1.6s; }
.curve .curve-gold { stroke: var(--gold); stroke-width: 3; animation-delay: 1.95s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .curve path { animation: none; stroke-dashoffset: 0; }
}

.pillars {
  padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
}
.pillars-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(24px, 6vw, 96px);
  font-size: 1.125rem;
  font-weight: 500;
}
.pillars-list li { display: flex; align-items: center; gap: 10px; }
.pillars .icon { color: var(--sage); }
.pillars p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
}
@media (max-width: 540px) {
  .pillars-list { flex-direction: column; }
}

/* Section */

.section {
  padding-block: clamp(64px, 9vw, 120px);
  scroll-margin-top: 72px;
}

.section-follow { padding-top: 0; }

.section-teal { background: var(--teal); color: #fff; }
.section-teal h2,
.section-teal h3 { color: #fff; }
.section-teal .lead,
.section-teal p { color: rgba(255, 255, 255, 0.88); }
.section-teal :focus-visible { outline-color: #fff; }

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}
.points li:last-child { border-bottom: 1px solid var(--line); }
.points .icon { width: 1.75rem; height: 1.75rem; margin-top: 2px; color: var(--teal); }
.points p { max-width: 36rem; margin-top: 8px; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 6vw, 72px);
}
.principles li {
  padding-top: 24px;
  border-top: 1px solid rgba(155, 184, 165, 0.7);
}
.principles .icon { display: block; width: 1.75rem; height: 1.75rem; margin-bottom: 16px; color: var(--sage); }
.principles p { margin-top: 12px; }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
}

.empty {
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--tint);
}
.empty h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.empty p { max-width: 36rem; margin-top: 12px; }

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 49, 55, 0.14);
}
.topics li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); }
.topics .icon { color: var(--teal); }

.contact-list > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--teal); }
.contact-list dd { margin: 0; color: var(--muted); }

/* Footer */

.site-footer {
  padding-block: clamp(40px, 6vw, 64px) 28px;
  background: var(--tint);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand img { width: 150px; }

.legal-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--teal);
}
.legal-name .icon { width: 1rem; height: 1rem; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--teal); }

.copy {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--gold);
  font-size: 0.8125rem;
  color: var(--muted);
}
