/* ==========================================================================
   KHOSTI GROUP OF COMPANIES — Design System
   Direction: a trading-terminal meets dev-console aesthetic.
   The company sits between software, markets and growth — so the
   signature motif is an ascending "ticker" line and candlestick rhythm,
   rendered in ink navy with a gold (finance) + teal (tech) accent pair.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Color tokens */
  --ink: #0a0f1c;
  --ink-2: #0d1424;
  --panel: #111a2e;
  --panel-2: #16213a;
  --border: rgba(237, 235, 227, 0.09);
  --border-lit: rgba(212, 162, 76, 0.35);
  --gold: #d4a24c;
  --gold-dim: #8a6b33;
  --teal: #34c7be;
  --teal-dim: #1f6e69;
  --text: #eceae2;
  --muted: #8b93a8;
  --muted-2: #5c6478;
  --danger: #e2665b;

  /* Type */
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Layout */
  --container: 1180px;
  --radius: 10px;
  --radius-sm: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------------------------------- */
/* Background grid texture             */
/* ---------------------------------- */
.grid-veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 235, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 235, 227, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 72%);
  pointer-events: none;
}

/* ---------------------------------- */
/* Header / Nav                        */
/* ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 28, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 6px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark .dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.nav-cta:hover {
  background: #e3b566;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------- */
/* Ticker strip                        */
/* ---------------------------------- */
.ticker {
  border-bottom: 1px solid var(--border);
  background: var(--ink-2);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
}
.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink-2), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink-2), transparent);
}
.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 32s linear infinite;
  padding: 10px 0;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ticker-track span.up {
  color: var(--teal);
}
.ticker-track span::before {
  content: "◆";
  font-size: 8px;
  color: var(--gold-dim);
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------- */
/* Hero                                */
/* ---------------------------------- */
.hero {
  position: relative;
  padding: 108px 0 96px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  margin: 18px 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover {
  background: #e3b566;
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--border-lit);
  background: rgba(212, 162, 76, 0.06);
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text);
}
.hero-stats div span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Signature: ascending chart panel */
.chart-panel {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 0;
  overflow: hidden;
}
.chart-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.chart-panel-head .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 rgba(52, 199, 190, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 199, 190, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 199, 190, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 190, 0);
  }
}
.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw 2.2s ease forwards 0.3s;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.chart-fill {
  opacity: 0;
  animation: fadein 1s ease forwards 1.6s;
}
@keyframes fadein {
  to {
    opacity: 1;
  }
}

/* ---------------------------------- */
/* Candlestick divider                 */
/* ---------------------------------- */
.divider {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 40px 0;
  opacity: 0.6;
}
.divider i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--muted-2);
}
.divider i.gold {
  background: var(--gold-dim);
}
.divider i.teal {
  background: var(--teal-dim);
}

/* ---------------------------------- */
/* Sections                            */
/* ---------------------------------- */
section {
  padding: 88px 0;
  position: relative;
}
.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-top: 14px;
}
.section-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 15.5px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------- */
/* Pillars grid (index)                */
/* ---------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--panel);
  padding: 30px 24px;
  transition: background 0.25s ease;
}
.pillar:hover {
  background: var(--panel-2);
}
.pillar .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}
.pillar .icon {
  width: 38px;
  height: 38px;
  margin: 18px 0 16px;
  color: var(--teal);
}
.pillar h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.pillar p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------------------------------- */
/* Cards (services / projects)         */
/* ---------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.card:hover {
  border-color: var(--border-lit);
  transform: translateY(-4px);
}
.card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.card h3 {
  font-size: 18.5px;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
}
.card .card-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card .card-list li {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card .card-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------------------------------- */
/* Panel band (about / mission)        */
/* ---------------------------------- */
.band {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.stat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}
.stat-list div {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.stat-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
}
.stat-list span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------------------------------- */
/* Timeline / process (projects page)  */
/* ---------------------------------- */
.process {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.process-step:last-child {
  border-bottom: 1px solid var(--border);
}
.process-step .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
}
.process-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------------------------------- */
/* Form (contact page)                 */
/* ---------------------------------- */
.form-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  outline: none;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 14px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info .item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.contact-info .item:last-child {
  border-bottom: none;
}
.contact-info .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.contact-info h4 {
  font-size: 14.5px;
  margin-bottom: 4px;
}
.contact-info p,
.contact-info a {
  color: var(--muted);
  font-size: 14px;
}
.contact-info a:hover {
  color: var(--gold);
}

/* ---------------------------------- */
/* CTA band                            */
/* ---------------------------------- */
.cta-band {
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 640px;
  margin: 0 auto 18px;
}
.cta-band p {
  color: var(--muted);
  margin-bottom: 32px;
}
.cta-band .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------------- */
/* Footer                              */
/* ---------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  background: var(--ink-2);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-top .brand-mark {
  margin-bottom: 14px;
}
.footer-top p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .socials {
  display: flex;
  gap: 14px;
}
.footer-bottom .socials a {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s ease;
}
.footer-bottom .socials a:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

/* ---------------------------------- */
/* Page header (inner pages)           */
/* ---------------------------------- */
.page-hero {
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-top: 16px;
}
.page-hero p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 560px;
  font-size: 15.5px;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb .sep {
  color: var(--muted-2);
}
.breadcrumb .cur {
  color: var(--gold);
}
/* ---------------------------------- */
/* Project cards (with image slot)     */
/* ---------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.project-card:hover {
  border-color: var(--border-lit);
  transform: translateY(-4px);
}

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(
    45deg,
    var(--ink-2),
    var(--ink-2) 10px,
    var(--panel-2) 10px,
    var(--panel-2) 20px
  );
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-image .placeholder-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: rgba(10, 15, 28, 0.75);
  border: 1px dashed var(--border-lit);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  letter-spacing: 0.03em;
}
.project-body {
  padding: 26px;
}
.project-body .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.project-body .status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.project-body h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.project-body .tagline {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold);
  margin-bottom: 14px;
}
.project-body p.desc {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.project-stack span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: var(--ink-2);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 20px;
}
.project-body .project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
}
.project-body .project-link:hover {
  color: #e3b566;
}

@media (max-width: 760px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------------------------------- */
/* Founder section                     */
/* ---------------------------------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: repeating-linear-gradient(
    45deg,
    var(--ink-2),
    var(--ink-2) 10px,
    var(--panel-2) 10px,
    var(--panel-2) 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-photo .placeholder-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: rgba(10, 15, 28, 0.75);
  border: 1px dashed var(--border-lit);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  letter-spacing: 0.03em;
}
.founder-photo .corner-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(10, 15, 28, 0.75);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 20px;
}
.founder-name {
  font-size: clamp(26px, 3vw, 34px);
  margin-top: 14px;
}
.founder-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}
.founder-bio {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 20px;
  max-width: 560px;
}
.founder-signoff {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
}

@media (max-width: 760px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    max-width: 320px;
    aspect-ratio: 1/1;
  }
}
