/* Claremont Venture Capital: editorial stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800;900&display=swap');

:root {
  --red: #7A1414;
  --red-dark: #5C0A0A;
  --red-hover: #8F1A1A;
  --bg: #ffffff;
  --bg-alt: #FAFAF7;
  --ink: #0A0A0A;
  --ink-soft: #1F1F1F;
  --gray: #555555;
  --gray-light: #8A8A8A;
  --border: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.18);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-hover);
}

img {
  max-width: 100%;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Eyebrow / section labels ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.eyebrow.on-dark {
  /* legacy: pages still use this class; render as normal red eyebrow on the new light headers */
  color: var(--red);
  opacity: 1;
}

.section-number {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 20px;
}

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

.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.nav-brand img {
  height: 42px;
  width: 42px;
  border-radius: 4px;
  display: block;
}

.nav-brand-text {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.005em;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 500px) {
  .nav-brand-text {
    font-size: 0.9rem;
  }
}

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

.nav-links a {
  position: relative;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.72;
  transition: opacity 0.15s ease, color 0.15s ease;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  opacity: 1;
  color: var(--ink);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    display: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid var(--border);
  }

  .nav-links li:first-child {
    border-top: none;
  }

  .nav-links a {
    display: block;
    padding: 16px 32px;
  }

  .nav-links a::after {
    display: none;
  }
}

/* ---------- Editorial hero (home) ---------- */

.hero-editorial {
  padding: 96px 0 72px;
  text-align: center;
  background: var(--bg);
}

.hero-editorial .eyebrow {
  margin-bottom: 22px;
}

.hero-editorial h1 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 auto 26px;
  max-width: 900px;
  color: var(--ink);
}

.hero-editorial .hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

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

/* Photo band under hero */
.hero-photo-band {
  width: 100%;
  height: clamp(280px, 42vw, 480px);
  overflow: hidden;
  background: var(--bg-alt);
}

.hero-photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* ---------- Page header banner (interior pages) ---------- */

.page-header {
  background: var(--bg);
  color: var(--ink);
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.005em;
  color: var(--ink);
}

.page-header p {
  margin: 14px auto 0;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 620px;
}

.page-header .eyebrow {
  margin-bottom: 12px;
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--red);
  color: var(--bg);
  border-color: var(--red);
}

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

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--bg);
}

.btn-outline-light:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--ink);
}

/* Legacy / kept for backward compatibility on other pages */
.btn-gold {
  background: var(--red);
  color: var(--bg);
  border-color: var(--red);
}

.btn-gold:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

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

section {
  padding: 88px 0;
}

section.tight {
  padding: 48px 0;
}

section.alt {
  background: var(--bg-alt);
}

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

h2.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-align: center;
  margin: 0 0 16px;
}

p.section-lead {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Editorial "mission" prose block */
.prose-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.prose-block p {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.rule {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 32px;
  border: none;
}

.rule-left {
  margin: 0 0 28px;
}

/* ---------- Editorial numbered blocks (What you'll do) ---------- */

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1080px;
  margin: 0 auto;
}

.editorial-item {
  padding: 0 26px;
  border-left: 1px solid var(--border);
}

.editorial-item:first-child {
  border-left: none;
  padding-left: 0;
}

.editorial-item:last-child {
  padding-right: 0;
}

.editorial-item .num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--red);
  margin-bottom: 10px;
}

.editorial-item .label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 18px;
}

.editorial-item h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.3;
  /* two-line reserve so every column's body copy starts on the same baseline */
  min-height: 2.6em;
}

.editorial-item p {
  color: var(--gray);
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 940px) {
  .editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .editorial-item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

  .editorial-item:nth-child(even) {
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .editorial-item {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 32px 0;
  }

  .editorial-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ---------- Cards (legacy, kept for other pages) ---------- */

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

@media (max-width: 760px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 30px 26px;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--red);
}

.card-number {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  color: var(--ink);
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  color: var(--gray);
  margin: 0;
  font-size: 0.94rem;
}

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

/* ---------- Team Page Enhancements ---------- */

.board-heading {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 24px;
  text-align: center;
}


.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 24px;
  max-width: 1140px;
  margin: 0 auto;
}


@media (min-width: 960px) {
  .team-grid .team-card {
    flex: 0 0 calc(25% - 18px);
    max-width: calc(25% - 18px);
  }
}

@media (max-width: 959px) and (min-width: 620px) {
  .team-grid .team-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 619px) {
  .team-grid .team-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.team-grid-home {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1080px;
}

@media (max-width: 900px) {
  .team-grid-home {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .team-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(122, 20, 20, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.team-avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 14px;
  background: var(--bg-alt);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.team-card:hover .team-avatar img {
  transform: scale(1.06);
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.team-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.year-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-light);
}

.role-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(122, 20, 20, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin: 2px 0 6px;
}

.role-badge.badge-pres {
  background: rgba(122, 20, 20, 0.14);
  color: var(--red-dark);
}

.team-meta {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 2px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.team-linkedin:hover {
  background: #0A66C2;
  transform: scale(1.1);
}

.team-linkedin:hover svg rect {
  fill: transparent;
}

.team-linkedin svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Modal Drawer Styling */

@media (min-width: 520px) {
}

@media (max-width: 519px) {
}

/* ---------- TBD notice ---------- */

.tbd-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 28px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.tbd-box .tbd-tag {
  display: inline-block;
  background: var(--red);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.tbd-box p {
  color: var(--gray);
  margin: 0;
}

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

form {
  max-width: 640px;
  margin: 0 auto;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 44px;
}

fieldset legend {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0;
  margin-bottom: 6px;
}

fieldset .fieldset-note {
  color: var(--gray);
  font-size: 0.88rem;
  margin: 0 0 20px;
}

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

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}

label .optional {
  color: var(--gray);
  font-weight: 400;
  font-size: 0.82rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease;
}

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

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

button[type="submit"] {
  width: 100%;
  border: none;
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
  text-align: center;
}

/* ---------- Contact ---------- */

.contact-block {
  text-align: center;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin: 18px 0 8px;
}

.contact-email:hover {
  color: var(--red);
}

.social-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.social-row svg {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 0.15s ease;
}

.social-row a:hover svg {
  transform: translateY(-2px);
}

/* ---------- CTA banner (bottom of home) ---------- */

.cta-banner {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--bg);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.02rem;
}

.cta-banner .btn {
  margin: 0 6px 12px;
}

.tbd-box .btn {
  margin-top: 22px;
}

/* ---------- Schedule timeline ---------- */

.timeline {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 34px;
  padding-bottom: 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* connecting spine, sits in the grid gap */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 85px;
  top: 20px;
  bottom: -6px;
  width: 2px;
  background: rgba(122, 20, 20, 0.18);
  border-radius: 1px;
}

.timeline-item:last-child::before {
  display: none;
}

/* marker */
.timeline-item::after {
  content: "";
  position: absolute;
  left: 80px;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--bg-alt);
}

.timeline-date {
  text-align: right;
  padding-top: 4px;
}

.tl-dow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.tl-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--ink);
}

.tl-mon {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.timeline-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 20, 20, 0.35);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07);
}

.tl-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(122, 20, 20, 0.08);
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 11px;
}

.timeline-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.tl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 0.92rem;
}

.tl-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tl-time {
  color: var(--ink-soft);
  font-weight: 600;
}

.tl-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 560px) {
  .timeline-item {
    grid-template-columns: 52px 1fr;
    gap: 24px;
  }

  .timeline-item::before {
    left: 64px;
  }

  .timeline-item::after {
    left: 59px;
  }

  .tl-num {
    font-size: 1.65rem;
  }

  .timeline-card {
    padding: 17px 18px;
  }

  .timeline-card h3 {
    font-size: 1.12rem;
  }
}

/* ---------- Coffee chats (scales to any number of people) ---------- */

.or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 26px auto;
  color: var(--gray-light);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.chat-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.chat-block h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: var(--ink);
}

.chat-block > p {
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 460px;
  margin: 0 auto 32px;
}

.chat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.chat-person {
  flex: 0 1 232px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease, border-color 0.3s ease;
}

.chat-person:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 20, 20, 0.3);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07);
}

.chat-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(122, 20, 20, 0.18);
}

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

.chat-person h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--ink);
}

.chat-role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.chat-person .btn {
  padding: 10px 20px;
  font-size: 0.8rem;
  margin-top: auto;
}

@media (max-width: 420px) {
  .chat-person {
    flex: 1 1 100%;
  }
}

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

footer {
  background: var(--bg);
  color: var(--gray);
  padding: 56px 0 32px;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

footer .footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}

footer .footer-brand img {
  height: 32px;
  width: 32px;
  border-radius: 4px;
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

footer a {
  color: var(--gray);
}

footer a:hover {
  color: var(--red);
}

footer .footer-bottom {
  padding-top: 24px;
  text-align: center;
  color: var(--gray-light);
  font-size: 0.82rem;
}
