/* =========================================================
   Zinara Static Site — Modern SaaS Aesthetic (No frameworks)
   ========================================================= */

/* --------- Design tokens --------- */
:root {
  --bg: #0b1220;
  --bg2: #0d1528;
  --surface: rgba(255, 255, 255, 0.06);
  --surface2: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --subtle: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  --shadow2: 0 10px 30px rgba(0, 0, 0, 0.22);

  --aqua: #67e8f9;
  --indigo: #818cf8;
  --cyan: #22d3ee;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --container: 1160px;
  --pad: clamp(18px, 3vw, 28px);

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

/* Light mode fallback (still keeps brand feel) */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fb;
    --bg2: #ffffff;
    --surface: rgba(10, 15, 30, 0.05);
    --surface2: rgba(10, 15, 30, 0.07);
    --border: rgba(10, 15, 30, 0.10);
    --text: rgba(10, 15, 30, 0.92);
    --muted: rgba(10, 15, 30, 0.70);
    --subtle: rgba(10, 15, 30, 0.55);
    --shadow: 0 18px 55px rgba(15, 25, 60, 0.10);
    --shadow2: 0 10px 30px rgba(15, 25, 60, 0.08);
  }
}

/* --------- Base --------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 800px at 20% 0%, rgba(103, 232, 249, 0.18), transparent 55%),
              radial-gradient(900px 700px at 90% 20%, rgba(129, 140, 248, 0.18), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0.6rem 0; color: var(--muted); }

h1, h2, h3 {
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); }
h3 { font-size: 1.1rem; }

code {
  padding: 0.12rem 0.35rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New";
}

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

.lead {
  font-size: 1.05rem;
  max-width: 70ch;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* --------- Skip link --------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus { top: 12px; outline: 2px solid rgba(103,232,249,0.6); }

/* --------- Background glow overlays --------- */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(103,232,249,0.16), transparent 60%),
    radial-gradient(850px 650px at 85% 20%, rgba(129,140,248,0.16), transparent 62%);
}
.bg-glow--subtle {
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(103,232,249,0.12), transparent 60%),
    radial-gradient(850px 650px at 90% 12%, rgba(129,140,248,0.12), transparent 62%);
}

/* --------- Header / Nav --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg2) 70%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 14px;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background:
    radial-gradient(14px 14px at 30% 35%, rgba(103,232,249,0.9), rgba(103,232,249,0) 60%),
    radial-gradient(18px 18px at 70% 65%, rgba(129,140,248,0.9), rgba(129,140,248,0) 62%),
    linear-gradient(135deg, rgba(103,232,249,0.35), rgba(129,140,248,0.35));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav-link:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}
.nav-link.is-active {
  color: var(--text);
  background: var(--surface2);
  border-color: var(--border);
}

.nav-cta {
  margin-left: 6px;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 650;
  color: rgba(10, 15, 30, 0.95);
  background: linear-gradient(135deg, var(--aqua), var(--indigo));
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}
.nav-cta:hover { filter: brightness(1.03); }

/* Mobile nav toggle (CSS-only) */
.nav-toggle { display: none; }
.nav-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  opacity: 0.9;
  border-radius: 2px;
}

/* --------- Buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow2);
}
.btn:hover { background: var(--surface2); }
.btn:focus-visible {
  outline: 2px solid rgba(103, 232, 249, 0.6);
  outline-offset: 2px;
}

.btn-primary {
  border: none;
  color: rgba(10, 15, 30, 0.95);
  background: linear-gradient(135deg, var(--aqua), var(--indigo));
}
.btn-primary:hover { filter: brightness(1.03); }

.btn-secondary {
  background: color-mix(in oklab, var(--surface) 75%, transparent);
}
.btn-tertiary {
  background: transparent;
  box-shadow: none;
}
.btn-tertiary:hover { background: var(--surface); }

.btn-full { width: 100%; }

/* --------- Hero --------- */
.hero {
  padding: clamp(64px, 7vw, 110px) 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(22px, 3.6vw, 54px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--indigo));
  box-shadow: 0 0 0 4px rgba(103,232,249,0.10);
}

.hero-title { margin-top: 16px; }
.grad {
  background: linear-gradient(135deg, var(--aqua), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  max-width: 680px;
}

.trust-item {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 68%, transparent);
}
.trust-kicker {
  display: block;
  font-weight: 750;
  color: var(--text);
  font-size: 0.95rem;
}
.trust-text {
  display: block;
  color: var(--subtle);
  font-size: 0.92rem;
  margin-top: 2px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 14px;
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-img {
  transform: scale(1.2);
  transform-origin: center;
  max-width: 100%;
  height: auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  border-radius: calc(var(--radius-lg) - 10px);
  border: 1px solid rgba(255,255,255,0.10);
}

.hero-badges {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(10, 15, 30, 0.62);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-weight: 650;
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
}

.badge-ico {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--indigo));
  box-shadow: 0 0 0 4px rgba(103,232,249,0.10);
}

/* --------- Sections --------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-muted {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--bg2) 70%, transparent),
    color-mix(in oklab, var(--bg) 70%, transparent)
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

/* Stats cards */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 68%, transparent);
  box-shadow: var(--shadow2);
}
.stat-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(103,232,249,0.35), rgba(129,140,248,0.35));
  border: 1px solid rgba(255,255,255,0.14);
}
.stat-label { color: var(--subtle); font-weight: 650; }
.stat-value {
  margin-top: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat-desc { margin-top: 6px; color: var(--muted); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.steps--compact { margin-top: 18px; }

.step-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 68%, transparent);
  box-shadow: var(--shadow2);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  background: linear-gradient(135deg, rgba(103,232,249,0.25), rgba(129,140,248,0.25));
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 10px;
}
.mini-list {
  padding-left: 18px;
  margin: 10px 0 0;
  color: var(--muted);
}
.mini-list li { margin: 6px 0; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.feature-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  box-shadow: var(--shadow2);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(103,232,249,0.22), rgba(129,140,248,0.22));
  margin-bottom: 10px;
}
.feature-card svg { color: rgba(255,255,255,0.92); }
@media (prefers-color-scheme: light) {
  .feature-card svg { color: rgba(10,15,30,0.92); }
}

/* CTA */
.cta {
  background: radial-gradient(900px 600px at 20% 10%, rgba(103,232,249,0.18), transparent 60%),
              radial-gradient(900px 650px at 90% 40%, rgba(129,140,248,0.18), transparent 60%),
              linear-gradient(180deg, color-mix(in oklab, var(--bg2) 75%, transparent), color-mix(in oklab, var(--bg) 75%, transparent));
}
.cta-inner {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 72%, transparent);
  box-shadow: var(--shadow);
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: color-mix(in oklab, var(--bg2) 70%, transparent);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 18px;
  align-items: start;
}
.footer-note { margin-top: 10px; color: var(--subtle); max-width: 50ch; }
.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-links a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  width: fit-content;
}
.footer-links a:hover { color: var(--text); background: var(--surface); border: 1px solid var(--border); }
.footer-meta { color: var(--subtle); }

/* --------- Company page --------- */
.page-hero {
  padding: clamp(48px, 6vw, 86px) 0 22px;
}
.page-hero--compact { padding-bottom: 42px; }

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}

.page-title { margin-top: 14px; }

.page-hero-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 72%, transparent);
  box-shadow: var(--shadow);
}

.callout-title { font-size: 1.25rem; margin: 0 0 8px; }
.callout-text { margin: 0; color: var(--muted); }
.callout-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10, 15, 30, 0.40);
  color: rgba(255,255,255,0.86);
  font-weight: 650;
  font-size: 0.9rem;
}
@media (prefers-color-scheme: light) {
  .chip { background: rgba(255,255,255,0.55); color: rgba(10,15,30,0.86); }
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.value-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  box-shadow: var(--shadow2);
}

.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.team-card {
  padding: 22px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  box-shadow: var(--shadow2);
  gap: 6 px;
  min-height: 250px;
  position: relative;
}

.team-photo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,15,30,0.25);
  margin-bottom: 10px;
}

.team-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 72px;              /* fixed width for all badges */
  height: 20px;             /* fixed height */
  
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  border-radius: 5px;       
  border: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);

  flex-shrink: 0;
}


.role-clinical {
  color: #6fbf9b;                     /* medical green */
  border-color: rgba(111, 191, 155, 0.7);
  background: rgba(111, 191, 155, 0.18);
}

.role-ai {
  color: #7fa6e8;                     /* clear blue */
  border-color: rgba(127, 166, 232, 0.7);
  background: rgba(127, 166, 232, 0.18);
}
.role-product {
  color: #e3a35f;                     /* clear orange */
  border-color: rgba(227, 163, 95, 0.7);
  background: rgba(227, 163, 95, 0.18);
}


.team-name {
  font-size: 0.85rem;   /* to fit in 1 line */       
  line-height: 1.2;
  margin: 0;
  margin-bottom: 4px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-role {
  font-size: 0.8rem;           /* to fit in 1 line */
  line-height: 1.2;
  margin: 0;
  margin-bottom: 4px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--subtle);
}

.team-specialty {
  font-size: 0.78rem;
  color: var(--subtle);
  line-height: 1.3;
}

.team-shortdescription {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  max-height: none;
  overflow: visible;
  transition: max-height 0.25s ease;
  margin-top: 6px
}

.team-bio-link {
  margin-top: auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--subtle);
  text-decoration: underline;
  cursor: pointer;
  width: fit-content;
}

.team-bio-link:hover {
  color: var(--text);
}


.team-bio-overlay {
  position: absolute;
  inset: 0;
  padding: 20px 16px;

  background: rgba(10, 15, 30, 0.95);
  border-radius: 16px;
  border: 1px solid var(--border);

  opacity: 0;
  color: #ffffff;  /* base color for all overlay text */
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/*Show overlay on hover OR focus (critical)*/

.team-card:hover .team-bio-overlay,
.team-card:focus-within .team-bio-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}




/* Bio List Styling */
.team-bio-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;

  font-size: 0.85rem;
  line-height: 1.45;
  color: #ffffff;
}

.team-bio-list li {
  margin-bottom: 10px;
}

.team-bio-list strong {
  font-weight: 700;
}

/* Making bio link keyboard friendly*/
.team-bio-link:focus {
  outline: 2px solid rgba(103, 232, 249, 0.5);
  outline-offset: 2px;
}

/* Enabling Tap hint on mobile */
@media (hover: none) {
  .team-bio-link {
    font-size: 0.95rem;
  }
}


.note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 65%, transparent);
  color: var(--muted);
}

/* --------- Contact page --------- */
.contact-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 72%, transparent);
  box-shadow: var(--shadow);
}

.contact-quick {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  width: fit-content;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 750;
}
.contact-link:hover { background: var(--surface2); }
.contact-ico {
  width: 12px; height: 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--indigo));
  box-shadow: 0 0 0 4px rgba(103,232,249,0.10);
}
.contact-hint { color: var(--subtle); }

.form { margin-top: 14px; display: grid; gap: 12px; }
.form-row { display: grid; gap: 6px; }
label { color: var(--subtle); font-weight: 650; }

input, textarea, select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 15, 30, 0.35);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
@media (prefers-color-scheme: light) {
  input, textarea, select { background: rgba(255,255,255,0.70); color: rgba(10,15,30,0.92); }
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.45); }
@media (prefers-color-scheme: light) {
  input::placeholder, textarea::placeholder { color: rgba(10,15,30,0.45); }
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(103, 232, 249, 0.55);
  outline-offset: 2px;
}

.form-fineprint {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--subtle);
}

/* --------- Responsive --------- */
@media (max-width: 980px) {
  .hero-grid,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .trust-strip { grid-template-columns: 1fr; }
  .stats, .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav-toggle-btn { display: inline-flex; }
  .nav {
    position: absolute;
    top: 72px;
    right: var(--pad);
    left: var(--pad);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: color-mix(in oklab, var(--bg2) 75%, transparent);
    box-shadow: var(--shadow);
  }
  .nav-cta { text-align: center; }
  .nav-link { width: 100%; }
  .nav-toggle:checked ~ .nav { display: flex; }
}



@media (hover: hover) and (pointer: fine) {
  .team-card:hover .team-shortdescription {
    max-height: 300px;
  }
}

@media (max-width: 760px) {
  .team-shortdescription {
    max-height: none;
    overflow: visible;
  }
}

