:root {
  --bg: #000000;
  --bg-2: #050506;
  --surface: rgba(21, 21, 23, 0.72);
  --surface-2: #151517;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --accent: #f22f38;
  --accent-2: #ff5561;
  --accent-3: #c81e2e;
  --gradient: linear-gradient(100deg, #ff7a80 0%, #f22f38 45%, #c81e2e 100%);
  --font-display: "Anton", "Inter", "PingFang SC", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(242, 47, 56, 0.55);
  color: #fff;
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #2c2c2e;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  transition: top 0.25s ease;
}

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

.shell {
  width: min(1280px, calc(100% - 72px));
  margin-inline: auto;
}

.shell-narrow {
  width: min(920px, calc(100% - 60px));
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020203;
  transition: opacity 0.65s ease, visibility 0s linear 0.65s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-text {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 140px);
  letter-spacing: 0.08em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse-out 0.9s var(--ease) both;
}

.preloader-line {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 26%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: line-grow 0.85s var(--ease) 0.12s both;
}

@keyframes line-grow {
  to {
    transform: scaleX(1);
  }
}

@keyframes pulse-out {
  from {
    opacity: 0;
    letter-spacing: 0.24em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.08em;
  }
}

/* ---------- nav ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: rgba(5, 5, 6, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px -8px rgba(242, 47, 56, 0.65);
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.nav-link {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.nav-contact:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.nav-burger span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 24px;
  display: none;
  flex-direction: column;
  gap: 2px;
  width: min(360px, calc(100% - 48px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(10, 10, 13, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
}

.mobile-menu a {
  padding: 13px 16px;
  border-radius: 13px;
  font-size: 15px;
  color: var(--text-2);
  transition: background 0.25s ease, color 0.25s ease;
}

.mobile-menu a:hover {
  background: rgba(242, 47, 56, 0.14);
  color: var(--text);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(168, 85, 247, 0.09), transparent 60%),
    linear-gradient(180deg, #171222 0%, #120f17 55%, #07050a 100%);
}

.hero-media,
.hero-canvas {
  position: absolute;
  inset: 0;
}

.hero-media {
  pointer-events: none;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: glow-breathe 11s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-glow-1 {
  width: 640px;
  height: 640px;
  right: 12%;
  top: 6%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.26), transparent 68%);
}

.hero-glow-2 {
  width: 520px;
  height: 520px;
  left: 4%;
  top: 48%;
  background: radial-gradient(circle, rgba(189, 106, 106, 0.17), transparent 68%);
  animation-duration: 14s;
  animation-direction: reverse;
}

.hero-glow-3 {
  width: 460px;
  height: 460px;
  right: -8%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(139, 65, 204, 0.2), transparent 68%);
  animation-duration: 9s;
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  animation: ring-spin linear infinite;
}

.hero-ring-1 {
  width: 640px;
  height: 640px;
  left: 50%;
  top: -16%;
  margin-left: -320px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  animation-duration: 46s;
}

.hero-ring-2 {
  width: 1020px;
  height: 1020px;
  left: 50%;
  top: -26%;
  margin-left: -510px;
  border: 1px dashed rgba(214, 161, 255, 0.14);
  animation-duration: 80s;
  animation-direction: reverse;
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, transparent 0%, rgba(0, 0, 0, 0.55) 82%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 150px 0 120px;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.is-loaded .hero-top {
  animation: rise-up 0.85s var(--ease) 0.25s both;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-role {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
}

.hero-main-copy {
  margin-top: 44px;
}

.hero-title-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(70px, 14vw, 230px);
  line-height: 0.92;
  letter-spacing: 0.015em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 18px 56px rgba(242, 47, 56, 0.24));
}

.is-loaded .hero-title-line {
  animation: title-rise 1.05s var(--ease) 0.15s forwards;
}

@keyframes rise-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes title-rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-lead {
  max-width: 620px;
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-2);
}

.is-loaded .hero-lead {
  animation: rise-up 0.85s var(--ease) 0.42s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.is-loaded .hero-actions {
  animation: rise-up 0.85s var(--ease) 0.52s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 38px -16px rgba(242, 47, 56, 0.75);
}

.btn-primary:hover {
  background: #fff;
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px;
}

.hero-lower {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 220px)) 1fr;
  gap: 30px;
  align-items: end;
  margin-top: clamp(44px, 8vh, 92px);
}

.is-loaded .hero-lower {
  animation: rise-up 0.9s var(--ease) 0.68s both;
}

.hero-impact strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 6vw, 92px);
  line-height: 1;
  background: linear-gradient(180deg, #fff, #ff8a91);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-impact p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-3);
}

.hero-note {
  justify-self: end;
  max-width: 330px;
  padding-left: 22px;
  border-left: 1px solid rgba(242, 47, 56, 0.5);
  text-align: right;
}

.hero-note span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-3);
}

.hero-note strong {
  display: block;
  margin: 7px 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.04em;
  background: linear-gradient(100deg, #fff, #ff7a80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-note p {
  font-size: 13px;
  color: var(--text-2);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.22em;
}

.hero-scroll i {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-2), transparent);
  animation: scroll-hint 2s var(--ease) infinite;
  transform-origin: top;
}

@keyframes scroll-hint {
  0% {
    transform: scaleY(0);
  }
  45% {
    transform: scaleY(1);
  }
  55% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0);
  }
}

/* ---------- sections ---------- */

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

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  gap: clamp(50px, 7vw, 130px);
  align-items: start;
}

.section-grid > * {
  min-width: 0;
}

.section-head {
  position: sticky;
  top: 130px;
  max-width: 430px;
}

.section-en {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 86px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.17);
  margin-bottom: 22px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.section-label span {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  border: 1px solid rgba(242, 47, 56, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
}

.section-label p {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-head > p:last-child {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
}

/* reveal */

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.85s ease, transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- journey ---------- */

.section-journey {
  background:
    radial-gradient(900px 560px at 88% 12%, rgba(242, 47, 56, 0.045), transparent 65%),
    linear-gradient(180deg, #020203, #000);
}

.profile-row {
  display: grid;
  grid-template-columns: minmax(230px, 300px) 1fr;
  gap: 22px;
}

.portrait-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  min-height: 330px;
}

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

.portrait-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 46px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
}

.portrait-meta strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.portrait-meta p {
  margin-top: 2px;
  font-size: 13px;
  color: var(--accent-2);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 6px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-panel > a,
.contact-panel > button,
.contact-panel > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.contact-panel > div:last-child {
  border-bottom: 0;
}

.contact-panel span {
  flex: 0 0 52px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.contact-panel b {
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

.contact-panel a:hover,
.contact-panel button:hover {
  color: var(--accent-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  padding: 20px 22px;
}

.stat-card::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -38px;
  top: -38px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 47, 56, 0.2), transparent 70%);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  color: #fff;
}

.stat-card p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.bio-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(242, 47, 56, 0.08), transparent 70%),
    var(--surface);
}

.bio-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  text-transform: uppercase;
}

.bio-card h3 {
  margin-top: 12px;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.45;
}

.bio-card p:last-child {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
}

.timeline {
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.timeline-item:first-child {
  border-top: 1px solid var(--line-soft);
}

.timeline-item > span {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-top: 5px;
  color: var(--accent-2);
}

.timeline-item h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.timeline-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ---------- works ---------- */

.section-works {
  background: linear-gradient(180deg, #000, #040405);
}

.work-stack {
  display: flex;
  flex-direction: column;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 45%);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease);
}

.work-card:first-child {
  border-top: 1px solid var(--line);
}

.work-card-head {
  position: absolute;
  top: 24px;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.24);
}

.work-num {
  font-size: 17px;
}

.work-arrow {
  font-size: 22px;
  transition: transform 0.35s var(--ease), color 0.3s ease;
}

.work-card:hover .work-arrow {
  transform: translateX(7px);
  color: var(--accent-2);
}

.work-info {
  padding-top: 54px;
}

.work-info > p:first-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
}

.work-info h3 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.work-card:hover .work-info h3 {
  color: var(--accent-2);
}

.work-info > p:last-child {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.85;
}

.work-cover {
  position: relative;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: #101012;
  background-size: cover;
  background-position: center 30%;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.55s var(--ease);
}

.work-card:hover .work-cover {
  transform: scale(0.985) translateY(-2px);
}

.work-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72));
}

.work-cover span {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0.82;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.work-card:hover .work-cover span {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- strengths ---------- */

.section-strengths {
  background:
    radial-gradient(800px 600px at 10% 0%, rgba(242, 47, 56, 0.05), transparent 60%),
    linear-gradient(180deg, #040405, #000);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.strength-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 30px 28px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.45s var(--ease), border-color 0.35s ease, background 0.35s ease;
}

.strength-card::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 47, 56, 0.16), transparent 70%);
  transition: transform 0.6s var(--ease);
}

.strength-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 47, 56, 0.35);
  background: rgba(255, 255, 255, 0.045);
}

.strength-card:hover::before {
  transform: scale(1.5);
}

.strength-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}

.strength-card h3 {
  position: relative;
  margin: 34px 0 12px;
  font-size: 26px;
  font-weight: 900;
}

.strength-card > p {
  position: relative;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.85;
}

.strength-card::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
}

/* ---------- tools ---------- */

.tools-block {
  margin-top: 40px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 30px 30px;
  background:
    radial-gradient(640px 220px at 100% 0%, rgba(242, 47, 56, 0.06), transparent 70%),
    rgba(255, 255, 255, 0.02);
}

.tools-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tools-label {
  font-size: 18px;
  font-weight: 800;
}

.tools-en {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
}

.tools-head > p {
  max-width: 400px;
  font-size: 13px;
  color: var(--text-2);
  text-align: right;
}

.tools-rail {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tools-scroller {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tools-scroller::-webkit-scrollbar {
  display: none;
}

.tools-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.tools-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: max-content;
  padding: 3px;
}

.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 116px;
  padding: 17px 10px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  scroll-snap-align: start;
  user-select: none;
  transition: border-color 0.3s ease, transform 0.35s var(--ease), background 0.3s ease;
}

.tool:hover {
  border-color: rgba(242, 47, 56, 0.4);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-3px) !important;
}

.tools-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 20px;
  line-height: 1;
  transition: opacity 0.25s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.tools-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tools-arrow.is-hidden {
  opacity: 0.16;
  pointer-events: none;
}

.tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}

/* ---------- contact ---------- */

.section-contact {
  position: relative;
  padding: 170px 0 130px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(760px 500px at 50% 0%, rgba(242, 47, 56, 0.1), transparent 65%),
    linear-gradient(180deg, #000, #0a0506);
}

.contact-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-en {
  font-size: clamp(40px, 6vw, 72px);
}

.contact-label {
  margin-top: -8px;
}

.contact-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-3);
}

.contact-shell h2 {
  margin-top: 26px;
  font-size: clamp(34px, 8.6vw, 128px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.contact-shell h2 {
  background: linear-gradient(180deg, #fff 20%, #ff9aa0 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-copy {
  max-width: 560px;
  margin: 26px auto 38px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.9;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contact-footnote {
  margin-top: 64px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-3);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #000;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  flex-wrap: wrap;
}

.footer-inner p {
  font-size: 12px;
  color: var(--text-3);
}

.back-top {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.3s ease;
}

.back-top:hover {
  color: var(--accent-2);
}

/* ---------- modal ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fade-in 0.25s ease both;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(360px, 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 38px 34px 30px;
  text-align: center;
  background: rgba(18, 18, 21, 0.96);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
  animation: modal-in 0.4s var(--ease) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}

.modal p {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.modal img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.modal > span {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-2);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--text-2);
  transition: color 0.25s ease, background 0.25s ease;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- page hero ---------- */

.page-hero {
  position: relative;
  padding: 205px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1000px 560px at 78% -20%, rgba(242, 47, 56, 0.13), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 122, 128, 0.05), transparent 60%),
    #030304;
}

.page-hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 47, 56, 0.2), transparent 70%);
  filter: blur(70px);
  animation: glow-breathe 12s ease-in-out infinite;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-inner h1 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(62px, 10vw, 148px);
  line-height: 1;
  letter-spacing: 0.01em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero-en {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 34px);
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.18);
}

.page-hero-desc {
  max-width: 640px;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 15px;
}

.page-hero-count {
  display: inline-block;
  margin-top: 26px;
  padding: 7px 15px;
  border: 1px solid rgba(242, 47, 56, 0.35);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}

/* ---------- gallery ---------- */

.gallery-section {
  padding: 60px 0 150px;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

.gallery-hint {
  color: var(--text-3);
}

.gallery-columns {
  column-gap: 18px;
  columns: 4 300px;
}

.work-item {
  position: relative;
  display: block;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0d0d0f;
  break-inside: avoid;
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.7s ease, transform 0.7s var(--ease), border-color 0.3s ease;
}

.work-item.in {
  opacity: 1;
  transform: none;
}

.work-item:hover {
  border-color: rgba(242, 47, 56, 0.38);
}

.work-open {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.work-open img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease), filter 0.5s ease;
  background: #0d0d0f;
}

.work-item:hover .work-open img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

.work-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 42px 16px 13px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.4s var(--ease);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.work-item:hover .work-overlay {
  opacity: 1;
  transform: none;
}

.work-overlay .count {
  font-family: "SF Mono", Consolas, monospace;
  color: var(--accent-2);
}

.work-overlay .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #fff;
}

.work-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 47, 56, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(242, 47, 56, 0);
  }
}

/* UI flow */

.gallery-section-ui {
  padding-top: 74px;
}

.gallery-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}

.gallery-flow .work-item {
  width: 100%;
  border-radius: 18px;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}

.gallery-flow .work-item.in {
  opacity: 1;
  transform: none;
}

/* graphic vertical flow (zcool-style list) */

.gallery-flow-graphic,
.gallery-flow-poster {
  gap: 8px;
  padding-bottom: 8px;
}

.gallery-flow-graphic .work-item,
.gallery-flow-poster .work-item {
  width: min(1040px, 100%);
  border-radius: 12px;
}

.gallery-flow-graphic .work-open img,
.gallery-flow-poster .work-open img {
  transition: filter 0.5s ease, transform 0.7s var(--ease);
}

.gallery-flow-graphic .work-overlay,
.gallery-flow-poster .work-overlay {
  opacity: 0.9;
  transform: none;
  padding: 48px 16px 10px;
}

.gallery-flow-graphic .work-overlay .name,
.gallery-flow-poster .work-overlay .name {
  white-space: normal;
}

/* AI groups */

.ai-group {
  margin-top: 76px;
}

.ai-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.ai-group-head .section-label {
  margin-bottom: 0;
}

.ai-group-head > p {
  color: var(--text-2);
  font-size: 13px;
  max-width: 460px;
  text-align: right;
}

.gallery-pairs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.white-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.pair-caption {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-3);
}

.pair-caption span:first-child {
  color: var(--accent-2);
}

.white-pair .work-item {
  margin: 0;
}

/* ---------- vertical detail preview (graphic, zcool-style) ---------- */

.detail {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(242, 47, 56, 0.07), transparent 60%),
    #060607;
}

.detail[hidden] {
  display: none;
}

.detail-topbar {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.detail-top-inner {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.detail-back {
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.detail-back:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.detail-count {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.detail-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail-inner {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
  padding: 52px 0 90px;
}

.detail-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent-2);
}

.detail-inner h2 {
  margin: 10px 0 6px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.detail-hint {
  font-size: 13px;
  color: var(--text-3);
}

.detail-figure {
  margin-top: 30px;
}

.detail-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #101012;
  box-shadow: 0 24px 80px -30px rgba(0, 0, 0, 0.9);
}

.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-nav button {
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.detail-nav button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fade-in 0.25s ease both;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(1500px, calc(100vw - 170px));
  height: 100%;
  max-height: calc(100vh - 120px);
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 24px;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox-close {
  top: 18px;
  right: 22px;
}

.lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.06em;
}

.lightbox-meta #lightbox-index {
  color: var(--accent-2);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-head {
    position: static;
    max-width: 680px;
  }

  .work-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .work-cover {
    height: min(52vw, 360px);
  }
}

@media (max-width: 820px) {
  .shell {
    width: calc(100% - 40px);
  }

  .shell-narrow {
    width: calc(100% - 40px);
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .nav-contact {
    display: none;
  }

  .hero-inner {
    padding: 130px 0 100px;
  }

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

  .hero-note {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
    max-width: 100%;
    padding-left: 16px;
  }

  .section {
    padding: 110px 0;
  }

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

  .profile-row {
    grid-template-columns: 1fr;
  }

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

  .portrait-card img {
    aspect-ratio: 4 / 3;
  }

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

  .gallery-columns {
    columns: 2 220px;
  }

  .page-hero {
    padding: 160px 0 70px;
  }

  .white-pair {
    grid-template-columns: 1fr;
  }

  .lightbox-stage {
    max-width: calc(100vw - 100px);
  }

  .lightbox-prev {
    left: 8px;
    width: 42px;
    height: 42px;
  }

  .lightbox-next {
    right: 8px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- updated: journey contact panel layout ---------- */

.profile-row {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 22px;
}

.contact-panel {
  justify-content: flex-start;
  padding: 18px;
}

.contact-panel > a,
.contact-panel > button,
.contact-panel > div {
  display: block;
  justify-content: initial;
  padding: 0;
  border-bottom: 0;
}

.contact-panel > .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  border-bottom: 0;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(242, 47, 56, 0.32);
  border-radius: 999px;
  background: rgba(242, 47, 56, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.panel-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: badge-pulse 2s infinite;
}

.panel-head > span {
  font-size: 12px;
  color: var(--text-2);
}

.contact-panel > .panel-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 0;
  border-bottom: 0;
}

.panel-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 13px 14px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

button.panel-row {
  cursor: pointer;
}

.panel-row-wide {
  grid-column: 1 / -1;
}

.panel-row:hover {
  border-color: rgba(242, 47, 56, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.panel-row small {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-2);
}

.panel-row b {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

@media (max-width: 560px) {
  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-rows {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .profile-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- EVR-inspired hero fusion (own black-red identity) ---------- */

.hero {
  align-items: flex-end;
}

.hero-inner {
  width: min(1360px, calc(100% - 120px));
  margin-inline: auto;
  padding: 4px 0 108px;
}

.hero-main-copy {
  margin-top: 8px;
}

.hero-lower {
  grid-template-columns: repeat(2, minmax(140px, 190px)) minmax(300px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-top: 36px;
}

.hero-side-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
  max-width: 430px;
  padding-left: 24px;
  border-left: 1px solid rgba(242, 47, 56, 0.35);
}

.hero-metric {
  position: relative;
  flex: 0 0 auto;
  width: 116px;
  height: 116px;
}

.hero-metric svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.metric-track,
.metric-fill {
  fill: none;
  stroke-width: 3;
}

.metric-track {
  stroke: rgba(255, 255, 255, 0.14);
}

.metric-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s var(--ease);
}

.metric-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.metric-value strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: #fff;
}

.metric-value span {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-3);
}

.hero-metric-copy {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-2);
}

.hero-marquee {
  width: 100%;
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 28s linear infinite;
}

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

.hero-marquee-group {
  display: flex;
  align-items: center;
  gap: 46px;
  padding-right: 46px;
  white-space: nowrap;
}

.hero-marquee-group span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(245, 245, 247, 0.42);
  text-transform: uppercase;
}

.hero-marquee-group i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

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

@media (max-width: 1080px) {
  .hero-lower {
    grid-template-columns: repeat(2, minmax(140px, 190px)) 1fr;
  }

  .hero-side-panel {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .hero-inner {
    width: min(1360px, calc(100% - 88px));
    padding: 16px 0 84px;
  }

  .hero-lower {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .hero-side-panel {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
    padding-left: 0;
    padding-top: 22px;
    border-left: 0;
    border-top: 1px solid rgba(242, 47, 56, 0.35);
  }

  .hero-marquee {
    margin-top: 46px;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    width: calc(100% - 52px);
    padding: 0 0 74px;
  }

  .hero-main-copy {
    margin-top: 4px;
  }

  .hero-lower {
    margin-top: 28px;
  }

  .hero-metric {
    width: 96px;
    height: 96px;
  }

  .metric-value strong {
    font-size: 24px;
  }

  .hero-marquee {
    margin-top: 26px;
    padding-top: 11px;
  }

  .hero-marquee-group {
    gap: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 88px 0;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-lower {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-note {
    grid-column: auto;
  }

  .hero-scroll {
    bottom: 16px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

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

  .gallery-columns {
    column-count: 1;
    columns: 1;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .strength-card {
    padding: 26px 24px 24px;
  }

  .work-card-head {
    top: 18px;
  }

  .work-info {
    padding-top: 52px;
  }

  .work-info h3 {
    font-size: 30px;
  }

  .work-cover {
    height: 260px;
  }

  .gallery-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ai-group-head > p {
    text-align: left;
  }

  .lightbox-stage {
    max-width: calc(100vw - 26px);
    max-height: calc(100vh - 96px);
  }

  .lightbox-meta {
    bottom: 12px;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .detail-top-inner {
    width: calc(100% - 24px);
    height: 62px;
  }

  .detail-inner {
    width: calc(100% - 24px);
    padding-top: 34px;
  }

  .detail-nav {
    gap: 10px;
  }

  .detail-nav button {
    padding: 11px 15px;
    font-size: 13px;
    white-space: nowrap;
  }

  .detail-figure {
    margin-top: 20px;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .work-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- updated: tools single-row strip + hover-only overlays ---------- */

.tools-strip {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 72px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.tools-strip-head {
  flex: 0 0 190px;
}

.tools-strip-head .tools-label {
  font-size: 18px;
  font-weight: 800;
}

.tools-strip-head .tools-en {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
}

.tools-strip-head > p:last-child {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-2);
}

.tools-strip .tools-list {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 8px;
  width: auto;
  padding: 3px 1px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tools-strip .tools-list::-webkit-scrollbar {
  display: none;
}

.tools-strip .tool {
  flex: 0 0 96px;
  width: 96px;
  gap: 8px;
  padding: 13px 4px 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.tools-strip .tool:hover {
  transform: translateY(-3px);
}

.tools-strip .tool-icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 10px;
}

.tools-strip .tool-name {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10.5px;
}

.gallery-flow-graphic .work-overlay,
.gallery-flow-poster .work-overlay {
  opacity: 0;
  transform: translateY(6px);
}

.gallery-flow-graphic .work-item:hover .work-overlay,
.gallery-flow-poster .work-item:hover .work-overlay {
  opacity: 1;
  transform: none;
}

@media (max-width: 820px) {
  .tools-strip {
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 56px;
  }

  .tools-strip-head {
    flex: 1 1 100%;
  }

  .tools-strip .tools-list {
    flex: 1 1 100%;
    width: 100%;
    padding-bottom: 6px;
  }
}
