:root {
  --bg: #5cb1db;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf9;
  --ink: #233043;
  --muted: #586577;
  --line: rgba(35, 48, 67, 0.12);
  --navy: #285176;
  --teal: #4888A8;
  --gold: #d5963a;
  --peach: #f1d8c3;
  --shadow: 0 18px 48px rgba(42, 57, 74, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-logo-size: 84px;
  --hero-logo-size: 156px;
  --brand-name-size: 1.35rem;
  --brand-meta-size: 1rem;
  --brand-audience-size: 0.82rem;
  --nav-font-size: 1rem;
  --hero-headline-size: clamp(2.6rem, 4.2vw, 4.6rem);
  --hero-headline-color: var(--ink);
  --hero-headline-weight: 600;
  --hero-headline-style: normal;
  --hero-body-size: 1.08rem;
  --hero-body-color: var(--muted);
  --hero-body-weight: 400;
  --hero-body-style: normal;
  --page-title-size: clamp(3rem, 5vw, 5.5rem);
  --page-title-color: var(--ink);
  --page-title-weight: 600;
  --page-title-style: normal;
  --page-body-size: 1.08rem;
  --page-body-color: var(--muted);
  --page-body-weight: 400;
  --page-body-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Urbanist", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 26%),
    radial-gradient(circle at top right, rgba(72, 136, 168, 0.18), transparent 32%),
    linear-gradient(180deg, #86c7e6 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(1760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  position: sticky;
  top: 12px;
  z-index: 10;
  background: rgba(250, 246, 240, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

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

.brand-logo {
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(42, 57, 74, 0.12));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: var(--brand-name-size);
  line-height: 1.1;
}

.brand-copy span {
  color: var(--muted);
  font-size: var(--brand-meta-size);
  line-height: 1.25;
}

.brand-copy span:last-child {
  font-size: var(--brand-audience-size);
  line-height: 1.2;
  max-width: 40rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a {
  padding: 11px 16px;
  font-size: var(--nav-font-size);
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.hero,
.split-section,
.detail-grid,
.audience-layout,
.service-grid,
.approach-steps,
.trust-strip {
  display: grid;
  gap: 18px;
}

.hero {
  grid-template-columns: minmax(0, 1.24fr) minmax(360px, 0.84fr);
  align-items: stretch;
  padding: 28px 0 24px;
  gap: 14px;
}

.hero-copy,
.hero-card,
.story-card,
.contact-panel,
.service-card,
.audience-panel,
.step-card,
.split-card,
.mini-card,
.detail-card,
.page-hero {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero {
  padding: 48px;
  border-radius: calc(var(--radius-lg) + 8px);
}

.page-hero {
  margin-top: 42px;
}

.page-hero-text {
  max-width: 46rem;
}

body:has(.site-nav a.is-active[href="./about.html"]) .page-hero h1,
body:has(.site-nav a.is-active[href="./about.html"]) .page-hero-text {
  max-width: none;
}

.about-hero h1,
.about-hero .page-hero-text {
  max-width: none;
  width: 100%;
}

body:has(.site-nav a.is-active[href="./services.html"]) .page-hero-text {
  max-width: none;
}

body:has(.site-nav a.is-active[href="./testimonials.html"]) .page-hero h1,
body:has(.site-nav a.is-active[href="./testimonials.html"]) .page-hero-text {
  max-width: none;
}

.testimonials-hero h1,
.testimonials-hero .page-hero-text {
  max-width: none;
  width: 100%;
}

.featured-service,
.service-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.featured-service {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(35, 48, 67, 0.12);
}

.featured-service-copy,
.service-row-copy {
  min-width: 0;
}

.featured-service-copy h2,
.service-row-copy h2 {
  margin-bottom: 12px;
}

.featured-service-meta,
.service-row-meta {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-row {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.service-duration {
  margin: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(39, 76, 119, 0.1);
  border: 1px solid rgba(39, 76, 119, 0.14);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--teal);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  font-size: var(--page-title-size);
  color: var(--page-title-color);
  font-weight: var(--page-title-weight);
  font-style: var(--page-title-style);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.45rem;
}

p,
li {
  line-height: 1.65;
}

.hero-text,
.section-heading p,
.story-card p,
.contact-panel p,
.service-card p,
.audience-panel p,
.step-card p,
.signal-card p,
.split-card p,
.mini-card p,
.detail-card p,
.feature-list li,
.site-footer,
.text-link,
.helper-text {
  color: var(--muted);
}

.helper-text {
  margin-top: 6px;
  font-size: 0.92rem;
}

.hero-text {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: var(--hero-body-size);
  color: var(--hero-body-color);
  font-weight: var(--hero-body-weight);
  font-style: var(--hero-body-style);
}

.hero-mark {
  display: block;
  width: var(--hero-logo-size);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 18px rgba(42, 57, 74, 0.12));
}

.hero-copy .eyebrow {
  text-align: center;
  font-size: 0.68rem;
}

.hero-copy h1 {
  font-size: var(--hero-headline-size);
  color: var(--hero-headline-color);
  font-weight: var(--hero-headline-weight);
  font-style: var(--hero-headline-style);
  max-width: none;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.page-hero .hero-text,
.page-hero-text {
  font-size: var(--page-body-size);
  color: var(--page-body-color);
  font-weight: var(--page-body-weight);
  font-style: var(--page-body-style);
}

.hero-audience-line {
  margin: 14px 0 0;
  max-width: 54ch;
  color: var(--navy);
  font-weight: 700;
}

.hero-actions,
.cta-stack,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin: 28px 0 26px;
}

.cta-stack {
  align-items: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: white;
  box-shadow: 0 14px 30px rgba(39, 76, 119, 0.28);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.text-link {
  font-weight: 800;
  color: var(--navy);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.trust-strip p {
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(35, 48, 67, 0.08);
  font-weight: 700;
  color: var(--ink);
}

.timeline-step h2 {
  display: block;
  color: var(--navy);
}

.hero-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 150, 58, 0.22), transparent 68%);
}

.card-label {
  margin: 4px 0 18px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
}

.signal-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(35, 48, 67, 0.08);
  border-radius: var(--radius-md);
}

.signal-card + .signal-card {
  margin-top: 14px;
}

.signal-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-timeline {
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(35, 48, 67, 0.08);
}

.timeline-step-outcome {
  align-items: center;
}

.timeline-step span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: white;
  font-weight: 800;
}

.timeline-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.timeline-step h2 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.timeline-step p,
.hero-card-footer p {
  margin: 0;
}

.timeline-step p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.card-label {
  font-size: 0.82rem;
}

.hero-card-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(35, 48, 67, 0.1);
}

.hero-testimonials {
  margin-top: 18px;
}

.testimonial-link {
  display: inline-flex;
  margin-top: 14px;
}

.testimonial-carousel {
  position: relative;
  min-height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(35, 48, 67, 0.08);
  opacity: 0;
  animation: testimonial-rotate 30s infinite;
}

.testimonial-slide:nth-child(2) {
  animation-delay: 5s;
}

.testimonial-slide:nth-child(3) {
  animation-delay: 10s;
}

.testimonial-slide:nth-child(4) {
  animation-delay: 15s;
}

.testimonial-slide:nth-child(5) {
  animation-delay: 20s;
}

.testimonial-slide:nth-child(6) {
  animation-delay: 25s;
}

.testimonial-quote,
.testimonial-meta {
  margin: 0;
}

.testimonial-quote {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.55;
}

.testimonial-meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.testimonials-list {
  display: grid;
  gap: 18px;
}

.testimonial-page-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.testimonial-page-quote,
.testimonial-page-meta,
.testimonial-page-role {
  margin: 0;
}

.testimonial-page-quote + .testimonial-page-quote {
  margin-top: 12px;
}

.testimonial-page-meta {
  margin-top: 18px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.testimonial-page-role {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

@keyframes testimonial-rotate {
  0%,
  13% {
    opacity: 1;
  }

  16.66%,
  100% {
    opacity: 0;
  }
}

.trust-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 10px 0 34px;
}

.trust-strip p {
  margin: 0;
  text-align: center;
  color: var(--navy);
}

.section {
  padding: 34px 0;
}

.section-visual {
  padding-top: 22px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: none;
  margin-bottom: 26px;
}

.hero-visual-card {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 8px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  position: relative;
}

.hero-visual-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.18);
}

.hero-visual-card-captioned .hero-visual-image {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.hero-visual-card-captioned {
  max-width: 1240px;
  margin: 0 auto;
}

.hero-visual-card-natural .hero-visual-image {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.hero-visual-card-natural {
  max-width: 1240px;
  margin: 0 auto;
}

.hero-visual-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(18, 34, 52, 0), rgba(18, 34, 52, 0.46));
  pointer-events: none;
}

.hero-visual-caption {
  position: absolute;
  left: 32px;
  bottom: 26px;
  z-index: 1;
  margin: 0;
}

.hero-visual-caption strong {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-heading-compact {
  margin-bottom: 20px;
}

.service-grid,
.approach-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  margin-top: 20px;
}

.homepage-summary-copy {
  height: 100%;
}

.homepage-summary-stack,
.homepage-summary-stack {
  display: grid;
  gap: 18px;
}

.service-card,
.step-card,
.split-card,
.mini-card,
.detail-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card-image {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(35, 48, 67, 0.08);
}

.service-number,
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--navy));
}

.split-section {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.split-section-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-list {
  display: grid;
  gap: 18px;
}

.mini-card h3,
.detail-card h2 {
  margin-bottom: 12px;
}

.audience-layout {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.audience-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.audience-panel.emphasis {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.74)),
    linear-gradient(135deg, rgba(47, 111, 115, 0.12), rgba(39, 76, 119, 0.08));
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.feature-list li + li {
  margin-top: 8px;
}

.service-subsection + .service-subsection {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(35, 48, 67, 0.1);
}

.service-subsection h3 {
  margin-bottom: 10px;
}

.quote-card {
  background:
    linear-gradient(135deg, rgba(39, 76, 119, 0.08), rgba(213, 150, 58, 0.14)),
    var(--surface);
}

.story-card,
.contact-panel,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.story-card,
.contact-panel {
  padding: 28px 32px;
  border-radius: calc(var(--radius-lg) + 6px);
}

.story-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 247, 236, 0.9)),
    var(--surface);
}

.contact-panel {
  background:
    linear-gradient(135deg, rgba(39, 76, 119, 0.12), rgba(47, 111, 115, 0.12)),
    var(--surface-strong);
}

.site-footer {
  margin-top: 30px;
  padding: 28px 8px 0;
  border-top: 1px solid rgba(35, 48, 67, 0.1);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

.footer-links a {
  font-weight: 700;
}

.service-row-featured {
  grid-template-columns: 1fr;
}

.service-row-featured .service-row-copy {
  width: 100%;
}

.service-row-featured h2 {
  margin-bottom: 12px;
}

.service-row-featured > .service-row-copy > p:not(.eyebrow) {
  max-width: 60rem;
}

.service-subsection-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.service-subsection-row .service-duration {
  margin-top: 2px;
  white-space: nowrap;
}

.feature-list-tight {
  margin-top: 8px;
}

@media (min-width: 1200px) {
  .page-shell {
    width: min(1820px, calc(100% - 48px));
  }

  .site-header {
    padding: 20px 26px;
  }

  .brand-copy strong {
    font-size: 1.62rem;
  }

  .brand-copy span {
    font-size: 1.12rem;
  }

  .brand-copy span:last-child {
    font-size: 0.94rem;
    max-width: 31rem;
  }

  .site-nav a {
    padding: 13px 19px;
    font-size: 1.02rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(380px, 0.86fr);
    gap: 16px;
    padding: 26px 0 20px;
  }

  .hero-copy,
  .page-hero {
    padding: 42px;
  }

  .hero-card {
    padding: 26px;
  }

  .hero-mark {
    margin-bottom: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(3.45rem, 4.85vw, 5.4rem);
    line-height: 0.93;
    letter-spacing: -0.04em;
  }

  .hero-text {
    font-size: 1.2rem;
  }

  .timeline-step h2 {
    font-size: 1.24rem;
  }

  .timeline-step p {
    font-size: 1.08rem;
  }

  .testimonial-quote {
    font-size: 1.04rem;
  }

  .testimonial-meta {
    font-size: 1rem;
  }
}

@media (max-width: 1280px) {
  .page-shell {
    width: min(100% - 28px, 1600px);
  }

  .site-header {
    gap: 18px;
    padding: 14px 18px;
  }

  .brand-logo {
    width: min(var(--header-logo-size), 72px);
    height: min(var(--header-logo-size), 72px);
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .brand-copy span {
    font-size: 0.92rem;
  }

  .brand-copy span:last-child {
    font-size: 0.76rem;
    max-width: 30rem;
  }

  .site-nav a {
    padding: 10px 14px;
    font-size: 0.94rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 16px;
    padding: 42px 0 24px;
  }

  .hero-copy,
  .page-hero {
    padding: 38px;
  }

  .hero-mark {
    width: min(var(--hero-logo-size), 132px);
    margin-bottom: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 4vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }

  .hero-text {
    font-size: 1rem;
  }

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

@media (max-width: 1120px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    border-radius: 32px;
  }

  .brand {
    justify-content: flex-start;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  .hero-copy,
  .hero-card,
  .page-hero {
    padding: 32px 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    max-width: 13ch;
    line-height: 1.04;
  }

  .service-grid,
  .split-section-wide {
    grid-template-columns: 1fr;
  }

  .story-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .site-header,
  .site-nav,
  .hero,
  .trust-strip,
  .service-grid,
  .audience-layout,
  .approach-steps,
  .story-card,
  .contact-panel,
  .hero-points,
  .split-section,
  .detail-grid,
  .detail-grid-two {
    grid-template-columns: 1fr;
  }

  .featured-service,
  .service-row {
    grid-template-columns: 1fr;
  }

  .site-header,
  .story-card,
  .contact-panel {
    border-radius: 28px;
  }

  .site-header,
  .site-nav {
    display: grid;
  }

  .site-nav {
    gap: 12px;
  }

  .brand-copy span:last-child {
    white-space: normal;
  }

  .featured-service {
    gap: 18px;
  }

  .hero-copy,
  .page-hero {
    padding: 34px 24px;
  }

  h1 {
    max-width: 12ch;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1680px);
    padding-top: 12px;
  }

  .site-header {
    padding: 18px;
    position: static;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-logo {
    width: min(var(--header-logo-size), 70px);
    height: min(var(--header-logo-size), 70px);
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy span {
    font-size: 0.88rem;
  }

  .brand-copy span:last-child {
    font-size: 0.72rem;
    max-width: none;
  }

  .hero {
    padding-top: 26px;
  }

  .homepage-summary {
    margin-top: 18px;
  }

  .hero-actions {
    margin: 22px 0 22px;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel {
    min-height: 210px;
  }

  .service-subsection-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-copy,
  .hero-card,
  .service-card,
  .service-row,
  .audience-panel,
  .step-card,
  .story-card,
  .contact-panel,
  .split-card,
  .mini-card,
  .detail-card,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .button {
    width: 100%;
  }

  .site-nav a {
    text-align: center;
  }

  h1 {
    font-size: 2.15rem;
    max-width: none;
    line-height: 1.08;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
    max-width: none;
  }

  .hero-text {
    font-size: 1rem;
  }
}
