﻿/* ==========================================================================
   my-site — dark glassmorphism portfolio
   Pure CSS. Tokens, glass surfaces, aurora scene, responsive + motion.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #04050a;
  --bg-soft: #080a14;
  --ink: #f2f4fb;
  --muted: #a3abc0;
  --muted-2: #7d859b;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.09);
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --violet-soft: #c4b5fd;
  --grad: linear-gradient(100deg, #c4b5fd 0%, #7dd3fc 46%, #f9a8d4 100%);
  --grad-strong: linear-gradient(110deg, #8b5cf6, #22d3ee);
  --radius: 26px;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(139, 92, 246, 0.5);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- scene ---------- */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.orb-a {
  top: -16%;
  left: -10%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.75), transparent 65%);
  animation: drift-a 24s ease-in-out infinite alternate;
}

.orb-b {
  top: 18%;
  right: -16%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 65%);
  animation: drift-b 28s ease-in-out infinite alternate;
}

.orb-c {
  bottom: -26%;
  left: 24%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.45), transparent 65%);
  animation: drift-c 32s ease-in-out infinite alternate;
}

.scene-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 26%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 26%, #000 0%, transparent 72%);
}

.scene-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  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='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* faint vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* ---------- cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.08) 45%, transparent 70%);
  filter: blur(24px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}

.cursor-glow.is-active {
  opacity: 1;
}

/* ---------- shared ---------- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.glass {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
    border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--grad-strong);
  color: #05060c;
  font-weight: 650;
  box-shadow: 0 16px 38px -16px rgba(139, 92, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -18px rgba(34, 211, 238, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 12px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #05060b;
  font-size: 12px;
  transform: translateY(-220%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--grad-strong);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: #c8cde0;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--grad-strong);
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
  animation: pulse 2.4s ease-out infinite;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-link {
  color: var(--violet-soft);
  border-bottom: 1px solid rgba(196, 181, 253, 0.45);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}

.text-link:hover {
  color: #7dd3fc;
  border-color: #7dd3fc;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 100;
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: calc(100% - 2 * var(--pad));
  max-width: var(--max);
  height: 66px;
  margin: 0 auto;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  background: rgba(10, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  pointer-events: auto;
  transition: background 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.site-header.is-scrolled .nav {
  background: rgba(8, 10, 18, 0.82);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--grad-strong);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.9);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-cn {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 38px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 0;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.nav-link em {
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad-strong);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}

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

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

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

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

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

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(18px + 66px + 32px) var(--pad) 32px;
  background: rgba(5, 6, 12, 0.92);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}

.mobile-links {
  display: flex;
  flex-direction: column;
}

.mobile-links a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.mobile-links a:hover {
  padding-left: 8px;
}

.mobile-links span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.mobile-links a {
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mobile-links em {
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.mobile-foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.mobile-foot p {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 150px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
  flex: 1;
}

.hero-copy {
  max-width: 660px;
}

.hero-copy .eyebrow {
  animation: fade-up 0.9s 0.1s both var(--ease);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero-title .line > span {
  display: block;
  transform: translateY(112%);
  animation: rise 1.15s var(--ease) forwards;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 0.09s;
}

.hero-title .grad {
  display: inline-block;
  padding-right: 0.04em;
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(12.5px, 1.15vw, 14.5px);
  letter-spacing: 0.16em;
  color: #b9c0d4;
  animation: fade-up 0.9s 0.5s both var(--ease);
}

.hero-desc {
  margin-top: 14px;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 15.5px);
  line-height: 1.9;
  animation: fade-up 0.9s 0.6s both var(--ease);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  animation: fade-up 0.9s 0.72s both var(--ease);
}

.hero-stats {
  display: flex;
  gap: clamp(26px, 4vw, 54px);
  width: fit-content;
  margin-top: 42px;
  padding: 18px 24px;
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: fade-up 0.9s 0.85s both var(--ease);
}

.hero-stats dt {
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}

.hero-stats dd {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* stage */
.hero-stage {
  position: relative;
  height: clamp(380px, 46vw, 540px);
  perspective: 1200px;
  animation: fade-in 1.4s 0.45s both var(--ease);
}

.stage-glow {
  position: absolute;
  inset: 10% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32), rgba(34, 211, 238, 0.1) 45%, transparent 70%);
  filter: blur(46px);
}

.float-card {
  position: absolute;
  margin: 0;
  padding: 9px 9px 0;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform-style: preserve-3d;
  will-change: transform;
}

.float-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 38%);
  pointer-events: none;
}

.float-frame {
  display: block;
  overflow: hidden;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.4);
}

.float-frame img {
  width: 100%;
  height: auto;
}

.float-card figcaption {
  padding: 8px 2px 9px;
  font-size: 7.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.card-main {
  top: 7%;
  left: 0;
  z-index: 2;
  width: 66%;
  transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 8px), 0)
    rotateY(calc(var(--px, 0) * -5deg)) rotateX(calc(var(--py, 0) * 4deg)) rotate(-4deg);
  transition: transform 0.25s ease-out;
}

.card-top {
  top: -1%;
  right: -1%;
  z-index: 3;
  width: 45%;
  transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -10px), 0)
    rotateY(calc(var(--px, 0) * 7deg)) rotateX(calc(var(--py, 0) * -5deg)) rotate(5deg);
  transition: transform 0.25s ease-out;
}

.card-bottom {
  bottom: 1%;
  left: 9%;
  z-index: 1;
  width: 43%;
  transform: translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 14px), 0)
    rotateY(calc(var(--px, 0) * 4deg)) rotateX(calc(var(--py, 0) * 3deg)) rotate(-6deg);
  transition: transform 0.25s ease-out;
}

.chip {
  position: absolute;
  z-index: 4;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: float 7s ease-in-out infinite;
}

.chip-a {
  top: 4%;
  left: 66%;
}

.chip-b {
  right: 0;
  bottom: 18%;
  animation-delay: 1.4s;
}

.chip-c {
  left: -2%;
  bottom: 27%;
  animation-delay: 2.6s;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  display: block;
  width: 64px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-strong);
  animation: scroll-line 2.6s var(--ease) infinite;
}

.hero-note {
  font-size: 8.5px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
  text-align: right;
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  z-index: 1;
  width: calc(100% - 2 * var(--pad));
  max-width: var(--max);
  margin: 0 auto clamp(70px, 9vw, 120px);
  padding: 16px 0;
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  padding-right: clamp(22px, 3vw, 44px);
}

.marquee-group span {
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.marquee-group i {
  font-style: normal;
  font-size: 12px;
  color: var(--violet);
}

/* ---------- section ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(90px, 10vw, 150px) 0;
  scroll-margin-top: 100px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px 40px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-index {
  grid-column: 1 / -1;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-sub {
  max-width: 36ch;
  justify-self: end;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  text-align: right;
}

/* ---------- works ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2vw, 26px);
}

.work-card {
  display: flex;
  flex-direction: column;
  grid-column: span 6;
  padding: 10px;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}

.work-card:nth-child(1) {
  grid-column: span 7;
}

.work-card:nth-child(2) {
  grid-column: span 5;
}

.work-card:nth-child(3) {
  grid-column: span 5;
}

.work-card:nth-child(4) {
  grid-column: span 7;
}

.work-card:nth-child(5),
.work-card:nth-child(6),
.work-card:nth-child(7) {
  grid-column: span 4;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 46px 90px -34px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(139, 92, 246, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.work-card:hover::after {
  opacity: 1;
}

.work-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 17px;
  overflow: hidden;
  background: #0a0d18;
}

.work-card:nth-child(1) .work-media {
  aspect-ratio: 16 / 9;
}

.work-card:nth-child(5) .work-media,
.work-card:nth-child(6) .work-media,
.work-card:nth-child(7) .work-media {
  aspect-ratio: 4 / 3;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s;
}

.work-card:hover .work-media img {
  transform: scale(1.05);
  filter: saturate(1.08) brightness(1.04);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 5, 10, 0.45));
  pointer-events: none;
}

.work-index {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 8, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
}

.work-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(6, 8, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.work-open svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-card:hover .work-open,
.work-card:focus-visible .work-open {
  opacity: 1;
  transform: none;
}

.work-body {
  position: relative;
  z-index: 1;
  padding: 16px 8px 8px;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.work-title {
  margin: 9px 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.work-title em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--violet-soft);
  text-transform: uppercase;
}

.work-desc {
  max-width: 48ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.works-foot {
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- about ---------- */
.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(30px, 4vw, 60px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 30px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.about-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -18%;
  width: 56%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 65%);
  filter: blur(34px);
  pointer-events: none;
}

.about-main {
  position: relative;
  z-index: 1;
}

.about-eyebrow {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--violet-soft);
  text-transform: uppercase;
}

.about-lead {
  margin: 16px 0 22px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.about-main p {
  max-width: 62ch;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.about-actions {
  margin-top: 24px;
}

.about-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 24%, rgba(139, 92, 246, 0.5), transparent 55%),
    radial-gradient(circle at 76% 80%, rgba(34, 211, 238, 0.36), transparent 52%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.portrait-ring {
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: spin 34s linear infinite;
}

.portrait-core {
  position: relative;
  font-size: clamp(3.6rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-facts {
  display: flex;
  flex-direction: column;
}

.about-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.about-facts span {
  font-size: 1.5rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.about-facts em {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

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

.service {
  padding: 20px;
  border-radius: 20px;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
}

.service-no {
  font-size: 9px;
  letter-spacing: 0.18em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service h3 {
  margin: 10px 0 7px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.service p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.service em {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

/* ---------- contact ---------- */
.contact-panel {
  position: relative;
  padding: clamp(36px, 6vw, 76px);
  border-radius: 34px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.contact-panel::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 130%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-title {
  margin: 18px 0 22px;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.contact-sub {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.contact-list {
  margin-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease), background 0.4s;
}

a.contact-row:hover {
  padding-inline: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-label {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
}

.contact-value {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-arrow {
  justify-self: end;
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.4s;
}

a.contact-row:hover .contact-arrow {
  transform: translate(4px, -4px);
  color: var(--violet-soft);
}

.contact-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.contact-foot a {
  color: inherit;
  transition: color 0.3s;
}

.contact-foot a:hover {
  color: var(--ink);
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.footer-brand span {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.footer-nav a {
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(8px, 2vw, 28px);
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 9, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  display: flex;
  flex-direction: column;
  width: min(1080px, 100%);
  max-height: 90svh;
  border-radius: 30px;
  background: rgba(12, 14, 24, 0.78);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.modal.is-open .modal-panel {
  opacity: 1;
  transform: none;
}

.modal-bar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.modal-index {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}

.modal-controls {
  display: flex;
  gap: 8px;
}

.modal-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 4vw, 52px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.modal-kicker {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--violet-soft);
  text-transform: uppercase;
}

.modal-title {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.modal-title-en {
  margin: 8px 0 22px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.modal-desc {
  max-width: 68ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.modal-tags li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.modal-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(30px, 4vw, 46px);
}

.modal-item {
  margin: 0;
  cursor: zoom-in;
}

.modal-item img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.modal-item:hover img {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
}

.modal-item figcaption {
  margin-top: 8px;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.modal-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-top: clamp(30px, 4vw, 46px);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}

.modal-next:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.modal-next span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-next em {
  font-style: normal;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 600;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 40px);
  background: rgba(3, 4, 9, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-figure img {
  width: auto;
  max-width: min(92vw, 1500px);
  max-height: 80svh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px -28px rgba(0, 0, 0, 0.95);
}

.lightbox-figure figcaption {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

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

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 1;
  transform: none;
}

html.has-js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

html.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */
.error-page {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: var(--pad);
}

.error-card {
  width: min(560px, 100%);
  padding: clamp(32px, 6vw, 56px);
  border-radius: 30px;
  text-align: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.error-code {
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-title {
  margin: 14px 0 12px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.error-text {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ---------- keyframes ---------- */
@keyframes drift-a {
  to {
    transform: translate3d(9vw, 7vh, 0) scale(1.08);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-8vw, 9vh, 0) scale(0.94);
  }
}

@keyframes drift-c {
  to {
    transform: translate3d(6vw, -8vh, 0) scale(1.06);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.65);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(139, 92, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
  }
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

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

@keyframes scroll-line {
  0% {
    transform: translateX(-110%);
  }
  60%,
  100% {
    transform: translateX(110%);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .works-grid {
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .site-header {
    inset: 12px 0 auto 0;
  }

  .nav {
    width: calc(100% - 2 * var(--pad));
  }

  .hero {
    padding-top: 118px;
  }

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

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

  .hero-stage {
    height: clamp(320px, 58vw, 440px);
    margin-top: 18px;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-sub {
    justify-self: start;
    text-align: left;
  }

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

  .about-side {
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
  }

  .portrait {
    width: min(46%, 220px);
    flex: 0 0 auto;
  }

  .about-facts {
    flex: 1;
    justify-content: center;
  }

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

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

@media (max-width: 720px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .work-card:nth-child(1) .work-media,
  .work-card .work-media {
    aspect-ratio: 16 / 10;
  }

  .about-side {
    flex-direction: column;
  }

  .portrait {
    width: 100%;
    max-width: 260px;
  }

  .contact-row {
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    gap: 12px;
  }

  .contact-value {
    font-size: 1rem;
    word-break: break-word;
  }

  .modal {
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .brand-cn {
    display: none;
  }

  .nav {
    height: 58px;
  }

  .nav-actions .btn-sm span {
    display: none;
  }

  .nav-actions .btn-sm {
    width: 40px;
    padding: 0;
    border-radius: 50%;
  }

  .hero-title {
    font-size: clamp(2.9rem, 13vw, 4.2rem);
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
  }

  .hero-stats dd {
    font-size: 20px;
  }

  .hero-desc br {
    display: none;
  }

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

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .contact-panel {
    border-radius: 26px;
  }

  .contact-title br {
    display: none;
  }

  .footer-inner {
    justify-content: flex-start;
  }

  .footer-copy {
    width: 100%;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

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

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

  .marquee-track,
  .portrait-ring,
  .scroll-line::after,
  .chip,
  .orb {
    animation: none !important;
  }

  .hero-title .line > span {
    transform: none;
  }

  html.has-js .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}
