:root {
  --wine: #42091c;
  --midnight: #081670;
  --plum: #4f0a6b;
  --ink: #111218;
  --muted: #676573;
  --warm-white: #fcfaf8;
  --cream: #f5efeb;
  --rose-mist: #f3e7eb;
  --lavender-mist: #eeeaf5;
  --soft-blue: #e9edf8;
  --white: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(66, 9, 28, 0.14);
  --gradient-main: linear-gradient(135deg, #42091c 0%, #4f0a6b 48%, #081670 100%);
  --shadow-deep: 0 35px 90px rgba(6, 8, 26, 0.28);
  --shadow-soft: 0 24px 70px rgba(39, 16, 29, 0.1);
  --container: 1220px;
  --header-height: 78px;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  min-width: 320px;
  background: var(--warm-white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--wine);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(18, 7, 20, 0.88);
  border-color: var(--line-dark);
  box-shadow: 0 12px 35px rgba(2, 4, 20, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  position: relative;
  z-index: 2;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 72%;
  bottom: -7px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #d8a3b1, #8995ff);
  transition: right 0.25s ease;
}

.brand:hover::after {
  right: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--white);
  transition: right 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--white);
  color: var(--wine);
  transform: translateY(-2px);
}

.menu-button {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.menu-button span {
  position: absolute;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 24px;
}

.menu-button.is-active span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-button.is-active span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  padding: calc(var(--header-height) + 38px) 22px 28px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 92% 8%, rgba(118, 103, 255, 0.3), transparent 28%),
    linear-gradient(145deg, #290817 0%, #4f0a6b 52%, #081670 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-inner {
  width: min(100%, 620px);
  min-height: calc(100% - 10px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-label {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-nav-inner > a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-nav-inner > a > span {
  color: rgba(255, 255, 255, 0.46);
  font-family: "Road Rage", cursive;
  font-size: 1.85rem;
  line-height: 1;
}

.mobile-nav-inner > a > strong {
  color: var(--white);
  font-size: clamp(1.35rem, 6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.mobile-nav-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 30px;
}

.mobile-nav-footer > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
}

.mobile-nav-footer p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-height) + 78px) 0 0;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(10, 4, 15, 0.24), rgba(8, 22, 112, 0.08)),
    var(--gradient-main);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  top: -250px;
  right: 4%;
  background: rgba(111, 91, 255, 0.3);
}

.hero-glow-two {
  width: 380px;
  height: 380px;
  left: -180px;
  bottom: 0;
  background: rgba(219, 75, 130, 0.18);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero-copy h1 {
  margin: 0;
}

.display-name {
  display: block;
  margin-left: -3px;
  font-family: "Road Rage", cursive;
  font-size: clamp(5.4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: 0.01em;
}

.hero-role {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-statement {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(2.25rem, 4.6vw, 4.65rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-statement span {
  color: #e4c8d3;
}

.hero-description {
  max-width: 650px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 21px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--white);
  color: var(--wine);
  box-shadow: 0 14px 32px rgba(3, 4, 20, 0.2);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.27);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
}

.hero-meta {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr 1fr;
  gap: 18px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-meta div {
  display: grid;
  gap: 4px;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta strong {
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.portrait-orbit {
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.portrait-orbit::before,
.portrait-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.portrait-orbit::before {
  width: 10px;
  height: 10px;
  top: 42px;
  right: 68px;
  background: #f4cfdd;
  box-shadow: 0 0 0 8px rgba(244, 207, 221, 0.1);
}

.portrait-orbit::after {
  width: 7px;
  height: 7px;
  left: 36px;
  bottom: 104px;
  background: #93a0ff;
  box-shadow: 0 0 0 7px rgba(147, 160, 255, 0.1);
}

.portrait-frame {
  position: relative;
  z-index: 2;
  width: min(380px, 86%);
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 44px 44px 150px 44px;
  background: var(--cream);
  box-shadow: var(--shadow-deep);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(18, 3, 19, 0.38), transparent);
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.visual-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(18, 8, 25, 0.74);
  box-shadow: 0 18px 45px rgba(3, 4, 20, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.75rem;
  font-weight: 800;
}

.visual-card-top {
  top: 92px;
  right: -10px;
  padding: 13px 16px;
}

.visual-card-bottom {
  left: -30px;
  bottom: 96px;
  display: grid;
  gap: 2px;
  min-width: 205px;
  padding: 15px 17px;
}

.visual-card-bottom small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60d9a5;
  box-shadow: 0 0 0 6px rgba(96, 217, 165, 0.12);
}

.visual-signature {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.055);
  font-family: "Road Rage", cursive;
  font-size: 11rem;
  line-height: 1;
}

.capability-rail {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transform: translateY(1px);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-deep);
}

.capability-rail > div {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 25px 24px 27px;
}

.capability-rail > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 22px;
  width: 1px;
  background: var(--line-light);
}

.capability-rail span {
  color: var(--wine);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.capability-rail strong {
  font-size: 0.9rem;
}

.capability-rail small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.5;
}

.about-section {
  padding: 130px 0 140px;
  background:
    radial-gradient(circle at 86% 14%, rgba(79, 10, 107, 0.08), transparent 25%),
    var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(60px, 9vw, 135px);
  align-items: start;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.section-heading h2 span {
  color: var(--wine);
}

.about-lead {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}

.about-columns p {
  color: var(--muted);
  font-size: 0.93rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 36px;
}

.about-tags span {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.56);
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 800;
}

.projects-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 125px 0 90px;
  background:
    linear-gradient(135deg, rgba(66, 9, 28, 0.96), rgba(31, 8, 53, 0.96) 52%, rgba(8, 22, 112, 0.96));
  color: var(--white);
}

.projects-intro::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}

.projects-intro-glow {
  position: absolute;
  z-index: -1;
  width: 600px;
  height: 600px;
  top: -380px;
  right: -120px;
  border-radius: 50%;
  background: rgba(151, 117, 255, 0.24);
  filter: blur(30px);
}

.projects-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 80px;
  align-items: end;
}

.section-heading-light h2 {
  color: var(--white);
}

.projects-intro-copy {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.98rem;
}

.project-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 78px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.project-index > div {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 24px 18px 25px;
}

.project-index > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 18px;
  width: 1px;
  background: var(--line-dark);
}

.project-index span {
  color: #e2b5c4;
  font-family: "Road Rage", cursive;
  font-size: 2.3rem;
  line-height: 0.8;
}

.project-index strong {
  font-size: 0.82rem;
}

.project-index small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.66rem;
}

.featured-projects {
  overflow: hidden;
}

.project-case {
  position: relative;
  isolation: isolate;
  padding: 145px 0;
  background: var(--warm-white);
}

.project-case + .project-case {
  border-top: 1px solid rgba(17, 18, 24, 0.07);
}

.project-case-light {
  background:
    radial-gradient(circle at 8% 8%, rgba(66, 9, 28, 0.08), transparent 25%),
    var(--warm-white);
}

.project-case-rose {
  background:
    radial-gradient(circle at 92% 16%, rgba(66, 9, 28, 0.09), transparent 25%),
    var(--rose-mist);
}

.project-case-blue {
  background:
    radial-gradient(circle at 10% 90%, rgba(8, 22, 112, 0.09), transparent 28%),
    var(--soft-blue);
}

.project-case-lavender {
  background:
    radial-gradient(circle at 86% 16%, rgba(79, 10, 107, 0.11), transparent 27%),
    var(--lavender-mist);
}

.project-case-dark {
  overflow: hidden;
  background:
    linear-gradient(135deg, #120712 0%, #26082f 48%, #09144f 100%);
  color: var(--white);
}

.project-case-dark::before {
  content: "MYTRIX";
  position: absolute;
  z-index: -2;
  right: -20px;
  bottom: -60px;
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(8rem, 18vw, 20rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.project-case-glow {
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  top: -230px;
  right: -180px;
  border-radius: 50%;
  background: rgba(100, 76, 255, 0.2);
  filter: blur(32px);
}

.project-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  grid-template-areas: "copy visual";
  gap: clamp(60px, 8vw, 118px);
  align-items: center;
}

.project-case-reverse .project-case-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  grid-template-areas: "visual copy";
}

.project-copy {
  grid-area: copy;
}

.project-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.project-number {
  color: var(--wine);
  font-family: "Road Rage", cursive;
  font-size: 4.4rem;
  line-height: 0.7;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}

.project-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14a766;
  box-shadow: 0 0 0 4px rgba(20, 167, 102, 0.12);
}

.project-category {
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-copy h3 {
  font-size: clamp(3.4rem, 6.5vw, 6.2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.project-summary {
  margin-top: 28px;
  color: #484650;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 500;
  line-height: 1.75;
}

.project-details {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.project-details > div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  padding: 16px 0;
}

.project-details > div + div {
  border-top: 1px solid var(--line-light);
}

.project-details span {
  color: var(--wine);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-details p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 27px;
}

.project-tags span {
  padding: 8px 11px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.42);
  color: var(--wine);
  font-size: 0.63rem;
  font-weight: 800;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 900;
}

.project-link-label {
  background: linear-gradient(
    105deg,
    var(--wine) 0%,
    var(--wine) 36%,
    #e591ad 50%,
    var(--wine) 64%,
    var(--wine) 100%
  );
  background-size: 300% 100%;
  background-position: 180% 0;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: project-link-shimmer 4.5s ease-in-out infinite;
}

.project-link-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  color: var(--white);
  transition: transform 0.22s ease;
}

.project-link:hover .project-link-icon {
  transform: translate(3px, -3px);
}

@keyframes project-link-shimmer {
  0%, 20% {
    background-position: 100% 0;
  }

  60%, 100% {
    background-position: 0% 0;
  }
}

.project-visual {
  position: relative;
  grid-area: visual;
  min-width: 0;
  min-height: 585px;
  padding-bottom: 96px;
}

.project-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -45px;
  right: -40px;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(66, 9, 28, 0.1);
  border-radius: 50%;
}

.project-browser {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 24, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-deep);
}

.browser-bar {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(17, 18, 24, 0.08);
  background: #f7f6f7;
  color: #77737d;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8c3ca;
}

.browser-dots i:first-child {
  background: #c56a73;
}

.browser-dots i:nth-child(2) {
  background: #d7ad61;
}

.browser-dots i:last-child {
  background: #69a77e;
}

.project-browser > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.project-secondary-shot {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  width: 68%;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 28px 65px rgba(20, 12, 22, 0.24);
}

.project-secondary-right {
  right: -38px;
}

.project-secondary-left {
  left: -38px;
}

.project-secondary-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.project-secondary-shot figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
}

.project-role-card {
  position: absolute;
  z-index: 3;
  left: -24px;
  bottom: 2px;
  max-width: 230px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(27, 9, 28, 0.92);
  box-shadow: 0 18px 44px rgba(15, 6, 21, 0.24);
  color: var(--white);
  font-size: 0.61rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-case-reverse .project-role-card {
  right: -24px;
  left: auto;
}

.project-case-dark .project-number,
.project-case-dark .project-category,
.project-case-dark .project-details span,
.project-case-dark .project-link {
  color: #e1b4c3;
}

.project-case-dark .project-summary,
.project-case-dark .project-details p {
  color: rgba(255, 255, 255, 0.67);
}

.project-case-dark .project-status,
.project-case-dark .project-tags span {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.project-case-dark .project-details,
.project-case-dark .project-details > div + div {
  border-color: var(--line-dark);
}

.project-case-dark .project-link-label {
  background-image: linear-gradient(
    105deg,
    #e1b4c3 0%,
    #e1b4c3 36%,
    #ffffff 50%,
    #e1b4c3 64%,
    #e1b4c3 100%
  );
}

.project-case-dark .project-link-icon {
  background: var(--white);
  color: #220924;
}

.project-case-dark .project-visual::before {
  border-color: rgba(255, 255, 255, 0.12);
}

.project-browser-dark {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.42);
}

.project-secondary-dark {
  border-color: rgba(27, 13, 31, 0.9);
  background: #160d19;
}

.project-secondary-dark figcaption {
  color: rgba(255, 255, 255, 0.64);
}

.selected-work {
  padding: 130px 0 145px;
  background:
    radial-gradient(circle at 80% 12%, rgba(79, 10, 107, 0.08), transparent 25%),
    var(--cream);
}

.selected-work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 70px;
  align-items: end;
}

.selected-work-heading > p {
  max-width: 470px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.selected-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 66px;
}

.selected-work-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.selected-work-card::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  top: -80px;
  right: -55px;
  border-radius: 50%;
  background: rgba(79, 10, 107, 0.07);
}

.selected-work-card:hover {
  transform: translateY(-7px);
  border-color: rgba(66, 9, 28, 0.25);
  box-shadow: var(--shadow-soft);
}

.selected-work-index {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--wine);
  line-height: 1;
}

.selected-work-index svg {
  display: block;
  width: 35px;
  height: 35px;
}

.selected-work-card > p {
  margin-top: 32px;
  color: var(--wine);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selected-work-card h3 {
  margin-top: 7px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.selected-work-card > span:not(.selected-work-index) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.selected-work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
}

.selected-work-tags i {
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  background: var(--rose-mist);
  color: var(--wine);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 800;
}

.selected-work-card > a {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--wine);
  font-weight: 900;
}

.expertise-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 140px 0 150px;
  background:
    linear-gradient(135deg, #160810 0%, #320925 46%, #0b164e 100%);
  color: var(--white);
}

.expertise-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 86px 86px;
}

.expertise-glow {
  position: absolute;
  z-index: -1;
  width: 680px;
  height: 680px;
  top: -410px;
  right: -180px;
  border-radius: 50%;
  background: rgba(115, 91, 255, 0.23);
  filter: blur(34px);
}

.expertise-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 80px;
  align-items: end;
}

.expertise-heading > p {
  max-width: 480px;
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 74px;
}

.expertise-card {
  position: relative;
  min-height: 440px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.expertise-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.085);
}

.expertise-card > span {
  color: #dcb3c1;
  font-family: "Road Rage", cursive;
  font-size: 3rem;
  line-height: 1;
}

.expertise-card h3 {
  margin-top: 34px;
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.expertise-card > p {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.65;
}

.expertise-card ul {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.expertise-card li {
  position: relative;
  padding-left: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.64rem;
  font-weight: 700;
}

.expertise-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dcb3c1;
}

.journey-section {
  padding: 140px 0 150px;
  background:
    radial-gradient(circle at 90% 8%, rgba(8, 22, 112, 0.08), transparent 25%),
    var(--warm-white);
}

.journey-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 70px;
  align-items: end;
}

.journey-heading > p {
  max-width: 475px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(60px, 8vw, 110px);
  align-items: start;
  margin-top: 82px;
}

.journey-timeline {
  position: relative;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 8px;
  width: 1px;
  background: var(--line-light);
}

.journey-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px 112px 1fr;
  gap: 22px;
  padding-bottom: 48px;
}

.journey-item:last-child {
  padding-bottom: 0;
}

.journey-marker {
  position: relative;
  z-index: 1;
  padding-top: 6px;
}

.journey-marker span {
  display: block;
  width: 17px;
  height: 17px;
  border: 4px solid var(--warm-white);
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 1px rgba(66, 9, 28, 0.24);
}

.journey-item-current .journey-marker span {
  background: #1ba56b;
  box-shadow: 0 0 0 1px rgba(27, 165, 107, 0.3), 0 0 0 7px rgba(27, 165, 107, 0.08);
}

.journey-item > p {
  padding-top: 4px;
  color: var(--wine);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.journey-item h3 {
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.journey-item > div:last-child > span {
  display: block;
  margin-top: 7px;
  color: var(--wine);
  font-size: 0.67rem;
  font-weight: 800;
}

.journey-item > div:last-child > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.experience-spotlight {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  padding: 38px;
  border: 1px solid var(--line-light);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(243, 231, 235, 0.8));
  box-shadow: var(--shadow-soft);
}

.experience-spotlight h3 {
  margin-top: 17px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.experience-spotlight > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.experience-points {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.experience-points > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px 0;
}

.experience-points > div + div {
  border-top: 1px solid var(--line-light);
}

.experience-points span {
  color: var(--wine);
  font-family: "Road Rage", cursive;
  font-size: 1.65rem;
  line-height: 1;
}

.experience-points p {
  color: #4d4850;
  font-size: 0.7rem;
  font-weight: 600;
}

.experience-spotlight > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 900;
}

.tech-section {
  padding: 130px 0 140px;
  background:
    radial-gradient(circle at 10% 10%, rgba(79, 10, 107, 0.08), transparent 26%),
    var(--soft-blue);
}

.tech-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 70px;
  align-items: end;
}

.tech-heading h2 {
  max-width: 790px;
  margin-top: 14px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.tech-heading > p {
  max-width: 450px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 68px;
  border-top: 1px solid rgba(8, 22, 112, 0.16);
  border-left: 1px solid rgba(8, 22, 112, 0.16);
}

.tech-group {
  min-height: 190px;
  padding: 25px;
  border-right: 1px solid rgba(8, 22, 112, 0.16);
  border-bottom: 1px solid rgba(8, 22, 112, 0.16);
  background: rgba(255, 255, 255, 0.32);
}

.tech-group > span {
  color: var(--midnight);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.tech-group i {
  padding: 8px 10px;
  border: 1px solid rgba(8, 22, 112, 0.13);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  color: #303655;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 700;
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 145px 0;
  background: var(--gradient-main);
  color: var(--white);
}

.contact-section::before {
  content: "LET'S BUILD";
  position: absolute;
  z-index: -2;
  left: -20px;
  bottom: -30px;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(7rem, 17vw, 17rem);
  font-weight: 900;
  line-height: 0.75;
  white-space: nowrap;
}

.contact-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(18px);
}

.contact-orb-one {
  width: 440px;
  height: 440px;
  top: -250px;
  right: -80px;
  background: rgba(119, 98, 255, 0.22);
}

.contact-orb-two {
  width: 320px;
  height: 320px;
  bottom: -210px;
  left: 30%;
  background: rgba(218, 133, 172, 0.17);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  gap: clamp(70px, 9vw, 135px);
  align-items: center;
}

.contact-copy h2 {
  max-width: 760px;
  margin-top: 17px;
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.94rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button-light {
  background: var(--white);
  color: var(--wine);
}

.contact-links {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.contact-links a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px 46px 20px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-links span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-links strong {
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}

.contact-links i {
  position: absolute;
  top: 50%;
  right: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  font-style: normal;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.contact-links a:hover i {
  transform: translate(3px, calc(-50% - 3px));
}

.site-footer {
  padding: 52px 0 24px;
  background: #080910;
  color: var(--white);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 42px;
}

.footer-brand {
  font-family: "Road Rage", cursive;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 0.8;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.footer-navigation a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 800;
}

.footer-navigation a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.61rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.preview-footer {
  padding: 24px 0;
  background: #080910;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.preview-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.preview-footer a {
  color: var(--white);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}

[data-reveal][data-reveal-delay="1"] {
  transition-delay: 0.12s;
}

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

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 42px;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta div:last-child {
    grid-column: 1 / -1;
  }

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

  .portrait-orbit {
    width: 390px;
    height: 390px;
  }

  .visual-card-top {
    right: 0;
  }

  .visual-card-bottom {
    left: 0;
  }

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

  .capability-rail > div:nth-child(2)::after {
    display: none;
  }

  .capability-rail > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }

  .projects-intro-grid {
    gap: 50px;
  }

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

  .project-index > div:nth-child(3)::after {
    display: none;
  }

  .project-index > div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line-dark);
  }

  .project-case-grid,
  .project-case-reverse .project-case-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
  }

  .project-visual {
    min-height: 520px;
  }

  .project-secondary-shot {
    width: 72%;
  }

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

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

  .journey-layout {
    gap: 50px;
  }

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

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 60px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .mobile-nav {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-bottom: 64px;
  }

  .hero-description {
    max-width: 600px;
  }

  .hero-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .portrait-frame {
    width: min(390px, 76vw);
  }

  .about-grid,
  .projects-intro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-copy {
    max-width: 720px;
  }

  .projects-intro-copy {
    max-width: 650px;
  }

  .project-case {
    padding: 105px 0 115px;
  }

  .project-case-grid,
  .project-case-reverse .project-case-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    gap: 64px;
  }

  .project-copy {
    max-width: 720px;
  }

  .project-visual {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .project-case-reverse .project-role-card {
    right: auto;
    left: -24px;
  }

  .selected-work-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .selected-work-heading > p {
    max-width: 650px;
  }

  .expertise-heading,
  .journey-heading,
  .tech-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .expertise-heading > p,
  .journey-heading > p,
  .tech-heading > p {
    max-width: 680px;
  }

  .journey-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .experience-spotlight {
    position: relative;
    top: auto;
    max-width: 680px;
  }

  .contact-links {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .mobile-nav {
    padding: calc(var(--header-height) + 24px) 15px 20px;
  }

  .mobile-nav-inner > a {
    grid-template-columns: 38px 1fr;
    padding: 12px 0;
  }

  .mobile-nav-inner > a > strong {
    font-size: clamp(1.25rem, 6.5vw, 1.7rem);
  }

  .mobile-nav-footer {
    padding-top: 24px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 44px);
  }

  .display-name {
    font-size: clamp(5rem, 27vw, 7rem);
  }

  .hero-role {
    margin-top: 18px;
    font-size: 0.65rem;
    line-height: 1.6;
  }

  .hero-statement {
    margin-top: 22px;
    font-size: 35px;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .hero-meta div:last-child {
    grid-column: auto;
  }

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

  .portrait-orbit {
    width: 330px;
    height: 330px;
  }

  .visual-card-top {
    top: 44px;
    right: -4px;
  }

  .visual-card-bottom {
    left: -4px;
    bottom: 54px;
    min-width: 185px;
  }

  .visual-signature {
    font-size: 8rem;
  }

  .capability-rail {
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .capability-rail > div {
    padding: 20px 18px;
  }

  .capability-rail > div:not(:last-child)::after {
    display: none;
  }

  .capability-rail > div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line-light);
  }

  .about-section,
  .projects-intro {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-heading h2 {
    font-size: 35px;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-index {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .project-index > div {
    grid-template-columns: 58px 1fr;
    align-items: center;
    padding: 18px 8px;
  }

  .project-index > div:not(:last-child) {
    border-bottom: 1px solid var(--line-dark);
  }

  .project-index > div::after {
    display: none;
  }

  .project-index span {
    grid-row: 1 / 3;
  }

  .project-case {
    padding: 82px 0 90px;
  }

  .project-case-grid,
  .project-case-reverse .project-case-grid {
    gap: 45px;
  }

  .project-kicker {
    align-items: flex-end;
    margin-bottom: 20px;
  }

  .project-number {
    font-size: 3.8rem;
  }

  .project-status {
    padding: 7px 10px;
    font-size: 0.6rem;
  }

  .project-copy h3 {
    font-size: 40px;
  }

  .project-summary {
    margin-top: 22px;
    font-size: 0.94rem;
  }

  .project-details > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 15px 0;
  }

  .project-tags {
    margin-top: 22px;
  }

  .project-link {
    margin-top: 28px;
  }

  .project-visual {
    display: grid;
    min-height: 0;
    gap: 12px;
    padding-bottom: 0;
  }

  .project-visual::before {
    display: none;
  }

  .project-browser,
  .project-secondary-shot {
    border-radius: 13px;
  }

  .browser-bar {
    grid-template-columns: 54px 1fr 54px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.54rem;
  }

  .project-secondary-shot,
  .project-secondary-right,
  .project-secondary-left {
    position: static;
    width: 100%;
    border-width: 4px;
  }

  .project-secondary-shot figcaption {
    padding: 9px 10px;
  }

  .project-role-card,
  .project-case-reverse .project-role-card {
    position: static;
    width: fit-content;
    max-width: 100%;
    margin-top: 2px;
  }

  .selected-work {
    padding: 90px 0 100px;
  }

  .selected-work-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .selected-work-card {
    min-height: 285px;
  }

  .expertise-section,
  .journey-section,
  .tech-section,
  .contact-section {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .expertise-grid {
    position: relative;
    display: block;
    width: min(calc(100% - 6px), 520px);
    height: 590px;
    margin: 48px auto 0;
  }

  .expertise-grid .expertise-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 24px);
    min-height: 430px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 92%) scale(0.9);
    filter: blur(2px);
    transition:
      transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 600ms ease,
      filter 600ms ease;
  }

  .expertise-grid .expertise-card.is-previous {
    z-index: 1;
    opacity: 0.22;
    transform: translate(-50%, -118%) scale(0.9);
    filter: blur(1.5px);
  }

  .expertise-grid .expertise-card.is-active {
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    filter: none;
  }

  .expertise-grid .expertise-card.is-next {
    z-index: 2;
    opacity: 0.24;
    transform: translate(-50%, 18%) scale(0.9);
    filter: blur(1.5px);
  }

  .journey-layout {
    margin-top: 54px;
  }

  .journey-item {
    grid-template-columns: 18px 1fr;
    gap: 8px 18px;
    padding-bottom: 40px;
  }

  .journey-marker {
    grid-row: 1 / 3;
  }

  .journey-item > p,
  .journey-item > div:last-child {
    grid-column: 2;
  }

  .experience-spotlight {
    padding: 28px 23px;
  }

  .tech-heading h2 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .tech-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .tech-group {
    min-height: 0;
  }

  .contact-copy h2 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .contact-actions {
    display: grid;
  }

  .contact-links {
    margin-top: 22px;
  }

  .footer-main,
  .footer-bottom {
    display: grid;
  }

  .footer-navigation {
    justify-content: flex-start;
  }

  .preview-footer .container {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
