:root {
  --bg: #07070c;
  --bg-soft: #100a12;
  --surface: rgba(23, 18, 27, 0.72);
  --surface-strong: rgba(34, 26, 39, 0.9);
  --surface-muted: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 55, 199, 0.3);
  --pink: #ff37c7;
  --pink-hot: #ff007a;
  --pink-2: #fc72ff;
  --pink-soft: rgba(255, 55, 199, 0.13);
  --ink: #fbf7ff;
  --ink-soft: #c7bccd;
  --ink-muted: #807487;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.48), 0 0 90px rgba(255, 55, 199, 0.1);
  --shadow-small: 0 16px 44px rgba(0, 0, 0, 0.34);
  --radius: 28px;
  --radius-sm: 18px;
  --radius-pill: 999px;
  --max-w: 1180px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #0a0710 0%, #08070d 42%, #0d0911 100%);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 16%, rgba(252, 114, 255, 0.2), transparent 25%),
    radial-gradient(circle at 82% 8%, rgba(255, 0, 122, 0.18), transparent 28%),
    radial-gradient(circle at 58% 84%, rgba(255, 55, 199, 0.1), transparent 26%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, auto, 72px 72px, 72px 72px;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #372b3b;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink);
}

nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 32px), 1040px);
  height: 58px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px 7px 12px;
  background: rgba(18, 14, 22, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 760;
}

.nav-unicorn {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  background: rgba(255, 55, 199, 0.12);
  box-shadow: 0 0 24px rgba(255, 55, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nav-logo span {
  color: var(--pink);
  text-shadow: 0 0 16px rgba(255, 55, 199, 0.6);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 55, 199, 0.16);
}

#hero {
  position: relative;
  min-height: 100vh;
  padding: 128px 24px 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 12, 0.94) 0%, rgba(7, 7, 12, 0.76) 42%, rgba(7, 7, 12, 0.2) 100%),
    radial-gradient(circle at 74% 48%, rgba(255, 55, 199, 0.12), transparent 34%);
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: saturate(1.25);
}

.hero-content {
  width: min(100%, var(--max-w));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  padding-top: 24px;
}

.hero-eyebrow,
.section-label,
.panel-label,
.ai-callout-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--pink);
  letter-spacing: 0;
  text-transform: none;
}

.hero-eyebrow {
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
  text-shadow: 0 0 22px rgba(255, 55, 199, 0.52);
}

.hero-name {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(58px, 8.4vw, 120px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.93;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.75s ease 0.22s forwards;
  text-shadow: 0 0 44px rgba(255, 255, 255, 0.08);
}

.hero-tagline {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 520;
  line-height: 1.42;
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeUp 0.75s ease 0.34s forwards;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.75s ease 0.46s forwards;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-hot), var(--pink), var(--pink-2));
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(255, 0, 122, 0.34), 0 0 28px rgba(252, 114, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(255, 0, 122, 0.4), 0 0 42px rgba(252, 114, 255, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.11);
  color: var(--ink);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
  box-shadow: var(--shadow-small);
}

.hero-panel {
  background: rgba(22, 17, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(1.28);
  -webkit-backdrop-filter: blur(28px) saturate(1.28);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.project-picker-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  padding: 12px;
  background: rgba(18, 14, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(1.28);
  -webkit-backdrop-filter: blur(28px) saturate(1.28);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.picker-field {
  position: relative;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.picker-field-label {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 720;
  margin-bottom: 12px;
}

.picker-trigger {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 0;
  border-radius: 22px;
  background: rgba(7, 7, 12, 0.48);
  color: var(--ink);
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.075);
}

.picker-token,
.picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.picker-token > span:last-child,
.picker-option > span:last-child {
  min-width: 0;
}

.picker-token-logo,
.picker-option-logo,
.card-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.picker-token-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.picker-token-logo span,
.picker-option-logo span {
  width: 52%;
  height: 52%;
  border-radius: 50%;
  background: rgba(255, 55, 199, 0.22);
}

.picker-token-logo img,
.picker-option-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.picker-token strong {
  display: block;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.picker-token small {
  display: block;
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 720;
}

.picker-chevron {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pink);
  font-size: 15px;
  font-weight: 900;
}

.picker-menu {
  position: static;
  z-index: 20;
  margin-top: 10px;
  max-height: 340px;
  display: none;
  overflow: auto;
  padding: 8px;
  border-radius: 24px;
  background: rgba(18, 14, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
}

.picker-menu.open {
  display: grid;
  gap: 6px;
}

.picker-option {
  width: 100%;
  min-height: 58px;
  padding: 8px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
}

.picker-option:hover {
  background: rgba(255, 255, 255, 0.075);
}

.picker-option.active {
  background: rgba(255, 55, 199, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 55, 199, 0.18);
}

.picker-option-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.picker-option strong {
  display: block;
  font-size: 14px;
  font-weight: 820;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.picker-option small {
  display: block;
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 16px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(48, 255, 169, 0.12);
  color: #63f7b8;
  box-shadow: inset 0 0 0 1px rgba(99, 247, 184, 0.18);
}

.panel-section,
.panel-metrics,
.panel-stack {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 24px;
}

.panel-section {
  padding: 22px;
}

.panel-section h2 {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.panel-metrics {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.panel-metrics div {
  min-height: 98px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
}

.panel-metrics div:last-child {
  border-right: 0;
}

.panel-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 29px;
  line-height: 1;
}

.panel-metrics span {
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 720;
}

.panel-stack {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}

.panel-stack span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 720;
}

.section-inner {
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding: 96px 24px;
}

#about,
#portfolio {
  position: relative;
}

#about::before,
#portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--max-w));
  height: 1px;
  transform: translateX(-50%);
  background: var(--border);
}

.section-label {
  margin-bottom: 14px;
}

.section-title {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 26px;
}

.bio-wrap {
  max-width: 900px;
  margin-bottom: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}

.skills-list {
  display: grid;
  gap: 10px;
}

.skill-group,
.ai-callout,
.bio-text {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.skill-group {
  padding: 20px;
}

.skill-group h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
  margin-bottom: 14px;
}

.skill-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.skill-group li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.42;
}

.skill-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px rgba(255, 55, 199, 0.75);
}

.bio-text {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 26px;
}

.bio-text > p:last-child {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 520;
  line-height: 1.68;
}

.bio-text strong {
  color: var(--ink);
  font-weight: 820;
}

.pink-word {
  color: var(--pink);
  font-weight: 760;
  text-shadow: 0 0 22px rgba(255, 55, 199, 0.36);
}

.ai-callout {
  padding: 24px 26px;
}

.ai-callout-label {
  margin-bottom: 8px;
}

.ai-callout p {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.64;
}

.behaviors-block,
.craft-block,
.taste-block {
  margin-top: 16px;
  padding: 24px 26px;
  background: rgba(22, 17, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.behaviors-block {
  margin-top: 18px;
  margin-bottom: 18px;
}

.behaviors-grid,
.craft-grid,
.taste-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

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

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

.behavior-card,
.craft-card,
.taste-card {
  min-height: 150px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.behavior-card h4,
.craft-card h4,
.taste-card h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.18;
  margin-bottom: 9px;
}

.behavior-card p,
.craft-card p,
.taste-card p {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.42;
}

.taste-card {
  min-height: 128px;
  background:
    linear-gradient(135deg, rgba(255, 55, 199, 0.08), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
}

.behavior-card span,
.craft-card span {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  min-height: 30px;
  align-items: center;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 55, 199, 0.12);
  color: #ffd9f4;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.25;
}

.craft-card {
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 55, 199, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.filter-bar {
  position: sticky;
  top: 88px;
  z-index: 8;
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-pill);
  background: rgba(18, 14, 22, 0.76);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.case-studies {
  scroll-margin-top: 94px;
  display: grid;
  gap: 14px;
  margin: 0 0 36px;
}

.case-study {
  position: relative;
  scroll-margin-top: 94px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 55, 199, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(22, 17, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 34px;
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(20px) saturate(1.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
}

.card-logo {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.case-logo {
  top: auto;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.case-logo img {
  width: 62%;
  height: 62%;
}

.case-study-alt {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 55, 199, 0.08)),
    rgba(22, 17, 26, 0.72);
}

.case-study-heading,
.case-study-body {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.case-study-heading {
  position: relative;
  padding: 24px;
  padding-right: 24px;
  padding-bottom: 92px;
}

.case-study-label {
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.case-study-heading h3 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 820;
  line-height: 0.98;
  margin-bottom: 18px;
}

.case-study-heading p:last-child {
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 570;
  line-height: 1.5;
}

.case-study-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.case-detail {
  min-height: 126px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(7, 7, 12, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.case-study-body span {
  display: block;
  color: var(--pink);
  font-size: 11px;
  font-weight: 820;
  margin-bottom: 8px;
}

.case-study-body p {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.45;
}

.example-gallery {
  display: grid;
  gap: 18px;
  margin: 0 0 36px;
}

.example-group {
  padding: 18px;
  background: rgba(22, 17, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 34px;
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(20px) saturate(1.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
}

.example-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 6px 6px 0;
}

.example-group-heading p:last-child {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 570;
  line-height: 1.42;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.example-card {
  grid-column: span 4;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.example-group:first-child .example-card {
  grid-column: span 4;
}

.example-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #050509;
  overflow: hidden;
}

.example-media img,
.example-media > video,
.video-watch,
.image-expand {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.example-media video,
.video-watch,
.image-expand {
  background: #050509;
}

.image-expand {
  padding: 0;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}

.image-expand img {
  transition: transform 0.28s ease, filter 0.28s ease;
}

.image-expand:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.video-watch {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font);
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 55, 199, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(255, 55, 199, 0.18), rgba(255, 255, 255, 0.045)),
    #050509;
}

.video-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(1.08) contrast(1.05);
  pointer-events: none;
}

.video-watch::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 9, 0.14), rgba(5, 5, 9, 0.38)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.76;
}

.play-mark {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255, 55, 199, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 38px rgba(255, 55, 199, 0.28);
  font-size: 13px;
  font-weight: 820;
}

.watch-label {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 820;
}

.video-watch:hover .play-mark {
  background: rgba(255, 55, 199, 0.26);
  box-shadow: 0 0 52px rgba(255, 55, 199, 0.38);
}

.example-caption {
  min-height: 82px;
  padding: 14px 15px 16px;
}

.example-caption h4 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.18;
}

.example-caption p {
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 720;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 5, 9, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.image-lightbox figure {
  width: min(100%, 1180px);
  max-height: min(86vh, 900px);
  display: grid;
  gap: 12px;
  margin: 0;
}

.image-lightbox img {
  max-width: 100%;
  max-height: calc(86vh - 44px);
  justify-self: center;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  background: #050509;
}

.image-lightbox figcaption {
  color: var(--ink-soft);
  text-align: center;
  font-size: 13px;
  font-weight: 720;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 301;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(22, 17, 26, 0.76);
  color: var(--ink);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
}

.filter-btn {
  height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-btn:hover {
  color: #ffffff;
}

.filter-btn.active {
  background: rgba(255, 55, 199, 0.14);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 55, 199, 0.22), 0 0 24px rgba(255, 55, 199, 0.14);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.project-card {
  grid-column: span 4;
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(22, 17, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  cursor: default;
  position: relative;
  overflow: hidden;
  animation: cardIn 0.35s ease both;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.project-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 55, 199, 0.12), transparent 38%),
    radial-gradient(circle at 84% 16%, rgba(252, 114, 255, 0.12), transparent 30%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 55, 199, 0.32);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.44), 0 0 42px rgba(255, 55, 199, 0.12);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card.featured {
  grid-column: span 6;
  min-height: 260px;
  background: linear-gradient(180deg, rgba(38, 28, 43, 0.82), rgba(20, 15, 24, 0.82));
  border-color: rgba(255, 55, 199, 0.22);
}

.project-card-top,
.project-role,
.project-proofs,
.project-tags {
  position: relative;
  z-index: 1;
}

.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-right: 48px;
  margin-bottom: 14px;
}

.project-name {
  color: var(--ink);
  font-size: 23px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.05;
}

.featured .project-name {
  font-size: clamp(28px, 3.4vw, 42px);
}

.featured-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  color: #ffd9f4;
  font-size: 11px;
  font-weight: 820;
  box-shadow: inset 0 0 0 1px rgba(255, 55, 199, 0.24);
}

.project-role {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 590;
  line-height: 1.52;
  margin-bottom: 24px;
}

.featured .project-role {
  font-size: 17px;
}

.project-proofs {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.project-proofs li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.38;
}

.project-proofs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 55, 199, 0.7);
}

.featured .project-proofs li {
  font-size: 14px;
}

.evidence-link {
  position: relative;
  z-index: 2;
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 55, 199, 0.13);
  border: 1px solid rgba(255, 55, 199, 0.22);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 820;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.evidence-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 55, 199, 0.2);
  box-shadow: 0 0 24px rgba(255, 55, 199, 0.18);
}

.evidence-link-large {
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
}

.case-evidence-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 780;
}

.project-card.hidden {
  display: none;
}

.project-card.clickable {
  cursor: pointer;
}

#contact .section-inner {
  padding-top: 110px;
  padding-bottom: 118px;
  text-align: center;
}

.relocation-note .section-inner {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

.relocation-note p {
  display: inline-flex;
  max-width: 760px;
  padding: 18px 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 55, 199, 0.1);
  border: 1px solid rgba(255, 55, 199, 0.2);
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 820;
  line-height: 1.25;
  box-shadow: 0 0 34px rgba(255, 55, 199, 0.12);
}

.uniswap-fit {
  max-width: 760px;
  margin: 16px 0 0;
  padding: 26px 30px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 55, 199, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(22, 17, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small), 0 0 44px rgba(255, 55, 199, 0.08);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.uniswap-fit p:last-child {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 570;
  line-height: 1.52;
}

.contact-headline {
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.98;
}

.contact-headline span {
  color: var(--pink);
  text-shadow: 0 0 38px rgba(255, 55, 199, 0.42);
}

.contact-sub {
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 570;
}

footer {
  scroll-margin-top: 94px;
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding: 28px 24px 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 650;
}

footer a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--pink);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

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

  .about-grid {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .behaviors-block {
    margin-bottom: 22px;
  }

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

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

  .hero-panel,
  .project-picker-panel {
    max-width: 560px;
    justify-self: start;
  }

  .project-card,
  .project-card.featured {
    grid-column: span 6;
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .case-study-heading {
    padding-bottom: 24px;
    padding-right: 84px;
  }

  .case-logo {
    top: 24px;
    bottom: auto;
    right: 24px;
  }

  .example-card,
  .example-group:first-child .example-card {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .skills-list {
    grid-template-columns: 1fr;
  }

  .skill-group {
    padding: 18px;
  }

  .skill-group ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
  }
}

@media (max-width: 720px) {
  nav {
    top: 12px;
    width: min(calc(100% - 20px), 1040px);
  }

  .nav-logo {
    font-size: 0;
    gap: 0;
  }

  .nav-logo span {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 0 11px;
    font-size: 13px;
  }

  #hero {
    padding: 106px 16px 38px;
  }

  #hero::after {
    background:
      linear-gradient(180deg, rgba(7, 7, 12, 0.9) 0%, rgba(7, 7, 12, 0.72) 56%, rgba(7, 7, 12, 0.32) 100%),
      radial-gradient(circle at 50% 28%, rgba(255, 55, 199, 0.16), transparent 44%);
  }

  .hero-name {
    font-size: clamp(48px, 17vw, 74px);
  }

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

  .project-picker-panel {
    max-width: 100%;
    padding: 10px;
    border-radius: 28px;
  }

  .picker-field {
    padding: 12px;
    border-radius: 22px;
  }

  .picker-trigger {
    min-height: 74px;
    padding: 12px;
    border-radius: 19px;
  }

  .picker-token-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .picker-token strong {
    font-size: 22px;
  }

  .picker-token small {
    font-size: 12px;
  }

  .picker-menu {
    max-height: 300px;
    border-radius: 22px;
  }

  .section-inner {
    padding: 74px 16px;
  }

  .skill-group ul {
    grid-template-columns: 1fr;
  }

  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .behaviors-grid,
  .craft-grid,
  .taste-grid {
    grid-template-columns: 1fr;
  }

  .panel-metrics div {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .panel-metrics div:last-child {
    border-bottom: 0;
  }

  .filter-bar {
    position: static;
    border-radius: 22px;
  }

  .case-study {
    padding: 12px;
    border-radius: 26px;
  }

  .case-study-heading,
  .case-study-body {
    border-radius: 20px;
  }

  .case-study-heading {
    padding-bottom: 24px;
    padding-right: 78px;
  }

  .case-logo {
    top: 18px;
    bottom: auto;
    right: 18px;
  }

  .case-study-body {
    grid-template-columns: 1fr;
  }

  .example-group {
    padding: 12px;
    border-radius: 26px;
  }

  .example-group-heading {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .example-card,
  .example-group:first-child .example-card {
    grid-column: 1 / -1;
  }

  .example-media {
    aspect-ratio: 1 / 1;
  }

  .project-card,
  .project-card.featured {
    grid-column: 1 / -1;
    min-height: 210px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
