/* =========================================================
   sahrul. — etalase karier
   Nama sebagai merek. Biru malam untuk panggung, kuning sinyal
   (warna rompi kerja, label aset, dan perlengkapan pendaki)
   untuk satu hal yang harus dilihat. Satu keluarga huruf: Archivo,
   dilebarkan untuk judul, normal untuk teks.
   Ubah warna dan huruf hanya lewat token di :root.
   ========================================================= */

:root {
  /* Warna merek */
  --night: #0e2238;        /* panggung: pembuka, kontak */
  --night-2: #0a1a2b;      /* sorotan, kaki halaman */
  --night-3: #16314f;      /* kartu di atas biru malam */
  --signal: #f2b134;       /* aksen: titik merek, tombol utama */
  --fog: #eef1f4;          /* latar terang */
  --sheet: #ffffff;
  --ink: #142130;          /* teks di latar terang */
  --slate: #566476;        /* teks pendukung di latar terang */
  --mist: #b9c8d8;         /* teks pendukung di latar gelap */
  --rule: #d3dae2;
  --navy: #1f4e79;         /* tautan di latar terang */

  /* Nama lama, dipakai halaman /links */
  --paper: var(--fog);
  --muted: var(--slate);
  --navy-deep: var(--night);

  /* Huruf */
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: var(--font);

  /* Jarak dan bentuk */
  --gutter: 24px;
  --max: 1180px;
  --sect: clamp(72px, 10vw, 128px);
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fog); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Dwibahasa: hanya bahasa aktif yang tampil. */
html[lang="id"] body [lang="en"],
html[lang="en"] body [lang="id"] { display: none !important; }

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; background: var(--signal); color: var(--ink); border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

/* Bagian gelap: warna teks, tautan, fokus */
.bar, .hero, .reel, .current, .foot { color: #fff; }
.bar a, .hero a, .reel a, .current a, .foot a { color: #fff; text-decoration-color: var(--signal); }
.bar :focus-visible, .hero :focus-visible, .reel :focus-visible, .current :focus-visible, .foot :focus-visible { outline-color: var(--signal); }

/* ---------- Merek ---------- */
.wordmark {
  font: 800 1.375rem/1 var(--font); font-stretch: 118%; letter-spacing: -0.03em;
  color: inherit; text-decoration: none;
}
.wordmark .dot, .verbs i, .portrait-mark i { color: var(--signal); font-style: normal; }

/* ---------- Bilah atas ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.bar-inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.bar .wordmark { text-decoration: none; }
.bar-nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.9375rem; }
.bar-nav a { color: var(--mist); text-decoration: none; }
.bar-nav a:hover { color: #fff; }

.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius); }
.lang button {
  min-width: 42px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent;
  font: 600 0.8125rem/1 var(--font); color: var(--mist); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--signal); color: var(--ink); }
/* /links memakai bilah bahasa di latar terang */
.links-page .lang { border-color: var(--rule); background: var(--sheet); }
.links-page .lang button { color: var(--slate); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: var(--radius);
  font: 600 1rem/1 var(--font); text-decoration: none !important; border: 1.5px solid transparent;
}
.btn-signal { background: var(--signal); color: var(--ink) !important; }
.btn-signal:hover { background: #ffc451; }
.btn-line { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-line:hover { border-color: #fff; }
.btn-ink { background: var(--ink); color: #fff !important; }
.btn-ink:hover { background: var(--night); }

/* ---------- 1. Pembuka ---------- */
.hero { background: var(--night); padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hello { font-size: 1.1875rem; line-height: 1.4; color: var(--mist); }
.verbs {
  margin-top: 28px;
  font-weight: 800; font-stretch: 118%; letter-spacing: -0.035em;
  /* ukuran diatur agar kata terpanjang ("Membangun.") muat di kolomnya */
  font-size: clamp(2.5rem, 6.4vw, 5.75rem); line-height: 0.95;
}
.verbs span { display: block; }
.hero-lead { margin-top: 32px; max-width: 46ch; font-size: 1.1875rem; line-height: 1.55; color: #d6e1ec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.portrait {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px),
    var(--night-3);
  display: grid; place-items: center;
}
.portrait-mark { font: 800 clamp(8rem, 20vw, 15rem)/1 var(--font); font-stretch: 125%; letter-spacing: -0.06em; color: #fff; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Satu momen gerak: tiga kata kerja muncul berurutan saat halaman dibuka. */
@keyframes rise { from { opacity: 0; transform: translateY(0.25em); } to { opacity: 1; transform: none; } }
.js .verbs span { animation: rise 0.6s cubic-bezier(.2, .7, .2, 1) both; }
.js .verbs span:nth-of-type(1), .js .verbs span:nth-of-type(2) { animation-delay: 0.05s; }
.js .verbs span:nth-of-type(3), .js .verbs span:nth-of-type(4) { animation-delay: 0.2s; }
.js .verbs span:nth-of-type(5), .js .verbs span:nth-of-type(6) { animation-delay: 0.35s; }

/* ---------- Judul bagian ---------- */
.eyebrow { font: 600 1rem/1.3 var(--font); color: var(--slate); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--signal); border-radius: 2px; }
.reel .eyebrow, .current .eyebrow { color: var(--mist); }
.big-text {
  margin-top: 24px; max-width: 30ch;
  font-weight: 600; font-size: clamp(1.625rem, 3.4vw, 2.625rem); line-height: 1.18; letter-spacing: -0.015em;
}

/* ---------- 2. Yang saya kerjakan ---------- */
.statement { padding: var(--sect) 0; background: var(--fog); }
.facts { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.facts li { padding: 22px 20px 0 0; color: var(--slate); font-size: 0.9375rem; line-height: 1.4; }
.facts b { display: block; margin-bottom: 6px; font-weight: 800; font-stretch: 118%; font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }

/* ---------- 3. Sorotan ---------- */
.reel { background: var(--night-2); padding: var(--sect) 0; }
.reel-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 24px; }
.reel-head .eyebrow { grid-column: 1 / -1; }
.reel-intro { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.3; max-width: 34ch; }
.reel-nav { display: flex; gap: 10px; }
.reel-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; cursor: pointer;
}
.reel-btn:hover { border-color: var(--signal); }
.reel-btn:disabled { opacity: 0.35; cursor: default; }
.reel-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.reel-track {
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  list-style: none; margin: 40px 0 0; padding: 4px var(--pad) 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 400px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-track:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.slide {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px;
  min-height: 460px; padding: 28px; border-radius: var(--radius); background: var(--night-3);
}
.slide-year { font-size: 0.9375rem; font-weight: 600; color: var(--signal); }
.slide-big { margin-top: auto; font-weight: 800; font-stretch: 125%; font-size: clamp(4rem, 9vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; }
.slide-word { font-size: clamp(3.25rem, 7vw, 4.75rem); }
.slide h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.slide p:not(.slide-year):not(.slide-big) { color: var(--mist); font-size: 0.9875rem; line-height: 1.5; }
.slide-shot img { margin-top: auto; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.12); }
.reel-dots { display: flex; gap: 8px; margin-top: 24px; }
.reel-dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); transition: width 0.25s, background 0.25s; }
.reel-dots span.on { width: 26px; background: var(--signal); }

/* ---------- 4. Karya ---------- */
.work { background: var(--sheet); padding: var(--sect) 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.feature + .feature { margin-top: clamp(72px, 9vw, 112px); }
.feature-flip .feature-text { order: 2; }
.feature h3 { margin: 14px 0 16px; font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; letter-spacing: -0.03em; }
.feature-text > p:not(.tag) { max-width: 52ch; }
.stack { margin-top: 16px; color: var(--slate); font-size: 0.9375rem; }
.feature-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; font-weight: 600; }
.feature-shot { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); box-shadow: 0 24px 48px -28px rgba(14, 34, 56, 0.45); }

.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--fog); font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); }
.tag-live::before { background: var(--signal); border-color: var(--signal); }
.tag-wip::before { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }

.flow { list-style: none; counter-reset: step; margin: 0; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--night); color: #fff; }
.flow li { counter-increment: step; position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 0; font-weight: 600; font-size: 1.0625rem; }
.flow li::before {
  content: counter(step); flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--signal); color: var(--ink); font-weight: 800; font-size: 0.9375rem; position: relative; z-index: 1;
}
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 46px; bottom: -12px; width: 1.5px; background: rgba(242, 177, 52, 0.45); }

/* ---------- 5. Perjalanan ---------- */
.journey { background: var(--fog); padding: var(--sect) 0; }
.journey-intro { max-width: 26ch; }
.years { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; }
.years li { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); }
.years .yr { font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.years li.now .yr { display: inline-flex; align-items: baseline; gap: 10px; }
.years li.now .yr::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.years h3 { font-size: 1.3125rem; font-weight: 700; line-height: 1.3; }
.years h3 + h3 + p, .years h3 + p { margin-top: 8px; }
.years p { max-width: 60ch; color: var(--slate); }

/* ---------- 6. Saat ini dan kontak ---------- */
.current { background: var(--night); padding: var(--sect) 0; }
.current-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.current .big-text { color: #fff; }
.cta { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); background: var(--night-3); }
.cta-title { font-weight: 800; font-stretch: 118%; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; }
.cta p { margin: 14px 0 26px; color: var(--mist); }

/* ---------- Kaki halaman ---------- */
.foot { background: var(--night-2); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.wordmark-lg { font-size: clamp(3rem, 8vw, 5.5rem); }
.foot-mail { margin-top: 14px; font-size: 1.125rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: right; font-weight: 600; }
.made { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--mist); font-size: 0.9375rem; }
.heart { color: var(--signal); }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; aspect-ratio: 4 / 3; }
  .feature, .feature-flip { grid-template-columns: 1fr; }
  .feature-flip .feature-text { order: 0; }
  .current-grid { grid-template-columns: 1fr; }
}

/* ---------- Ponsel ---------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .bar-nav { display: none; }
  .lang { margin-left: auto; }
  .hello, .hero-lead { font-size: 1.0625rem; }
  .portrait { aspect-ratio: 16 / 10; }
  .portrait-mark { font-size: 7rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .reel-head { grid-template-columns: 1fr; }
  .slide { min-height: 400px; padding: 22px; }
  .years li { grid-template-columns: 1fr; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { text-align: left; display: flex; flex-wrap: wrap; gap: 10px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .verbs span { animation: none; }
  .reel-dots span { transition: none; }
}
