@charset "UTF-8";

/* ========== SRStudio v4 — Big Egg · 5-Item Nav · Bilingual ========== */

:root {
  --burgundy: #1a1a1a;
  --burgundy-deep: #0a0a0a;
  --burgundy-soft: #2a2a2a;
  --burgundy-glow: #3d3d3d;
  --silver: #c8c4c0;
  --silver-light: #e8e6e2;
  --warm-white: #f5f3ef;
  --cream: #ebe7e0;
  --charcoal: #1a1a1a;
  --ink: #0a0a0a;
  --muted: #8a8580;
  --muted-light: #b5b0aa;
  --pure-black: #000000;
  --pure-white: #ffffff;

  --font-cn: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-en: "EB Garamond", "Times New Roman", Georgia, serif;

  --max-w: 1360px;
  --t: 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-soft: 0 2px 20px rgba(0,0,0,0.04);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.06);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.85;
  color: var(--charcoal);
  background: var(--warm-white);
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Subtle grain texture overlay for depth */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
sup { font-size: 0.75em; }

/* Hide global SVG defs — used for clip-path and path references */
.global-defs {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  color: var(--warm-white);
  transition: all var(--t-fast);
}
.site-header.theme-light {
  background: rgba(245, 243, 239, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--charcoal);
}
.site-header.theme-light .main-nav a { color: var(--charcoal); }
.site-header.theme-light .main-nav a:hover { color: var(--burgundy); }
.site-header.theme-light .main-nav a::after { background: var(--burgundy); }
.site-header.theme-light .tool-btn { color: var(--charcoal); }
.site-header.theme-light .tool-btn:hover { color: var(--burgundy); }
.site-header.theme-light .nav-toggle span { background: var(--charcoal); }
.site-header.theme-light .lang-toggle { color: var(--charcoal); border-color: rgba(0,0,0,0.15); }
.site-header.theme-light .lang-toggle:hover { border-color: var(--charcoal); }

.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 64px; height: 84px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  height: 40px; color: var(--warm-white);
  transition: color var(--t-fast);
}
.site-header.theme-light .logo { color: var(--burgundy-deep); }

.logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 34px; flex-shrink: 0;
}
.logo-mark svg {
  width: 100%; height: 100%;
  fill: currentColor;
  transition: transform var(--t-fast);
}
.logo:hover .logo-mark svg { transform: scale(1.05); }

.logo-text {
  font-family: var(--font-cn);
  font-size: 15px; font-weight: 400;
  letter-spacing: 0.1em; line-height: 1.2;
  white-space: nowrap;
}
.logo-text.logo-en {
  font-family: var(--font-en);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; line-height: 1.25;
}
.logo-text.logo-zh { display: block; }
.logo-text.logo-en { display: none; }

html[data-lang="en"] .logo-text.logo-zh { display: none; }
html[data-lang="en"] .logo-text.logo-en { display: block; }

.main-nav { display: flex; gap: 48px; }
.main-nav a {
  position: relative; padding: 6px 0;
  transition: color var(--t-fast);
}
.main-nav a span {
  font-family: var(--font-en);
  font-size: 16px; font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: rgba(245, 243, 239, 0.82);
  transition: color var(--t-fast);
}
.site-header.theme-light .main-nav a span { color: var(--charcoal); }
.main-nav a:hover span { color: var(--warm-white); }
.site-header.theme-light .main-nav a:hover span { color: var(--burgundy); }

.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 1px; background: var(--warm-white);
  transition: width var(--t-fast), left var(--t-fast);
}
.main-nav a:hover::after { width: 100%; left: 0; }
.site-header.theme-light .main-nav a::after { background: var(--burgundy); }

.header-tools {
  display: flex; align-items: center; gap: 8px;
}
.tool-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  color: rgba(245, 243, 239, 0.85);
  transition: color var(--t-fast), background var(--t-fast);
  border-radius: 50%;
}
.tool-btn:hover { color: var(--warm-white); background: rgba(245,243,239,0.08); }
.tool-btn svg { width: 18px; height: 18px; }

.lang-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  font-family: var(--font-en); font-size: 12px;
  font-weight: 500; letter-spacing: 0.08em;
  color: rgba(245, 243, 239, 0.85);
  border-radius: 50%;
  transition: color var(--t-fast), background var(--t-fast);
}
.lang-toggle:hover { color: var(--warm-white); background: rgba(245,243,239,0.08); }
.site-header.theme-light .lang-toggle { color: var(--charcoal); }
.site-header.theme-light .lang-toggle:hover { color: var(--burgundy); background: rgba(0,0,0,0.04); }
.lang-label { line-height: 1; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--warm-white); transition: var(--t-fast); }

/* Search bar */
.search-bar {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--warm-white); border-bottom: 1px solid var(--silver);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: all var(--t-fast); z-index: 99;
}
.search-bar.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.search-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px 40px;
  display: flex; align-items: center; gap: 16px;
}
.search-icon { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; background: transparent;
  font-family: var(--font-cn); font-size: 16px; color: var(--charcoal);
  outline: none;
}
.search-bar input::placeholder { color: var(--muted-light); }
.search-close {
  width: 32px; height: 32px;
  font-size: 22px; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.search-close:hover { color: var(--charcoal); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 76px 0 0; z-index: 98;
  background: var(--warm-white);
  padding: 40px;
  transform: translateX(100%);
  transition: transform var(--t-fast);
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav { display: flex; flex-direction: column; gap: 28px; }
.mobile-nav a {
  font-family: var(--font-en); font-size: 28px;
  letter-spacing: 0.04em; color: var(--charcoal);
  transition: color var(--t-fast);
}
.mobile-nav a:hover { color: var(--burgundy); }
.mobile-contact { padding-top: 24px; border-top: 1px solid var(--silver); }
.mobile-tools { padding-top: 24px; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: #1a1209;
  color: var(--warm-white);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    /* Gold ambient halo around egg */
    radial-gradient(circle at 38% 50%, rgba(220,165,75,0.32) 0%, rgba(180,120,40,0.12) 22%, transparent 48%),
    radial-gradient(ellipse at 78% 18%, rgba(255,205,120,0.10) 0%, transparent 38%),
    radial-gradient(ellipse at 12% 82%, rgba(140,90,35,0.18) 0%, transparent 42%),
    radial-gradient(circle at 50% 125%, rgba(70,40,12,0.32) 0%, transparent 45%),
    linear-gradient(180deg, #261808 0%, #1a1209 45%, #0e0805 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045; mix-blend-mode: overlay;
}

.hero-stage {
  position: relative; z-index: 1;
  max-width: var(--max-w); width: 100%;
  margin: 0 auto;
  padding: 130px 64px 110px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Egg wrapper: centers egg + slogan as a unit */
.hero-egg-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 76vh;
}

/* Gold ambient glow behind egg */
.hero-egg-aura {
  position: absolute;
  width: 80%; height: 80%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(255,200,110,0.32) 0%,
    rgba(200,140,55,0.12) 32%,
    rgba(120,75,25,0.04) 60%,
    transparent 80%);
  filter: blur(50px);
  animation: auraPulse 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes auraPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.9; }
}

/* Egg: strictly logo path via SVG, no CSS border-radius deformation */
.hero-egg {
  position: relative; z-index: 1;
  width: min(56vh, 520px);
  height: min(76vh, 700px);
  display: flex; align-items: center; justify-content: center;
  animation: eggBreathe 9s ease-in-out infinite;
}
.hero-egg-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,0.55)) drop-shadow(0 0 30px rgba(60,60,60,0.1));
}
/* Daily pattern overlay breathes gently to feel alive */
#heroEggPattern { animation: patternBreathe 8s ease-in-out infinite; }
@keyframes eggBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.015); }
}
@keyframes patternBreathe {
  0%, 100% { opacity: 0.22; }
  50% { opacity: 0.42; }
}

/* Slogan: inside the egg, vertically and horizontally centered.
   Egg SVG is centered slightly above the wrap box (52vh stage + flex alignment),
   so top:48% lands the visual center on the egg. */
.hero-slogan {
  position: absolute; z-index: 2;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-cn);
  font-size: clamp(18px, 2.2vw, 34px);
  font-weight: 300;
  letter-spacing: 0.24em;
  line-height: 1.8;
  color: rgba(252,248,242,0.94);
  text-align: center;
  text-shadow: 0 2px 30px rgba(0,0,0,0.65), 0 0 70px rgba(0,0,0,0.4), 0 0 14px rgba(0,0,0,0.3);
  max-width: 62%;
  white-space: nowrap;
  /* Dramatic entrance animation */
  animation: sloganEnter 2.25s cubic-bezier(0.16, 1, 0.3, 1) both,
             sloganGlow 9s ease-in-out 2.25s infinite;
}
@keyframes sloganEnter {
  0% { opacity: 0; letter-spacing: 0.6em; filter: blur(8px); transform: translate(-50%, -50%); }
  60% { opacity: 0.4; letter-spacing: 0.4em; filter: blur(3px); transform: translate(-50%, -50%); }
  100% { opacity: 1; letter-spacing: 0.24em; filter: blur(0); transform: translate(-50%, -50%); }
}
@keyframes sloganGlow {
  0%, 100% { text-shadow: 0 2px 30px rgba(0,0,0,0.65), 0 0 70px rgba(0,0,0,0.4), 0 0 14px rgba(0,0,0,0.3); transform: translate(-50%, -50%); }
  50% { text-shadow: 0 2px 30px rgba(0,0,0,0.6), 0 0 90px rgba(120,90,60,0.18), 0 0 14px rgba(0,0,0,0.25); transform: translate(-50%, -50%); }
}

/* English variant: tighter letter-spacing, smaller font, allow wrap to keep inside egg */
html[data-lang="en"] .hero-slogan {
  font-family: var(--font-en);
  font-size: clamp(15px, 1.55vw, 26px);
  letter-spacing: 0.04em;
  line-height: 1.55;
  font-style: italic;
  white-space: normal;
  max-width: 78%;
}

/* Right copy column: text outside the egg */
.hero-copy {
  position: relative;
  padding-left: 56px;
  border-left: 1px solid rgba(245,243,239,0.06);
  max-width: 420px;
  justify-self: start;
  align-self: center;
}
.hero-copy::before {
  content: '';
  position: absolute; left: -1px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: linear-gradient(180deg, transparent, rgba(245,243,239,0.22) 25%, rgba(245,243,239,0.22) 75%, transparent);
}
.hero-desc {
  font-family: var(--font-cn);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 2.3;
  color: rgba(245,243,239,0.78);
  letter-spacing: 0.1em;
}
html[data-lang="en"] .hero-desc {
  font-family: var(--font-en);
  font-size: clamp(14px, 1.2vw, 17px);
  letter-spacing: 0.02em;
  line-height: 1.95;
  font-style: italic;
}

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(245,243,239,0.35);
}
.scroll-text {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.22em;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(245,243,239,0.35), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========== SECTIONS ========== */
section { padding: 120px 64px; }
.section-head {
  max-width: 860px; margin: 0 auto 52px; text-align: center;
  position: relative;
}
.section-num {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--burgundy); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-num::before, .section-num::after {
  content: ''; width: 32px; height: 1px;
  background: var(--silver); display: inline-block;
}
.section-title {
  font-family: var(--font-cn);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 300; letter-spacing: 0.12em;
  line-height: 1.3; color: var(--charcoal);
}
.section-en {
  font-family: var(--font-en);
  font-size: 15px; font-style: italic;
  letter-spacing: 0.1em; color: var(--muted);
  margin-top: 8px;
}

.lead {
  max-width: 760px; margin: 0 auto 32px;
  text-align: center; font-size: 16px; line-height: 1.85;
  color: var(--charcoal);
}

/* ========== PHILOSOPHY ========== */
.philosophy { background: var(--warm-white); }

.philosophy-text {
  max-width: 820px; margin: 0 auto 48px;
  text-align: center;
}
.philosophy-text p {
  font-family: var(--font-cn);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.9;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.philosophy-text p:first-child {
  color: var(--burgundy-deep);
}
.philosophy-text p:last-child { margin-bottom: 0; }

/* Principles: inline text, no boxes — differentiated by size and spacing */
.philosophy-principles {
  display: flex; justify-content: center; gap: 32px;
  margin: 24px 0 28px;
}
.philosophy-principles span {
  font-family: var(--font-cn);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  position: relative;
}
.philosophy-principles span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -20px;
  color: var(--silver);
  font-weight: 300;
}

/* SRS model */
.srs-model {
  max-width: var(--max-w); margin: 0 auto 64px;
  padding: 56px 48px;
  background: var(--cream);
  border: 1px solid var(--silver);
  position: relative;
  box-shadow: var(--shadow-card);
}
.srs-model::before {
  content: ''; position: absolute;
  top: -1px; left: -1px; right: -1px; height: 3px;
  background: linear-gradient(90deg, var(--burgundy-deep), var(--burgundy), var(--burgundy-deep));
}
.srs-head { position: relative; z-index: 1; margin-bottom: 36px; }
.srs-title { margin-bottom: 16px; }
.srs-title h3 {
  font-family: var(--font-cn);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 400; letter-spacing: 0.12em;
  color: var(--charcoal); margin-bottom: 4px;
}
.srs-title p {
  font-family: var(--font-en);
  font-size: 14px; font-style: italic;
  letter-spacing: 0.08em; color: var(--muted);
}
.srs-summary {
  font-size: 15px; line-height: 1.9;
  color: var(--charcoal); letter-spacing: 0.02em;
  max-width: 920px; margin-bottom: 24px;
}
.srs-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.srs-tags span {
  font-family: var(--font-cn);
  font-size: 13px; letter-spacing: 0.04em;
  padding: 6px 16px;
  border: 1px solid var(--silver);
  color: var(--charcoal);
  background: rgba(245,243,239,0.6);
}

/* SRS diagram */
.srs-diagram {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
}

/* 顶部专业纵深 pillar + branch */
.srs-pillar {
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 4px;
  position: relative;
}
.srs-pillar::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--silver) 20%, var(--silver) 80%, transparent);
  transform: translateX(-50%);
  z-index: 0;
}
.srs-egg {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  position: relative; z-index: 1;
  width: 130px; height: 170px;
  flex-shrink: 0; align-self: center;
}
.srs-egg svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  fill: var(--burgundy-deep);
  z-index: -1;
}
.srs-egg--sm {
  width: 110px; height: 140px;
}
.srs-egg--start,
.srs-egg--end {
  width: 130px; height: 170px;
}
.srs-egg-label {
  font-family: var(--font-cn);
  font-size: 15px; letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--warm-white);
  position: relative; z-index: 1;
}
.srs-egg--sm .srs-egg-label { font-size: 14px; }
.srs-egg--end .srs-egg-label { font-size: 13px; margin-bottom: 2px; letter-spacing: 0.04em; }
.srs-egg-list {
  list-style: none; padding: 0; margin: 6px 0 0;
  width: 70%;
}
.srs-egg-list li {
  font-size: 9.5px; line-height: 1.5;
  color: rgba(245,243,239,0.7);
  padding: 0;
  letter-spacing: 0.02em;
}

.srs-branch {
  width: min(100%, 640px); height: 72px;
  margin-top: -4px;
}
.srs-branch svg { width: 100%; height: 100%; }

/* 主流程 */
.srs-flow {
  width: 100%;
  display: flex; align-items: stretch; justify-content: center;
  gap: 10px;
  margin-top: -8px;
  position: relative;
}
/* 横贯整个主流程的居中黑线 — 表达 Pre → 项目成功的产业顺序 */
/* 黑线 z-index:0，横穿整个 .srs-flow；蛋形/Pre/卡片/After 都是 z-index:1，
   它们的不透明背景会遮挡线多余的部分，线只在各板块之间的 10px 间隙处露出
   left/right 偏移约 9/6px，对应蛋形 SVG 在 130px 容器内的内边距
   （蛋形在 viewBox 200×260 中，实际边缘在 x≈12.5 和 x≈191.3，
    缩放比 0.65 → 左内边距≈8px，右内边距≈6px），
   这样线条就严格落在两个卵形的图形之内，不会浮出卵形之外 */
.srs-flow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 9px;
  right: 6px;
  height: 3px;
  background: #1a1a1a;
  transform: translateY(-1.5px);
  z-index: 0;
  pointer-events: none;
}
.srs-arrow {
  width: 32px; height: 16px;
  flex-shrink: 0;
  align-self: center;
}
.srs-arrow svg { width: 100%; height: 100%; display: block; }
.srs-arrow svg path { stroke: var(--burgundy); }
/* Phase blocks (Pre/After) — match card visual weight */
.srs-phase-block {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 140px; min-height: 200px;
  background: var(--burgundy-deep);
  color: var(--warm-white);
  border-top: 3px solid var(--burgundy);
  padding: 16px 10px 14px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.srs-phase-block::before { display: none; }
.srs-phase-label {
  font-family: var(--font-en);
  font-size: 24px; font-weight: 600;
  letter-spacing: 0.12em; line-height: 1.4;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(252,248,242,0.18);
  width: 100%;
}
.srs-phase-q {
  font-family: var(--font-cn);
  font-size: 12px;
  color: rgba(252,248,242,0.72);
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: 8px;
}
/* Pre / After 阶段下的内容列表 — 与中部 srs-card-list 视觉保持整体一致 */
.srs-phase-list {
  list-style: none; padding: 0; margin: 0;
  width: 100%;
  text-align: center;
}
.srs-phase-list li {
  font-family: var(--font-cn);
  font-size: 13px;
  font-weight: 400;
  color: rgba(252,248,242,0.92);
  letter-spacing: 0.04em;
  line-height: 1.55;
  padding: 6px 0;
  border-top: 1px dashed rgba(252,248,242,0.20);
}
.srs-phase-list li:first-child { border-top: none; }

/* 中间卡片 */
.srs-card {
  flex: 1; min-width: 180px; max-width: 220px;
  display: flex; flex-direction: column;
  background: var(--warm-white);
  border: 1px solid var(--silver);
  border-top: 3px solid var(--burgundy-deep);
  padding: 18px 16px 16px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all var(--t);
}
.srs-card::before { display: none; }
/* Collapsed state: hide detail lists */
.srs-model:not(.srs-expanded) .srs-card-list {
  max-height: 0; overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}
/* 收起状态：隐藏 Pre / After 阶段下的列表，仅保留 PRE/AFTER 大标签 */
.srs-model:not(.srs-expanded) .srs-phase-list {
  max-height: 0; overflow: hidden;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.srs-model:not(.srs-expanded) .srs-phase-block {
  min-height: 100px;
  padding: 14px 10px;
  transition: min-height 0.4s ease, padding 0.3s ease;
}
.srs-model.srs-expanded .srs-card-list {
  max-height: 600px;
  opacity: 1;
  transition: max-height 0.6s ease, opacity 0.5s ease 0.1s, margin-top 0.4s ease;
}
.srs-model:not(.srs-expanded) .srs-card-title {
  margin-bottom: 0; padding-bottom: 0;
  border-bottom: none;
  transition: all var(--t-fast);
}
.srs-model.srs-expanded .srs-card-title {
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--silver);
  transition: all var(--t);
}
.srs-model:not(.srs-expanded) .srs-card-q {
  margin-bottom: 4px;
  transition: all var(--t-fast);
}
.srs-model:not(.srs-expanded) .srs-phase-q {
  margin-bottom: 4px;
  transition: all var(--t-fast);
}
.srs-card-q {
  font-family: var(--font-cn);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.02em; line-height: 1.5;
  margin-bottom: 8px;
}
.srs-card-title {
  font-family: var(--font-cn);
  font-size: 18px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--charcoal);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--silver);
}
.srs-card-list {
  list-style: none; padding: 0; margin: 0;
  text-align: left;
}
.srs-card-list li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--silver-light);
}
.srs-card-list li:last-child { border-bottom: none; }
.srs-card-list li strong {
  display: block;
  font-family: var(--font-cn);
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.02em; color: var(--charcoal);
  margin-bottom: 2px;
}
.srs-card-list li em {
  display: block;
  font-size: 12px; font-style: normal;
  color: var(--muted); line-height: 1.5;
}

/* 底部时间轴 */
/* 整体设计 → 时间轴 竖向连接线 + V 形线条箭头（与 .srs-branch 竖线统一） */
.srs-timeline-arrow {
  position: absolute;
  top: -49px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 49px;
  fill: none; stroke: #1a1a1a;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.srs-timeline {
  /* 横线左对齐"研策定位"边框左边，右对齐"内容运营"边框右边：
     左侧 = 蛋形(130) + gap(10) + PRE(140) + gap(10) = 290px
     右侧对称 290px → 宽度 = 100% - 580px */
  width: calc(100% - 580px);
  margin: 48px 290px 0;
  position: relative;
  padding-top: 18px;
}
.srs-timeline-bar {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 1px;
  background: #1a1a1a;
}
.srs-timeline-bar::before {
  content: ''; position: absolute; left: 0; top: -4px;
  width: 6px; height: 8px;
  clip-path: url(#eggClip); background: #1a1a1a;
}
.srs-timeline-bar::after {
  content: ''; position: absolute; right: 0; top: -4px;
  width: 6px; height: 8px;
  clip-path: url(#eggClip); background: #1a1a1a;
}
.srs-timeline-items {
  display: flex; justify-content: space-between;
}
.srs-timeline-items span {
  font-family: var(--font-cn);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.02em;
  text-align: center;
  flex: 1;
  position: relative;
}
.srs-timeline-items span::before {
  content: ''; position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 6.5px;
  clip-path: url(#eggClip); background: #1a1a1a;
}
.srs-timeline-items span:first-child { text-align: left; }
.srs-timeline-items span:first-child::before { left: 0; transform: none; }
.srs-timeline-items span:last-child { text-align: right; }
.srs-timeline-items span:last-child::before { left: auto; right: 0; transform: none; }

/* SRS Toggle button */
.srs-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin: 36px auto 0;
  padding: 10px 24px;
  font-family: var(--font-cn);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  background: transparent;
  border: 1px solid var(--silver);
  border-radius: 0;
  transition: all var(--t-fast);
}
.srs-toggle:hover {
  border-color: var(--burgundy);
  background: var(--burgundy-deep);
  color: var(--warm-white);
}
.srs-toggle-icon {
  width: 16px; height: 16px;
  transition: transform var(--t);
}
.srs-model.srs-expanded .srs-toggle-icon { transform: rotate(180deg); }

/* Old .principles / .principle card styles removed —
   principles are now inline text within .philosophy-principles */

/* ========== PROJECTS — Egg Cards ========== */
.projects { background: var(--silver-light); }
.project-filters {
  max-width: var(--max-w); margin: 0 auto 48px;
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-cn);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em;
  padding: 9px 22px; border: 1px solid transparent;
  color: var(--muted); background: transparent;
  transition: all var(--t-fast);
}
.filter-btn .fc {
  font-family: var(--font-en); font-size: 10px;
  color: var(--muted-light); margin-left: 4px;
}
.filter-btn:hover { border-color: var(--silver); color: var(--charcoal); }
.filter-btn.active {
  border-color: var(--burgundy-deep); color: var(--burgundy-deep);
  background: var(--warm-white);
  box-shadow: var(--shadow-soft);
}
.filter-btn.active .fc { color: var(--burgundy); }

.project-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.project-card { cursor: pointer; position: relative; transition: transform var(--t-fast); }
.project-card.hidden { display: none; }
.project-card:hover { transform: translateY(-6px); }

.egg-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 200 / 260;
  clip-path: url(#eggClip);
  -webkit-clip-path: url(#eggClip);
  background: var(--warm-white);
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  transition: box-shadow var(--t);
}
.project-card:hover .egg-shell { box-shadow: 0 16px 50px rgba(0,0,0,0.14); }

.egg-media {
  position: absolute; top: 0; left: 0; right: 0;
  height: 62%;
  overflow: hidden;
}
.egg-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--t);
}
.project-card:hover .egg-media img { transform: scale(1.06); }

.egg-decor {
  position: absolute; inset: 0;
  opacity: 0.25; pointer-events: none;
  transition: opacity var(--t-fast);
}
.project-card:hover .egg-decor { opacity: 0.12; }
.egg-decor.d1 { background: repeating-linear-gradient(135deg, transparent, transparent 6px, rgba(26,26,26,0.35) 6px, rgba(26,26,26,0.35) 7px); }
.egg-decor.d2 { background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(26,26,26,0.2) 60%, transparent 80%); }
.egg-decor.d3 { background: repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(200,196,192,0.3) 8px, rgba(200,196,192,0.3) 9px); }
.egg-decor.d4 { background: radial-gradient(circle at 30% 40%, rgba(26,26,26,0.2) 0%, transparent 40%), radial-gradient(circle at 70% 60%, rgba(200,196,192,0.25) 0%, transparent 40%); }
.egg-decor.d5 { background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(42,42,42,0.3) 6px, rgba(42,42,42,0.3) 7px); }
.egg-decor.d6 { background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(200,196,192,0.25) 10px, rgba(200,196,192,0.25) 11px); }

.egg-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 22px 26px;
  background: var(--warm-white);
  text-align: center;
}
.egg-info::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 1px; background: var(--burgundy);
}
.meta-tag {
  display: block;
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.egg-info h3 {
  font-family: var(--font-cn);
  font-size: 17px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--charcoal);
  margin-bottom: 4px;
  transition: color var(--t-fast);
}
.project-card:hover .egg-info h3 { color: var(--burgundy); }
.egg-info p { font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }

.egg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,10,10,0) 35%, rgba(10,10,10,0.4) 100%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t-fast);
  pointer-events: none;
}
.project-card:hover .egg-overlay { opacity: 1; }
.overlay-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--cream); color: var(--burgundy-deep);
  border-radius: 50%;
  transform: scale(0.8); transition: transform var(--t-fast);
}
.project-card:hover .overlay-arrow { transform: scale(1); }
.overlay-arrow svg { width: 18px; height: 18px; }

/* ========== STUDIO ========== */
.studio {
  background: var(--silver-light);
  position: relative;
}
.studio-content {
  max-width: var(--max-w); margin: 0 auto;
}

/* Sub-section heading with egg marker */
.sub-head {
  display: flex; align-items: center;
  gap: 10px; margin-bottom: 20px;
}
.sub-egg {
  width: 14px; height: 18px; display: block; flex-shrink: 0;
}
.sub-egg svg { width: 100%; height: 100%; fill: var(--burgundy); }
.sub-head h4 {
  font-family: var(--font-cn);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--charcoal);
}

/* 1. Text intro — single text level, no paragraph gaps */
.studio-intro { margin-bottom: 48px; }
.studio-intro p {
  font-size: 15px; line-height: 1.9;
  color: var(--charcoal);
  letter-spacing: 0.02em; margin-bottom: 0;
}

/* 2. Values — flat text, no boxes */
.studio-values { margin-bottom: 48px; }
.values-text {
  max-width: 720px;
}
.values-text p {
  font-size: 14px; line-height: 2;
  color: var(--charcoal);
  letter-spacing: 0.02em; margin-bottom: 4px;
}
.values-text p strong {
  font-family: var(--font-cn);
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--burgundy-deep);
}
.values-text p:last-child {
  margin-top: 16px;
  color: var(--muted);
}

/* 3. Team */
.studio-team { margin-bottom: 48px; }
.team-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.team-card {
  display: flex; align-items: center; gap: 36px;
}
.team-portrait {
  flex-shrink: 0;
}
.team-egg-frame {
  position: relative;
  width: 140px; height: 182px;
}
.team-egg-photo {
  position: absolute; inset: 0;
  clip-path: url(#eggClip);
  -webkit-clip-path: url(#eggClip);
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 60%, var(--ink) 100%);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t);
}
.team-egg-photo::after {
  content: attr(data-initial);
  font-family: var(--font-cn);
  font-size: 44px; font-weight: 300;
  color: rgba(245,243,239,0.55);
  letter-spacing: 0.04em;
}
.team-egg-photo:hover { transform: scale(1.03); }
.team-egg-photo.has-photo { background: transparent center/cover no-repeat; }
.team-egg-photo.has-photo::after { display: none; }
.team-egg-outline {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--burgundy);
  pointer-events: none;
}
.team-info h3 {
  font-family: var(--font-cn);
  font-size: 16px; font-weight: 400;
  letter-spacing: 0.06em; margin-bottom: 6px;
  color: var(--charcoal);
}
.team-role {
  display: block;
  font-family: var(--font-en); font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: 12px;
}
.team-info p {
  font-size: 14px; color: var(--muted);
  line-height: 1.9;
}

/* 4. Partners */
.partners {
  padding-top: 36px;
  border-top: 1px solid var(--silver);
}
.partners-list {
  font-size: 14px; color: var(--charcoal);
  line-height: 2.2; letter-spacing: 0.03em;
}

/* 5. Connect — social links */
.studio-connect {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--silver);
}
.connect-links {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.connect-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border: none;
  background: transparent;
  transition: all var(--t-fast);
  position: relative;
}
.connect-link::after {
  content: ''; position: absolute; bottom: 6px; left: 0;
  width: 0; height: 1px; background: var(--burgundy);
  transition: width var(--t-fast);
}
.connect-link:hover {
  color: var(--burgundy);
  transform: none;
  box-shadow: none;
}
.connect-link:hover::after { width: 100%; }
.connect-icon {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform var(--t-fast);
}
.connect-icon svg { width: 100%; height: 100%; }
.connect-link:hover .connect-icon { transform: scale(1.1); }
.connect-text {
  font-family: var(--font-cn);
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.06em;
}

/* ========== NEWS ========== */
.news { background: var(--cream); }
.news-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.news-card {
  padding: 44px;
  background: var(--warm-white);
  border: 1px solid var(--silver);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px; background: var(--burgundy);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.news-card:hover { border-color: var(--burgundy); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-card:hover::before { transform: scaleX(1); }
.news-date {
  font-family: var(--font-en); font-size: 14px;
  letter-spacing: 0.06em; color: var(--muted);
  margin-bottom: 12px; display: block;
}
.news-tag {
  display: inline-block;
  font-family: var(--font-en); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--burgundy);
  padding: 3px 10px; border: 1px solid var(--burgundy);
  margin-bottom: 16px;
}
.news-card h3 {
  font-family: var(--font-cn); font-size: 18px;
  font-weight: 400; letter-spacing: 0.04em;
  line-height: 1.5; color: var(--charcoal);
  margin-bottom: 12px;
}
.news-card p {
  font-size: 13px; color: var(--muted);
  line-height: 1.8;
}
/* 带链接的卡片可点击 */
.news-card--linked { cursor: pointer; }
.news-read-more {
  display: none;
  font-family: var(--font-en); font-size: 12px;
  letter-spacing: 0.08em; color: var(--burgundy);
  margin-top: 16px;
}
.news-card--linked:hover .news-read-more { display: block; }

/* ========== CONTACT ========== */
.contact {
  background: var(--burgundy-deep); color: var(--warm-white);
  position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; bottom: -30%; left: -15%;
  width: 55vw; height: 70vw;
  border: 1px solid rgba(245,243,239,0.04);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  pointer-events: none;
}
.contact::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(60,60,60,0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  pointer-events: none; z-index: 0;
}
.contact-inner { position: relative; z-index: 1; }
.contact-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px;
  align-items: start; position: relative; z-index: 1;
}
.contact-label {
  font-family: var(--font-en); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,243,239,0.45); margin-bottom: 16px;
}
.contact-info h3 { font-family: var(--font-cn); font-size: 24px; font-weight: 400; letter-spacing: 0.06em; margin-bottom: 24px; }
.contact-info p { font-size: 14px; line-height: 1.9; color: rgba(245,243,239,0.7); margin-bottom: 12px; }
.contact-info a:hover { color: var(--warm-white); }
.contact-phone-wechat {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.contact-icon-link {
  display: inline-flex; align-items: center;
  color: rgba(245,243,239,0.5);
  transition: color var(--t-fast);
}
.contact-icon-link:hover { color: var(--warm-white); }
.contact-ico { width: 16px; height: 16px; }
.contact-num { font-size: 14px; color: rgba(245,243,239,0.7); }
.contact-connect-links {
  display: flex; gap: 18px;
  margin-top: 6px;
}
.contact-connect-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  color: rgba(245,243,239,0.5);
  transition: color var(--t-fast), transform var(--t-fast);
}
.contact-connect-link:hover { color: var(--warm-white); transform: scale(1.15); }
.contact-connect-link svg { width: 100%; height: 100%; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { position: relative; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid rgba(245,243,239,0.18);
  background: rgba(245,243,239,0.05);
  color: var(--warm-white);
  transition: border-color var(--t-fast), background var(--t-fast);
  outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: transparent; }
.contact-form label {
  position: absolute; left: 16px; top: 14px;
  font-size: 14px; color: rgba(245,243,239,0.4);
  pointer-events: none; transition: all var(--t-fast);
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(245,243,239,0.5);
  background: rgba(245,243,239,0.08);
}
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
  top: -8px; left: 12px; font-size: 11px;
  background: var(--burgundy); padding: 0 6px;
  color: rgba(245,243,239,0.7);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  align-self: flex-start;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--warm-white); color: var(--burgundy);
  border: 1px solid var(--warm-white);
  transition: all var(--t-fast);
}
.btn-submit .submit-arrow { width: 18px; height: 18px; }
.btn-submit:hover { background: var(--silver-light); transform: translateX(4px); }
.btn-submit.success { background: #4ade80; color: var(--burgundy-deep); border-color: #4ade80; }
.btn-submit.sending { background: var(--silver-light); color: var(--muted); border-color: var(--silver-light); pointer-events: none; }
.btn-submit.sending .submit-arrow { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ink); color: var(--warm-white);
  padding: 48px 40px; text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-logo {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 20px;
  color: var(--warm-white);
}
.footer-logo.logo-zh { display: inline-flex; }
.footer-logo.logo-en { display: none; }
html[data-lang="en"] .footer-logo.logo-zh { display: none; }
html[data-lang="en"] .footer-logo.logo-en { display: inline-flex; }
.footer-logo-mark { width: 24px; height: 32px; fill: currentColor; }
.footer-logo-text {
  font-family: var(--font-cn);
  font-size: 15px; font-weight: 400;
  letter-spacing: 0.1em; line-height: 1.2;
}
.footer-logo.logo-en .footer-logo-text {
  font-family: var(--font-en);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; line-height: 1.25;
}
.footer-text { font-size: 12px; color: rgba(245,243,239,0.5); margin-bottom: 8px; letter-spacing: 0.06em; }
.footer-copy { font-family: var(--font-en); font-size: 12px; color: rgba(245,243,239,0.3); letter-spacing: 0.08em; }

/* ========== PROJECT MODAL ========== */
.project-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast), visibility var(--t-fast);
}
.project-modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,15,15,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-card {
  position: relative; z-index: 1;
  max-width: 960px; width: 92%;
  max-height: 88vh; overflow-y: auto;
  background: var(--warm-white);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  transform: translateY(24px) scale(0.96);
  transition: transform var(--t);
}
.project-modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,243,239,0.9);
  border-radius: 50%;
  color: var(--charcoal);
  transition: all var(--t-fast);
}
.modal-close:hover { background: var(--burgundy-deep); color: var(--warm-white); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}
.modal-egg {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
  background: linear-gradient(160deg, var(--burgundy-deep) 0%, var(--ink) 100%);
}
.modal-egg-media {
  position: relative;
  width: 100%;
  aspect-ratio: 200 / 260;
  max-height: 520px;
  clip-path: url(#eggClip);
  -webkit-clip-path: url(#eggClip);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.modal-egg-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.modal-info {
  padding: 56px 48px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.modal-tag {
  display: block;
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--burgundy);
  margin-bottom: 16px;
}
.modal-info h3 {
  font-family: var(--font-cn);
  font-size: 28px; font-weight: 400;
  letter-spacing: 0.06em; line-height: 1.3;
  color: var(--charcoal); margin-bottom: 8px;
}
.modal-loc {
  font-family: var(--font-cn);
  font-size: 14px; color: var(--muted);
  letter-spacing: 0.04em; margin-bottom: 28px;
}
.modal-desc p {
  font-size: 15px; line-height: 2;
  color: var(--charcoal); letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.modal-highlights {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.modal-highlights span {
  font-family: var(--font-cn);
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--burgundy);
  padding: 6px 14px;
  border: 1px solid var(--burgundy);
}
@media (max-width: 768px) {
  .modal-body { grid-template-columns: 1fr; }
  .modal-egg { padding: 32px; }
  .modal-info { padding: 32px 24px; }
}

/* --- Modal Gallery --- */
.modal-gallery-section {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px 48px 48px;
}
.modal-gallery-header {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 20px;
}
.modal-gallery-label {
  font-family: var(--font-cn);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.1em; color: var(--charcoal);
}
.modal-gallery-count {
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--muted);
}
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--burgundy-deep);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity var(--t-fast);
  opacity: 0.92;
}
.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 1;
}
.gallery-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.gallery-num {
  position: absolute; bottom: 8px; right: 8px;
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: color var(--t-fast);
}
.lightbox-close:hover { color: #fff; }
.lightbox-close svg { width: 24px; height: 24px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  border-radius: 50%;
}
.lightbox-nav:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-nav svg { width: 28px; height: 28px; }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .modal-gallery-section { padding: 24px; }
  .modal-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

/* ========== ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .header-inner { padding: 0 40px; height: 76px; }
  .main-nav { gap: 36px; }
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 150px 40px 100px;
    text-align: center;
  }
  .hero-egg-wrap { min-height: 52vh; }
  .hero-egg { width: min(42vh, 360px); height: min(58vh, 500px); }
  .hero-slogan { max-width: 100%; }
  .hero-copy {
    border-left: none; padding-left: 0; padding-top: 36px;
    border-top: 1px solid rgba(245,243,239,0.1);
    max-width: 540px; margin: 0 auto;
  }
  .hero-copy::before { display: none; }
  .hero-slogan { white-space: normal; max-width: 88%; }
  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .team-row { grid-template-columns: 1fr; gap: 36px; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 64px; }
  section { padding: 120px 40px; }
}

@media (max-width: 720px) {
  .header-inner { padding: 0 20px; height: 64px; }
  .logo { height: 34px; }
  .logo-text { display: none !important; }
  .logo-mark { width: 24px; height: 32px; }
  .main-nav { display: none; }
  .header-tools { gap: 4px; }
  .nav-toggle { display: flex; }
  .mobile-menu { inset: 64px 0 0; }
  .mobile-nav a { font-size: 26px; }
  section { padding: 90px 24px; }
  .section-head { margin-bottom: 64px; }
  .section-num::before, .section-num::after { width: 20px; }
  .hero-stage { padding: 120px 20px 80px; }
  .hero-egg-wrap { min-height: 46vh; }
  .hero-egg { width: min(38vh, 300px); height: min(52vh, 420px); }
  .hero-slogan { font-size: clamp(15px, 4.5vw, 22px); letter-spacing: 0.14em; margin-top: 0; white-space: nowrap; max-width: 90%; }
  .hero-desc { font-size: 16px; }
  .philosophy-principles { gap: 20px; }
  .philosophy-principles span:not(:last-child)::after { right: -12px; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .srs-model { padding: 32px 20px; }
  .srs-head { margin-bottom: 32px; }
  .srs-pillar { margin-bottom: 0; }
  .srs-branch { height: 48px; width: 80%; }
  .srs-flow {
    flex-direction: column; align-items: center;
    gap: 16px; margin-top: 0; padding-bottom: 0;
  }
  .srs-flow::after { display: none; } /* mobile: hide the cross-line */
  .srs-card { min-width: 280px; max-width: 360px; width: 100%; }
  .srs-egg--start,
  .srs-egg--end { width: 160px; height: 200px; }
  .srs-arrow {
    width: 16px; height: 32px; margin-top: 0;
    transform: rotate(90deg);
  }
  .srs-phase-block { width: 200px; min-height: auto; margin: 8px 0; padding: 14px 12px; }
  .srs-phase-list li { padding: 4px 0; line-height: 1.7; }
  .srs-timeline { margin-top: 36px; width: 100%; margin-left: 0; margin-right: 0; }
  .srs-timeline-arrow { display: none; } /* mobile: hide connector */
  .srs-timeline-items {
    flex-direction: column; gap: 10px;
  }
  .srs-timeline-items span,
  .srs-timeline-items span:first-child,
  .srs-timeline-items span:last-child { text-align: center; }
  .srs-timeline-items span::before { display: none; }
  .srs-timeline-bar { height: 100%; width: 1px; left: 50%; top: 0; }
  .srs-timeline-bar::before { left: -3px; top: 0; }
  .srs-timeline-bar::after { left: -3px; top: auto; bottom: 0; }
  .team-card { flex-direction: column; text-align: center; gap: 16px; }
  .team-info p br { display: none; }
  .news-card { padding: 28px 24px; }
  .scroll-hint { display: none; }
  .search-bar-inner { padding: 14px 20px; }
}
