/* ==========================================================================
   components.css — mgbah.dev
   Reusable UI components: buttons, cards, section labels, project grid, etc.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section label — "• About", "• Selected Work"
   -------------------------------------------------------------------------- */

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px var(--space-lg);
  font-family: 'DM Sans', 'Host Grotesk', sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-primary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.22);
}

/* --------------------------------------------------------------------------
   Hero section
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  overflow: hidden;
  background-color: var(--color-bg);
  padding: clamp(120px, 18vh, 200px) var(--space-md) var(--space-xl);
}

/* Background carousel wrapper — transform applied here by parallax.js */
.hero__bg {
  position: absolute;
  inset: -25% 0;
  will-change: transform;
  z-index: 0;
}

/* Individual slides — stack absolutely, crossfade via opacity */
.hero__carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  will-change: opacity;
}

.hero__carousel-slide.is-active {
  opacity: 1;
}

/* Dark overlay per-slide */
.hero__carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
}

/* Bottom gradient — fades hero into the dark page below (HeyMessage spec) */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.hero__name {
  font-size: clamp(2rem, 5vw, 3.5rem); /* max 56px — matches HeyMessage H1 spec */
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  white-space: nowrap; /* prevent "Michael" / "Mgbah" wrapping to two lines */
}

.hero__tagline {
  font-size: clamp(var(--text-sm), 1.8vw, var(--text-base));
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.01em;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.4);
  z-index: 2;
  white-space: nowrap;
}

.hero__scroll-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* CSS mouse icon */
.hero__scroll-mouse {
  display: block;
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  position: relative;
  flex-shrink: 0;
}

.hero__scroll-dot {
  display: block;
  width: 3px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Project grid + cards
   -------------------------------------------------------------------------- */

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.12) 0px 1px 0px 0px inset;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
  border-color: var(--color-text-dim);
  box-shadow: rgba(255, 255, 255, 0.18) 0px 1px 0px 0px inset;
}

.project-card__image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-bg-soft);
  position: relative;
}

.project-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder for cards without images */
.project-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: repeating-linear-gradient(
    45deg,
    var(--color-bg-soft),
    var(--color-bg-soft) 2px,
    var(--color-bg-card) 2px,
    var(--color-bg-card) 12px
  );
}

.project-card__body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.project-card__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.project-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   About strip
   -------------------------------------------------------------------------- */

.about-strip {
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.about-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.about-strip__text-col {
  flex: 1;
  min-width: 0;
}

.about-strip__image-col {
  flex: 0 0 260px;
}

.about-strip__image-frame {
  width: 260px;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.08) 0px 1px 0px 0px inset;
}

.about-strip__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .about-strip__inner {
    flex-direction: column;
  }

  .about-strip__image-col {
    flex: none;
    width: 100%;
  }

  .about-strip__image-frame {
    width: 100%;
    height: 240px;
  }
}

.about-strip__text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   Lymora feature block
   -------------------------------------------------------------------------- */

.lymora-block {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.12) 0px 1px 0px 0px inset;
  padding: var(--space-xl) var(--space-lg);
}

@media (min-width: 768px) {
  .lymora-block {
    padding: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
}

.lymora-block__eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.lymora-block__name {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.lymora-block__tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.lymora-block__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.lymora-block__products {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.lymora-product {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-soft);
  box-shadow: rgba(255, 255, 255, 0.08) 0px 1px 0px 0px inset;
}

.lymora-product__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.lymora-product__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Bottom CTA section
   -------------------------------------------------------------------------- */

.cta-section {
  border-top: 1px solid var(--color-border);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-section__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.cta-section__heading {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   About page — two-column layout
   -------------------------------------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    align-items: start;
  }
}

/* Portrait column — goes below text on mobile */
.about-portrait {
  order: 2;
}

@media (min-width: 768px) {
  .about-portrait {
    order: unset;
    position: sticky;
    top: 88px; /* nav height + space */
  }
}

.about-portrait__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

.about-portrait__image img,
.about-portrait__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
  display: block;
}

.about-portrait__caption {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
}

/* Bio */
.about-bio {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Skill pills
   -------------------------------------------------------------------------- */

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.skill-pill {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background-color: transparent;
  white-space: nowrap;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.skill-pill:hover {
  border-color: var(--color-text-dim);
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Experience table
   -------------------------------------------------------------------------- */

.experience-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
}

.experience-table th {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  text-align: left;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.experience-table td {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-bg-card);
  vertical-align: top;
  line-height: 1.5;
}

.experience-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  padding-right: var(--space-lg);
}

.experience-table td:last-child {
  color: var(--color-text-dim);
  white-space: nowrap;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Philosophy block
   -------------------------------------------------------------------------- */

.philosophy-block {
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  max-width: 720px;
}

.philosophy-block__quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Stats row
   -------------------------------------------------------------------------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

@media (min-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stat__number {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text);
}

.stat__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* --------------------------------------------------------------------------
   Filter tabs — Projects page
   -------------------------------------------------------------------------- */

.filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;         /* Firefox */
  padding-bottom: 2px;           /* prevent clipping on focus ring */
}

.filter-tabs::-webkit-scrollbar {
  display: none;                 /* Chrome/Safari */
}

@media (min-width: 640px) {
  .filter-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.filter-tab {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast),
              background-color var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--color-text-dim);
  color: var(--color-text);
}

.filter-tab.is-active {
  border-color: var(--color-text);
  color: var(--color-text);
  background-color: var(--color-text);
  color: var(--color-bg);
}

/* Hidden project cards — CSS class toggle, not DOM removal */
.project-card--hidden {
  display: none;
}

/* Placeholder hover brightens instead of un-greyscaling (no real image) */
.project-card__placeholder {
  transition: filter var(--transition-base);
}

.project-card:hover .project-card__placeholder {
  filter: brightness(1.4);
}

/* Design card — distinct placeholder pattern */
.design-card__placeholder {
  background: repeating-linear-gradient(
    -45deg,
    var(--color-bg-soft),
    var(--color-bg-soft) 2px,
    var(--color-bg-card) 2px,
    var(--color-bg-card) 14px
  );
}

/* --------------------------------------------------------------------------
   Clients / Companies grid
   -------------------------------------------------------------------------- */

.clients-section {
  margin: var(--space-xl) 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: var(--space-lg);
}

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

.client-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-soft);
  text-decoration: none;
}

.client-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s ease, transform 0.4s ease;
  display: block;
}

.client-card:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.client-card__label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background-color: rgba(10, 10, 10, 0.72);
  color: var(--color-text);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Lymora page — standalone page styles
   -------------------------------------------------------------------------- */

/* Hero card */
.lymora-hero {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.12) 0px 1px 0px 0px inset;
  padding: var(--space-xl) var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .lymora-hero {
    padding: var(--space-2xl) var(--space-xl);
  }
}

.lymora-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.lymora-hero__name {
  font-size: clamp(var(--text-3xl), 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.lymora-hero__tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.lymora-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.lymora-badge {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
}

/* Products grid */
.lymora-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 640px) {
  .lymora-products {
    grid-template-columns: 1fr 1fr;
  }
}

.lymora-product-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.12) 0px 1px 0px 0px inset;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.lymora-product-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.lymora-product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

.lymora-product-card__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.lymora-product-card__point {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  letter-spacing: 0.02em;
  padding-left: var(--space-md);
  position: relative;
}

.lymora-product-card__point::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-text-dim);
}

/* Traction stats */
.lymora-traction {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-xl);
}

.lymora-traction__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .lymora-traction__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lymora-stat__number {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  font-variant-numeric: tabular-nums;
}

.lymora-stat__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* Team + Vision blocks */
.lymora-section {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  max-width: 720px;
}

.lymora-section__heading {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.lymora-section__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
  }
}

/* Left column — info */
.contact-info__availability {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.contact-info__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e; /* green — available */
  flex-shrink: 0;
}

.contact-info__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.contact-info__email {
  display: block;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  word-break: break-all;
  transition: opacity var(--transition-fast);
}

.contact-info__email:hover {
  opacity: 0.7;
}

.contact-social {
  display: flex;
  gap: var(--space-md);
}

.contact-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-xl);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.contact-social__link:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

/* Right column — Cal.com embed wrapper */
.cal-embed-wrapper {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.12) 0px 1px 0px 0px inset;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cal-embed-wrapper__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.cal-embed-wrapper__heading {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.cal-embed-wrapper__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* Contact form */
.contact-form {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.contact-form__heading {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
  color: var(--color-text);
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

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

@media (min-width: 640px) {
  .form-fields--row {
    flex-direction: row;
  }
  .form-fields--row .form-field {
    flex: 1;
  }
}

.form-field label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-field input,
.form-field textarea {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--text-base);
  padding: 14px var(--space-md);
  width: 100%;
  transition: border-color var(--transition-fast);
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-dim);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-text-muted);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #ef4444;
}

/* Form error / success feedback */
.form-feedback {
  font-size: var(--text-sm);
  padding: var(--space-md);
  margin-top: var(--space-md);
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback--error {
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background-color: rgba(239, 68, 68, 0.05);
}

.form-feedback--success {
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background-color: rgba(34, 197, 94, 0.05);
}

/* Success state — full replacement */
.contact-success {
  display: none;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}

.contact-success.is-visible {
  display: block;
}

.contact-success__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: #22c55e;
}

.contact-success__heading {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.contact-success__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* Hide Smartsupp's own widget button — FAB drives it instead */
#smartsupp-widget-container {
  display: none !important;
}
body.smartsupp-open #smartsupp-widget-container {
  display: block !important;
}

/* --------------------------------------------------------------------------
   FAB — Floating Action Button (contact menu)
   Single trigger → "Hire Me" (WhatsApp) + "Start a Chat" (Smartsupp)
   -------------------------------------------------------------------------- */

.fab {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
}

@media (min-width: 480px) {
  .fab {
    bottom: var(--space-xl);
    right: var(--space-xl);
  }
}

/* Trigger button */
.fab__trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.fab__trigger:hover {
  border-color: var(--color-whatsapp);
  transform: scale(1.05);
}

/* Icon swap on open */
.fab__icon { font-size: 22px; line-height: 1; }
.fab__icon--close { display: none; font-size: 18px; }
.fab.is-open .fab__icon--chat  { display: none; }
.fab.is-open .fab__icon--close { display: block; }

/* Options menu */
.fab__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.fab.is-open .fab__menu {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

/* Individual option pill */
.fab__option {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: border-color 0.18s, background-color 0.18s;
  align-self: flex-end;
}

.fab__option:hover {
  border-color: var(--color-whatsapp);
  background-color: var(--color-bg-elevated, var(--color-bg-card));
}


/* ==========================================================================
   Section H2 — two-tone heading shared across home page sections
   Usage: <h2 class="section-h2">White part <span class="text-muted">Grey part</span></h2>
   ========================================================================== */

.section-h2 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-xl);
  color: var(--color-text);
}

.section-h2 .text-muted {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ==========================================================================
   Testimonials — 4-card horizontal carousel, 3 visible on desktop
   ========================================================================== */

.testimonials-wrap {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--space-md);
  transition: transform var(--transition-base);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 11px); /* exactly 3 visible on desktop */
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.12) 0px 1px 0px 0px inset;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.testimonial-card__quote {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.75;
  flex: 1;
  margin-bottom: var(--space-lg);
  font-style: normal;
}

.testimonial-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.testimonial-card__num {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  flex-shrink: 0;
}

.testimonials-nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.testimonials-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast),
              background var(--transition-fast);
}

.testimonials-btn:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

/* Mobile: show one card at a time */
@media (max-width: 767px) {
  .testimonial-card {
    flex: 0 0 calc(85vw - var(--space-md) * 2);
  }
}

/* ==========================================================================
   FAQ — two-column accordion
   ========================================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--space-2xl);
    align-items: start;
  }
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  font-size: var(--text-sm);
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  transition: color var(--transition-fast);
}

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

.faq-item__icon {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition-base);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: 0;
}

.faq-item.is-open .faq-item__answer {
  max-height: 300px;
  padding-bottom: var(--space-lg);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   CTA Banner — image card with overlay, rounded corners, left-aligned
   ========================================================================== */

.cta-banner-section {
  padding: 0 0 var(--space-2xl);
}

.cta-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 300px;
  background-image: url('/assets/images/profile/bgimage.png');
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark overlay */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.5) 60%,
    rgba(10, 10, 10, 0.25) 100%
  );
  border-radius: inherit;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.cta-banner__heading {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.cta-banner__sub {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* ==========================================================================
   Site Footer — global, outside #app
   ========================================================================== */

#site-footer {
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.06) 0px 1px 0px 0px inset;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1.2fr 0.7fr 1.5fr;
  }
}

.footer__logo {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: var(--space-md);
  transition: opacity var(--transition-fast);
}

.footer__logo:hover {
  opacity: 0.7;
}

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

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.footer__nav-heading {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__nav-links a:hover {
  color: var(--color-text);
}

.footer__bottom {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

.footer__quote {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  font-style: italic;
  text-align: right;
}

/* ==========================================================================
   Footer quick-message form
   ========================================================================== */

.footer__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__form-input,
.footer__form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-family: inherit;
  padding: 10px var(--space-md);
  width: 100%;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.footer__form-input::placeholder,
.footer__form-textarea::placeholder {
  color: var(--color-text-dim);
}

.footer__form-input:focus,
.footer__form-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.footer__form-textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

.footer__form-submit {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: var(--text-xs);
  min-height: 38px;
}

.footer__form-feedback {
  font-size: var(--text-xs);
  line-height: 1.5;
}

.footer__form-feedback--error {
  color: #ff6b6b;
}

.footer__form-feedback--success {
  color: #6bffb8;
}

.footer__form-success {
  font-size: var(--text-sm);
  color: #6bffb8;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
}

.footer__contact {
  /* column container — heading already styled via footer__nav-heading */
}

/* ==========================================================================
   Services page — service cards + process steps
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: rgba(255, 255, 255, 0.12) 0px 1px 0px 0px inset;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border-radius: 4px;
  transition: border-color var(--transition-fast), transform var(--transition-base);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.service-card__icon {
  font-size: 28px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.service-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-sm);
}

/* Process steps — 4-col grid on desktop */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.process-step__num {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.process-step__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}
