@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #002d62;
  --text-muted: #64748b;
  --accent: #002d62;
  --accent-hover: #001f45;
  --accent-soft: #c68f24;
  --accent-soft-hover: #a8741c;
  --gold: #c68f24;
  --testimonial-green: var(--accent);
  --testimonial-green-hover: var(--accent-hover);
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
}

h1, h2, h3 {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.875rem, 4vw, 2.35rem);
  margin-bottom: 0.65em;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
}

/* Header */
body > header {
  background: var(--surface);
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.nav-logo {
  display: block;
  line-height: 0;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo-img {
  display: block;
  height: clamp(64px, 9vw, 84px);
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-icon span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

nav.nav-open .nav-toggle-icon span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

nav.nav-open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

nav.nav-open .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

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

.nav-links a[aria-current="page"] {
  color: var(--accent-soft);
}

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 200;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  nav.nav-open .nav-links {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  body > header {
    position: relative;
    z-index: 200;
  }

  nav {
    flex-wrap: wrap;
  }

  .nav-logo-img {
    height: clamp(48px, 12vw, 56px);
    max-width: min(160px, 48vw);
  }
}

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

.container--narrow {
  max-width: 720px;
}

/* Hero */
.hero {
  padding: clamp(4rem, 10vw, 6.5rem) 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero--home {
  background: var(--bg);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-bottom: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-home {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.hero-home__copy h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  color: var(--accent);
}

.hero-home__copy .lead {
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-home__media {
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.hero-home__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.8125rem 1.375rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.button--ghost:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.button--accent {
  background: var(--accent-soft);
}

.button--accent:hover {
  background: var(--accent-soft-hover);
}

.button--text {
  background: transparent;
  color: var(--accent);
  border: none;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  box-shadow: none;
}

.button--text:hover {
  background: transparent;
  color: var(--accent-hover);
  transform: none;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.button--on-dark {
  background: #fff;
  color: var(--accent);
  border: 1px solid #fff;
}

.button--on-dark:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-hover);
  border-color: #fff;
  box-shadow: var(--shadow-md);
}

.button--ghost.button--on-dark {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

/* Cards & grids */
.card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card h3 {
  color: var(--accent);
  font-size: 0.8125rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.service-card h2 {
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.service-card--accent {
  border-top: 3px solid var(--gold);
}

.home-helps h2,
.home-questions h2,
.home-cta h2 {
  color: var(--accent);
}

.home-content {
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
}

.home-helps.about-tabs {
  margin: 0 0 2.75rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: none;
}

.home-helps .about-tabs__tab[aria-selected="true"] {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.home-helps .about-tabs__panel > p:first-child {
  margin-top: 0;
}

.home-section-lead {
  max-width: none;
  margin-bottom: 1.35rem;
}

.home-questions {
  margin: 0;
  padding: 0;
  background: transparent;
}

.home-questions .about-tabs__title {
  margin-bottom: 0.85rem;
}

.questions-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 2rem;
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}

.questions-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.5;
}

.questions-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.questions-list__span {
  grid-column: 1 / -1;
}

.home-cta {
  padding-top: 1.75rem;
  padding-bottom: 3.25rem;
}

.home-cta .cta-banner {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(1.85rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.25rem);
}

.home-cta .cta-banner h2 {
  max-width: 26ch;
  margin: 0 auto 0.85rem;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
}

.home-cta .cta-banner .lead {
  max-width: 36rem;
  margin: 0 auto 1.35rem;
  font-size: 1rem;
}

.home-cta .cta-banner .hero-actions {
  justify-content: center;
}

.cta-banner {
  background: var(--surface);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(2.75rem, 6vw, 3.75rem) clamp(1.75rem, 5vw, 3rem);
  text-align: center;
}

.cta-banner h2 {
  max-width: 28ch;
  margin: 0 auto 1.1rem;
  color: var(--accent);
}

.cta-banner .lead {
  max-width: 40rem;
  margin: 0 auto 1.85rem;
}

.cta-banner .hero-actions {
  justify-content: center;
}

.section-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.section-intro h1,
.section-intro h2 {
  margin-bottom: 0.75rem;
}

/* Projects */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--surface);
  overflow: hidden;
}

.project-row:last-child {
  border-bottom: 1px solid var(--border);
}

.project-row:nth-child(even) {
  background: #f1f5f9;
}

.project-row--text-only {
  grid-template-columns: 1fr;
  text-align: center;
  align-items: center;
  padding: 2.5rem 1.5rem;
  min-height: auto;
}

.project-media {
  min-height: 200px;
  background: linear-gradient(160deg, #cbd5e1 0%, #94a3b8 100%);
}

.project-copy {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

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

  .project-media {
    min-height: 160px;
  }
}

/* About */
.prose-block {
  max-width: 40rem;
}

.prose-block p {
  margin-bottom: 1.1rem;
}

.prose-block strong {
  color: var(--text);
  font-weight: 600;
}

.figure-wrap {
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
}

.figure-placeholder {
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  border: 1px solid var(--border);
}

/* About page — single continuous document */
.about-page {
  padding-bottom: 3rem;
}

.about-doc {
  max-width: var(--max);
  padding-top: 2.75rem;
  padding-bottom: 1rem;
}

.about-doc__intro {
  margin-bottom: 2.5rem;
}

.about-doc__intro h1 {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.about-doc__mission {
  margin-bottom: 1.5rem;
}

.about-doc__intro .lead {
  margin-top: 0.85rem;
  margin-bottom: 0.9rem;
  max-width: none;
  font-size: 1.2rem;
}

.about-doc__intro > p {
  margin-bottom: 0.9rem;
  max-width: none;
}

.about-founder-line {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-founder-line strong {
  color: var(--accent);
  font-weight: 600;
}

.about-doc__block {
  margin-bottom: 2.5rem;
}

.about-doc__block h2:not(.about-eyebrow) {
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
}

.about-doc__block h3 {
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.about-doc__block > p {
  margin-bottom: 0.85rem;
}

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

.about-eyebrow {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-eyebrow--gold {
  color: var(--gold);
}

.about-mission__text {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text);
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  max-width: none;
}

.about-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0 0 2.75rem;
  max-width: none;
}

.about-media-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.about-media-card__frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8eef5;
}

.about-media-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-media-card__img--office {
  object-fit: cover;
  object-position: center center;
}

.about-media-card figcaption {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.about-media-card figcaption strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
}

.about-approach__list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.75rem;
}

.about-approach__list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.55;
}

.about-approach__list li:last-child {
  grid-column: 1 / -1;
}

.about-approach__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.about-doc__block:has(.about-approach__list),
.about-doc__block:has(.about-steps),
.about-tabs {
  max-width: none;
}

.about-tabs {
  margin: 0 0 2.75rem;
}

.about-tabs__title {
  color: var(--accent);
  margin-bottom: 0.85rem;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
}

.about-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.about-tabs__tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.about-tabs__tab:hover {
  color: var(--accent);
  background: rgba(0, 45, 98, 0.05);
}

.about-tabs__tab[aria-selected="true"] {
  color: var(--accent);
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.about-tabs__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.about-tabs__panel {
  grid-area: 1 / 1;
  max-width: none;
}

.about-tabs__panels {
  display: grid;
}

.about-tabs__panel[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.about-tabs__panel h3 {
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.about-tabs__panel > p {
  margin-bottom: 0.85rem;
}

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

.about-tabs__panel .about-approach__list,
.about-tabs__panel .about-steps {
  max-width: none;
}

.about-tabs__panel:has(.about-approach__list),
.about-tabs__panel:has(.about-steps),
.about-tabs__panel:has(.about-edu__grid) {
  max-width: none;
}

.about-edu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.about-edu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.about-edu__list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.55;
}

.about-edu__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.about-steps {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.about-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
}

.about-steps li:nth-child(-n + 2) {
  border-top: none;
  padding-top: 0;
}

.about-steps__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.3rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
}

.about-steps__label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.35;
}

.about-quote {
  margin: 2.75rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--border);
  max-width: none;
}

.about-quote h2 {
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.about-quote blockquote {
  margin: 0 0 0.85rem;
}

.about-quote blockquote p {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}

.about-quote__name {
  margin: 0 0 0.1rem;
  font-weight: 700;
  color: var(--accent);
}

.about-quote__title {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .about-doc {
    padding-top: 2rem;
  }

  .about-dual,
  .about-approach__list,
  .about-steps,
  .about-edu__grid {
    grid-template-columns: 1fr;
  }

  .about-approach__list li:last-child {
    grid-column: auto;
  }

  .about-steps li:nth-child(-n + 2) {
    border-top: 1px solid var(--border);
    padding-top: 0.7rem;
  }

  .about-steps li:first-child {
    border-top: none;
    padding-top: 0;
  }

  .about-dual {
    margin-bottom: 2rem;
  }

  .about-doc__block {
    margin-bottom: 1.85rem;
  }

  .about-tabs__list {
    gap: 0.25rem;
  }

  .about-tabs__tab {
    font-size: 0.78rem;
    padding: 0.5rem 0.7rem;
  }

  .home-helps .about-tabs__list {
    flex-direction: column;
    align-items: stretch;
  }

  .home-helps .about-tabs__tab {
    width: 100%;
    text-align: left;
    border-radius: var(--radius-sm);
  }

  .home-content {
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
  }

  .home-cta {
    padding-bottom: 2rem;
  }

  .questions-list {
    grid-template-columns: 1fr;
  }
}

/* Services */
.services-page {
  padding-bottom: 3rem;
}

.services-hero {
  position: relative;
  margin: 0 auto 2.75rem;
  max-width: calc(var(--max) + 4rem);
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.services-hero__media {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  aspect-ratio: 10 / 3;
  min-height: 15.5rem;
  background: #002d62;
  width: 100%;
}

.services-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 45, 98, 0.72) 0%,
    rgba(0, 45, 98, 0.4) 32%,
    rgba(0, 45, 98, 0.12) 55%,
    transparent 72%
  );
}

.services-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.services-hero__content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 2rem clamp(1.5rem, 4vw, 2.75rem);
  pointer-events: none;
  box-sizing: border-box;
}

.services-hero__content > * {
  pointer-events: auto;
}

.services-hero__content h1 {
  color: #fff;
  margin: 0 0 0.65rem;
  max-width: 14ch;
  text-shadow: 0 1px 14px rgba(0, 15, 35, 0.5);
}

.services-hero__content .lead {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.35rem;
  max-width: 28rem;
  text-shadow: 0 1px 12px rgba(0, 15, 35, 0.45);
}

.services-catalog {
  padding-top: 0;
  padding-bottom: 1rem;
}

.services-catalog__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.services-catalog .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.services-catalog .service-card > p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.services-bullets {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.services-bullets li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.services-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.services-questions {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.services-section-intro {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.75rem;
}

.services-section-intro h2 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.services-section-intro .lead {
  margin: 0 auto;
}

.services-questions__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem 1.75rem;
  margin: 0;
  padding: 0;
}

.services-questions__list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.5;
}

.services-questions__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.services-throughline {
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.services-throughline h2 {
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.services-throughline p {
  margin: 0 auto;
  max-width: 44rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.services-quote {
  margin: 2.5rem auto 0;
  padding: clamp(1.5rem, 3.5vw, 2rem);
  background: #f3f5f8;
  border-radius: calc(var(--radius) + 2px);
  text-align: center;
}

.services-quote h2 {
  color: var(--accent);
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.services-quote blockquote {
  margin: 0 0 1rem;
}

.services-quote blockquote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text);
}

.services-quote__name {
  margin: 0 0 0.1rem;
  font-weight: 700;
  color: var(--accent);
}

.services-quote__title {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.services-cta {
  padding-top: 2.75rem;
}

.services-cta .cta-banner h2 {
  max-width: 32ch;
}

@media (max-width: 900px) {
  .services-catalog__grid {
    grid-template-columns: 1fr;
  }

  .services-questions__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 0 1.25rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .services-hero__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
    border-radius: calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0;
  }

  .services-hero__media::after {
    display: none;
  }

  .services-hero__content {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 1.35rem 1.2rem 1.4rem;
    justify-content: flex-start;
    background: var(--accent);
    border-radius: 0 0 calc(var(--radius) + 4px) calc(var(--radius) + 4px);
  }

  .services-hero__content h1 {
    max-width: none;
    font-size: clamp(1.5rem, 7vw, 1.85rem);
    text-shadow: none;
  }

  .services-hero__content .lead {
    max-width: none;
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: none;
  }

  .services-hero .hero-actions {
    width: 100%;
  }

  .services-hero .hero-actions .button {
    width: 100%;
    text-align: center;
    background: #fff;
    color: var(--accent);
    box-shadow: none;
  }

  .services-hero .hero-actions .button:hover {
    background: #eef3f8;
    color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
  }

  .services-questions__list {
    grid-template-columns: 1fr;
  }

  .services-throughline {
    text-align: left;
    max-width: none;
  }
}

/* Insights */
.insights-page {
  padding-bottom: 3rem;
}

.insights-hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2.75rem;
  padding-bottom: 1.5rem;
}

.insights-hero__copy h1 {
  color: var(--accent);
  margin-bottom: 1rem;
  max-width: none;
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  line-height: 1.15;
}

.insights-hero__copy .lead {
  margin-bottom: 0.85rem;
  max-width: none;
}

.insights-hero__copy > p:last-child {
  margin: 0;
  color: var(--text-muted);
}

.insights-feature-card {
  display: grid;
  grid-template-columns: minmax(16rem, 0.95fr) 1.15fr;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.insights-feature-card__media {
  position: relative;
  min-height: 16rem;
  background: #e8eef5;
  overflow: hidden;
}

.insights-feature-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.insights-feature-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.insights-feature-card__body h2 {
  color: var(--accent);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin: 0 0 0.75rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.insights-feature-card__body p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.insights-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.5rem, 3.5vw, 2rem);
  box-shadow: var(--shadow);
}

.insights-panel--tight {
  margin-bottom: 1.25rem;
}

.insights-panel h2,
.insights-panel h3 {
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.insights-panel h3 {
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.insights-panel p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.insights-panel p:last-child {
  margin-bottom: 0;
}

.insights-ask {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.insights-ask__inner {
  background: #e8eef5;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.insights-ask__inner h2 {
  color: var(--accent);
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
}

.insights-ask__inner p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  max-width: 48rem;
}

.insights-ask__note {
  font-size: 0.9rem;
}

.insights-ask__inner .button {
  margin-top: 0.35rem;
}

.insights-section-intro {
  margin-bottom: 1.5rem;
}

.insights-section-intro h2 {
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.insights-section-intro .lead {
  margin: 0;
  max-width: 42rem;
}

.insights-section-intro--left .lead {
  max-width: 48rem;
}

.insights-samples__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.insights-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.insights-card h3 {
  color: var(--accent);
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.insights-card > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.insights-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.insights-link:hover {
  color: var(--accent-soft-hover);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.insights-recent {
  padding-top: 1.5rem;
}

.insights-tabs .about-tabs__list {
  margin-bottom: 1.25rem;
}

.insights-tabs__panels {
  display: grid;
}

.insights-tabs__panel {
  grid-area: 1 / 1;
}

.insights-tabs__panel[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.insights-tabs__panel .insights-card {
  height: auto;
}

@media (max-width: 900px) {
  .insights-feature-card {
    grid-template-columns: 1fr;
  }

  .insights-feature-card__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .insights-samples__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .insights-hero {
    padding-top: 2rem;
  }
}

/* Form success */
.form-success-page {
  padding-bottom: 3rem;
}

.form-success {
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: 2rem;
}

.form-success__card {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}

.form-success__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-success__card h1 {
  color: var(--accent);
  margin-bottom: 0.85rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.form-success__card .lead {
  margin: 0 auto 1.75rem;
  max-width: 30rem;
}

.form-success__card .hero-actions {
  justify-content: center;
}

/* Contact */
.contact-page {
  padding-bottom: 3rem;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.75rem;
  align-items: start;
  padding-top: 2.75rem;
  padding-bottom: 1.25rem;
}

.contact-hero__copy h1 {
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.contact-hero__sub {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 28rem;
}

.contact-hero__copy > p:last-child {
  margin: 0;
  color: var(--text-muted);
  max-width: 38rem;
}

.contact-hero__aside {
  background: #f5efe3;
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.35rem, 3vw, 1.85rem);
}

.contact-hero__aside h2 {
  color: var(--accent);
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.contact-hero__aside p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}

.contact-section-intro {
  margin-bottom: 1.5rem;
}

.contact-section-intro h2 {
  color: var(--accent);
  margin: 0 0 0.45rem;
}

.contact-section-intro .lead {
  margin: 0;
}

.contact-ways__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-way-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-way-card h3 {
  color: var(--accent);
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.contact-way-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.contact-main {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
  padding-top: 2rem;
}

.contact-form-card,
.contact-expect__inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.5rem, 3.5vw, 2rem);
  box-shadow: var(--shadow);
}

.contact-form-card h2,
.contact-helpful h2,
.contact-expect__inner h2,
.contact-cta__inner h2 {
  color: var(--accent);
  margin: 0 0 0.7rem;
}

.contact-form-card__lead {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.contact-helpful {
  background: #e8eef5;
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.5rem, 3.5vw, 2rem);
}

.contact-helpful h2 {
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.contact-helpful__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-helpful__list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-helpful__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.contact-expect {
  padding-top: 1.5rem;
}

.contact-expect__inner > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 48rem;
}

.contact-expect__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-expect__steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.contact-expect__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-cta {
  padding-top: 1.5rem;
}

.contact-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #f5efe3;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.contact-cta__inner p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.contact-cta__inner .button {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact-hero,
  .contact-main,
  .contact-ways__grid,
  .contact-form__row,
  .contact-expect__steps {
    grid-template-columns: 1fr;
  }

  .contact-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding-top: 2rem;
  }
}

.two-col-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.two-col-footer h3 {
  font-size: 0.6875rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.two-col-footer .footer-mission__text {
  margin: 0;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gold);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.6;
}

.two-col-footer p,
.two-col-footer a {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.two-col-footer a {
  text-decoration: none;
  display: block;
  margin-bottom: 0.35rem;
}

.two-col-footer a:hover {
  color: var(--accent);
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-logo-img {
  display: block;
  width: auto;
  max-width: 200px;
  max-height: 110px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .two-col-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .two-col-footer {
    grid-template-columns: 1fr;
  }
}

/* Forms */
form label {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 45, 98, 0.12);
  background: var(--surface);
}

form textarea {
  min-height: 140px;
  resize: vertical;
}

form button[type="submit"] {
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

.testimonials ~ .site-footer {
  margin-top: 0;
}

.site-footer .footer-bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.social-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.social-row a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.social-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Testimonials — coverflow carousel */
.testimonials {
  margin-top: 2rem;
  padding: 2.5rem 0 0;
  overflow-x: hidden;
  width: 100%;
  background-color: #dfe6ee;
  background-image:
    linear-gradient(rgba(223, 230, 238, 0.94), rgba(223, 230, 238, 0.94)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(0, 45, 98, 0.06) 23px,
      rgba(0, 45, 98, 0.06) 24px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 23px,
      rgba(0, 45, 98, 0.06) 23px,
      rgba(0, 45, 98, 0.06) 24px
    );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  outline: none;
}

.testimonials:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.testimonials__intro {
  padding: 0 1.5rem 1.25rem;
  text-align: center;
}

.testimonials__intro h2 {
  margin-bottom: 0.5rem;
}

.testimonials__intro .lead {
  margin: 0 auto;
}

.testimonial-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.testimonial-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 2px solid var(--testimonial-green);
  background: var(--testimonial-green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 45, 98, 0.35);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.testimonial-nav-icon {
  display: block;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
}

.testimonial-nav:hover {
  background: var(--testimonial-green-hover);
  border-color: var(--testimonial-green-hover);
  box-shadow: 0 12px 32px rgba(0, 45, 98, 0.45);
  transform: scale(1.06);
}

.testimonial-nav:active {
  transform: scale(0.96);
}

.testimonial-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.testimonial-viewport {
  width: 100%;
  min-width: 0;
  height: 360px;
  min-height: 0;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.testimonial-viewport:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent);
  border-radius: var(--radius-sm);
}

.testimonial-viewport:active {
  cursor: grabbing;
}

.testimonial-track {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.testimonial-card {
  --testimonial-card-h: 17.5rem;
  position: absolute;
  left: 0;
  top: 0;
  width: min(340px, 86vw);
  height: var(--testimonial-card-h);
  margin-left: calc(min(340px, 86vw) / -2);
  margin-top: calc(var(--testimonial-card-h) / -2);
  padding: 1.35rem 1.35rem 1.4rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, box-shadow 0.45s ease;
  will-change: transform, opacity;
}

.testimonial-card.is-active {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  background: #faf7f0;
}

.testimonial-topic {
  flex-shrink: 0;
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
}

.testimonial-quote {
  flex: 1 1 auto;
  margin: 0;
  min-height: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  overflow: hidden;
}

.testimonial-quote p {
  margin: 0;
  color: inherit;
  font-style: italic;
}

.testimonial-byline {
  flex-shrink: 0;
  margin: 1rem 0 0.3rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.testimonial-name {
  color: var(--testimonial-green);
  font-weight: 600;
  font-style: normal;
  font-family: 'Outfit', sans-serif;
}

.testimonial-title {
  color: var(--text-muted);
  font-weight: 400;
  font-family: 'Outfit', sans-serif;
}

.testimonial-company {
  flex-shrink: 0;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 2.25rem 1.25rem;
  }

  .hero {
    padding: 2.75rem 1.25rem;
  }

  .hero--home {
    padding: 2rem 1.25rem;
  }

  .hero-home {
    grid-template-columns: 1fr;
  }

  .hero-home__copy h1 {
    max-width: none;
    font-size: clamp(1.625rem, 6.5vw, 2.1rem);
  }

  .hero-home__copy .lead {
    max-width: none;
    font-size: 1.0625rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.625rem, 6.5vw, 2.1rem);
  }

  .hero .lead {
    max-width: none;
    font-size: 1.0625rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  .button--text {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .lead {
    max-width: none;
  }

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

  .questions-list {
    grid-template-columns: 1fr;
  }

  .questions-list__span {
    grid-column: auto;
  }

  .testimonials {
    margin-top: 1.5rem;
    padding: 2rem 0 0;
  }

  .testimonials__intro {
    padding-bottom: 1rem;
  }

  body > header {
    padding: 0.75rem 1.25rem;
  }

  .testimonials ~ .site-footer {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .testimonial-stage {
    position: relative;
    display: block;
    max-width: none;
    padding: 0 1rem;
  }

  .testimonial-nav {
    position: absolute;
    top: 50%;
    z-index: 30;
    width: 2.85rem;
    height: 2.85rem;
    transform: translateY(-50%);
    box-shadow: 0 4px 16px rgba(0, 45, 98, 0.4);
  }

  .testimonial-nav--prev {
    left: 0.35rem;
  }

  .testimonial-nav--next {
    right: 0.35rem;
  }

  .testimonial-nav:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .testimonial-nav:active {
    transform: translateY(-50%) scale(0.96);
  }

  .testimonial-nav:disabled {
    transform: translateY(-50%);
  }

  .testimonial-nav-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .testimonial-viewport {
    height: 340px;
    min-height: 0;
    margin: 0 auto;
    cursor: default;
  }

  .testimonial-viewport:active {
    cursor: default;
  }

  .testimonial-card {
    --testimonial-card-h: 16.25rem;
    width: min(300px, calc(100vw - 5.25rem));
    margin-left: calc(min(300px, calc(100vw - 5.25rem)) / -2);
    padding: 1.2rem 1.1rem 1.25rem;
  }
}
