@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300..900;1,8..60,300..900&display=swap');

:root {
  --orange: #e85d04;
  --orange-light: #f48c06;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* === Skip Link (Accessibility) === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #0d0d0d;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--orange-light);
  outline-offset: 2px;
}

/* === Focus Visible (Accessibility) === */
*:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  color: #e5e5e5;
  background: #0d0d0d;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #e5e5e5;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 1px;
}
a:hover { color: var(--orange); }
img { max-width: 100%; }

/* === Layout containers === */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* === Header === */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #111;
  border-bottom: 2px solid #333;
}

header nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

header .logo {
  display: inline-block;
  line-height: 0;
  position: static;
}

header .logo img {
  height: 28px;
  width: auto;
}

header .nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

header .nav-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ccc;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

header .nav-links a:hover { color: var(--orange); }

header .nav-links .btn {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

header .nav-links .btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

header .mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.25rem;
}

header .mobile-menu {
  display: none;
  padding: 1rem 2rem;
  border-top: 1px solid #333;
}

header .mobile-menu a {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ccc;
  padding: 1rem 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

header .mobile-menu a:hover { color: var(--orange); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 2px solid #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background-color 0.15s, color 0.15s;
  background: #fff;
  color: #111;
}

.btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); text-decoration: none; }

.btn-primary { background: transparent; color: #fff; border-color: #fff; }
.btn-primary:hover { background: #fff; color: #111; }

.btn-secondary {
  border: 2px solid #ccc;
  color: #ccc;
  background: transparent;
}

.btn-secondary:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn-teal { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-teal:hover { background: #fff; color: #111; border-color: #fff; }

.btn-white { background: #fff; color: #111; border-color: #fff; }
.btn-white:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.75rem; }

/* === Sections === */
.section { padding: 5rem 0; background: #0d0d0d; }
.section-dark {
  background: #111;
  color: #fff;
}

.section-slate { background: #161616; }

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--orange);
  margin-top: 1rem;
}

.container-sm .section-title::after {
  margin: 1rem auto 0;
}

.cta-title {
  text-align: center;
}

.cta-title::after {
  margin: 1rem auto 0;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: #999;
  max-width: 48rem;
  margin: 1.5rem 0 0;
  line-height: 1.6;
}

.section-title-white { color: #fff; }
.section-subtitle-white { color: #999; }

.section-orange { background: var(--orange); }
.section-title-centered { text-align: center; }
.section-title-centered::after { display: none; }
.client-logos-centered { justify-content: center; }

/* === Hero === */
.hero {
  background: #111;
  color: #fff;
  padding: 6rem 0;
  border-bottom: 2px solid #333;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
}

.hero .hero-accent {
  display: inline-block;
  width: 3rem;
  height: 3px;
  background: var(--orange);
  margin-top: 1.5rem;
}

.hero p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: #999;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
}

/* === Stats === */
.stats {
  background: #111;
  border-bottom: 2px solid #333;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat-number.animated {
  opacity: 1;
  transform: translateY(0);
}

.stat-label {
  font-size: 0.8125rem;
  color: #999;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* === Cards === */
.card {
  background: #161616;
  border: 1px solid #333;
  padding: 1.5rem;
  transition: border-color 0.15s;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.card:hover {
  border-color: var(--orange);
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #999;
  line-height: 1.5;
}

.card-link {
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.card-link:hover { opacity: 0.7; text-decoration: none; }

/* === Service detail === */
.service-detail {
  padding: 3rem 0;
  border-bottom: 2px solid #333;
  position: relative;
  min-width: 0;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail .service-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.service-detail .service-content > div:first-child {
  order: 1;
}

.service-detail .service-content > div:last-child {
  order: 2;
}

.service-detail h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.service-detail p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

.service-features {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: #ccc;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.service-features li svg {
  width: 1rem;
  height: 1rem;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.badge {
  display: inline-block;
  background: #1a1a1a;
  color: #ccc;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 3px solid var(--orange);
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.badge-tag {
  background: #1a1a1a;
  color: #999;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 3px solid var(--orange);
}

.badge-built {
  background: var(--orange);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === Use items === */
.use-item {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.use-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.9375rem;
}

.use-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.use-link:hover { opacity: 0.7; }

.use-desc {
  font-size: 0.8125rem;
  color: #999;
  line-height: 1.5;
}

/* === Industry tag === */
.industry-tag {
  background: #161616;
  border: 1px solid #222;
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 0.875rem;
  color: #e5e5e5;
}

.industry-tag span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #999;
}

/* === Client logos === */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.client-logo img {
  width: 140px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: saturate(0) brightness(2.5);
}

.client-logo span {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

/* === Testimonial === */
.testimonial {
  background: #161616;
  border: 1px solid #333;
  padding: 2rem;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.testimonial .quote-mark {
  font-size: 3rem;
  font-weight: 300;
  color: var(--orange);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial blockquote {
  margin-top: 0.5rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.testimonial .author { font-weight: 700; color: #fff; }
.testimonial .role { font-size: 0.8125rem; color: #999; }

/* === Process timeline === */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
}

/* Horizontal connecting line on desktop */
.process-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--orange);
  z-index: 0;
  display: none;
}

.process-step {
  text-align: left;
  padding: 0.75rem;
  position: relative;
  z-index: 1;
}

.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  border: 3px solid #161616;
  box-shadow: 0 0 0 2px var(--orange);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.process-step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #999;
  line-height: 1.5;
}

/* === Article card === */
.article-card {
  background: #161616;
  border: 1px solid #333;
  overflow: hidden;
  transition: border-color 0.15s;
}

.article-card:hover {
  border-color: var(--orange);
}

.article-card::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--orange);
  transition: height 0.2s ease;
}


.article-card .card-body { padding: 2rem; }

.article-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.article-card h2 a { color: #fff; text-decoration: none; }
.article-card h2 a:hover { color: var(--orange); text-decoration: none; }

.article-date { font-size: 0.8125rem; color: #999; margin-top: 0.75rem; }

.article-excerpt {
  margin-top: 1rem;
  color: #999;
  line-height: 1.5;
  font-size: 0.9375rem;
}

/* === Contact form === */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ccc;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #333;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.15s;
  background: #161616;
  color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea { resize: vertical; min-height: 8rem; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  accent-color: var(--orange);
}

.form-checkbox label { font-size: 0.875rem; color: #999; margin-bottom: 0; }

/* === Contact info === */
.contact-info h3 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.contact-info a {
  font-size: 1.125rem;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--orange);
}
.contact-info a:hover { color: var(--orange); }
.contact-info p { font-size: 0.875rem; color: #999; margin-top: 0.25rem; }

.contact-info .social-links { display: flex; gap: 1rem; }
.contact-info .social-links a { color: #ccc; font-size: 1.25rem; }
.contact-info .social-links a:hover { color: var(--orange); }

/* === Footer === */
footer {
  background: #111;
  color: #999;
  padding: 4rem 0 3rem;
  margin-top: auto;
  border-top: 2px solid #333;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

footer .footer-grid > :first-child {
  max-width: 28rem;
}

.footer-logo {
  width: 140px;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

footer h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

footer h4 {
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

footer p {
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 28rem;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 0.375rem; }

footer ul li a {
  font-size: 0.8125rem;
  color: #999;
  text-decoration: none;
  transition: color 0.15s;
}

footer ul li a:hover { color: var(--orange); }

footer .footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2.5rem;
  padding-top: 2rem;
  text-align: left;
  font-size: 0.75rem;
  color: #666;
}

/* === Page hero === */
.page-hero {
  background: #111;
  color: #fff;
  padding: 4rem 0;
  border-bottom: 2px solid #333;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  position: relative;
  color: #fff;
}

.page-hero h1::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--orange);
  margin-top: 1rem;
}

.page-hero p {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: #999;
  max-width: 48rem;
  line-height: 1.5;
}

/* === Article content wrapper === */
.article-content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.article-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-content p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #ccc;
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #ccc;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li { margin-bottom: 0.375rem; }

.article-content strong { font-weight: 700; color: #fff; }

.article-content blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: #999;
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.article-content hr {
  border: none;
  border-top: 2px solid #333;
  margin: 2.5rem 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
  overflow-x: auto;
  display: block;
}

.article-content th {
  background: #161616;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #333;
  white-space: nowrap;
}

.article-content td {
  padding: 0.75rem 1rem;
  border: 1px solid #333;
  color: #ccc;
}

.article-content tr:nth-child(even) td {
  background: #161616;
}

.article-content tr:nth-child(odd) td {
  background: #1a1a1a;
}

.article-content .table-caption {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2rem 0 0.75rem;
}

.article-content .exec-summary {
  border: 2px solid var(--orange);
  border-left: 4px solid var(--orange);
  background: rgba(232, 93, 4, 0.05);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #ccc;
}

.article-content .exec-summary strong {
  color: #fff;
}

.article-content .exec-summary p {
  margin: 0;
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #333;
}

.article-date {
  display: block;
  width: 100%;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.back-link:hover { color: var(--orange); text-decoration: none; }

/* === Utility === */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: 1fr; }
.grid-cols-4 { grid-template-columns: 1fr; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* === Responsive === */
@media (max-width: 767px) {
  .hero-orb-container { display: none; }
}

@media (min-width: 640px) {
  .hero { padding: 8rem 0; }
  .hero h1 { font-size: 4rem; }
  .hero-buttons { flex-direction: row; }
   .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .section-title { font-size: 3rem; }
  .page-hero h1 { font-size: 3.5rem; }
  .hero p { font-size: 1.1875rem; }
  .section-title::after { width: 4rem; }
  .page-hero h1::after { width: 4rem; }
}

@media (min-width: 768px) {
  header .nav-links { display: flex; }
  header .mobile-menu-btn { display: none; }
  header .mobile-menu { display: none !important; }
  .section { padding: 6rem 0; }
  .section-title { font-size: 3.5rem; }
  .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .service-detail .service-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .service-detail h2 {
    font-size: 1.75rem;
  }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .process-step { text-align: left; }
  .process-number { margin: 0 0 1rem; }
  footer .footer-grid { grid-template-columns: auto 1fr 1fr; }
  .article-content { padding: 5rem 2rem 6rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
  .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid::before { display: block; }
  .process-step { text-align: center; }
  .process-number { margin: 0 auto 1rem; }
  .section-title { font-size: 4rem; }
  .page-hero h1 { font-size: 4.5rem; }
  .article-content { padding: 6rem 2rem 7rem; }
}

#mobile-menu.active { display: block; }

/* === Fade-up animations (CSS only, no JS) === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
}

/* Staggered children */
.fade-up-stagger > .fade-up:nth-child(1) { animation-delay: 0ms; }
.fade-up-stagger > .fade-up:nth-child(2) { animation-delay: 80ms; }
.fade-up-stagger > .fade-up:nth-child(3) { animation-delay: 160ms; }
.fade-up-stagger > .fade-up:nth-child(4) { animation-delay: 240ms; }
.fade-up-stagger > .fade-up:nth-child(5) { animation-delay: 320ms; }
.fade-up-stagger > .fade-up:nth-child(6) { animation-delay: 400ms; }
.fade-up-stagger > .fade-up:nth-child(7) { animation-delay: 480ms; }
.fade-up-stagger > .fade-up:nth-child(8) { animation-delay: 560ms; }

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    animation: none;
  }
}

/* === Case study rows (Swiss grid: image left, text right) === */
.case-study-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #222;
}

.case-study-row:first-child {
  border-top: 1px solid #222;
}

.case-study-images {
  display: flex;
  gap: 1px;
  background: #222;
}

.case-study-images > div {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: #111;
}

.case-study-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  border: none;
}

.case-study-text {
  padding: 2.5rem 0;
}

.case-study-client {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 2.5rem;
}

.case-study-block {
  margin-bottom: 1.5rem;
}

.case-study-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 0.375rem;
}

.case-study-problem {
  font-size: 1.125rem;
  font-weight: 700;
  color: #e5e5e5;
  line-height: 1.4;
}

.case-study-solution {
  font-size: 1.125rem;
  font-weight: 700;
  color: #e5e5e5;
  line-height: 1.4;
}

.case-study-desc {
  margin-top: 1.5rem;
  color: #777;
  line-height: 1.65;
  font-size: 0.9375rem;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .case-study-row {
    flex-direction: row;
  }

  .case-study-images {
    flex: 0 0 50%;
    min-width: 0;
  }

  .case-study-text {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .case-study-images > div {
    min-height: 280px;
  }
}
