:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --grid: rgba(255, 255, 255, 0.04);
  --border: #2a2a2a;
  --text: #e8e8e8;
  --muted: #8a8a8a;
  --orange: #f7931a;
  --orange-hover: #ffa53d;
  --okx: #c8ff00;
  --okx-hover: #d6ff4a;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

::selection { background: var(--orange); color: var(--bg); }

a,
a:visited {
  color: var(--muted);
  text-decoration: none;
}

a:hover {
  color: var(--orange-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.brand,
a.brand:visited {
  color: var(--orange);
}

a.brand:hover { color: var(--orange-hover); }

.display {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.subhead {
  font-family: Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

.subhead.text-orange {
  color: var(--orange);
}

.site-bar {
  overflow: hidden;
  border-bottom: 1px solid rgba(247, 147, 26, 0.35);
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  background: rgba(247, 147, 26, 0.12);
  backdrop-filter: blur(12px);
}

.nav-link,
.nav-link:visited {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: none;
}

.nav-link:hover {
  color: #c8c8c8;
  text-decoration: none;
}

.icon-link,
.icon-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
}

.icon-link:hover {
  color: var(--orange);
  text-decoration: none;
}

.btn-primary,
.btn-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 14px;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--bg);
  text-decoration: none;
}

.btn-secondary,
.btn-secondary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 14px;
  font-weight: 500;
}

.btn-secondary:hover {
  color: var(--orange-hover);
  border-color: var(--orange-hover);
  text-decoration: none;
}

.btn-okx,
.btn-okx:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--okx);
  color: #0d0d0d;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 14px;
  font-weight: 600;
}

.btn-okx:hover {
  background: var(--okx-hover);
  color: #0d0d0d;
  text-decoration: none;
}

.btn-okx-nav,
.btn-okx-nav:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  margin-left: 6px;
  background: var(--okx);
  color: #0d0d0d;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-okx-nav:hover {
  background: var(--okx-hover);
  color: #0d0d0d;
  text-decoration: none;
}

.btn-ghost,
.btn-ghost:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 500;
}

.btn-ghost:hover {
  color: var(--orange-hover);
  border-color: var(--orange);
  text-decoration: none;
}

.portrait {
  width: min(320px, 100%);
  margin-left: auto;
}

.portrait img {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 0 0 1.5px var(--orange), 0 0 36px rgba(247, 147, 26, 0.28);
}

.caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 28px;
}

.work-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-item:hover {
  text-decoration: none;
  color: inherit;
}

.work-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--orange);
  border-radius: 9px;
}

.work-item h3 {
  margin: 14px 0 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}

.work-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.work-more {
  margin-top: 36px;
  font-size: 28px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.work-more a,
.work-more a:visited {
  color: var(--orange);
}

.work-more a:hover { color: var(--orange-hover); }

.x-banner {
  display: block;
  margin-top: 18px;
}

.x-banner img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--orange);
  border-radius: 9px;
}

.x-banner:hover { text-decoration: none; }

@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
  }
}

.menu-btn { display: inline-flex; color: var(--muted); background: none; border: 0; cursor: pointer; }
.nav-socials { display: none; }
.desktop-nav { display: none; }

@media (min-width: 768px) {
  .menu-btn { display: none; }
  .nav-socials { display: flex; }
  .desktop-nav { display: flex; }
}

@media (max-width: 767px) {
  .portrait { margin: 8px auto 0; }
  .btn-primary,
  .btn-okx { width: 100%; }
}


