:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --text: #333333;
  --muted: #666666;
  --faint: #a0a0a0;
  --line: #e0e0e0;
  --soft: #fafafa;
  --soft-2: #f5f5f5;
  --placeholder: #eeeeee;
  --accent: #69b3f4;
  --dark: #1a1a1a;
  --pink: #fdf1f5;
  --blue: #f0f8fd;
  --green: #f0fbf3;
  --purple: #f7f1ff;
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.container {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 80px;
  padding: 0 max(40px, calc((100vw - 1440px) / 2 + 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}
.nav-links a,
.nav-item > a {
  position: relative;
  padding: 30px 0;
}
.nav-links > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 220ms ease;
}
.nav-links > a:hover::after,
.nav-item:hover > a::after { width: 100%; }
.nav-item {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  width: 250px;
  padding: 14px 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown a {
  display: block;
  padding: 12px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: var(--ink);
  background: var(--soft);
}

.home-hero {
  position: relative;
  min-height: 680px;
  padding: 108px 0 88px;
  margin-top: 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}
.home-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(245, 249, 255, 0.48), #fff 42%, rgba(255, 247, 251, 0.42));
}
.hero-aurora {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.84;
  filter: saturate(106%);
  pointer-events: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(ellipse 44% 56% at 52% 48%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 72%),
    rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.cover-layout {
  position: relative;
  z-index: 3;
  width: min(1040px, calc(100% - 56px));
  margin: 0 auto;
  text-align: center;
}
.cover-index {
  width: min(880px, 100%);
  margin: 0 auto 28px;
  color: #9c9c9c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 6px;
  text-align: left;
}
.cover-layout h1 {
  width: min(880px, 100%);
  margin: 0 auto;
  color: var(--ink);
  line-height: 1.02;
}
.cover-layout h1 span,
.cover-layout h1 strong {
  display: block;
  letter-spacing: 1px;
}
.cover-layout h1 span {
  color: #383838;
  margin-bottom: 0;
  font-size: clamp(68px, 8vw, 96px);
  font-weight: 500;
  line-height: 0.98;
  text-align: left;
}
.cover-layout h1 strong {
  margin-top: 18px;
  color: #363636;
  font-size: clamp(48px, 5.5vw, 66px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 7px;
  text-align: right;
}
.cover-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 52px;
}
.cover-categories span {
  min-width: 88px;
  padding: 10px 20px;
  border: 1px solid rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: #222;
  font-size: 13px;
  line-height: 1;
}
.cover-note {
  margin: 42px auto 0;
  color: #9b9b9b;
  font-size: 15px;
  line-height: 1.7;
}
.orb {
  display: none;
}
.orb-a { width: 600px; height: 600px; left: 12%; top: 8%; background: rgba(147, 51, 234, 0.1); animation-name: soft-drift-a; }
.orb-b { width: 520px; height: 520px; right: 17%; top: 34%; background: rgba(59, 130, 246, 0.1); animation-name: soft-drift-b; animation-duration: 27s; }
.orb-c { width: 700px; height: 700px; left: 30%; bottom: -14%; background: rgba(236, 72, 153, 0.09); animation-name: soft-drift-c; animation-duration: 31s; }
.orb-d { width: 450px; height: 450px; right: 8%; top: 14%; background: rgba(34, 197, 94, 0.09); animation-name: soft-drift-d; animation-duration: 25s; }
.orb-e { width: 540px; height: 540px; left: 2%; bottom: 8%; background: rgba(249, 115, 22, 0.07); animation-name: soft-drift-e; animation-duration: 29s; }

@keyframes soft-drift-a {
  0% { transform: translate3d(-4%, -3%, 0) scale(0.96); }
  50% { transform: translate3d(11%, 7%, 0) scale(1.08); }
  100% { transform: translate3d(3%, 13%, 0) scale(1.02); }
}
@keyframes soft-drift-b {
  0% { transform: translate3d(8%, -5%, 0) scale(1.04); }
  50% { transform: translate3d(-10%, 8%, 0) scale(0.94); }
  100% { transform: translate3d(-3%, -11%, 0) scale(1.1); }
}
@keyframes soft-drift-c {
  0% { transform: translate3d(-7%, 6%, 0) scale(1); }
  50% { transform: translate3d(9%, -8%, 0) scale(1.1); }
  100% { transform: translate3d(14%, 4%, 0) scale(0.95); }
}
@keyframes soft-drift-d {
  0% { transform: translate3d(5%, 10%, 0) scale(0.96); }
  50% { transform: translate3d(-12%, -7%, 0) scale(1.12); }
  100% { transform: translate3d(8%, -12%, 0) scale(1); }
}
@keyframes soft-drift-e {
  0% { transform: translate3d(-6%, 4%, 0) scale(1.08); }
  50% { transform: translate3d(12%, -10%, 0) scale(0.96); }
  100% { transform: translate3d(2%, 11%, 0) scale(1.04); }
}

.quote-section {
  min-height: 420px;
  padding: 80px 28px;
  display: grid;
  place-items: center;
}
.quote-section p {
  width: min(500px, calc(100% - 100px));
  max-width: 500px;
  margin: 0 50px;
  text-align: center;
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: 2px;
}

.process-dashboard {
  min-height: 900px;
  padding: 72px 0 64px;
  scroll-margin-top: 80px;
  background: #fff;
  color: #171717;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
}
.process-dashboard-inner {
  width: min(1520px, calc(100% - 80px));
  margin: 0 auto;
}
.process-dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 60px;
}
.process-title-en {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -2.4px;
}
.process-dashboard-head h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -1px;
}
.process-summary {
  margin: 20px 0 0;
  color: #737373;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.3px;
}
.process-stage-count {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 18px;
  min-width: 455px;
}
.process-stage-count .process-arrow {
  font-size: clamp(68px, 7vw, 116px);
  line-height: 0.8;
  font-weight: 300;
}
.process-stage-count strong {
  font-size: clamp(92px, 11vw, 176px);
  line-height: 0.72;
  font-weight: 400;
  letter-spacing: -10px;
}
.process-stage-count p {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.55;
}
.process-rail {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.process-rail li {
  min-width: 0;
  min-height: 170px;
  padding: 16px 18px;
  border-left: 1px dashed #d6d6d6;
  outline: none;
  transition: background 260ms ease, transform 260ms ease;
}
.process-rail li:last-child {
  border-right: 1px dashed #d6d6d6;
}
.process-rail li:hover,
.process-rail li:focus-visible {
  background:
    linear-gradient(
      135deg,
      rgba(184, 214, 255, 0.28),
      rgba(244, 215, 255, 0.24) 42%,
      rgba(255, 211, 230, 0.22) 68%,
      rgba(204, 240, 224, 0.25)
    );
  transform: translateY(-2px);
}
.process-rail li:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(117, 71, 255, 0.62);
}
.process-index {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}
.process-rail h3 {
  min-height: 44px;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}
.process-rail p {
  margin: 3px 0 0;
  color: #737373;
  font-size: 11px;
  line-height: 1.35;
}
.process-bar {
  position: relative;
  height: 10px;
  margin-top: 34px;
  overflow: hidden;
  background: #ededed;
}
.process-bar i {
  display: block;
  width: var(--stage-progress);
  height: 100%;
  background: #7547ff;
}
.process-axis {
  position: relative;
  height: 52px;
  margin: 0 16px 34px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  border-bottom: 1px solid #7547ff;
}
.process-axis i {
  position: relative;
  display: block;
  height: 42px;
  border-right: 1px dotted #a9a9a9;
}
.process-axis i::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7547ff;
}
.process-table-wrap {
  border-top: 1px solid #9f9f9f;
}
.process-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
  line-height: 1.35;
}
.process-table th,
.process-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #dedede;
  text-align: left;
  vertical-align: top;
}
.process-table thead th {
  padding-top: 12px;
  color: #171717;
  font-weight: 600;
}
.process-table tbody th {
  width: 19%;
  font-weight: 500;
}
.process-table td {
  color: #5d5d5d;
}
.process-table th:nth-child(1) { width: 19%; }
.process-table th:nth-child(2) { width: 29%; }
.process-table th:nth-child(3) { width: 28%; }
.process-table th:nth-child(4) { width: 24%; }

@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
  }
  .process-rail li {
    transition: none;
  }
}

.section {
  padding: 118px 0;
}
.section-heading {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto 76px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.section-heading.centered {
  display: block;
  text-align: center;
}
.section-heading p {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
}
.section-heading h2 {
  margin: 0 0 7px;
  font-size: 18px;
  color: var(--faint);
  font-weight: 400;
}
.section-heading.centered h2 { margin-top: 14px; }
.philosophy .section-heading p {
  border: 0;
  font-weight: 600;
}

.principle-grid {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.principle-grid article {
  position: relative;
  padding-top: 4px;
}
.icon-badge {
  width: 76px;
  height: 76px;
  margin-bottom: 30px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(105, 179, 244, 0.11), rgba(253, 241, 245, 0.22)),
    #fff;
}
.icon-badge svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.principle-grid h3,
.project-card h3,
.about-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.principle-grid h3 {
  min-height: 48px;
}
.principle-grid p,
.project-card p,
.about-card p,
.about-card li {
  margin: 0;
  color: var(--faint);
  font-size: 16px;
  line-height: 1.8;
}

.category-grid {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.category-card {
  display: block;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow 260ms ease, transform 260ms ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.cat-decor {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--placeholder);
}
.cat-decor img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms ease;
}
.category-card:hover .cat-decor img {
  transform: scale(1.025);
}
.pink .cat-decor { background: var(--pink); }
.blue .cat-decor { background: var(--blue); }
.green .cat-decor { background: var(--green); }
.purple .cat-decor { background: var(--purple); }
.cat-content { padding: 40px; }
.cat-content strong {
  display: block;
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 800;
}
.cat-content span {
  display: block;
  color: var(--faint);
  font-size: 16px;
  line-height: 1.7;
}

.featured-grid {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.project-card {
  min-width: 0;
  background: #080808;
  overflow: hidden;
}
.image-placeholder,
.img-placeholder {
  display: grid;
  place-items: center;
  background: var(--placeholder);
  color: var(--faint);
  font-size: 15px;
  letter-spacing: 1px;
}
.image-placeholder {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
}
.featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border: 0;
  transform: scale(1.01);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.featured-media {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #080808;
  color: #fff;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.featured-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.54);
  transition: opacity 450ms ease;
}
.featured-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: min(820px, calc(100% - 80px));
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  pointer-events: none;
  transition: opacity 350ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.featured-overlay strong {
  display: block;
  color: #fff;
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}
.featured-en {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 2px;
}
.featured-description {
  max-width: 680px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0;
}
.featured-media:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -8px;
}
.featured-media.is-clear::after,
.featured-media.is-clear .featured-overlay {
  opacity: 0;
}
.featured-media.is-clear .featured-overlay {
  transform: translateY(12px);
}
.featured-media.is-clear .featured-image {
  transform: scale(1);
}
.featured-media:hover::after,
.featured-media:hover .featured-overlay {
  opacity: 0;
}
.featured-media:hover .featured-overlay {
  transform: translateY(12px);
}
.featured-media:hover .featured-image {
  transform: scale(1);
}

.about-section {
  padding: 120px 0 132px;
  background: var(--soft);
}
.about-text-layout {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1.45fr;
  gap: 88px;
  align-items: start;
}
.about-intro span {
  display: block;
  margin-bottom: 24px;
  color: var(--faint);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.about-intro p {
  margin: 0;
  padding-top: 0;
  color: var(--text);
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.55;
  letter-spacing: 1px;
}
.about-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 58px;
}
.about-columns h3 {
  margin: 0 0 24px;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.about-columns p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.about-columns strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 700;
}
.experience-list {
  display: grid;
  gap: 34px;
}
.experience-item {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.experience-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.experience-item strong {
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 1px;
}
.experience-item h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.cta,
.projects-cta {
  padding: 155px 0;
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.cta h2,
.projects-cta h2 {
  margin: 0 0 48px;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 4px;
}
.cta a,
.projects-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 20px 50px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  transition: background 220ms ease, color 220ms ease;
}
.cta a:hover,
.projects-cta a:hover {
  background: #fff;
  color: var(--dark);
}

.footer {
  padding: 72px max(40px, calc((100vw - 1440px) / 2 + 40px));
  display: grid;
  grid-template-columns: 1.3fr auto auto;
  gap: 70px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
.footer strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: 2px;
}
.footer nav {
  display: grid;
  gap: 14px;
}
.footer nav span:first-child {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.projects-page {
  padding-top: 80px;
}
.projects-hero {
  padding: 118px 0 100px;
  background: var(--soft-2);
}
.breadcrumb {
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 14px;
}
.projects-hero h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(70px, 8vw, 120px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1px;
}
.project-summary {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 24px;
}
.project-hero-copy {
  max-width: 760px;
  margin: 0 0 70px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.filter-row a {
  padding: 15px 34px;
  border: 1px solid #999;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.filter-row a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.project-float-nav {
  position: sticky;
  z-index: 30;
  top: 94px;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 56px;
  margin: 22px auto -78px;
  padding: 6px;
  display: flex;
  align-items: stretch;
  gap: 5px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 36px rgba(30, 30, 30, 0.1);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.project-float-nav a {
  min-width: max-content;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(40, 40, 40, 0.1);
  border-radius: 6px;
  color: #333;
  background: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 500;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.project-float-nav .float-brand {
  width: 52px;
  padding: 0;
  color: #444;
  background:
    linear-gradient(
      135deg,
      rgba(236, 72, 153, 0.3),
      rgba(139, 92, 246, 0.26) 35%,
      rgba(59, 130, 246, 0.24) 67%,
      rgba(34, 197, 94, 0.22)
    );
  border-color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  font-weight: 700;
}
.project-float-nav .float-category:hover,
.project-float-nav .float-category:focus-visible {
  border-color: rgba(71, 85, 105, 0.28);
  background: rgba(255, 255, 255, 0.92);
}
.project-float-nav .float-category.is-active {
  color: #222;
  border-color: rgba(139, 92, 246, 0.12);
  background:
    linear-gradient(
      115deg,
      rgba(253, 241, 245, 0.72),
      rgba(240, 248, 253, 0.72) 52%,
      rgba(240, 251, 243, 0.72)
    );
  box-shadow: inset 0 -2px 0 rgba(139, 92, 246, 0.2);
}
.back-to-top {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(45, 45, 45, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #333;
  box-shadow: 0 12px 30px rgba(30, 30, 30, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(45, 45, 45, 0.28);
  background: rgba(255, 255, 255, 0.96);
}
.back-to-top:focus-visible {
  outline: 2px solid #333;
  outline-offset: 3px;
}
.back-to-top svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.project-category {
  padding: 145px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 168px;
}
.project-category.tint-purple { background: linear-gradient(180deg, #f7f1ff 0, #fff 380px); }
.project-category.tint-pink { background: linear-gradient(180deg, #fdf1f5 0, #fff 380px); }
.project-category.tint-blue { background: linear-gradient(180deg, #f0f8fd 0, #fff 380px); }
.project-category.tint-green { background: linear-gradient(180deg, #f0fbf3 0, #fff 380px); }
.category-heading {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 100px;
}
.category-heading span {
  color: var(--ink);
  font-size: clamp(64px, 6vw, 86px);
  line-height: 0.82;
  font-weight: 900;
}
.category-heading h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
}
.category-heading h2 small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 400;
}
.category-intro {
  max-width: 860px;
  margin: -62px 0 92px 126px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.result-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -58px 0 92px 126px;
}
.result-strip span {
  padding: 9px 16px;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 13px;
}
.product-item {
  margin-bottom: 112px;
  padding-bottom: 112px;
  border-bottom: 1px solid var(--line);
}
.product-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.product-title {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 34px;
  margin-bottom: 48px;
}
.product-number {
  padding-top: 3px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
  font-weight: 300;
}
.product-copy {
  max-width: 820px;
}
.product-title h3 {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 800;
}
.product-title p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.product-title p:last-child {
  margin-bottom: 0;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag-row span {
  padding: 6px 16px;
  border-radius: 4px;
  background: var(--soft-2);
  color: var(--muted);
  font-size: 14px;
}
.image-count {
  color: var(--faint);
  font-size: 15px;
  white-space: nowrap;
}
.img-placeholder {
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
}
.waterfall-images {
  display: grid;
  gap: 28px;
}
.project-image {
  width: 100%;
  height: auto;
  display: block;
  background: var(--placeholder);
}
.project-video {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}
.img-placeholder.large {
  width: 100%;
  min-height: min(760px, 52vw);
  border-radius: 0;
  font-size: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(0, 0, 0, 0.018)),
    var(--placeholder);
}
.grid-1-3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 260px);
  gap: 24px;
}
.grid-1-3 .main { grid-row: 1 / -1; }
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-2x2 .img-placeholder { min-height: 430px; }
.grid-wide-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-wide-2 .wide {
  grid-column: 1 / -1;
  min-height: 520px;
}
.grid-wide-2 .sub { min-height: 360px; }
.grid-1x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-1x2 .img-placeholder { min-height: 520px; }
.grid-1x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-1x3 .img-placeholder { min-height: 400px; }
.grid-complex-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 360px);
  gap: 24px;
}
.grid-complex-5 .main {
  grid-column: span 2;
  grid-row: span 2;
}
.grid-complex-6 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 330px);
  gap: 24px;
}
.grid-complex-6 .main1,
.grid-complex-6 .main2 { grid-column: span 2; }

@media (max-width: 980px) {
  .container,
  .section-heading,
  .principle-grid,
  .category-grid,
  .featured-grid,
  .about-text-layout {
    width: min(100% - 44px, 720px);
  }
  .topbar {
    height: auto;
    min-height: 80px;
    padding: 18px 22px;
    align-items: flex-start;
    gap: 18px;
  }
  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
  }
  .nav-dropdown {
    left: auto;
    right: 0;
    transform: translate(0, 10px);
  }
  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    transform: translate(0, 0);
  }
  .home-hero {
    min-height: 640px;
    padding: 88px 0 70px;
  }
  .quote-section { padding: 90px 22px 70px; }
  .process-dashboard {
    min-height: 0;
    padding: 72px 0 56px;
    scroll-margin-top: 116px;
  }
  .process-dashboard-inner {
    width: min(100% - 44px, 720px);
  }
  .process-dashboard-head {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .process-stage-count {
    min-width: 0;
    justify-content: start;
  }
  .process-rail {
    grid-template-columns: repeat(7, minmax(160px, 1fr));
    gap: 0;
    overflow-x: auto;
    padding-bottom: 14px;
  }
  .process-rail li {
    border-right: 1px dashed #d6d6d6;
  }
  .process-axis {
    display: none;
  }
  .process-table-wrap {
    margin-top: 54px;
    overflow-x: auto;
  }
  .process-table {
    min-width: 900px;
  }
  .section-heading {
    display: block;
    margin-bottom: 44px;
  }
  .section-heading h2 { margin-top: 12px; }
  .principle-grid,
  .category-grid,
  .featured-grid,
  .about-text-layout,
  .about-columns,
  .footer,
  .grid-1-3,
  .grid-2x2,
  .grid-wide-2,
  .grid-1x2,
  .grid-1x3,
  .grid-complex-5,
  .grid-complex-6 {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    gap: 24px;
  }
  .featured-overlay {
    width: calc(100% - 36px);
    gap: 8px;
  }
  .featured-overlay strong {
    font-size: clamp(27px, 8vw, 44px);
  }
  .featured-en {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .featured-description {
    max-width: 520px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.5;
  }
  .grid-1-3,
  .grid-complex-5,
  .grid-complex-6 { grid-template-rows: none; }
  .grid-1-3 .main,
  .grid-complex-5 .main,
  .grid-complex-6 .main1,
  .grid-complex-6 .main2,
  .grid-wide-2 .wide {
    grid-column: auto;
    grid-row: auto;
  }
  .project-title,
  .category-heading {
    display: block;
  }
  .product-title {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
  }
  .product-number {
    font-size: 32px;
  }
  .image-count {
    grid-column: 2;
  }
  .category-heading span { display: block; margin-bottom: 20px; }
  .category-intro,
  .result-strip {
    margin: -18px 0 56px;
  }
  .image-count { display: block; margin-top: 12px; }
}

@media (max-width: 560px) {
  .topbar { position: sticky; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .home-hero {
    min-height: 580px;
    padding: 72px 0 60px;
  }
  .cover-layout h1 span {
    font-size: clamp(42px, 13vw, 54px);
    text-align: center;
  }
  .cover-layout h1 strong {
    margin-top: 12px;
    font-size: 36px;
    letter-spacing: 4px;
    text-align: center;
  }
  .cover-index {
    text-align: center;
  }
  .quote-section p {
    width: calc(100% - 44px);
    margin-right: 22px;
    margin-left: 22px;
    font-size: 20px;
    letter-spacing: 1px;
  }
  .process-dashboard-inner {
    width: calc(100% - 32px);
  }
  .process-title-en {
    font-size: 34px;
    letter-spacing: -1.2px;
  }
  .process-dashboard-head h2 {
    font-size: 30px;
  }
  .process-stage-count {
    grid-template-columns: auto auto;
    gap: 12px;
  }
  .process-stage-count strong {
    font-size: 96px;
    letter-spacing: -6px;
  }
  .process-stage-count .process-arrow {
    font-size: 64px;
  }
  .process-stage-count p {
    grid-column: 1 / -1;
    margin: 0;
  }
  .process-rail {
    grid-template-columns: 1fr;
    overflow-x: visible;
    padding-bottom: 0;
  }
  .process-rail li,
  .process-rail li:nth-child(even),
  .process-rail li:last-child {
    min-height: 145px;
    border-right: 1px dashed #d6d6d6;
  }
  .cat-content,
  .about-card { padding: 26px; }
  .project-content { padding: 0 0 22px; }
  .project-category { padding: 86px 0; }
  .project-float-nav {
    top: 92px;
    max-width: calc(100% - 20px);
    min-height: 52px;
    margin-bottom: -68px;
    padding: 5px;
    gap: 4px;
  }
  .project-float-nav a {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }
  .project-float-nav .float-brand {
    width: 44px;
    font-size: 18px;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
  .product-item {
    margin-bottom: 70px;
    padding-bottom: 70px;
  }
  .img-placeholder,
  .img-placeholder.large,
  .grid-2x2 .img-placeholder,
  .grid-wide-2 .wide,
  .grid-wide-2 .sub,
  .grid-1x2 .img-placeholder,
  .grid-1x3 .img-placeholder {
    min-height: 260px;
  }
}
