/* =============================================================
   DevsIsle — Main Stylesheet
   ============================================================= */

/* ── CSS TOKENS ─────────────────────────────── */
:root {
  --teal:          #2ABFAA;
  --teal-dark:     #1A9E8C;
  --teal-xdark:    #127A6A;
  --teal-light:    #E6F8F6;
  --teal-mid:      #A8E8E0;
  --navy:          #1E3545;
  --navy-mid:      #2D4A5A;
  --navy-light:    #3A5A6E;
  --navy-xlight:   #EBF0F4;
  --white:         #FFFFFF;
  --off-white:     #F4F9F8;
  --grey-50:       #F8FAFB;
  --grey-100:      #EEF2F4;
  --grey-200:      #D6DEE3;
  --grey-400:      #8AA0AE;
  --grey-600:      #4E6573;
  --text-dark:     #1E3545;
  --text-mid:      #4E6573;
  --text-light:    #8AA0AE;
  --ff-display:    'Poppins', system-ui, sans-serif;
  --ff-body:       'Poppins', system-ui, sans-serif;
  --ff-mono:       'Exo 2', sans-serif;
  --radius-sm:     8px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --nav-h:         72px;
  --shadow-sm:     0 2px 12px rgba(30, 53, 69, 0.07);
  --shadow-md:     0 8px 32px rgba(30, 53, 69, 0.11);
  --shadow-lg:     0 24px 64px rgba(30, 53, 69, 0.14);
  --shadow-teal:   0 6px 24px rgba(42, 191, 170, 0.28);
}

/* ── SMOOTH SCROLL ───────────────────────────── */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── TYPOGRAPHY ──────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  line-height: 1.12;
  text-wrap: balance;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem);   font-weight: 800; }
h2 { font-size: clamp(2rem,   3.8vw, 3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 0.95rem; font-weight: 600; }

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

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: block;
}
.lead {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-mid);
}

/* ── LAYOUT ──────────────────────────────────── */
.container {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
}
.section { padding-block: 100px; }
.section--offwhite { background: var(--off-white); }
.section--navy     { background: var(--navy); }
.section--white    { background: var(--white); }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.72rem 1.5rem;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}
.btn--lg { padding: 0.9rem 2rem; font-size: 0.95rem; border-radius: 14px; }

.btn--teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn--teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(42, 191, 170, 0.38);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn--outline-teal {
  background: transparent;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal);
}
.btn--outline-teal:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn--white {
  background: var(--white);
  color: var(--teal-dark);
}
.btn--white:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

/* ── LOGO ────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.logo__name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.logo__tagline {
  font-family: var(--ff-mono);
  font-size: 0.46rem;
  letter-spacing: 0.13em;
  color: var(--teal-dark);
  text-transform: uppercase;
}
/* White variant (for dark backgrounds) */
.logo--white .logo__name    { color: var(--white); }
.logo--white .logo__tagline { color: var(--teal); }

/* ── NAVIGATION ──────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--grey-100);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links {
  display: flex;
  gap: 2rem;
  margin-inline: auto;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s;
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.25s;
}

/* Mobile nav drawer */
.nav__mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  padding: 1.5rem min(1140px, 100% - 3rem);
  padding-inline: calc((100% - min(1140px, 100% - 3rem)) / 2 + 1.5rem);
  box-shadow: var(--shadow-md);
  z-index: 199;
  flex-direction: column;
  gap: 0.25rem;
}
.nav__mobile-drawer.is-open { display: flex; }
.nav__mobile-drawer a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--grey-100);
  transition: color 0.15s;
}
.nav__mobile-drawer a:hover { color: var(--teal-dark); }
.nav__mobile-drawer .btn {
  margin-top: 1rem;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav__links,
  .nav__actions .btn--outline-teal { display: none; }
  .nav__hamburger { display: flex; }
}

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--white);
}

/* Dot grid pattern */
.hero__dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(42,191,170,0.55) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, black 20%, transparent 80%);
  pointer-events: none;
}
/* Blob glow */
.hero__glow {
  position: absolute;
  top: -15%; right: -8%;
  width: min(700px, 80vw); aspect-ratio: 1;
  background: radial-gradient(ellipse at 45% 45%,
    rgba(42,191,170,0.38) 0%,
    rgba(42,191,170,0.18) 45%,
    transparent 75%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: blobmorph 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero__glow2 {
  position: absolute;
  bottom: -10%; left: -5%;
  width: min(420px, 55vw); aspect-ratio: 1;
  background: radial-gradient(ellipse, rgba(42,191,170,0.22), transparent 70%);
  border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
  animation: blobmorph 18s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
@keyframes blobmorph {
  from { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  to   { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
}

.hero__inner {
  position: relative; z-index: 2;
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-block: 7rem 5rem;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: 100px;
  padding: 0.35rem 1rem 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  color: var(--teal-xdark);
  margin-bottom: 1.75rem;
  font-weight: 500;
}
.badge__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: badge-pulse 2.2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 { margin-bottom: 1.5rem; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin-bottom: 2.75rem; max-width: 46ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Trust row */
.hero__trust {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero__trust-label {
  font-size: 0.7rem;
  color: var(--text-light);
  font-family: var(--ff-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.trust-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.trust-pill {
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  font-size: 0.68rem;
  font-family: var(--ff-mono);
  color: var(--text-mid);
}

/* Hero right — code window */
.hero__visual { position: relative; }
/* ── Hero visual: project dashboard ── */
.hv-dashboard {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(30,53,69,0.18), 0 0 0 1px rgba(30,53,69,0.06);
  padding: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hv-dash__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey-100);
}
.hv-dash__avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hv-dash__title { font-family: var(--ff-display); font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.hv-dash__sub   { font-size: 0.7rem; color: var(--text-light); margin-top: 0.1rem; }
.hv-dash__live  { margin-left: auto; font-size: 0.7rem; color: #22c55e; font-weight: 600; white-space: nowrap; }
.hv-dash__projects { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.25rem; }
.hv-proj {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--off-white);
  transition: background .2s;
}
.hv-proj--active { background: var(--teal-light); }
.hv-proj__bar   { width: 3px; height: 32px; border-radius: 2px; flex-shrink: 0; }
.hv-proj__info  { flex: 1; min-width: 0; }
.hv-proj__name  { font-family: var(--ff-display); font-weight: 600; font-size: 0.8rem; color: var(--navy); }
.hv-proj__tech  { font-size: 0.65rem; color: var(--text-light); margin-top: 0.15rem; }
.hv-proj__progress { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.hv-prog-track  { width: 64px; height: 4px; border-radius: 2px; background: rgba(30,53,69,0.1); }
.hv-prog-fill   { height: 100%; border-radius: 2px; transition: width .6s ease; }
.hv-proj__progress span { font-size: 0.65rem; font-weight: 600; color: var(--text-mid); min-width: 26px; }
.hv-done        { color: #22c55e !important; }
.hv-dash__metrics {
  display: flex; justify-content: space-around;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-100);
}
.hv-metric__val { font-family: var(--ff-display); font-weight: 800; font-size: 1.1rem; color: var(--navy); text-align: center; }
.hv-metric__lbl { font-size: 0.62rem; color: var(--text-light); text-align: center; margin-top: 0.15rem; }
/* Floating chips */
.hv-chip {
  position: absolute;
  display: flex; align-items: center; gap: 0.45rem;
  background: var(--white);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(30,53,69,0.14), 0 0 0 1px rgba(30,53,69,0.06);
  white-space: nowrap;
  z-index: 4;
}
.hv-chip__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hv-chip--a { bottom: -1rem; left: -2rem; animation: chipfloat 4s ease-in-out infinite; }
.hv-chip--b { top: 2rem; right: -2rem; animation: chipfloat 5s ease-in-out infinite 1s; }
.hv-chip--c { top: -1rem; left: 30%; animation: chipfloat 4.5s ease-in-out infinite 0.5s; }
@keyframes chipfloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media(max-width:900px){ .hv-chip--b, .hv-chip--c { display: none; } }

.code-window {
  background: var(--navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.04);
}
.cw__bar {
  background: var(--navy-mid);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cw__dot { width: 11px; height: 11px; border-radius: 50%; }
.cw__dot--r { background: #FF5F57; }
.cw__dot--y { background: #FFBD2E; }
.cw__dot--g { background: #28C840; }
.cw__filename {
  margin-left: 0.75rem;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.28);
}
.cw__body {
  padding: 1.75rem;
  font-family: var(--ff-mono);
  font-size: 0.73rem;
  line-height: 2.05;
}
.cl { color: rgba(255,255,255,0.22); }
.cl .k  { color: var(--teal); }
.cl .fn { color: #7EB8F7; }
.cl .s  { color: #F8C76E; }
.cl .c  { color: rgba(255,255,255,0.2); font-style: italic; }
.cl .n  { color: #FF8B94; }
.cl .p  { color: var(--teal); }
.cursor {
  display: inline-block;
  width: 7px; height: 1em;
  background: var(--teal);
  vertical-align: middle;
  animation: cursor-blink 1s step-end infinite;
}
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Float cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
}
.float-card--a {
  bottom: -22px; left: -44px;
  width: 195px;
  animation: float-a 5.5s ease-in-out infinite;
}
.float-card--b {
  top: -18px; right: -34px;
  width: 178px;
  animation: float-b 6.5s ease-in-out infinite;
  animation-delay: -1s;
}
@keyframes float-a { 0%, 100% { transform: translateY(0);    } 50% { transform: translateY(-11px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0);    } 50% { transform: translateY(-9px);  } }
.fc__label {
  font-size: 0.62rem;
  color: var(--text-light);
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.fc__value {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}
.fc__pill {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
  font-size: 0.62rem;
  font-family: var(--ff-mono);
  font-weight: 500;
}
.fc__pill--teal  { background: var(--teal-light);   color: var(--teal-dark); }
.fc__pill--green { background: #EDFBF3; color: #16A34A; }

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 5rem 4rem;
    gap: 3rem;
  }
  .hero .lead, .hero__actions, .hero__trust { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .float-card { display: none; }
}

/* ── STATS BAND ──────────────────────────────── */
.stats-band {
  background: var(--navy);
  padding-block: 3.5rem;
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-num span { color: var(--teal); }
.stat-lbl {
  font-size: 0.77rem;
  color: var(--grey-400);
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
}
@media (max-width: 600px) { .stats-band__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }

/* ── TICKER ──────────────────────────────────── */
.ticker {
  overflow: hidden;
  padding-block: 1.1rem;
  border-block: 1px solid var(--grey-100);
  background: var(--off-white);
}
.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker-roll 32s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-roll { to { transform: translateX(-50%); } }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
}
.ticker__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── SERVICES ────────────────────────────────── */
.services__head {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.services__head h2 { margin-block: 0.75rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.5rem;
}
.scard {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.scard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--teal-mid);
}
.scard__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.scard:hover .scard__bar { transform: scaleX(1); }
.scard__icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.scard__icon--teal { background: var(--teal-light); }
.scard__icon--navy { background: var(--navy-xlight); }
.scard__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.scard__desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-mid);
}
.scard__tag {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.22rem 0.68rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-family: var(--ff-mono);
  background: var(--teal-light);
  color: var(--teal-xdark);
  border: 1px solid var(--teal-mid);
}

/* ── Solution area cards (homepage) ─────────── */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 760px) {
  .sol-grid { grid-template-columns: 1fr; }
}
.sol-card {
  background: var(--off-white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.sol-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--teal-mid);
}
.sol-card__icon { font-size: 2rem; margin-bottom: 0.75rem; line-height: 1; }
.sol-card__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.sol-card__plain {
  font-size: 0.67rem;
  font-family: var(--ff-mono);
  color: var(--teal-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.sol-card__desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}
.sol-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sol-chip {
  font-size: 0.7rem;
  padding: 0.22rem 0.65rem;
  border-radius: 5px;
  background: var(--white);
  border: 1px solid var(--grey-100);
  color: var(--text-mid);
}

/* ── Service card plain subtitle ─────────────── */
.svc-card__plain {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 400;
  margin-top: 0.2rem;
}

/* ── Catch-all note ──────────────────────────── */
.catchall-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: 12px;
}
.catchall-note__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.catchall-note > div {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.catchall-note strong {
  color: var(--navy);
}
.catchall-note__link {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin-left: 0.25rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--teal-xdark);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.catchall-note__link:hover { color: var(--teal); }

/* ── WHY US ──────────────────────────────────── */
.why { background: var(--navy); }
.why .eyebrow { color: var(--teal); }
.why h2 { color: var(--white); }

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why__sub {
  color: var(--grey-400);
  margin-top: 0.75rem;
  max-width: 44ch;
}
.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.wcard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}
.wcard:hover {
  background: rgba(42,191,170,0.07);
  border-color: rgba(42,191,170,0.22);
}
.wcard__icon { font-size: 1.5rem; margin-bottom: 0.85rem; }
.wcard h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.wcard p { font-size: 0.78rem; color: var(--grey-400); line-height: 1.6; }

/* Terminal */
.terminal {
  background: #0C1822;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}
.term__bar {
  background: #122030;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.term__dots { display: flex; gap: 0.45rem; }
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.tdot--r { background: #FF5F57; }
.tdot--y { background: #FFBD2E; }
.tdot--g { background: #28C840; }
.term__fname {
  margin-left: auto;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.22);
}
.term__body {
  padding: 1.75rem;
  font-family: var(--ff-mono);
  font-size: 0.73rem;
  line-height: 2.1;
}
.tl { color: rgba(255,255,255,0.22); }
.tl .tp { color: var(--teal); }
.tl .tc { color: rgba(255,255,255,0.18); font-style: italic; }
.tl .ts { color: #F8C76E; }
.tl .tk { color: #7EB8F7; }
.tl .tv { color: #FF8B94; }
.tcursor {
  display: inline-block;
  width: 8px; height: 1.1em;
  background: var(--teal);
  vertical-align: middle;
  animation: cursor-blink 1s step-end infinite;
}

@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; gap: 3rem; }
  .why__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .why__cards { grid-template-columns: 1fr; } }

/* ── PROCESS ─────────────────────────────────── */
.process__head {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.process__head h2 { margin-block: 0.75rem; }

.process__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.process__line {
  position: absolute;
  top: 36px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--navy-light));
  opacity: 0.3;
  z-index: 0;
}
.pstep {
  padding: 0 1.25rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pstep__num {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin-inline: auto;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(42,191,170,0.28);
  margin-bottom: 1.5rem;
}
.pstep h4 { font-family: var(--ff-display); font-weight: 700; margin-bottom: 0.5rem; }
.pstep p  { font-size: 0.82rem; color: var(--text-mid); }

@media (max-width: 700px) {
  .process__row { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process__line { display: none; }
}
@media (max-width: 440px) { .process__row { grid-template-columns: 1fr; } }

/* ── INDUSTRIES ──────────────────────────────── */
.ind__head {
  text-align: center;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.ind__head h2 { margin-block: 0.75rem; }

.ind__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.icard {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.icard:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 28px rgba(42,191,170,0.12);
  transform: translateY(-3px);
}
.icard__icon { font-size: 1.85rem; margin-bottom: 0.9rem; }
.icard h4 { font-family: var(--ff-display); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; }
.icard p  { font-size: 0.78rem; color: var(--text-mid); line-height: 1.6; }

/* ── CTA BAND ────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-xdark) 0%, var(--teal) 65%, #4ACFBB 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -8%;
  width: 560px; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -55%; left: 8%;
  width: 380px; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-band .eyebrow { color: rgba(255,255,255,0.65); margin-bottom: 0.75rem; }
.cta-band h2 { color: var(--white); }
.cta-band p  { color: rgba(255,255,255,0.82); max-width: 50ch; }
.cta-band__actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
@media (max-width: 680px) {
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { justify-content: center; }
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 4.5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__brand p {
  font-size: 0.82rem;
  color: var(--grey-400);
  margin-top: 0.9rem;
  max-width: 27ch;
  line-height: 1.7;
}
.footer__col h5 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col a {
  font-size: 0.82rem;
  color: var(--grey-400);
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--teal); }

.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: 0.77rem; color: var(--grey-600); }
.footer__socials { display: flex; gap: 0.75rem; }
.fsoc {
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: var(--grey-400);
  font-size: 0.78rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.fsoc:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(42,191,170,0.08);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px)  { .footer__grid { grid-template-columns: 1fr; } }

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── LOGO IMAGE ──────────────────────────────── */
.logo__img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── PAGE BREADCRUMB ─────────────────────────── */
.breadcrumb-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-100);
  padding-block: 0.75rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--ff-mono);
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--teal-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--grey-200); }

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(42,191,170,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 80% 50%, black, transparent);
  mask-image: radial-gradient(ellipse 60% 100% at 80% 50%, black, transparent);
}
.page-hero__glow {
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; aspect-ratio: 1;
  background: radial-gradient(ellipse, rgba(42,191,170,0.38), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero__inner {
  position: relative; z-index: 2;
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
}
.page-hero .eyebrow { color: var(--teal); margin-bottom: 1rem; }
.page-hero h1 { color: var(--white); margin-bottom: 1.25rem; font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero .lead { color: rgba(255,255,255,0.72); max-width: 52ch; }

/* ── ACTIVE NAV LINK ─────────────────────────── */
.nav__links a.is-active {
  color: var(--navy);
}
.nav__links a.is-active::after {
  transform: scaleX(1);
}

/* ═══════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════ */

/* Services filter tabs */
.svc-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.svc-filter__btn {
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--ff-mono);
  font-weight: 500;
  border: 1.5px solid var(--grey-200);
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}
.svc-filter__btn:hover,
.svc-filter__btn.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* Service detail card */
.svc-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--navy-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.svc-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-mid); }
.svc-card:hover::before { transform: scaleY(1); }

.svc-card__left { display: flex; flex-direction: column; }
.svc-card__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.svc-card__icon--teal { background: var(--teal-light); }
.svc-card__icon--navy { background: var(--navy-xlight); }
.svc-card__num {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.svc-card__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 1.5rem; }
.svc-card__tag {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.6rem;
  font-family: var(--ff-mono);
  background: var(--teal-light);
  color: var(--teal-xdark);
  border: 1px solid var(--teal-mid);
}

.svc-card__right {}
.svc-card__desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
}
.svc-card__features-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.85rem;
}
.svc-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.svc-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-dark);
}
.svc-card__features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 0.55em;
}

@media (max-width: 760px) {
  .svc-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
}

/* ═══════════════════════════════════════════════
   WHY US PAGE
   ═══════════════════════════════════════════════ */

.why-page__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 860px) { .why-page__intro { grid-template-columns: 1fr; gap: 3rem; } }

/* Large stat tiles */
.big-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}
.big-stat {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.big-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.big-stat__num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
}
.big-stat__num span { color: var(--teal); }
.big-stat__label { font-size: 0.8rem; color: var(--text-mid); margin-top: 0.5rem; }
@media (max-width: 700px) { .big-stats { grid-template-columns: 1fr 1fr; } }

/* Differentiator rows */
.diff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
}
@media (max-width: 700px) { .diff-row { grid-template-columns: 1fr; gap: 2rem; } }

.diff-item {
  display: flex;
  gap: 1.25rem;
}
.diff-item__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-light);
  display: grid; place-items: center;
  font-size: 1.4rem;
}
.diff-item__body {}
.diff-item h4 { font-family: var(--ff-display); font-weight: 700; margin-bottom: 0.5rem; }
.diff-item p  { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }

/* Testimonial strip */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 760px) { .testimonial-grid { grid-template-columns: 1fr; } }

.tcard {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.tcard__quote {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.tcard__quote::before { content: '\201C'; }
.tcard__quote::after  { content: '\201D'; }
.tcard__author { display: flex; align-items: center; gap: 0.85rem; }
.tcard__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--teal-light);
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.tcard__name { font-family: var(--ff-display); font-weight: 600; font-size: 0.88rem; }
.tcard__role { font-size: 0.75rem; color: var(--text-light); }

/* ═══════════════════════════════════════════════
   INDUSTRIES PAGE
   ═══════════════════════════════════════════════ */

.ind-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.ind-detail-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
  align-items: start;
}
.ind-detail-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-mid); }

.ind-detail-card__left { text-align: center; }
.ind-detail-card__icon { font-size: 3rem; margin-bottom: 1rem; }
.ind-detail-card__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}
.ind-detail-card__badge {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.62rem;
  font-family: var(--ff-mono);
  background: var(--teal-light);
  color: var(--teal-dark);
}

.ind-detail-card__right {}
.ind-detail-card__desc {
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}
.ind-solutions-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.85rem;
}
.ind-solutions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ind-solution-chip {
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-family: var(--ff-body);
  font-weight: 500;
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  color: var(--text-dark);
}

@media (max-width: 680px) {
  .ind-detail-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
  .ind-detail-card__left { text-align: left; display: flex; align-items: center; gap: 1rem; }
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info {}
.contact-info h2 { margin-block: 0.75rem 1rem; }
.contact-info .lead { font-size: 0.95rem; }
.contact-channels { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.contact-channel:hover { border-color: var(--teal); }
.contact-channel__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--teal-light);
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-channel__label {
  font-size: 0.7rem;
  font-family: var(--ff-mono);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}
.contact-channel__value {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.contact-channel a.contact-channel__value:hover { color: var(--teal-dark); }
.contact-promise {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: var(--radius);
}
.contact-promise p {
  font-size: 0.82rem;
  color: var(--teal-xdark);
  line-height: 1.65;
}
.contact-promise strong { color: var(--navy); }

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.contact-form-wrap > p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--ff-display);
}
.form-label span { color: var(--accent, var(--teal)); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,191,170,0.15);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238AA0AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-note {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
}

/* Service checkboxes */
.service-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.svc-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.svc-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
  flex-shrink: 0;
}
.svc-check span { font-size: 0.8rem; color: var(--text-dark); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--grey-100);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
}
.faq-btn__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal-light);
  display: grid; place-items: center;
  font-size: 0.9rem;
  transition: transform 0.25s, background 0.2s;
  color: var(--teal-dark);
  font-style: normal;
}
.faq-item.is-open .faq-btn__icon { transform: rotate(45deg); background: var(--teal); color: var(--white); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-body p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-mid);
  padding-bottom: 1.25rem;
}
.faq-item.is-open .faq-body { max-height: 400px; }

/* ── Industries + Stack split section ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 4rem;
  align-items: start;
}
@media(max-width:860px){
  .split-section { grid-template-columns: 1fr; gap: 3rem; }
  .split-divider  { display: none; }
}
.split-divider { background: var(--grey-100); align-self: stretch; }
.split-col__title {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-block: 0.5rem 0.75rem;
}
.split-col__sub { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.5rem; }
/* Industry chips */
.ind-chips { display: flex; flex-direction: column; gap: 0.6rem; }
.ind-chip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1.5px solid var(--grey-100);
  transition: border-color .18s, background .18s;
}
.ind-chip-item:hover { border-color: var(--teal); background: var(--teal-light); }
.ind-chip-item__icon  { font-size: 1.2rem; }
.ind-chip-item__label { font-family: var(--ff-display); font-weight: 600; font-size: 0.88rem; color: var(--navy); }
/* Stack groups */
.stack-group { margin-bottom: 1.1rem; }
.stack-group__label {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}
.stack-group__pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.stack-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: var(--ff-display);
  font-weight: 500;
  background: var(--white);
  border: 1.5px solid var(--grey-100);
  color: var(--navy);
  transition: border-color .15s, background .15s;
}
.stack-pill:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal-dark); }

/* ── Budget pills (shared: contact page + modal) ── */
.budget-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.budget-opt {
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--ff-display);
  font-weight: 500;
  border: 1.5px solid var(--grey-200);
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  transition: all .18s;
  line-height: 1;
}
.budget-opt:hover,
.budget-opt.is-selected {
  border-color: var(--teal);
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* ═══════════════════════════════════════════════
   START A PROJECT MODAL
   ═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 30, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
  opacity: 0;
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--grey-200);
  background: var(--off-white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: background 0.18s, border-color 0.18s;
}
.modal__close:hover { background: var(--teal-light); border-color: var(--teal); color: var(--teal-dark); }
.modal__eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 0.5rem;
}
.modal__title {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.modal__sub { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 2rem; }
.modal__success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.modal__success.is-visible { display: block; }
.modal__success-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal__success h3 { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--navy); }
.modal__success p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }
@media(max-width:500px){
  .modal { padding: 1.75rem 1.25rem; }
}
