/* style.css — design tokens, typography, components */

/* ─── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Palette — dark technical, teal accent */
  --color-bg:           oklch(0.11 0.01 220);       /* near-black navy */
  --color-bg-2:         oklch(0.14 0.012 220);       /* slightly lighter */
  --color-bg-3:         oklch(0.17 0.013 220);       /* card surface */
  --color-surface:      oklch(0.19 0.014 220);       /* elevated surface */
  --color-border:       oklch(0.35 0.02 220 / 0.25);

  --color-text:         oklch(0.94 0.01 220);        /* near-white */
  --color-text-muted:   oklch(0.68 0.02 220);        /* secondary text */
  --color-text-faint:   oklch(0.46 0.02 220);        /* disabled / placeholders */

  --color-accent:       #00abbf;                      /* teal — matched to logo cloud */
  --color-accent-light: #33bfce;                      /* lighter teal for hover */
  --color-accent-dim:   rgb(0 171 191 / 0.15);        /* tinted background */
  --color-accent-glow:  rgb(0 171 191 / 0.08);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   clamp(0.75rem, 1.5vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 1.8vw, 0.9375rem);
  --text-base: clamp(1rem, 2vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 2.2vw, 1.25rem);
  --text-xl:   clamp(1.375rem, 3vw, 1.625rem);
  --text-2xl:  clamp(1.75rem, 4vw, 2.25rem);
  --text-3xl:  clamp(2.25rem, 5.5vw, 3.25rem);
  --text-4xl:  clamp(2.75rem, 7vw, 4.25rem);

  /* 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;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0.05 0.01 220 / 0.4), 0 1px 2px oklch(0.05 0.01 220 / 0.3);
  --shadow-md: 0 4px 12px oklch(0.05 0.01 220 / 0.4), 0 2px 4px oklch(0.05 0.01 220 / 0.2);
  --shadow-lg: 0 12px 32px oklch(0.05 0.01 220 / 0.5), 0 4px 8px oklch(0.05 0.01 220 / 0.2);

  /* Layout containers */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:   1200px;

  /* Nav height */
  --nav-height: 72px;
}

/* ─── GLOBAL ─────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

p { color: var(--color-text-muted); }

strong { color: var(--color-text); font-weight: 600; }

/* ─── LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-8));
}

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: oklch(0.11 0.01 220 / 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}
.nav__logo-mark {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__logo-mark svg {
  width: 52px;
  height: 52px;
  color: var(--color-accent);
  display: block;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.nav__logo-text span {
  color: var(--color-accent);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
  position: relative;
  padding-block: var(--space-2);
}
.nav__link:hover,
.nav__link.active {
  color: var(--color-text);
}
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}
.nav__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2);
  color: var(--color-text);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-bg-2);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  z-index: 99;
  flex-direction: column;
  gap: var(--space-4);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--color-text); }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--color-accent-dim);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover {
  border-color: oklch(0.5 0.02 220 / 0.5);
  background: oklch(1 0 0 / 0.04);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding-inline: var(--space-4);
}
.btn--ghost:hover { color: var(--color-text); }

/* ─── LINKEDIN ──────────────────────────────────────────── */
.nav__linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.nav__linkedin:hover {
  color: #0A66C2;
  background: oklch(1 0 0 / 0.06);
}
.nav__linkedin svg { width: 18px; height: 18px; }

.linkedin-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  background: #0A66C2;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.linkedin-badge:hover {
  background: #004182;
  transform: translateY(-1px);
}
.linkedin-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ─── BADGE ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── PAGE WRAPPER ────────────────────────────────────── */
.page {
  padding-top: var(--nav-height);
}

/* ─── SECTION ─────────────────────────────────────────── */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.section--alt {
  background: var(--color-bg-2);
}
.section--dark {
  background: var(--color-bg-3);
}

/* ─── SECTION HEADER ──────────────────────────────────── */
.section-header {
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-header--center {
  text-align: center;
}
.section-header__label {
  margin-bottom: var(--space-4);
}
.section-header__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}
.section-header__body {
  font-size: var(--text-lg);
  max-width: 58ch;
  color: var(--color-text-muted);
}
.section-header--center .section-header__body {
  margin-inline: auto;
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-20), 12vw, 120px);
  min-height: clamp(560px, 80vh, 780px);
  display: flex;
  align-items: center;
  background-image: url('./assets/bg-hero.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, oklch(0.11 0.01 220 / 0.92) 0%, oklch(0.11 0.01 220 / 0.70) 55%, oklch(0.11 0.01 220 / 0.45) 100%),
    radial-gradient(ellipse 60% 80% at 20% 50%, oklch(0.60 0.13 180 / 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  position: relative;
  z-index: 1;
}
.hero__kicker {
  margin-bottom: var(--space-5);
}
.hero__title {
  font-size: var(--text-4xl);
  line-height: 1.08;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}
.hero__body {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero__visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.hero__card-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 360px;
}
.hero__stat-card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero__stat-card:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-lg);
}
.hero__stat-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.hero__stat-icon svg { width: 22px; height: 22px; }
.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual { display: none; }
  .hero { min-height: auto; }
}

/* ─── TRUST BAR ────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-2);
  padding-block: var(--space-5);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  flex-wrap: wrap;
}
.trust-bar__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.trust-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(var(--space-4), 3vw, var(--space-8));
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.trust-bar__item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ─── SERVICES CARDS ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.service-card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: oklch(0.60 0.13 180 / 0.35);
  box-shadow: 0 0 0 1px oklch(0.60 0.13 180 / 0.10), var(--shadow-md);
  transform: translateY(-2px);
}
.service-card--featured {
  background: var(--color-surface);
  border-color: oklch(0.60 0.13 180 / 0.30);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-accent);
  flex-shrink: 0;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.service-card__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  flex: 1;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}
.service-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-faint);
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--color-border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: var(--space-5);
  text-decoration: none;
  transition: gap 0.2s;
}
.service-card__link:hover { gap: var(--space-3); }
.service-card__link svg { width: 16px; height: 16px; }

@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card--featured { grid-template-columns: 1fr; }
}

/* ─── PROCESS SECTION ──────────────────────────────────── */
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  position: relative;
}
.process-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
}
.process-item__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: oklch(0.60 0.13 180 / 0.20);
  line-height: 1;
}
.process-item__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.process-item__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── CREDENTIALS / STATS ROW ──────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  text-align: center;
}
.stat-item {
  padding: var(--space-6);
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-item__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ─── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: var(--color-accent);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, oklch(1 0 0 / 0.06) 0%, transparent 70%);
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__title {
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-4);
}
.cta-band__body {
  font-size: var(--text-lg);
  color: oklch(1 0 0 / 0.80);
  margin-bottom: var(--space-8);
  max-width: 48ch;
  margin-inline: auto;
}
.btn--white {
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
}
.btn--white:hover {
  background: oklch(0.97 0.005 0);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px oklch(0.05 0.01 220 / 0.25);
}

/* ─── ABOUT PAGE ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
.profile-card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
}
.profile-card__avatar {
  width: 100px;
  height: 100px;
  background: var(--color-accent-dim);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent);
}
.profile-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.profile-card__title {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.profile-card__badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.profile-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-3);
}
.profile-badge svg { width: 14px; height: 14px; color: var(--color-accent); flex-shrink: 0; }
.profile-card .btn { width: 100%; justify-content: center; }

.about-content h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}
.about-content h2:first-child { margin-top: 0; }
.about-content p {
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.skill-pill {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.skill-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; }
}

/* ─── SERVICES PAGE ─────────────────────────────────────── */
.service-detail {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  border-bottom: 1px solid var(--color-border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: start;
}
.service-detail:nth-child(even) .service-detail__inner {
  direction: rtl;
}
.service-detail:nth-child(even) .service-detail__content,
.service-detail:nth-child(even) .service-detail__panel {
  direction: ltr;
}
.service-detail__label {
  margin-bottom: var(--space-4);
}
.service-detail__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.service-detail__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}
.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.service-detail__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.service-detail__panel {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.service-detail__panel-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--text-xs);
  margin-bottom: var(--space-5);
}
.deliverable-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.deliverable-item:last-child { border-bottom: none; }
.deliverable-item svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; }

@media (max-width: 768px) {
  .service-detail__inner { grid-template-columns: 1fr; direction: ltr !important; }
  .service-detail:nth-child(even) .service-detail__inner { direction: ltr; }
}

/* ─── CONTACT PAGE ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: start;
}
.contact-form {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
}
.form-group {
  margin-bottom: var(--space-5);
}
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}
.form-textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-faint);
}
.form-select option { background: var(--color-bg); }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.contact-info-card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.contact-info-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}
.contact-info-card__value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}
.contact-info-card__value a {
  color: var(--color-accent);
  text-decoration: none;
}
.contact-info-card__value a:hover { text-decoration: underline; }

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: oklch(0.55 0.15 142 / 0.15);
  color: oklch(0.70 0.15 142);
  border: 1px solid oklch(0.55 0.15 142 / 0.30);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
}
.avail-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

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

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-12));
}
.footer__brand-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 32ch;
  line-height: 1.6;
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__link:hover { color: var(--color-text); }
.footer__bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__legal {
  display: flex;
  gap: var(--space-5);
}
.footer__legal a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}
.footer__legal a:hover { color: var(--color-text-muted); }

@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  padding-block: clamp(var(--space-16), 8vw, var(--space-20));
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  background-image: url('./assets/bg-alt.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, oklch(0.11 0.01 220 / 0.88) 0%, oklch(0.11 0.01 220 / 0.80) 100%),
    radial-gradient(ellipse 50% 80% at 0% 50%, oklch(0.60 0.13 180 / 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}
.page-hero__body {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 55ch;
  line-height: 1.7;
}

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── FRAMEWORK LOGOS STRIP ─────────────────────────────── */
.framework-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.fw-tag {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
}

/* ── Discovery session banner ────────────────────────────────────────── */
.hero__discovery {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgb(0 171 191 / 0.12);
  border: 1px solid rgb(0 171 191 / 0.3);
  border-radius: 6px;
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
}

.hero__discovery svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* ── Footer phone link ───────────────────────────────────────────────── */
.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0;
}
.footer__phone:hover { color: var(--color-accent-light); }

/* ── Nav wordmark + strapline ────────────────────────────────────────── */
.nav__logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

.nav__logo-strapline {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 2px;
}
