/* ============================================
   QLOUD — Africa's AI Cloud Infrastructure
   Design: Dark-first, tech/cloud aesthetic
   Palette: Deep navy + electric cyan accent
   ============================================ */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* ============================================
   COLOR SYSTEM — Dark Navy + Electric Cyan
   ============================================ */

/* Dark mode (default for Qloud) */
:root, [data-theme="dark"] {
  --color-bg:             #0a0e17;
  --color-surface:        #0f1520;
  --color-surface-2:      #151c2a;
  --color-surface-offset: #1a2235;
  --color-surface-dynamic: #1e2940;
  --color-divider:        #1e2940;
  --color-border:         #253350;
  --color-text:           #e2e8f0;
  --color-text-muted:     #8494a7;
  --color-text-faint:     #4a5568;
  --color-text-inverse:   #0a0e17;
  --color-accent:         #00d4ff;
  --color-accent-hover:   #00b8e0;
  --color-accent-active:  #009cc0;
  --color-accent-glow:    rgba(0, 212, 255, 0.15);
  --color-accent-glow-strong: rgba(0, 212, 255, 0.25);
  --color-success:        #34d399;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

/* Light mode */
[data-theme="light"] {
  --color-bg:             #f0f4f8;
  --color-surface:        #ffffff;
  --color-surface-2:      #f7fafc;
  --color-surface-offset: #edf2f7;
  --color-surface-dynamic: #e2e8f0;
  --color-divider:        #e2e8f0;
  --color-border:         #cbd5e0;
  --color-text:           #1a202c;
  --color-text-muted:     #4a5568;
  --color-text-faint:     #a0aec0;
  --color-text-inverse:   #ffffff;
  --color-accent:         #0891b2;
  --color-accent-hover:   #0e7490;
  --color-accent-active:  #155e75;
  --color-accent-glow:    rgba(8, 145, 178, 0.1);
  --color-accent-glow-strong: rgba(8, 145, 178, 0.2);
  --color-success:        #059669;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section--alt {
  background: var(--color-surface);
}

.section--dark {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  background: var(--color-accent-glow);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .header {
  background: rgba(240, 244, 248, 0.85);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.logo__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link--cta {
  color: var(--color-bg);
  background: var(--color-accent);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
}

.mobile-menu-btn {
  display: none;
  color: var(--color-text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav__link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-3) 0;
}

.mobile-nav__link:hover {
  color: var(--color-text);
}

.mobile-nav__link--cta {
  display: inline-block;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  text-align: center;
  font-weight: 600;
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-32) var(--space-6) var(--space-16);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 23, 0.6) 0%,
    rgba(10, 14, 23, 0.75) 40%,
    rgba(10, 14, 23, 0.95) 100%
  );
}

[data-theme="light"] .hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(240, 244, 248, 0.5) 0%,
    rgba(240, 244, 248, 0.7) 40%,
    rgba(240, 244, 248, 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  background: var(--color-accent-glow);
  margin-bottom: var(--space-8);
  letter-spacing: 0.04em;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.hero__stats {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
  flex-wrap: wrap;
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-divider);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
}

.stat__label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-interactive);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 24px var(--color-accent-glow-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--accent {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
}

.btn--full {
  width: 100%;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 32px var(--color-accent-glow);
  transform: translateY(-2px);
}

.feature-card--highlight {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-accent-glow));
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============================================
   INFRASTRUCTURE CARDS
   ============================================ */

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.infra-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.infra-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.infra-card__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.15;
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  line-height: 1;
}

.infra-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.infra-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.infra-card__status {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent);
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent-glow);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .infra-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHY AFRICA
   ============================================ */

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.why-content .section__tag {
  display: inline-block;
}

.why-content .section__title {
  text-align: left;
  margin-bottom: var(--space-8);
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.why-point {
  display: flex;
  gap: var(--space-5);
}

.why-point__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border-radius: var(--radius-md);
}

.why-point__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.why-point__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.africa-map {
  width: 100%;
  max-width: 380px;
}

@media (max-width: 768px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
  .africa-map { max-width: 280px; }
}

/* ============================================
   USE CASES
   ============================================ */

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.usecase-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.usecase-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.usecase-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  background: var(--color-accent-glow);
  border-radius: var(--radius-lg);
  color: var(--color-text);
}

.usecase-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.usecase-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .usecases-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WAITLIST
   ============================================ */

.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

.waitlist-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.waitlist-card--investor {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-accent-glow));
}

.waitlist-card__header {
  margin-bottom: var(--space-8);
}

.waitlist-card__header svg {
  margin-bottom: var(--space-4);
}

.waitlist-card__header h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.waitlist-card__header p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-interactive);
}

.form-input::placeholder {
  color: var(--color-text-faint);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.waitlist-success {
  text-align: center;
  padding: var(--space-8) 0;
}

.waitlist-success svg {
  margin: 0 auto var(--space-4);
}

.waitlist-success h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.waitlist-success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 700px) {
  .waitlist-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer__col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-1) 0;
}

.footer__col a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__attribution {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

.footer__attribution:hover {
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
}

/* ============================================
   VISUAL BREAK — Full-bleed AI image divider
   ============================================ */

.visual-break {
  position: relative;
  overflow: hidden;
}

.visual-break__inner {
  position: relative;
  height: clamp(200px, 30vw, 400px);
}

.visual-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    rgba(10, 14, 23, 0.3) 30%,
    rgba(10, 14, 23, 0.3) 70%,
    var(--color-bg) 100%
  );
}

[data-theme="light"] .visual-break__overlay {
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    rgba(240, 244, 248, 0.3) 30%,
    rgba(240, 244, 248, 0.3) 70%,
    var(--color-bg) 100%
  );
}

.visual-break__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.visual-break__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  padding: 0 var(--space-6);
}

/* ============================================
   PLATFORM HERO — GPU server image
   ============================================ */

.platform-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-12);
  border: 1px solid var(--color-border);
}

.platform-hero__img {
  width: 100%;
  height: clamp(200px, 28vw, 380px);
  object-fit: cover;
  display: block;
}

.platform-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 14, 23, 0.7) 100%
  );
}

.platform-hero__badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 1;
}

.platform-hero__badge span {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  padding: var(--space-2) var(--space-5);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

/* ============================================
   INFRA HERO — Green datacenter image
   ============================================ */

.infra-hero {
  max-width: var(--content-wide);
  margin: 0 auto var(--space-12);
  padding-inline: var(--space-6);
}

.infra-hero__img {
  width: 100%;
  height: clamp(200px, 28vw, 380px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

/* ============================================
   SOLUTIONS HERO — AI professionals image
   ============================================ */

.solutions-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-12);
  border: 1px solid var(--color-border);
}

.solutions-hero__img {
  width: 100%;
  height: clamp(200px, 28vw, 380px);
  object-fit: cover;
  display: block;
}

.solutions-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 14, 23, 0.6) 100%
  );
}

.solutions-hero__caption {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  z-index: 1;
}

.solutions-hero__caption p {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
