:root {
  --bg: #0b0812;
  --bg-soft: #120d1b;
  --panel: rgba(19, 14, 30, 0.88);
  --panel-strong: #171023;
  --ink: #f5f2ff;
  --muted: #c5bddb;
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.2);
  --accent: #8a5cff;
  --accent-2: #b07cff;
  --accent-3: #4f7cff;
  --accent-4: #ff5fc8;
  --accent-5: #7f5cff;
  --green: #78f2b4;
  --warning: #ffae57;
  --shadow: 0 24px 80px rgba(0,0,0,0.4);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(138,92,255,0.18), transparent 22%),
    radial-gradient(circle at 85% 0%, rgba(79,124,255,0.15), transparent 18%),
    linear-gradient(180deg, #09060f 0%, #0e0916 42%, #0a0711 100%);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
ul { padding-left: 1.1rem; margin: 0; color: var(--muted); }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section-dark { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ddcffd;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.accent-purple { color: #ceb7ff; }
.accent-violet { color: #d9b3ff; }
.accent-blue { color: #b8c7ff; }
.accent-magenta { color: #ffc0e5; }
.accent-pink { color: #ffd3f2; }
.mono {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1 {
  font-size: clamp(3.3rem, 7vw, 7.15rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  max-width: 12ch;
}
h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1; 
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}
h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.site-noise,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.site-noise {
  background-image: radial-gradient(rgba(255,255,255,0.04) 0.7px, transparent 0.7px);
  background-size: 10px 10px;
  mix-blend-mode: soft-light;
  opacity: 0.24;
}
.page-glow-a {
  background: radial-gradient(circle at 15% 20%, rgba(138,92,255,0.16), transparent 26%);
}
.page-glow-b {
  background: radial-gradient(circle at 82% 8%, rgba(255,95,200,0.09), transparent 18%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(8, 6, 13, 0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 86px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}


/* 替换原本的 .brand-mark 样式 */
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px; /* 强制圆角裁切，刚好切掉 AI 图片的黑色边角 */
  object-fit: cover;   /* 确保图片完美填充 */
  box-shadow: 0 0 24px rgba(138, 92, 255, 0.4); /* 增加紫色环境光晕，使其融入背景 */
  flex-shrink: 0;      /* 防止在小屏幕被挤压变形 */
}


.brand-text { display: grid; gap: 0.18rem; }
.brand-text strong { font-size: 1rem; font-weight: 800; }
.brand-text em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.77rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.nav-item { position: relative; }
.nav-link,
.nav-trigger {
  appearance: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-link:hover,
.nav-trigger:hover,
.nav-item.open > .nav-trigger {
  background: rgba(255,255,255,0.06);
}
.nav-item.has-dropdown > .nav-trigger::after {
  content: '+';
  display: inline-block;
  margin-left: 0.55rem;
  font-weight: 400;
  opacity: 0.7;
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  background: rgba(19, 14, 30, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav-item.open > .dropdown,
.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown.mega {
  min-width: 780px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.dropdown-col {
  display: grid;
  gap: 0.25rem;
  align-content: start;
}
.dropdown-label {
  color: #d5c6fa;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.dropdown a {
  padding: 0.66rem 0.7rem;
  border-radius: 12px;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown a:hover {
  background: rgba(138,92,255,0.12);
  color: #fff;
}
.nav-cta { display: flex; gap: 0.75rem; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 0.94rem 1.28rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(138,92,255,0.28);
}
.btn-secondary,
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.14);
  color: var(--ink);
}
.btn-secondary:hover,
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.mobile-toggle,
.mobile-panel { display: none; }
.mobile-toggle {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0.25rem;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}
.mobile-panel {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0 20px 20px;
  background: rgba(8, 6, 13, 0.94);
}
.mobile-panel a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding-top: 32px;
  padding-bottom: clamp(44px, 8vw, 80px);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  min-height: 100%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,8,18,0.18), rgba(11,8,18,0.7) 70%, rgba(11,8,18,0.98));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-lead {
  max-width: 780px;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
  color: #d9d2ea;
  margin-top: 1.3rem;
}
.hero-actions { display: flex; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-meta {
  list-style: none;
  padding: 0;
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #d9d2ea;
}
.hero-meta span {
  font-weight: 900;
  color: #fff;
}

.trust-bar {
  position: relative;
  z-index: 1;
  padding: 24px 0 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: hidden;
}
.trust-grid article {
  background: rgba(17, 12, 27, 0.92);
  padding: 1.65rem;
}
.trust-grid strong {
  display: block;
  font-size: clamp(1.8rem, 3.3vw, 2.8rem);
  margin: 0.4rem 0 0.5rem;
  letter-spacing: -0.05em;
}
.trust-grid span { color: #d0c0fb; font-size: 0.72rem; }
.trust-grid p { line-height: 1.55; }

.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; z-index: 1; }
.split-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-copy {
  font-size: 1.05rem; 
  line-height: 1.9; 
  max-width: 800px; 
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.service-card,
.quote-card,
.process-card,
.team-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(180deg, rgba(21,15,33,0.95), rgba(14,10,24,0.94));
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  padding: 1.25rem;
  min-height: 330px;
}
.service-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8b5ff;
}
.service-head a {
  font-size: 0.84rem;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 3px;
}
.service-card h3 { margin-bottom: 0.85rem; }
.service-card p { line-height: 1.7; }
.service-card ul { margin-top: 1rem; display: grid; gap: 0.5rem; }
.service-card li { line-height: 1.55; }
.tint-purple { box-shadow: inset 0 1px 0 rgba(138,92,255,0.22); }
.tint-violet { box-shadow: inset 0 1px 0 rgba(176,124,255,0.2); }
.tint-blue { box-shadow: inset 0 1px 0 rgba(79,124,255,0.23); }
.tint-indigo { box-shadow: inset 0 1px 0 rgba(127,92,255,0.22); }
.tint-magenta { box-shadow: inset 0 1px 0 rgba(255,95,200,0.22); }
.tint-pink { box-shadow: inset 0 1px 0 rgba(255,176,231,0.22); }

.band-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 660px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.band-section + .band-section { margin-top: -1px; }
.band-section.reverse .band-media { order: 2; }
.band-section.reverse .band-copy { order: 1; }
.band-media,
.band-copy { min-height: 100%; }
.band-copy {
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  align-content: center;
  background: rgba(14, 10, 23, 0.78);
}
.band-copy p:not(.eyebrow) { font-size: 1.02rem; line-height: 1.85; }
.detail-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}
.detail-list li {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  line-height: 1.75;
}
.detail-list a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(138,92,255,0.6);
  text-underline-offset: 3px;
}
.band-a .band-copy { background: linear-gradient(180deg, rgba(17,12,29,0.88), rgba(10,7,18,0.95)); }
.band-b .band-copy { background: linear-gradient(180deg, rgba(13,12,28,0.88), rgba(12,8,20,0.95)); }
.band-c .band-copy { background: linear-gradient(180deg, rgba(18,9,22,0.88), rgba(9,7,16,0.95)); }











/* =========================================
   PERFECT RECTANGLE GALLERY GRID (Absolute Coordinates)
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 强制锁定 3 行，每行高度 280px，彻底锁死排版 */
  grid-template-rows: repeat(3, 280px); 
  gap: 1rem;
}

/* 覆盖原始 image-slot 的最低高度限制，防止撑破网格 */
.gallery-grid .image-slot {
  min-height: 0 !important; 
  height: 100%;
  width: 100%;
}

/* 使用绝对网格坐标定位： 行开始 / 列开始 / 行结束 / 列结束 */
.g-hero   { grid-area: 1 / 1 / 3 / 3; } /* 2x2: 左上巨幅 */
.g-top-r  { grid-area: 1 / 3 / 2 / 5; } /* 2x1: 右上横幅 */
.g-mid-r  { grid-area: 2 / 3 / 3 / 4; } /* 1x1: 中右方块 */
.g-tall-r { grid-area: 2 / 4 / 4 / 5; } /* 1x2: 右下竖幅 */
.g-bot-l  { grid-area: 3 / 1 / 4 / 3; } /* 2x1: 左下横幅 */
.g-bot-m  { grid-area: 3 / 3 / 4 / 4; } /* 1x1: 中下方块 */

/* 响应式：平板与手机端适配 */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: 250px; /* 平板上恢复自适应行高 */
  }
  .g-hero   { grid-area: auto; grid-column: 1 / 3; grid-row: span 2; }
  .g-top-r  { grid-area: auto; grid-column: 1 / 3; grid-row: span 1; }
  .g-mid-r  { grid-area: auto; grid-column: 1 / 2; grid-row: span 1; }
  .g-tall-r { grid-area: auto; grid-column: 2 / 3; grid-row: span 2; }
  .g-bot-m  { grid-area: auto; grid-column: 1 / 2; grid-row: span 1; }
  .g-bot-l  { grid-area: auto; grid-column: 1 / 3; grid-row: span 1; }
}

@media (max-width: 820px) {
  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .gallery-grid > div {
    min-height: 280px !important;
    width: 100%;
  }
}











.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.team-card { display: grid; grid-template-rows: auto 1fr; }
.team-media.stamp { min-height: 360px; }
.team-copy { padding: 1.2rem; }
.team-copy h3 { margin: 0.5rem 0 0.6rem; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.quote-card { padding: 1.4rem; min-height: 260px; }
.quote-card p {
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.8;
}
.quote-card strong { display: block; margin-top: 1.35rem; }
.quote-card span { display: block; margin-top: 0.3rem; color: var(--muted); }

.process-shell {
  position: relative;
  padding-top: 1rem;
}
.process-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.process-progress {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-4));
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 1rem;
}
.process-card {
  padding: 2rem 1.1rem 1.2rem;
  min-height: 230px;
}
.process-card .mono {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #ceb7ff;
}
.process-card h3 { margin-bottom: 0.7rem; }
.process-card p { line-height: 1.75; }














/* =========================================
   RESTRUCTURED CONTACT SECTION
   ========================================= */
.contact-section { padding: clamp(70px, 10vw, 120px) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.5rem;
  align-items: stretch;
}
.contact-copy {
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20,14,32,0.9), rgba(10,7,17,0.96));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-copy h2 { max-width: 12ch; }
.contact-copy > p:not(.eyebrow) {
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.85;
}
.contact-details {
  margin-top: 3rem;
}
.contact-link {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.6rem;
  color: #fff;
  transition: color 0.2s ease;
}
.contact-link:hover { color: var(--accent-2); }
.contact-address { 
  margin-top: 1.8rem; 
  max-width: 420px; 
  font-size: 0.95rem; 
  line-height: 1.7; 
}
.contact-media { 
  min-height: 400px;
  border-radius: var(--radius);
}


.site-footer {
  position: relative;
  z-index: 1;
  padding: 36px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(9, 7, 15, 0.9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand p,
.footer-col a,
.footer-contact p { line-height: 1.75; }
.footer-title {
  margin-bottom: 0.8rem;
  color: #fff;
  font-weight: 700;
}
.footer-col { display: grid; gap: 0.55rem; align-content: start; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: #fff; }
.footer-contact { margin-top: 1rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-mini-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-mini-links a { color: var(--muted); }

.image-slot {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(13, 11, 22, 0.78), rgba(12, 10, 20, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(138,92,255,0.22), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.image-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(138,92,255,0.18), transparent 40%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  z-index: 1;
}
.image-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, transparent 30%, rgba(255,255,255,0.08) 48%, transparent 64%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
  z-index: 2;
}
.image-slot:hover::before { opacity: 1; }
.image-slot:hover::after { transform: translateX(120%); }
.image-slot.image-loaded {
  border-color: rgba(255,255,255,0.16);
}
.image-slot.image-missing {
  border-color: rgba(255,95,200,0.38);
}

.hover-glow {
  --mx: 50%;
  --my: 50%;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.hover-glow:not(.image-slot) {
  background-image:
    radial-gradient(450px circle at var(--mx) var(--my), rgba(138,92,255,0.12), transparent 45%),
    linear-gradient(180deg, rgba(21,15,33,0.95), rgba(14,10,24,0.94));
}
.hover-glow:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22), 0 0 0 1px rgba(138,92,255,0.2) inset;
}

@media (max-width: 1200px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; margin-left: auto; }
  .mobile-panel.show { display: block; }
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .split-head,
  .contact-grid,
  .band-section,
  .footer-grid,
  .trust-grid,
  .process-grid,
  .team-grid,
  .testimonial-grid,
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  /* Tablet Gallery layout (2 Columns) */
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 240px; 
  }
  .g-wide-top { grid-column: 1 / 3; grid-row: 1 / 2; }
  .g-tall-left { grid-column: 1 / 2; grid-row: 2 / 4; }
  .g-sq-1 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .g-sq-2 { grid-column: 2 / 3; grid-row: 3 / 4; }
  .g-wide-bottom { grid-column: 1 / 3; grid-row: 4 / 5; }
  .g-tall-right { grid-column: 1 / 3; grid-row: 5 / 7; } 
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1.1; }
  h2 { font-size: clamp(1.8rem, 10vw, 3rem); }
  .hero { min-height: 86vh; }
  .hero-meta { gap: 0.65rem; }
  .trust-grid,
  .split-head,
  .services-grid,
  .team-grid,
  .testimonial-grid,
  .process-grid,
  .contact-grid,
  .footer-grid,
  .band-section { grid-template-columns: 1fr; }
  
  /* Mobile Gallery layout (1 Column Stack) */
  .gallery-grid { display: flex; flex-direction: column; gap: 1rem; }
  .gallery-grid > div { min-height: 280px; width: 100%; }

  .band-section.reverse .band-media,
  .band-section.reverse .band-copy,
  .band-media,
  .band-copy { order: initial; }
  .band-section { min-height: auto; }
  .band-media { min-height: 380px; }
  .service-card { min-height: auto; }
  .process-shell { padding-top: 0; }
  .process-line { display: none; }
  .site-header { position: sticky; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 220px; }
}

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


@media (max-width: 820px) {
  .page-hero {
    padding-top: clamp(32px, 8vw, 56px);
  }
}


/* =========================================
   ASTRA X PRO HOME V2 OVERRIDES
   Export / Design / Sourcing homepage restructure
   ========================================= */

.home-v2 .brand-text em {
  letter-spacing: 0.08em;
}

.hero-v2 {
  min-height: 94vh;
  align-items: end;
}

.hero-v2 .hero-media {
  position: absolute;
  inset: 0;
}

.hero-v2 h1 {
  max-width: 1080px;
  font-size: clamp(2.65rem, 6.2vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-statement {
  max-width: 900px;
  margin-top: 1.15rem;
  color: #fff;
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-v2 .hero-lead {
  max-width: 860px;
}

.proof-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(197, 189, 219, 0.82);
}

.pillars-section {
  padding-top: clamp(64px, 8vw, 100px);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(21,15,33,0.94), rgba(10,7,17,0.98));
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
}

.pillar-card.featured-pillar {
  box-shadow: 0 0 0 1px rgba(176,124,255,0.16), 0 28px 80px rgba(138,92,255,0.12);
}

.pillar-media {
  min-height: 310px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pillar-copy {
  padding: 1.35rem;
}

.pillar-copy h3 {
  margin: 0.55rem 0 0.85rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.pillar-copy p {
  line-height: 1.78;
  color: #d8d0ea;
}

.pillar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.pillar-links a {
  display: inline-flex;
  padding: 0.58rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.84rem;
  background: rgba(255,255,255,0.04);
}

.pillar-links a:hover {
  background: rgba(138,92,255,0.12);
  border-color: rgba(176,124,255,0.35);
}

.journey-section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.compact-head {
  margin-bottom: 1.5rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.journey-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(138,92,255,0.12), transparent 48%),
    linear-gradient(180deg, rgba(20,14,32,0.9), rgba(10,7,17,0.96));
}

.journey-card span {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8b5ff;
}

.journey-card strong {
  display: block;
  margin-top: 2.2rem;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.skills-section {
  padding-top: clamp(70px, 9vw, 110px);
}

.home-service-grid .service-card {
  min-height: 350px;
}

.home-service-grid .service-tag {
  color: #d8c8ff;
}

.service-card.hover-glow:hover,
.quote-card.hover-glow:hover,
.process-card.hover-glow:hover,
.team-card.hover-glow:hover,
.journey-card.hover-glow:hover {
  transform: none;
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 12px 34px rgba(0,0,0,0.18), 0 0 0 1px rgba(138,92,255,0.12) inset;
}

.pillar-card.hover-glow:hover,
.image-slot.hover-glow:hover,
.btn:hover {
  transform: translateY(-2px);
}

.contact-grid-v2 {
  grid-template-columns: 1.05fr 0.95fr;
}

.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-action {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}

.contact-action span {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8b5ff;
}

.contact-action strong {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
}

.contact-action:hover {
  background: rgba(138,92,255,0.1);
  border-color: rgba(176,124,255,0.32);
}

@media (max-width: 1200px) {
  .pillar-grid,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero-v2 {
    min-height: 88vh;
  }

  .hero-v2 h1 {
    font-size: clamp(2.25rem, 10vw, 3.65rem);
    line-height: 1.02;
    max-width: 100%;
  }

  .hero-statement {
    font-size: clamp(1.05rem, 5vw, 1.45rem);
  }

  .pillar-grid,
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .pillar-media {
    min-height: 260px;
  }

  .home-service-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 1rem !important;
    padding-bottom: 1rem;
    grid-template-columns: none !important;
    -webkit-overflow-scrolling: touch;
  }

  .home-service-grid .service-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
    min-height: auto;
  }

  .home-service-grid::after {
    content: '';
    flex: 0 0 1px;
  }

  .gallery-section .gallery-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }

  .gallery-section .gallery-grid .image-slot {
    min-height: 280px !important;
    height: clamp(260px, 62vw, 360px) !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .contact-grid-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .home-service-grid .service-card {
    flex-basis: 88%;
  }

  .gallery-section .gallery-grid .image-slot {
    min-height: 260px !important;
    height: 260px !important;
  }
}


/* =========================================
   NAVIGATION WIDTH FIX - shared header version
   Keeps dropdown + symbols on one line and removes desktop crowding.
   Use this same header/CSS block across all pages.
   ========================================= */
.site-header .nav-shell {
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr) auto;
  gap: clamp(0.75rem, 1.1vw, 1.35rem);
}

.site-header .brand {
  min-width: 0;
}

.site-header .brand-text em {
  white-space: nowrap;
}

.site-header .nav {
  min-width: 0;
  gap: clamp(0.08rem, 0.35vw, 0.28rem);
}

.site-header .nav-link,
.site-header .nav-trigger {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.82rem clamp(0.62rem, 0.72vw, 0.92rem);
  font-size: clamp(0.86rem, 0.78vw, 0.94rem);
  line-height: 1;
}

.site-header .nav-item.has-dropdown > .nav-trigger::after {
  margin-left: 0;
  flex: 0 0 auto;
  line-height: 1;
}

.site-header .nav-cta {
  gap: clamp(0.5rem, 0.7vw, 0.72rem);
  flex-shrink: 0;
}

.site-header .nav-cta .btn {
  white-space: nowrap;
  padding: 0.86rem clamp(1rem, 1.15vw, 1.22rem);
  font-size: clamp(0.88rem, 0.8vw, 0.95rem);
}

@media (max-width: 1320px) {
  .site-header .brand-text em {
    font-size: 0.69rem;
    letter-spacing: 0.065em;
  }

  .site-header .brand-text strong {
    font-size: 0.95rem;
  }

  .site-header .brand-mark {
    width: 40px;
    height: 40px;
  }

  .site-header .nav-link,
  .site-header .nav-trigger {
    padding-left: 0.58rem;
    padding-right: 0.58rem;
    font-size: 0.84rem;
  }

  .site-header .nav-cta .btn {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; margin-left: auto; }
  .mobile-panel.show { display: block; }
  .site-header .nav-shell { grid-template-columns: auto 1fr auto; }
}

/* =========================================
   Chinese Homepage / index-cn.html refinements
   ========================================= */
body.zh-cn {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', system-ui, sans-serif;
}
body.zh-cn .brand-text em,
body.zh-cn .eyebrow,
body.zh-cn .dropdown-label,
body.zh-cn .service-tag,
body.zh-cn .mono {
  letter-spacing: 0.08em;
}
body.zh-cn h1 {
  max-width: 10.8em;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
body.zh-cn h2 {
  letter-spacing: -0.035em;
  line-height: 1.12;
}
body.zh-cn h3 {
  letter-spacing: -0.02em;
  line-height: 1.12;
}
body.zh-cn .hero-lead,
body.zh-cn .section-copy,
body.zh-cn .pillar-copy p,
body.zh-cn .service-card p,
body.zh-cn .service-card li,
body.zh-cn .quote-card p,
body.zh-cn .process-card p,
body.zh-cn .contact-copy > p:not(.eyebrow),
body.zh-cn .footer-brand p,
body.zh-cn .footer-contact p {
  line-height: 1.85;
}
body.zh-cn .nav-link,
body.zh-cn .nav-trigger,
body.zh-cn .btn {
  font-weight: 700;
}
body.zh-cn .nav-trigger,
body.zh-cn .nav-link {
  padding-left: 0.82rem;
  padding-right: 0.82rem;
}
body.zh-cn .dropdown a {
  line-height: 1.55;
}
body.zh-cn .hero-statement {
  max-width: 860px;
}
body.zh-cn .service-head a {
  white-space: nowrap;
}
body.zh-cn .contact-link {
  letter-spacing: -0.015em;
}
body.zh-cn .zh-muted-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-top: 0.8rem;
}
@media (max-width: 820px) {
  body.zh-cn h1 {
    font-size: clamp(2.35rem, 10vw, 4.15rem);
    line-height: 1.08;
    max-width: 8.8em;
  }
  body.zh-cn .hero-statement {
    font-size: clamp(1.18rem, 5.2vw, 1.75rem);
  }
  body.zh-cn .brand-text em {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }
}


/* =========================================
   Chinese Transcreated Homepage V2 tweaks
   ========================================= */
body.zh-transcreated h1 {
  max-width: 11.6em;
  font-size: clamp(2.8rem, 6.1vw, 6.45rem);
  line-height: 1.03;
  letter-spacing: -0.048em;
}
body.zh-transcreated .hero-statement {
  max-width: 960px;
  line-height: 1.55;
}
body.zh-transcreated .hero-lead {
  max-width: 920px;
}
body.zh-transcreated .section-copy {
  max-width: 860px;
}
body.zh-transcreated .pillar-copy h3,
body.zh-transcreated .journey-card strong,
body.zh-transcreated .service-card h3 {
  text-wrap: balance;
}
body.zh-transcreated .service-card p {
  color: #d0c8e2;
}
@media (max-width: 820px) {
  body.zh-transcreated h1 {
    font-size: clamp(2.25rem, 9.2vw, 4.05rem);
    line-height: 1.1;
    max-width: 9.2em;
  }
  body.zh-transcreated .hero-lead {
    font-size: 1.02rem;
  }
}
