/* Alturatech — base styles */

/* Dark theme (default brand look) */
:root,
:root[data-theme="dark"] {
  --bg: #0a0e17;
  --bg-alt: #0f1420;
  --surface: #131a29;
  --surface-2: #1a2235;
  --border: #232c40;
  --text: #f2f4f8;
  --text-muted: #9aa5b8;
  --text-faint: #6b7488;
  --accent: #7c6bff;
  --accent-2: #22d3ee;
  --accent-warm: #ffb648;
  /* text-safe variants: same as accent/accent-2 on dark backgrounds */
  --accent-solid: #8f7fff;
  --accent-2-solid: #22d3ee;
  --accent-rgb: 124, 107, 255;
  --accent-2-rgb: 34, 211, 238;
  --header-bg-color: rgba(10, 14, 23, 0.85);
  --hero-glow-alpha: 0.25;
  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --gradient-text: linear-gradient(120deg, var(--accent-solid) 0%, var(--accent-2-solid) 100%);
  --radius: 16px;
  --max-width: 1160px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

/* Light theme */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f6f7fa;
  --surface: #ffffff;
  --surface-2: #f0f2f6;
  --border: #e3e6ec;
  --text: #12141c;
  --text-muted: #565d6b;
  --text-faint: #8a90a0;
  --accent: #7c6bff;
  --accent-2: #22d3ee;
  --accent-warm: #ffb648;
  /* darker text-safe variants for readability on white */
  --accent-solid: #6d28d9;
  --accent-2-solid: #0e7490;
  --accent-rgb: 124, 107, 255;
  --accent-2-rgb: 34, 211, 238;
  --header-bg-color: rgba(255, 255, 255, 0.85);
  --hero-glow-alpha: 0.1;
  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --gradient-text: linear-gradient(120deg, var(--accent-solid) 0%, var(--accent-2-solid) 100%);
  --radius: 16px;
  --max-width: 1160px;
  --shadow: 0 20px 60px -20px rgba(20, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg-color);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: inline-block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-links a.active {
  color: var(--text);
  background: none;
  box-shadow: inset 0 -2px 0 var(--accent-2-solid);
  border-radius: 0;
  padding-bottom: 6px;
}

.nav-cta {
  padding: 9px 18px !important;
  border-radius: 999px;
  background: var(--gradient) !important;
  color: #0a0e17 !important;
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-start-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-mobile-footer {
  display: none;
}

.mobile-cta {
  display: none;
}

/* ---------- Theme switch ---------- */

.theme-switch {
  position: relative;
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.theme-toggle-btn:hover {
  background: var(--surface-2);
}

.theme-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 150px;
  box-shadow: var(--shadow);
  z-index: 60;
}

.theme-menu-open {
  display: block;
}

.theme-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.theme-menu-item:hover {
  background: var(--surface-2);
}

.theme-menu-item.active-choice {
  color: var(--accent-2-solid);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: #0a0e17;
}

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

.btn-ghost:hover {
  background: var(--surface-2);
}

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

.hero {
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), var(--hero-glow-alpha)), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2-solid);
  background: rgba(var(--accent-2-rgb), 0.1);
  border: 1px solid rgba(var(--accent-2-rgb), 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section {
  padding: 80px 0;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 800;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.eyebrow-inline {
  color: var(--accent-2-solid);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 14px;
}

/* ---------- Grid / Cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.logo-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.diagram-image-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}

.diagram-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.card ul li {
  margin-bottom: 6px;
}

/* ---------- Band / alt sections ---------- */

.band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 6px;
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: #0a0e17;
  margin-bottom: 24px;
  overflow: hidden;
}

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

.team-card h3 {
  font-size: 1.4rem;
  margin: 0 0 4px;
  font-weight: 800;
}

.team-role {
  color: var(--accent-2-solid);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

input,
textarea,
select {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.contact-info-item p,
.contact-info-item a {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-info-item a:hover {
  color: var(--accent-2-solid);
}

/* ---------- Testimonial placeholder ---------- */

.coming-soon {
  text-align: center;
  padding: 60px 32px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.coming-soon .card-icon {
  margin: 0 auto 20px;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 80px 24px;
  border-radius: 24px;
  margin: 0 24px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-2-rgb), 0.1));
  border: 1px solid var(--border);
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  color: var(--text-faint);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* ---------- Hero split (home) ---------- */

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}

.hero-split .lede {
  margin: 0 0 32px;
}

.hero-split .hero-actions {
  justify-content: flex-start;
}

.hero-split h1 {
  margin: 0 0 22px;
}

/* ---------- Bento stats card ---------- */

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.bento-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.bento-head strong {
  color: var(--text-muted);
  font-weight: 700;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bento-stat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.bento-stat .stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.bento-stat .stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.bento-stat .stat-label {
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 600;
  margin-top: 6px;
}

.bento-stat .stat-sub {
  font-size: 0.76rem;
  color: var(--text-faint);
  margin-top: 3px;
}

.bento-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Chip strip ---------- */

.chip-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.chip {
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
}

/* ---------- Wordmarks band ---------- */

.wordmarks {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wordmarks-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-align: center;
  margin-bottom: 22px;
}

.wordmarks-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 44px;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee-scroll 32s linear infinite;
  padding-left: 40px;
}

.marquee-track span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}

.marquee-track span::after {
  content: "\2022";
  color: var(--accent-2-solid);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Engagement list (numbered) ---------- */

.engagement-list {
  display: flex;
  flex-direction: column;
}

.engagement-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.engagement-list .engagement-row:first-child {
  border-top: 1px solid var(--border);
}

.engagement-index {
  font-size: 0.85rem;
  color: var(--accent-2-solid);
  font-weight: 800;
  margin-bottom: 10px;
}

.engagement-label {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.engagement-role {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.engagement-headline {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.engagement-body {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Service card extras ---------- */

.service-index {
  font-size: 0.85rem;
  color: var(--accent-2-solid);
  font-weight: 800;
  display: block;
  margin-bottom: 16px;
}

.list-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-faint);
  margin: 20px 0 8px;
  display: block;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.included-grid li {
  padding-left: 14px;
  position: relative;
}

.included-grid li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent-2-solid);
}

/* ---------- Bio list (team bios) ---------- */

.bio-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bio-list li {
  padding-left: 18px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bio-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ---------- Portfolio list ---------- */

.portfolio-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.portfolio-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.portfolio-list li:last-child {
  border-bottom: none;
}

.portfolio-list strong {
  color: var(--text);
}

.portfolio-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

/* ---------- Chip groups (invested / advised) ---------- */

.chip-group {
  margin-bottom: 22px;
}

.chip-group:last-child {
  margin-bottom: 0;
}

.chip-group-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 12px;
  display: block;
}

/* ---------- Best-for list ---------- */

.best-for-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.best-for-list li {
  padding-left: 18px;
  position: relative;
}

.best-for-list li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--accent-2-solid);
}

/* ---------- Success state ---------- */

.success-card {
  text-align: center;
  padding: 60px 32px;
}

/* ---------- Scroll hint ---------- */

.scroll-hint {
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Metrics row ---------- */

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.metric-item {
  border-left: 2px solid var(--border);
  padding-left: 18px;
}

.metric-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.metric-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Blog ---------- */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

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

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.blog-card-image svg {
  width: 100%;
  height: 100%;
  display: block;
}

.blog-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
  display: block;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  line-height: 1.3;
}

.blog-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.article-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.article-meta {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  margin: 24px 0 8px;
}

.article-hero-image svg {
  width: 100%;
  height: 100%;
  display: block;
}

.article-body h2 {
  font-size: 1.4rem;
  margin: 40px 0 14px;
}

.article-body p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 18px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--accent-2-solid);
}

/* ---------- Footer redesign ---------- */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--text-faint);
  font-size: 0.88rem;
  max-width: 280px;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col p {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin: 0;
}

.footer-col a:hover {
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-split .hero-actions {
    justify-content: center;
  }
  .wordmarks-row {
    gap: 24px;
  }
  .engagement-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .included-grid {
    grid-template-columns: 1fr;
  }
  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-list.two-col {
    grid-template-columns: 1fr;
  }
  .blog-list {
    grid-template-columns: 1fr;
  }
  .nav-start-btn {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 4px;
  }
  .nav-links-open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 14px;
  }
  .nav-links-open .mobile-cta {
    display: block;
    margin-top: 8px;
  }
  .nav-links-open .mobile-cta a {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
  }
  .nav-links-open .nav-mobile-footer {
    display: block;
    margin-top: 10px;
    padding: 14px 14px 4px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-faint);
    line-height: 1.7;
  }
  .nav-links-open .nav-mobile-footer a {
    color: var(--text-muted);
    padding: 0;
  }
  .nav-toggle {
    display: inline-flex;
  }
}
