:root {
  color-scheme: dark;
  --bg: #07101d;
  --bg-deep: #040a12;
  --surface: rgba(13, 27, 45, 0.76);
  --surface-strong: #0e1b2d;
  --surface-soft: rgba(20, 38, 61, 0.7);
  --ink: #f3f5f7;
  --ink-soft: #d9e2eb;
  --muted: #9baabd;
  --line: rgba(191, 207, 224, 0.14);
  --line-strong: rgba(191, 207, 224, 0.24);
  --orange: #f15a24;
  --orange-bright: #ff7441;
  --blue: #0073b7;
  --blue-bright: #26a6e6;
  --teal-glow: rgba(0, 153, 173, 0.18);
  --fuchsia-glow: rgba(163, 63, 121, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.2);
  --radius: 18px;
  --radius-small: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 4%, rgba(0, 115, 183, 0.12), transparent 28rem),
    linear-gradient(180deg, #091525 0%, var(--bg) 38rem, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
}

body::before {
  background:
    radial-gradient(circle at 18% 26%, var(--teal-glow), transparent 31rem),
    radial-gradient(circle at 86% 14%, rgba(241, 90, 36, 0.11), transparent 28rem),
    radial-gradient(circle at 76% 78%, var(--fuchsia-glow), transparent 34rem),
    radial-gradient(circle at 28% 92%, rgba(0, 115, 183, 0.12), transparent 30rem);
  filter: blur(2px);
  opacity: 0.9;
  transform: translate3d(0, 0, 0) scale(1.04);
  animation: ambient-drift 22s ease-in-out infinite alternate;
  z-index: -2;
}

body::after {
  background-image:
    linear-gradient(rgba(197, 213, 230, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 213, 230, 0.026) 1px, transparent 1px),
    radial-gradient(circle, rgba(224, 234, 244, 0.1) 0.7px, transparent 0.9px);
  background-position: center, center, 0 0;
  background-size: 64px 64px, 64px 64px, 18px 18px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 92%);
  opacity: 0.56;
  z-index: -1;
}

@keyframes ambient-drift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1.04);
  }

  50% {
    transform: translate3d(1%, 1.6%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(2%, -0.5%, 0) scale(1.05);
  }
}

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

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(38, 166, 230, 0.78);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  border-radius: 8px;
  color: var(--bg-deep);
  font-weight: 800;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -70px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(5, 14, 25, 0.84);
  border: 0;
  border-bottom: 1px solid rgba(191, 207, 224, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  padding: 0;
  position: sticky;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
  z-index: 100;
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(4, 11, 21, 0.94);
  border-bottom-color: rgba(191, 207, 224, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max-width);
  width: min(calc(100% - 40px), var(--max-width));
}

.nav-shell {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  min-height: 72px;
  padding: 10px 0;
  width: 100%;
}

.site-header.is-scrolled .nav-shell {
  background: transparent;
  box-shadow: none;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 0;
  width: fit-content;
}

.navbar-icon {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.navbar-brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.navbar-brand-copy strong {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 820;
  letter-spacing: 0.01em;
}

.navbar-brand-copy small {
  color: var(--blue-bright);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
  background: rgba(14, 29, 48, 0.54);
  border: 1px solid rgba(191, 207, 224, 0.16);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 34px rgba(0, 0, 0, 0.24);
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 0 auto;
  padding: 5px;
  width: 94%;
}

.nav-link {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  flex: 1 1 0;
  font-size: 0.84rem;
  font-weight: 760;
  justify-content: center;
  min-height: 40px;
  min-width: 0;
  padding: 9px 20px;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(191, 207, 224, 0.12);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-link.is-active {
  background: linear-gradient(135deg, rgba(255, 116, 65, 0.88), rgba(241, 90, 36, 0.8));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 8px 20px rgba(241, 90, 36, 0.2);
  color: #fff;
}

.nav-link.is-active::after {
  display: none;
}

.button svg,
.contact-row svg {
  flex: 0 0 auto;
  height: 1em;
  width: 1em;
}

.page-main {
  min-height: calc(100vh - 180px);
}

.hero-section,
.page-hero {
  overflow: visible;
  position: relative;
}

.hero-section::before,
.page-hero::before {
  background:
    linear-gradient(115deg, rgba(0, 115, 183, 0.08), transparent 36%),
    linear-gradient(300deg, rgba(241, 90, 36, 0.055), transparent 38%);
  border-bottom: 1px solid var(--line);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-section::after,
.page-hero::after {
  background: linear-gradient(90deg, transparent, rgba(0, 115, 183, 0.62), rgba(241, 90, 36, 0.74), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 50%;
  opacity: 0.62;
  position: absolute;
  transform: translateX(-50%);
  width: min(72vw, 880px);
}

.hero-inner {
  align-items: center;
  display: flex;
  min-height: 700px;
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 780px;
  min-width: 0;
  position: relative;
  width: 62%;
  z-index: 3;
}

.hero-kicker,
.section-label {
  align-items: center;
  color: var(--orange-bright);
  display: flex;
  font-size: 0.74rem;
  font-weight: 850;
  gap: 12px;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-label::before {
  background: linear-gradient(90deg, var(--orange), var(--blue-bright));
  border-radius: 999px;
  content: "";
  flex: 0 0 34px;
  height: 2px;
}

.hero-inner h1,
.page-heading h1 {
  color: #fff;
  font-size: clamp(3.8rem, 6.8vw, 6.5rem);
  font-weight: 820;
  letter-spacing: -0.064em;
  line-height: 0.94;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
}

.hero-lede {
  color: var(--ink-soft);
  font-size: clamp(1.16rem, 1.9vw, 1.42rem);
  line-height: 1.6;
  margin: 34px 0 0;
  max-width: 780px;
}

.hero-media {
  bottom: 0;
  overflow: hidden;
  position: absolute;
  right: calc((100vw - 100%) / -2);
  top: 0;
  width: 42%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 18%, #000 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 18%, #000 40%, #000 100%);
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.9) 0%, rgba(7, 16, 29, 0.26) 44%, rgba(7, 16, 29, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 16, 29, 0.18) 0%, transparent 56%, rgba(7, 16, 29, 0.72) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-media .hero-photo {
  animation: hero-cinematic-zoom 18s ease-in-out infinite alternate;
  filter: saturate(0.72) contrast(1.08);
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.015);
  transform-origin: 52% 32%;
  width: 100%;
}

@keyframes hero-cinematic-zoom {
  from {
    transform: scale(1.015);
  }

  to {
    transform: scale(1.075);
  }
}

.hero-media .hero-photo-fallback {
  background:
    radial-gradient(circle at center, rgba(0, 115, 183, 0.18), transparent 44%),
    linear-gradient(rgba(217, 226, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 226, 235, 0.035) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  color: var(--muted);
  display: none;
  inset: 0;
  place-items: center;
  position: absolute;
  z-index: 1;
}

.hero-media.is-missing .hero-photo-fallback {
  display: grid;
}

.hero-media .hero-photo-fallback span {
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 40px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 820;
  gap: 10px;
  justify-content: center;
  min-height: 49px;
  padding: 13px 18px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(241, 90, 36, 0.2);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(241, 90, 36, 0.28);
}

.button-resume {
  min-width: 132px;
}

.content-section {
  border-bottom: 1px solid var(--line);
  padding: 104px 0;
  position: relative;
}

.about-section {
  background: #050c15;
  isolation: isolate;
  overflow: hidden;
}

.about-section::before,
.about-section::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.about-section::before {
  background-image: url("../img/denver-skyline.jpeg");
  background-position: center 66%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(0.45px) saturate(0.88) contrast(1.06);
  inset: -6px;
  opacity: 0.9;
  transform: scale(1.015);
  z-index: -2;
}

.about-section::after {
  background:
    radial-gradient(circle at 84% 70%, rgba(241, 90, 36, 0.18), transparent 27rem),
    linear-gradient(90deg, rgba(4, 10, 18, 0.96) 0%, rgba(4, 10, 18, 0.82) 30%, rgba(4, 10, 18, 0.52) 60%, rgba(4, 10, 18, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 12, 21, 0.74) 0%, rgba(5, 12, 21, 0.3) 48%, rgba(5, 12, 21, 0.76) 100%);
  z-index: -1;
}

.identity-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
  max-width: 760px;
}

.identity-heading h2 {
  color: #fff;
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  font-weight: 780;
  letter-spacing: -0.052em;
  line-height: 0.98;
  margin: 0;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  text-wrap: balance;
}

.identity-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.about-portrait {
  margin: 0;
  max-width: 340px;
}

.about-portrait img {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
  filter: saturate(0.9) contrast(1.04);
  height: 400px;
  object-fit: cover;
  object-position: 50% 18%;
  width: 100%;
}

.split-layout {
  align-items: start;
  display: grid;
  gap: clamp(44px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split-layout h2,
.section-heading-row h2 {
  color: #fff;
  font-size: clamp(2.3rem, 4.4vw, 4.1rem);
  font-weight: 780;
  letter-spacing: -0.052em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.about-copy {
  display: grid;
  gap: 22px;
  max-width: 760px;
  padding-top: 0;
}

.page-heading p,
.project-description,
.visual-detail p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.78;
  margin: 0;
}

.about-copy > p {
  color: #c8d4e0;
  font-size: clamp(1.04rem, 1.45vw, 1.16rem);
  line-height: 1.9;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.about-quote {
  background: rgba(7, 16, 29, 0.16);
  border: 0;
  border-left: 2px solid var(--orange);
  border-radius: 0;
  box-shadow: none;
  margin: 10px 0 0;
  padding: 8px 0 8px 22px;
}

.about-quote p {
  color: #eef3f8;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.about-quote cite {
  color: var(--orange-bright);
  display: block;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-top: 12px;
  text-transform: uppercase;
}

.about-quote cite span {
  color: inherit;
}

.focus-section {
  background: linear-gradient(180deg, rgba(13, 28, 46, 0.36), rgba(5, 12, 21, 0.2));
}

.section-heading-row {
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
}

.focus-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.focus-card {
  backdrop-filter: blur(14px);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 220px;
  overflow: hidden;
  padding: 28px 24px;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.focus-card::before {
  background: linear-gradient(90deg, var(--blue-bright), var(--orange));
  content: "";
  height: 2px;
  left: 24px;
  position: absolute;
  top: 0;
  width: 42px;
}

.focus-card::after {
  background: radial-gradient(circle, rgba(0, 115, 183, 0.18), transparent 68%);
  content: "";
  height: 180px;
  position: absolute;
  right: -90px;
  top: -90px;
  width: 180px;
}

.focus-card:hover {
  border-color: rgba(38, 166, 230, 0.32);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.focus-card h3 {
  color: #fff;
  font-size: 1.06rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

.focus-card p {
  color: var(--muted);
  line-height: 1.68;
  margin: 16px 0 0;
  position: relative;
  z-index: 1;
}

.contact-section {
  background: rgba(5, 12, 21, 0.36);
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 0.38fr 1fr auto;
  min-height: 76px;
  transition: background 180ms ease, padding 180ms ease;
}

.contact-row:hover {
  background: rgba(255, 255, 255, 0.035);
  padding: 0 12px;
}

.contact-row span {
  color: var(--orange-bright);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.page-heading {
  min-height: 500px;
  padding: 112px 0 88px;
  position: relative;
  z-index: 1;
}

.page-heading h1 {
  font-size: clamp(4rem, 8vw, 7rem);
}

.page-heading p {
  margin-top: 24px;
  max-width: 690px;
}

.page-hero-media {
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.42) 20%, #000 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.42) 20%, #000 48%, #000 100%);
}

.page-hero-media::before {
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.92) 0%, rgba(7, 16, 29, 0.34) 44%, rgba(7, 16, 29, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 16, 29, 0.18) 0%, transparent 54%, rgba(7, 16, 29, 0.74) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}

.page-hero-media img {
  animation: hero-cinematic-zoom 18s ease-in-out infinite alternate;
  filter: saturate(0.62) brightness(0.66) contrast(1.08);
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transform-origin: 50% 44%;
  width: 100%;
}

.projects-hero .page-hero-media img {
  animation: none;
  object-position: 54% 42%;
  transform: scale(1);
}

.projects-hero .page-hero-media {
  width: min(48%, 770px);
}

.visuals-hero .page-hero-media img {
  object-position: 52% 46%;
}

.projects-section {
  padding: 78px 0 116px;
}

.project-list {
  display: grid;
  gap: 30px;
}

.project-card {
  backdrop-filter: blur(16px);
  background:
    linear-gradient(110deg, rgba(0, 115, 183, 0.08), transparent 34%),
    linear-gradient(150deg, rgba(17, 34, 55, 0.68), rgba(8, 18, 31, 0.78));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.project-card:hover {
  border-color: rgba(38, 166, 230, 0.24);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.project-card-main {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(28px, 4vw, 44px);
}

.project-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.project-meta p,
.project-meta span {
  color: var(--orange-bright);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.project-meta span {
  color: var(--muted);
}

.project-card h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 790;
  letter-spacing: -0.056em;
  line-height: 1;
  margin: 0;
}

.project-description {
  line-height: 1.68;
  margin-top: 14px;
  max-width: 720px;
}

.project-link {
  align-items: center;
  align-self: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 820;
  gap: 10px;
  justify-self: center;
  padding: 13px 0;
  white-space: nowrap;
}

.project-link span {
  border-bottom: 1px solid rgba(241, 90, 36, 0.58);
  padding-bottom: 3px;
}

.project-link svg {
  color: var(--orange-bright);
  height: 1em;
  transition: transform 180ms ease;
  width: 1em;
}

.project-link:hover svg,
.project-link:focus-visible svg {
  transform: translate(2px, -2px);
}

.visuals-section {
  background: rgba(5, 12, 21, 0.28);
}

.visual-list {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1080px);
  justify-content: center;
}

.visual-card {
  background: transparent;
  border: 0;
  overflow: visible;
}

.visual-card:hover .visual-summary {
  background: rgba(17, 34, 55, 0.72);
  border-color: rgba(38, 166, 230, 0.28);
}

.visual-card[open] {
  background: transparent;
  box-shadow: none;
}

.visual-summary {
  backdrop-filter: blur(14px);
  background: rgba(13, 27, 45, 0.56);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  direction: rtl;
  list-style-type: disclosure-open;
  list-style-position: inside;
  padding: 22px 24px;
  transition: background 180ms ease, border-color 180ms ease;
}

.visual-summary::marker {
  color: var(--blue-bright);
  font-size: 0.9rem;
}

.visual-summary-copy {
  direction: ltr;
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  width: calc(100% - 26px);
}

.visual-summary-title {
  display: block;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 820;
  letter-spacing: 0.035em;
  line-height: 1.25;
}

.visual-summary-subtitle {
  color: var(--muted);
  display: block;
  font-size: clamp(0.86rem, 1.15vw, 0.98rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  margin-top: 5px;
}

.visual-card[open] .visual-summary {
  background: rgba(13, 27, 45, 0.72);
  border-color: rgba(38, 166, 230, 0.24);
}

.visual-expanded {
  display: block;
  margin-top: clamp(14px, 2vw, 22px);
}

.visual-card[open] .visual-expanded {
  animation: visual-expanded-in 220ms ease;
}

@keyframes visual-expanded-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visual-carousel {
  display: grid;
  gap: 18px;
}

.visual-carousel-track {
  min-width: 0;
}

.visual-slide {
  animation: visual-slide-in 220ms ease;
}

@keyframes visual-slide-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visual-slide-media {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  min-width: 0;
}

.visual-slide-media--compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual-slide-media .visual-media {
  margin: 0;
  min-width: 0;
}

.visual-slide-media--compare .visual-media {
  padding: clamp(10px, 1.8vw, 18px) 0;
}

.visual-slide-media--compare .visual-media img {
  max-width: none;
  width: calc(100% - 20px);
}

.visual-media {
  align-items: center;
  background:
    linear-gradient(rgba(217, 226, 235, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 226, 235, 0.028) 1px, transparent 1px),
    rgba(4, 10, 18, 0.28);
  background-size: 42px 42px;
  border: 0;
  border-radius: 16px;
  cursor: zoom-in;
  display: flex;
  font: inherit;
  justify-content: center;
  margin: 0;
  padding: clamp(12px, 2.4vw, 26px) 0;
  width: 100%;
}

.visual-media img {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  height: auto;
  max-width: 900px;
  object-fit: contain;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 84%;
}

.visual-media:hover img {
  border-color: rgba(38, 166, 230, 0.32);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.visual-media-fallback {
  color: var(--muted);
  display: none;
  font-size: 0.9rem;
  font-weight: 760;
  padding: 34px 18px;
  text-align: center;
}

.visual-media.is-missing {
  cursor: default;
}

.visual-media.is-missing img {
  display: none;
}

.visual-media.is-missing .visual-media-fallback {
  display: block;
}

.visual-body {
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(18px, 2.5vw, 28px) 24px 8px;
  text-align: center;
}

.visual-case-study {
  display: grid;
  gap: 18px;
}

.visual-case-heading {
  margin: 0 auto;
  max-width: 880px;
  padding: 4px 24px 0;
  text-align: center;
}

.visual-case-heading h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.visual-case-heading p {
  color: var(--orange-bright);
  font-size: clamp(0.92rem, 1.35vw, 1.06rem);
  font-weight: 760;
  line-height: 1.45;
  margin: 10px 0 0;
}

.visual-case-study .visual-media img {
  max-width: 1040px;
  width: min(calc(100% - 28px), 1040px);
}

.visual-case-body {
  max-width: 860px;
  padding-top: 6px;
  text-align: left;
}

.visual-case-body .project-description {
  margin: 0;
  max-width: none;
}

.visual-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(0.9rem, 1.16vw, 1rem);
  line-height: 1.65;
  margin: 16px 0 0;
  padding-top: 14px;
}

.visual-note strong {
  color: var(--ink-soft);
}

.visual-video-link {
  align-items: center;
  background: rgba(14, 29, 48, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 820;
  gap: 9px;
  justify-content: center;
  margin: 18px auto 0;
  min-height: 44px;
  padding: 10px 16px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: fit-content;
}

.visual-video-link svg {
  color: var(--orange-bright);
  height: 1em;
  transition: transform 180ms ease;
  width: 1em;
}

.visual-video-link:hover,
.visual-video-link:focus-visible {
  background: rgba(25, 47, 74, 0.94);
  border-color: rgba(38, 166, 230, 0.36);
  color: #fff;
  transform: translateY(-1px);
}

.visual-video-link:hover svg,
.visual-video-link:focus-visible svg {
  transform: translate(2px, -2px);
}

.visual-slide-body {
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(18px, 2.5vw, 28px) 24px 0;
  text-align: center;
}

.visual-slide-body h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 790;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.visual-slide-body .project-description {
  color: #b9c7d6;
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
  line-height: 1.7;
  margin: 12px auto 0;
  max-width: 760px;
}

.visual-body .project-description {
  color: #b9c7d6;
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 780px;
}

.visual-carousel-controls {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  margin: 0 auto;
  max-width: 820px;
  padding: 2px 24px 0;
  width: 100%;
}

.visual-carousel-button {
  background: rgba(14, 29, 48, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 820;
  min-height: 40px;
  padding: 9px 13px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.visual-carousel-button:hover,
.visual-carousel-button:focus-visible {
  background: rgba(25, 47, 74, 0.94);
  border-color: rgba(38, 166, 230, 0.36);
  color: #fff;
  transform: translateY(-1px);
}

.visual-carousel-dots {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  min-width: 0;
}

.visual-carousel-dot {
  background: rgba(155, 170, 189, 0.42);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  transition: background 180ms ease, transform 180ms ease, width 180ms ease;
  width: 9px;
}

.visual-carousel-dot.is-active {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  transform: scale(1.02);
  width: 26px;
}

.visual-carousel-status {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  margin: -6px 0 0;
  text-align: center;
  text-transform: uppercase;
}

.visual-lightbox {
  background: transparent;
  border: 0;
  max-height: none;
  max-width: none;
  overflow: visible;
  padding: 0;
  width: min(94vw, 1440px);
}

.visual-lightbox::backdrop {
  backdrop-filter: blur(16px);
  background: rgba(2, 7, 13, 0.9);
}

.visual-lightbox-shell {
  display: grid;
  gap: 14px;
  justify-items: end;
  max-height: 94vh;
}

.visual-lightbox-close {
  backdrop-filter: blur(14px);
  background: rgba(14, 29, 48, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.visual-lightbox-close:hover {
  background: rgba(25, 47, 74, 0.96);
  border-color: rgba(38, 166, 230, 0.4);
}

.visual-lightbox img {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
  justify-self: center;
  max-height: 88vh;
  max-width: 100%;
  object-fit: contain;
}

.video-page-main {
  min-height: calc(100vh - 160px);
}

.video-page-section {
  padding: 42px 0 96px;
}

.video-page-inner {
  display: grid;
  gap: 16px;
}

.video-page-toolbar {
  display: flex;
  justify-content: flex-start;
}

.video-back-link {
  align-items: center;
  background: rgba(14, 29, 48, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 820;
  gap: 9px;
  min-height: 42px;
  padding: 10px 14px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: fit-content;
}

.video-back-link svg {
  color: var(--orange-bright);
  height: 1em;
  transition: transform 180ms ease;
  width: 1em;
}

.video-back-link:hover,
.video-back-link:focus-visible {
  background: rgba(25, 47, 74, 0.94);
  border-color: rgba(38, 166, 230, 0.36);
  color: #fff;
  transform: translateY(-1px);
}

.video-back-link:hover svg,
.video-back-link:focus-visible svg {
  transform: translateX(-2px);
}

.video-player-shell {
  background:
    linear-gradient(rgba(217, 226, 235, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 226, 235, 0.028) 1px, transparent 1px),
    rgba(4, 10, 18, 0.28);
  background-size: 42px 42px;
  border-radius: 16px;
  padding: clamp(12px, 2.4vw, 26px);
}

.video-player {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42);
  height: auto;
  width: 100%;
}

.site-footer {
  background:
    linear-gradient(120deg, rgba(0, 115, 183, 0.08), transparent 34%),
    #040a12;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 18px 40px;
  grid-template-columns: minmax(220px, 1fr) auto;
  padding: 24px 0;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand img {
  height: auto;
  object-fit: contain;
  width: 220px;
}

.footer-brand span {
  color: #71849a;
  font-size: 0.78rem;
}

.footer-contact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-contact a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 720;
  transition: color 180ms ease;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact {
  justify-content: flex-end;
}

.footer-contact a:first-child {
  color: var(--ink);
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header,
  .nav-links,
  .hero-media,
  .project-card,
  .visual-card {
    background: var(--surface-strong);
  }
}

@media (max-width: 980px) {
  .hero-inner {
    min-height: 640px;
  }

  .identity-grid {
    gap: 36px;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  }

  .split-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

}

@media (min-width: 761px) and (max-height: 800px) {
  .hero-inner {
    min-height: 610px;
    padding: 72px 0;
  }

  .hero-inner h1 {
    font-size: clamp(3.4rem, 6vw, 5.4rem);
  }

  .page-heading {
    min-height: 430px;
    padding: 72px 0 64px;
  }

  .page-heading h1 {
    font-size: clamp(3.6rem, 7vw, 6rem);
  }
}

@media (min-width: 761px) {
  .projects-hero .page-heading,
  .projects-section > .section-inner {
    max-width: 1600px;
    width: 82%;
  }
}

@media (max-width: 760px) {
  .section-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    padding: 0;
  }

  .nav-shell {
    min-height: 62px;
    padding: 7px 0;
  }

  .nav-links {
    justify-content: center;
    padding: 4px;
    width: calc(100% - 24px);
  }

  .nav-link {
    flex: 1 1 0;
    font-size: 0.76rem;
    min-height: 38px;
    min-width: 0;
    max-width: none;
    padding: 8px 9px;
  }

  .hero-inner {
    display: block;
    min-height: 700px;
    padding: 72px 0;
  }

  .hero-copy {
    text-align: left;
    width: 100%;
  }

  .hero-inner h1,
  .page-heading h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
    line-height: 0.96;
  }

  .hero-lede,
  .page-heading p {
    font-size: 1rem;
  }

  .hero-media {
    bottom: 0;
    height: auto;
    left: calc((100vw - 100%) / -2);
    margin: 0;
    position: absolute;
    right: calc((100vw - 100%) / -2);
    top: 0;
    width: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
  }

  .hero-media::before {
    background:
      linear-gradient(90deg, rgba(7, 16, 29, 0.88), rgba(7, 16, 29, 0.58)),
      linear-gradient(180deg, rgba(7, 16, 29, 0.4) 0%, rgba(7, 16, 29, 0.64) 58%, rgba(7, 16, 29, 0.94) 100%);
  }

  .hero-media .hero-photo {
    object-position: 58% 28%;
  }

  .content-section {
    padding: 78px 0;
  }

  .about-section::before {
    background-position: 61% 70%;
    opacity: 0.72;
  }

  .about-section::after {
    background:
      radial-gradient(circle at 86% 72%, rgba(241, 90, 36, 0.15), transparent 22rem),
      linear-gradient(180deg, rgba(4, 10, 18, 0.88) 0%, rgba(4, 10, 18, 0.56) 48%, rgba(4, 10, 18, 0.86) 100%);
  }

  .identity-grid {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .identity-heading {
    margin-bottom: 30px;
  }

  .about-portrait {
    max-width: 340px;
  }

  .about-portrait img {
    height: 390px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: 0;
  }

  .page-heading {
    min-height: 520px;
    padding: 80px 0 66px;
  }

  .page-hero-media {
    width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
  }

  .projects-hero .page-hero-media {
    width: 100%;
  }

  .page-hero-media::before {
    background:
      linear-gradient(90deg, rgba(7, 16, 29, 0.84), rgba(7, 16, 29, 0.54)),
      linear-gradient(180deg, rgba(7, 16, 29, 0.42) 0%, rgba(7, 16, 29, 0.62) 58%, rgba(7, 16, 29, 0.92) 100%);
  }

  .projects-hero .page-hero-media img {
    object-position: 58% 42%;
  }

  .visuals-hero .page-hero-media img {
    object-position: 54% 44%;
  }

  .projects-section {
    padding: 54px 0 84px;
  }

  .project-card-main {
    align-items: start;
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .project-link {
    width: fit-content;
  }

  .visual-summary {
    padding: 19px 18px;
  }

  .visual-media {
    border-radius: 12px;
    padding: 10px 0;
  }

  .visual-media img {
    max-width: none;
    width: calc(100% - 16px);
  }

  .visual-case-study .visual-media img {
    width: calc(100% - 16px);
  }

  .visual-slide-media {
    gap: 10px;
  }

  .visual-slide-media--compare {
    grid-template-columns: 1fr;
  }

  .visual-slide-media--compare .visual-media img {
    width: calc(100% - 16px);
  }

  .visual-body {
    padding: 16px 14px 4px;
  }

  .visual-slide-body {
    padding: 16px 14px 0;
  }

  .visual-carousel-controls {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    padding: 2px 14px 0;
  }

  .visual-carousel-dots {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .visual-carousel-button {
    min-height: 39px;
    width: 100%;
  }

  .visual-lightbox {
    width: calc(100vw - 20px);
  }

  .visual-lightbox-shell {
    gap: 10px;
  }

  .visual-lightbox img {
    max-height: 84vh;
  }

  .contact-row {
    gap: 8px;
    grid-template-columns: 1fr auto;
    padding: 18px 0;
  }

  .contact-row strong {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .section-inner {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    padding: 0;
  }

  .nav-links {
    gap: 3px;
  }

  .nav-link {
    font-size: 0.7rem;
    letter-spacing: -0.01em;
    min-width: 58px;
    padding-inline: 6px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button-row {
    display: grid;
  }

  .about-portrait img {
    height: 360px;
  }

}

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

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

  .hero-media .hero-photo {
    animation: none !important;
    transform: scale(1.02);
  }

  .page-hero-media img {
    animation: none !important;
    transform: scale(1.02);
  }
}
