:root {
  --page-gutter: clamp(1.5rem, 6vw, 6rem);
  --page-max: 90rem;
  --bg: #101412;
  --bg-dark: #0b0e0d;
  --surface: rgba(18, 24, 21, 0.7);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --border-warm: rgba(198, 169, 107, 0.3);
  --text: #f5f5f4;
  --muted: #d6d3d1;
  --soft: #a8a29e;
  --gold: #e1bf78;
  --gold-strong: #d8b36a;
  --green: #0d6b50;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.mobile-break {
  display: none;
}

.mobile-label {
  display: none;
}

.desktop-label {
  white-space: nowrap;
}

main {
  min-height: 100vh;
  overflow: hidden;
}

.page-container,
.hero-layout {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.hero-section {
  position: relative;
  min-height: min(100svh, 56rem);
  padding: 11rem 0 5rem;
  display: flex;
  align-items: center;
}

.hero-background,
.hero-grid-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  background:
    radial-gradient(circle at 20% 20%, rgba(182, 151, 86, 0.12), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(59, 130, 92, 0.12), transparent 32%),
    linear-gradient(135deg, #080b0a 0%, #101412 48%, #050706 100%);
}

.hero-grid-overlay {
  opacity: 0.05;
  background-image:
    linear-gradient(90deg, #fff 1px, transparent 1px),
    linear-gradient(#fff 1px, transparent 1px);
  background-size: 42px 42px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding-block: 1.5rem;
}

.site-header-inner {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: calc(var(--page-max) - (var(--page-gutter) * 2));
  margin-inline: auto;
  display: grid;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.site-logo {
  width: auto;
  height: 5rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-nav a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: start;
}

.hero-copy,
.hero-message,
.hero-showcase,
.hero-showcase-shell,
.hero-showcase-inner,
.hero-showcase-content {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 52rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 200;
  line-height: 1.08;
}

.hero-intro {
  max-width: 48rem;
  margin: 4rem 0 4.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.hero-feature-grid,
.service-grid,
.portfolio-grid,
.hero-showcase-features,
.about-grid,
.stats-grid,
.testimonials,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.service-card,
.mini-card,
.about-card,
.stats-grid article,
.contact-card {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover,
.service-card:hover,
.portfolio-card:hover,
.mini-card:hover {
  border-color: var(--border-warm);
  background: rgba(255, 255, 255, 0.06);
}

.feature-card {
  border-radius: 1rem;
  padding: 1.25rem;
}

.feature-card h2,
.feature-card p,
.mini-card h3,
.mini-card p,
.service-card h3,
.service-card p {
  margin: 0;
}

.feature-card h2 {
  margin-top: 1rem;
  color: #fff;
  font-size: 1rem;
}

.feature-card p {
  margin-top: 0.5rem;
  color: var(--soft);
  font-size: 0.875rem;
  line-height: 1.7;
}

.icon {
  display: inline-block;
  width: 1.65rem;
  height: 1.65rem;
  color: var(--gold);
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.icon-check {
  color: #6ee7b7;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}

.icon-layers {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2 2 7l10 5 10-5-10-5Z'/%3E%3Cpath d='m2 17 10 5 10-5'/%3E%3Cpath d='m2 12 10 5 10-5'/%3E%3C/svg%3E");
}

.icon-code {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 18 6-6-6-6'/%3E%3Cpath d='m8 6-6 6 6 6'/%3E%3Cpath d='m14 4-4 16'/%3E%3C/svg%3E");
}

.icon-palette {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13.5' cy='6.5' r='.5'/%3E%3Ccircle cx='17.5' cy='10.5' r='.5'/%3E%3Ccircle cx='8.5' cy='7.5' r='.5'/%3E%3Ccircle cx='6.5' cy='12.5' r='.5'/%3E%3Cpath d='M12 2C6.5 2 2 6 2 11c0 4.4 3.6 8 8 8h1.5a2.5 2.5 0 0 0 0-5H11a2 2 0 0 1 0-4h1c5.5 0 10-1.8 10-4 0-2-4.5-4-10-4Z'/%3E%3C/svg%3E");
}

.icon-server {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='8' rx='2'/%3E%3Crect x='2' y='13' width='20' height='8' rx='2'/%3E%3Cpath d='M6 7h.01M6 17h.01'/%3E%3C/svg%3E");
}

.icon-mail {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a2 2 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}

.hero-showcase-shell {
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.hero-showcase-inner {
  border-radius: 1.5rem;
  background: #151b18;
  padding: 1.5rem;
}

.showcase-rule {
  width: 4rem;
  height: 1px;
  background: var(--border);
}

.custom-built-panel {
  margin-top: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.72), #000);
  padding: 1.75rem;
}

.custom-built-panel p {
  margin: 0 0 0.75rem;
  color: #fde68a;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.custom-built-panel h2 {
  margin: 0;
  color: #e7e5e4;
  font-size: clamp(1.65rem, 2vw, 1.875rem);
  font-weight: 200;
  line-height: 1.2;
}

.custom-built-panel span,
.portfolio-content span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

.custom-built-panel span {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.hero-showcase-features {
  margin-top: 1rem;
}

.mini-card,
.service-card {
  border-radius: 1rem;
  padding: 1.25rem;
}

.mini-card h3 {
  color: #fff;
  font-size: 1rem;
}

.mini-card p {
  margin-top: 0.5rem;
  color: var(--soft);
  font-size: 0.875rem;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(90deg, var(--gold-strong), #f0cf79);
  color: #08100d;
  box-shadow: 0 20px 35px rgba(69, 26, 3, 0.3);
}

.button-primary:hover {
  filter: brightness(1.1);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.75rem;
  z-index: 10;
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  align-items: center;
  color: rgba(225, 191, 120, 0.72);
  transform: translateX(-50%);
  animation: hero-scroll-cue 2.4s ease-in-out infinite;
}

.hero-scroll-cue span {
  width: 0.85rem;
  height: 0.85rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.hero-scroll-cue span + span {
  margin-top: -0.3rem;
}

@keyframes hero-scroll-cue {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.55;
  }

  50% {
    transform: translate(-50%, 0.45rem);
    opacity: 1;
  }
}

.section {
  padding-block: 3.5rem;
}

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

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

.section-intro.wide {
  max-width: 64rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--gold-strong);
}

.section-intro h2,
.section-title {
  max-width: 64rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
}

.section-intro p,
.large-copy {
  max-width: 52rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.service-grid {
  margin-top: 3rem;
}

.service-card {
  background: var(--surface);
  padding: 1.5rem;
}

.service-card h3 {
  margin-top: 1.5rem;
  color: #fff;
  font-size: 1.25rem;
}

.service-card p {
  margin-top: 0.75rem;
  color: var(--soft);
  line-height: 1.75;
}

.portfolio-grid {
  margin-top: 3rem;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-2px);
}

.portfolio-image {
  height: 12rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 1.75rem;
}

.portfolio-content p {
  margin: 0;
  color: #fde68a;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portfolio-content h3 {
  margin: 1rem 0 1.25rem;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1.15;
}

.about-grid {
  margin-top: 3rem;
}

.about-card {
  border-radius: 2rem;
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.about-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.85rem;
  font-weight: 300;
}

.about-card p {
  margin: 1.5rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.stats-grid article {
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.5rem;
}

.stats-grid strong {
  display: block;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 300;
}

.stats-grid span {
  display: block;
  margin-top: 0.5rem;
  color: var(--soft);
}

.testimonials {
  width: 100%;
  margin-top: 2rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(184, 155, 94, 0.25);
  border-left: 6px solid #b89b5e;
  border-radius: 0.875rem;
  background: rgba(18, 24, 21, 0.7);
  padding: 1rem 1.15rem;
}

.testimonial p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  line-height: 1.5;
}

.testimonial span {
  display: block;
  margin-top: auto;
  padding-top: 0.55rem;
  color: #d8bf86;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-section {
  background: linear-gradient(180deg, #07100d 0%, #0b0e0d 20%, #0b0e0d 100%);
}

.contact-card {
  border-radius: 2rem;
  background: var(--surface);
  padding: 2rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.button-contact {
  margin-top: 2rem;
  background: var(--green);
  color: #fff;
  box-shadow: 0 25px 50px rgba(6, 78, 59, 0.4);
}

.button-contact:hover {
  background: #11785a;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-showcase-features,
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hero-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .site-header-inner {
    grid-template-columns: minmax(38rem, 1.15fr) minmax(24rem, 0.85fr);
  }

  .site-logo {
    height: 7.5rem;
  }

  .site-nav {
    justify-self: end;
    margin-right: 1.5rem;
    gap: 1.75rem;
  }

  .hero-layout {
    grid-template-columns: minmax(38rem, 1.15fr) minmax(24rem, 0.85fr);
    align-items: stretch;
  }

  .hero-copy,
  .hero-showcase,
  .hero-showcase-shell,
  .hero-showcase-inner,
  .hero-showcase-content {
    display: flex;
    flex-direction: column;
  }

  .hero-feature-grid {
    margin-top: auto;
  }

  .hero-showcase-shell,
  .hero-showcase-inner,
  .hero-showcase-content {
    flex: 1;
  }

  .hero-showcase-content {
    justify-content: space-between;
  }

  .custom-built-panel h2 {
    font-size: 1.55rem;
  }

  .hero-showcase-features {
    flex: 1;
    align-items: stretch;
  }

  .mini-card {
    min-height: 0;
  }

  .hero-actions {
    grid-column: 1;
    margin-top: -1rem;
  }

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

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

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

  .about-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 0.75fr;
    align-items: center;
    gap: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-layout {
    gap: 4rem;
  }

  .custom-built-panel h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 960px) {
  .hero-section {
    padding: 9.45rem 0 3rem;
    align-items: start;
  }

  .site-header {
    padding-block: 1.35rem 1rem;
  }

  .site-header-inner {
    width: calc(100% - 2rem);
    overflow: hidden;
    justify-items: center;
    gap: 0.85rem;
    text-align: center;
    background: rgba(16, 20, 18, 0.28);
  }

  .logo-link {
    width: 100%;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
  }

  .site-logo {
    display: block;
    width: min(86%, 30rem);
    max-width: 100%;
    height: auto;
    margin-inline: auto;
  }

  .site-nav {
    width: 86%;
    justify-content: space-between;
    gap: 0;
    font-size: 0.9rem;
    overflow: hidden;
    transform: translateX(0.25rem);
  }

  .hero-layout {
    gap: 1.75rem;
  }

  .hero-message {
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-soft);
    padding: 1.15rem;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  }

  .hero-copy h1 {
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1.15;
  }

  .hero-intro {
    margin: 1.5rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-intro span {
    display: block;
  }

  .hero-intro span + span {
    margin-top: 0.8rem;
  }

  .hero-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.7rem;
    gap: 0.75rem;
  }

  .feature-card {
    padding: 0.85rem 0.7rem 0.85rem 1.22rem;
  }

  .feature-card h2 {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .feature-card p {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .hero-showcase-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .hero-showcase-shell {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-showcase-inner {
    background: transparent;
    padding: 0;
  }

  .custom-built-panel {
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-soft);
    padding: 1.1rem;
  }

  .custom-built-panel h2 {
    font-size: 1.55rem;
  }

  .button {
    width: 100%;
    min-width: 0;
    padding: 0.72rem 1.15rem;
    font-size: 0.9rem;
  }

  .button span[aria-hidden="true"] {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .button-secondary {
    border-color: rgba(225, 191, 120, 0.35);
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
  }

  .button-contact {
    width: auto;
    min-width: 0;
    margin-top: 1.25rem;
    padding: 0.72rem 1.15rem;
    background: linear-gradient(90deg, var(--gold-strong), #f0cf79);
    color: #08100d;
    box-shadow: 0 18px 32px rgba(69, 26, 3, 0.26);
  }

  .button-contact:hover {
    background: linear-gradient(90deg, var(--gold-strong), #f0cf79);
  }

  .hero-scroll-cue {
    display: none;
  }

  .section {
    padding-block: 1.35rem;
  }

  .section-dark {
    padding-top: 1.2rem;
  }

  #services {
    padding-top: 1.45rem;
    padding-bottom: 0.9rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.15rem;
    gap: 0.75rem;
  }

  .service-card h3 {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.2;
  }

  .service-card p {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .portfolio-grid,
  .about-grid {
    margin-top: 1rem;
  }

  .section-intro p,
  .large-copy {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .section-intro h2,
  .section-title {
    font-size: 1.85rem;
    line-height: 1.18;
  }

  .service-card {
    padding: 1.25rem;
  }

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

  .portfolio-content {
    display: contents;
  }

  .portfolio-content h3 {
    order: 1;
    margin: 0;
    padding: 1.35rem 1.35rem 0;
  }

  .portfolio-content p {
    order: 2;
    padding: 0.8rem 1.35rem 0;
  }

  .portfolio-image {
    order: 3;
    width: calc(100% - 2.7rem);
    height: 9rem;
    margin: 1rem 1.35rem 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.85rem;
  }

  .portfolio-content span {
    order: 4;
    padding: 0.75rem 1.35rem 1.35rem;
    line-height: 1.45;
  }

  .contact-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .about-grid,
  .stats-grid,
  .testimonials,
  .contact-grid {
    gap: 0.95rem;
  }

  .about-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .about-card h3 {
    font-size: 1.55rem;
    line-height: 1.18;
  }

  .mobile-break {
    display: block;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .about-card p {
    margin-top: 1rem;
    line-height: 1.6;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .stats-grid article {
    min-width: 0;
    border-radius: 0.85rem;
    padding: 0.85rem 0.55rem;
    text-align: center;
  }

  .stats-grid strong {
    font-size: 1.65rem;
    line-height: 1;
  }

  .stats-grid span {
    margin-top: 0.4rem;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .testimonials {
    margin-top: 1rem;
  }

  .eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .hero-section {
    padding-top: 12.5rem;
  }

  .site-logo,
  .site-nav {
    width: min(72%, 27rem);
  }

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

  .feature-card {
    padding: 1rem;
  }

  .feature-card h2 {
    font-size: 0.95rem;
  }

  .feature-card p {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

@media (min-width: 961px) and (max-width: 1023px) {
  .hero-section {
    padding-top: 11.5rem;
  }

  .site-logo,
  .site-nav {
    width: min(70%, 31rem);
  }

  .site-nav {
    transform: none;
  }
}

@media (min-width: 513px) and (max-width: 771px) {
  .hero-section {
    padding-top: 10.75rem;
  }

  .site-logo,
  .site-nav {
    width: min(74%, 25rem);
  }

  .hero-copy h1 {
    font-size: 1.55rem;
  }

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

  .feature-card {
    padding: 1rem 1.15rem;
  }

  .feature-card h2 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
