:root {
  color-scheme: dark;
  --bg: #020504;
  --bg-soft: #080d0b;
  --panel: rgba(11, 13, 15, 0.76);
  --panel-strong: rgba(16, 20, 22, 0.9);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(117, 247, 174, 0.28);
  --text: #f7faf7;
  --soft: #dfe8e2;
  --muted: #99a69f;
  --accent: #75f7ae;
  --accent-2: #ecfff6;
  --blue: #101a16;
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.52);
  --radius: 8px;
  --header: 72px;
  --max: 1520px;
  font-family:
    "Kanit", "Inter", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 18% 20%, rgba(117, 247, 174, 0.035), transparent 34%),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto, auto;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.9), rgba(7, 13, 10, 0.76)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.026) 0,
      rgba(255, 255, 255, 0.026) 1px,
      transparent 1px,
      transparent 22px
    );
}

.particles-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 500ms ease;
}

.opening-sequence {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: var(--text);
  background:
    radial-gradient(circle at 62% 36%, rgba(117, 247, 174, 0.1), transparent 28%),
    linear-gradient(120deg, #020504 0%, #060b09 52%, #010202 100%);
  clip-path: inset(0 0 0 0);
  opacity: 0;
  visibility: hidden;
}

body.is-loading .opening-sequence {
  opacity: 1;
  visibility: visible;
  animation: openingCurtain 2.45s cubic-bezier(0.76, 0, 0.24, 1) 0.15s both;
}

.opening-word {
  font-size: clamp(48px, 10vw, 176px);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 255, 246, 0.72);
  text-shadow: 0 0 36px rgba(117, 247, 174, 0.18);
  transform-origin: 50% 60%;
  animation: openingWord 1.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.opening-scan {
  position: absolute;
  left: 8vw;
  right: 8vw;
  top: 50%;
  height: 1px;
  overflow: hidden;
  background: rgba(236, 255, 246, 0.16);
}

.opening-scan::before {
  display: block;
  width: 46%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(117, 247, 174, 0.95), transparent);
  animation: openingScan 1.7s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.opening-meta {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(22px, 5vw, 72px);
  color: rgba(236, 255, 246, 0.66);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  animation: openingMeta 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

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

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header);
  padding: 0 clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(2, 5, 4, 0.9), rgba(2, 5, 4, 0.62));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition:
    top 280ms ease,
    left 280ms ease,
    right 280ms ease,
    height 280ms ease,
    border-color 280ms ease,
    border-radius 280ms ease,
    background 280ms ease,
    box-shadow 280ms ease;
}

.site-header.is-floating {
  position: fixed;
  top: 12px;
  left: clamp(14px, 4vw, 56px);
  right: clamp(14px, 4vw, 56px);
  height: 60px;
  border: 1px solid rgba(117, 247, 174, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0.92), rgba(2, 5, 4, 0.8)),
    rgba(2, 5, 4, 0.76);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(117, 247, 174, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  font-size: 15px;
}

.mark-dot {
  width: 18px;
  height: 18px;
  border: 5px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(117, 247, 174, 0.38);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--soft);
  font-size: 13px;
  white-space: nowrap;
  transition:
    transform 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.panel {
  position: relative;
  min-height: 100svh;
  padding: clamp(92px, 10vw, 138px) clamp(18px, 4vw, 56px);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
  transform-origin: 50% 20%;
  transition:
    opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.panel::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 78% 18%, rgba(117, 247, 174, 0.04), transparent 26%),
    linear-gradient(180deg, rgba(4, 12, 8, 0.38), rgba(2, 5, 4, 0.88));
  animation: bgFloat 12s ease-in-out infinite alternate;
}

.panel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
}

.panel.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
  filter: blur(0) saturate(1);
}

.panel.is-visible .section-shell,
.panel.is-visible .hero-copy {
  animation: none;
}

.panel.is-past {
  opacity: 0.44;
  transform: translate3d(0, -42px, 0) scale(0.985);
  filter: saturate(0.72);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(54px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bgFloat {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.05);
  }
}

@keyframes slowScan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 220px 120px;
  }
}

@keyframes openingCurtain {
  0% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  70% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 100% 0);
    opacity: 1;
  }
}

@keyframes openingWord {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translate3d(-7vw, 42px, 0) scaleX(0.58) scaleY(1.28);
  }
  58% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scaleX(1.08) scaleY(0.88);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scaleX(1) scaleY(1);
  }
}

@keyframes openingScan {
  from {
    transform: translate3d(-120%, 0, 0) scaleX(0.35);
  }
  to {
    transform: translate3d(260%, 0, 0) scaleX(1);
  }
}

@keyframes openingMeta {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translate3d(-4vw, 70px, 0) scaleX(0.62) scaleY(1.22);
    filter: blur(8px);
  }
  72% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scaleX(1.08) scaleY(0.9);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scaleX(1) scaleY(1);
    filter: blur(0);
  }
}

@keyframes heroCopyReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 44px, 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroPortraitEnter {
  from {
    opacity: 0;
    transform: translateY(-43%) translateX(12vw) rotateY(-24deg) scale(0.88);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(-43%) translateX(0) rotateY(0deg) scale(1);
    filter: blur(0);
  }
}

.motion-kicker {
  position: absolute;
  top: clamp(84px, 11vw, 168px);
  left: clamp(18px, 4vw, 60px);
  right: clamp(18px, 4vw, 60px);
  z-index: 0;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 255, 246, 0.16);
  font-size: clamp(62px, 15vw, 238px);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translate3d(-10vw, 88px, 0) scaleX(0.58) scaleY(1.22);
  transform-origin: 0 58%;
  transition:
    opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1450ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.panel.has-entered .motion-kicker,
.panel.is-visible .motion-kicker {
  opacity: 0.82;
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0) scaleX(1) scaleY(1);
}

.motion-item {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 86px, 0) scaleY(0.86);
  transform-origin: 50% 100%;
  transition:
    opacity 980ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1180ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1180ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--stagger, 0ms);
  will-change: transform, clip-path, opacity;
}

.panel.has-entered .motion-item,
.panel.is-visible .motion-item,
.work-reveal.is-expanded .motion-item {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0) scaleY(1);
}

.motion-image {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.065);
  transform-origin: 50% 50%;
  will-change: transform;
}

.image-card::before,
.marquee-tile::before,
.portrait-frame::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(236, 255, 246, 0.96), rgba(117, 247, 174, 0.42)),
    #08110d;
  transform: scaleX(1);
  transform-origin: 100% 50%;
  transition: transform 1200ms cubic-bezier(0.76, 0, 0.24, 1);
  transition-delay: calc(var(--stagger, 0ms) + 120ms);
}

.panel.has-entered .image-card::before,
.panel.is-visible .image-card::before,
.panel.has-entered .marquee-tile::before,
.panel.is-visible .marquee-tile::before,
.panel.has-entered .portrait-frame::before,
.panel.is-visible .portrait-frame::before,
.work-reveal.is-expanded .image-card::before {
  transform: scaleX(0);
}

.section-shell {
  position: relative;
  width: min(var(--max), calc(100vw - clamp(36px, 7vw, 96px)));
  margin: 0 auto;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(16px);
  padding: 0;
}

.section-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  display: none;
}

.section-shell > * {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 94svh;
  display: flex;
  align-items: stretch;
  padding-top: var(--header);
  padding-bottom: clamp(48px, 8vw, 86px);
  isolation: isolate;
  overflow-x: clip;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76));
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.46;
  background:
    linear-gradient(90deg, rgba(117, 247, 174, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(117, 247, 174, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: calc(94svh - var(--header) - clamp(48px, 8vw, 86px));
  margin: 0;
  padding-top: clamp(32px, 6vw, 74px);
  padding-right: min(34vw, 560px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  text-shadow: 0 0 12px rgba(117, 247, 174, 0.18);
  font-weight: 900;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.hero-title {
  display: grid;
  gap: 0;
  width: 100%;
  font-size: clamp(70px, 13.4vw, 230px);
  font-weight: 950;
  letter-spacing: 0;
  color: #f7faf7;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  text-shadow:
    0 0 14px rgba(117, 247, 174, 0.18),
    0 0 54px rgba(117, 247, 174, 0.1);
}

.hero-title span {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef7f1 48%, #cbd8d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  animation: titleGlow 4.8s ease-in-out infinite;
}

.hero-title span:last-child {
  margin-left: clamp(48px, 10vw, 180px);
  margin-top: clamp(-26px, -2vw, -8px);
}

body.is-loading .site-header,
body.is-loading .hero .eyebrow,
body.is-loading .hero-role,
body.is-loading .hero-summary,
body.is-loading .hero-actions {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
}

body.is-loading .hero-title span {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translate3d(-4vw, 70px, 0) scaleX(0.62) scaleY(1.22);
}

body.is-loading .hero-portrait {
  opacity: 0;
}

body.is-loaded .site-header {
  animation: heroCopyReveal 900ms cubic-bezier(0.16, 1, 0.3, 1) 1.55s both;
}

body.is-loaded .hero-title span {
  animation:
    heroTitleReveal 1.42s cubic-bezier(0.16, 1, 0.3, 1) both,
    titleGlow 5.8s ease-in-out 1.55s infinite;
}

body.is-loaded .hero-title span:last-child {
  animation:
    heroTitleReveal 1.42s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both,
    titleGlow 5.8s ease-in-out 1.72s infinite;
}

body.is-loaded .hero .eyebrow {
  animation: heroCopyReveal 980ms cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}

body.is-loaded .hero-role {
  animation: heroCopyReveal 1080ms cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
}

body.is-loaded .hero-summary {
  animation: heroCopyReveal 1120ms cubic-bezier(0.16, 1, 0.3, 1) 1.24s both;
}

body.is-loaded .hero-actions {
  animation: heroCopyReveal 1120ms cubic-bezier(0.16, 1, 0.3, 1) 1.38s both;
}

body.is-loaded .hero-portrait {
  animation: heroPortraitEnter 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.88s both;
}

@keyframes titleGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 7px rgba(117, 247, 174, 0.14));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(117, 247, 174, 0.26));
  }
}

.hero-role {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 2.1vw, 32px);
  font-weight: 850;
}

.hero-summary {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.8;
}

.hero-bottom {
  display: grid;
  justify-items: start;
  gap: 0;
  max-width: 850px;
}

.hero-portrait {
  position: absolute;
  right: clamp(46px, 8vw, 130px);
  left: auto;
  top: 52%;
  z-index: 2;
  display: grid;
  place-items: end center;
  width: clamp(300px, 31vw, 560px);
  height: clamp(430px, 45vw, 720px);
  margin: 0;
  transform: translateY(-43%);
  transform-style: preserve-3d;
  will-change: transform;
  perspective: 900px;
}

.hero-portrait::before {
  position: absolute;
  inset: 2% -8% 0;
  z-index: 0;
  content: "";
  border-radius: 44% 44% 34% 34%;
  background:
    radial-gradient(circle at 48% 34%, rgba(117, 247, 174, 0.16), transparent 46%),
    radial-gradient(circle at 48% 57%, rgba(117, 247, 174, 0.1), transparent 58%);
  filter: blur(22px);
  opacity: 0.9;
  animation: auraPulse 3.8s ease-in-out infinite alternate;
}

.hero-portrait::after {
  position: absolute;
  right: 11%;
  bottom: 0;
  left: 13%;
  z-index: 0;
  height: 9%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(117, 247, 174, 0.24), rgba(117, 247, 174, 0.05) 52%, transparent 72%);
  filter: blur(10px);
  transform: rotateX(68deg);
}

.avatar-aura {
  position: absolute;
  inset: 10% 6% 3%;
  z-index: 1;
  border-radius: 44% 44% 28% 28%;
  border: 1px solid rgba(117, 247, 174, 0.16);
  box-shadow:
    0 0 26px rgba(117, 247, 174, 0.14),
    0 0 70px rgba(117, 247, 174, 0.1);
  transform: translateZ(-20px);
}

.avatar-art img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  border: 0;
  filter:
    drop-shadow(0 0 5px rgba(117, 247, 174, 0.32))
    drop-shadow(0 0 22px rgba(117, 247, 174, 0.22))
    drop-shadow(0 34px 80px rgba(0, 0, 0, 0.76));
  transform-origin: center bottom;
  animation: avatarFloat 5.4s ease-in-out infinite;
}

@keyframes avatarFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-7deg) rotateX(2deg) scale(1);
  }
  50% {
    transform: translateY(-24px) rotateY(5deg) rotateX(5deg) scale(1.025);
  }
}

@keyframes auraPulse {
  from {
    opacity: 0.58;
    transform: scale(0.96) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1.05) translateY(-8px);
  }
}

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

.primary-link,
.ghost-link,
.catalog-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 18px;
  font: inherit;
  font-weight: 850;
  color: var(--text);
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.primary-link {
  background: #f5fbf7;
  color: #06110b;
  border-color: rgba(218, 255, 235, 0.86);
  box-shadow: 0 14px 38px rgba(117, 247, 174, 0.11);
}

.ghost-link,
.catalog-button,
.icon-button {
  background: rgba(255, 255, 255, 0.045);
}

.primary-link:hover,
.primary-link:focus-visible {
  color: var(--accent-2);
  border-color: rgba(117, 247, 174, 0.72);
  background:
    linear-gradient(180deg, rgba(8, 18, 13, 0.96), rgba(3, 9, 6, 0.9)),
    rgba(117, 247, 174, 0.06);
  transform: translateY(-3px);
  box-shadow:
    0 18px 44px rgba(117, 247, 174, 0.16),
    inset 0 0 0 1px rgba(117, 247, 174, 0.18);
}

.ghost-link:hover,
.ghost-link:focus-visible,
.catalog-button:hover,
.catalog-button:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  color: #041009;
  border-color: rgba(218, 255, 235, 0.88);
  background:
    linear-gradient(180deg, #ecfff6, #75f7ae),
    var(--accent);
  transform: translateY(-3px);
  box-shadow:
    0 18px 44px rgba(117, 247, 174, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.marquee-section {
  min-height: auto;
  padding-top: clamp(82px, 10vw, 150px);
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.marquee-section::before {
  background:
    radial-gradient(circle at 16% 44%, rgba(255, 255, 255, 0.07), transparent 22%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.96), rgba(4, 5, 5, 0.98));
}

.marquee-heading {
  width: min(var(--max), calc(100vw - clamp(36px, 7vw, 96px)));
  margin: 0 auto clamp(26px, 4vw, 48px);
}

.marquee-heading h2 {
  margin: 0;
  font-size: clamp(48px, 10vw, 150px);
  line-height: 0.92;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #bfc9c3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marquee-viewport {
  display: grid;
  gap: 14px;
  width: 100%;
  overflow: visible;
}

.marquee-row {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.marquee-tile {
  flex: 0 0 auto;
  position: relative;
  width: clamp(260px, 30vw, 430px);
  height: clamp(168px, 19vw, 270px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
  background: #0c0c0c;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  transform: translateZ(0);
}

.marquee-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.section-heading {
  margin: 0 0 34px;
}

.compact-heading h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 28px;
  align-items: end;
}

.split-heading h2,
.contact-copy h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.split-heading > p,
.contact-copy p:not(.eyebrow),
.profile-info-panel p {
  margin: 0;
  color: var(--soft);
  line-height: 1.8;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: start;
}

.experience-shell {
  padding: clamp(18px, 3vw, 36px) 0;
}

.experience-section::after {
  animation: slowScan 18s linear infinite;
}

.experience-profile {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--header) + 28px);
}

.portrait-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #07100c;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

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

.profile-info-panel,
.strength-card,
.catalog-card,
.work-card,
.timeline-item,
.contact-panel {
  border: 1px solid rgba(117, 247, 174, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 20, 18, 0.9), rgba(5, 8, 7, 0.82));
  box-shadow: var(--shadow);
}

.profile-info-panel {
  padding: 18px;
  border-left: 3px solid rgba(117, 247, 174, 0.38);
}

.profile-info-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 36px);
}

.social-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.social-pill {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid rgba(117, 247, 174, 0.13);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  color: var(--soft);
  font-size: 13px;
}

.social-pill strong {
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 18px;
  width: 2px;
  content: "";
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(117, 247, 174, 0.14));
}

.timeline-item {
  position: relative;
  margin-left: 54px;
  padding: clamp(20px, 3vw, 30px);
}

.timeline-item::before {
  position: absolute;
  top: 26px;
  left: -45px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--accent);
  border-radius: 50%;
  content: "";
  background: #07100c;
  box-shadow: 0 0 0 8px rgba(117, 247, 174, 0.07), 0 0 20px rgba(117, 247, 174, 0.18);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-weight: 850;
}

.timeline-item h3 {
  font-size: clamp(22px, 2.8vw, 34px);
}

.timeline-item p {
  margin: 12px 0 0;
  color: var(--soft);
  line-height: 1.8;
}

.strength-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 0.95fr;
  gap: 16px;
}

.strengths-shell {
  padding: clamp(18px, 3vw, 36px) 0;
}

.strengths-section::before {
  background:
    radial-gradient(circle at 16% 28%, rgba(117, 247, 174, 0.055), transparent 20%),
    radial-gradient(circle at 78% 68%, rgba(117, 247, 174, 0.04), transparent 24%),
    linear-gradient(180deg, rgba(4, 13, 9, 0.72), rgba(2, 5, 4, 0.94));
}

.strength-card {
  min-height: 310px;
  padding: clamp(22px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
}

.strength-card:nth-child(2),
.strength-card:nth-child(4) {
  transform: translateY(44px);
}

.strength-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.56), rgba(117, 247, 174, 0.24), transparent);
}

.strength-index {
  display: block;
  margin-bottom: 18px;
  color: rgba(117, 247, 174, 0.13);
  font-size: clamp(58px, 8vw, 132px);
  font-weight: 950;
  line-height: 0.82;
  text-shadow: 0 0 22px rgba(117, 247, 174, 0.08);
}

.strength-card strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 15px;
  text-shadow: 0 0 12px rgba(117, 247, 174, 0.14);
}

.strength-card p {
  margin: 0 0 14px;
  color: var(--soft);
  line-height: 1.85;
}

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

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

.catalog-shell {
  padding: clamp(18px, 3vw, 36px) 0;
}

.amazon-shell .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.amazon-section::before {
  background:
    radial-gradient(circle at 85% 18%, rgba(117, 247, 174, 0.06), transparent 22%),
    linear-gradient(120deg, rgba(4, 16, 10, 0.8), rgba(2, 5, 4, 0.93));
}

.brand-section::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(117, 247, 174, 0.055), transparent 22%),
    linear-gradient(140deg, rgba(4, 15, 10, 0.8), rgba(2, 5, 4, 0.93));
}

.video-section::before {
  background:
    radial-gradient(circle at 78% 74%, rgba(117, 247, 174, 0.06), transparent 24%),
    linear-gradient(160deg, rgba(4, 15, 10, 0.8), rgba(2, 5, 4, 0.93));
}

.catalog-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 250px;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
  transform-style: preserve-3d;
}

.catalog-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.55), 0 0 28px rgba(117, 247, 174, 0.1);
}

.catalog-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 1;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(117, 247, 174, 0.12), rgba(13, 24, 18, 0.92) 48%, rgba(3, 8, 6, 0.96));
  transform: none;
}

.catalog-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 34px);
}

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

.catalog-card h3 {
  font-size: clamp(28px, 3vw, 52px);
  line-height: 0.96;
  text-transform: uppercase;
  color: #f7fff9;
  text-shadow: 0 0 16px rgba(117, 247, 174, 0.14);
}

.catalog-card p {
  margin: 10px 0 18px;
  color: rgba(236, 255, 246, 0.72);
  line-height: 1.7;
}

.catalog-button {
  width: max-content;
  min-height: 38px;
  padding: 0 14px;
  color: #06110b;
  background: #f5fbf7;
  border-color: rgba(117, 247, 174, 0.34);
}

.work-reveal {
  min-height: 126px;
  margin-top: 22px;
  border: 1px solid rgba(117, 247, 174, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(8, 17, 13, 0.48), rgba(3, 7, 5, 0.68)),
    rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.reveal-empty {
  display: grid;
  place-items: center;
  min-height: 126px;
  color: var(--muted);
}

.reveal-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal-head h3 {
  font-size: clamp(24px, 3vw, 42px);
}

.reveal-head p {
  margin: 8px 0 0;
  color: var(--soft);
}

.image-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

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

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

.image-card {
  position: relative;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #06100c;
}

.image-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.image-card:hover img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.12);
}

.image-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 12px 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.84));
}

.open-preview {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: auto;
  min-width: 86px;
  height: 34px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border-color: rgba(236, 255, 246, 0.56);
  color: #f7faf7;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.48)),
    rgba(6, 12, 9, 0.72);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(117, 247, 174, 0.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  backdrop-filter: blur(10px);
}

.image-card:hover .open-preview,
.open-preview:hover,
.open-preview:focus-visible {
  border-color: rgba(117, 247, 174, 0.62);
  background:
    linear-gradient(180deg, #ecfff6, #75f7ae),
    var(--accent);
  color: #041009;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(117, 247, 174, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  z-index: 2;
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020504;
}

.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card-kicker {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 850;
}

.card-title {
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
}

.card-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(44px, 7vw, 118px);
  align-items: center;
  min-height: 62svh;
}

.contact-shell {
  width: min(1540px, calc(100vw - clamp(34px, 7vw, 110px)));
  min-height: 62svh;
  padding: clamp(18px, 3vw, 40px) 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-shell::after {
  display: none;
}

.contact-section::before {
  background:
    radial-gradient(circle at 20% 72%, rgba(117, 247, 174, 0.045), transparent 24%),
    linear-gradient(130deg, rgba(5, 9, 7, 0.92), rgba(2, 5, 4, 0.94));
}

.contact-copy p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 22px;
  font-size: clamp(18px, 1.5vw, 24px);
}

.contact-copy h2 {
  font-size: clamp(62px, 9vw, 148px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow:
    0 0 18px rgba(117, 247, 174, 0.12),
    0 24px 72px rgba(0, 0, 0, 0.46);
}

.contact-panel {
  display: grid;
  align-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.3fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: baseline;
  padding: clamp(18px, 2vw, 28px) 0;
  border-bottom: 1px solid rgba(117, 247, 174, 0.16);
}

.contact-row:first-child {
  border-top: 1px solid rgba(117, 247, 174, 0.16);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: rgba(236, 255, 246, 0.56);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.lightbox {
  width: min(1120px, calc(100vw - 30px));
  max-height: calc(100svh - 34px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(2, 7, 5, 0.96);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.76);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(0, 0, 0, 0.72);
  font-size: 26px;
  cursor: pointer;
}

.lightbox-body {
  display: grid;
  place-items: center;
  min-height: 220px;
  max-height: calc(100svh - 110px);
  overflow: auto;
}

.lightbox-body img,
.lightbox-body video {
  width: 100%;
  height: auto;
  max-height: calc(100svh - 132px);
  object-fit: contain;
}

.lightbox-caption {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--soft);
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .experience-layout,
  .split-heading,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
  .image-grid,
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portrait-frame {
    max-width: 520px;
  }

  .hero-bottom {
    align-items: start;
    flex-direction: column;
  }

  .hero-portrait {
    top: auto;
    right: 2vw;
    bottom: 0;
    left: auto;
    width: clamp(250px, 42vw, 430px);
    height: clamp(350px, 56vw, 540px);
    transform: none;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-title span:last-child {
    margin-left: clamp(22px, 12vw, 160px);
  }
}

@media (max-width: 760px) {
  :root {
    --header: 64px;
  }

  .site-header {
    padding: 0 14px;
    gap: 12px;
  }

  .brand-mark span:last-child {
    display: none;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .panel {
    padding: 82px 16px;
  }

  .hero {
    min-height: 92svh;
    padding-top: var(--header);
  }

  .hero-copy {
    min-height: calc(92svh - var(--header) - 58px);
  }

  .hero-portrait {
    width: min(68vw, 340px);
    opacity: 0.52;
  }

  .hero-title {
    font-size: clamp(60px, 18vw, 118px);
  }

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

  .contact-copy h2 {
    font-size: clamp(52px, 15vw, 92px);
  }

  .catalog-grid,
  .image-grid,
  .brand-grid,
  .video-grid,
  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-shell {
    padding: 20px;
  }

  .timeline-item {
    margin-left: 38px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item::before {
    left: -36px;
  }
}

@media (max-width: 520px) {
  .catalog-grid,
  .image-grid,
  .brand-grid,
  .video-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(56px, 20vw, 88px);
  }

  .hero-title span:last-child {
    margin-left: 0;
  }

  .hero-portrait {
    width: 72vw;
    right: -16vw;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .primary-link,
  .ghost-link {
    width: 100%;
  }
}

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

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

  .panel,
  .panel.is-past {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
