/* ═══════════════════════════════════════
   Sparrow & Trieu — Main Stylesheet
   Pixel-perfect match of React SPA
   ═══════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --background: hsl(200 54% 98%);
  --foreground: hsl(257 25% 16%);
  --card: hsl(0 0% 100%);
  --card-fg: hsl(257 25% 16%);
  --primary: hsl(213 34% 32%);
  --primary-fg: hsl(0 0% 100%);
  --secondary: hsl(200 30% 94%);
  --secondary-fg: hsl(213 34% 32%);
  --muted: hsl(200 20% 93%);
  --muted-fg: hsl(213 25% 45%);
  --accent: hsl(202 100% 36%);
  --accent-fg: hsl(0 0% 100%);
  --border: hsl(200 20% 88%);
  --section-warm: hsl(200 30% 96%);
  --section-cool: hsl(200 40% 95%);
  --section-dark: hsl(257 25% 16%);
  --section-dark-fg: hsl(200 20% 85%);
  --section-gold: hsl(202 40% 93%);
  --radius: 4px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Mukta', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.font-display { font-family: 'Mukta', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* ── Container ── */
.st-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .st-container { padding: 0 48px; }
}

/* ── Scroll Animations ── */
.st-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1),
              transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.st-reveal.st-visible {
  opacity: 1;
  transform: translateY(0);
}
.st-reveal-delay-1 { transition-delay: 0.08s; }
.st-reveal-delay-2 { transition-delay: 0.16s; }
.st-reveal-delay-3 { transition-delay: 0.24s; }
.st-reveal-delay-4 { transition-delay: 0.32s; }
.st-reveal-delay-5 { transition-delay: 0.4s; }
.st-reveal-delay-6 { transition-delay: 0.48s; }
.st-reveal-delay-7 { transition-delay: 0.56s; }

/* ── Navigation ── */
.st-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: hsla(200, 54%, 98%, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.st-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
@media (min-width: 768px) {
  .st-nav-inner { padding: 0 48px; }
}
.st-nav-logo img { height: 40px; }
.st-nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}
@media (min-width: 768px) {
  .st-nav-links { display: flex; }
}
.st-nav-link {
  font-size: 13px;
  color: var(--muted-fg);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.st-nav-link:hover { color: var(--foreground); }
.st-nav-cta {
  display: inline-flex;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.st-nav-cta:hover { opacity: 0.9; }

/* Dropdown */
.st-dropdown { position: relative; }
.st-dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.st-dropdown-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; }
.st-dropdown:hover .st-dropdown-trigger svg { transform: rotate(180deg); }
.st-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
}
.st-dropdown:hover .st-dropdown-menu { display: block; }
.st-dropdown-menu-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
  padding: 8px 0;
  min-width: 220px;
}
.st-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted-fg);
  letter-spacing: 0.03em;
  transition: all 0.15s;
}
.st-dropdown-item:hover {
  color: var(--foreground);
  background: hsla(200, 20%, 93%, 0.6);
}

/* Mobile menu */
.st-mobile-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .st-mobile-actions { display: none !important; }
}
.st-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 8px;
}
@media (min-width: 768px) {
  .st-mobile-toggle { display: none; }
}
.st-lang-switcher-mobile {
  position: relative;
}
@media (min-width: 768px) {
  .st-lang-switcher-mobile { display: none !important; }
}
.st-lang-switcher-mobile .st-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: var(--muted-fg);
  padding: 0;
}
.st-lang-switcher-mobile .st-lang-trigger svg {
  margin-right: 0 !important;
}
.st-mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 24px;
}
.st-mobile-menu.st-open { display: block; }
@media (min-width: 768px) {
  .st-mobile-menu { display: none !important; }
}
.st-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.st-mobile-menu a,
.st-mobile-services-trigger {
  font-family: 'Mukta', sans-serif;
  font-size: 16px;
  color: var(--foreground);
}
.st-mobile-services-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.st-mobile-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.st-mobile-services-menu {
  display: none !important;
  margin-top: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
  gap: 8px !important;
}
.st-mobile-services-menu.st-open {
  display: flex !important;
}
.st-mobile-services-menu a {
  font-size: 14px;
  color: var(--muted-fg);
  transition: color 0.2s;
}
.st-mobile-services-menu a:hover {
  color: var(--foreground);
}
.st-mobile-menu .st-nav-cta {
  display: inline-flex;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--primary-fg) !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
  width: fit-content;
}
.st-mobile-menu .st-nav-cta:hover { opacity: 0.9; }


/* ── Hero ── */
.st-hero {
  
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}
@media (min-width: 768px) {
  .st-hero {
  padding: 120px 48px 0; }
}
.st-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
}
.st-hero-bg img { width: 100%; height: 120%; object-fit: cover; }
.st-hero-content { max-width: 900px; }
.st-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.st-hero-tag-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.st-hero-tag-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-fg);
}
.st-hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.st-hero h1 em {
  color: var(--accent);
  font-style: italic;
}
.st-hero-subtitle {
  margin-top: 32px;
  font-size: 16px;
  color: var(--muted-fg);
  max-width: 52ch;
  line-height: 1.7;
  font-weight: 300;
}
@media (min-width: 768px) {
  .st-hero-subtitle { font-size: 18px; }
}
.st-hero-actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.st-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.st-btn-primary:hover { opacity: 0.9; }
.st-btn-primary .arrow { opacity: 0.6; }
.st-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid hsla(257, 25%, 16%, 0.2);
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.st-btn-outline:hover { background: hsla(257, 25%, 16%, 0.05); }
.st-hero-stats {
  margin-top: 80px;
  display: flex;
  gap: 64px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.st-stat-value {
  font-size: 36px;
  font-weight: 600;
  color: var(--foreground);
}
.st-stat-value span { color: var(--accent); }
.st-stat-label {
  font-size: 12px;
  color: var(--muted-fg);
  margin-top: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Services Grid ── */
.st-services { padding: 96px 0 128px; background: var(--section-warm); }
@media (min-width: 768px) { .st-services { padding: 96px 0 128px; } }
.st-section-header { margin-bottom: 48px; }
@media (min-width: 768px) { .st-section-header { margin-bottom: 64px; } }
.st-section-label { font-size: 14px; font-weight: 500; color: var(--primary); margin-bottom: 8px; }
.st-section-title { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--foreground); }
@media (min-width: 768px) { .st-section-title { font-size: 36px; } }

.st-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .st-services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .st-services-grid { grid-template-columns: repeat(4, 1fr); } }

.st-service-card {
  display: block;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s;
}
.st-service-card:hover {
  border-color: hsla(202, 100%, 36%, 0.4);
  box-shadow: 0 10px 30px -10px hsla(202, 100%, 36%, 0.1);
  transform: translateY(-4px);
}
.st-service-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: hsla(202, 100%, 36%, 0.6);
}
.st-service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin: 12px 0 8px;
  transition: color 0.2s;
}
.st-service-card:hover h3 { color: var(--primary); }
.st-service-card p {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.6;
}
.st-service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}
.st-service-card:hover .st-service-link {
  opacity: 1;
  transform: translateY(0);
}

/* ── Testimonials ── */
.st-testimonials { padding: 96px 0; }
.st-testimonials-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .st-testimonials-grid { grid-template-columns: 1fr 1fr; } }
.st-testimonial-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.st-stars { display: flex; gap: 2px; }
.st-star { width: 16px; height: 16px; color: var(--accent); fill: var(--accent); }
.st-testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: hsla(257, 25%, 16%, 0.8);
  font-style: italic;
}
.st-testimonial-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.st-testimonial-name { font-size: 14px; font-weight: 500; color: var(--foreground); }
.st-testimonial-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

/* ── Team Dossier ── */
.st-team-section { padding: 96px 0 128px; background: hsla(200, 20%, 93%, 0.5); }
.st-team-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .st-team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .st-team-grid { grid-template-columns: repeat(4, 1fr); } }
.st-team-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--background);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.st-team-card:hover { box-shadow: 0 10px 30px -10px hsla(213, 34%, 32%, 0.05); }
.st-team-card-img { aspect-ratio: 3/4; overflow: hidden; }
.st-team-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.5s;
}
.st-team-card:hover .st-team-card-img img { transform: scale(1.05); }
.st-team-card-body { padding: 20px; }
.st-team-card-body h3 { font-size: 18px; font-weight: 600; color: var(--foreground); }
.st-team-card-body .role { font-size: 14px; color: var(--muted-fg); margin-top: 4px; }
.st-team-card-contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid hsla(200, 20%, 88%, 0.6);
}
.st-team-card-contact a {
  display: block;
  font-size: 12px;
  color: var(--muted-fg);
  transition: color 0.2s;
}
.st-team-card-contact a:hover { color: var(--accent); }

/* ── About Section ── */
.st-about { position: relative; padding: 96px 0 128px; overflow: hidden; }
.st-about-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, var(--background), hsla(200, 54%, 98%, 0.95), var(--background));
}
.st-about-bg img { width: 100%; height: 130%; object-fit: cover; opacity: 0.07; }
.st-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) { .st-two-col { grid-template-columns: 1fr 1fr; gap: 96px; } }
.st-label-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.st-label-line-bar { width: 32px; height: 1px; background: var(--accent); }
.st-label-line-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-fg);
}
.st-about h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 768px) { .st-about h2 { font-size: 36px; } }
.st-about h2 em { color: var(--accent); font-style: italic; }
.st-about-text { font-size: 16px; color: var(--muted-fg); line-height: 1.7; font-weight: 300; }
@media (min-width: 768px) { .st-about-text { font-size: 18px; } }
.st-about-est {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted-fg);
}

/* ── Languages ── */
.st-languages { padding: 96px 0 128px; background: var(--section-gold); }
.st-lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-lang-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.st-lang-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
.st-lang-flag { font-size: 24px; }
.st-lang-name { font-size: 14px; font-weight: 500; color: var(--foreground); }
.st-lang-native { font-size: 12px; color: var(--muted-fg); }

/* ── Contact ── */
.st-contact {
  position: relative;
  padding: 96px 0 128px;
  background: var(--section-dark);
  color: var(--section-dark-fg);
  overflow: hidden;
}
.st-contact-bg {
  position: absolute; inset: 0; z-index: 0;
}
.st-contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.st-contact-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: hsla(257, 25%, 16%, 0.9);
}
.st-contact-inner { position: relative; z-index: 1; }
.st-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .st-contact-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }
.st-contact h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--section-dark-fg);
  margin-bottom: 24px;
}
@media (min-width: 768px) { .st-contact h2 { font-size: 36px; } }
.st-contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) { .st-contact-cards { grid-template-columns: 1fr 1fr; } }
.st-contact-card {
  padding: 24px;
  border-radius: 12px;
  background: hsla(200, 20%, 85%, 0.05);
  border: 1px solid hsla(200, 20%, 85%, 0.1);
  backdrop-filter: blur(8px);
}
.st-contact-card-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsla(200, 20%, 85%, 0.5);
  margin-bottom: 12px;
}
.st-contact-card a {
  color: var(--section-dark-fg);
  transition: color 0.2s;
}
.st-contact-card a:hover { color: var(--accent); }


/* ── Mobile dropdown ── */
/* ── Footer ── */
.st-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 64px;
  background: var(--primary);
}
.st-footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .st-footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}
.st-footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: 0.8; }
.st-footer-tagline { font-size: 12px; color: hsla(0, 0%, 100%, 0.4); margin-top: 4px; letter-spacing: 0.03em; }
.st-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
@media (min-width: 768px) { .st-footer-links { gap: 24px; } }
.st-footer-links a {
  font-size: 12px;
  color: hsla(0, 0%, 100%, 0.5);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.st-footer-links a:hover { color: white; }
.st-footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .st-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.st-footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
@media (min-width: 768px) { .st-footer-legal { gap: 32px; } }
.st-footer-legal span, .st-footer-credit {
  font-size: 12px;
  color: hsla(0, 0%, 100%, 0.3);
}
.st-footer-credit a { text-decoration: underline; text-underline-offset: 2px; }
.st-footer-credit a:hover { color: white; }

/* ── Page Layout (practice areas, about, team, etc.) ── */
.st-page-header {
  padding-top: 128px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.st-page-label { font-size: 14px; font-weight: 500; color: var(--primary); margin-bottom: 12px; }
.st-page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.st-page-subtitle {
  margin-top: 24px;
  font-size: 16px;
  color: var(--muted-fg);
  max-width: 60ch;
  line-height: 1.7;
}
@media (min-width: 768px) { .st-page-subtitle { font-size: 18px; } }

/* ── Practice Sections ── */
.st-practice-body { padding: 10vh 0 15vh; }
.st-practice-section {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .st-practice-section { grid-template-columns: 4fr 8fr; } }
.st-practice-section h3 { font-size: 20px; font-weight: 600; color: var(--foreground); }
@media (min-width: 768px) { .st-practice-section h3 { font-size: 24px; } }
.st-practice-desc { font-size: 16px; color: var(--muted-fg); line-height: 1.7; margin-bottom: 20px; }
.st-practice-items { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.st-practice-items li {
  font-size: 14px;
  color: var(--muted-fg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.st-practice-items li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsla(202, 100%, 36%, 0.4);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ── Service CTA Banner ── */
.st-service-cta {
  margin: 32px 0 48px;
  border-radius: 12px;
  background: hsla(200, 20%, 93%, 0.6);
  border: 1px solid hsla(200, 20%, 88%, 0.5);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .st-service-cta { flex-direction: row; align-items: center; gap: 40px; }
}
.st-service-cta-content { flex: 1; }
.st-service-cta h4 { font-size: 18px; font-weight: 600; color: var(--foreground); margin-bottom: 4px; }
@media (min-width: 768px) { .st-service-cta h4 { font-size: 20px; } }
.st-service-cta p { font-size: 14px; color: var(--muted-fg); line-height: 1.6; }
.st-service-cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.st-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
}
.st-btn-call:hover { background: var(--background); }
.st-btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.st-btn-contact:hover { background: hsla(213, 34%, 32%, 0.9); }

/* ── Service Team ── */
.st-service-team {
  border-top: 1px solid var(--border);
  padding: 48px 0 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .st-service-team { grid-template-columns: 4fr 8fr; gap: 48px; } }
.st-service-team h3 { font-size: 20px; font-weight: 600; color: var(--foreground); }
@media (min-width: 768px) { .st-service-team h3 { font-size: 24px; } }
.st-service-team .subtitle { font-size: 14px; color: var(--muted-fg); margin-top: 8px; }
.st-team-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .st-team-cards { grid-template-columns: 1fr 1fr; } }
.st-team-member-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--background);
  transition: box-shadow 0.3s;
}
.st-team-member-card:hover { box-shadow: 0 4px 16px -4px hsla(213, 34%, 32%, 0.05); }
.st-team-member-card img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  flex-shrink: 0;
}
.st-team-member-card .initial {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: hsla(213, 25%, 45%, 0.5);
}
.st-team-member-card .name { font-size: 14px; font-weight: 600; color: var(--foreground); }
.st-team-member-card .role { font-size: 12px; color: var(--muted-fg); margin-top: 2px; }
.st-team-member-card .email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--accent);
  transition: color 0.2s;
}
.st-team-member-card .email-link:hover { color: hsla(202, 100%, 36%, 0.8); }
.st-team-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ── FAQ ── */
.st-faq { border-top: 1px solid var(--border); padding: 10vh 0 15vh; }
.st-faq-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 48px;
}
.st-faq details { border-top: 1px solid var(--border); }
.st-faq summary {
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary span:first-child {
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
@media (min-width: 768px) { .st-faq summary span:first-child { font-size: 20px; } }
.st-faq summary .toggle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted-fg);
  transition: transform 0.3s;
}
.st-faq details[open] .toggle { transform: rotate(45deg); }
.st-faq details p {
  padding-bottom: 32px;
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.7;
  max-width: 65ch;
}

/* ── Why Choose Section ── */
.st-why-choose {
  border-top: 1px solid var(--border);
  padding: 48px 0 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .st-why-choose { grid-template-columns: 4fr 8fr; } }
.st-why-choose h3 { font-size: 20px; font-weight: 600; color: var(--foreground); }
@media (min-width: 768px) { .st-why-choose h3 { font-size: 24px; } }
.st-why-choose p { font-size: 16px; color: var(--muted-fg); line-height: 1.7; margin-bottom: 20px; }

/* ── Team Page Detail ── */
.st-team-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding: 48px 0 64px;
}
@media (min-width: 768px) { .st-team-detail { grid-template-columns: 4fr 8fr; gap: 48px; } }
.st-team-portrait { aspect-ratio: 3/4; max-width: 240px; border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.st-team-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.st-team-portrait-placeholder {
  aspect-ratio: 3/4; max-width: 240px; border-radius: 12px;
  background: var(--muted);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 36px;
  color: hsla(213, 25%, 45%, 0.4);
}
.st-team-meta-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 8px;
}
.st-team-detail .name { font-size: 30px; letter-spacing: -0.02em; color: var(--foreground); }
@media (min-width: 768px) { .st-team-detail .name { font-size: 36px; } }
.st-team-detail .full-name { margin-top: 8px; font-size: 14px; color: var(--muted-fg); }
.st-team-detail .contact-info { margin-top: 24px; }
.st-team-detail .contact-info a {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted-fg);
  transition: color 0.2s;
}
.st-team-detail .contact-info a:hover { color: var(--foreground); }
.st-team-bio p { font-size: 16px; color: var(--muted-fg); line-height: 1.7; margin-bottom: 16px; }

/* ── Services Overview Page ── */
.st-services-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding: 48px 0 64px;
}
@media (min-width: 768px) { .st-services-overview { grid-template-columns: 4fr 8fr; gap: 48px; } }
.st-services-overview .index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 8px;
}
.st-services-overview h2 { font-size: 24px; letter-spacing: -0.02em; color: var(--foreground); }
@media (min-width: 768px) { .st-services-overview h2 { font-size: 30px; } }
.st-services-overview .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.2s;
}
.st-services-overview .learn-more:hover { color: hsla(202, 100%, 36%, 0.8); }
.st-services-overview .desc { font-size: 16px; color: var(--muted-fg); line-height: 1.7; margin-bottom: 24px; }
.st-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 32px;
}
@media (min-width: 640px) { .st-highlights { grid-template-columns: 1fr 1fr; } }
.st-highlights li {
  font-size: 14px;
  color: var(--muted-fg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
}
.st-highlights li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsla(202, 100%, 36%, 0.6);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ── Legal Pages (Privacy, Cookie, Terms) ── */
.st-legal { padding: 8vh 0 12vh; }
.st-legal-content { max-width: 800px; margin: 0 auto; }
.st-legal-section { border-top: 1px solid var(--border); padding-top: 32px; padding-bottom: 16px; }
.st-legal-section h2 { font-size: 20px; letter-spacing: -0.02em; color: var(--foreground); margin-bottom: 16px; }
@media (min-width: 768px) { .st-legal-section h2 { font-size: 24px; } }
.st-legal-section p { font-size: 14px; color: var(--muted-fg); line-height: 1.7; margin-bottom: 16px; }
.st-legal-section ul { list-style: none; }
.st-legal-section li { font-size: 14px; color: var(--muted-fg); display: flex; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.st-legal-section li .dash { color: hsla(257, 25%, 16%, 0.3); }
.st-legal-section table { width: 100%; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.st-legal-section th { text-align: left; padding: 8px 16px 8px 0; color: var(--foreground); border-bottom: 1px solid var(--border); }
.st-legal-section td { padding: 8px 16px 8px 0; color: var(--muted-fg); border-bottom: 1px solid hsla(200, 20%, 88%, 0.5); }

/* ── Blog ── */
.st-blog { padding: 10vh 0 15vh; }
.st-blog-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .st-blog-grid { grid-template-columns: 2fr 1fr; } }
.st-post-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.st-post-card:hover { box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08); transform: translateY(-2px); }
.st-post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.st-post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.st-post-card-body { padding: 24px; }
.st-post-card-body h2 { font-size: 20px; font-weight: 600; color: var(--foreground); margin-bottom: 8px; }
.st-post-card-body h2 a { transition: color 0.2s; }
.st-post-card-body h2 a:hover { color: var(--accent); }
.st-post-card-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted-fg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.st-post-card-body .excerpt { font-size: 14px; color: var(--muted-fg); line-height: 1.7; }
.st-post-list { display: grid; gap: 24px; }

/* Single post */
.st-single { padding: 10vh 0 15vh; max-width: 800px; margin: 0 auto; }
.st-single-header { margin-bottom: 48px; }
.st-single-title { font-size: 30px; font-weight: 700; color: var(--foreground); line-height: 1.2; }
@media (min-width: 768px) { .st-single-title { font-size: 40px; } }
.st-single-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted-fg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 16px;
}
.st-single-content { font-size: 16px; line-height: 1.8; color: var(--muted-fg); }
.st-single-content h2 { font-size: 24px; font-weight: 600; color: var(--foreground); margin: 32px 0 16px; }
.st-single-content h3 { font-size: 20px; font-weight: 600; color: var(--foreground); margin: 24px 0 12px; }
.st-single-content p { margin-bottom: 16px; }
.st-single-content ul, .st-single-content ol { margin-bottom: 16px; padding-left: 24px; }
.st-single-content li { margin-bottom: 8px; }
.st-single-content img { border-radius: 8px; margin: 24px 0; }
.st-single-content blockquote { border-left: 3px solid var(--accent); padding-left: 24px; margin: 24px 0; font-style: italic; }

/* ── Cookie Consent ── */
.st-cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 100;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}
@media (min-width: 768px) {
  .st-cookie-banner { flex-direction: row; align-items: center; max-width: 600px; }
}
.st-cookie-banner p { font-size: 13px; color: var(--muted-fg); line-height: 1.5; }
.st-cookie-banner .actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Pagination ── */
.st-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.st-pagination a, .st-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--foreground);
  transition: all 0.2s;
}
.st-pagination a:hover { background: var(--muted); }
.st-pagination .current { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ── Utility ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Language Switcher ── */

/* Hide desktop lang switcher on mobile */
@media (max-width: 767px) {
  .st-lang-switcher-desktop { display: none !important; }
}
.st-lang-switcher { position: relative; }
.st-lang-trigger { display: flex; align-items: center; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 13px; color: var(--muted-fg); padding: 6px 0; }
.st-lang-trigger:hover { color: var(--foreground); }
.st-lang-current { }
.st-lang-menu { position: absolute; top: 100%; right: 0; min-width: 140px; background: var(--card, #fff); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 4px; display: none; z-index: 100; }
.st-lang-menu-open { display: block; }
.st-lang-menu button { display: block; width: 100%; text-align: left; padding: 8px 12px; border: none; background: none; cursor: pointer; font-size: 13px; color: var(--foreground); border-radius: 4px; font-family: inherit; }
.st-lang-menu button:hover { background: var(--muted, #f5f5f5); }

/* ── Legal Page Layout (matches React PageLayout) ── */
.st-page-hero {
  padding: 128px 0 64px;
  border-bottom: 1px solid var(--border);
}
.st-page-hero-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
}
.st-page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.st-page-hero-subtitle {
  margin-top: 24px;
  font-size: 16px;
  color: var(--muted-fg);
  max-width: 60ch;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .st-page-hero-subtitle { font-size: 18px; }
}
.st-legal-body {
  padding: 64px 0 96px;
}
.st-legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.st-legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--foreground);
  margin: 40px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.st-legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.st-legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  margin: 16px 0 8px;
}
.st-legal-content p {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 16px;
}
.st-legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}
.st-legal-content li {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 4px;
}
.st-legal-content a {
  color: var(--foreground);
  transition: color 0.2s;
}
.st-legal-content a:hover {
  color: var(--accent);
}
.st-legal-content table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  margin: 16px 0;
}
.st-legal-content th {
  text-align: left;
  padding: 8px 16px 8px 0;
  color: var(--foreground);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.st-legal-content td {
  padding: 8px 16px 8px 0;
  color: var(--muted-fg);
  border-bottom: 1px solid hsla(200, 20%, 88%, 0.5);
}

/* Cookie Decline button */
.st-cookie-decline {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.st-cookie-decline:hover { color: var(--foreground); }

/* ── Mobile lang switcher fix ── */
@media (max-width: 767px) {
  .st-lang-switcher-mobile { z-index: 70; }
  .st-lang-switcher-mobile .st-lang-trigger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }
  .st-lang-switcher-mobile .st-lang-menu {
    position: fixed;
    top: 72px;
    right: 16px;
    z-index: 200;
  }
}


/* ── Mobile layout hardening ── */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
  }

  .st-container,
  .st-nav-inner,
  .st-hero,
  .st-page-header,
  .st-page-hero,
  .st-legal,
  .st-single,
  .st-blog,
  .st-faq {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .st-nav-logo img {
    height: 34px;
    width: auto;
  }

  .st-mobile-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .st-mobile-toggle,
  .st-lang-switcher-mobile .st-lang-trigger {
    min-width: 44px;
    min-height: 44px;
  }

  .st-mobile-menu {
    padding: 20px;
  }

  .st-mobile-menu .st-nav-cta {
    width: 100%;
    justify-content: center;
  }

  .st-hero {
    min-height: auto;
    padding-top: 112px !important;
    padding-bottom: 48px;
  }

  .st-hero-content {
    max-width: 100%;
  }

  .st-hero-tag {
    margin-bottom: 24px;
  }

  .st-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
    line-height: 1.04;
  }

  .st-hero-subtitle {
    max-width: 100%;
    margin-top: 24px;
    font-size: 15px;
  }

  .st-hero-actions {
    margin-top: 32px;
    flex-direction: column;
    align-items: stretch;
  }

  .st-btn-primary,
  .st-btn-outline {
    width: 100%;
    justify-content: center;
  }

  .st-hero-stats {
    margin-top: 40px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .st-stat-value {
    font-size: 28px;
  }

  .st-stat-label {
    font-size: 10px;
    line-height: 1.4;
  }

  .st-section-title,
  .st-about h2,
  .st-contact h2,
  .st-page-title,
  .st-page-hero-title,
  .st-team-detail .name,
  .st-services-overview h2 {
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
    line-height: 1.08;
  }

  .st-services,
  .st-team-section,
  .st-about,
  .st-languages,
  .st-contact {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .st-two-col,
  .st-contact-grid,
  .st-service-team,
  .st-why-choose,
  .st-team-detail,
  .st-services-overview,
  .st-practice-section {
    gap: 32px;
  }

  .st-lang-grid,
  .st-contact-cards,
  .st-team-cards,
  .st-highlights {
    grid-template-columns: 1fr;
  }

  .st-team-member-card {
    align-items: center;
  }

  .st-team-portrait,
  .st-team-portrait-placeholder {
    max-width: 100%;
  }

  .st-service-cta-actions,
  .st-team-actions,
  .st-cookie-banner .actions,
  .st-footer-links,
  .st-footer-legal {
    flex-direction: column;
    align-items: stretch;
  }

  .st-btn-call,
  .st-btn-contact,
  .st-cookie-banner button {
    width: 100%;
    justify-content: center;
  }

  .st-footer-top,
  .st-footer-bottom {
    gap: 24px;
  }

  .st-cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    width: auto;
  }

  .st-legal-content,
  .st-single,
  .st-post-card-body,
  .st-page-subtitle,
  .st-hero-subtitle {
    min-width: 0;
    max-width: 100%;
  }

  .st-legal-section table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
