:root {
  color-scheme: dark;
  --bg: #050706;
  --panel: rgba(12, 15, 14, 0.78);
  --panel-strong: rgba(7, 9, 8, 0.92);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f3f5ef;
  --muted: #aab2ac;
  --green: #b9cce5;
  --green-soft: rgba(185, 204, 229, 0.17);
  --sage: #6f7a70;
  --steel: #b9cce5;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Bodoni 72", "Bodoni MT", Didot, "DM Serif Display", Georgia, serif;
  --mono: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.page-leaving {
  pointer-events: none;
}

body > header,
body > main,
body > footer {
  animation: pageFadeIn 520ms ease forwards;
}

body.page-leaving > header,
body.page-leaving > main,
body.page-leaving > footer {
  animation: pageFadeOut 260ms ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(8px);
  }

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

@keyframes pageFadeOut {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  to {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-8px);
  }
}

body::before {
  position: fixed;
  inset: -28px;
  z-index: -3;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 4, 3, 0.24), rgba(3, 5, 4, 0.82) 68%, #020302),
    url("assets/bg-blurred.webp") center / cover no-repeat;
  filter: blur(6px) saturate(0.96) brightness(0.88);
  transform: scale(1.04);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 42% 24%, rgba(185, 204, 229, 0.18), transparent 32%),
    radial-gradient(circle at 62% 55%, rgba(185, 204, 229, 0.1), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 24%, transparent 70%, rgba(0, 0, 0, 0.46));
}

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

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

button {
  font: inherit;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mix-blend-mode: overlay;
}

.glass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025) 34%, rgba(4, 7, 6, 0.58)),
    rgba(5, 8, 7, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    var(--shadow);
  backdrop-filter: blur(24px) saturate(1.2);
}

.glass::before {
  position: absolute;
  inset: 1px;
  pointer-events: none;
  content: "";
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.16), transparent 36%, rgba(185, 204, 229, 0.08) 100%);
  opacity: 0.8;
}

.site-header {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3.4vw, 34px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
  transition: transform 260ms ease, opacity 260ms ease;
  will-change: transform, opacity;
}

.site-header::before {
  display: none;
}

.site-header.is-hidden {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.site-header .brand {
  min-width: 154px;
}

.site-header .site-nav {
  min-width: 274px;
  justify-content: flex-end;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 42px;
  padding: 4px 14px 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(185, 204, 229, 0.055) 44%, rgba(4, 7, 6, 0.58)),
    rgba(8, 11, 10, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 42px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px) saturate(1.18);
  color: #f8fff4;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 180ms ease, transform 220ms ease, border-color 180ms ease, background 180ms ease;
}

.brand-mark {
  width: 30px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--green);
  filter:
    drop-shadow(0 0 7px rgba(185, 204, 229, 0.32))
    drop-shadow(0 5px 8px rgba(0, 0, 0, 0.36));
  transition: filter 180ms ease, transform 220ms ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-brand {
  position: relative;
}

.home-brand::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 46px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(185, 204, 229, 0.82));
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 180ms ease, transform 220ms ease;
}

.home-brand:hover,
.home-brand:focus-visible {
  color: #fff;
  border-color: rgba(185, 204, 229, 0.28);
  outline: none;
  transform: translateX(-2px);
}

.home-brand:hover .brand-mark,
.home-brand:focus-visible .brand-mark {
  filter:
    drop-shadow(0 0 10px rgba(185, 204, 229, 0.42))
    drop-shadow(0 6px 12px rgba(0, 0, 0, 0.42));
  transform: translateX(-3px);
}

.home-brand:hover::after,
.home-brand:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(8, 11, 10, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.14);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(185, 204, 229, 0.11);
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 12px;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .site-nav {
    min-width: 0;
  }

  .brand {
    min-height: 38px;
    padding-right: 10px;
    font-size: 0.74rem;
  }

  .site-nav {
    gap: 5px;
  }

  .site-nav a {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.68rem;
  }
}

.menu-toggle {
  width: 34px;
  height: 34px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.menu-toggle span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 20px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

main {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: auto;
  display: block;
  padding: 104px 0 50px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-stack {
  position: relative;
  z-index: 1;
  width: 100vw;
  display: grid;
  justify-items: center;
  gap: 76px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.hero-intro {
  width: min(980px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 30px;
  align-items: center;
}

.welcome-copy {
  max-width: 520px;
}

.welcome-copy p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.bio-card,
.hero-bio {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 24px;
  display: block;
  visibility: visible;
  opacity: 1 !important;
  transform: none;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(44, 50, 50, 0.82), rgba(8, 10, 9, 0.7)),
    rgba(16, 18, 17, 0.74);
}

.avatar {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 28px rgba(0, 0, 0, 0.25);
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: #f6f8f0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: none;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.94;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.bio-card p:not(.eyebrow),
.hero-bio p:not(.eyebrow),
.services p,
.contact p,
.service-list p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.bio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  border-color: rgba(185, 204, 229, 0.48);
  background: var(--green);
  color: #071018;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button.large {
  min-width: min(100%, 300px);
}

.creator-carousel {
  width: 100vw;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: grab;
  user-select: none;
}

.carousel-topline {
  display: none;
}

.carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  cursor: grab;
  scroll-behavior: auto;
  scroll-padding-inline: 0;
  scroll-snap-type: none;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.creator-carousel.is-dragging,
.creator-carousel.is-dragging .carousel-viewport {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0;
}

.carousel-slide {
  position: relative;
  flex: 0 0 clamp(330px, 33vw, 560px);
  height: clamp(310px, 30vw, 420px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #050706;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.carousel-slide.portrait-slide {
  flex-basis: clamp(205px, 18vw, 250px);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.94) brightness(0.82);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.carousel-slide.portrait-slide img {
  object-fit: cover;
  object-position: center 38%;
  background: #050706;
}

.carousel-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.carousel-slide span {
  display: none;
}

.image-strip {
  width: 100vw;
  margin-left: 50%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 29vw);
  gap: 14px;
  padding: 28px max(20px, calc((100vw - 1120px) / 2)) 46px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  transform: translateX(-50%);
  scrollbar-width: none;
}

.image-strip::-webkit-scrollbar {
  display: none;
}

.strip-card {
  position: relative;
  height: clamp(280px, 32vw, 430px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #090c0a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  scroll-snap-align: center;
  transform-style: preserve-3d;
}

.strip-card.wide {
  grid-column: span 1;
}

.strip-card.narrow {
  opacity: 0.78;
}

.strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.9) brightness(0.82);
  transform: scale(1.03);
  transition: transform 420ms ease, filter 420ms ease;
}

.strip-card::after,
.project-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.42) 62%, rgba(0, 0, 0, 0.84)),
    linear-gradient(135deg, rgba(185, 204, 229, 0), rgba(185, 204, 229, 0.06));
  opacity: 0.94;
  transition: opacity 520ms ease, background 520ms ease;
}

.strip-card:hover img {
  filter: contrast(1.14) saturate(0.96) brightness(0.88);
  transform: scale(1.08);
}

.project-card:hover img {
  filter: contrast(1.08) saturate(1.02) brightness(0.86);
  transform: scale(1.055);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  opacity: 1;
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.78)),
    linear-gradient(135deg, rgba(185, 204, 229, 0.02), rgba(185, 204, 229, 0.18));
}

.strip-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-family: var(--mono);
  text-transform: uppercase;
}

.strip-label span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.strip-label strong {
  max-width: 190px;
  font-size: 1.02rem;
  line-height: 1;
  text-align: right;
}

.featured {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 24px;
  background: rgba(4, 6, 5, 0.78);
}

.section-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

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

.project-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: #101310;
  color: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  transform-style: preserve-3d;
  transition: border-color 420ms ease, box-shadow 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.98) brightness(0.76);
  transform: scale(1);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 620ms ease;
  will-change: transform;
}

.project-card span,
.project-card strong {
  position: relative;
  z-index: 2;
  padding: 0 12px;
  text-transform: uppercase;
  transition: color 360ms ease, transform 420ms ease, text-shadow 420ms ease;
}

.project-card span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.project-card strong {
  padding-bottom: 12px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
}

.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(185, 204, 229, 0.34);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
  outline: none;
}

.project-card:hover span,
.project-card:focus-visible span {
  color: rgba(185, 204, 229, 0.9);
  transform: translateY(-2px);
}

.project-card:hover strong,
.project-card:focus-visible strong {
  color: var(--green);
  text-shadow: 0 0 18px rgba(185, 204, 229, 0.25);
  transform: translateY(-2px);
}

.services {
  width: min(960px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 28px;
  margin: 0 auto 80px;
  align-items: start;
}

.services-copy {
  position: sticky;
  top: 96px;
}

.service-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 6, 0.72);
  backdrop-filter: blur(16px);
}

.service-list span {
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact {
  width: min(960px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 58px;
  padding: 28px;
}

.contact h2 {
  max-width: 640px;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  width: min(960px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 0 0 32px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.project-main {
  width: min(1180px, calc(100% - 40px));
  padding: 112px 0 64px;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
  padding: 18px;
}

.project-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.back-link {
  width: fit-content;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--green);
  outline: none;
}

.project-detail-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.65;
}

.project-detail-media {
  min-height: 390px;
  overflow: hidden;
  border-radius: 7px;
  background: #050706;
}

.project-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.9) brightness(0.86);
}

.contact-page {
  width: min(980px, calc(100% - 40px));
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  padding: 22px;
  align-items: start;
}

.contact-intro,
.contact-form {
  position: relative;
  z-index: 2;
}

.contact-intro {
  padding: 16px;
}

.contact-intro p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form label,
.field-control {
  position: relative;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.custom-select-toggle {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(4, 7, 6, 0.58);
  color: var(--text);
  font: inherit;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.4;
  outline: none;
  padding: 12px 12px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.custom-select {
  position: relative;
}

.custom-select.is-open {
  z-index: 50;
}

.custom-select-toggle {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  appearance: none;
  cursor: pointer;
  font-weight: 500;
  text-align: left;
  text-transform: none;
}

.custom-select-toggle::after {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  opacity: 0.7;
  transform: rotate(45deg) translateY(-2px);
  transition: color 180ms ease, opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-select-toggle.is-placeholder {
  color: rgba(232, 236, 231, 0.44);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 40;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(185, 204, 229, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(4, 8, 10, 0.92);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.25);
  clip-path: inset(0 0 28% 0 round 12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    clip-path 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 240ms;
}

.custom-select.is-open .custom-select-toggle {
  border-color: rgba(185, 204, 229, 0.45);
  background: rgba(7, 11, 10, 0.72);
  box-shadow: 0 0 0 3px rgba(185, 204, 229, 0.09);
}

.custom-select.needs-choice .custom-select-toggle {
  border-color: rgba(185, 204, 229, 0.66);
  box-shadow: 0 0 0 3px rgba(185, 204, 229, 0.12);
}

.custom-select.is-open .custom-select-toggle::after {
  color: var(--green);
  opacity: 1;
  transform: rotate(225deg) translateY(-1px);
}

.custom-select.is-open .custom-select-menu {
  clip-path: inset(0 0 0 0 round 12px);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.custom-select-option {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.25;
  padding: 10px;
  text-align: left;
  transition: background 170ms ease, color 170ms ease, transform 170ms ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  background: rgba(185, 204, 229, 0.12);
  color: var(--green);
  outline: none;
  transform: translateX(2px);
}

.custom-select-option.is-selected {
  background: linear-gradient(90deg, rgba(185, 204, 229, 0.2), rgba(185, 204, 229, 0.06));
  color: #f4f8ff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.custom-select-toggle:focus-visible {
  border-color: rgba(185, 204, 229, 0.45);
  background: rgba(7, 11, 10, 0.72);
  box-shadow: 0 0 0 3px rgba(185, 204, 229, 0.09);
}

.contact-form ::placeholder {
  color: rgba(232, 236, 231, 0.38);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.gallery-section {
  margin-top: 60px;
}

.project-more {
  margin-top: 64px;
  padding: 24px;
  background: rgba(4, 6, 5, 0.78);
}

.gallery-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.gallery-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #050706;
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 512px;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-grid-even .gallery-item {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.gallery-grid-even .gallery-item img {
  object-fit: contain;
}

.visual-gallery {
  display: grid;
  gap: 14px;
}

.visual-row {
  display: grid;
  gap: 12px;
  align-items: stretch;
}

.visual-row-portrait {
  grid-template-columns:
    minmax(0, 0.5625fr)
    minmax(0, 0.7064fr)
    minmax(0, 0.8003fr)
    minmax(0, 0.7072fr);
}

.visual-row-featured {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7778fr);
}

.visual-gallery .gallery-item {
  min-height: 0;
  padding: 0;
}

.visual-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-row-portrait .gallery-item:nth-child(1) {
  aspect-ratio: 9 / 16;
}

.visual-row-portrait .gallery-item:nth-child(2) {
  aspect-ratio: 527 / 746;
}

.visual-row-portrait .gallery-item:nth-child(3) {
  aspect-ratio: 561 / 701;
}

.visual-row-portrait .gallery-item:nth-child(4) {
  aspect-ratio: 1273 / 1800;
}

.visual-row-featured .gallery-item:first-child {
  aspect-ratio: 1 / 1;
}

.visual-row-featured .gallery-item:last-child {
  aspect-ratio: 16 / 9;
}

.visual-gallery .gallery-item:hover img {
  transform: scale(1.03);
  filter: contrast(1.12) saturate(1) brightness(0.9);
}

.bike-gallery {
  display: grid;
  gap: 14px;
}

.bike-row {
  display: grid;
  gap: 12px;
  align-items: stretch;
}

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

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

.bike-gallery .gallery-item {
  min-height: 0;
  padding: 0;
}

.bike-row-portrait .gallery-item {
  aspect-ratio: 1013 / 1800;
}

.bike-row-landscape .gallery-item {
  aspect-ratio: 16 / 9;
}

.bike-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bike-gallery .gallery-item:hover img {
  transform: scale(1.03);
  filter: contrast(1.12) saturate(1) brightness(0.9);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.92) brightness(0.84);
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: contrast(1.12) saturate(1) brightness(0.9);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: 100%;
    padding: 0 10px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(260px, calc(100vw - 20px));
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(6, 8, 7, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 88px;
  }

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

  .welcome-copy {
    max-width: 100%;
  }

  .bio-card,
  .hero-bio {
    padding: 20px;
    width: 100%;
  }

  .creator-carousel {
    width: 100vw;
  }

  .carousel-slide {
    flex-basis: min(82vw, 360px);
    height: 330px;
  }

  .carousel-slide span {
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 0.78rem;
    text-align: right;
  }

  .image-strip {
    grid-auto-columns: minmax(238px, 78vw);
    gap: 12px;
    padding-top: 14px;
  }

  .strip-card {
    height: 330px;
  }

  .featured {
    padding: 18px;
  }

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

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

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

  .services-copy {
    position: static;
  }

  .contact,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .project-main {
    width: min(100% - 24px, 1040px);
    padding-top: 90px;
  }

  .project-detail-hero {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .contact-page {
    width: min(100% - 24px, 980px);
  }

  .contact-hero {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .contact-intro {
    padding: 8px;
  }

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

  .project-detail-copy {
    padding: 8px;
  }

  .project-detail-media {
    min-height: 320px;
  }

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

  .visual-row,
  .visual-row-portrait,
  .visual-row-featured,
  .bike-row,
  .bike-row-portrait,
  .bike-row-landscape {
    grid-template-columns: 1fr;
  }

  .visual-row-featured .gallery-item:first-child,
  .visual-row-featured .gallery-item:last-child {
    aspect-ratio: 16 / 10;
  }

  .bike-row-portrait .gallery-item,
  .bike-row-landscape .gallery-item {
    aspect-ratio: 16 / 10;
  }

  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 15px;
  }

  body::before {
    inset: -18px;
    filter: blur(4px) saturate(0.96) brightness(0.86);
  }

  .site-header {
    top: 8px;
    height: 44px;
    padding: 0 12px;
  }

  .brand {
    max-width: calc(100vw - 74px);
    min-height: 38px;
    gap: 8px;
    padding: 3px 11px 3px 7px;
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 26px;
    height: 32px;
    padding: 2px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(8, 11, 10, 0.58);
    backdrop-filter: blur(16px);
  }

  .site-nav {
    right: 0;
    width: min(236px, calc(100vw - 24px));
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(5, 8, 9, 0.96);
    backdrop-filter: blur(18px) saturate(1.16);
  }

  .site-nav a {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 0.96;
  }

  h2 {
    font-size: 2rem;
    line-height: 1;
  }

  .hero {
    padding: 84px 0 38px;
  }

  .hero-stack {
    width: 100%;
    gap: 36px;
    margin-left: 0;
    transform: none;
  }

  .hero-intro {
    width: min(calc(100% - 24px), 480px);
    gap: 16px;
    align-items: start;
  }

  .welcome-copy p:not(.eyebrow),
  .bio-card p:not(.eyebrow),
  .hero-bio p:not(.eyebrow),
  .project-detail-copy p:not(.eyebrow),
  .contact-intro p:not(.eyebrow) {
    font-size: 0.94rem;
  }

  .bio-card,
  .hero-bio {
    padding: 18px;
    border-radius: 8px;
  }

  .avatar {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  .carousel-track {
    gap: 10px;
    padding: 0 12px;
  }

  .carousel-slide {
    flex-basis: min(72vw, 300px);
    height: 260px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  }

  .carousel-slide.portrait-slide {
    flex-basis: min(48vw, 190px);
  }

  .featured,
  .services,
  .site-footer {
    width: min(calc(100% - 24px), 480px);
  }

  .featured {
    margin-bottom: 56px;
    padding: 16px;
  }

  .section-heading {
    padding-bottom: 16px;
  }

  .project-grid {
    gap: 12px;
    padding-top: 14px;
  }

  .project-card {
    aspect-ratio: 16 / 10;
  }

  .services {
    gap: 16px;
    margin-bottom: 56px;
  }

  .services-copy h2 {
    font-size: 1.85rem;
  }

  .service-actions,
  .form-actions,
  .bio-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
  }

  .service-list article {
    min-height: 0;
    padding: 18px;
  }

  .service-list span {
    margin-bottom: 16px;
  }

  .site-footer {
    padding: 28px 0 22px;
    font-size: 0.7rem;
  }

  .project-main {
    width: min(calc(100% - 24px), 520px);
    padding: 86px 0 48px;
  }

  .project-detail-hero {
    gap: 12px;
    padding: 12px;
  }

  .project-detail-copy {
    padding: 8px;
  }

  .back-link {
    margin-bottom: 20px;
  }

  .project-detail-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .contact-page {
    width: min(calc(100% - 24px), 520px);
  }

  .contact-hero {
    gap: 16px;
    padding: 14px;
  }

  .contact-form {
    gap: 12px;
  }

  .contact-form input,
  .contact-form textarea,
  .custom-select-toggle {
    min-height: 46px;
    font-size: 16px;
  }

  .custom-select-menu {
    max-height: min(280px, 55vh);
    overflow-y: auto;
  }

  .gallery-section {
    margin-top: 46px;
  }

  .gallery-heading {
    margin-bottom: 16px;
  }

  .gallery-grid,
  .visual-gallery,
  .bike-gallery {
    gap: 12px;
  }

  .gallery-grid-even .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .visual-row,
  .bike-row {
    gap: 12px;
  }

  .visual-row-portrait .gallery-item,
  .bike-row-portrait .gallery-item {
    aspect-ratio: 4 / 5;
  }

  .visual-row-featured .gallery-item:first-child {
    aspect-ratio: 1 / 1;
  }

  .visual-row-featured .gallery-item:last-child,
  .bike-row-landscape .gallery-item {
    aspect-ratio: 16 / 10;
  }

  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide {
    min-height: 0;
  }

  .project-more {
    margin-top: 48px;
    padding: 16px;
  }

  .project-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 0 8px;
  }

  .brand span:last-child {
    max-width: 124px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bio-actions,
  .button {
    width: 100%;
  }

  .strip-card {
    height: 300px;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-intro,
  .featured,
  .services,
  .site-footer,
  .project-main,
  .contact-page {
    width: calc(100% - 20px);
  }

  .carousel-slide {
    flex-basis: 76vw;
    height: 240px;
  }

  .carousel-slide.portrait-slide {
    flex-basis: 52vw;
  }

  .project-detail-media,
  .gallery-grid-even .gallery-item,
  .visual-row-featured .gallery-item:last-child,
  .bike-row-landscape .gallery-item {
    aspect-ratio: 16 / 11;
  }

  .contact-hero {
    padding: 12px;
  }

  .custom-select-menu {
    max-height: 240px;
  }

  .strip-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .strip-label strong {
    max-width: 100%;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
