:root {
  --bg: #000000;
  --panel: rgba(142, 142, 142, 0.2);
  --panel-soft: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-soft: #a5a5ad;
  --text-dim: #756b61;
  --accent: #ff4d4d;
  --accent-dark: #b91d2a;
  --blue: #3f88ff;
  --purple: #7a63ff;
  --green: #65d990;
  --container: 1440px;
  --radius-lg: 36px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --glass-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.032)),
    rgba(18, 19, 23, 0.46);
  --glass-bg-soft:
    linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.026)),
    rgba(17, 18, 22, 0.38);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-border-soft: rgba(255, 255, 255, 0.11);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 18px 60px rgba(0, 0, 0, 0.34);
  --glass-shadow-soft:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 44px rgba(0, 0, 0, 0.28);
  --glass-blur: blur(28px) saturate(160%);
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-fast-time: 180ms;
  --motion-normal: 260ms;
  --motion-slow: 420ms;
  --motion-lift-sm: -3px;
  --motion-lift-md: -6px;
  --motion-fast: var(--motion-fast-time) var(--ease-out-soft);
  --motion-medium: var(--motion-normal) var(--ease-out-soft);
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  margin: 0;
  min-width: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(255, 77, 77, 0.78);
  outline-offset: 5px;
}

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

.container {
  width: min(calc(100% - clamp(32px, 6vw, 120px)), var(--container));
  margin: 0 auto;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 430px 640px at -145px 250px, rgba(185, 29, 42, 0.54) 0, rgba(185, 29, 42, 0.28) 34%, rgba(185, 29, 42, 0.07) 62%, transparent 78%),
    radial-gradient(ellipse 330px 470px at 34% -170px, rgba(185, 29, 42, 0.32) 0, rgba(185, 29, 42, 0.11) 52%, transparent 76%),
    radial-gradient(ellipse 520px 690px at calc(100% + 185px) 55%, rgba(77, 151, 255, 0.52) 0, rgba(122, 99, 255, 0.28) 38%, rgba(63, 136, 255, 0.07) 63%, transparent 79%),
    radial-gradient(ellipse 360px 460px at calc(100% + 80px) 92%, rgba(122, 99, 255, 0.18) 0, rgba(63, 136, 255, 0.07) 48%, transparent 74%),
    #000;
}

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

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.055) 34%,
      transparent 68%
    );
  filter: blur(2px);
  mix-blend-mode: screen;
  transition:
    opacity var(--motion-normal) var(--ease-out-soft),
    background var(--motion-normal) var(--ease-out-soft),
    width var(--motion-normal) var(--ease-out-soft),
    height var(--motion-normal) var(--ease-out-soft);
}

.cursor-glow.is-visible {
  opacity: 0.42;
}

.cursor-glow.is-strong {
  opacity: 0.62;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.16),
      rgba(255, 77, 77, 0.08) 34%,
      rgba(91, 140, 255, 0.055) 52%,
      transparent 70%
    );
}

.section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
}

.site-header {
  position: fixed;
  top: 16px;
  right: 0;
  left: 0;
  z-index: 1000;
}

.nav-shell {
  display: flex;
  width: min(calc(100% - clamp(32px, 10vw, 480px)), var(--container));
  height: 75px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 34px 0 33px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 95px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 10, 0.56);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.brand {
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 48px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.nav-active-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-pill);
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.065);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transform: translate3d(0, 0, 0);
  transition:
    transform 360ms var(--ease-out-soft),
    width 360ms var(--ease-out-soft),
    height 360ms var(--ease-out-soft),
    opacity 220ms ease;
}

.nav-links a {
  position: relative;
  z-index: 1;
  transition:
    color var(--motion-fast),
    opacity var(--motion-fast),
    text-shadow var(--motion-fast);
}

.nav-hover-target {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.6);
}

.nav-hover-target:hover,
.nav-hover-target:focus-visible,
.nav-hover-target.is-active {
  color: white;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.nav-contact {
  display: inline-flex;
  width: 116px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 61px;
  background: var(--accent);
  color: white;
}

.nav-contact:hover,
.nav-contact:focus-visible,
.nav-contact.is-active {
  box-shadow: 0 0 24px rgba(255, 77, 77, 0.34);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  transition: transform var(--motion-fast), opacity var(--motion-fast);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  height: min(1080px, 100svh);
  min-height: 860px;
  background: transparent;
}

.reveal,
.reveal-card {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity 620ms ease,
    translate 620ms var(--ease-out-soft);
  will-change: opacity, translate;
}

.reveal-card {
  translate: 0 18px;
}

.reveal.is-visible,
.reveal-card.is-visible {
  opacity: 1;
  translate: 0 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  text-align: center;
}

.hero-tag {
  position: absolute;
  top: 218px;
  left: 50%;
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 21px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: #b8b3b3;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-tag span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 77, 77, 0.85);
}

.hero h1 {
  position: absolute;
  top: 348px;
  left: 50%;
  width: min(1555px, calc(100vw - 48px));
  margin: 0;
  transform: translateX(-50%);
  color: #f8f8f8;
  font-size: clamp(72px, 6.25vw, 120px);
  font-weight: 900;
  line-height: 0.986;
  letter-spacing: -3px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  position: absolute;
  top: 648px;
  left: 50%;
  width: 709px;
  margin: 0;
  transform: translateX(-50%);
  color: var(--text-soft);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.primary-btn,
.secondary-btn,
.case-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: white;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--motion-medium),
    background var(--motion-medium),
    border-color var(--motion-medium),
    box-shadow var(--motion-medium),
    color var(--motion-medium),
    filter var(--motion-medium);
}

.hero .primary-btn {
  position: absolute;
  top: 812px;
  left: 50%;
  height: 62px;
  min-width: 194px;
  gap: 8px;
  padding: 0 24px;
  transform: translateX(-50%);
  background: var(--accent);
  box-shadow: 0 0 34px rgba(255, 77, 77, 0.42), 0 18px 46px rgba(255, 77, 77, 0.18);
  font-size: 20px;
}

.hero .primary-btn span {
  font-size: 28px;
  line-height: 1;
}

.hero .primary-btn .btn-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform var(--motion-fast);
}

.hero .primary-btn:hover,
.hero .primary-btn:focus-visible {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 0 42px rgba(255, 77, 77, 0.5), 0 22px 58px rgba(255, 77, 77, 0.24);
}

.hero .primary-btn:hover .btn-icon,
.hero .primary-btn:focus-visible .btn-icon,
.case-btn:hover img,
.case-btn:focus-visible img,
.project-card:hover .case-btn img,
.project-card:focus-visible .case-btn img {
  transform: translateX(3px);
}

.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(46px, 3.75vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.body-copy {
  margin: 24px 0 0;
  color: rgba(176, 168, 160, 0.76);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}

.about {
  height: 1080px;
  background: transparent;
}

.about-grid {
  position: relative;
  top: 161px;
  display: grid;
  grid-template-columns: 451px 706px;
  gap: 283px;
  align-items: stretch;
}

.name-block {
  margin: 15px 0 40px;
  color: white;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
}

.name-block span {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.6px;
}

.portrait-card {
  overflow: hidden;
  width: 451px;
  height: 564px;
  margin: 0;
  background: #161616;
}

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

.about-content {
  display: flex;
  flex-direction: column;
  padding-top: 63px;
}

.about-content .section-title {
  width: 706px;
  font-size: clamp(46px, 3.75vw, 72px);
  line-height: 1;
  letter-spacing: -3.6px;
}

.about-content .body-copy {
  width: 682px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 223px);
  gap: 18px;
  margin-top: auto;
}

.info-card {
  position: relative;
  overflow: hidden;
  height: 174px;
  padding: 20px 17px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg-soft);
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform var(--motion-medium), border-color var(--motion-medium), box-shadow var(--motion-medium);
}

.info-card h3 {
  margin: 0;
  color: white;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.2px;
}

.info-card p {
  margin: 26px 0 0;
  color: rgba(176, 168, 160, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.project {
  height: 2160px;
  background: transparent;
  transition: height 360ms var(--ease-out);
}

.project:has(.project-card:hover),
.project:has(.project-card:focus-within),
.project:has(.project-card.is-detail-active) {
  height: 2760px;
}

.project .container {
  position: relative;
  height: 100%;
}

.project-heading {
  position: absolute;
  top: 120px;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 833px 472px;
  gap: 135px;
  align-items: end;
}

.project-heading .section-title {
  margin-top: 32px;
  font-size: clamp(46px, 3.75vw, 72px);
  line-height: 1.184;
  letter-spacing: -4.26px;
}

.project-subtitle {
  width: 472px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 500;
  line-height: 33px;
}

.project-list {
  position: absolute;
  top: 520px;
  left: 0;
  display: grid;
  width: 100%;
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 231px;
  grid-template-columns: 100px minmax(0, 1fr) 52px;
  grid-template-rows: minmax(231px, auto) auto;
  column-gap: clamp(36px, 7vw, 144px);
  align-items: center;
  padding: 0 clamp(32px, 4.2vw, 80px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  cursor: default;
  transition:
    transform 240ms var(--ease-out),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    opacity 220ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.project-main {
  display: contents;
}

.project-number {
  position: static;
  color: white;
  font-size: clamp(30px, 2.1vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
}

.project-card h3 {
  margin: 0;
  color: white;
  font-size: clamp(38px, 3.23vw, 62px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2.27px;
  transition: transform var(--motion-normal) var(--ease-out-soft);
}

.project-card:hover h3,
.project-card:focus-within h3,
.project-card.is-detail-active h3 {
  transform: translateY(var(--motion-lift-md));
}

.case-btn {
  position: static;
  width: 52px;
  height: 52px;
  min-width: 52px;
  justify-self: end;
  gap: 0;
  padding: 0;
  border: 1px solid var(--glass-border-soft);
  border-radius: 50%;
  background: var(--glass-bg-soft);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0;
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  overflow: hidden;
  transition:
    width var(--motion-normal) var(--ease-out-soft),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    gap 220ms ease;
}

.case-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: transform var(--motion-fast);
}

.case-link-icon {
  border-radius: 50%;
}

.project-more-button {
  cursor: pointer;
}

.project-more-text {
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    max-width var(--motion-normal) var(--ease-out-soft),
    opacity 180ms ease;
}

.project-card:hover .project-more-button,
.project-card:focus-within .project-more-button,
.project-card.is-detail-active .project-more-button,
.project-more-button:focus-visible {
  width: 132px;
  gap: 8px;
  border-radius: var(--radius-pill);
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.046)),
    rgba(255, 255, 255, 0.08);
  color: white;
}

.project-card:hover .project-more-text,
.project-card:focus-within .project-more-text,
.project-card.is-detail-active .project-more-text,
.project-more-button:focus-visible .project-more-text {
  max-width: 74px;
  opacity: 1;
}

.project-card:hover .project-more-button img,
.project-card:focus-within .project-more-button img,
.project-card.is-detail-active .project-more-button img,
.project-more-button:focus-visible img {
  transform: translateX(2px);
}

.project-cover {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 0;
  max-height: 0;
  margin: 0;
  opacity: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transform: translateY(-8px);
  transition:
    height var(--motion-slow) var(--ease-out-soft),
    max-height var(--motion-slow) var(--ease-out-soft),
    margin var(--motion-slow) var(--ease-out-soft),
    opacity var(--motion-normal) ease,
    transform var(--motion-slow) var(--ease-out-soft),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.project-card:hover .project-cover,
.project-card:focus-within .project-cover,
.project-card.is-detail-active .project-cover {
  height: clamp(360px, 38vw, 680px);
  max-height: clamp(360px, 38vw, 680px);
  margin: 0 0 48px;
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 24px 80px rgba(0, 0, 0, 0.38);
  transform: translateY(0);
}

.project-list:has(.project-card:hover) .project-card:not(:hover),
.project-list:has(.project-card:focus-within) .project-card:not(:focus-within),
.project-list:has(.project-card.is-detail-active) .project-card:not(.is-detail-active) {
  opacity: 0.68;
}

.project-detail-open {
  overflow: hidden;
}

.project-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-normal) ease;
}

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

.project-detail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.project-detail-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(1120px, calc(100vw - 160px));
  max-height: calc(100vh - 80px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(12, 12, 16, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 34px 120px rgba(0, 0, 0, 0.58);
  transform: scale(0.98);
  transition: transform var(--motion-normal) var(--ease-out-soft);
}

.project-detail-modal.is-open .project-detail-panel {
  transform: scale(1);
}

.project-detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(10, 10, 12, 0.58);
  color: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 36px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.project-detail-close:hover,
.project-detail-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.project-detail-scroll {
  overflow-y: auto;
  max-height: calc(100vh - 80px);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.08);
}

.project-detail-scroll::-webkit-scrollbar {
  width: 8px;
}

.project-detail-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.project-detail-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.project-detail-scroll img {
  display: block;
  width: 100%;
  height: auto;
}

.strength {
  height: 1080px;
  background: transparent;
}

.strength-grid {
  display: grid;
  height: 100%;
  grid-template-columns: 466px 876px;
  gap: 98px;
  align-items: start;
}

.strength-copy {
  margin-top: 344px;
}

.strength-copy .section-label {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0;
}

.accent-line {
  display: block;
  width: 37px;
  height: 2px;
  margin: 23px 0 35px;
  background: var(--accent);
}

.strength-copy .section-title {
  width: 466px;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -3px;
}

.strength-subtitle {
  width: 402px;
  margin: 30px 0 0;
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.strength-cards {
  display: grid;
  width: 876px;
  margin-top: 141px;
  grid-template-columns: repeat(2, 426px);
  gap: 24px;
}

.strength-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 374px;
  padding: 32px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform var(--motion-medium), border-color var(--motion-medium), box-shadow var(--motion-medium), background var(--motion-medium);
}

.strength-feature {
  border: 1px solid transparent;
  background:
    radial-gradient(circle at 7% 0%, rgba(255, 77, 77, 0.3), transparent 38%) padding-box,
    radial-gradient(circle at 100% 100%, rgba(122, 99, 255, 0.22), transparent 42%) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.032)) padding-box,
    rgba(18, 19, 23, 0.46) padding-box,
    linear-gradient(135deg, rgba(255, 77, 77, 0.74), rgba(142, 84, 255, 0.58) 55%, rgba(63, 136, 255, 0.44)) border-box;
  box-shadow:
    0 0 42px rgba(255, 77, 77, 0.18),
    0 0 72px rgba(122, 99, 255, 0.12),
    var(--glass-shadow);
}

.strength-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(255, 77, 77, 0.11), transparent 38%),
    linear-gradient(315deg, rgba(63, 136, 255, 0.1), transparent 46%);
  pointer-events: none;
}

.strength-feature > * {
  position: relative;
  z-index: 1;
}

.card-heading {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  align-items: start;
}

.strength-card-header {
  flex-shrink: 0;
}

.card-heading img {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  object-fit: contain;
}

.card-heading h3 {
  margin: -1px 0 0;
  color: white;
  font-size: 23px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0;
}

.strength-description,
.strength-card p.strength-description {
  width: 100%;
  max-width: 362px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  text-decoration: none;
}

.strength-feature .strength-description {
  margin-top: 24px;
}

.strength-card,
.strength-card p,
.strength-card span {
  text-decoration: none;
}

.strength-divider {
  width: 100%;
  height: 1px;
  flex-shrink: 0;
  margin: 30px 0 20px;
  background: rgba(255, 255, 255, 0.28);
}

.strength-tags,
.strength-card .chip-row {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 0;
  border-top: 0;
  text-decoration: none;
}

.strength-tags span,
.strength-card .chip-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.contact {
  height: 1080px;
  background: transparent;
}

.contact .container {
  padding-top: 213px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  height: 654px;
  padding: 136px 164px 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    url("./assets/background/06-contact-card-bg.png") center / cover no-repeat,
    rgba(16, 17, 22, 0.46);
  box-shadow:
    var(--glass-shadow),
    0 24px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-align: center;
}

.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(82px);
  pointer-events: none;
}

.contact-card::before {
  top: -284px;
  left: 87px;
  background: rgba(185, 29, 42, 0.32);
}

.contact-card::after {
  right: -152px;
  bottom: -270px;
  background: rgba(88, 77, 255, 0.3);
}

.contact-card h2,
.contact-card > p,
.contact-actions,
.contact-divider,
.contact-footer {
  position: relative;
  z-index: 2;
}

.contact-card h2 {
  margin: 0;
  color: rgba(255, 245, 245, 0.92);
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.contact-card > p {
  width: 849px;
  margin: 24px auto 0;
  color: var(--text-soft);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 58px;
}

.contact-btn {
  width: 179px;
  height: 63px;
  gap: 12px;
  padding: 0 28px;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(255, 77, 77, 0.18);
  font-size: 20px;
}

.contact-btn img {
  width: 20px;
  height: 20px;
}

.secondary-btn {
  width: 244px;
  height: 63px;
  padding: 0 26px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-soft);
  color: rgba(226, 226, 232, 0.78);
  font-size: 20px;
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.contact-divider {
  height: 1px;
  margin: 101px 0 0;
  background: rgba(255, 255, 255, 0.42);
}

.contact-footer {
  display: flex;
  height: 126px;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 18px;
  font-weight: 500;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 50px;
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: color var(--motion-fast), opacity var(--motion-fast);
}

.contact-info a:hover,
.contact-info a:focus-visible {
  color: white;
  opacity: 0.82;
}

.contact-info img {
  width: 24px;
  height: 24px;
  opacity: 0.9;
}

.contact-footer small {
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 400;
}

.info-card.glow-card,
.project-card.glow-card,
.strength-card.glow-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  isolation: isolate;
}

.info-card.glow-card::after,
.project-card.glow-card::after,
.strength-card.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(
      420px circle at var(--mouse-x) var(--mouse-y),
      rgba(255, 77, 77, 0.17),
      rgba(122, 99, 255, 0.12) 30%,
      transparent 64%
    );
  transition: opacity var(--motion-fast);
}

.info-card.glow-card:hover::after,
.info-card.glow-card:focus-within::after,
.project-card.glow-card:hover::after,
.project-card.glow-card:focus-visible::after,
.project-card.glow-card:focus-within::after,
.strength-card.glow-card:hover::after,
.strength-card.glow-card:focus-within::after {
  opacity: 1;
}

.info-card > *,
.strength-card > *,
.project-number,
.project-card h3,
.case-btn {
  position: relative;
  z-index: 1;
}

.info-card:hover,
.info-card:focus-within,
.project-card:hover,
.project-card:focus-within,
.project-card:focus-visible,
.project-card.is-detail-active,
.strength-card:hover,
.strength-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 22px 74px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(255, 77, 77, 0.08);
}

.project-card:hover .case-btn,
.project-card:focus-within .case-btn,
.project-card:focus-visible .case-btn,
.project-card.is-detail-active .case-btn,
.case-btn:hover,
.case-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.046)),
    rgba(255, 255, 255, 0.08);
  color: white;
}

.contact-btn:hover,
.contact-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 77, 77, 0.34), 0 18px 46px rgba(255, 77, 77, 0.2);
}

.secondary-btn:hover,
.secondary-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 52px rgba(0, 0, 0, 0.34);
}

.contact-card.glow-card {
  transition: border-color var(--motion-medium), box-shadow var(--motion-medium);
}

.contact-card.glow-card:hover,
.contact-card.glow-card:focus-within {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    var(--glass-shadow),
    0 28px 96px rgba(0, 0, 0, 0.36),
    0 0 42px rgba(122, 99, 255, 0.1);
}

@media (max-width: 1600px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 96px), var(--container));
  }

  .hero h1 {
    font-size: 104px;
  }

  .about-grid {
    grid-template-columns: 420px 1fr;
    gap: 96px;
  }

  .portrait-card {
    width: 420px;
    height: 526px;
  }

  .about-content .section-title,
  .about-content .body-copy {
    width: auto;
  }

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

  .project-heading {
    grid-template-columns: 1fr 420px;
    gap: 80px;
  }

  .project-subtitle {
    width: auto;
  }

  .strength-grid {
    grid-template-columns: 400px 1fr;
    gap: 60px;
  }

  .strength-cards {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 64px), var(--container));
  }

  .section {
    overflow: visible;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    padding: 160px 0 120px;
  }

  .hero-inner {
    display: flex;
    height: auto;
    min-height: calc(100svh - 280px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-tag,
  .hero h1,
  .hero-subtitle,
  .hero .primary-btn {
    position: static;
    transform: none;
  }

  .hero h1 {
    margin-top: 72px;
    font-size: clamp(58px, 9vw, 96px);
  }

  .hero-subtitle {
    width: min(709px, 92vw);
    margin-top: 32px;
  }

  .hero .primary-btn {
    margin-top: 86px;
  }

  .hero .primary-btn:hover,
  .hero .primary-btn:focus-visible {
    transform: translateY(-2px);
  }

  .about,
  .project,
  .strength,
  .contact {
    height: auto;
    padding: 140px 0;
  }

  .project:has(.project-card:hover),
  .project:has(.project-card:focus-within),
  .project:has(.project-card.is-detail-active) {
    height: auto;
  }

  .about-grid {
    position: static;
    grid-template-columns: minmax(0, 1fr);
    gap: 72px;
  }

  .portrait-card {
    width: min(451px, 100%);
    height: auto;
    aspect-ratio: 451 / 564;
  }

  .about-content {
    padding-top: 0;
    min-height: auto;
  }

  .about-content .section-title,
  .about-content .body-copy {
    width: min(760px, 100%);
  }

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

  .project .container {
    height: auto;
  }

  .project-heading {
    position: static;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .project-subtitle {
    width: min(620px, 100%);
    margin: 0;
  }

  .project-list {
    position: static;
    margin-top: 70px;
  }

  .project-card {
    grid-template-columns: 72px minmax(0, 1fr) 52px;
    column-gap: 28px;
    padding: 40px;
  }

  .case-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .strength-grid {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .strength-copy {
    margin-top: 0;
  }

  .strength-copy .section-title,
  .strength-subtitle {
    width: min(620px, 100%);
  }

  .strength-cards {
    width: 100%;
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strength-card {
    height: auto;
    min-height: 374px;
  }

  .strength-card p {
    width: 100%;
  }

  .contact {
    padding-bottom: 120px;
  }

  .contact .container {
    padding-top: 0;
  }

  .contact-card {
    height: auto;
    min-height: 654px;
    padding: 120px 64px 0;
  }

  .contact-card h2 {
    font-size: clamp(48px, 6vw, 76px);
  }

  .contact-card > p {
    width: min(849px, 100%);
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
  }

  .nav-shell {
    width: calc(100% - 32px);
    height: 64px;
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    top: 88px;
    right: 16px;
    left: 16px;
    z-index: 999;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.035)),
      rgba(8, 8, 10, 0.76);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 4px;
  }

  .mobile-menu a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 18px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 600;
  }

  .mobile-menu .mobile-nav-link:hover,
  .mobile-menu .mobile-nav-link:focus-visible,
  .mobile-menu .mobile-nav-link.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: white;
  }

  .nav-contact {
    width: 92px;
    height: 34px;
  }

  .section-label {
    font-size: clamp(28px, 8vw, 42px);
  }

  .section-title,
  .about-content .section-title {
    letter-spacing: -2px;
  }

  .info-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-card {
    height: auto;
    min-height: 150px;
  }

  .project-card {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    gap: 22px;
    padding: 32px;
  }

  .project-number {
    font-size: 30px;
  }

  .project-card h3 {
    font-size: clamp(34px, 8vw, 48px);
    letter-spacing: -1.4px;
  }

  .case-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    justify-self: start;
    padding: 0;
  }

  .case-btn img {
    width: 16px;
    height: 16px;
  }

  .strength-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    padding: 92px 34px 0;
  }

  .contact-actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .contact-footer {
    height: auto;
    min-height: 126px;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    text-align: center;
  }

  .contact-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav-links a:not(.nav-contact) {
    display: none;
  }

  .hero {
    padding: 132px 0 88px;
  }

  .hero h1 {
    margin-top: 56px;
    font-size: clamp(42px, 13vw, 64px);
    letter-spacing: -1.8px;
  }

  .hero-tag {
    max-width: 100%;
    height: auto;
    min-height: 44px;
    padding: 10px 16px;
    white-space: normal;
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero .primary-btn {
    margin-top: 64px;
  }

  .about,
  .project,
  .strength,
  .contact {
    padding: 96px 0;
  }

  .name-block {
    font-size: 40px;
  }

  .project-heading .section-title {
    letter-spacing: -2.2px;
  }

  .project-list {
    margin-top: 46px;
  }

  .strength-card {
    min-height: 360px;
    padding: 28px;
  }

  .card-heading {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 18px;
  }

  .card-heading h3 {
    font-size: 21px;
    line-height: 28px;
  }

  .contact-card {
    min-height: 620px;
    padding: 76px 24px 0;
  }

  .contact-card h2 {
    font-size: 42px;
  }

  .contact-card > p {
    font-size: 17px;
  }

  .contact-divider {
    margin-top: 76px;
  }
}

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

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

  .reveal,
  .reveal-card {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .cursor-glow {
    display: none;
  }

  .hero .primary-btn:hover,
  .hero .primary-btn:focus-visible,
  .info-card:hover,
  .info-card:focus-within,
  .project-card:hover,
  .project-card:focus-visible,
  .project-card.is-detail-active,
  .strength-card:hover,
  .strength-card:focus-within,
  .contact-btn:hover,
  .contact-btn:focus-visible,
  .secondary-btn:hover,
  .secondary-btn:focus-visible {
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}
