:root {
  --bg: #050506;
  --bg-soft: #0a0a0d;
  --panel: #111113;
  --panel-line: rgba(255, 255, 255, 0.075);
  --text: #f4f4f5;
  --muted: #8a8a93;
  --dim: #4c4c55;
  --blue: #5553ff;
  --blue-2: #6e6cff;
  --deep-blue: #20209a;
  --radius: 10px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

.hero-bottom-copy .hero-years {
  transform: translate(95px, -6px);
}

.section-title p {
  display: inline-block;
  font-size: 16.5px;
  transform: translate(7px, 8px);
}

.section-title h1 span,
.section-title h2 span {
  left: 150px;
  top: 42px;
  font-size: 36px;
}

.clients .section-title.compact h2 span {
  left: 240px;
}

.catalog .section-title h2 span {
  left: 240px;
}

main > section:not(.hero)::after {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(circle, rgba(116, 110, 255, 0.42) 1.2px, transparent 1.6px);
  background-position: 0 0;
  background-size: 28px 28px;
  content: "";
  opacity: 0.22;
  animation: sectionDotDrift 34s linear infinite;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 72%);
}

main > section:not(.hero) > * {
  position: relative;
  z-index: 1;
}

@keyframes sectionDotDrift {
  to {
    background-position: 56px 28px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 42%, rgba(72, 76, 110, 0.1), transparent 20rem),
    radial-gradient(circle at 83% 70%, rgba(83, 80, 255, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

.grainient-canvas {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.13;
  filter: brightness(0.58) saturate(0.72);
}

.dot-field-canvas {
  pointer-events: none;
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.46;
  mix-blend-mode: screen;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 13, 17, 0.68), rgba(5, 5, 6, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(1.45);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  z-index: 20;
}

main > section:not(.hero),
.site-footer {
  background-color: #050506;
  isolation: isolate;
}

.header-inner {
  display: grid;
  max-width: 930px;
  height: 100%;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 100px;
  margin: 0 auto;
  padding: 0 18px;
}

.brand {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.brand span {
  display: inline-block;
  margin: 0 0.28em;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 14px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  padding: 0;
}

.main-nav a::after,
.nav-dropdown-toggle::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 1px;
  background: var(--blue-2);
  content: "";
  opacity: 0;
  transform: translateY(4px);
  transition: 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-active,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.is-active::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.is-active::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  min-width: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 18, 24, 0.82), rgba(8, 8, 11, 0.68));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 58px rgba(0, 0, 0, 0.5);
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
  backdrop-filter: blur(24px) saturate(1.35);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: flex;
  min-height: 34px;
  align-items: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 760;
  padding: 0 12px;
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: rgba(85, 83, 255, 0.18);
  color: #fff;
}

.main-nav .resume-button {
  min-height: 0;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, #4868ff 0%, #6655ff 52%, #8f4dff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 12px 34px rgba(78, 93, 255, 0.34);
  color: #fff;
  display: inline-flex;
  gap: 9px;
  line-height: 38px;
  padding: 0 19px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.main-nav .resume-button::after {
  display: none;
}

.download-icon {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-bottom: 2px solid currentColor;
}

.download-icon::before {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
}

.download-icon::after {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.main-nav .resume-button:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 42px rgba(78, 93, 255, 0.46);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--panel-line);
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.container {
  width: min(100% - 36px, 930px);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 106px 0;
}

.hero {
  --hero-progress: 0;
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-sticky {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.hero-sticky::before {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.52'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  content: "";
  mix-blend-mode: screen;
  opacity: 0.16;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: 50% 0%;
  filter: brightness(0.68) contrast(1.08) saturate(0.88);
}

.hero-video-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34) 56%, rgba(0, 0, 0, 0.78)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.3) 44%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 1;
}

.hero-content {
  position: absolute;
  z-index: 3;
  inset: 58px 0 0;
  display: grid;
  grid-template-rows: 1fr auto;
  width: min(100% - 72px, 1180px);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 42px) 0 82px;
  pointer-events: none;
}

.hero-main-copy {
  align-self: start;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  text-align: center;
}

.hero-main-copy h1 {
  margin: 0;
  line-height: 0.82;
}

.hero-svg-title {
  position: relative;
  display: flex;
  justify-content: center;
  width: min(58vw, 1120px);
  min-height: clamp(156px, 14.6vw, 282px);
  margin: 0 auto;
}

.hero-svg-title svg {
  display: block;
  width: 100%;
  max-height: clamp(156px, 14.6vw, 282px);
  height: auto;
}

.hero-lead {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.16;
  text-align: center;
}

.hero-sub {
  max-width: 760px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.hero-bottom-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero-years {
  justify-self: start;
  transform: translate(70px, -6px);
}

.hero-years strong {
  display: block;
  background: linear-gradient(95deg, #6681ff, #b167ff);
  background-clip: text;
  color: transparent;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 1000;
  line-height: 0.95;
  -webkit-text-fill-color: transparent;
}

.hero-years span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 760;
}

.hero-motto {
  justify-self: center;
  min-width: 280px;
  transform: translateX(74px);
}

.hero-motto strong {
  display: block;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 1000;
  line-height: 1.05;
}

.hero-motto strong span {
  color: #8b63ff;
}

.hero-motto a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 850;
  pointer-events: auto;
}

.hero-motto i {
  font-style: normal;
}

.hero-collapse-frame {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: max(36px, 6vh);
  width: min(72vw, 860px);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(116, 110, 255, 0.64), transparent);
  box-shadow:
    0 0 16px rgba(116, 110, 255, 0.34),
    0 0 48px rgba(116, 110, 255, 0.12);
  opacity: 0;
  transform:
    translateX(-50%)
    translateY(calc(var(--hero-progress) * -54px))
    scaleX(calc(0.42 + var(--hero-progress) * 0.58));
}

.hero-collapse-frame::before,
.hero-collapse-frame::after {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 18px rgba(116, 110, 255, 0.9);
  content: "";
  transform: translateY(-50%) scale(calc(0.3 + var(--hero-progress) * 0.7));
}

.hero-collapse-frame::before {
  left: 0;
}

.hero-collapse-frame::after {
  right: 0;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 165px;
  background: linear-gradient(transparent, rgba(10, 10, 12, 0.96));
  content: "";
}

.hero-cue {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 34px;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 16px 28px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transform: translateX(-50%);
}

.hero-cue span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  transition: color 160ms ease, text-shadow 160ms ease;
  text-shadow: 0 0 16px rgba(122, 110, 255, 0.26);
}

.hero-cue i {
  position: relative;
  display: block;
  overflow: hidden;
  width: 1px;
  height: 29px;
  background: linear-gradient(transparent, rgba(122, 110, 255, 0.95), transparent);
  box-shadow:
    0 0 12px rgba(122, 110, 255, 0.62),
    0 0 28px rgba(122, 110, 255, 0.28);
}

.hero-cue i::before {
  position: absolute;
  left: 50%;
  top: -140%;
  width: 3px;
  height: 80%;
  border-radius: 999px;
  background: linear-gradient(transparent, #fff, var(--blue-2), transparent);
  box-shadow:
    0 0 10px rgba(116, 110, 255, 0.95),
    0 0 22px rgba(116, 110, 255, 0.62);
  content: "";
  opacity: 0;
  transform: translateX(-50%);
}

.hero-cue i::after {
  position: absolute;
  left: 50%;
  top: -120%;
  width: 4px;
  height: 92%;
  border-radius: 999px;
  background: linear-gradient(transparent, #fff, #8b7cff, transparent);
  box-shadow:
    0 0 12px rgba(139, 124, 255, 0.95),
    0 0 28px rgba(139, 124, 255, 0.55);
  content: "";
  opacity: 0;
  transform: translateX(-50%);
}

.hero-cue:hover span {
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.2),
    0 0 26px rgba(122, 110, 255, 0.62);
}

.hero-cue:hover i::before,
.hero-cue:hover i::after {
  animation: cueLightSweep 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title {
  margin-bottom: 55px;
}

.section-title p {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.42em;
}

.section-title h1,
.section-title h2 {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
}

.section-title h1 span,
.section-title h2 span {
  position: absolute;
  left: 195px;
  top: 16px;
  color: var(--blue);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 54px;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.95;
  white-space: nowrap;
}

.section-title.compact {
  margin-top: 150px;
  margin-bottom: 58px;
}

.section-title.compact h2 span {
  left: 225px;
}

.about {
  position: relative;
  z-index: 3;
  padding-top: 105px;
  background:
    linear-gradient(to bottom, #050506, #050506 160px, #050506),
    var(--bg);
  box-shadow: 0 -80px 120px rgba(0, 0, 0, 0.84);
}

.about-grid {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 52px;
  align-items: center;
}

.portrait-card {
  position: relative;
  height: 344px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: #0a0a0d;
}

.portrait-art {
  position: absolute;
  inset: 0;
}

.portrait-image {
  display: block;
  width: 118%;
  height: auto;
  min-height: 100%;
  margin-left: 50%;
  object-fit: cover;
  object-position: top center;
  transform: translateX(-50%);
  transform-origin: top center;
}

.mountain {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, 0.26) 36%, transparent 37%),
    linear-gradient(155deg, transparent 41%, rgba(255, 255, 255, 0.18) 42%, transparent 45%),
    radial-gradient(circle at 20% 12%, #f0f4ff, transparent 11%),
    linear-gradient(135deg, #516b86, #1c2735 45%, #0d1118);
  opacity: 0.92;
}

.person {
  position: absolute;
  left: 76px;
  bottom: 0;
  width: 118px;
  height: 222px;
}

.person .head {
  position: absolute;
  top: 0;
  left: 38px;
  width: 58px;
  height: 70px;
  border-radius: 45% 45% 52% 52%;
  background: linear-gradient(145deg, #d6a27a, #805238);
  box-shadow: 0 -18px 0 #101014 inset;
}

.person .body {
  position: absolute;
  left: 10px;
  bottom: -18px;
  width: 110px;
  height: 168px;
  border-radius: 42px 42px 8px 8px;
  background:
    linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.7) 31% 45%, transparent 46%),
    linear-gradient(140deg, #050505, #2e3038 48%, #050505);
}

.about-copy h2 {
  margin: 0 0 14px;
  font-size: 29px;
  line-height: 1.2;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.badges span {
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 800;
}

.badges span::before {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  content: "✓";
  font-size: 9px;
}

.meta,
.about-copy p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 15px;
  line-height: 1.9;
}

.about-copy .lead {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

.italic {
  max-width: 620px;
  font-style: italic;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tags span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 7px 16px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 750;
}

.brand-strip {
  overflow: hidden;
}

.brand-track {
  display: flex;
  width: max-content;
  animation: scrollBrands 48.6s linear infinite;
}

.brand-track:hover {
  animation-play-state: paused;
}

.brand-track + .brand-track {
  border-top: 0;
}

.brand-track-reverse {
  animation-name: scrollBrandsReverse;
}

.client-logo {
  display: grid;
  width: 255px;
  height: 75px;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.client-logo img {
  display: block;
  width: 146px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  object-position: center;
  transition: filter 180ms ease;
}

.client-logo:hover {
  background: #20234c;
  box-shadow:
    inset 0 0 0 1px rgba(102, 112, 255, 0.16),
    inset 0 0 26px rgba(83, 91, 190, 0.12);
}

.client-logo:hover img {
  filter: brightness(0) invert(1);
}

@keyframes scrollBrands {
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollBrandsReverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes cueLightSweep {
  0% {
    top: -120%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  72% {
    opacity: 1;
  }
  100% {
    top: 120%;
    opacity: 0;
  }
}

.catalog {
  padding-top: 110px;
}

.catalog .container {
  width: min(100% - 36px, 1050px);
}

.catalog .section-title {
  margin-bottom: 42px;
}

.catalog-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-list a {
  display: grid;
  grid-template-columns: 48px 1fr 96px 32px;
  column-gap: 30px;
  align-items: center;
  min-height: 136px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-list .num {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 850;
}

.catalog-list strong {
  color: #fff;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 950;
  letter-spacing: 0.02em;
}

.catalog-list em {
  color: rgba(255, 255, 255, 0.38);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.catalog-list i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.42);
  font-style: normal;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.catalog-list a:hover i {
  border-color: var(--blue-2);
  color: var(--blue-2);
  transform: translate(2px, -2px);
}

.projects {
  padding-top: 70px;
}

.projects .container {
  width: min(100% - 36px, 1050px);
}

.project-block {
  padding: 104px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

/* Pull this module and every following module upward in normal document flow. */
#local-commerce {
  margin-top: -50px;
}

#local-commerce .project-head h2 {
  transform: translateY(40px);
}

.project-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 50px;
}

.project-head h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.project-head span {
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

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

.work-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius);
  background: #101011;
}

.work-card.empty {
  background: rgba(255, 255, 255, 0.018);
}

.work-card.tall {
  min-height: 340px;
}

.visual {
  min-height: 340px;
}

.brand-card,
.package-card,
.aigc-card {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 34px;
}

.brand-card strong,
.package-card strong,
.aigc-card strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.92;
}

.brand-card span,
.package-card span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 850;
}

.brand-blue {
  background:
    radial-gradient(circle at 24% 26%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(135deg, #1720a7, #5f55ff 48%, #080916);
}

.work-card-cover {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 1600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-blue:has(.work-card-cover) {
  border-color: transparent;
  background: transparent;
}

.pdf-project-card {
  z-index: 1;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 1600ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1600ms ease;
}

.pdf-project-card:hover,
.pdf-project-card:focus-visible {
  z-index: 8;
  transform: scale(1.04);
  box-shadow: 0 24px 70px rgba(72, 54, 180, 0.28);
  outline: none;
}

.pdf-project-card:hover .work-card-cover,
.pdf-project-card:focus-visible .work-card-cover {
  transform: scale(1.05);
}

.project-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(3, 3, 8, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.project-pdf-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-pdf-modal__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #090910;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.58);
  transform: scale(0.94);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-pdf-modal.is-open .project-pdf-modal__panel {
  transform: scale(1);
}

.project-pdf-modal__bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-pdf-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  cursor: pointer;
}

.project-pdf-modal__close {
  width: 38px;
  padding: 0;
  font-size: 22px;
}

.project-pdf-modal__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050507;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.project-pdf-modal__viewport.is-dragging {
  cursor: grabbing;
}

.project-pdf-modal__canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  height: auto;
  transform-origin: 0 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}
.project-pdf-modal__guard {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 680px) {
  .project-pdf-modal {
    padding: 0;
  }

  .project-pdf-modal__panel {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
}

.brand-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 75% 32%, rgba(110, 108, 255, 0.55), transparent 26%),
    #111113;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.package-clean {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(145deg, #decaa8, #9b7152);
}

.package-bold {
  background:
    radial-gradient(circle at 74% 24%, #fff2b3, transparent 22%),
    linear-gradient(135deg, #ff5b2f, #7c1b19);
}

.video-showcase {
  display: grid;
  gap: 18px;
}

.vertical-video-carousel {
  position: relative;
}

.vertical-video-viewport {
  overflow: hidden;
  padding: 70px 74px;
}

.vertical-video-track {
  display: flex;
  gap: 28px;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.vertical-video-card {
  position: relative;
  flex: 0 0 calc((100% - 56px) / 3);
  aspect-ratio: 9 / 16;
  overflow: visible;
  border-radius: 14px;
  transform-origin: center center;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms ease,
    opacity 260ms ease;
}

.vertical-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0c0c0f;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34);
  object-fit: cover;
}

.vertical-video-card:not(.is-focus) {
  opacity: 0.72;
  filter: saturate(0.86) brightness(0.82);
}

.vertical-video-card.is-focus:hover {
  z-index: 5;
  transform: scale(1.5);
}

.vertical-video-carousel .video-arrow {
  top: 50%;
}

.vertical-video-carousel .video-arrow.prev {
  left: 14px;
}

.vertical-video-carousel .video-arrow.next {
  right: 14px;
}

.vertical-video-thumbs {
  align-items: stretch;
}

.vertical-video-thumbs .video-thumb {
  flex-basis: 118px;
  min-height: auto;
  aspect-ratio: 9 / 16;
  padding: 0;
}

.vertical-video-thumbs .video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.vertical-video-thumbs .video-thumb span,
.vertical-video-thumbs .video-thumb strong {
  position: relative;
  z-index: 1;
}

.vertical-video-thumbs .video-thumb:hover,
.vertical-video-thumbs .video-thumb.is-active {
  transform: scale(1.16);
}

.video-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: #101011;
}

.video-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #08080a;
  object-fit: cover;
}

.video-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(5, 5, 6, 0.62);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.video-arrow:hover {
  border-color: var(--blue-2);
  background: rgba(85, 83, 255, 0.26);
  color: var(--blue-2);
}

.video-arrow.prev {
  left: 18px;
}

.video-arrow.next {
  right: 18px;
}

.video-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 28px;
  align-items: end;
}

.video-info p {
  margin: 0;
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.video-info h3 {
  grid-column: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.video-info span {
  grid-row: 1 / span 2;
  grid-column: 2;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.75;
}

.video-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scroll-snap-type: x mandatory;
}

.video-thumb {
  position: relative;
  flex: 0 0 210px;
  min-height: 110px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, #17171d, #0c0c0f);
  color: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.video-thumb:hover,
.video-thumb.is-active {
  border-color: var(--blue-2);
  background:
    radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.3), transparent 24%),
    linear-gradient(135deg, rgba(85, 83, 255, 0.56), #101014);
  transform: translateY(-2px);
}

.video-thumb span {
  display: block;
  margin: 18px 18px 8px;
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 900;
}

.video-thumb strong {
  display: block;
  margin: 0 18px 18px;
  font-size: 19px;
  line-height: 1.15;
}

.visual-3d {
  background:
    radial-gradient(circle at 70% 30%, #fff77b, transparent 24%),
    radial-gradient(circle at 30% 80%, #89e7ff, transparent 28%),
    linear-gradient(135deg, #fff4b7, #ff79b6);
  color: #111;
  padding: 36px;
}

.visual-3d strong {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 46px;
  line-height: 1.03;
}

.visual-3d span {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 18px;
  border-radius: 999px;
  background: #476cff;
  padding: 8px 18px;
  color: #fff;
  font-weight: 850;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  box-shadow: inset -14px -14px 24px rgba(0, 0, 0, 0.16);
}

.b1 {
  right: 44px;
  bottom: 54px;
  width: 130px;
  height: 130px;
  background: #68d485;
}

.b2 {
  right: 128px;
  top: 62px;
  width: 170px;
  height: 170px;
  background: #ffe04a;
}

.b3 {
  right: 14px;
  top: 88px;
  width: 132px;
  height: 132px;
  border-radius: 34px 34px 55px 55px;
  background: #5f8cff;
}

.sketch-kid {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(155deg, transparent 0 15px, rgba(255, 255, 255, 0.08) 16px 18px),
    #a55b9b;
}

.face {
  position: relative;
  width: 176px;
  height: 176px;
  border: 6px solid #151515;
  border-radius: 48% 52% 55% 45%;
  background: #ffd7c1;
}

.face::before {
  position: absolute;
  top: -36px;
  left: 18px;
  width: 130px;
  height: 54px;
  border-radius: 50%;
  background: #ff7b1a;
  content: "";
}

.face i {
  position: absolute;
  top: 68px;
  width: 38px;
  height: 38px;
  border: 7px solid #111;
  border-radius: 50%;
  background: #fff;
}

.face i:first-child {
  left: 38px;
}

.face i:last-child {
  right: 38px;
}

.monster {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 40% 44%, #fff36b 0 5%, transparent 6%),
    radial-gradient(circle at 58% 44%, #fff36b 0 5%, transparent 6%),
    radial-gradient(circle at 50% 63%, #a53f2e 0 16%, transparent 17%),
    #2c946c;
}

.monster strong,
.red-world strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 52px;
  line-height: 0.9;
  text-align: center;
}

.red-world {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.72), transparent 11%),
    radial-gradient(circle at 34% 72%, #d7a04a, transparent 8%),
    linear-gradient(145deg, #b41f1f, #ec644c);
}

.poster-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 28px;
  background: #060606;
}

.poster-wall span {
  display: grid;
  place-items: center;
  min-height: 92px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #1b1b1d;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 950;
}

.type-board {
  display: grid;
  place-items: center;
  background:
    linear-gradient(75deg, rgba(255, 255, 255, 0.82), transparent 20%),
    linear-gradient(135deg, #ececec, #979797);
}

.type-board strong {
  color: #000;
  font-size: 48px;
  line-height: 0.88;
}

.ui-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #e6e0d9, #5b5b60);
}

.phone,
.device,
.ticket {
  position: relative;
  width: 86px;
  height: 210px;
  border-radius: 22px;
  background:
    linear-gradient(#fff, #ddd),
    #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.phone::before,
.device::before,
.ticket::before {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 24px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff7d44, #e7d0be);
  content: "";
}

.ui-dark strong {
  position: absolute;
  left: 34px;
  bottom: 36px;
  color: #fff;
  font-size: 22px;
}

.ui-light,
.ui-flight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #eef7fb;
}

.device {
  width: 104px;
  background: #fafafa;
}

.device::before {
  background: linear-gradient(135deg, #111, #58b7c9);
}

.ui-flight {
  background: #eaf8ff;
}

.aigc-card {
  background:
    radial-gradient(circle at 35% 34%, rgba(255, 255, 255, 0.85), transparent 8%),
    radial-gradient(circle at 68% 58%, rgba(110, 108, 255, 0.85), transparent 18%),
    linear-gradient(135deg, #101012, #3f277a 55%, #ff7fb2);
}

.ticket {
  width: 90px;
  height: 224px;
  transform: rotate(-7deg);
  background: #fff;
}

.ticket:nth-child(2) {
  transform: rotate(7deg) translateY(-16px);
}

.ticket:nth-child(3) {
  transform: rotate(-2deg);
}

.ticket::before {
  background: linear-gradient(135deg, #9c7dff, #6ee7d8);
}

.contact-hero {
  position: relative;
  min-height: 970px;
  overflow: hidden;
  background:
    radial-gradient(circle at 67% 32%, rgba(255, 255, 255, 0.18), transparent 23rem),
    linear-gradient(120deg, #6aa5ff, #1b169d 52%, #090b31);
}

.contact-bg-text {
  position: absolute;
  top: -18px;
  left: 3vw;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(122px, 21vw, 360px);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
}

.avatar-art {
  position: absolute;
  right: 8vw;
  bottom: 0;
  width: min(44vw, 650px);
  height: 760px;
}

.avatar-head {
  position: absolute;
  top: 70px;
  right: 100px;
  width: 300px;
  height: 340px;
  border-radius: 46% 46% 48% 48%;
  background:
    radial-gradient(circle at 37% 45%, #5b2c1d 0 4%, transparent 5%),
    radial-gradient(circle at 64% 45%, #5b2c1d 0 4%, transparent 5%),
    linear-gradient(135deg, #f0b481, #b86d45);
  box-shadow: inset -34px -18px 34px rgba(82, 36, 21, 0.2);
}

.hair {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 115px;
  width: 310px;
  height: 130px;
  border-radius: 70% 40% 20% 30%;
  background: linear-gradient(145deg, #101018, #030307 62%, #3c2517);
}

.glasses {
  position: absolute;
  top: 142px;
  left: 46px;
  width: 210px;
  height: 58px;
  border-top: 11px solid #08080a;
  border-radius: 12px;
}

.glasses::before,
.glasses::after {
  position: absolute;
  top: -3px;
  width: 78px;
  height: 58px;
  border: 10px solid #08080a;
  border-radius: 23px;
  content: "";
}

.glasses::before {
  left: 0;
}

.glasses::after {
  right: 0;
}

.avatar-body {
  position: absolute;
  right: 34px;
  bottom: -24px;
  width: 490px;
  height: 430px;
  border-radius: 220px 220px 0 0;
  background: linear-gradient(135deg, #050505, #252229);
}

.float-icon {
  position: absolute;
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.float-icon.wechat {
  left: 10px;
  top: 380px;
  transform: rotate(-8deg);
}

.float-icon.phone {
  right: 0;
  bottom: 130px;
  transform: rotate(10deg);
}

.contact-info {
  position: absolute;
  left: 50%;
  bottom: 72px;
  display: flex;
  gap: 56px;
  transform: translateX(-50%);
}

.contact-info span {
  display: block;
  margin-bottom: 13px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 850;
}

.contact-info strong {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.site-footer {
  display: grid;
  height: 55px;
  place-items: center;
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.26);
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 20px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(5, 5, 6, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 160ms ease;
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .resume-button {
    justify-content: center;
    margin-top: 14px;
  }

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

  .main-nav a {
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-dropdown-toggle {
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .main-nav a::after,
  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    border-radius: 10px;
    margin: 8px 0 12px;
    opacity: 1;
    padding: 8px;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    transform: none;
  }

  .about-grid,
  .catalog-list a,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    width: min(100%, 320px);
  }

  .catalog-list a {
    gap: 12px;
    align-items: start;
    padding: 28px 0;
  }

  .catalog-list strong {
    font-size: 36px;
  }

  .catalog-list i {
    margin-top: 8px;
  }

  .contact-hero {
    min-height: 760px;
  }

  .avatar-art {
    right: -80px;
    width: 520px;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .hero-content {
    width: min(100% - 34px, 1180px);
    padding-bottom: 72px;
  }

  .hero-main-copy h1 {
    font-size: clamp(82px, 24vw, 160px);
  }

  .hero-svg-title svg {
    width: min(118vw, 820px);
    max-height: 250px;
  }

  .hero-bottom-copy {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-motto {
    justify-self: start;
    min-width: 0;
  }
}

.hero-content .hero-svg-title {
  position: absolute;
  top: calc(clamp(16px, 2.8vw, 48px) - 30px);
  left: 50%;
  display: flex;
  justify-content: flex-start;
  width: min(calc(74vw + 60px), 1380px);
  min-height: calc(clamp(210px, 22vw, 360px) + 30px);
  margin: 0;
  transform: translateX(-50%);
}

.hero-content .hero-svg-title svg {
  display: block;
  width: 100%;
  max-height: calc(clamp(210px, 22vw, 360px) + 30px);
  height: auto;
}

.hero-main-copy .hero-lead {
  margin-top: clamp(240px, 24vw, 380px);
}

.hero-main-copy .hero-lead,
.hero-main-copy .hero-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-main-copy .hero-lead {
  letter-spacing: 0.045em;
}

.hero-main-copy .hero-sub {
  letter-spacing: 0.055em;
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 930px);
  }

  .section {
    padding: 78px 0;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 38px;
  }

  .section-title h1 span,
  .section-title h2 span {
    position: static;
    display: block;
    margin-top: -3px;
    font-size: 42px;
  }

  .about-grid {
    gap: 34px;
  }

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

  .video-info {
    grid-template-columns: 1fr;
  }

  .video-info span {
    grid-row: auto;
    grid-column: auto;
    max-width: none;
  }

  .work-card,
  .visual {
    min-height: 280px;
  }

  .poster-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-bg-text {
    font-size: 90px;
  }

  .contact-info {
    left: 22px;
    flex-direction: column;
    gap: 18px;
    transform: none;
  }
}
/* Local commerce vertical video carousel refinements */
#local-commerce .vertical-video-carousel {
  position: relative;
  overflow: visible;
}

#local-commerce,
#local-commerce .container,
#local-commerce .video-showcase {
  overflow: visible !important;
}

#local-commerce .vertical-video-viewport {
  overflow: visible !important;
  padding: 96px 96px !important;
  clip-path: inset(-140px -140px -140px -140px);
}

#local-commerce .vertical-video-track {
  display: flex !important;
  align-items: center;
  gap: 34px !important;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform;
}

#local-commerce .vertical-video-card {
  flex: 0 0 calc((100% - 68px) / 3) !important;
  aspect-ratio: 9 / 16 !important;
  min-width: 0;
  overflow: hidden;
  transform-origin: center center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease, filter 320ms ease, border-color 320ms ease !important;
}

#local-commerce .vertical-video-card video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #020205;
}

#local-commerce .vertical-video-card.is-focus {
  opacity: 1;
  filter: none;
  border-color: rgba(136, 92, 255, 0.7);
}

#local-commerce .vertical-video-card.is-focus:hover {
  transform: scale(1.5) !important;
  z-index: 8;
}

#local-commerce .vertical-video-thumbs {
  display: flex !important;
  gap: 18px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 18px 8px 26px !important;
  -webkit-overflow-scrolling: touch;
}

#local-commerce .vertical-video-thumbs .video-thumb {
  flex: 0 0 118px !important;
  aspect-ratio: 9 / 16 !important;
  scroll-snap-align: center;
  transform-origin: center center;
}

#local-commerce .vertical-video-thumbs .video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #020205;
}

#local-commerce .vertical-video-thumbs .video-thumb:hover,
#local-commerce .vertical-video-thumbs .video-thumb.is-active {
  transform: scale(1.16) !important;
  z-index: 4;
}
/* Local commerce video group: 3-up vertical videos + 8-card orbit thumbs */
#local-commerce.orbit-video-mode .video-showcase,
#local-commerce.orbit-video-mode .vertical-video-carousel {
  overflow: visible !important;
}

#local-commerce.orbit-video-mode .video-showcase > :not(.vertical-video-carousel):not(.vertical-video-thumbs) {
  display: none !important;
}

#local-commerce.orbit-video-mode .vertical-video-carousel {
  width: min(100%, 1180px);
  margin: 0 auto;
}

#local-commerce.orbit-video-mode .vertical-video-viewport {
  width: 100%;
  overflow: hidden !important;
  padding: 72px 0 58px !important;
  clip-path: none !important;
}

#local-commerce.orbit-video-mode .vertical-video-track {
  display: flex !important;
  align-items: center;
  gap: 34px !important;
  transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

#local-commerce.orbit-video-mode .vertical-video-card {
  flex: 0 0 calc((100% - 68px) / 3) !important;
  aspect-ratio: 9 / 16 !important;
  border-radius: 18px;
  overflow: hidden;
  transform-origin: center center;
  opacity: 1 !important;
  filter: none !important;
  transition:
    transform 480ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 480ms ease,
    border-color 360ms ease,
    filter 360ms ease !important;
}

#local-commerce.orbit-video-mode .vertical-video-card:hover {
  transform: translateY(-18px) scale(1.18) !important;
  z-index: 12;
  border-color: rgba(139, 92, 255, 0.86);
  box-shadow: 0 28px 74px rgba(101, 67, 255, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: brightness(1.08) saturate(1.05) !important;
}

#local-commerce.orbit-video-mode .vertical-video-card video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #020205;
}

#local-commerce.orbit-video-mode .video-arrow {
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

#local-commerce.orbit-video-mode .vertical-video-thumbs {
  position: relative;
  display: block !important;
  width: min(100%, 960px);
  height: 286px;
  margin: 4px auto 0;
  padding: 0 !important;
  overflow: visible !important;
  perspective: 1000px;
  transform-style: preserve-3d;
}

#local-commerce.orbit-video-mode .vertical-video-thumbs .video-thumb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116px !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  margin: 0;
  flex: none !important;
  cursor: pointer;
  transform:
    translate(-50%, -50%)
    translateX(var(--thumb-x, 0px))
    translateZ(var(--thumb-z, 0px))
    rotateY(var(--thumb-rotate, 0deg))
    scale(var(--thumb-scale, 1));
  opacity: var(--thumb-opacity, 0.45);
  z-index: var(--thumb-z-index, 1);
  transition:
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms ease,
    border-color 360ms ease,
    box-shadow 420ms ease;
  transform-style: preserve-3d;
}

#local-commerce.orbit-video-mode .vertical-video-thumbs .video-thumb.is-active {
  border-color: rgba(141, 95, 255, 0.95);
  box-shadow: 0 22px 60px rgba(113, 77, 255, 0.28);
}

#local-commerce.orbit-video-mode .vertical-video-thumbs .video-thumb:hover {
  box-shadow: 0 20px 56px rgba(113, 77, 255, 0.24);
}

#local-commerce.orbit-video-mode .vertical-video-thumbs .video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #020205;
  border-radius: inherit;
}
/* Final local-commerce video behavior: flat depth carousel synced with 3-up videos */
html body #local-commerce.orbit-video-mode .video-showcase {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 46px !important;
  overflow: visible !important;
}

html body #local-commerce.orbit-video-mode .video-showcase > :not(.vertical-video-carousel):not(.vertical-video-thumbs) {
  display: none !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-carousel {
  width: min(100%, 1180px) !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-viewport {
  width: 100% !important;
  overflow: hidden !important;
  padding: 76px 0 64px !important;
  clip-path: none !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-track {
  display: flex !important;
  align-items: center !important;
  gap: 34px !important;
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-card {
  flex: 0 0 calc((100% - 68px) / 3) !important;
  aspect-ratio: 9 / 16 !important;
  transform-origin: center center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 360ms ease,
    box-shadow 420ms ease,
    border-color 320ms ease,
    filter 320ms ease !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-card:not(.is-visible) {
  display: none !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-card.is-visible {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-card:hover,
html body #local-commerce.orbit-video-mode .vertical-video-card.is-hovered {
  transform: translateY(-18px) scale(1.16) !important;
  z-index: 12 !important;
  border-color: rgba(139, 92, 255, 0.9) !important;
  box-shadow: 0 28px 74px rgba(101, 67, 255, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  filter: brightness(1.08) saturate(1.06) !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-card video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #020205 !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-thumbs {
  position: relative !important;
  display: block !important;
  width: min(100%, 980px) !important;
  height: 300px !important;
  margin: -10px auto 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  perspective: 1000px !important;
  transform-style: preserve-3d !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-thumbs .video-thumb {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 118px !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  flex: none !important;
  margin: 0 !important;
  cursor: pointer !important;
  opacity: var(--thumb-opacity, 0) !important;
  z-index: var(--thumb-z-index, 1) !important;
  transform:
    translate(-50%, -50%)
    translateX(var(--thumb-x, 0px))
    translateY(var(--thumb-y, 0px))
    translateZ(var(--thumb-z, 0px))
    scale(var(--thumb-scale, 1)) !important;
  transition:
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms ease,
    border-color 320ms ease,
    box-shadow 420ms ease,
    filter 320ms ease !important;
  transform-style: preserve-3d !important;
  pointer-events: var(--thumb-events, auto) !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-thumbs .video-thumb.is-active {
  border-color: rgba(141, 95, 255, 1) !important;
  box-shadow: 0 28px 72px rgba(113, 77, 255, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  filter: brightness(1.12) saturate(1.08) !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-thumbs .video-thumb video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #020205 !important;
  border-radius: inherit !important;
}
/* Final sync guard for local-commerce video controls */
html body #local-commerce.orbit-video-mode .vertical-video-carousel .video-arrow {
  pointer-events: auto !important;
  z-index: 999 !important;
  cursor: pointer !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-card.is-focus {
  border-color: rgba(141, 95, 255, 0.92) !important;
  box-shadow: 0 22px 72px rgba(112, 70, 255, 0.22) !important;
}

html body #local-commerce.orbit-video-mode .vertical-video-card.is-hovered:not(.is-focus) {
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 20px 58px rgba(101, 67, 255, 0.16) !important;
}
/* Music toggle in the glass navigation */
.music-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(95, 70, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.music-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(145, 95, 255, 0.72);
  background: rgba(122, 86, 255, 0.2);
  box-shadow: 0 0 24px rgba(126, 86, 255, 0.28);
}

.music-toggle__bar {
  width: 3px;
  height: 12px;
  border-radius: 99px;
  background: linear-gradient(180deg, #7d8dff 0%, #a365ff 54%, #df8aff 100%);
  transform-origin: center bottom;
  opacity: 0.62;
}

.music-toggle.is-playing .music-toggle__bar {
  opacity: 1;
  animation: musicBars 0.72s ease-in-out infinite;
}

.music-toggle.is-playing .music-toggle__bar:nth-child(2) {
  animation-delay: 0.14s;
}

.music-toggle.is-playing .music-toggle__bar:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes musicBars {
  0%, 100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1.22);
  }
}
/* Catalog cards: Chinese-first beveled glass buttons */
.catalog .catalog-list {
  display: grid;
  gap: 18px;
}

.catalog .catalog-list a {
  position: relative;
  min-height: 112px;
  padding: 26px 34px 26px 34px;
  border: 1px solid rgba(135, 95, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(126, 89, 255, 0.16), rgba(255, 255, 255, 0.035) 42%, rgba(126, 89, 255, 0.08)),
    rgba(8, 8, 14, 0.56);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 58px rgba(28, 15, 80, 0.22);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.catalog .catalog-list a::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  clip-path: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(148, 104, 255, 0.22) 42%, transparent 64%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 280ms ease, transform 480ms ease;
}

.catalog .catalog-list a:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 105, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(126, 89, 255, 0.26), rgba(255, 255, 255, 0.055) 42%, rgba(126, 89, 255, 0.12)),
    rgba(12, 10, 22, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 70px rgba(92, 59, 255, 0.2);
}

.catalog .catalog-list a:hover::before {
  opacity: 1;
  transform: translateX(30%);
}

.catalog .catalog-list a > * {
  position: relative;
  z-index: 1;
}

.catalog .catalog-list a strong,
.catalog .catalog-list a .catalog-title,
.catalog .catalog-list a .category-title {
  order: 3;
  justify-self: end;
  align-self: center;
  font-size: clamp(15px, 1vw, 18px) !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  color: rgba(255, 255, 255, 0.48) !important;
  white-space: nowrap;
}

.catalog .catalog-list a em,
.catalog .catalog-list a small,
.catalog .catalog-list a .catalog-label,
.catalog .catalog-list a .category-label {
  order: 2;
  justify-self: start;
  align-self: center;
  max-width: none;
  font-size: clamp(34px, 4.4vw, 66px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  font-style: normal !important;
  font-weight: 900 !important;
  color: #fff !important;
  white-space: nowrap !important;
}

.catalog .catalog-list a > span:first-child,
.catalog .catalog-list a .catalog-index,
.catalog .catalog-list a .category-index {
  order: 1;
  color: rgba(255, 255, 255, 0.45) !important;
}

.catalog .catalog-list a > span:last-child,
.catalog .catalog-list a .catalog-arrow,
.catalog .catalog-list a .category-arrow {
  order: 4;
}
/* Final catalog menu layout: big Chinese, small English, beveled glass */
html body .catalog .catalog-list {
  display: grid !important;
  gap: 20px !important;
}

html body .catalog .catalog-list a.catalog-bevel-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) auto 48px !important;
  align-items: center !important;
  column-gap: 24px !important;
  min-height: 118px !important;
  padding: 26px 30px !important;
  text-decoration: none !important;
  border: 1px solid rgba(139, 95, 255, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(133, 91, 255, 0.18), rgba(255, 255, 255, 0.045) 44%, rgba(111, 85, 255, 0.09)),
    rgba(6, 7, 13, 0.62) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
  clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(139, 95, 255, 0.08),
    0 20px 60px rgba(24, 16, 70, 0.22) !important;
  overflow: hidden !important;
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease !important;
}

html body .catalog .catalog-list a.catalog-bevel-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  clip-path: inherit !important;
  pointer-events: none !important;
  background: linear-gradient(110deg, transparent 0%, rgba(154, 102, 255, 0.28) 46%, transparent 64%) !important;
  opacity: 0 !important;
  transform: translateX(-34%) !important;
  transition: opacity 260ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html body .catalog .catalog-list a.catalog-bevel-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(162, 108, 255, 0.66) !important;
  background:
    linear-gradient(135deg, rgba(137, 93, 255, 0.3), rgba(255, 255, 255, 0.065) 44%, rgba(118, 88, 255, 0.14)),
    rgba(10, 9, 20, 0.74) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 26px 78px rgba(101, 67, 255, 0.22) !important;
}

html body .catalog .catalog-list a.catalog-bevel-card:hover::before {
  opacity: 1 !important;
  transform: translateX(36%) !important;
}

html body .catalog .catalog-index {
  position: relative !important;
  z-index: 1 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: rgba(255, 255, 255, 0.42) !important;
}

html body .catalog .catalog-cn {
  position: relative !important;
  z-index: 1 !important;
  min-width: 0 !important;
  font-size: clamp(38px, 4.3vw, 70px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  color: #fff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body .catalog .catalog-bevel-card:nth-child(4) .catalog-cn {
  font-size: clamp(30px, 3.35vw, 54px) !important;
}

@media (max-width: 860px) {
  html body .catalog .catalog-list a.catalog-bevel-card {
    grid-template-columns: 48px minmax(0, 1fr) 34px !important;
    grid-template-areas:
      "index cn arrow"
      "index en arrow" !important;
    min-height: 118px !important;
  }

  html body .catalog .catalog-index {
    grid-area: index !important;
  }

  html body .catalog .catalog-cn {
    grid-area: cn !important;
    font-size: clamp(26px, 6vw, 42px) !important;
  }

  html body .catalog .catalog-en {
    grid-area: en !important;
    justify-self: start !important;
    margin-top: 10px !important;
  }

  html body .catalog .catalog-arrow {
    grid-area: arrow !important;
  }
}

html body .catalog .catalog-en {
  position: relative !important;
  z-index: 1 !important;
  justify-self: end !important;
  font-size: clamp(14px, 1vw, 18px) !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: rgba(255, 255, 255, 0.48) !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
}

html body .catalog .catalog-arrow {
  position: relative !important;
  z-index: 1 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.62) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}
/* Final interactive dot-field overlay */
.dot-field-interactive {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.dot-field-interactive,
canvas.dot-field-interactive {
  display: block !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}

/* Resume preview modal */
body.resume-modal-open {
  overflow: hidden;
}

.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(4, 3, 8, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.resume-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.resume-modal__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: fit-content;
  max-width: min(100%, 920px);
  max-height: min(92vh, 980px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 9, 18, 0.92);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.54), 0 0 64px rgba(113, 77, 255, 0.24);
  transform: scale(0.84);
  opacity: 0;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms ease;
}

.resume-modal.is-open .resume-modal__panel {
  transform: scale(1);
  opacity: 1;
}

.resume-modal.is-closing {
  opacity: 0;
}

.resume-modal.is-closing .resume-modal__panel {
  transform: scale(0.86);
  opacity: 0;
}

.resume-modal__bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resume-modal__download,
.resume-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  cursor: pointer;
}

.resume-modal__download {
  padding: 0 18px;
  font-size: 13px;
  font-weight: 850;
  border-color: rgba(146, 119, 255, 0.68);
  background: linear-gradient(135deg, #4b7cff 0%, #7557ff 48%, #b45cff 100%);
  box-shadow: 0 10px 28px rgba(103, 84, 255, 0.28);
}

.resume-modal__close {
  width: 38px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.resume-modal__download:hover,
.resume-modal__close:hover {
  border-color: rgba(174, 116, 255, 0.68);
  background: rgba(137, 93, 255, 0.22);
}

.resume-modal__download:hover {
  background: linear-gradient(135deg, #5d8aff 0%, #8164ff 48%, #c06aff 100%);
}

.resume-modal__viewport {
  min-height: 0;
  overflow: auto;
  padding: 18px;
  overscroll-behavior: contain;
  cursor: grab;
  user-select: none;
}

.resume-modal__viewport.is-dragging {
  cursor: grabbing;
}

.resume-modal__image {
  display: block;
  width: auto;
  max-width: min(100%, 820px);
  max-height: calc(min(92vh, 980px) - 104px);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 680px) {
  .resume-modal {
    padding: 18px;
  }

  .resume-modal__panel {
    max-height: 94vh;
    border-radius: 14px;
  }

  .resume-modal__viewport {
    padding: 12px;
  }
}

/* Remove catalog arrow icons and slightly lift the global dark background */
html,
body {
  background-color: #080609 !important;
}

main,
section {
  background-color: rgba(16, 11, 15, 0.1);
}

body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(170, 92, 62, 0.075), transparent 34%),
    radial-gradient(circle at 76% 38%, rgba(184, 112, 86, 0.06), transparent 38%),
    radial-gradient(circle at 48% 72%, rgba(132, 82, 255, 0.045), transparent 42%),
    linear-gradient(180deg, rgba(255, 226, 204, 0.028), rgba(255, 255, 255, 0.012)) !important;
}

#catalog .catalog-final-arrow,
section.catalog .catalog-final-arrow,
#catalog .catalog-arrow,
section.catalog .catalog-arrow {
  display: none !important;
}

#catalog .catalog-final-card,
section.catalog .catalog-final-card,
#catalog .catalog-numbered-card,
section.catalog .catalog-numbered-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
}
/* Prevent catalog FOUC: never show the unprocessed catalog rows */
#catalog .catalog-list a:not(.catalog-final-card),
section.catalog .catalog-list a:not(.catalog-final-card),
.catalog .catalog-list a:not(.catalog-final-card) {
  visibility: hidden !important;
}

#catalog .catalog-list a.catalog-final-card,
section.catalog .catalog-list a.catalog-final-card,
.catalog .catalog-list a.catalog-final-card {
  visibility: visible !important;
}
/* Absolute final catalog title sizing: prevent old oversized catalog text from flashing back */
html body #catalog .catalog-list a.catalog-final-card .catalog-final-cn,
html body #catalog .catalog-list a.catalog-numbered-card .catalog-final-cn,
html body section.catalog .catalog-list a.catalog-final-card .catalog-final-cn,
html body section.catalog .catalog-list a.catalog-numbered-card .catalog-final-cn,
html body .catalog .catalog-list a.catalog-final-card .catalog-final-cn,
html body .catalog .catalog-list a.catalog-numbered-card .catalog-final-cn {
  font-size: clamp(20px, 2.05vw, 34px) !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: 0.01em !important;
  transform: translateX(50px) !important;
  white-space: nowrap !important;
  max-width: 48vw !important;
}

/* Local-commerce image showcase */
.commerce-media-stage {
  width: 100%;
  margin: 0 0 92px;
}

.commerce-wide-media {
  position: relative;
  width: 100%;
  transform: translateY(50px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.commerce-wide-media--primary {
  aspect-ratio: 4 / 1;
  margin-top: 50px;
}

.commerce-wide-media--secondary {
  margin-top: 28px;
}

.commerce-wide-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.commerce-wide-media:hover > img {
  transform: scale(1.035);
}

.commerce-portrait-carousel {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 54vw, 820px);
  margin-top: 56px;
  overflow: hidden;
}

.commerce-portrait-stage {
  position: absolute;
  inset: 0 64px;
  perspective: 1400px;
}

.commerce-portrait-card {
  --portrait-x: 0px;
  --portrait-scale: 1;
  --portrait-opacity: 1;
  --portrait-z: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(210px, 22vw, 340px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(139, 95, 255, 0.32);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36);
  opacity: var(--portrait-opacity);
  z-index: var(--portrait-z);
  transform: translate(calc(-50% + var(--portrait-x)), -50%) scale(var(--portrait-scale));
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease, border-color 700ms ease, box-shadow 1100ms ease;
  will-change: transform;
}

.commerce-portrait-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.commerce-portrait-card:hover {
  border-color: rgba(151, 105, 255, 0.82);
  box-shadow: 0 38px 94px rgba(67, 39, 147, 0.46);
  transform: translate(calc(-50% + var(--portrait-x)), -50%) scale(calc(var(--portrait-scale) * 1.055));
}

.commerce-portrait-card:hover > img {
  transform: scale(1.04);
}

.commerce-portrait-arrow {
  position: absolute;
  top: 50%;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 8, 16, 0.7);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 360ms ease, background 360ms ease, border-color 360ms ease;
}

.commerce-portrait-arrow:hover {
  border-color: rgba(139, 95, 255, 0.76);
  background: rgba(63, 38, 132, 0.82);
  transform: translateY(-50%) scale(1.08);
}

.commerce-portrait-arrow--prev { left: 0; }
.commerce-portrait-arrow--next { right: 0; }

@media (max-width: 760px) {
  .commerce-media-stage { margin-bottom: 60px; }
  .commerce-wide-media--secondary { margin-top: 16px; }
  .commerce-portrait-carousel { min-height: 570px; margin-top: 34px; }
  .commerce-portrait-stage { inset-inline: 38px; }
  .commerce-portrait-card { width: min(58vw, 280px); border-radius: 16px; }
  .commerce-portrait-arrow { width: 42px; height: 42px; font-size: 30px; }
}
/* Designed cover for the first local-commerce banner */
.commerce-cover {
  isolation: isolate;
}

.commerce-cover__image {
  position: absolute;
  inset: -4%;
  width: 108% !important;
  height: 108% !important;
  object-fit: cover;
  filter: blur(9px) brightness(0.72) saturate(0.86);
  transform: scale(1.04);
}

.commerce-cover:hover .commerce-cover__image {
  transform: scale(1.075);
}

.commerce-cover__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 8, 5, 0.72) 0%, rgba(22, 11, 5, 0.25) 42%, rgba(9, 5, 3, 0.66) 100%),
    linear-gradient(180deg, rgba(255, 228, 174, 0.04), rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.commerce-cover::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 238, 190, 0.32);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

.commerce-cover__copy,
.commerce-cover__title {
  position: absolute;
  z-index: 3;
  color: #fff2c8;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.52);
}

.commerce-cover__copy {
  left: clamp(34px, 5vw, 76px);
  top: 50%;
  display: grid;
  gap: clamp(10px, 1vw, 18px);
  transform: translateY(-50%);
  font-size: clamp(22px, 2.25vw, 40px);
  font-weight: 820;
  line-height: 1.18;
  letter-spacing: 0.08em;
}

.commerce-cover__copy span:first-child {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 242, 200, 0.5);
}

.commerce-cover__title {
  right: clamp(34px, 5vw, 76px);
  top: 50%;
  max-width: 48%;
  transform: translateY(-50%);
  font-size: clamp(38px, 5vw, 82px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0.08em;
  text-align: right;
}

@media (max-width: 680px) {
  .commerce-cover::after { inset: 10px; }
  .commerce-cover__copy { left: 22px; font-size: clamp(16px, 4vw, 24px); }
  .commerce-cover__title { right: 22px; font-size: clamp(26px, 7vw, 44px); }
}
/* Click affordance for the second local-commerce banner */
.commerce-click-cover {
  cursor: pointer;
  isolation: isolate;
}

.commerce-click-cover::before {
  content: "";
  position: absolute;
  top: -24%;
  bottom: -24%;
  left: -18%;
  z-index: 3;
  width: 7%;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 220, 0.08), rgba(255, 255, 255, 0.18), rgba(255, 246, 220, 0.06), transparent);
  filter: blur(4px);
  opacity: 0;
  transform: skewX(-18deg);
  pointer-events: none;
}

.commerce-click-cover:hover::before,
.commerce-click-cover:focus-visible::before {
  animation: commerceCoverShine 1100ms cubic-bezier(0.3, 0, 0.25, 1) 1;
}

.commerce-click-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 239, 196, 0.16);
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(255, 224, 151, 0.18);
  pointer-events: none;
  animation: commerceClickGlow 2800ms ease-in-out infinite;
}

.commerce-click-cover > img {
  transition: transform 1600ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}



.commerce-click-cover:focus-visible {
  outline: 2px solid rgba(255, 236, 184, 0.8);
  outline-offset: 4px;
}

.commerce-click-cover__hint {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 241, 202, 0.44);
  border-radius: 999px;
  color: #fff3cf;
  background: rgba(13, 7, 5, 0.58);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
  animation: commerceHintFloat 2200ms ease-in-out infinite;
  pointer-events: none;
}

.commerce-click-cover__hint i {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffe4a2;
  box-shadow: 0 0 0 0 rgba(255, 228, 162, 0.55);
  animation: commerceHintPulse 1800ms ease-out infinite;
}

@keyframes commerceClickGlow {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 224, 151, 0.1); }
  50% { box-shadow: inset 0 0 42px 2px rgba(255, 224, 151, 0.16); }
}

@keyframes commerceHintFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes commerceHintPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 228, 162, 0.55); }
  75%, 100% { box-shadow: 0 0 0 12px rgba(255, 228, 162, 0); }
}
@keyframes commerceCoverShine {
  0% { left: -18%; opacity: 0; }
  14% { opacity: 0.55; }
  72% { opacity: 0.55; }
  100% { left: 112%; opacity: 0; }
}
.commerce-wide-media.commerce-click-cover:hover > img,
.commerce-wide-media.commerce-click-cover:focus-visible > img {
  transform: none;
  filter: none;
}
/* Final neutral state for the clickable commerce banner; keep the click hint animated. */
.commerce-click-cover::before,
.commerce-click-cover::after {
  content: none;
  display: none;
  animation: none;
}

.commerce-click-cover > img,
.commerce-click-cover:hover > img,
.commerce-click-cover:focus-visible > img,
.commerce-wide-media.commerce-click-cover:hover > img,
.commerce-wide-media.commerce-click-cover:focus-visible > img {
  transform: none;
  filter: none;
  transition: none;
}

.commerce-click-cover,
.commerce-click-cover:hover,
.commerce-click-cover:focus-visible {
  box-shadow: none;
  outline: none;
}
/* Hard lock: clickable banner must never move or scale. */
html body .commerce-wide-media.commerce-click-cover,
html body .commerce-wide-media.commerce-click-cover:hover,
html body .commerce-wide-media.commerce-click-cover:focus,
html body .commerce-wide-media.commerce-click-cover:focus-visible,
html body .commerce-wide-media.commerce-click-cover:active {
  transform: translateY(50px) !important;
  scale: 1 !important;
  box-shadow: none !important;
  outline: none !important;
}

html body .commerce-wide-media.commerce-click-cover > img,
html body .commerce-wide-media.commerce-click-cover:hover > img,
html body .commerce-wide-media.commerce-click-cover:focus > img,
html body .commerce-wide-media.commerce-click-cover:focus-visible > img,
html body .commerce-wide-media.commerce-click-cover:active > img {
  transform: none !important;
  scale: 1 !important;
  filter: none !important;
  transition: none !important;
}
/* Final hover sizing for the clickable commerce banner. */
html body .commerce-wide-media.commerce-click-cover {
  transform: translateY(50px) scale(1) !important;
  transform-origin: center !important;
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body .commerce-wide-media.commerce-click-cover:hover {
  transform: translateY(50px) scale(1.014) !important;
}

html body .commerce-wide-media.commerce-click-cover > img {
  transform: scale(1) !important;
  transform-origin: center !important;
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body .commerce-wide-media.commerce-click-cover:hover > img {
  transform: scale(1.018) !important;
}

html body .commerce-wide-media.commerce-click-cover:focus:not(:hover),
html body .commerce-wide-media.commerce-click-cover:focus-visible:not(:hover),
html body .commerce-wide-media.commerce-click-cover:active:not(:hover) {
  transform: translateY(50px) scale(1) !important;
}
/* PROJECT_FULLSCREEN_GALLERY_START */
.project-pdf-modal__fullscreen,
.project-fullscreen-viewer__close {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.project-pdf-modal__fullscreen:hover,
.project-fullscreen-viewer__close:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}

.project-pdf-modal__gallery {
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 28px;
  background: #050507;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.project-pdf-modal.has-project-gallery .project-pdf-modal__panel {
  grid-template-rows: auto minmax(0, 1fr);
}

.project-pdf-modal.has-project-gallery .project-pdf-modal__viewport {
  display: none;
}

.project-pdf-modal.has-project-gallery .project-pdf-modal__gallery {
  grid-row: 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}

.project-pdf-modal__gallery-item {
  flex: 0 0 auto;
  height: auto;
  display: block;
  width: min(92vw, 1600px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #111;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
  cursor: zoom-in;
}

.project-pdf-modal__gallery-item.is-selected {
  border-color: rgba(255, 255, 255, 0.42);
}

.project-pdf-modal__gallery-canvas {
  object-fit: contain;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.project-fullscreen-viewer {
  position: fixed;
  inset: 0;
  z-index: 12000;
  overflow: hidden;
  background: #050507;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
  user-select: none;
}

.project-fullscreen-viewer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-fullscreen-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 18px 8px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
}

.project-fullscreen-viewer__indicator {
  display: block;
  width: 100%;
  padding-top: 10px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.project-fullscreen-viewer__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #050507;
}

.project-fullscreen-viewer__frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
}

.project-fullscreen-viewer__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 160ms ease;
}

.project-fullscreen-viewer__media.is-changing {
  opacity: 0.45;
}

.project-fullscreen-viewer__canvas {
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  box-shadow: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 680px) {
  .project-pdf-modal__gallery {
    gap: 16px;
    padding: 14px;
  }

  .project-pdf-modal__gallery-item {
  flex: 0 0 auto;
  height: auto;
    width: 100%;
  }

  .project-fullscreen-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 18px 8px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
}
}
/* PROJECT_FULLSCREEN_GALLERY_END */
/* Poster masonry gallery */
.poster-masonry-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 710px;
  padding: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(139, 95, 255, 0.72) rgba(255, 255, 255, 0.035);
  scrollbar-width: thin;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius);
  background: rgba(7, 7, 10, 0.86);
}

.poster-masonry-shell::-webkit-scrollbar { width: 8px; }
.poster-masonry-shell::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.025); }
.poster-masonry-shell::-webkit-scrollbar-thumb {
  border: 2px solid rgba(7, 7, 10, 0.86);
  border-radius: 999px;
  background: rgba(139, 95, 255, 0.68);
}

.poster-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  width: 100%;
  gap: 16px;
}

.poster-masonry-item {
  position: relative !important;
  inset: auto !important;
  display: inline-block;
  box-sizing: border-box;
  width: 100% !important;
  min-height: 0;
  margin: 0;
  padding: 0;
  break-inside: avoid;
  page-break-inside: avoid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.026);
  color: rgba(255, 255, 255, 0.42);
  cursor: zoom-in;
  vertical-align: top;
  transform: none;
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

.poster-masonry-item:hover,
.poster-masonry-item:focus-visible {
  border-color: rgba(139, 95, 255, 0.78);
  box-shadow: 0 18px 42px rgba(58, 34, 126, 0.34);
}

.poster-masonry-item > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.poster-lightbox {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 48px 24px 24px;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.poster-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.poster-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 88px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.poster-lightbox__close {
  position: fixed;
  z-index: 1;
  top: 18px;
  right: 18px;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 15, 20, 0.82);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.poster-lightbox__close:hover,
.poster-lightbox__close:focus-visible {
  border-color: rgba(139, 95, 255, 0.9);
  background: rgba(73, 45, 150, 0.9);
}

body.poster-lightbox-open { overflow: hidden; }

@media (max-width: 760px) {
  .poster-masonry-shell { height: 570px; padding: 12px; }
  .poster-masonry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .poster-masonry-item { border-radius: 11px; }
  .poster-lightbox { padding: 58px 12px 12px; }
  .poster-lightbox__image { max-width: calc(100vw - 24px); max-height: calc(100vh - 82px); }
}

@media (max-width: 430px) {
  .poster-masonry-grid { grid-template-columns: 1fr; }
}
/* CONTACT_PORTFOLIO_HERO_IMAGE */
.contact-hero {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2958 / 1664;
  overflow: hidden;
  background-color: #050506;
  background-image: url("assets/contact-portfolio-hero.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
}

.contact-hero::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(54px, 7vw, 135px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #050506 0%,
    rgba(5, 5, 6, 0.88) 18%,
    rgba(5, 5, 6, 0.46) 48%,
    rgba(5, 5, 6, 0.12) 76%,
    transparent 100%
  );
  content: "";
}

.contact-hero .contact-bg-text,
.contact-hero .avatar-art {
  display: none;
}

.contact-hero .contact-info {
  z-index: 2;
}

@media (max-width: 900px) {
  .contact-hero {
    min-height: 0;
    aspect-ratio: 2958 / 1664;
    background-position: center top;
    background-size: contain;
  }
}
/* Download protection for selected portfolio media areas */
.protected-media,
.protected-media *,
.poster-lightbox,
.poster-lightbox * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.protected-media img,
.protected-media video,
.poster-lightbox__image {
  -webkit-user-drag: none;
  user-drag: none;
}

.protected-media img,
.poster-lightbox__image {
  pointer-events: none;
}

.protected-media video::-webkit-media-controls-download-button,
.protected-media video::-webkit-media-controls-picture-in-picture-button,
.protected-media video::-webkit-media-controls-cast-button {
  display: none !important;
}

.protected-media ::selection,
.poster-lightbox ::selection {
  background: transparent;
}
/* ICP filing link */
.site-footer {
  min-height: 55px;
  height: auto;
  align-content: center;
  gap: 6px;
  padding: 10px 16px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.46);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: rgba(255, 255, 255, 0.82);
}
