/* ═══════════════════════════════════════════
   雅緻陳列室 - Elegant Showroom
   Design Read: Premium showroom design studio
   for commercial clients, gallery aesthetic,
   charcoal+slate+gold palette.
   Dials: VARIANCE=8 MOTION=5 DENSITY=3
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');

/* ── CSS Variables ── */
:root {
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Noto Sans TC', 'Outfit', sans-serif;

  /* Dark mode (default) */
  --bg: #0f0f14;
  --bg-surface: #1a1a22;
  --bg-elevated: #22222c;
  --fg: #e8e4dd;
  --fg-muted: #8a8680;
  --fg-dim: #5c5854;
  --accent: #c4a04a;
  --accent-soft: rgba(196, 160, 74, 0.12);
  --accent-glow: rgba(196, 160, 74, 0.25);
  --border: #2a2824;
  --border-light: #1e1d1a;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light mode via prefers-color-scheme */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8f7f4;
    --bg-surface: #ffffff;
    --bg-elevated: #f0efec;
    --fg: #1a1816;
    --fg-muted: #6b6762;
    --fg-dim: #a09c96;
    --border: #e0ddd8;
    --border-light: #eeebe6;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  }
}

/* Manual dark class override */
:root.dark-mode {
  --bg: #0f0f14;
  --bg-surface: #1a1a22;
  --bg-elevated: #22222c;
  --fg: #e8e4dd;
  --fg-muted: #8a8680;
  --fg-dim: #5c5854;
  --border: #2a2824;
  --border-light: #1e1d1a;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

/* ── Global page fade in ── */
.page-transition {
  animation: pageFadeIn 0.5s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Noise overlay ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Mesh gradient decorative ── */
.mesh-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 160, 74, 0.3), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(120, 100, 60, 0.2), transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(80, 70, 50, 0.2), transparent 50%);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

p { max-width: 65ch; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent); opacity: 0.85; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ── Navbar ── */
.navbar {
  background: transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border var(--transition);
  z-index: 100;
  padding: 0.75rem 0;
  max-height: 72px;
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--fg) !important;
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted) !important;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}
.nav-link:hover,
.nav-link.active {
  color: var(--fg) !important;
}

.theme-toggle {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}
.theme-toggle:hover {
  color: var(--fg);
  border-color: var(--accent);
}

/* ── Buttons ── */
.btn-primary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--accent);
  color: #0f0f14;
}
.btn-primary:hover {
  background: #d4b05a;
  color: #0f0f14;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-primary:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

.btn-outline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-outline:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* ── Card ── */
.card-showroom {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.card-showroom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── Section spacing ── */
.section-padding {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

/* ── Image wrappers ── */
.img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}
.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-wrapper:hover img {
  transform: scale(1.03);
}

/* ── Gallery card with zoom ── */
.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-card:hover::after {
  opacity: 1;
}

/* ── SCROLL-DRIVEN ANIMATIONS ── */

/* Stagger reveal via view-timeline */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-driven reveals using animation-timeline */
.reveal-section {
  animation: slideUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 100%;
}

.reveal-section:nth-child(1) { animation-range: entry 0% entry 80%; }
.reveal-section:nth-child(2) { animation-range: entry 5% entry 85%; }
.reveal-section:nth-child(3) { animation-range: entry 10% entry 90%; }

.reveal-item {
  animation: slideUp linear both;
  animation-timeline: view();
  animation-range: entry 5% entry 40%;
}

/* Stagger children within a container */
.stagger-container > * {
  animation: slideUp linear both;
  animation-timeline: view();
}
.stagger-container > *:nth-child(1) { animation-range: entry 3% entry 35%; }
.stagger-container > *:nth-child(2) { animation-range: entry 8% entry 40%; }
.stagger-container > *:nth-child(3) { animation-range: entry 13% entry 45%; }
.stagger-container > *:nth-child(4) { animation-range: entry 18% entry 50%; }
.stagger-container > *:nth-child(5) { animation-range: entry 23% entry 55%; }
.stagger-container > *:nth-child(6) { animation-range: entry 28% entry 60%; }

/* Fallback: auto-reveal for browsers without @supports */
@supports not (animation-timeline: view()) {
  .reveal-section,
  .reveal-item,
  .stagger-container > * {
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: auto;
  }
  .stagger-container > *:nth-child(2) { animation-delay: 0.1s; }
  .stagger-container > *:nth-child(3) { animation-delay: 0.2s; }
  .stagger-container > *:nth-child(4) { animation-delay: 0.3s; }
  .stagger-container > *:nth-child(5) { animation-delay: 0.4s; }
  .stagger-container > *:nth-child(6) { animation-delay: 0.5s; }
}

/* ── Hero split layout ── */
.hero-split {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-split-text {
  padding-right: 2rem;
}

.hero-split-headline {
  animation: slideRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-split-sub {
  animation: slideUp 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
  color: var(--fg-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 50ch;
  line-height: 1.8;
}

.hero-split-cta {
  animation: slideUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-split-visual {
  position: relative;
  height: 100%;
  min-height: 400px;
  animation: slideLeft 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-accent-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

/* ── Blog cards ── */
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.03);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--fg-dim);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ── Pagination ── */
.pagination .page-link {
  font-family: var(--font-display);
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--fg-muted);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.pagination .page-link:hover {
  background: var(--bg-elevated);
  color: var(--fg);
  border-color: var(--accent);
}
.pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #0f0f14;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}
.timeline-item:nth-child(even) {
  direction: rtl;
}
.timeline-item:nth-child(even) .timeline-content {
  direction: ltr;
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, 0);
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--border);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.timeline-content {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* ── Profile cards ── */
.profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin-bottom: 1rem;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.profile-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.profile-bio {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ── Bento grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1.25rem;
}
.bento-cell {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
  position: relative;
}
.bento-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.span-2-row { grid-row: span 2; }
.bento-cell.has-image {
  padding: 0;
}
.bento-cell.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Partner carousel / marquee ── */
.partner-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  flex-shrink: 0;
  height: 40px;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.partner-logo:hover {
  opacity: 0.85;
  color: var(--fg);
}
.partner-logo .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Contact form ── */
.form-control {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus {
  background: var(--bg-elevated);
  border-color: var(--accent);
  color: var(--fg);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.form-control::placeholder {
  color: var(--fg-dim);
}
.form-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

/* ── Map placeholder ── */
.map-placeholder {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder-inner {
  text-align: center;
  color: var(--fg-muted);
}
.map-placeholder-inner .map-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

/* ── Service detail sections ── */
.service-detail {
  padding: clamp(3rem, 5vw, 5rem) 0;
  border-bottom: 1px solid var(--border);
}
.service-detail-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: center;
}
.service-detail:nth-child(even) .service-detail-inner {
  grid-template-columns: 7fr 5fr;
}
.service-detail:nth-child(even) .service-detail-visual {
  order: 1;
}
.service-detail:nth-child(even) .service-detail-info {
  order: 0;
}
.service-detail-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.service-detail-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.service-detail h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.service-detail p {
  color: var(--fg-muted);
}

/* ── Footer ── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-text {
  color: var(--fg-muted);
  font-size: 0.9rem;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: var(--fg-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* ── Blog featured hero ── */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Contact info strip ── */
.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.contact-info-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.contact-info-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  margin-bottom: 0.4rem;
}
.contact-info-value {
  font-weight: 500;
  color: var(--fg);
}

/* ── Why Us / Mission stats ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 6rem 0 3rem;
    gap: 2rem;
  }
  .hero-split-text { padding-right: 0; }
  .hero-split-visual { min-height: 300px; }
  .hero-split-visual { order: -1; }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-cell.span-2 { grid-column: span 2; }

  .contact-info-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail .service-detail-inner,
  .service-detail:nth-child(even) .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-detail:nth-child(even) .service-detail-visual,
  .service-detail:nth-child(even) .service-detail-info {
    order: 0;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .timeline::before { left: 2rem; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    padding-left: 3.5rem;
  }
  .timeline-dot {
    left: 2rem;
    top: 0.5rem;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-cell.span-2 { grid-column: span 1; }

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

  .stat-grid { max-width: 100%; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .partner-track { animation: none; }
  .noise-overlay { display: none; }
}
