/* ===== Font ===== */
@font-face {
  font-family: 'MiSans';
  src: url('assets/fonts/MiSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MiSans';
  src: url('assets/fonts/MiSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MiSans';
  src: url('assets/fonts/MiSans-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MiSans';
  src: url('assets/fonts/MiSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== Variables ===== */
:root {
  --paper: #FAFAF8;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-light: rgba(26, 26, 26, 0.5);
  --ink-muted: rgba(26, 26, 26, 0.25);
  --accent: #E0551F;
  --accent-rgb: 224, 85, 31;
  --accent-light: rgba(var(--accent-rgb), 0.06);
  --accent-mid: rgba(var(--accent-rgb), 0.12);
  --hairline: rgba(0, 0, 0, 0.08);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

html::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  z-index: 1001;
}

body {
  font-family: 'Inter', 'MiSans', "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

/* ===== Container ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== 1. Hero ===== */
.hero {
  padding: 80px 0 48px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 48px;
}

.hero-info {
  flex: 1;
  min-width: 0;
}

.hero-side {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.2);
  display: block;
}

.name {
  font-size: 72px;
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.title {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-light);
  margin-top: 4px;
}

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

.tool-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 16px;
}

.skill-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-light);
  padding: 2px 8px;
  background: transparent;
  border: 1px solid var(--hairline);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.skill-tags span img {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

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

.contact-qr {
  width: 72px;
  height: 72px;
  display: block;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

/* Big Data Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 88px;
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.metric-number strong {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.metric-number .arrow {
  font-size: 44px;
  font-weight: 200;
  color: var(--accent);
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 6px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.metric:first-child {
  border-left: 1px solid var(--accent);
  padding-left: 20px;
}

/* Work Type Dual Column */
.work-dual,
.work-triple {
  display: grid;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.work-dual {
  grid-template-columns: 1fr 1fr;
}

.work-triple {
  grid-template-columns: 1fr 1fr 1fr;
}

.work-col-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.work-col ul {
  list-style: none;
  padding: 0;
}

.work-col li {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.6;
  padding: 4px 0;
  padding-left: 12px;
  border-left: 1px solid var(--hairline);
  margin-bottom: 6px;
}

.work-col li strong {
  font-weight: 600;
  color: var(--ink);
}

/* ===== Sections ===== */
.section {
  padding: 0 0 140px 0;
}

.section-alt {
  background: rgba(0, 0, 0, 0.025);
}

/* ===== Chapter Head (全宽通栏标题) ===== */
.chapter-head {
  background: var(--accent);
  padding: 72px 0 36px;
  margin-bottom: 64px;
  width: 100%;
}

.chapter-head-num {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.chapter-head-title {
  font-size: 40px;
  font-weight: 200;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.chapter-head-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 640px;
}

#motion {
  padding-bottom: 0;
}

/* ===== 4. AE Masonry ===== */

/* ===== 2. Project Cards ===== */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-card {
  padding: 48px 0;
  border-bottom: 1px solid var(--hairline);
}

.project-card:last-child {
  border-bottom: none;
}

.project-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.project-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

.project-role,
.project-timeline,
.project-budget {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
}

.project-card h3 {
  font-size: 28px;
  font-weight: 200;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.project-card > p {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 24px;
}

/* Kicker */
.proj-kicker {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  margin-top: 32px;
}

.proj-summary {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.proj-summary-left .proj-summary {
  max-width: 380px;
}

.proj-summary-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: flex-start;
}

.proj-summary-right {
  flex-shrink: 0;
}

.proj-summary-right .proj-testimonial-img {
  max-width: 360px;
}

.proj-summary-right .proj-testimonial-note {
  margin-top: 6px;
  font-size: 12px;
}

/* Testimonial / Client Feedback */
.proj-testimonial-note {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 8px 0 0;
}

.proj-testimonial-img {
  max-width: 480px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: block;
}

/* Result Row — Bold: full-width stacked */
.proj-result {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.proj-result-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.proj-result-item:first-child {
  border-top: 1px solid var(--hairline);
}

.proj-result-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-width: 40px;
  flex-shrink: 0;
}

.proj-result-value {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Result Row — Neat: equal-height 3-col cards */
.proj-result--neat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
}

.proj-result--neat .proj-result-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 28px 24px;
  background: var(--white);
  border: none;
}

.proj-result--neat .proj-result-item:first-child {
  border-top: none;
}

.proj-result--neat .proj-result-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.proj-result--neat .proj-result-value {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
}

/* Dimension Section — 关键作用 */
.dim-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.dim-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: flex-start;
}

.dim-row--text {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.dim-text {
  padding-top: 4px;
}

.dim-text h4 {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  margin: 10px 0 14px;
  letter-spacing: -0.01em;
}

.dim-text p {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.7;
  margin: 0;
}

.dim-text p strong {
  font-weight: 600;
  color: var(--ink);
}

.dim-media {
  min-width: 0;
}

.dim-media > img,
.dim-media > .carousel + .carousel {
  margin-top: 0;
}

.dim-media img {
  width: 100%;
  height: auto;
  display: block;
  background: rgba(0, 0, 0, 0.03);
}

/* Carousel */
.carousel {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}

.carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dots button.active {
  background: rgba(255, 255, 255, 0.9);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: default;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: rgba(255, 255, 255, 0.95);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Image Wall */
.image-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.image-wall img {
  width: 100%;
  height: auto;
  display: block;
  background: rgba(0, 0, 0, 0.02);
}

.image-wall .ph-cell {
  aspect-ratio: 16 / 10;
  background: transparent;
  border: 1px dashed var(--hairline);
  transition: background 0.2s;
}

.image-wall .ph-cell:hover {
  background: rgba(var(--accent-rgb), 0.03);
  border-color: var(--accent);
}

/* batch-load placeholders */
.image-wall img[data-src] {
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.03);
  object-fit: cover;
}

/* ===== 3. AI Experience ===== */
.process-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.process-step {
  padding: 32px;
  background: var(--white);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.25;
}

/* Tool Tags (top) */
.ai-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Project Tags (bottom) */
.ai-project {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.ai-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
}

.ai-tag--tool {
  color: var(--ink-light);
  border: 1px solid var(--hairline);
}

.ai-tag--project {
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  font-size: 11px;
  padding: 3px 10px;
}

/* 16:9 Media Placeholder (for video) */
.ai-media {
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.03);
  border: 1px dashed var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ai-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ai-media-label {
  font-size: 15px;
  font-weight: 200;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  position: absolute;
}

.ai-media:has(video[src]) .ai-media-label {
  display: none;
}

/* Flow pipeline */
.ai-flow {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-light);
  line-height: 1.5;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.02);
  border-left: 2px solid var(--ink-muted);
}

.ai-mgmt {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

/* Value / result */
.ai-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ===== 4. AE Masonry ===== */
.masonry {
  position: relative;
}

.masonry-item {
  overflow: hidden;
}

.masonry-item video {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Supplementary ===== */
.supplementary {
  border-top: 1px solid var(--hairline);
  padding: 48px 0;
  margin-top: 48px;
}

.supplementary-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.supplementary-desc {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

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

.supplementary-item {
  position: relative;
}

.supplementary-item video {
  width: 100%;
  display: block;
  background: rgba(0, 0, 0, 0.03);
}

.supplementary-cap {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-top: 10px;
}

.supplementary-cap a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.supplementary-cap a:hover {
  text-decoration: underline;
}

.tag-erhuo {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  padding: 2px 6px;
  letter-spacing: 0.06em;
}

/* ===== 7. Onsite + Client Carousel ===== */
.onsite-badge-wall {
  position: relative;
  margin: 32px 0 64px;
}

.onsite-badge-wall img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--hairline);
}

.onsite-badge-caption {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  padding: 4px 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-marquee {
  overflow: hidden;
  padding: 16px 0;
  margin-top: 48px;
  border-top: 1px solid var(--hairline);
}

.client-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: client-scroll 20s linear infinite;
}

.client-marquee-track span {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@keyframes client-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Swiss Decorative ===== */
.swiss-accent-rule {
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin: 0;
}

.swiss-rule {
  width: 100%;
  height: 1px;
  background: var(--hairline);
  margin: 0;
}

/* ===== Footer ===== */
.footer {
  padding: 48px 0;
}

.footer p {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ===== Scroll Reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0.00s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.10s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.20s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.30s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.40s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.50s; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 0.55s; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 0.60s; }
[data-reveal-stagger].revealed > *:nth-child(9) { transition-delay: 0.65s; }
[data-reveal-stagger].revealed > *:nth-child(10) { transition-delay: 0.70s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 32px;
  }

  .hero-top {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  .name {
    font-size: 48px;
  }

  .title {
    font-size: 16px;
  }

  .subtitle {
    font-size: 12px;
  }

  .hero-photo {
    width: 64px;
    height: 64px;
  }

  .hero-side {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .contact {
    align-items: flex-start;
  }

  .contact-text {
    align-items: flex-start;
    font-size: 13px;
  }

  .contact-qr {
    width: 72px;
    height: 72px;
  }

  .work-dual,
  .work-triple {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .metric-number {
    font-size: 64px;
  }

  .metric-number strong {
    font-size: 28px;
  }

  .metric-number .arrow {
    font-size: 32px;
  }

  .metric:first-child {
    padding-left: 16px;
  }

  .project-card {
    padding: 32px 0;
  }

  .project-card h3 {
    font-size: 22px;
  }

  .dim-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dim-section {
    gap: 48px;
  }

  .proj-result {
    gap: 0;
  }

  .proj-result-value {
    font-size: 16px;
  }

  .proj-summary-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .proj-summary-right .proj-testimonial-img {
    max-width: 100%;
  }

  .proj-result--neat {
    grid-template-columns: 1fr;
  }

  .project-meta {
    flex-direction: row;
    gap: 12px;
  }

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

  .image-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 0 0 80px 0;
  }

  .chapter-head {
    padding: 48px 0 24px;
    margin-bottom: 40px;
  }

  .chapter-head-title {
    font-size: 28px;
  }

  .chapter-head-desc {
    font-size: 14px;
  }

  .onsite-badge-wall {
    margin-bottom: 48px;
  }

  .client-marquee-track span {
    font-size: 13px;
  }

  /* lighter reveal on tablet */
  [data-reveal] {
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  [data-reveal-stagger] > * {
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .name {
    font-size: 36px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .metric-number {
    font-size: 52px;
  }

  .metric-number strong {
    font-size: 22px;
  }

  .metric-number .arrow {
    font-size: 22px;
  }

  .metric:first-child {
    padding-left: 12px;
  }

  .hero-side {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .contact-qr {
    width: 64px;
    height: 64px;
  }

  .contact-text {
    font-size: 12px;
  }

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

  .process-flow {
    grid-template-columns: 1fr;
  }

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

  /* lighter reveal on phone */
  [data-reveal] {
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  [data-reveal-stagger] > * {
    transform: translateY(16px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
