/* ═══════════════════════════════════════════════
   EVOLUTIONARY HABITS - Design System
   Based on WQF Architecture, built for EH
   ═══════════════════════════════════════════════ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0a0a0a;
  --bg-surface: #141414;
  --bg-elevated: #1c1c1c;
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-muted: #666666;
  --border: #2a2a2a;
  --border-light: #333333;
  --accent: #ffffff;
  --container-max: 1400px;
  --section-pad: clamp(80px, 12vh, 160px);
  --container-pad: clamp(24px, 5vw, 80px);
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- CONTAINER --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- TYPOGRAPHY --- */
.hero-headline {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-headline strong {
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
}

.label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 500;
}

.body-large {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.index {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* --- NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: background 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-logo span {
  font-weight: 200;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 24px;
  border: 1px solid var(--text-secondary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 0 0;
  overflow: hidden;
}

.hero .container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 960px;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--text-secondary);
  font-weight: 300;
  margin-top: 20px;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 300;
  margin: 0 auto 0;
  padding: 0 var(--container-pad) 16px;
  max-width: var(--container-max);
  width: 100%;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* --- HERO METRICS BAR --- */
.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  padding: 32px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: var(--container-pad);
  z-index: 1;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- SHIFT VISUAL --- */
.shift-visual {
  margin: 48px 0;
  border-radius: 4px;
  overflow: hidden;
}

.shift-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.shift-visual:hover img {
  filter: grayscale(0);
}

.shift-coda {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 800px;
}

/* --- SECTION GENERAL --- */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-header .label {
  margin-bottom: 16px;
  display: block;
}

.section-header p {
  margin-top: 20px;
  max-width: 600px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- ETHOS BLOCK --- */
.ethos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.ethos-statement {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ethos-statement strong {
  font-weight: 600;
}

.ethos-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* --- PILLARS / VALUE PROPS --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pillar-card {
  background: var(--bg-primary);
  padding: clamp(24px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-card .index {
  margin-bottom: 8px;
}

.pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: auto;
}

/* --- WORKFLOW --- */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.workflow-step {
  background: var(--bg-surface);
  padding: clamp(32px, 4vw, 56px) clamp(20px, 2vw, 32px);
  position: relative;
  border-top: 2px solid var(--border);
  transition: border-color 0.4s ease;
}

.workflow-step:hover {
  border-top-color: var(--text-primary);
}

.workflow-step .index {
  margin-bottom: 20px;
  display: block;
}

.workflow-step h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.workflow-step .owner {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

.workflow-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- SECTORS / SERVICES ACCORDION --- */
.sectors-list {
  border-top: 1px solid var(--border);
}

.sector-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sector-item:hover .sector-title {
  color: var(--text-primary);
}

.sector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sector-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.sector-item.active .sector-title {
  color: var(--text-primary);
}

.sector-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.sector-item.active .sector-arrow {
  transform: rotate(45deg);
}

.sector-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.3s ease;
}

.sector-item.active .sector-body {
  max-height: 200px;
  padding-top: 16px;
}

.sector-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
}

/* --- PORTFOLIO / SERVICES CARDS --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.portfolio-card {
  background: var(--bg-primary);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.portfolio-card:hover {
  background: var(--bg-surface);
}

a.portfolio-card,
a.team-card,
a.insight-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-card .index {
  margin-bottom: auto;
}

.portfolio-card h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  margin-bottom: 12px;
  font-weight: 400;
}

.portfolio-card .tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.portfolio-card .meta {
  display: flex;
  gap: 24px;
  margin-top: auto;
}

.portfolio-card .meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- TEAM GRID --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.team-card {
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-photo {
  aspect-ratio: 3/4;
  background: var(--bg-surface);
  margin-bottom: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo .initials {
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--text-muted);
}

.team-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.team-card:hover .team-photo video {
  filter: grayscale(0);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.team-card:hover .team-photo img,
.team-photo:hover img {
  filter: grayscale(0);
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

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

.team-card .company {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- AUDIENCE SECTIONS (Clients / Partners / Investors) --- */
.audience-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.audience-props {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.prop-card {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.prop-card .index {
  margin-bottom: 12px;
  display: block;
}

.prop-card h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.prop-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- INSIGHTS GRID --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.insight-card {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  transition: border-color 0.3s ease;
}

.insight-card:hover {
  border-color: var(--text-secondary);
}

.insight-card .meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.insight-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.4;
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- CTA FOOTER --- */
.cta-section {
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 32px;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-weight: 500;
}

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

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

.btn-filled:hover {
  background: transparent;
  color: var(--text-primary);
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.footer-bottom span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- CONTACT MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-surface);
  max-width: 560px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 56px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
}

.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 32px;
  font-weight: 500;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--text-primary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-toggle { display: flex; }
  .ethos { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 32px; }
  .bio-modal { max-width: 90vw; padding: 32px; }
  .bio-modal-inner { grid-template-columns: 1fr; }
  .bio-photo-col { max-height: 300px; }
  .bio-caps-grid { grid-template-columns: 1fr; }
}

/* ═══ BIO POPUP CARDS ═══ */
.bio-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bio-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.bio-modal {
  background: var(--bg-surface);
  max-width: 900px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.5s var(--ease-out);
  border: 1px solid var(--border);
}
.bio-overlay.active .bio-modal {
  transform: translateY(0) scale(1);
}
.bio-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}
.bio-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}
.bio-modal-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
}
.bio-photo-col {
  position: relative;
  overflow: hidden;
}
.bio-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}
.bio-content {
  padding: 48px 40px;
}
.bio-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.bio-name {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}
.bio-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.bio-stats {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.bio-stats > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bio-stat-val {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  display: block;
}
.bio-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
}
.bio-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}
.bio-caps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.bio-cap {
  padding: 16px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.bio-cap:hover {
  border-color: var(--text-muted);
}
.bio-cap h4 {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.bio-cap p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.bio-clients {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.bio-clients strong {
  color: var(--text-secondary);
  font-weight: 500;
}
.bio-contact {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.bio-contact:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}
