:root {
  --bg: #0b0d0c;
  --ink: #dce7e4;
  --muted: #8e9c98;
  --line: rgba(220, 231, 228, 0.18);
  --acid: #a8f06a;
  --cyan: #8de1d7;
  --oxide: #c79b6c;
  --paper: #d9ddd6;
  --black: #060706;
}

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

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

body {
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(70, 122, 104, 0.42), transparent 30rem),
    radial-gradient(circle at 86% 8%, rgba(199, 155, 108, 0.2), transparent 28rem),
    linear-gradient(180deg, #0b0d0c 0%, #111715 48%, #070807 100%);
  font-family: "Kanit", "Noto Sans SC", system-ui, sans-serif;
}

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

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: screen;
  background-image:
    repeating-radial-gradient(circle at 0 0, rgba(255,255,255,0.5) 0 1px, transparent 1px 4px),
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 9px 9px, 100% 6px;
}

.site-shell {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 24px clamp(18px, 4vw, 54px) 28px;
  overflow: hidden;
}

.hero-brand {
  position: absolute;
  z-index: 31;
  top: 24px;
  left: clamp(18px, 4vw, 54px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e3efed;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1.12rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero-brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(205, 215, 214, 0.68);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.hero-brand:hover {
  color: var(--acid);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 34vw;
  height: 34vw;
  min-width: 260px;
  min-height: 260px;
  border: 2px solid rgba(220, 231, 228, 0.28);
  filter: blur(0.2px);
  pointer-events: none;
}

.hero::before {
  left: -10vw;
  top: 14vh;
  border-radius: 54% 46% 62% 38% / 46% 51% 49% 54%;
  box-shadow: inset 24px -18px 42px rgba(141, 225, 215, 0.16), 0 0 28px rgba(141, 225, 215, 0.12);
}

.hero::after {
  right: -12vw;
  bottom: 4vh;
  border-radius: 38% 62% 48% 52% / 58% 36% 64% 42%;
  box-shadow: inset -22px 20px 44px rgba(199, 155, 108, 0.18), 0 0 32px rgba(168, 240, 106, 0.1);
}

.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 30;
  display: flex;
  justify-content: center;
  gap: 4px;
  width: auto;
  max-width: calc(100vw - 36px);
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(235, 255, 246, 0.42);
  border-radius: 999px;
  color: #d7e2da;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 28%, rgba(168, 240, 106, 0.08) 60%, rgba(255, 255, 255, 0.13) 100%),
    rgba(8, 16, 13, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.32),
    0 26px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(28px) saturate(180%) contrast(108%);
  -webkit-backdrop-filter: blur(28px) saturate(180%) contrast(108%);
  font-size: clamp(0.82rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: translateX(-50%) translateY(0) scale(1);
  transform-origin: top center;
  isolation: isolate;
  overflow: hidden;
  will-change: transform, padding, gap;
  transition:
    top 320ms cubic-bezier(0.22, 1.36, 0.36, 1),
    gap 320ms cubic-bezier(0.22, 1.36, 0.36, 1),
    padding 320ms cubic-bezier(0.22, 1.36, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1.36, 0.36, 1),
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 320ms ease,
    backdrop-filter 200ms ease;
}

.nav.is-floating {
  top: 12px;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(108deg, transparent 12%, rgba(255, 255, 255, 0.18) 39%, transparent 58%);
  background-size: 230% 100%;
  mix-blend-mode: screen;
  opacity: 0.64;
  pointer-events: none;
  animation: nav-glass-sheen 7s ease-in-out infinite;
}

@keyframes nav-glass-sheen {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nav::before {
    animation: none;
  }
}

.nav a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: clamp(72px, 7.4vw, 104px);
  padding: 8px clamp(11px, 1.4vw, 20px);
  transition: color 220ms ease, opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.nav-home {
  justify-content: center;
  min-width: clamp(54px, 5.2vw, 72px) !important;
  padding-inline: clamp(11px, 1.3vw, 17px) !important;
}

.nav-home svg {
  width: clamp(1.2rem, 1.7vw, 1.55rem);
  height: clamp(1.2rem, 1.7vw, 1.55rem);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-slider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  z-index: 1;
  width: 0;
  border-radius: 999px;
  background: #a8f06a;
  box-shadow: 0 0 18px rgba(168, 240, 106, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  transition: transform 420ms cubic-bezier(0.22, 1.18, 0.36, 1), width 420ms cubic-bezier(0.22, 1.18, 0.36, 1), opacity 180ms ease;
}

.nav.has-current .nav-slider {
  opacity: 1;
}

.nav a.is-current {
  color: #07110a;
}

.nav a.is-current span {
  opacity: 0.8;
}

.nav strong {
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.46rem);
  font-weight: 900;
  line-height: 1;
}

.nav span {
  font-size: clamp(0.52rem, 0.76vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.68;
  text-transform: uppercase;
}

.nav a:hover {
  opacity: 0.68;
  transform: translateY(-2px);
}

.nav-music-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: clamp(38px, 3.6vw, 54px);
  height: clamp(38px, 3.6vw, 54px);
  flex: 0 0 auto;
  place-items: center;
  align-self: center;
  padding: 0 0 0.06em;
  border: 1px solid rgba(235, 255, 246, 0.42);
  border-radius: 50%;
  color: #d7e2da;
  background: rgba(217, 221, 214, 0.06);
  font-family: "Kanit", "Noto Sans SC", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav.has-music-control .nav-music-toggle {
  display: grid;
}

.nav-music-toggle:hover,
.nav-music-toggle:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
  background: rgba(168, 240, 106, 0.1);
  outline: none;
  transform: scale(1.08);
}

.nav-music-toggle.is-playing {
  border-color: var(--acid);
  color: var(--acid);
  animation: contact-music-spin 2.8s linear infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 110px);
}

.hero-copy {
  position: relative;
  top: clamp(-42px, -3.4vh, -22px);
}

.hero-info {
  position: absolute;
  z-index: 3;
  bottom: clamp(28px, 5vh, 58px);
  left: 0;
}

.eyebrow,
.section-label {
  color: var(--acid);
  font-size: clamp(0.72rem, 1vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-heading,
.section-heading {
  color: transparent;
  background: linear-gradient(180deg, #5f6867 0%, #d7e7e0 46%, #7d8b87 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(5.4rem, 16vw, 15rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero-heading {
  display: block;
  font-family: "Noto Sans SC", "Kanit", sans-serif;
  font-size: clamp(4.2rem, 11.2vw, 10.4rem);
  line-height: 0.98;
  padding-block: 0.035em;
  white-space: nowrap;
}

.hero-heading > span,
.section-heading > span {
  display: block;
  color: transparent;
  background: linear-gradient(180deg, #5f6867 0%, #d7e7e0 46%, #7d8b87 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: transform, clip-path;
}

.hero-name-en {
  margin-top: -2px;
  color: rgba(220, 231, 228, 0.74);
  font-size: clamp(1rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Noto Sans SC", "Kanit", sans-serif;
}

.section-heading em {
  color: rgba(220, 231, 228, 0.58);
  background: none;
  -webkit-text-fill-color: rgba(220, 231, 228, 0.58);
  font-family: "Kanit", sans-serif;
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 560px;
  margin-top: 28px;
  color: #c5d1cd;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 400;
  line-height: 1.75;
}

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

.acid-button,
.ghost-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 24px;
  transition: transform 180ms ease, background 180ms ease;
}

.acid-button strong,
.ghost-button strong {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.acid-button span,
.ghost-button span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.72;
  text-transform: uppercase;
}

.acid-button {
  color: #06100b;
  background: linear-gradient(123deg, #8de1d7 0%, #a8f06a 42%, #c79b6c 100%);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.42), 0 18px 54px rgba(141, 225, 215, 0.16);
}

.ghost-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(217, 221, 214, 0.06);
}

.acid-button:hover,
.ghost-button:hover {
  transform: translateY(-3px);
}

.portrait-stage {
  position: relative;
  display: grid;
  min-height: 640px;
  place-items: center;
  perspective: 1200px;
}

#organism-canvas {
  position: absolute;
  inset: -8% -14%;
  width: 128%;
  height: 116%;
  opacity: 0.86;
}

.specimen-card {
  position: relative;
  z-index: 2;
  width: min(78vw, 460px);
  padding: 14px;
  border: 1px solid rgba(220, 231, 228, 0.34);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(217, 221, 214, 0.22), rgba(8, 11, 10, 0.72)),
    rgba(7, 9, 8, 0.62);
  box-shadow: inset 0 0 34px rgba(255,255,255,0.08), 0 38px 80px rgba(0,0,0,0.42);
  transform: rotateX(2deg) rotateY(-7deg);
}

.specimen-card::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border: 3px solid rgba(216, 225, 222, 0.36);
  border-radius: 42% 58% 56% 44% / 47% 38% 62% 53%;
  filter: drop-shadow(0 0 18px rgba(141, 225, 215, 0.2));
}

.card-topline,
.card-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 12px;
  color: rgba(220, 231, 228, 0.74);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.card-bottomline {
  padding: 12px 10px 6px;
}

.specimen-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.04) hue-rotate(9deg);
}

.hero-footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: rgba(220, 231, 228, 0.78);
  font-size: clamp(0.72rem, 1vw, 0.92rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(217, 221, 214, 0.06);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-x 26s linear infinite;
}

.marquee span {
  padding: 18px 26px;
  color: #cfdad6;
  font-size: clamp(1.05rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.section-pad {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 4vw, 54px);
}

.section-label {
  margin-bottom: 20px;
}

.about {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(36px, 5vw, 70px);
  border-radius: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(141, 225, 215, 0.14), transparent 24rem),
    radial-gradient(circle at 86% 70%, rgba(168, 240, 106, 0.08), transparent 22rem),
    linear-gradient(180deg, #101a17 0%, #0b0f0e 100%);
  box-shadow: none;
}

.section-heading {
  font-size: clamp(3.8rem, 11vw, 10rem);
}

.section-heading.dark {
  color: var(--black);
  background: none;
  -webkit-text-fill-color: var(--black);
}

.section-heading.dark em {
  color: rgba(6, 7, 6, 0.48);
  -webkit-text-fill-color: rgba(6, 7, 6, 0.48);
}

.section-heading.dark > span {
  color: var(--black);
  background: none;
  -webkit-text-fill-color: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 1.6vw, 22px);
  row-gap: clamp(12px, 1.6vw, 22px);
  margin-top: clamp(34px, 5vw, 62px);
}

.about-avatar-card,
.about-intro-card,
.about-stat-card {
  border: 1px solid rgba(205, 215, 214, 0.28);
  border-radius: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(145deg, rgba(217, 221, 214, 0.09), rgba(7, 12, 11, 0.54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 56px rgba(0, 0, 0, 0.2);
}

.about-avatar-card {
  position: relative;
  grid-column: span 4;
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #10211d;
}

.about-avatar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 7, 6, 0.72));
}

.about-avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.04);
}

.about-avatar-card span {
  position: absolute;
  z-index: 1;
  bottom: clamp(18px, 2vw, 28px);
  left: clamp(18px, 2vw, 28px);
  color: #edf5f1;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2.35rem);
  font-weight: 900;
}

.about-intro-card {
  display: flex;
  grid-column: span 8;
  min-height: 0;
  aspect-ratio: 2.07 / 1;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 3vw, 38px);
  padding: clamp(24px, 3.4vw, 46px);
  background: linear-gradient(145deg, rgba(24, 39, 34, 0.96), rgba(7, 12, 11, 0.94));
}

.about-intro-main {
  max-width: 980px;
  color: #edf5f1;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1.45rem, 2.9vw, 3.45rem);
  font-weight: 900;
  line-height: 1.2;
}

.about-intro-note {
  max-width: 880px;
  color: rgba(220, 231, 228, 0.7);
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(0.98rem, 1.45vw, 1.28rem);
  line-height: 1.8;
}

.about-intro-footer {
  display: grid;
  gap: 14px;
}

.about-wechat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(237, 245, 241, 0.88);
  font-family: "Kanit", "Noto Sans SC", sans-serif;
  font-size: clamp(0.9rem, 1.28vw, 1.12rem);
  font-weight: 700;
}

.about-wechat-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.about-wechat-icon::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor;
}

.about-wechat-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 9px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: #15231f;
}

.about-stat-card {
  display: flex;
  grid-column: span 3;
  min-height: clamp(120px, 12vw, 164px);
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 2vw, 28px);
}

.about-stat-card strong {
  color: #edf5f1;
  font-family: "Kanit", "Noto Sans SC", sans-serif;
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  font-weight: 900;
  line-height: 0.9;
}

.about-stat-card span {
  margin-top: 14px;
  color: rgba(220, 231, 228, 0.68);
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(0.88rem, 1.3vw, 1.16rem);
  font-weight: 700;
}

.about-portfolio-trigger {
  --card-prompt: "查看";
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.about-visit-trigger {
  --card-prompt: "访问";
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.about-portfolio-trigger > *,
.about-visit-trigger > * {
  position: relative;
  z-index: 1;
  transition: filter 220ms ease, opacity 220ms ease;
}

.about-portfolio-trigger::before,
.about-visit-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(3, 9, 7, 0.56);
  opacity: 0;
  transition: opacity 220ms ease;
}

.about-portfolio-trigger::after,
.about-visit-trigger::after {
  content: var(--card-prompt);
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  min-width: 4.2em;
  min-height: 2.25em;
  place-items: center;
  border: 1px solid rgba(237, 245, 241, 0.72);
  border-radius: 999px;
  color: #07110d;
  background: var(--acid);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 12px)) scale(0.92);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.about-portfolio-trigger:hover,
.about-portfolio-trigger:focus-visible,
.about-visit-trigger:hover,
.about-visit-trigger:focus-visible {
  border-color: rgba(168, 240, 106, 0.72);
  background: rgba(15, 79, 61, 0.22);
  outline: none;
}

.about-portfolio-trigger:hover strong,
.about-portfolio-trigger:hover span,
.about-portfolio-trigger:focus-visible strong,
.about-portfolio-trigger:focus-visible span,
.about-visit-trigger:hover strong,
.about-visit-trigger:hover span,
.about-visit-trigger:focus-visible strong,
.about-visit-trigger:focus-visible span {
  filter: brightness(0.5);
}

.about-portfolio-trigger:hover::before,
.about-portfolio-trigger:focus-visible::before,
.about-visit-trigger:hover::before,
.about-visit-trigger:focus-visible::before {
  opacity: 1;
}

.about-portfolio-trigger:hover::after,
.about-portfolio-trigger:focus-visible::after,
.about-visit-trigger:hover::after,
.about-visit-trigger:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.proof-card {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(220, 231, 228, 0.18);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(141, 225, 215, 0.12), rgba(168, 240, 106, 0.05)),
    rgba(7, 9, 8, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.proof-card[href]:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 240, 106, 0.48);
  background:
    linear-gradient(135deg, rgba(141, 225, 215, 0.18), rgba(168, 240, 106, 0.1)),
    rgba(7, 9, 8, 0.34);
}

.proof-card strong {
  color: #e5efeb;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 900;
  line-height: 1.28;
}

.proof-card span {
  color: rgba(220, 231, 228, 0.58);
  font-family: "Kanit", "Noto Sans SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services {
  position: relative;
  z-index: 3;
  margin-top: -44px;
  border-radius: 48px 48px 0 0;
  color: var(--black);
  background:
    radial-gradient(circle at 86% 20%, rgba(141,225,215,0.48), transparent 22rem),
    linear-gradient(180deg, #e2e6df 0%, #cfd8d3 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 -28px 72px rgba(0, 0, 0, 0.42),
    0 34px 90px rgba(0, 0, 0, 0.26);
}

.services .section-label {
  color: var(--black);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 1120px;
  margin: 36px auto 0;
  padding-left: clamp(22px, 3vw, 36px);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 2px;
  background: rgba(6, 7, 6, 0.26);
}

.timeline-item {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(120px, 0.22fr) 1fr;
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  appearance: none;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-top: 1px solid rgba(6, 7, 6, 0.16);
  padding: clamp(24px, 4vw, 42px) 0;
  color: var(--black);
  background: transparent;
  font: inherit;
  text-align: left;
  transition: transform 180ms ease, color 180ms ease;
}

.timeline-item:last-child {
  border-bottom: 1px solid rgba(6, 7, 6, 0.16);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(clamp(22px, 3vw, 36px) * -1 - 5px);
  width: 12px;
  height: 12px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: #cfd8d3;
}

.timeline-item[data-proof-image] {
  cursor: pointer;
}

.timeline-item[data-proof-image]:hover {
  color: #0f4f3d;
  transform: translateX(6px);
}

.timeline-item[data-proof-image]:hover time,
.timeline-item[data-proof-image]:hover span {
  color: #0f4f3d;
}

.timeline time {
  color: rgba(6, 7, 6, 0.56);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.timeline span {
  color: var(--black);
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(0.72rem, 2.35vw, 2.9rem);
  font-weight: 900;
  line-height: 1.18;
  white-space: nowrap;
}

.service-list {
  max-width: 1120px;
  margin: 36px auto 0;
}

.service-item {
  display: grid;
  grid-template-columns: minmax(76px, 0.24fr) 1fr;
  gap: clamp(18px, 4vw, 54px);
  border-top: 1px solid rgba(6, 7, 6, 0.18);
  padding: clamp(28px, 4vw, 48px) 0;
}

.service-item:last-child {
  border-bottom: 1px solid rgba(6, 7, 6, 0.18);
}

.service-item > span,
.work-meta > span {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.82;
}

.service-item h3 {
  font-size: clamp(1.18rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-item p {
  max-width: 760px;
  margin-top: 10px;
  color: rgba(6, 7, 6, 0.66);
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(0.96rem, 1.35vw, 1.16rem);
  line-height: 1.8;
}

.works {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: clamp(36px, 5vw, 70px);
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(141, 225, 215, 0.1), transparent 26rem),
    linear-gradient(180deg, #080d10 0%, #0b0d0c 100%);
  box-shadow: none;
}

.work-stack {
  display: block;
  margin-top: 34px;
  padding-bottom: clamp(60px, 9vh, 110px);
}

.work-card {
  --card-scale: 1;
  --card-y: 0px;
  --stack-opacity: 1;
  --work-pad: clamp(28px, 4vw, 54px);
  --card-height: max(620px, min(760px, calc(100vh - 112px)));
  position: sticky;
  top: 86px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
  height: var(--card-height);
  min-height: 620px;
  overflow: hidden;
  border: 0;
  border-radius: clamp(28px, 4vw, 44px);
  padding: var(--work-pad);
  background:
    radial-gradient(circle at 24% 12%, rgba(220, 231, 228, 0.08), transparent 28rem),
    linear-gradient(145deg, rgba(217,221,214,0.08), rgba(8,11,10,0.88)),
    #0c0f0e;
  box-shadow:
    0 -18px 34px rgba(0, 0, 0, 0.34),
    0 32px 78px rgba(0,0,0,0.42);
  opacity: var(--stack-opacity);
  isolation: isolate;
  transform: translateY(var(--card-y)) scale(var(--card-scale));
  transform-origin: top center;
  transition: box-shadow 240ms ease, opacity 240ms ease, transform 260ms ease;
}

.work-card + .work-card {
  margin-top: clamp(160px, 24vh, 260px);
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid rgba(205, 215, 214, 0.62);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 260ms ease;
}

.work-card.is-active {
  --card-scale: 1;
  --card-y: 0px;
  --stack-opacity: 1;
  box-shadow:
    0 -24px 46px rgba(0, 0, 0, 0.42),
    0 44px 110px rgba(0,0,0,0.58);
}

.work-card.is-active::before {
  border-color: rgba(205, 215, 214, 0.62);
}

.work-card.stack-depth-1 {
  --card-scale: 0.97;
  --card-y: -10px;
  --stack-opacity: 0.9;
}

.work-card.stack-depth-2 {
  --card-scale: 0.94;
  --card-y: -20px;
  --stack-opacity: 0.8;
}

.work-card.stack-depth-3 {
  --card-scale: 0.91;
  --card-y: -30px;
  --stack-opacity: 0.7;
}

.work-card:nth-child(1) { z-index: 1; }
.work-card:nth-child(2) { top: 104px; z-index: 2; }
.work-card:nth-child(3) { top: 122px; z-index: 3; }
.work-card:nth-child(4) { top: 140px; z-index: 4; }

.work-meta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(14px, 2vw, 28px);
  row-gap: 4px;
  min-height: 0;
  max-width: min(100%, 780px);
}

.work-meta > span {
  color: #e3efed;
  font-size: clamp(2.65rem, 4.8vw, 4.8rem);
  grid-column: 1;
  grid-row: 1;
  line-height: 0.88;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.work-meta p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: var(--acid);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

.work-meta h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1.7rem, 3.33vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.work-media-row {
  --ticket-stub: 24.05%;
  --ticket-cut: #0c0f0e;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-self: center;
  align-self: end;
  gap: 0;
  width: min(100%, calc((var(--card-height) - var(--work-pad) * 2 - 132px) * 2.34));
  aspect-ratio: 2.34 / 1;
  min-height: 0;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.34));
}

.work-media-row::before,
.work-media-row::after {
  content: "";
  position: absolute;
  right: calc(var(--ticket-stub) - clamp(8px, 1vw, 12px));
  z-index: 5;
  width: clamp(16px, 2vw, 24px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ticket-cut);
  pointer-events: none;
}

.work-media-row::before { top: calc(clamp(8px, 1vw, 12px) * -1); }
.work-media-row::after { bottom: calc(clamp(8px, 1vw, 12px) * -1); }

.work-visual {
  position: relative;
  z-index: 1;
  width: auto;
  height: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 231, 226, 0.42);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  background: rgba(217, 221, 214, 0.08);
  flex: 1 1 auto;
}

.work-process-link {
  --stub-bg: #281d35;
  --stub-ink: #ffffff;
  position: relative;
  container-type: inline-size;
  display: flex;
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 16;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
  padding: 18px 12px 72px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--stub-ink) 34%, transparent);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  color: var(--stub-ink);
  background:
    radial-gradient(circle at 72% 18%, color-mix(in srgb, var(--stub-ink) 10%, transparent), transparent 36%),
    var(--stub-bg);
  font-family: "Noto Sans SC", sans-serif;
  text-align: center;
  text-decoration: none;
  transition: filter 220ms ease, transform 220ms ease;
}

.work-card:nth-child(1) .work-process-link { --stub-bg: #2b1937; --stub-ink: #ffffff; }
.work-card:nth-child(2) .work-process-link { --stub-bg: #c48a4a; --stub-ink: #17100a; }
.work-card:nth-child(3) .work-process-link { --stub-bg: #d9bd49; --stub-ink: #17150b; }
.work-card:nth-child(4) .work-process-link { --stub-bg: #a9c5ba; --stub-ink: #0b1713; }

.work-process-link::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  border-left: 3px dotted color-mix(in srgb, var(--stub-ink) 42%, transparent);
}

.work-process-link::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 22px;
  left: 18%;
  height: 32px;
  opacity: 0.66;
  background: repeating-linear-gradient(90deg, var(--stub-ink) 0 2px, transparent 2px 5px, var(--stub-ink) 5px 9px, transparent 9px 12px);
}

.process-label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.08em;
  font-size: clamp(0.82rem, 19cqw, 2.05rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.08em;
  text-align: center;
}

.process-label > span { display: flex; justify-content: center; gap: 0.08em; }
.process-label i { display: inline-block; font-style: normal; will-change: transform; }

.work-process-link:hover .process-label i,
.work-process-link:focus-visible .process-label i {
  animation: ticket-letter-wave 780ms ease-in-out infinite alternate;
}

.work-process-link:hover .process-label i:nth-child(2n),
.work-process-link:focus-visible .process-label i:nth-child(2n) { animation-delay: 130ms; }
.work-process-link:hover .process-label > span:nth-child(2) i,
.work-process-link:focus-visible .process-label > span:nth-child(2) i { animation-delay: 220ms; }
.work-process-link:hover .process-label > span:nth-child(3) i,
.work-process-link:focus-visible .process-label > span:nth-child(3) i { animation-delay: 340ms; }

@keyframes ticket-letter-wave {
  from { transform: translateY(-0.07em); }
  to { transform: translateY(0.1em); }
}

.work-process-link b {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.work-process-link:hover,
.work-process-link:focus-visible {
  color: var(--stub-ink);
  filter: brightness(1.12) saturate(1.06);
  outline: none;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.05);
}

.work-video {
  cursor: pointer;
}

.work-video img {
  transition: transform 320ms ease, filter 320ms ease, opacity 180ms ease;
}

.work-video:hover img,
.work-video:focus-within img {
  filter: brightness(0.42) saturate(0.72) contrast(1.08);
  transform: scale(1.045);
}

.work-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(54px, 6vw, 78px);
  height: clamp(54px, 6vw, 78px);
  place-items: center;
  border: 1px solid rgba(225, 237, 233, 0.78);
  border-radius: 999px;
  color: #eef6f2;
  background: rgba(5, 9, 8, 0.58);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.84);
  transition: opacity 200ms ease, transform 200ms ease, background 200ms ease;
}

.work-play span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid currentColor;
}

.work-video:hover .work-play,
.work-video:focus-within .work-play {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.work-play:hover,
.work-play:focus-visible {
  background: rgba(15, 79, 61, 0.86);
  outline: none;
}

.work-video iframe {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.work-video.is-playing {
  cursor: default;
}

.work-video.is-playing img,
.work-video.is-playing .work-play {
  opacity: 0;
  pointer-events: none;
}

.work-video.is-playing iframe {
  opacity: 1;
  pointer-events: auto;
}

.work-visual.botanical img {
  object-position: center;
}

.demo-section {
  position: relative;
  z-index: 3;
  margin-top: -32px;
  padding-top: clamp(36px, 5vw, 70px);
  border-radius: 44px 44px 0 0;
  background:
    radial-gradient(circle at 14% 14%, rgba(141, 225, 215, 0.18), transparent 25rem),
    radial-gradient(circle at 86% 72%, rgba(168, 240, 106, 0.1), transparent 24rem),
    linear-gradient(180deg, #10211d 0%, #0a1210 100%);
  box-shadow:
    inset 0 1px 0 rgba(220, 231, 228, 0.14),
    0 -22px 58px rgba(0, 0, 0, 0.34),
    0 30px 80px rgba(0, 0, 0, 0.34);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  max-width: 1320px;
  margin: 42px auto 0;
}

.demo-card {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(205, 215, 214, 0.48);
  border-radius: 8px;
  background: #111917;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.demo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 8, 7, 0.76) 100%);
  pointer-events: none;
}

.demo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
  transition: transform 360ms ease, filter 360ms ease;
}

.demo-card:hover img {
  transform: scale(1.045);
  filter: saturate(0.96) contrast(1.05);
}

.demo-card:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.demo-detail-page {
  min-height: 100vh;
  margin: 0;
  color: #edf5f1;
  background:
    radial-gradient(circle at 12% 12%, rgba(141, 225, 215, 0.18), transparent 25rem),
    radial-gradient(circle at 86% 82%, rgba(168, 240, 106, 0.1), transparent 24rem),
    #0a1210;
  font-family: "Noto Sans SC", sans-serif;
}

.demo-detail {
  box-sizing: border-box;
  width: min(1320px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 70px) 0;
}

.demo-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #edf5f1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.demo-back span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(205, 215, 214, 0.52);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.demo-back:hover span { background: var(--acid); color: #0a1210; transform: translateX(-3px); }
.demo-back:focus-visible { outline: 3px solid var(--acid); outline-offset: 5px; }

.demo-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: center;
  min-height: calc(100vh - 150px);
}

.demo-detail-media { overflow: hidden; border: 1px solid rgba(205, 215, 214, 0.38); border-radius: 12px; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35); }
.demo-detail-media img { display: block; width: 100%; max-height: 74vh; object-fit: cover; }
.detail-zoomable { cursor: zoom-in; }
.demo-detail-media-stack { display: grid; gap: 18px; min-width: 0; }
.demo-detail-videos { display: grid; gap: 18px; }
.demo-video-item { display: grid; gap: 8px; }
.demo-video-item p { color: var(--acid); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
.demo-video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(205, 215, 214, 0.32); border-radius: 12px; background: #080b0a; }
.demo-video-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.76) contrast(1.05); }
.demo-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-image-gallery { columns: 2 220px; column-gap: 14px; }
.demo-gallery-item { break-inside: avoid; margin: 0 0 14px; overflow: hidden; border: 1px solid rgba(205, 215, 214, 0.3); border-radius: 12px; background: #080b0a; }
.demo-gallery-item img { display: block; width: 100%; height: auto; transition: transform 260ms ease; }
.demo-gallery-item:hover img { transform: scale(1.025); }
.demo-detail-kicker { margin: 0; color: var(--acid); font-family: "Kanit", sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.15em; }
.demo-detail-copy h1 {
  margin: 10px 0 0;
  max-width: 100%;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.08;
  white-space: nowrap;
}

.demo-detail-copy h1.is-short-title { font-size: clamp(2.4rem, 4vw, 4rem); }
.demo-detail-copy h1.is-medium-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.demo-detail-en { margin: 15px 0 0; color: rgba(237, 245, 241, 0.55); font-family: "Kanit", sans-serif; letter-spacing: 0.12em; }
.demo-detail-description { max-width: 33rem; margin: 42px 0 0; color: rgba(237, 245, 241, 0.82); font-size: 1.05rem; line-height: 1.9; }
.demo-detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 40px 0 0; }
.demo-detail-meta div { padding-top: 14px; border-top: 1px solid rgba(205, 215, 214, 0.32); }
.demo-detail-meta dt { color: rgba(237, 245, 241, 0.5); font-size: 0.8rem; }
.demo-detail-meta dd { margin: 7px 0 0; font-weight: 700; }

.process-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  border: 1px solid rgba(168, 240, 106, 0.65);
  border-radius: 999px;
  padding: 11px 18px;
  color: #07110d;
  background: var(--acid);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.process-visit-link:hover,
.process-visit-link:focus-visible {
  filter: brightness(1.1);
  outline: none;
  transform: translateY(-2px);
}

.process-visit-link span { font-size: 1.15rem; line-height: 0.8; }

@media (max-width: 760px) {
  .demo-detail { width: min(100% - 32px, 1320px); }
  .demo-detail-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .demo-detail-copy { padding-bottom: 28px; }
  .demo-detail-media img { max-height: none; }
  .demo-detail-copy h1 { font-size: clamp(1.8rem, 9vw, 3rem); }
  .demo-detail-copy h1.is-short-title { font-size: clamp(2rem, 12vw, 3.8rem); }
}

.demo-card-copy {
  position: absolute;
  z-index: 1;
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  left: clamp(14px, 2vw, 22px);
}

.demo-card-copy span {
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.demo-card-copy h3 {
  margin-top: 4px;
  color: #edf5f1;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

.demo-card-add {
  display: grid;
  place-items: center;
  color: rgba(227, 239, 237, 0.76);
  border-style: dashed;
  background:
    linear-gradient(145deg, rgba(141, 225, 215, 0.08), rgba(6, 10, 9, 0.48)),
    #101715;
}

.demo-card-add::after {
  display: none;
}

.demo-card-add span {
  font-family: "Kanit", sans-serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.demo-card-add:hover span {
  color: var(--acid);
  transform: rotate(90deg);
}

.demo-list {
  align-self: end;
  display: grid;
  gap: 12px;
  list-style: none;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1.5rem, 3.4vw, 3.2rem);
  font-weight: 800;
}

.demo-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.contact {
  position: relative;
  z-index: 4;
  margin-top: -44px;
  padding-top: clamp(72px, 10vw, 140px);
  border-radius: 48px 48px 0 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(199, 155, 108, 0.14), transparent 24rem),
    linear-gradient(180deg, #121312 0%, #070807 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 -28px 72px rgba(0, 0, 0, 0.42);
}

.resume-detail {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(76px, 8vw, 108px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 54px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 16%, rgba(15, 79, 61, 0.58), transparent 28rem),
    radial-gradient(circle at 84% 74%, rgba(141, 225, 215, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(4, 6, 6, 0.98), rgba(10, 14, 13, 0.98));
}

.resume-detail[hidden] {
  display: none;
}

.resume-back {
  position: fixed;
  left: clamp(18px, 4vw, 48px);
  top: clamp(18px, 4vw, 42px);
  z-index: 2;
  border: 1px solid rgba(205, 215, 214, 0.54);
  border-radius: 999px;
  padding: 11px 20px;
  color: #e3efed;
  background: rgba(217, 221, 214, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 48px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.resume-back::before {
  content: "← ";
}

.resume-back:hover {
  border-color: rgba(168, 240, 106, 0.62);
  color: #a8f06a;
  transform: translateX(-3px);
}

.resume-detail-inner {
  display: grid;
  justify-items: center;
  width: min(100%, 1120px);
  gap: 14px;
}

.resume-detail-time {
  color: #a8f06a;
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.resume-detail h2 {
  max-width: 960px;
  color: #e3efed;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.resume-proof-frame {
  --proof-ratio: 1.7778;
  position: relative;
  display: grid;
  place-items: center;
  width: min(86vw, 980px);
  height: auto;
  max-width: none;
  aspect-ratio: var(--proof-ratio);
  margin-top: clamp(12px, 2vw, 24px);
  border: 2px solid rgba(205, 215, 214, 0.72);
  border-radius: clamp(16px, 2.4vw, 28px);
  overflow: hidden;
  background: rgba(217, 221, 214, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 30px 90px rgba(0, 0, 0, 0.58);
}

.resume-detail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.resume-proof-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: min(86vw, 980px);
}

.resume-proof-thumbs button {
  width: 70px;
  height: 48px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(205, 215, 214, 0.34);
  border-radius: 8px;
  background: #0a100e;
  cursor: pointer;
  opacity: 0.62;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.resume-proof-thumbs button:hover,
.resume-proof-thumbs button:focus-visible,
.resume-proof-thumbs button.is-active {
  border-color: var(--acid);
  outline: none;
  opacity: 1;
  transform: translateY(-2px);
}

.resume-proof-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.resume-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(205, 215, 214, 0.7);
  border-radius: 999px;
  color: #e3efed;
  background: rgba(6, 7, 6, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 36px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.resume-zoom::before {
  content: "⌕";
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.resume-zoom:hover {
  border-color: rgba(168, 240, 106, 0.72);
  color: #a8f06a;
  transform: scale(1.08);
}

.resume-detail.is-expanded {
  align-items: start;
  padding: clamp(72px, 7vw, 96px) clamp(14px, 2vw, 28px) clamp(24px, 3vw, 42px);
}

.resume-detail.is-expanded .resume-detail-inner {
  width: 100%;
}

.resume-detail.is-expanded .resume-detail-time,
.resume-detail.is-expanded h2 {
  display: none;
}

.resume-detail.is-expanded .resume-proof-frame {
  width: calc(100vw - clamp(28px, 4vw, 56px));
  height: auto;
  min-height: calc(100vh - 124px);
  max-width: none;
  aspect-ratio: auto;
  margin-top: 0;
}

.resume-detail.is-expanded img {
  width: 100%;
  height: auto;
  min-height: calc(100vh - 124px);
  object-fit: contain;
}

.resume-detail.is-expanded .resume-zoom::before {
  content: "−";
  font-size: 1.8rem;
}

body.detail-open {
  overflow: hidden;
}

.portfolio-detail {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow-y: auto;
  padding: 116px clamp(18px, 5vw, 76px) clamp(40px, 6vw, 88px);
  color: #e3efed;
  background:
    radial-gradient(circle at 10% 12%, rgba(15, 79, 61, 0.56), transparent 30rem),
    radial-gradient(circle at 88% 80%, rgba(141, 225, 215, 0.12), transparent 28rem),
    #080c0b;
}

.portfolio-detail[hidden] {
  display: none;
}

.secondary-frame {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  background: #0a1210;
}

.secondary-frame[hidden] {
  display: none;
}

.secondary-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0a1210;
}

.portfolio-toolbar {
  position: fixed;
  top: clamp(18px, 3vw, 36px);
  left: clamp(18px, 5vw, 76px);
  right: clamp(18px, 5vw, 76px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-filters button,
.portfolio-back,
.secondary-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid rgba(205, 215, 214, 0.34);
  border-radius: 12px;
  padding: 10px 15px;
  color: rgba(227, 239, 237, 0.82);
  background: rgba(10, 16, 14, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.portfolio-filters button:hover,
.portfolio-filters button.is-active,
.portfolio-filters button:focus-visible,
.portfolio-back:hover,
.portfolio-back:focus-visible,
.secondary-back:hover,
.secondary-back:focus-visible {
  border-color: var(--acid);
  color: #07110d;
  background: var(--acid);
  outline: none;
}

.portfolio-back::before {
  content: none;
}

.demo-detail-media img {
  aspect-ratio: 16 / 9;
}

.demo-detail-page .demo-detail-grid {
  width: min(100%, 1320px);
  max-width: 1320px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  min-height: 0;
  padding-top: clamp(56px, 7vw, 92px);
}

.demo-detail-page .secondary-back {
  position: fixed;
  top: clamp(18px, 3vw, 36px);
  left: clamp(18px, 5vw, 76px);
  z-index: 90;
}

.demo-detail-page .demo-detail-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  max-width: min(100%, 760px);
}

.demo-detail-page .process-detail-media,
.demo-detail-page .demo-detail-media-stack {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  width: min(100%, 1080px);
}

.demo-detail-page .demo-detail-videos {
  grid-column: 1;
  grid-row: 3;
  width: min(100%, 1080px);
  gap: clamp(18px, 3vw, 30px);
}

.demo-detail-page .demo-image-gallery {
  grid-column: 1;
  grid-row: 4;
  width: min(100%, 1080px);
}

.demo-detail-page .demo-media-gallery {
  grid-column: auto;
  grid-row: auto;
  width: min(100%, 1080px);
  column-count: 2;
  column-gap: clamp(12px, 2vw, 24px);
}

.demo-media-gallery .demo-gallery-item,
.demo-gallery-video {
  break-inside: avoid;
  margin: 0 0 clamp(12px, 2vw, 24px);
}

.demo-gallery-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(205, 215, 214, 0.3);
  border-radius: 12px;
  background: #080b0a;
}

.video-black-cover {
  position: absolute;
  inset: 0;
  background: #000;
  transition: opacity 180ms ease;
}

.work-video.is-playing .video-black-cover {
  opacity: 0;
}

.demo-gallery-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-video-frame .work-play {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.process-image-gallery {
  grid-column: 1;
  grid-row: 3;
  width: min(100%, 1080px);
  column-count: 2;
  column-gap: clamp(12px, 2vw, 24px);
}

.process-gallery-item {
  margin: 0 0 clamp(12px, 2vw, 24px);
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(205, 215, 214, 0.28);
  border-radius: 12px;
  background: #080b0a;
}

.process-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 260ms ease;
}

.process-gallery-item:hover img { transform: scale(1.02); }

.demo-detail-page .demo-detail-copy h1 {
  font-size: clamp(0.9rem, 2.8vw, 2.7rem);
}

.demo-detail-page .demo-detail-copy h1.is-short-title {
  font-size: clamp(1.8rem, 4vw, 4rem);
}

.demo-detail-page .demo-detail-copy h1.is-long-title {
  font-size: clamp(1rem, 5vw, 3.8rem);
}

.demo-detail-page .demo-detail-description {
  margin-top: clamp(18px, 3vw, 42px);
  font-size: clamp(0.7rem, 1.4vw, 1.05rem);
}

@media (max-width: 600px) {
  .demo-detail-page .demo-detail {
    width: calc(100% - 20px);
  }

  .demo-detail-page .demo-detail-en {
    margin-top: 8px;
    font-size: 0.62rem;
  }
}

.portfolio-masonry {
  column-count: 4;
  column-gap: clamp(12px, 1.6vw, 22px);
  width: min(100%, 1520px);
  margin: 0 auto;
}

.portfolio-tile {
  display: block;
  margin: 0 0 clamp(12px, 1.6vw, 22px);
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(205, 215, 214, 0.22);
  border-radius: 12px;
  background: #101513;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.portfolio-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 clamp(12px, 1.6vw, 22px);
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(205, 215, 214, 0.22);
  border-radius: 12px;
  background: #000;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.portfolio-tile img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.84) contrast(1.04);
  transition: transform 260ms ease, filter 260ms ease;
}

.portfolio-tile:hover img,
.portfolio-tile:focus-visible img {
  filter: saturate(1) contrast(1.06);
  transform: scale(1.035);
}

.portfolio-tile[hidden] {
  display: none;
}

.portfolio-preview {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 88px);
  background: rgba(3, 6, 5, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.portfolio-preview[hidden] {
  display: none;
}

.portfolio-preview img {
  max-width: min(92vw, 1440px);
  max-height: min(86vh, 960px);
  border: 1px solid rgba(205, 215, 214, 0.62);
  border-radius: 12px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
  object-fit: contain;
  cursor: grab;
  touch-action: none;
  transition: transform 120ms ease;
  will-change: transform;
}

.portfolio-preview.is-dragging img {
  cursor: grabbing;
  transition: none;
}

.portfolio-preview-close {
  position: fixed;
  top: clamp(18px, 3vw, 38px);
  right: clamp(18px, 3vw, 38px);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(205, 215, 214, 0.54);
  border-radius: 12px;
  color: #edf5f1;
  background: rgba(10, 16, 14, 0.72);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.portfolio-preview-close:hover,
.portfolio-preview-close:focus-visible {
  border-color: var(--acid);
  color: #07110d;
  background: var(--acid);
  outline: none;
}

.contact-panel {
  position: relative;
  padding: 0;
}

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

.contact-panel h2 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  max-width: 1120px;
  margin-top: 16px;
  font-size: clamp(1.5rem, 6.5vw, 6.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-panel h2 .contact-title-text {
  font-family: "Noto Sans SC", "Kanit", sans-serif;
  white-space: nowrap;
}

.contact-title-char {
  display: inline-block;
  will-change: transform;
}

.contact-panel.is-music-playing .contact-title-char {
  animation: contact-title-wave 1.35s ease-in-out infinite;
  animation-delay: calc(var(--char-index) * -110ms);
}

.contact-music-toggle {
  display: grid;
  width: clamp(48px, 4.6vw, 76px);
  height: clamp(48px, 4.6vw, 76px);
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  padding: 0 0 0.02em;
  border: 1px solid rgba(237, 245, 241, 0.56);
  border-radius: 50%;
  color: #edf5f1;
  background: rgba(217, 221, 214, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 36px rgba(0, 0, 0, 0.24);
  font-family: "Kanit", "Noto Sans SC", sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 3.15rem);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 220ms ease;
}

.contact-music-toggle:hover,
.contact-music-toggle:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
  background: rgba(168, 240, 106, 0.1);
  outline: none;
  transform: rotate(-12deg) scale(1.08);
}

.contact-music-toggle.is-playing {
  border-color: var(--acid);
  color: var(--acid);
  animation: contact-music-spin 2.8s linear infinite;
}

@keyframes contact-title-wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.09em); }
}

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

.contact-panel h2 em {
  margin-top: 16px;
  color: rgba(220, 231, 228, 0.58);
  font-size: clamp(1rem, 2.1vw, 2rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.contact-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 44px;
  font-family: "Noto Sans SC", sans-serif;
}

.contact-links > a,
.contact-links > span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(6, 7, 6, 0.24);
}

.contact-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: min(520px, calc(100vw - 36px));
  min-width: 0;
  min-height: 60px;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(220, 231, 228, 0.82);
  background: transparent;
  cursor: pointer;
  transition: none;
}

.contact-row-icon {
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  place-items: center;
  border: 1px solid rgba(220, 231, 228, 0.28);
  border-radius: 10px;
  color: rgba(220, 231, 228, 0.9);
  background: transparent;
}

.contact-copy:hover,
.contact-copy:focus-visible {
  color: var(--acid);
  outline: none;
}

.contact-copy:hover .contact-row-icon,
.contact-copy:focus-visible .contact-row-icon {
  border-color: var(--acid);
  color: var(--acid);
  background: transparent;
}

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

.copy-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 16vh;
  min-width: 148px;
  padding: 15px 28px;
  border: 1px solid rgba(238, 255, 228, 0.7);
  border-radius: 999px;
  color: #07110d;
  background: linear-gradient(135deg, var(--acid) 0%, #8de1d7 100%);
  box-shadow: 0 18px 46px rgba(115, 235, 161, 0.38), 0 0 0 7px rgba(141, 225, 215, 0.12);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 20px) scale(0.94);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.contact-email-icon {
  position: relative;
  width: 24px;
  height: 17px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
}

.contact-email-icon::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 11px;
  height: 11px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
}

.contact-wechat-icon {
  position: relative;
  width: 23px;
  height: 18px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.contact-wechat-icon::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor;
}

.contact-wechat-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 9px;
  height: 8px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  background: #101311;
}

.contact-xhs-icon,
.contact-bili-icon {
  position: relative;
  font-size: 0;
}

.contact-xhs-icon::before,
.contact-xhs-icon::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 12px;
  height: 25px;
  border: 1.8px solid currentColor;
  background: transparent;
}

.contact-xhs-icon::before {
  left: 17px;
  border-radius: 2px 0 0 2px;
  border-right: 0;
  transform: skewY(-8deg);
}

.contact-xhs-icon::after {
  right: 17px;
  border-radius: 0 2px 2px 0;
  border-left: 0;
  transform: skewY(8deg);
}

.contact-bili-icon::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 14px;
  width: 30px;
  height: 20px;
  border: 1.8px solid currentColor;
  border-radius: 6px;
  background:
    radial-gradient(circle at 38% 48%, currentColor 0 1.8px, transparent 2px),
    radial-gradient(circle at 62% 48%, currentColor 0 1.8px, transparent 2px),
    linear-gradient(currentColor, currentColor) center 68% / 8px 1.6px no-repeat;
}

.contact-bili-icon::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 24px;
  width: 11px;
  height: 6px;
  border-top: 1.8px solid currentColor;
  border-left: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: skewX(-14deg);
}

.contact-row-copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.contact-row-copy small {
  color: rgba(220, 231, 228, 0.58);
  font-family: "Kanit", "Noto Sans SC", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-row-copy strong {
  color: #edf5f1;
  font-family: "Kanit", "Noto Sans SC", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.38rem);
  font-weight: 700;
  white-space: nowrap;
}

.contact-copy:hover .contact-row-copy small,
.contact-copy:hover .contact-row-copy strong,
.contact-copy:focus-visible .contact-row-copy small,
.contact-copy:focus-visible .contact-row-copy strong {
  color: var(--acid);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 920px) {
  .hero-copy {
    top: 0;
  }

  .hero-grid,
  .about-layout,
  .work-card {
    grid-template-columns: 1fr;
  }

  .portrait-stage {
    min-height: 560px;
  }

  .hero-info {
    position: static;
    margin-top: 28px;
  }

  .hero-footer,
  .proof-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

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

  .about-avatar-card {
    grid-column: span 5;
  }

  .about-intro-card {
    grid-column: span 7;
    aspect-ratio: 7 / 5;
  }

  .about-stat-card {
    grid-column: span 6;
  }

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

  .work-card {
    position: relative;
    top: auto !important;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
    transform: none;
    opacity: 1;
  }

  .work-visual {
    max-width: 100%;
  }

  .work-media-row {
    align-self: start;
  }

  .work-card + .work-card {
    margin-top: 24px;
  }

  .work-stack {
    padding-bottom: 0;
  }

  .portfolio-masonry {
    column-count: 3;
  }
}

@media (max-width: 640px) {
  .hero-brand {
    top: 78px;
  }

  .hero {
    padding-top: 18px;
  }

  .nav {
    gap: 2px;
    max-width: calc(100vw - 18px);
    padding: 4px;
    font-size: 0.72rem;
  }

  .nav a {
    min-width: 58px;
    padding: 7px 8px;
  }

  .nav-home {
    min-width: 52px !important;
    padding-inline: 8px !important;
  }

  .nav-slider {
    top: 4px;
    bottom: 4px;
  }

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

  .hero-heading {
    font-size: clamp(3.6rem, 20vw, 6.4rem);
  }

  .portrait-stage {
    min-height: 430px;
  }

  .specimen-card {
    width: min(88vw, 380px);
    border-radius: 26px;
  }

  .card-topline,
  .card-bottomline {
    font-size: 0.56rem;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

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

  .about-avatar-card,
  .about-intro-card {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .about-intro-card {
    aspect-ratio: auto;
  }

  .about-stat-card {
    grid-column: span 6;
    min-height: 148px;
  }

  .about-intro-card {
    padding: 26px 22px;
  }

  .work-media-row {
    gap: 0;
  }

  .work-visual {
    min-height: 0;
  }

  .work-process-link {
    gap: 8px;
    padding: 8px 5px 44px;
    border-radius: 0 10px 10px 0;
  }

  .work-visual {
    border-radius: 10px 0 0 10px;
  }

  .work-process-link::after {
    bottom: 12px;
    height: 20px;
  }

  .portfolio-detail {
    padding-top: 154px;
  }

  .portfolio-toolbar {
    align-items: flex-start;
  }

  .portfolio-filters {
    max-width: calc(100% - 72px);
  }

  .portfolio-filters button,
  .portfolio-back {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .portfolio-masonry {
    column-count: 2;
  }

}
