/* ═══════════════════════════════════════════════════════════
   Wono Kustanto · Portfolio
   Dark elegant · charcoal & champagne gold
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0d0c0a;
  --bg-alt: #121008;
  --surface: #171410;
  --surface-2: #1d1913;
  --text: #ece5d8;
  --muted: #a49a86;
  --faint: #6f6757;
  --gold: #c9a961;
  --gold-bright: #e8d5a3;
  --gold-dim: rgba(201, 169, 97, 0.14);
  --line: rgba(201, 169, 97, 0.16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #14110a; }

/* ── Language toggle ────────────────────────────────────── */
[data-lang="en"] .id { display: none !important; }
[data-lang="id"] .en { display: none !important; }

/* ── Layout primitives ──────────────────────────────────── */
.container {
  width: min(1140px, calc(100% - 3rem));
  margin-inline: auto;
}

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-alt {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ── Typography ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 em, .hero-headline em, .contact-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-bright);
}

.section-head { margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 12, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}
.nav-brand {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.brand-mark {
  color: var(--gold);
  font-size: 1.7rem;
  font-style: italic;
  margin-right: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-cta {
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  background: var(--gold);
  color: #14110a;
  border-color: var(--gold);
}
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--faint);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.3s;
}
.lang-switch button:hover { color: var(--gold-bright); }
.lang-switch button.active { color: var(--gold); }
.lang-sep { color: var(--faint); }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px; height: 24px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transition: all 0.35s var(--ease);
}
.nav-burger span:first-child { top: 7px; }
.nav-burger span:last-child { top: 16px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 11px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 11px; transform: rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 110px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/texture-dark.webp") center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0, 0, 0, 0.62) 87%, rgba(0, 0, 0, 0.24) 95%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0, 0, 0, 0.62) 87%, rgba(0, 0, 0, 0.24) 95%, transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(70px, 11vh, 130px);
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 42% at 72% 18%, rgba(201, 169, 97, 0.09), transparent 70%),
    radial-gradient(ellipse 40% 30% at 12% 85%, rgba(201, 169, 97, 0.05), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero-portrait { justify-self: end; width: 100%; max-width: 360px; }
.portrait-frame { position: relative; }
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 3px;
  transform: translate(16px, 16px);
  opacity: 0.55;
  transition: transform 0.5s var(--ease), opacity 0.5s;
  pointer-events: none;
}
.portrait-frame:hover::before { transform: translate(10px, 10px); opacity: 0.9; }
.portrait-frame img {
  display: block;
  width: 100%;
  border-radius: 3px;
  border: 1px solid var(--line);
  filter: saturate(0.88) contrast(1.04);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  position: relative;
  z-index: 1;
}
.hero-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 6.75rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0.5rem 0 1.75rem;
  background: linear-gradient(115deg, var(--text) 55%, var(--gold-bright) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.35;
  max-width: 30ch;
  color: var(--text);
}
.hero-sub {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.9875rem;
  margin-top: 1.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: #14110a;
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.22);
}
.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(236, 229, 216, 0.22);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}
.hero-stats {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: 2.25rem 0 2.75rem;
  position: relative;
  z-index: 1;
}
.hero-stats::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line) 16%,
    rgba(201, 169, 97, 0.3) 50%,
    var(--line) 84%,
    transparent 100%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 300;
  color: var(--gold-bright);
  line-height: 1;
  display: block;
}
.stat-num sup {
  font-size: 0.55em;
  color: var(--gold);
  vertical-align: super;
}
.stat-label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── About ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about-text p { margin-bottom: 1.4rem; color: var(--muted); }
.about-text p:last-child { margin-bottom: 0; }
.about-text .lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
}
.about-side {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
  position: sticky;
  top: 110px;
}
.side-visual { margin: 0; }
.side-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--line);
  filter: saturate(0.85) contrast(1.03);
}
.side-block h3 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.side-block p { color: var(--muted); font-size: 0.9375rem; }

/* ── Expertise pillars ──────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
}
.pillar {
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2.4rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 97, 0.38);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
.pillar:hover::before { opacity: 1; }
.pillar-visual { margin: -2.4rem -2rem 1.7rem; }
.pillar-visual img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 3px 3px 0 0;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.8) brightness(0.85) contrast(1.03);
  transition: filter 0.5s;
}
.pillar:hover .pillar-visual img { filter: saturate(1) brightness(0.95) contrast(1.03); }
.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 1.6rem;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.9rem;
}
.pillar p { color: var(--muted); font-size: 0.9rem; }

/* ── Featured work ──────────────────────────────────────── */
.works { display: flex; flex-direction: column; }
.work {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
  transition: background 0.4s;
  position: relative;
}
.work:last-child { border-bottom: 1px solid var(--line); }
.work-index {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--faint);
  transition: color 0.4s, transform 0.4s var(--ease);
  line-height: 1.1;
  padding-top: 0.3rem;
}
.work:hover .work-index {
  color: var(--gold);
  transform: translateX(6px);
}
.work-meta {
  font-size: 0.71rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.work h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  transition: color 0.35s;
}
.work:hover h3 { color: var(--gold-bright); }
.work p {
  color: var(--muted);
  max-width: 72ch;
  font-size: 0.9375rem;
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.work-visual {
  width: min(300px, 26vw);
  margin: 0;
  align-self: center;
}
.work-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--line);
  filter: saturate(0.82) contrast(1.03) brightness(0.9);
  transition: filter 0.5s, transform 0.5s var(--ease), border-color 0.5s;
}
.work:hover .work-visual img {
  filter: saturate(1) contrast(1.03) brightness(1);
  transform: scale(1.02);
  border-color: rgba(201, 169, 97, 0.4);
}
.tags li {
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 14px;
  transition: all 0.3s;
}
.work:hover .tags li { border-color: rgba(201, 169, 97, 0.35); }

/* ── Divider banners ────────────────────────────────────── */
.banner {
  position: relative;
  height: clamp(190px, 30vw, 340px);
  overflow: hidden;
}
.banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.72) contrast(1.06);
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
  pointer-events: none;
}

/* ── Timeline ───────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: clamp(1.5rem, 4vw, 2.5rem);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--line) 30%, var(--line) 85%, transparent 100%);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: clamp(1.25rem, 3.5vw, 3rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.tl-thumb {
  grid-column: 3;
  grid-row: 1;
  width: 118px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--line);
  filter: saturate(0.82) brightness(0.9);
  align-self: start;
  transition: filter 0.4s, border-color 0.4s;
}
.tl-item:hover .tl-thumb {
  filter: saturate(1) brightness(1);
  border-color: rgba(201, 169, 97, 0.4);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.5rem, 4vw, 2.5rem) - 3.5px);
  top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
  transition: background 0.35s, box-shadow 0.35s;
}
.tl-item:hover::before {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(201, 169, 97, 0.55);
}
.tl-period {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  padding-top: 2px;
  white-space: nowrap;
}
.tl-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
}
.tl-org {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0.4rem 0 0.75rem;
}
.tl-body p { color: var(--muted); font-size: 0.9375rem; max-width: 66ch; }

/* ── Skills ─────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
}
.skill-group h3 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips li {
  font-size: 0.8125rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 6px 13px;
  transition: all 0.3s;
}
.chips li:hover {
  color: var(--gold-bright);
  border-color: var(--line);
  transform: translateY(-2px);
}

/* ── Contact ────────────────────────────────────────────── */
.contact {
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 60% 55% at 50% 115%, rgba(201, 169, 97, 0.1), transparent 70%),
    var(--bg);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/texture-dark.webp") center / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 9%, #000 20%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 9%, #000 20%, #000 100%);
}
.contact::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line) 16%,
    rgba(201, 169, 97, 0.3) 50%,
    var(--line) 84%,
    transparent 100%);
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact .eyebrow { margin-bottom: 1rem; }
.contact-title {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  margin-bottom: 1.5rem;
}
.contact-sub {
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}
.contact-links {
  margin-top: 3.25rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-link {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.4rem 2.2rem;
  min-width: 260px;
  text-align: left;
  background: linear-gradient(165deg, var(--surface) 0%, transparent 100%);
  transition: all 0.4s var(--ease);
}
.contact-link:hover {
  border-color: rgba(201, 169, 97, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.contact-label {
  display: block;
  font-size: 0.6563rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-value {
  color: var(--text);
  font-size: 0.9688rem;
  font-weight: 400;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--faint);
}
.footer-tag { font-style: italic; font-family: var(--serif); }

/* ── Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; max-width: 300px; order: -1; margin-top: 1rem; }
  .pillars { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-side {
    position: static;
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 2rem 0 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    background: rgba(13, 12, 10, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem 2.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease);
  }
  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-burger { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .work { grid-template-columns: 1fr; gap: 0.75rem; }
  .work-index { padding-top: 0; }
  .work-visual { width: 100%; margin-top: 1.25rem; }
  .tl-item { grid-template-columns: 1fr; gap: 0.35rem; }
  .tl-thumb { grid-column: auto; grid-row: auto; width: 96px; margin-bottom: 0.5rem; }
  .skills-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .contact-link { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
}
