:root {
  --bg: #050505;
  --panel: #0e0e0e;
  --text: #d6d6d6;
  --muted: #7d7d7d;
  --line: #1f1f1f;
  --accent: #d2ff2d;
  --accent-2: #a45a2a;
  --text-strong: #f0f0f0;
  --text-body: #8a8a8a;
  --text-soft: #6f6f6f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

.js .topbar {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .hero-content,
.js .hero-visual {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js.is-loaded .topbar,
.js.is-loaded .hero-content,
.js.is-loaded .hero-visual {
  opacity: 1;
  transform: translateY(0);
}

.js .hero-visual {
  transition-delay: 90ms;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 12%, rgba(220, 79, 10, 0.33), transparent 32%),
    radial-gradient(circle at 20% -8%, rgba(210, 255, 45, 0.06), transparent 25%);
  z-index: -1;
}

.container {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.topbar {
  padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.45));
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.nav-link {
  color: #9d9d9d;
  text-decoration: none;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}

.nav-link.active,
.nav-link:hover {
  color: #d9d9d9;
  border-bottom-color: #bfbfbf;
}

.hero {
  margin-top: 30px;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 16px;
}

.hero-content h1 {
  color: var(--text-strong);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 0.95;
  margin: 0 0 16px;
}

.chips {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.chips-wrap {
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--accent-2);
  background: rgba(164, 90, 42, 0.12);
  color: var(--accent-2);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.lead {
  max-width: 370px;
  color: #787878;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.cta-row {
  display: flex;
  gap: 10px;
}

.btn {
  border-radius: 999px;
  border: 1px solid #313131;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  color: #a4a4a4;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  border-color: #7f9f08;
  color: #101010;
  background: var(--accent);
  font-weight: 600;
}

.hero .btn {
  border-radius: 4px;
  padding: 8px 11px;
}

.case-card .btn {
  border-radius: 999px;
}

.btn-outline:hover {
  border-color: #515151;
  color: #c8c8c8;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 6%;
  opacity: 0.95;
  filter: saturate(1.12) contrast(1.02);
}

.separator {
  margin: 32px 0;
  position: relative;
  height: 30px;
}

.separator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  border-top: 1px solid var(--line);
}

.separator span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 12px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.section {
  padding: 10px 0 28px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-delay-1 {
  transition-delay: 70ms;
}

.js .reveal-delay-2 {
  transition-delay: 140ms;
}

.js .reveal-delay-3 {
  transition-delay: 210ms;
}

h2 {
  color: #d8d8d8;
  font-size: clamp(34px, 4.5vw, 56px);
  margin: 4px 0 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
}

.about-highlight {
  color: var(--accent-2);
  font-size: 31px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0;
}

.about-grid p {
  color: var(--text-body);
  margin-top: 0;
}

.about-grid .about-highlight {
  color: var(--accent-2);
}

.experience-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 14px;
}

.experience-meta {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #303030;
  display: grid;
  place-items: center;
  color: #bdbdbd;
  font-size: 11px;
  background: #131313;
}

.small {
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
}

.strong {
  color: #9e9e9e;
  margin-top: 3px;
}

.timeline-content {
  width: 100%;
}

.timeline-tags {
  margin-top: 8px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.experience-card {
  padding-bottom: 0;
}

h3 {
  margin: 0;
  color: #d9d9d9;
  font-size: 42px;
  line-height: 0.95;
}

.muted {
  color: #8a8a8a;
  margin-top: 6px;
  margin-bottom: 8px;
}

.muted-subtitle {
  margin-top: 14px;
  margin-bottom: 0;
  color: #a9a9a9;
  font-size: 12px;
  font-weight: 600;
}

.experience-card p,
.experience-card li {
  color: #767676;
}

.experience-card ul {
  margin: 8px 0 0 20px;
  padding: 0;
}

.experience-card li {
  margin-bottom: 4px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.case-card {
  border: 1px solid #2a2a2a;
  background: #0b0b0b;
  border-radius: 10px;
  padding: 10px;
}

.thumb {
  border: 1px solid #4d4d4d;
  border-radius: 8px;
  height: 96px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #3e3e3e, #1a1a1a);
}

h4 {
  margin: 0;
  font-size: 14px;
}

.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.case-tag {
  display: inline-block;
  color: var(--accent-2);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.case-card p {
  margin: 8px 0 10px;
  color: #747474;
  font-size: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}

.footer p {
  color: #7a7a7a;
  margin: 0;
  font-size: 13px;
}

.footer a {
  color: #a8a8a8;
}

@media (prefers-reduced-motion: reduce) {
  .js .topbar,
  .js .hero-content,
  .js .hero-visual,
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

  .hero-visual {
    min-height: 300px;
  }

  .about-grid,
  .experience-row {
    grid-template-columns: 1fr;
  }

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

  .lead {
    font-size: 24px;
  }
}
