:root {
  --navy: #0c1b33;
  --blue: #004aad;
  --blue-dark: #003580;
  --accent: #ef843f;
  --cream: #f7f8fb;
  --white: #ffffff;
  --text: #1a2332;
  --muted: #5a6578;
  --border: rgba(12, 27, 51, 0.1);
  --shadow: 0 12px 40px rgba(12, 27, 51, 0.08);
  --radius: 12px;
  --nav-h: 72px;
  --max: 1200px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --on-primary: #ffffff;
  --surface-header: rgba(255, 255, 255, 0.94);
  --hero-gradient: linear-gradient(145deg, #f8fafc 0%, #eef2f9 50%, #faf6f2 100%);
  --fields-bg: #eef1f6;
  --fields-grid-line: rgba(12, 27, 51, 0.04);
  --panel-gradient: linear-gradient(145deg, #ffffff 0%, #f4f7fc 100%);
  --page-hero-gradient: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
  --tag-bg: whitesmoke;
  --tag-border: rgba(12, 27, 51, 0.06);
  --nav-hover-bg: rgba(0, 74, 173, 0.08);
  --modal-backdrop: rgba(12, 27, 51, 0.55);
  --footer-bg: #0c1b33;
  --footer-text: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] {
  color-scheme: dark;
  --navy: #f1f5f9;
  --blue: #6ba3ff;
  --blue-dark: #4d8ef0;
  --accent: #f0a062;
  --cream: #0d1420;
  --white: #151f2e;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --surface-header: rgba(13, 20, 32, 0.92);
  --hero-gradient: linear-gradient(145deg, #0a1018 0%, #121c2b 50%, #0f1623 100%);
  --fields-bg: #0a1018;
  --fields-grid-line: rgba(255, 255, 255, 0.05);
  --panel-gradient: linear-gradient(145deg, #151f2e 0%, #121a27 100%);
  --page-hero-gradient: linear-gradient(180deg, #0d1420 0%, #151f2e 100%);
  --tag-bg: #1e293b;
  --tag-border: rgba(255, 255, 255, 0.08);
  --nav-hover-bg: rgba(107, 163, 255, 0.12);
  --modal-backdrop: rgba(0, 0, 0, 0.65);
  --footer-bg: #060a12;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.container {
  width: min(var(--max), 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: var(--surface-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--nav-hover-bg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-icon--sun {
  display: none;
}

[data-theme="dark"] .theme-icon--moon {
  display: none;
}

[data-theme="dark"] .theme-icon--sun {
  display: block;
}

.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand span {
  text-transform: uppercase;
  color: var(--blue-dark);
  letter-spacing: 0.06em;
  font-size: 0.88rem;
}

[data-theme="dark"] .brand span {
  color: var(--blue);
}

.brand img {
  width: 44px;
  border-radius: 8px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: var(--nav-hover-bg);
  color: var(--blue);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: var(--blue);
  color: var(--on-primary) !important;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.5rem;
}

.btn-nav:hover {
  background: var(--blue-dark);
  color: var(--on-primary) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
  box-shadow: var(--shadow);
}

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

.nav-mobile a {
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  min-height: 92vh;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  background: var(--hero-gradient);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 2.45rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

.accent{
 font-size: clamp(2.25rem, 6vw, 2.45rem);
}

.hero-title em {
  font-style: italic;
  color: var(--blue);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.75rem;
  background: var(--blue);
  color: var(--on-primary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  color: var(--on-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 74, 173, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.75rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--on-primary);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(320px, 80%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  font-weight: 600;
}

.section-desc {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Teaser cards (title + one line + icon) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.teaser-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
}

:is(.teaser-card, .team-card, .profile-card)[data-modal] {
  cursor: pointer;
}

:is(.teaser-card, .team-card, .profile-card)[data-modal]:hover {
  cursor: pointer;
}

:is(.teaser-card, .team-card, .profile-card)[data-modal] :is(h2, h3, p, span, img, div) {
  cursor: pointer;
}

:is(.teaser-card, .team-card, .profile-card)[data-modal]:hover :is(h2, h3, p, span, img, div) {
  cursor: pointer;
}

.teaser-card[data-modal]:hover,
.profile-card[data-modal]:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.teaser-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.teaser-card__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.teaser-card__title {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.01em;
}

.teaser-card__line {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.teaser-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.teaser-card__link:hover {
  color: var(--accent);
}

/* Blog / insights */
.card-grid--blog {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.blog-card__source {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--nav-hover-bg);
  color: var(--blue);
}

.blog-card__source--substack {
  color: var(--accent);
}

.blog-card__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 0;
}

.blog-card__byline {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.blog-card__excerpt {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
  line-height: 1.55;
}

.blog-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 0.25rem;
}

.blog-card:hover .blog-card__link {
  color: var(--accent);
}

.blog-post {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

.blog-post + .blog-post {
  margin-top: 2rem;
}

.blog-post__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0.75rem 0 0.5rem;
  line-height: 1.2;
}

.blog-post__content {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.65;
}

.blog-post__content p {
  margin: 0 0 1rem;
}

.blog-post__content p:last-child {
  margin-bottom: 0;
}

.blog-post__disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-post__actions {
  margin-top: 1.5rem;
}

.blog-post__actions .btn-outline {
  display: inline-flex;
}

/* Founder cards (home) — medium */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 1.75rem;
  justify-content: center;
  max-width: 860px;
  margin-inline: auto;
}

.profile-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.profile-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 220px;
  object-fit: cover;
  object-position: top center;
}

.profile-card__body {
  padding: 1.15rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.profile-card__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.25;
  margin: 0 0 0.3rem;
  color: var(--navy);
}

.profile-card__role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.profile-card__line {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 0.85rem;
}

.profile-card__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.profile-card__actions .teaser-card__link {
  font-size: 0.75rem;
}

.profile-card__actions img {
  width: 26px;
  cursor: pointer;
  opacity: 0.82;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.profile-card__actions img:hover {
  opacity: 1;
  filter: grayscale(0.35);
}

/* Team page groups & grid */
.team-group + .team-group {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.team-group__head {
  margin-bottom: 2rem;
}

.team-group__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}

.team-group__desc {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.team-card[data-modal]:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

.team-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.team-card__designation {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  background: var(--tag-bg);
  color: var(--muted);
  border-radius: 999px;
  letter-spacing: 0.02em;
  border: 1px solid var(--tag-border);
}

.team-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  width: 100%;
}

.team-card__link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.team-card__social {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.team-card__social img {
  width: 26px;
  height: auto;
  opacity: 0.82;
  filter: grayscale(1);
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.team-card__social:hover img {
  opacity: 1;
  filter: grayscale(0.35);
  transform: scale(1.05);
}

.team-card__social--disabled {
  cursor: default;
  pointer-events: none;
}

.team-card__social--disabled img {
  opacity: 0.45;
  filter: grayscale(1);
}

/* Technology / practice fields (K&W-style grid) */
.fields-section {
  background-color: var(--fields-bg);
  background-image:
    linear-gradient(var(--fields-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--fields-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
  max-width: 920px;
  margin-inline: auto;
}

.field-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(12, 27, 51, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.8);
  min-height: 88px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.field-card:hover {
  box-shadow: 0 8px 28px rgba(12, 27, 51, 0.1);
  transform: translateY(-1px);
}

.field-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  flex: 1;
  min-width: 0;
}

.field-card__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
}

[data-theme="dark"] .field-card__icon {
  filter: brightness(1.85) contrast(0.9);
}

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.quote-card::before {
  content: "\201C";
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

/* About panel */
.about-panel {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  padding: 2rem 2rem 2.25rem 2.35rem;
  background: var(--panel-gradient);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(12, 27, 51, 0.07);
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--accent) 100%);
}

.about-panel__mast {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.about-panel__logo {
  width: 72px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(12, 27, 51, 0.08);
}

.about-panel__title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  margin: 0;
  color: var(--navy);
  line-height: 1.1;
}

.about-panel__title .mg {
  color: var(--accent);
}

.about-panel__tagline {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.about-panel__content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.15rem;
}

.about-panel__content p:last-child {
  margin-bottom: 0;
}

.about-panel__content strong {
  color: var(--navy);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-col__label {
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-col--visual {
  display: flex;
  justify-content: center;
}

.contact-visual {
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.office-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.office-item__flag {
  width: 28px;
  height: auto;
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(12, 27, 51, 0.15);
  margin-top: 0.15rem;
}

.office-item__text {
  margin: 0;
}

.office-item__text strong {
  color: var(--navy);
}

.contact-reach-title {
  margin: 1.5rem 0 1rem !important;
  color: var(--navy);
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 2rem;
}

.contact-channel__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.contact-channel:has(a:hover) .contact-channel__icon,
.contact-channel:has(a:focus-visible) .contact-channel__icon {
  filter: grayscale(0.35);
  opacity: 1;
}

.contact-channel__text {
  margin: 0;
  color: var(--muted);
}

.contact-channel__text strong {
  color: var(--navy);
}

.cta-band {
  text-align: center;
  padding: 3rem 0;
}

.cta-band .section-title {
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-logo {
  width: 40px;
  height: auto;
  border-radius: 6px;
  opacity: 0.95;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-connect__title {
  margin: 0 0 0.9rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-channel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
}

.footer-channel:last-child {
  margin-bottom: 0;
}

.footer-channel__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
}

.footer-channel a {
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.footer-social a {
  display: inline-flex;
  line-height: 0;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  opacity: 1;
  transform: scale(1.06);
}

.footer-social img {
  width: 28px;
  height: auto;
  filter: grayscale(1);
  opacity: 0.85;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.footer-social a:hover img {
  filter: grayscale(0.35);
  opacity: 1;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.9rem;
  color: var(--footer-text);
}

.footer-grid a:hover {
  color: var(--on-primary);
}

.footer-brand strong {
  color: var(--on-primary) !important;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
}

.footer-services span:not(:last-child)::after {
  content: " · ";
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--modal-backdrop);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-panel {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  margin: calc(var(--nav-h) + 1rem) auto 2rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-panel h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.modal-panel .modal-role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.modal-panel p {
  color: var(--muted);
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--navy);
  line-height: 1;
}

.hidden-content {
  display: none;
}

/* Card scroll animations */
@keyframes card-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-44px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes card-slide-in-right {
  from {
    opacity: 0;
    transform: translateX(44px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.animate-card {
  opacity: 0;
}

.animate-card.is-visible.animate-card--from-left {
  animation: card-slide-in-left 0.65s ease forwards;
  animation-delay: var(--stagger, 0s);
}

.animate-card.is-visible.animate-card--from-right {
  animation: card-slide-in-right 0.65s ease forwards;
  animation-delay: var(--stagger, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .animate-card {
    opacity: 1;
  }

  .animate-card.is-visible {
    animation: none !important;
  }
}

.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  background: var(--page-hero-gradient);
  text-align: center;
}

.page-hero .section-title {
  margin-bottom: 0.5rem;
}

.page-hero .section-desc {
  max-width: 600px;
  margin-inline: auto;
}

@media (min-width: 961px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.75rem 3rem;
    align-items: start;
  }

  .contact-col--visual {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    padding-left: 40px;
  }

  .contact-col--visual {
    display: none;
  }

  .footer-services span {
    display: block;
  }

  .footer-services span::after {
    content: none !important;
  }

  .hero-grid,
  .founder-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .card-grid,
  .team-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--offerings,
  .card-grid--blog {
    grid-template-columns: 1fr;
  }

  .fields-grid {
    grid-template-columns: 1fr;
  }

  .field-card__icon {
    width: 52px;
    height: 52px;
  }

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

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .btn-nav--desktop {
    display: none;
  }
}

@media (min-width: 961px) {
  .card-grid--offerings,
  .card-grid--blog {
    grid-template-columns: repeat(3, 1fr);
  }

  .quote-grid--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
