/* ============================================================
   逐梦工作室 Dream-Chasing Studio — Main Stylesheet
   ============================================================ */

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

:root {
  --bg1: #0a0a12;
  --bg2: #0f0f1e;
  --bg3: #131326;
  --bg4: #1a1a30;
  --surface: #1e1e38;
  --surface2: #252542;
  --border: rgba(120, 100, 220, 0.15);
  --border2: rgba(120, 100, 220, 0.28);

  --accent: #7b5cff;
  --accent-soft: rgba(123, 92, 255, 0.3);
  --accent-hover: #9478ff;
  --accent2: #4a9eff;
  --accent3: #f5c842;
  --accent4: #ff6b9d;

  --text1: #f0eeff;
  --text2: #b8b0d8;
  --text3: #7a739a;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --nav-h: 64px;
  --font-sans: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --font-cn: 'Noto Sans SC', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg1);
  color: var(--text2);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* === CONTAINER === */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  color: var(--text1);
  line-height: 1.2;
  font-family: var(--font-sans);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.1rem; font-weight: 500; }
h4 { font-size: 0.9rem; font-weight: 500; color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em; }
p { color: var(--text2); line-height: 1.75; }

.accent { color: var(--accent); }

/* === TAG / EYEBROW === */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(123, 92, 255, 0.3);
  border-radius: 99px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header p { max-width: 480px; margin: 12px auto 0; color: var(--text3); }

/* === SECTION === */
.section { padding: 100px 0; }
.bg-alt { background: var(--bg2); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s var(--ease-out);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123, 92, 255, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--text1);
  border-color: var(--border2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(123, 92, 255, 0.4);
}
.btn-outline:hover { background: rgba(123, 92, 255, 0.08); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { width: 18px; height: 18px; }


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text1);
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.8; }
.logo-icon {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text em {
  font-style: normal;
  font-size: 10px;
  font-weight: 300;
  color: var(--text3);
  letter-spacing: 0.06em;
  font-family: 'Space Grotesk', sans-serif;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text3);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
  border-radius: 99px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text1); }
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: all 0.3s;
}


/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
#heroCanvas { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text1);
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3;transform:scaleY(0.5);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} }


/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text1);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num em { font-style: normal; color: var(--accent); font-size: 0.7em; }
.stat-label { display: block; font-size: 12px; color: var(--text3); letter-spacing: 0.05em; }


/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.icon-3d { background: rgba(123, 92, 255, 0.12); color: var(--accent); }
.icon-2d { background: rgba(74, 158, 255, 0.12); color: var(--accent2); }
.icon-art { background: rgba(245, 200, 66, 0.12); color: var(--accent3); }
.icon-sound { background: rgba(255, 107, 157, 0.12); color: var(--accent4); }
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text3); line-height: 1.7; margin-bottom: 18px; }
.card-link { font-size: 13px; color: var(--accent); font-weight: 500; transition: opacity 0.2s; }
.card-link:hover { opacity: 0.7; }


/* ============================================================
   WORKS
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.work-card { border-radius: var(--radius-lg); overflow: hidden; }
.work-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.work-card-lg .work-img { aspect-ratio: 16/10; }
.work-placeholder { width: 100%; height: 100%; }
.work-placeholder svg { width: 100%; height: 100%; }
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,15,0.92) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transform: translateY(10px);
  transition: transform 0.3s;
}
.work-card:hover .work-overlay { transform: translateY(0); }
.work-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(123, 92, 255, 0.4);
  border-radius: 99px;
  padding: 2px 8px;
  margin-bottom: 6px;
  width: fit-content;
}
.work-overlay h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.work-overlay p { font-size: 12px; color: var(--text3); }
.center-cta { text-align: center; }


/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; }
.cta-band p { color: var(--text3); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg1); padding-top: 72px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text3); line-height: 1.7; }
.footer-links h4, .footer-contact h4 { margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--text3); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { font-size: 14px; color: var(--text3); margin-bottom: 6px; }
.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text3); }


/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: radial-gradient(ellipse at 20% 50%, rgba(123, 92, 255, 0.06) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero .tag { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; color: var(--text3); max-width: 540px; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-text .tag { margin-bottom: 12px; }
.story-text h2 { margin-bottom: 20px; }
.story-text p { color: var(--text3); margin-bottom: 16px; }
.story-svg-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.story-svg-wrap svg { width: 100%; height: auto; display: block; }

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.25s;
}
.value-card:hover { border-color: var(--border2); }
.value-num {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(123, 92, 255, 0.2);
  line-height: 1;
  margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
}
.value-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--text3); }

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.team-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 2px solid var(--border2);
}
.team-avatar svg { width: 100%; height: 100%; }
.av1 { background: rgba(123, 92, 255, 0.1); }
.av2 { background: rgba(74, 158, 255, 0.1); }
.av3 { background: rgba(245, 200, 66, 0.1); }
.av4 { background: rgba(255, 107, 157, 0.1); }
.team-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: 12px; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 10px; display: block; }
.team-card p { font-size: 13px; color: var(--text3); line-height: 1.6; }


/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 100px;
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-icon-lg {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon-lg svg { width: 36px; height: 36px; }
.service-info .tag { margin-bottom: 10px; }
.service-info h2 { margin-bottom: 16px; }
.service-info > p { color: var(--text3); margin-bottom: 24px; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  font-size: 14px;
  color: var(--text2);
  padding-left: 20px;
  position: relative;
}
.service-features li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 8px;
  top: 5px;
}

.demo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.demo-card svg { width: 100%; height: auto; display: block; }

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  font-family: 'Space Grotesk', sans-serif;
}
.step-line {
  position: absolute;
  top: 24px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 2px;
  background: var(--border2);
}
.step-line.last { display: none; }
.process-step h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: 12px; color: var(--text3); line-height: 1.6; }


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: flex-start;
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.form-sub { color: var(--text3); font-size: 14px; margin-bottom: 32px; }

/* FORM ELEMENTS */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--text2); margin-bottom: 7px; font-weight: 500; }
.form-group label span { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  color: var(--text1);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group select { cursor: pointer; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--accent2);
  font-size: 14px;
  margin-top: 14px;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-success.show { display: flex; }

/* CONTACT INFO */
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}
.info-block h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; }
.info-item { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.info-item:last-child { margin-bottom: 0; }
.info-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(123, 92, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 16px; height: 16px; color: var(--accent); }
.info-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.info-value { font-size: 14px; color: var(--text2); }
.info-value a { color: var(--accent); transition: opacity 0.2s; }
.info-value a:hover { opacity: 0.7; }

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text2);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-time { font-weight: 500; color: var(--text1); font-family: 'Space Grotesk', sans-serif; }
.schedule-time.off { color: var(--text3); font-weight: 400; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text1);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out), padding 0.3s;
}
.faq-a.open { max-height: 200px; padding-bottom: 14px; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .values-grid,
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .work-card-lg { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-step:nth-child(3) .step-line,
  .process-step:nth-child(5) .step-line { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(10,10,18,0.97); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .nav-toggle { display: flex; }
  .hero-content { max-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card-lg { grid-column: auto; }
  .story-layout,
  .service-block,
  .service-block.reverse { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .step-line { display: none !important; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .values-grid,
  .team-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
