/* Update these variables first when adapting the site for a new customer. */
:root {
  --color-bg: #090b0a;
  --color-bg-soft: #101412;
  --color-panel: #161b18;
  --color-panel-strong: #0f1211;
  --color-surface: #f7f4ed;
  --color-surface-strong: #ebe5d8;
  --color-card: #ffffff;
  --color-border: rgba(211, 178, 95, 0.2);
  --color-text: #f6f3ec;
  --color-muted: #b9b8af;
  --color-dark-text: #171816;
  --color-dark-muted: #5f655e;
  --color-accent: #d3b25f;
  --color-accent-strong: #ead287;
  --color-accent-deep: #8b743d;
  --color-green: #355b45;
  --color-white: #ffffff;
  --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.14);
  --shadow-hard: 0 26px 64px rgba(0, 0, 0, 0.28);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --shell: min(1180px, calc(100% - 1.5rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #080a09 0%, #0e1110 46%, #111713 100%);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 28%, rgba(255, 255, 255, 0.018));
  z-index: -1;
}

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

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

p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  line-height: 1.06;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.1rem);
}

h2 {
  font-size: clamp(2.1rem, 5.3vw, 3.8rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}

p {
  text-wrap: pretty;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.hero-grid > *,
.about-grid > *,
.areas-grid > *,
.contact-grid > *,
.cta-band-inner > *,
.footer-grid > *,
.featured-work-grid > *,
.story-block > *,
.story-grid > *,
.capability-grid > *,
.service-grid > *,
.review-grid > *,
.credibility-grid > * {
  min-width: 0;
}

main section[id] {
  scroll-margin-top: 5.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--color-accent);
  color: var(--color-dark-text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 10, 9, 0.94);
  border-bottom: 1px solid rgba(211, 178, 95, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.8rem;
  padding: 0.55rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: clamp(3.1rem, 8vw, 3.9rem);
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand-copy small {
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.7);
}

.nav-toggle {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  gap: 0.18rem;
  padding: 0;
  border: 1px solid rgba(211, 178, 95, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.15rem;
  height: 2px;
  background: var(--color-accent-strong);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  top: calc(100% + 0.45rem);
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid rgba(211, 178, 95, 0.16);
  border-radius: 8px;
  background: rgba(20, 25, 27, 0.98);
  box-shadow: var(--shadow-soft);
}

.site-nav a {
  padding: 0.85rem 0.95rem;
  border-radius: 6px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(211, 178, 95, 0.12);
  outline: none;
}

body.nav-open .site-nav {
  display: flex;
}

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

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

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

.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-small {
  min-height: 2.95rem;
  padding-inline: 1.1rem;
}

.nav-call {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  line-height: 1;
  white-space: nowrap;
}

.site-nav .nav-call {
  padding: 0.55rem 0.85rem;
}

.button-large {
  min-height: 3.6rem;
  padding-inline: 1.6rem;
}

.button-solid {
  color: var(--color-dark-text);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  box-shadow: 0 14px 28px rgba(211, 178, 95, 0.16);
}

.button-solid::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 40%;
  transform: skewX(-18deg);
  background: rgba(255, 255, 255, 0.34);
  animation: cta-shine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.button-ghost,
.button-outline {
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.button-outline-dark {
  color: var(--color-dark-text);
  border-color: rgba(22, 21, 19, 0.14);
  background: rgba(255, 255, 255, 0.8);
}

.eyebrow,
.card-kicker {
  margin-bottom: 0.7rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section-light {
  color: var(--color-dark-text);
  background: linear-gradient(180deg, #f7f4ed 0%, #ece6da 100%);
}

.section-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
}

.section-heading-left {
  margin-bottom: 1.25rem;
}

.section-heading p:last-child {
  color: inherit;
  opacity: 0.82;
}

.hero {
  padding: clamp(2.4rem, 4vw, 3.7rem) 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-copy {
  display: grid;
  align-content: start;
}

.hero-text {
  max-width: 43rem;
  color: var(--color-muted);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.55rem 0 1.2rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(211, 178, 95, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(243, 239, 230, 0.92);
  font-weight: 700;
}

.hero-card {
  display: grid;
  gap: 0.9rem;
  padding: 0.8rem;
  border: 1px solid rgba(211, 178, 95, 0.18);
  border-radius: var(--radius-lg);
  background: var(--color-panel-strong);
  box-shadow: var(--shadow-hard);
}

.hero-media {
  position: relative;
  aspect-ratio: 2 / 1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #0b0e0d;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: photo-drift 14s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.76) 100%);
  pointer-events: none;
}

.hero-media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
}

.hero-media figcaption span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.hero-media figcaption strong {
  max-width: 26rem;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  line-height: 1.12;
}

.hero-card-logo {
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: linear-gradient(180deg, #0c1011 0%, #171c1f 100%);
  border: 1px solid rgba(211, 178, 95, 0.16);
}

.hero-card-logo img {
  width: min(100%, 18rem);
}

.hero-card-copy {
  padding: 0 0.35rem;
}

.hero-card-copy h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.hero-card-copy p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
}

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

.hero-card-stats article {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(211, 178, 95, 0.14);
}

.hero-card-stats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.hero-card-stats p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.credibility-strip {
  padding: 0 0 1rem;
}

.credibility-grid {
  display: grid;
  gap: 0.85rem;
}

.credibility-grid article {
  padding: 1.15rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(211, 178, 95, 0.12);
}

.credibility-grid strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-accent-strong);
  font-size: 1rem;
}

.credibility-grid p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.featured-work-grid,
.story-grid,
.service-grid,
.review-grid {
  display: grid;
  gap: 1rem;
}

.work-card,
.story-card,
.service-card,
.review-card,
.reason-card,
.area-card,
.contact-card,
.capability-copy,
.capability-card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.work-card:hover,
.story-card:hover,
.service-card:hover,
.review-card:hover,
.reason-card:hover,
.area-card:hover,
.contact-card:hover,
.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}

.work-card,
.story-card,
.capability-card {
  overflow: hidden;
  background: rgba(16, 20, 22, 0.08);
}

.work-card img,
.story-card img,
.capability-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card {
  display: grid;
  min-height: 23rem;
  border: 1px solid rgba(22, 21, 19, 0.08);
  background: var(--color-card);
}

.work-card figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1rem 1.1rem;
}

.work-card figcaption span {
  color: var(--color-dark-muted);
}

.story-block {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.1rem;
}

.story-copy {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #171d20 0%, #101416 100%);
  color: var(--color-text);
  box-shadow: var(--shadow-hard);
}

.story-copy p:last-of-type {
  color: var(--color-muted);
}

.story-card {
  position: relative;
  min-height: 16rem;
  border: 1px solid rgba(22, 21, 19, 0.08);
}

.story-card figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.42rem 0.75rem;
  border-radius: 4px;
  background: rgba(15, 18, 20, 0.86);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.capability-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.capability-card {
  min-height: 18rem;
  border: 1px solid rgba(22, 21, 19, 0.08);
}

.capability-copy {
  padding: 1.4rem;
  background: var(--color-card);
  border: 1px solid rgba(22, 21, 19, 0.08);
}

.check-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.check-list li + li {
  margin-top: 0.5rem;
}

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

.service-card {
  padding: 1.25rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
    var(--color-panel);
  border: 1px solid rgba(211, 178, 95, 0.12);
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.inline-cta,
.review-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.inline-cta {
  margin-top: 1.5rem;
}

.inline-cta p {
  margin-bottom: 0;
  font-size: 1.03rem;
  font-weight: 700;
}

.about-grid,
.areas-grid,
.contact-grid,
.cta-band-inner,
.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.reason-stack {
  display: grid;
  gap: 0.95rem;
}

.reason-card {
  padding: 1.15rem 1.1rem;
  background: var(--color-card);
  border: 1px solid rgba(22, 21, 19, 0.08);
}

.reason-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.reason-card p {
  margin-bottom: 0;
  color: var(--color-dark-muted);
}

.review-card {
  padding: 1.25rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
    var(--color-panel);
  border: 1px solid rgba(211, 178, 95, 0.12);
}

.review-label {
  margin-bottom: 0.55rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.review-card p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
}

.review-actions {
  margin-top: 1.35rem;
}

.area-card,
.contact-card {
  padding: 1.25rem 1.15rem;
  background: var(--color-card);
  border: 1px solid rgba(22, 21, 19, 0.08);
}

.area-list {
  margin: 0;
  padding-left: 1.1rem;
}

.area-list li + li {
  margin-top: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid rgba(211, 178, 95, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1rem;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--color-muted);
}

.faq-item a {
  color: var(--color-accent-strong);
}

.cta-band {
  background: linear-gradient(180deg, #0d1110 0%, #131916 100%);
}

.cta-band-inner {
  align-items: center;
}

.cta-band p:last-child {
  color: var(--color-muted);
  margin-bottom: 0;
}

.contact-grid {
  align-items: start;
}

.contact-actions {
  margin-top: 1.4rem;
}

.contact-row + .contact-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 21, 19, 0.08);
}

.contact-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-dark-muted);
}

.contact-row p,
.contact-row a {
  margin-bottom: 0;
}

.site-footer {
  padding: 1.75rem 0 7rem;
  border-top: 1px solid rgba(211, 178, 95, 0.12);
}

.footer-grid {
  align-items: start;
}

.footer-grid p {
  color: var(--color-muted);
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a {
  color: rgba(243, 239, 230, 0.9);
}

.footer-call {
  display: grid;
  gap: 0.8rem;
}

.footer-call p {
  margin-bottom: 0;
}

.mobile-callbar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.55rem;
  border: 1px solid rgba(211, 178, 95, 0.18);
  border-radius: 10px;
  background: rgba(8, 10, 9, 0.88);
  color: var(--color-text);
  font-weight: 900;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  animation: callbar-pulse 3.8s ease-in-out infinite;
}

.mobile-callbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 8px;
  text-align: center;
}

.mobile-callbar a:first-child {
  color: var(--color-dark-text);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
}

.mobile-callbar a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

body.has-loaded .hero-copy {
  animation: intro-rise 0.8s ease both;
}

body.has-loaded .hero-card {
  animation: intro-pop 0.85s 0.12s ease both;
}

body.has-loaded .hero-notes span {
  animation: chip-pop 0.5s ease both;
}

body.has-loaded .hero-notes span:nth-child(2) {
  animation-delay: 0.08s;
}

body.has-loaded .hero-notes span:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chip-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cta-shine {
  0%,
  52% {
    left: -55%;
  }
  66%,
  100% {
    left: 130%;
  }
}

@keyframes photo-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.055) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes callbar-pulse {
  0%,
  100% {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  }
  50% {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26), 0 0 0 7px rgba(211, 178, 95, 0.12);
  }
}

@media (min-width: 640px) {
  .featured-work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .capability-card-large,
  .capability-copy {
    grid-column: span 2;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 1.2rem;
  }
}

@media (min-width: 820px) {
  body {
    padding-bottom: 0;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.75rem 0.9rem;
  }

  .site-nav .nav-call {
    margin-left: 0.45rem;
    padding: 0.55rem 0.85rem;
  }

  .hero-grid,
  .about-grid,
  .areas-grid,
  .contact-grid,
  .cta-band-inner,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    align-items: center;
  }

  .hero-card {
    margin-left: auto;
    max-width: 34rem;
  }

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

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

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

  .capability-grid {
    grid-template-columns: 1.1fr 0.9fr 0.8fr;
    align-items: stretch;
  }

  .capability-card-large,
  .capability-copy {
    grid-column: auto;
  }

  .capability-card-large {
    min-height: 26rem;
  }

  .capability-copy {
    display: grid;
    align-content: center;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
  }

  .mobile-callbar {
    display: none;
  }
}

@media (min-width: 980px) {
  .story-block {
    grid-template-columns: 0.95fr 1.25fr;
    align-items: stretch;
  }

  .story-copy {
    padding: 1.7rem;
  }

  .featured-work-grid {
    gap: 1.1rem;
  }

  .work-card {
    min-height: 25rem;
  }
}

@media (max-width: 819px) {
  html {
    scroll-padding-top: 5rem;
  }

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

  .brand-copy small {
    font-size: 0.67rem;
  }

  .button,
  .hero-actions .button,
  .contact-actions .button,
  .review-actions .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions,
  .review-actions,
  .inline-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    flex-direction: row;
    gap: 0.55rem;
    margin: 1.2rem 0 0.85rem;
  }

  .hero {
    padding-bottom: 1rem;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-media {
    aspect-ratio: 2.4 / 1;
  }

  .hero-media figcaption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .hero-media figcaption strong {
    font-size: 1rem;
  }

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

  .hero-actions .button {
    flex: 1 1 0;
    width: auto;
    min-height: 3rem;
    padding-inline: 0.7rem;
    font-size: 0.9rem;
  }

  .hero-notes span:nth-child(3),
  .hero-card-copy,
  .hero-card-stats {
    display: none;
  }

  .hero-card {
    gap: 0;
  }

  .site-nav {
    transform-origin: top center;
    animation: menu-drop 0.24s ease both;
  }

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

  .hero-notes span {
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.45rem 0.6rem;
    text-align: center;
    font-size: 0.86rem;
  }

  .credibility-strip {
    padding: 0.2rem 0 0.65rem;
    overflow: hidden;
  }

  .credibility-grid,
  .featured-work-grid,
  .story-grid {
    display: flex;
    gap: 0.75rem;
    margin-inline: calc((100vw - 100%) / -2);
    padding-inline: max(0.75rem, calc((100vw - var(--shell)) / 2));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .credibility-grid::-webkit-scrollbar,
  .featured-work-grid::-webkit-scrollbar,
  .story-grid::-webkit-scrollbar {
    display: none;
  }

  .credibility-grid article {
    flex: 0 0 min(78vw, 18rem);
    scroll-snap-align: start;
  }

  .work-card,
  .story-card {
    flex: 0 0 min(82vw, 20rem);
    min-height: 0;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }

  .story-card {
    aspect-ratio: 5 / 4;
  }

  .work-card:active,
  .story-card:active,
  .service-card:active,
  .reason-card:active,
  .review-card:active {
    transform: scale(0.985);
  }

  .section {
    padding-block: 3.25rem;
  }

  .section-heading {
    margin-bottom: 1.35rem;
  }

  .service-grid,
  .review-grid,
  .reason-stack,
  .faq-list {
    gap: 0.75rem;
  }

  .service-card,
  .review-card,
  .reason-card,
  .area-card,
  .contact-card {
    padding: 1.05rem;
  }

  .section,
  .hero {
    padding-left: 0;
    padding-right: 0;
  }
}

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
