/* ==========================================================================
   Portofolio Cecep Arip Saripudin
   Design tokens, layout, dan komponen.
   ========================================================================== */

:root {
  --ink: #0f1a13;
  --ink-soft: #17251c;
  --ink-3: #223528;
  --paper: #f2efe6;
  --paper-soft: #eae6d9;
  --white: #fcfbf7;
  --lime: #cbff4d;
  --lime-soft: #e5ffa6;
  --moss: #5a7336;
  --muted: #6c7567;
  --muted-light: rgba(242, 239, 230, 0.64);
  --line: rgba(15, 26, 19, 0.14);
  --line-strong: rgba(15, 26, 19, 0.28);
  --line-dark: rgba(242, 239, 230, 0.16);
  --danger: #b4432c;

  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --shell: min(1240px, calc(100% - 96px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

.hero :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 140px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  background: var(--lime);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* --------------------------------------------------------------------------
   Tombol & elemen teks
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 26, 19, 0.18);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
  transform: translateY(-2px);
}

.hero .btn-outline {
  border-color: rgba(242, 239, 230, 0.36);
  color: var(--paper);
}

.hero .btn-outline:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 11.5px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}

.section-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  padding: 3px 6px;
  background: var(--ink);
  color: var(--lime);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.text-link svg {
  width: 14px;
  height: 14px;
}

.text-link:hover {
  gap: 13px;
  color: var(--moss);
  border-color: var(--moss);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  color: var(--paper);
  transition: padding 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(242, 239, 230, 0.94);
  color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

body.menu-open .site-header {
  background: transparent;
  color: var(--paper);
  border-bottom-color: transparent;
  padding: 20px 0;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: inset 0 0 0 1px rgba(15, 26, 19, 0.1);
}

.brand-dot {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 4px;
  height: 4px;
  background: var(--ink);
  border-radius: 50%;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  font-size: 11px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-text small {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}

.primary-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  opacity: 1;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .primary-nav a.is-active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(242, 239, 230, 0.3);
  color: inherit;
  font-size: 11px;
  background: transparent;
}

.btn-header:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.site-header.is-scrolled .btn-header {
  border-color: var(--line-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(242, 239, 230, 0.3);
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line-strong);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

body.menu-open .nav-toggle span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  top: 20px;
  transform: rotate(-45deg);
}

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

.hero {
  position: relative;
  padding: 168px 0 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -420px;
  right: -260px;
  width: 980px;
  height: 980px;
  background: radial-gradient(circle, rgba(203, 255, 77, 0.22) 0%, rgba(203, 255, 77, 0.05) 42%, transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(242, 239, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.4) 55%, transparent 95%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  padding-bottom: clamp(50px, 7vw, 84px);
}

.hero-eyebrow {
  color: var(--lime);
  font-size: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(203, 255, 77, 0.14);
  position: relative;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(203, 255, 77, 0.5);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.hero-title span:last-child {
  padding-left: 0.28em;
}

.hero-title .accent {
  color: var(--lime);
  padding-left: 0.02em;
}

.hero-role-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.4vw, 1.14rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-loc {
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.5);
  border-left: 1px solid var(--line-dark);
  padding-left: 14px;
}

.hero-tagline {
  margin-top: 18px;
  max-width: 50ch;
  color: rgba(242, 239, 230, 0.72);
  font-size: 14.5px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.hero-meta dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.8;
}

.hero-meta dd {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(242, 239, 230, 0.78);
}

.hero-portrait {
  justify-self: end;
  width: min(100%, 388px);
  position: relative;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1c2d20;
  border: 1px solid rgba(203, 255, 77, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
  transform: scale(1.03);
}

.portrait-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #d5ff66 0%, #4b7c38 48%, #0f1a13 100%);
  mix-blend-mode: color;
  opacity: 0.62;
  pointer-events: none;
}

.portrait-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(15, 26, 19, 0.13) 0px,
    rgba(15, 26, 19, 0.13) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.portrait-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 8px;
  background: rgba(15, 26, 19, 0.6);
  border: 1px solid rgba(203, 255, 77, 0.4);
  color: var(--lime);
  font-size: 8px;
  letter-spacing: 0.16em;
  backdrop-filter: blur(6px);
}

.portrait-card {
  position: relative;
  z-index: 3;
  margin: -36px 18px 0 22px;
  padding: 17px 19px 15px;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-1.4deg);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.card-label {
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.72;
}

.portrait-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.portrait-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 26, 19, 0.22);
  font-size: 10.5px;
}

.portrait-card-foot b {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-right: 2px;
}

.hero-stats-wrap {
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}

.stat {
  padding: 26px 22px 34px;
  border-left: 1px solid var(--line-dark);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-label {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.85;
}

.stat-value {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.stat-value sup {
  color: var(--lime);
  font-size: 0.5em;
  top: -0.6em;
}

.stat-note {
  display: block;
  margin-top: 10px;
  max-width: 24ch;
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(242, 239, 230, 0.48);
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  background: var(--lime);
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 26px 12px 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-item::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--ink);
  border-radius: 50%;
  flex: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Section umum
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(80px, 11vw, 138px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.62fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.section-head h2,
.archive-head h2,
.section-heading h2 {
  margin-top: 16px;
  max-width: 21ch;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.9vw, 3.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 em,
h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--moss);
}

.section-lede {
  justify-self: end;
  max-width: 42ch;
  padding-bottom: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Tentang
   -------------------------------------------------------------------------- */

.about {
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.about-body {
  padding-top: 4px;
}

.about-lead {
  max-width: 58ch;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.72;
  letter-spacing: -0.012em;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin-top: 36px;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
}

.fact .mono {
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact strong {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.focus-block {
  margin-top: 26px;
}

.focus-label {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.focus-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(252, 251, 247, 0.55);
  font-size: 10.5px;
  font-weight: 600;
}

.focus-tags span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--moss);
}

/* --------------------------------------------------------------------------
   Proyek unggulan
   -------------------------------------------------------------------------- */

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.featured-card {
  position: relative;
  min-height: 272px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(15, 26, 19, 0.12);
  display: flex;
  align-items: flex-end;
}

.featured-card:first-child {
  grid-row: span 2;
  min-height: 560px;
}

.featured-media {
  position: absolute;
  inset: 0;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 1.1s var(--ease);
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 14, 10, 0.94) 0%,
    rgba(8, 14, 10, 0.55) 44%,
    rgba(8, 14, 10, 0.06) 100%
  );
}

.featured-card:hover .featured-media img {
  transform: scale(1.045);
}

.featured-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 9px;
  border: 1px solid rgba(242, 239, 230, 0.32);
  background: rgba(15, 26, 19, 0.55);
  backdrop-filter: blur(6px);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-count {
  position: absolute;
  top: 18px;
  right: 62px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(242, 239, 230, 0.6);
}

.featured-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 239, 230, 0.35);
  border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.featured-arrow svg {
  width: 15px;
  height: 15px;
}

.featured-card:hover .featured-arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: translate(2px, -2px);
}

.featured-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(20px, 2.6vw, 32px);
}

.featured-meta {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.featured-card h3 {
  margin-top: 10px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.featured-card:first-child h3 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  max-width: 18ch;
}

.featured-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(242, 239, 230, 0.22);
  font-size: 10.5px;
  color: rgba(242, 239, 230, 0.68);
}

.featured-foot .value {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--lime);
  white-space: nowrap;
}

.card-hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.card-hit:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -4px;
}

/* --------------------------------------------------------------------------
   Arsip proyek
   -------------------------------------------------------------------------- */

.archive {
  padding-top: clamp(64px, 9vw, 108px);
}

.archive-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.archive-head .eyebrow {
  margin-bottom: 0;
}

.archive-head h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.archive-count {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 6px;
  white-space: nowrap;
}

.filter-bar {
  position: sticky;
  top: 68px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 26px;
  padding: 14px 0;
  background: rgba(242, 239, 230, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.chip .chip-count {
  font-family: var(--font-mono);
  font-size: 8px;
  opacity: 0.55;
}

.chip:hover {
  border-color: var(--line-strong);
  background: rgba(252, 251, 247, 0.7);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip.is-active .chip-count {
  color: var(--lime);
  opacity: 0.9;
}

.archive-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  height: 36px;
  border: 1px solid var(--line);
  background: rgba(252, 251, 247, 0.72);
  color: var(--muted);
}

.search-box:focus-within {
  border-color: var(--ink);
}

.search-box svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.search-box input {
  width: 168px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--ink);
}

.search-box input::placeholder {
  color: rgba(108, 117, 103, 0.8);
}

.select-box {
  position: relative;
  display: flex;
  align-items: center;
}

.select-box select {
  appearance: none;
  -webkit-appearance: none;
  height: 36px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(252, 251, 247, 0.72);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  max-width: 190px;
}

.select-box svg {
  position: absolute;
  right: 9px;
  width: 12px;
  height: 12px;
  pointer-events: none;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 42px rgba(15, 26, 19, 0.11);
}

.project-card:focus-within {
  border-color: var(--ink);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}

.project-card:hover .card-media img {
  transform: scale(1.04);
  filter: saturate(1);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 26, 19, 0.2), transparent 55%);
  pointer-events: none;
}

.card-cat {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 5px 8px;
  background: rgba(15, 26, 19, 0.58);
  border: 1px solid rgba(242, 239, 230, 0.24);
  backdrop-filter: blur(5px);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-arrow {
  position: absolute;
  right: 11px;
  bottom: 11px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.card-arrow svg {
  width: 13px;
  height: 13px;
}

.project-card:hover .card-arrow,
.project-card:focus-within .card-arrow {
  opacity: 1;
  transform: none;
}

.card-media.is-plate {
  background:
    radial-gradient(120% 120% at 82% 4%, rgba(203, 255, 77, 0.22), transparent 48%),
    linear-gradient(145deg, #192a1e 0%, #0d1710 100%);
}

.card-media.is-plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(242, 239, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, black, transparent 72%);
}

.plate-glyph {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  color: var(--lime);
  opacity: 0.85;
}

.plate-glyph svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}

.plate-index {
  position: absolute;
  right: 14px;
  bottom: 2px;
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(203, 255, 77, 0.42);
}

.plate-mono {
  position: absolute;
  left: 16px;
  bottom: 13px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.47);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 17px 13px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-meta .card-year {
  color: var(--moss);
}

.project-card h3 {
  margin: 9px 0 14px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.card-value {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.card-value.is-private {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
}

.card-client {
  min-width: 0;
  font-size: 9.5px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 80px 20px;
  border: 1px dashed var(--line-strong);
  text-align: center;
}

.empty-state .mono {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.empty-state p {
  font-size: 13px;
  color: var(--muted);
}

.empty-state .btn {
  margin-top: 6px;
}

.skeleton-card {
  min-height: 330px;
  border: 1px solid var(--line);
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.55) 40%,
    rgba(255, 255, 255, 0.2) 60%
  ), var(--paper-soft);
  background-size: 220% 100%, auto;
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-card.featured {
  min-height: 560px;
}

.skeleton-card.featured:not(:first-child) {
  min-height: 272px;
}

@keyframes shimmer {
  from { background-position: 180% 0, 0 0; }
  to { background-position: -80% 0, 0 0; }
}

/* --------------------------------------------------------------------------
   Jejak karier
   -------------------------------------------------------------------------- */

.career {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 178px 34px minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 0;
}

.timeline-period {
  padding: 26px 22px 0 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline-rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-dot {
  position: relative;
  z-index: 1;
  margin-top: 31px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--ink), 0 0 0 6px var(--paper-soft);
}

.timeline-content {
  padding: 24px 0 28px 26px;
}

.timeline-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline-logo {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.timeline-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.timeline-logo.fallback {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--moss);
}

.timeline-title {
  min-width: 0;
}

.timeline-title h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.timeline-company {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}

.timeline-company span {
  color: var(--moss);
}

.current-badge {
  margin-left: auto;
  flex: none;
  padding: 4px 7px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(15, 26, 19, 0.25);
}

.timeline-summary {
  margin-top: 14px;
  max-width: 74ch;
  font-size: 12.5px;
  line-height: 1.72;
  color: #4c5649;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.timeline-tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: rgba(252, 251, 247, 0.55);
  font-size: 9.5px;
  color: #4c5649;
}

.timeline-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.timeline-projects {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.timeline-projects:hover {
  color: var(--moss);
  border-color: var(--moss);
}

.timeline-projects svg {
  width: 11px;
  height: 11px;
}

.timeline-loc {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Kapabilitas
   -------------------------------------------------------------------------- */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.skill-card {
  padding: 22px 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.skill-no {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.skill-card h3 {
  margin: 16px 0 16px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.skill-card li {
  position: relative;
  display: flex;
  gap: 9px;
  padding: 5px 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #4c5649;
}

.skill-card li::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--moss);
  line-height: 1.55;
}

.skills-extra {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  margin-top: 16px;
}

.other-skill {
  padding: clamp(22px, 3vw, 30px);
  background: var(--ink);
  color: var(--paper);
}

.other-skill .mono {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.other-skill p {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(242, 239, 230, 0.76);
}

.tools-block {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.tools-block > .mono {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tool {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 9.5px;
  line-height: 1.35;
  color: #4c5649;
}

.tool-mark {
  flex: none;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0;
  color: var(--moss);
}

.edu-cert {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 70px);
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.edu-list {
  margin-top: 18px;
}

.edu-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.edu-year {
  width: 46px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--moss);
}

.edu-name {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
}

.edu-level {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
}

.cert-list {
  margin-top: 18px;
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cert-badge {
  flex: none;
  margin-top: 1px;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  white-space: nowrap;
}

.cert-title {
  font-size: 11.5px;
  line-height: 1.5;
  color: #4c5649;
}

/* --------------------------------------------------------------------------
   Kontak
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 138px) 0;
  background: var(--ink);
  color: var(--paper);
}

.contact-glow {
  position: absolute;
  right: -260px;
  bottom: -420px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(203, 255, 77, 0.18), transparent 62%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.contact .eyebrow {
  color: var(--lime);
}

.contact .section-no {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.contact h2 {
  margin-top: 18px;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.contact h2 em {
  color: var(--lime);
}

.contact-lede {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(242, 239, 230, 0.68);
}

.contact-list {
  margin-top: 36px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
}

.contact-list .mono {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.8;
}

.contact-list a,
.contact-list span:last-child {
  font-size: 13px;
  color: rgba(242, 239, 230, 0.86);
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--lime);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.76);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.socials a svg {
  width: 11px;
  height: 11px;
}

.contact-form {
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  color: var(--ink);
  border-top: 3px solid var(--lime);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.28);
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-head .mono {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-note {
  font-size: 9px;
  color: var(--muted);
  text-align: right;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 13px;
}

.field > span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 104px;
  line-height: 1.6;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: rgba(242, 239, 230, 0.45);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(108, 117, 103, 0.72);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.form-status {
  font-size: 10.5px;
  line-height: 1.5;
  text-align: right;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--moss);
}

.form-status.is-error {
  color: var(--danger);
}

.contact-form .btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.contact-form .btn-primary:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

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

.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
}

.footer-brand span {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--muted-light);
}

.footer-note {
  font-size: 9.5px;
  color: var(--muted-light);
}

.footer-admin {
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-admin:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Dialog proyek
   -------------------------------------------------------------------------- */

.project-dialog {
  width: min(1020px, calc(100vw - 32px));
  max-width: 1020px;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.project-dialog::backdrop {
  background: rgba(7, 12, 8, 0.76);
  backdrop-filter: blur(6px);
}

.dialog-shell {
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.4);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(252, 251, 247, 0.92);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.dialog-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.dialog-close svg {
  width: 15px;
  height: 15px;
}

.dialog-content {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: 520px;
}

.dialog-media {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(203, 255, 77, 0.24), transparent 52%),
    linear-gradient(150deg, #1a2c1f, #0c1610);
  overflow: hidden;
}

.dialog-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-media .plate-glyph {
  width: 86px;
  height: 86px;
  left: 34px;
  top: 42%;
  opacity: 0.7;
}

.dialog-media .plate-index {
  font-size: 8rem;
  right: 24px;
  bottom: 8px;
}

.dialog-media .plate-mono {
  left: 26px;
  bottom: 22px;
  font-size: 9px;
}

.dialog-body {
  padding: clamp(28px, 4vw, 42px);
}

.dialog-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.dialog-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--moss);
}

.dialog-body h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.dialog-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dialog-meta dt {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.dialog-meta dd {
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
}

.dialog-meta .value-dd {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--moss);
}

.dialog-description {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #485245;
}

.dialog-highlights {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dialog-highlights li {
  position: relative;
  padding-left: 16px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #485245;
}

.dialog-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--moss);
}

.dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.dialog-next {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.dialog-next:hover {
  color: var(--ink);
}

.dialog-next svg {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Toast & utilitas
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 250;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-left: 3px solid var(--lime);
  font-size: 11.5px;
  line-height: 1.5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  will-change: opacity, transform;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-ready .hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.js-ready .hero .reveal:nth-child(2) { transition-delay: 0.12s; }
.js-ready .hero .reveal:nth-child(3) { transition-delay: 0.2s; }
.js-ready .hero .reveal:nth-child(4) { transition-delay: 0.28s; }
.js-ready .hero .reveal:nth-child(5) { transition-delay: 0.36s; }
.js-ready .hero .reveal:nth-child(6) { transition-delay: 0.44s; }

.loader-line {
  height: 2px;
  background: var(--line);
  overflow: hidden;
  margin-top: 20px;
}

.loader-line::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--lime);
  animation: loading 1.2s ease-in-out infinite;
}

@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 64px, 1100px);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
  }

  .hero-title {
    font-size: clamp(3rem, 7.4vw, 5.4rem);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 110px 32px 40px;
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-102%);
    transition: transform 0.55s var(--ease);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    transform: none;
  }

  .primary-nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 6vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    opacity: 1;
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-portrait {
    justify-self: start;
    width: min(78vw, 360px);
    margin-left: 8px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: 22px 20px 26px;
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .about-grid,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-lede {
    justify-self: start;
    padding-bottom: 0;
  }

  .section-head h2 {
    max-width: 24ch;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .featured-card:first-child {
    grid-row: auto;
    min-height: 440px;
  }

  .featured-card {
    min-height: 300px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    top: 62px;
  }

  .archive-tools {
    flex-wrap: wrap;
  }

  .search-box {
    flex: 1;
  }

  .search-box input {
    width: 100%;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills-extra {
    grid-template-columns: 1fr;
  }

  .edu-cert {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .dialog-content {
    grid-template-columns: 1fr;
  }

  .dialog-media {
    min-height: 280px;
    max-height: 320px;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 40px);
  }

  .site-header {
    padding: 14px 0;
  }

  .brand-text {
    font-size: 11px;
  }

  .btn-header {
    padding: 0 11px;
    font-size: 10px;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-title {
    font-size: clamp(2.65rem, 12vw, 4.1rem);
  }

  .hero-title span:last-child {
    padding-left: 0.14em;
  }

  .hero-role-row {
    margin-top: 24px;
  }

  .hero-loc {
    border-left: 0;
    padding-left: 0;
  }

  .hero-tagline {
    font-size: 13.5px;
  }

  .hero-meta {
    margin-top: 32px;
    gap: 16px;
  }

  .hero-portrait {
    width: min(84vw, 350px);
  }

  .stat-value {
    font-size: 1.65rem;
    white-space: normal;
  }

  .stat-note {
    max-width: 20ch;
  }

  .section {
    padding: 72px 0;
  }

  .section-head h2,
  .section-heading h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .about-facts {
    gap: 0 20px;
  }

  .archive-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .filter-bar {
    position: static;
    padding: 12px 0;
  }

  .archive-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .search-box {
    grid-column: 1 / -1;
  }

  .select-box select {
    width: 100%;
    max-width: none;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card h3 {
    font-size: 1.05rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding: 20px 0 8px;
  }

  .timeline-period {
    padding: 0 0 14px;
  }

  .timeline-rail {
    display: none;
  }

  .timeline-content {
    padding: 0 0 10px;
  }

  .timeline-head {
    align-items: flex-start;
  }

  .timeline-logo {
    width: 44px;
    height: 44px;
    padding: 7px;
  }

  .current-badge {
    margin-left: 0;
    order: 3;
  }

  .timeline-head {
    flex-wrap: wrap;
  }

  .timeline-title {
    flex: 1 1 60%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-foot {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .form-status {
    text-align: left;
  }

  .contact-form .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-note {
    order: 3;
  }

  .dialog-body {
    padding: 24px 20px 28px;
  }

  .dialog-meta {
    grid-template-columns: 1fr 1fr;
  }

  .dialog-foot {
    flex-wrap: wrap;
  }

  .dialog-media {
    min-height: 220px;
    max-height: 240px;
  }
}

@media (max-width: 540px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 18px 14px 22px;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
  }

  .stat-label {
    font-size: 7.5px;
  }

  .stat-note {
    font-size: 9.5px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .featured-card:first-child {
    min-height: 390px;
  }

  .featured-card {
    min-height: 270px;
  }

  .featured-card:first-child h3 {
    font-size: 1.5rem;
  }

  .featured-card h3 {
    font-size: 1.2rem;
  }

  .archive-tools {
    grid-template-columns: 1fr;
  }

  .dialog-meta {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Aksesibilitas / preferensi gerak
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .marquee-track {
    animation: none;
  }
}

@media print {
  .site-header,
  .marquee,
  .hero-actions,
  .contact-form,
  .site-footer,
  .filter-bar {
    display: none !important;
  }

  .hero {
    background: #fff;
    color: #000;
    padding: 20px 0;
  }

  .section {
    padding: 24px 0;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
