/* KOVI Finance — Premium */
:root {
  --bg: #070a12;
  --bg-elevated: #0d1220;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(212, 175, 95, 0.35);
  --text: #f4f1ea;
  --text-muted: #9aa3b5;
  --text-soft: #6b7385;
  --gold: #d4af5f;
  --gold-bright: #f0d78c;
  --gold-dim: rgba(212, 175, 95, 0.15);
  --navy: #1a2744;
  --accent: #3d7cff;
  --success: #3ecf8e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(100px); opacity: .45;
}
.bg-glow::before {
  width: 520px; height: 520px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(212,175,95,.35), transparent 70%);
}
.bg-glow::after {
  width: 480px; height: 480px; bottom: 10%; left: -120px;
  background: radial-gradient(circle, rgba(61,124,255,.18), transparent 70%);
}
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: .5;
}

.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(7,10,18,.72);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  height: 100%;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex; align-items: center; gap: 1.25rem;
}
.logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  color: #1a1408; box-shadow: 0 8px 24px rgba(212,175,95,.25);
}
.logo__mark svg { width: 22px; height: 22px; fill: currentColor; }
.logo__text {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600; line-height: 1.1; letter-spacing: .02em;
}
.logo__text span {
  display: block; font-family: var(--font); font-size: .68rem;
  font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-top: 2px;
}
.nav {
  display: flex; align-items: center; gap: .15rem; margin-left: auto;
}
.nav > a, .nav .nav__drop > summary {
  padding: .55rem .8rem; border-radius: 999px;
  color: var(--text-muted); font-size: .9rem; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
  list-style: none; cursor: pointer;
}
.nav > a:hover, .nav .nav__drop[open] > summary,
.nav > a.is-active { color: var(--text); background: rgba(255,255,255,.04); }
.nav__drop { position: relative; }
.nav__drop > summary::-webkit-details-marker { display: none; }
.nav__drop-panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: #101728; border: 1px solid var(--border); border-radius: 16px;
  padding: .75rem; box-shadow: var(--shadow); z-index: 50;
}
.nav__drop-panel .label {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); padding: .4rem .6rem .3rem; font-weight: 600;
}
.nav__drop-panel a {
  display: block; padding: .45rem .65rem; border-radius: 10px;
  color: var(--text-muted); font-size: .88rem;
}
.nav__drop-panel a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.header__actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .72rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1408; box-shadow: 0 10px 30px rgba(212,175,95,.22);
}
.btn--primary:hover { box-shadow: 0 14px 36px rgba(212,175,95,.32); }
.btn--ghost {
  border-color: var(--border); color: var(--text); background: rgba(255,255,255,.03);
}
.btn--ghost:hover { border-color: var(--border-strong); background: rgba(255,255,255,.05); }
.btn--lg { padding: .9rem 1.4rem; font-size: .95rem; }
.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); place-items: center; background: rgba(255,255,255,.03);
}
.burger span {
  display: block; width: 18px; height: 1.5px; background: var(--text);
  position: relative;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

main { position: relative; z-index: 1; }
.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section__label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .9rem;
}
.section__label::before {
  content: ""; width: 18px; height: 1px; background: var(--gold);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; line-height: 1.15; letter-spacing: .01em;
  margin-bottom: 1rem;
}
.section__lead {
  color: var(--text-muted); font-size: 1.05rem; max-width: 62ch; margin-bottom: 2rem;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--gold-dim);
  color: var(--gold-bright); font-size: .8rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  line-height: 1.08; font-weight: 600; margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: italic; color: var(--gold-bright);
  font-weight: 500;
}
.hero__text {
  color: var(--text-muted); font-size: 1.08rem; max-width: 48ch; margin-bottom: 1.75rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem;
}
.stat {
  padding: 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
}
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600; color: var(--gold-bright); line-height: 1.1;
}
.stat span { color: var(--text-soft); font-size: .82rem; }

.panel {
  border-radius: 24px; border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: var(--shadow); padding: 1.4rem; overflow: hidden;
  position: relative;
}
.panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(212,175,95,.12), transparent 45%);
  pointer-events: none;
}
.panel__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.1rem; position: relative;
}
.panel__head h3 { font-size: .95rem; font-weight: 600; }
.panel__head span { color: var(--text-soft); font-size: .78rem; }
.panel__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-top: 1px solid var(--border); position: relative;
}
.panel__row:first-of-type { border-top: none; }
.panel__row strong { font-weight: 600; }
.panel__row small { display: block; color: var(--text-soft); font-size: .78rem; margin-top: .15rem; }
.pill {
  display: inline-flex; align-items: center; padding: .2rem .55rem;
  border-radius: 999px; font-size: .75rem; font-weight: 600;
  background: rgba(62,207,142,.12); color: var(--success);
}

/* Cards */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem;
}
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1.35rem;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
  height: 100%;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-dim); color: var(--gold-bright);
  font-size: 1.1rem; margin-bottom: 1rem; border: 1px solid var(--border-strong);
}
.card h3 {
  font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem;
  font-family: var(--font-display); letter-spacing: .01em;
}
.card p { color: var(--text-muted); font-size: .92rem; flex: 1; }
.card ul { margin-top: .85rem; display: grid; gap: .35rem; }
.card li {
  color: var(--text-muted); font-size: .88rem;
  padding-left: 1rem; position: relative;
}
.card li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.card__meta {
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.tag {
  font-size: .75rem; font-weight: 600; color: var(--gold-bright);
  background: var(--gold-dim); border: 1px solid var(--border-strong);
  padding: .25rem .55rem; border-radius: 999px;
}
.card__link {
  margin-top: 1rem; color: var(--gold-bright); font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .35rem;
}
.card__link::after { content: "→"; transition: transform .2s; }
.card:hover .card__link::after { transform: translateX(3px); }

.segment-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem;
}
.segment-tabs a, .segment-tabs button {
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); font-weight: 600; font-size: .88rem;
  cursor: pointer;
}
.segment-tabs a.is-active, .segment-tabs button.is-active,
.segment-tabs a:hover {
  color: #1a1408; background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: transparent;
}

/* Process / steps */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; counter-reset: step;
}
.step {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-card); padding: 1.4rem; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 1.8rem; color: var(--gold);
  display: block; margin-bottom: .6rem; line-height: 1;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--text-muted); font-size: .92rem; }

/* Team */
.team {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem;
}
.member {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-card); padding: 1.3rem; text-align: center;
}
.member__avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(145deg, rgba(212,175,95,.35), rgba(26,39,68,.8));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright);
}
.member h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.member p { color: var(--text-muted); font-size: .86rem; }

/* Advantages */
.adv-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem;
}
.adv {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  padding: 1.25rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
}
.adv__num {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); line-height: 1;
}
.adv h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.adv p { color: var(--text-muted); font-size: .92rem; }

/* Forms */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: start;
}
.contact-info {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-card); padding: 1.5rem;
}
.contact-info a {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .85rem 0; border-bottom: 1px solid var(--border);
  color: var(--text);
}
.contact-info a:last-child { border-bottom: none; }
.contact-info strong { display: block; font-size: .95rem; }
.contact-info small { color: var(--text-soft); }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.socials a {
  border: 1px solid var(--border); border-radius: 999px; padding: .45rem .85rem;
  color: var(--text-muted); font-size: .85rem; font-weight: 500;
}
.socials a:hover { border-color: var(--border-strong); color: var(--gold-bright); }

.form {
  border-radius: 24px; border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  padding: 1.5rem; box-shadow: var(--shadow);
}
.form h3 {
  font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .35rem;
}
.form > p { color: var(--text-muted); margin-bottom: 1.2rem; font-size: .92rem; }
.form-grid { display: grid; gap: .85rem; }
.field label {
  display: block; font-size: .82rem; color: var(--text-muted);
  margin-bottom: .35rem; font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(0,0,0,.25);
  outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--border-strong);
}
.field textarea { min-height: 100px; resize: vertical; }
.check {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .82rem; color: var(--text-muted); line-height: 1.4;
}
.check input { margin-top: .2rem; accent-color: var(--gold); }
.form__note {
  margin-top: .85rem; font-size: .75rem; color: var(--text-soft); line-height: 1.45;
}
.form__success {
  display: none; padding: 1rem; border-radius: 12px;
  background: rgba(62,207,142,.12); border: 1px solid rgba(62,207,142,.3);
  color: var(--success); font-weight: 500; margin-bottom: 1rem;
}
.form.is-sent .form__success { display: block; }
.form.is-sent .form-grid, .form.is-sent .btn { display: none; }

/* Product page */
.page-hero {
  padding: 3.5rem 0 2rem;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  color: var(--text-soft); font-size: .85rem; margin-bottom: 1.2rem;
}
.breadcrumb a:hover { color: var(--gold-bright); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; margin-bottom: .75rem;
}
.page-hero .revenue {
  color: var(--text-muted); margin-bottom: 1.25rem; max-width: 50ch;
}
.hl-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .75rem;
  margin: 1.5rem 0 0;
}
.hl {
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-card); padding: .95rem;
}
.hl span { display: block; color: var(--text-soft); font-size: .78rem; margin-bottom: .25rem; }
.hl strong { color: var(--gold-bright); font-size: .98rem; font-weight: 600; }

.split {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.25rem; align-items: start;
}
.block {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-card); padding: 1.4rem; margin-bottom: 1rem;
}
.block h2 {
  font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .9rem;
}
.block h3 {
  font-size: 1rem; margin: 1rem 0 .5rem; color: var(--gold-bright);
}
.block ul { display: grid; gap: .45rem; }
.block li {
  color: var(--text-muted); font-size: .92rem;
  padding-left: 1rem; position: relative;
}
.block li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); position: absolute; left: 0; top: .55em;
}
.lead-box {
  border-left: 2px solid var(--gold);
  padding: .2rem 0 .2rem 1rem;
  color: var(--text-muted); margin-bottom: 1rem;
}

/* Insurance */
.ins-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem;
}

/* Privacy */
.prose {
  max-width: 78ch; color: var(--text-muted);
}
.prose h2 {
  color: var(--text); font-family: var(--font-display);
  font-size: 1.5rem; margin: 1.6rem 0 .7rem;
}
.prose h3 { color: var(--text); font-size: 1.05rem; margin: 1.1rem 0 .45rem; }
.prose p, .prose li { margin-bottom: .55rem; }
.prose ul { margin: .5rem 0 1rem 1.1rem; list-style: disc; }
.prose ul li { list-style: disc; padding-left: 0; }
.prose ul li::before { display: none; }
.prose a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem; margin-top: 2rem;
  background: rgba(0,0,0,.2);
}
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer h4 {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8rem;
}
.footer a, .footer p { color: var(--text-muted); font-size: .9rem; display: block; margin-bottom: .4rem; }
.footer a:hover { color: var(--text); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
  color: var(--text-soft); font-size: .82rem;
}

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal__dialog {
  width: min(100%, 480px); max-height: 90vh; overflow: auto;
  border-radius: 20px; border: 1px solid var(--border);
  background: #0f1524; padding: 1.4rem; box-shadow: var(--shadow);
}
.modal__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.modal__head h3 { font-family: var(--font-display); font-size: 1.5rem; }
.modal__close {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
  display: grid; place-items: center; cursor: pointer; color: var(--text-muted);
}

@media (max-width: 1024px) {
  .hero__grid, .contact-grid, .split, .footer__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hl-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav { display: none; }
  .header__actions .btn--ghost { display: none; }
  .burger { display: grid; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #0b101c; border-bottom: 1px solid var(--border);
    padding: 1rem; gap: .25rem;
  }
  .nav__drop-panel { position: static; min-width: 0; box-shadow: none; margin-top: .35rem; }
}
@media (max-width: 640px) {
  .cards, .steps, .adv-grid, .team, .ins-grid, .hero__stats { grid-template-columns: 1fr; }
  .hl-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Brand + personal team photos ---------- */
.logo__img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.08) contrast(1.05);
}

/* Personal photos — large circular portraits from original site */
.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.member {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  padding: 1.5rem 1.1rem 1.35rem;
  text-align: center;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  overflow: visible;
}
.member:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.member__photo-wrap {
  width: 168px;
  height: 168px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold), rgba(212,175,95,.25));
  box-shadow: 0 14px 36px rgba(212,175,95,.18);
}
.member__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: #f4f1ea;
  border: 3px solid #0a0e18;
}
.member h3 {
  font-size: 1.12rem;
  margin-bottom: .3rem;
  font-weight: 600;
}
.member p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member__photo-wrap { width: 148px; height: 148px; }
}
@media (max-width: 640px) {
  .team { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .member__photo-wrap { width: 180px; height: 180px; }
}
