
:root {
  --bg: #050506;
  --bg-soft: #0b0b0e;
  --surface: rgba(20, 20, 24, 0.78);
  --surface-solid: #141418;
  --surface-2: #1a1a20;
  --text: #f7f7f8;
  --muted: #aaaab6;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --accent: #e50914;
  --accent-2: #ff5a61;
  --success: #45d483;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-small: 0 12px 38px rgba(0, 0, 0, 0.3);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% -8%, rgba(229, 9, 20, 0.22), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(255, 90, 97, 0.11), transparent 28%),
    linear-gradient(180deg, #050506 0%, #09090c 48%, #050506 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

::selection { background: rgba(229, 9, 20, 0.72); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 5, 6, 0.84);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ff2631, #9e0008);
  box-shadow: 0 10px 30px rgba(229, 9, 20, .28);
  font-size: .82rem;
  letter-spacing: -.05em;
}
.brand-name span { color: var(--accent-2); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: .92rem;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}
.nav-cta {
  border: 1px solid rgba(229, 9, 20, .48) !important;
  color: #fff !important;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
  border-radius: 13px;
  cursor: pointer;
}
.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

main { min-height: 65vh; }
.section { padding: 92px 0; }
.section-tight { padding: 70px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #ff8187;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 27px;
  height: 1px;
  background: currentColor;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
.display-title {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  letter-spacing: -.065em;
  font-weight: 900;
}
.display-title .accent,
.section-title .accent { color: var(--accent-2); }
.section-title {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.6vw, 4.2rem);
  letter-spacing: -.05em;
  font-weight: 880;
}
.section-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.03rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 36px;
}
.section-head .section-copy { margin-bottom: 0; }

.hero { padding: 76px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
  gap: 66px;
  align-items: center;
}
.availability {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(69, 212, 131, .25);
  border-radius: 999px;
  color: #b9f4d2;
  background: rgba(69, 212, 131, .07);
  font-size: .8rem;
}
.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(69, 212, 131, .12);
}
.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.hero-actions,
.card-actions,
.project-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hero-actions { margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 760;
  font-size: .92rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, #f0131e, #b90009);
  box-shadow: 0 15px 34px rgba(229, 9, 20, .25);
}
.button-primary:hover { box-shadow: 0 18px 42px rgba(229, 9, 20, .38); }
.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .04);
}
.button-secondary:hover { background: rgba(255, 255, 255, .08); }
.button-ghost { color: #ffd7d9; padding-inline: 5px; }

.hero-visual {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero-visual::before {
  width: 370px;
  height: 370px;
  background: rgba(229, 9, 20, .2);
  box-shadow: 0 0 100px rgba(229, 9, 20, .24);
}
.hero-visual::after {
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.profile-card {
  position: relative;
  z-index: 2;
  width: min(100%, 410px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 31px;
  background: linear-gradient(180deg, rgba(35, 35, 42, .83), rgba(14, 14, 17, .92));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.profile-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(229, 9, 20, .22), transparent 42%);
}
.profile-image {
  aspect-ratio: 4 / 4.7;
  width: 100%;
  object-fit: cover;
  border-radius: 23px;
  background: #151519;
}
.profile-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 16px 5px 4px;
}
.profile-caption strong { display: block; }
.profile-caption span { color: var(--muted); font-size: .82rem; }
.profile-chip {
  padding: 7px 10px;
  background: rgba(229, 9, 20, .13);
  border: 1px solid rgba(229, 9, 20, .28);
  border-radius: 999px;
  color: #ffc1c4 !important;
}
.floating-note {
  position: absolute;
  z-index: 3;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(10, 10, 13, .85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-small);
  font-size: .8rem;
}
.floating-note strong { display: block; font-size: 1rem; }
.note-one { left: -18px; top: 88px; }
.note-two { right: -10px; bottom: 82px; }

.metric-strip {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .025);
}
.metric {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: 4px; font-size: 1.4rem; }
.metric span { color: var(--muted); font-size: .84rem; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(29, 29, 34, .8), rgba(15, 15, 18, .9));
  box-shadow: var(--shadow-small);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(229, 9, 20, .47);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .42);
}
.project-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111116;
}
.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.project-card:hover .project-cover img { transform: scale(1.045); }
.project-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(4, 4, 5, .72);
  backdrop-filter: blur(10px);
  font-size: .68rem;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.project-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .76rem;
}
.project-title { margin-bottom: 10px; font-size: 1.22rem; }
.project-description { color: var(--muted); font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: auto 0 18px; padding-top: 15px; }
.tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d3d3db;
  background: rgba(255, 255, 255, .035);
  font-size: .71rem;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffafb3;
  font-weight: 760;
  font-size: .87rem;
}
.project-link span { transition: transform .2s ease; }
.project-card:hover .project-link span { transform: translateX(4px); }

.split-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.panel,
.info-card,
.timeline-item,
.contact-card,
.detail-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}
.panel {
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 52px);
}
.panel-dark { background: linear-gradient(155deg, #111116, #09090c); }
.panel-accent {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .72)),
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, .2), transparent 23%),
    linear-gradient(145deg, #fa1925, #700005);
}
.panel-number {
  margin-bottom: auto;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: .8;
  font-weight: 950;
  letter-spacing: -.09em;
  opacity: .28;
}
.quote { font-size: clamp(1.45rem, 3vw, 2.35rem); font-weight: 760; line-height: 1.23; }

.skill-grid,
.info-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card,
.contact-card,
.detail-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}
.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 13px;
  background: rgba(229, 9, 20, .12);
  border: 1px solid rgba(229, 9, 20, .22);
  color: #ff9ca1;
}
.info-card h3,
.contact-card h3 { margin-bottom: 10px; }
.info-card p,
.contact-card p { color: var(--muted); font-size: .9rem; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(229, 9, 20, .34);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .12), transparent 22%),
    linear-gradient(135deg, rgba(229, 9, 20, .92), rgba(112, 0, 5, .9));
  box-shadow: 0 28px 80px rgba(80, 0, 4, .32);
}
.cta-band h2 { max-width: 690px; margin-bottom: 9px; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.045em; }
.cta-band p { max-width: 640px; margin-bottom: 0; color: rgba(255, 255, 255, .78); }
.cta-band .button { flex-shrink: 0; background: #fff; color: #111; }

.page-hero { padding: 84px 0 55px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 50px;
  align-items: end;
}
.page-hero-note {
  padding: 22px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  background: linear-gradient(90deg, rgba(229, 9, 20, .07), transparent);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}
.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
}
.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  border-color: rgba(229, 9, 20, .4);
  background: rgba(229, 9, 20, .12);
}
.project-card.is-hidden { display: none; }

.project-hero { padding: 70px 0 30px; }
.breadcrumbs { margin-bottom: 24px; color: var(--muted); font-size: .83rem; }
.breadcrumbs a:hover { color: #fff; }
.project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 42px;
  align-items: end;
}
.project-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -.06em;
}
.project-heading p { color: var(--muted); font-size: 1.05rem; }
.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fact {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}
.fact span { display: block; color: var(--muted); font-size: .72rem; }
.fact strong { font-size: .9rem; }
.project-banner {
  margin-top: 45px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.project-banner img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  align-items: start;
}
.prose {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(18, 18, 22, .7);
}
.prose h2 { margin: 38px 0 14px; font-size: 1.65rem; }
.prose h2:first-child { margin-top: 0; }
.prose p,
.prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.project-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 14px;
}
.detail-card h3 { margin-bottom: 13px; }
.detail-card p,
.detail-card li { color: var(--muted); font-size: .88rem; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-list li:last-child { border-bottom: 0; }
.detail-list strong { color: #fff; text-align: right; }

.timeline { display: grid; gap: 15px; }
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 22px;
  border-radius: var(--radius-lg);
}
.timeline-date { color: #ff9ca1; font-weight: 790; }
.timeline-item p { margin-bottom: 0; color: var(--muted); }

.contact-card a { color: #ffafb3; font-weight: 730; }
.contact-form {
  display: grid;
  gap: 15px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: grid; gap: 7px; color: #dcdce2; font-size: .84rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(0, 0, 0, .24);
  outline: none;
}
input:focus, textarea:focus { border-color: rgba(229, 9, 20, .72); box-shadow: 0 0 0 4px rgba(229, 9, 20, .11); }
textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .8rem; }

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.footer-grid p,
.footer-links a,
.footer-bottom { color: var(--muted); font-size: .84rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-title { margin-bottom: 13px; font-weight: 780; }
.social-links { margin-top: 16px; }
.social-links a {
  min-width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  font-size: .75rem;
}
.social-links a:hover { color: #fff; border-color: rgba(229, 9, 20, .45); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .project-heading,
  .detail-layout,
  .split-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 490px; }
  .project-grid,
  .skill-grid,
  .info-grid,
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(9, 9, 12, .96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; }
  .nav-links a { padding: 12px 13px; }
  .hero { padding-top: 46px; }
  .hero-grid { gap: 30px; }
  .hero-visual { min-height: 420px; }
  .profile-card { width: min(88%, 360px); }
  .floating-note { display: none; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .project-grid,
  .skill-grid,
  .info-grid,
  .contact-grid,
  .project-sidebar { grid-template-columns: 1fr; }
  .section-head,
  .cta-band { align-items: flex-start; flex-direction: column; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .section { padding: 70px 0; }
  .display-title { font-size: clamp(2.7rem, 16vw, 4.3rem); }
  .metric-strip { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .hero-actions .button { width: 100%; }
  .project-facts { grid-template-columns: 1fr; }
}
