:root {
  --bg-primary: #000000;
  --bg-surface: #1d1d1f;
  --bg-elevated: #2c2c2e;
  --accent: #FF7000;
  --accent-soft: #FF8C33;
  --accent-glow: rgba(255, 112, 0, 0.35);
  --btn-blue: #FF7000;
  --btn-blue-hover: #FF8519;
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #6e6e73;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.28);
  --success: #30d158;
  --danger: #ff453a;
  --nav-bg: rgba(0, 0, 0, 0.72);
  --scrim: rgba(0, 0, 0, 0.6);
  --success-bg: rgba(48, 209, 88, 0.12);
  --success-border: rgba(48, 209, 88, 0.4);
  --danger-bg: rgba(255, 69, 58, 0.12);
  --danger-border: rgba(255, 69, 58, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: var(--accent);
  color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

p {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 60ch;
  font-weight: 400;
}

.text-accent {
  color: var(--accent);
}

.text-soft {
  color: var(--accent-soft);
}

.text-muted {
  color: var(--text-muted);
}

code,
.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes glowPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes slideRight {
  from {
    width: 0;
  }
  to {
    width: var(--skill-level);
  }
}
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
body {
  position: relative;
  background-color: var(--bg-primary);
}

.circuit-overlay,
.cursor-glow {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.7rem 1.4rem;
  border-radius: 980px;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn--primary {
  background: var(--btn-blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--btn-blue-hover);
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--text-secondary);
}
.btn--ghost {
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
  border-radius: 0;
}
.btn--ghost:hover {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.tag:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.75rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, background 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 980px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}
.badge--accent {
  color: var(--accent-soft);
  border-color: rgba(255, 112, 0, 0.35);
  background: rgba(255, 112, 0, 0.1);
}
.badge--available {
  color: var(--success);
  border-color: var(--success-border);
  background: var(--success-bg);
}
.badge--available .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: glowPulse 2.5s ease-in-out infinite;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 980px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.pill .pill__icon {
  color: var(--accent);
  font-size: 0.7rem;
}
.pill:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.stat {
  text-align: center;
  padding: 1.75rem;
}
.stat__value {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.stat__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.icon-btn:hover {
  transform: translateY(-3px);
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}
.icon-btn svg {
  width: 19px;
  height: 19px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 1.75rem;
}

.section {
  padding-block: 5rem;
}
@media (max-width: 768px) {
  .section {
    padding-block: 3rem;
  }
}

.section__head {
  margin-bottom: 3rem;
}
.section__head .eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  z-index: 100;
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav__inner {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    padding: 5rem 3rem;
    overflow-y: auto;
    background: rgba(20, 20, 22, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav__links.open {
    transform: translateX(0);
  }
}
.nav__link {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}
.nav__link:hover {
  color: var(--text-primary);
}
.nav__link.active {
  color: var(--text-primary);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 110;
}
@media (max-width: 768px) {
  .nav__toggle {
    display: inline-flex;
  }
}
.nav__toggle span {
  position: relative;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav__toggle span::before {
  top: -6px;
}
.nav__toggle span::after {
  top: 6px;
}
.nav__toggle.open span {
  background: transparent;
}
.nav__toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav__toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 90;
}
.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
  padding-block: 3rem;
  margin-top: 5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }
}
.footer__brand {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}
.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer__links {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.footer__links a:hover {
  color: var(--text-primary);
}
.footer__socials {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .footer__socials {
    justify-content: center;
  }
}
.footer__bottom {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1.75rem;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
}

main {
  padding-top: 64px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-block: 5rem 3rem;
  }
}
@media (max-width: 480px) {
  .hero {
    padding-block: 3rem;
  }
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__bg.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 5rem;
}
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}
.hero__eyebrow {
  margin-bottom: 1.75rem;
}
.hero__title {
  margin-bottom: 1rem;
}
.hero__role {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  min-height: 1.4em;
  margin-bottom: 1.75rem;
}
.hero__role .typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
.hero__desc {
  max-width: 46ch;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .hero__desc {
    margin-inline: auto;
  }
}
.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .hero__actions {
    justify-content: center;
  }
}
.hero__socials {
  display: flex;
  gap: 1rem;
}
@media (max-width: 1024px) {
  .hero__socials {
    justify-content: center;
  }
}
.hero__visual {
  display: flex;
  justify-content: center;
}
@media (max-width: 1024px) {
  .hero__visual {
    order: -1;
  }
}

.hex-frame {
  position: relative;
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 1;
}
.hex-frame__shape {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-surface));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hex-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hex-frame__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hex-frame__placeholder {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.04em;
}

.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats-bar__grid .stat:not(:last-child) {
  border-right: 1px solid var(--border);
}
@media (max-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: 1fr;
  }
  .stats-bar__grid .stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.page-hero {
  position: relative;
  padding-block: 5rem 3rem;
  text-align: center;
  overflow: hidden;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero__title .bracket {
  color: var(--accent);
}
.page-hero__subtitle {
  margin: 1rem auto 0;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 52ch;
}

.preview-foot {
  margin-top: 3rem;
  text-align: center;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
.gallery__grid.has-photos .gallery__empty {
  display: none;
}

.gallery__item {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__empty {
  grid-column: 1/-1;
  padding: 3rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 14px;
}

.about-preview {
  max-width: 62ch;
}
.about-preview p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
}
.about-preview p + p {
  margin-top: 1.75rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.about-grid__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  position: sticky;
  top: calc(64px + 1.75rem);
}
@media (max-width: 1024px) {
  .about-grid__media {
    position: static;
  }
}
.about-grid__bio p {
  margin-bottom: 1.75rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.timeline {
  position: relative;
  padding-left: 3rem;
  margin-top: 1.75rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-3rem + 1px);
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-primary);
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__date {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
}
.timeline__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.timeline__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.feature-card {
  text-align: left;
}
.feature-card__icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.feature-card__icon svg {
  width: 22px;
  height: 22px;
}
.feature-card__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.feature-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.skill-bar {
  margin-bottom: 1.75rem;
}
.skill-bar__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
}
.skill-bar__name {
  color: var(--text-primary);
  font-weight: 500;
}
.skill-bar__pct {
  color: var(--text-secondary);
}
.skill-bar__track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 980px;
  overflow: hidden;
}
.skill-bar__fill {
  height: 100%;
  width: 0;
  background: var(--text-primary);
  border-radius: 980px;
}
.skill-bar__fill.animate {
  animation: slideRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fw-card__name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fw-card__name .fw-card__tag {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 2px 10px;
}
.fw-card__desc {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.75rem;
  text-align: center;
}
.tool__icon {
  color: var(--text-primary);
}
.tool__icon svg, .tool__icon span {
  font-size: 1.6rem;
}
.tool__name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-tabs__btn {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 980px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  transition: all 0.25s ease;
}
.filter-tabs__btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.filter-tabs__btn.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #000;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  padding-inline: 1rem;
}
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}
.project-card.is-hidden {
  display: none;
}
.project-card__media {
  margin: -1.75rem -1.75rem 0.5rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-card__media img {
  transform: scale(1.03);
}
.project-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.project-card__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.project-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex-grow: 1;
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-card__actions {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.project-card--placeholder {
  border-style: dashed;
  opacity: 0.75;
}
.project-card--placeholder:hover {
  transform: translateY(-3px);
}
.project-card--tile {
  padding: 0;
  aspect-ratio: 5/3;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background: linear-gradient(150deg, var(--bg-elevated), var(--bg-surface));
}
@media (max-width: 480px) {
  .project-card--tile {
    aspect-ratio: 3/2;
  }
}
.project-card--tile .project-card__media {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  z-index: 0;
}
.project-card--tile .project-card__media img {
  width: 100%;
  height: 100%;
}
.project-card--tile .project-card__open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.project-card--tile .project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 1.75rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 34%, rgba(0, 0, 0, 0) 68%);
}
.project-card--tile .project-card__title {
  margin-top: 0.5rem;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.project-card--tile .project-card__tags {
  justify-content: center;
}
.project-card--tile .project-card__tags .tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.project-card--tile .project-card__actions {
  margin-top: 0.5rem;
  justify-content: center;
  pointer-events: none;
}
.project-card--tile .project-card__actions a, .project-card--tile .project-card__actions button {
  pointer-events: auto;
}
.project-card--tile .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.28);
}
.project-card--tile .btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}
.project-card--tile .btn--ghost {
  color: #fff;
}
.project-card--tile .btn--ghost:hover {
  color: var(--accent-soft);
}
.project-card--tile .project-card__actions .badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}
.project-card--tile:hover {
  transform: none;
  background: linear-gradient(150deg, var(--bg-elevated), var(--bg-surface));
}

.exp-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 768px) {
  .exp-card {
    grid-template-columns: 1fr;
  }
}
.exp-card__logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
}
.exp-card__role {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.exp-card__meta {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  color: var(--accent);
  margin: 6px 0 1rem;
}
.exp-card__desc {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.exp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-info__item .contact-info__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-info__item .contact-info__icon svg {
  width: 20px;
  height: 20px;
}
.contact-info__item .contact-info__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.contact-info__item .contact-info__value {
  color: var(--text-primary);
  font-size: 0.95rem;
}
.contact-info__item:hover .contact-info__value {
  color: var(--accent-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-form button {
  align-self: flex-start;
}
.contact-form__success, .contact-form__error {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
}
.contact-form__success svg, .contact-form__error svg {
  flex-shrink: 0;
}
.contact-form__success.show, .contact-form__error.show {
  display: flex;
}
.contact-form__success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
}
.contact-form__error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--accent);
  z-index: 105;
  pointer-events: none;
  will-change: transform;
}

.to-top {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, border-color 0.25s ease, background 0.25s ease;
  z-index: 100;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  border-color: var(--border-strong);
  background: rgba(40, 40, 42, 0.9);
  transform: translateY(-3px);
}
.to-top svg {
  width: 20px;
  height: 20px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--scrim);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(85vh, 760px);
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  padding: 3rem;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.open .modal__dialog {
  transform: translateY(0) scale(1);
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.modal__close:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.1);
}
.modal__close svg {
  width: 18px;
  height: 18px;
}
.modal__category {
  margin-bottom: 1rem;
}
.modal__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-right: 3rem;
}
.modal__desc {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}
.modal__desc p {
  margin-bottom: 1rem;
}
.modal__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.modal__gallery:empty {
  display: none;
  margin-bottom: 0;
}
.modal__gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .to-top,
  .modal,
  .modal__dialog {
    transition: none;
  }
}
