:root {
  color-scheme: dark;
  --black: #050403;
  --panel: rgba(14, 12, 10, 0.86);
  --panel-strong: rgba(20, 16, 13, 0.94);
  --panel-soft: rgba(28, 21, 16, 0.72);
  --cream: #f3efe6;
  --muted: #c7beb0;
  --muted-strong: #ddd4c3;
  --gold: #caa762;
  --gold-bright: #f2d48a;
  --gold-dark: #86612c;
  --red: #9b0712;
  --red-bright: #cf1724;
  --line: rgba(213, 174, 94, 0.22);
  --line-strong: rgba(236, 200, 123, 0.46);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --radius: 26px;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--black);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.84)),
    url("/assets/desktop-circuit-bg.webp");
  background-position: center center;
  background-repeat: no-repeat;
  /* Keep the full landscape circuit board visible on desktop. */
  background-size: 100% auto;
  filter: saturate(1.04) contrast(1.1) brightness(0.78);
  transform: translateZ(0);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 12%, rgba(210, 42, 38, 0.13), transparent 34%),
    radial-gradient(circle at 84% 82%, rgba(200, 161, 91, 0.13), transparent 35%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 92px 92px, 92px 92px;
  mix-blend-mode: screen;
}

@media (max-width: 720px) {
  body::before {
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.82)),
      url("/mobile-circuit-bg.webp");
    background-size: cover;
  }
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 3;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 999px;
  color: #130f09;
  background: var(--gold-bright);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-bright), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(239, 207, 141, 0.14);
  background: rgba(4, 4, 3, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(226, 187, 104, 0.24);
}

.logo .gold {
  color: #e4c176;
}

.logo .four {
  color: var(--red-bright);
}

.header-cta {
  margin-left: auto;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-menu a:not(.button) {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a[aria-current="page"] {
  color: var(--gold-bright);
}

.menu-toggle,
.menu-close,
.menu-backdrop,
.menu-head {
  display: none;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-gold {
  border-color: rgba(250, 218, 145, 0.78);
  color: #130f09;
  background: linear-gradient(135deg, #f6d989, #c79b4e 48%, #f4d994);
  box-shadow: 0 18px 38px rgba(207, 163, 79, 0.2);
}

.button-gold:hover,
.button-gold:focus-visible {
  box-shadow: 0 24px 52px rgba(207, 163, 79, 0.3);
}

.button-dark {
  color: var(--gold-bright);
  background: rgba(8, 7, 5, 0.58);
}

.button-dark:hover,
.button-dark:focus-visible {
  border-color: var(--gold-bright);
  color: var(--cream);
}

.button-small {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 0.74rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold-bright);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cream);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: clamp(0.78rem, 1.9vw, 0.9rem);
  font-weight: 950;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  flex: 0 0 auto;
  content: "";
  background: linear-gradient(90deg, var(--red-bright), var(--gold));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(4.1rem, 13vw, 9.4rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6.8vw, 5.3rem);
}

h3 {
  margin-bottom: 12px;
  color: var(--cream);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  line-height: 1.12;
}

h1 em,
h2 em,
h2 span {
  color: #b49a67;
  font-style: italic;
}

p {
  color: var(--muted-strong);
}

.hero {
  padding: clamp(76px, 9vw, 128px) 0 clamp(72px, 9vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  color: var(--cream);
  font-size: clamp(1.18rem, 2.1vw, 1.42rem);
  font-weight: 760;
  line-height: 1.55;
}

.hero-copy-block > p:not(.eyebrow):not(.hero-copy):not(.reassurance) {
  max-width: 720px;
  font-size: 1.05rem;
}

.hero-ai-red {
  position: relative;
  display: inline-block;
  color: var(--red-bright);
  text-shadow:
    0 0 2px rgba(246, 218, 152, 0.72),
    0 0 11px rgba(218, 172, 91, 0.36),
    0 0 24px rgba(154, 7, 18, 0.72);
}

.actions,
.cta-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.reassurance {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.beam-card,
.service-card,
.audience-card,
.process-item,
.detail-panel,
.testimonial-panel,
.portrait-card,
.result-card,
.contact-form,
.contact-card,
.pricing-note,
.values-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(203, 35, 34, 0.1), transparent 34%),
    linear-gradient(160deg, rgba(255, 232, 166, 0.08), rgba(8, 7, 5, 0.78) 45%, rgba(7, 6, 5, 0.92));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(24px, 4vw, 38px);
}

.hero-logo-image {
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  background: url("/ai4all-logo-cutout.webp") center / contain no-repeat;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.35));
}

.hero-card-line {
  width: 100%;
  height: 1px;
  margin: 0 0 24px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--red-bright), var(--gold), transparent);
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(4, 4, 3, 0.74);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding-block: clamp(26px, 5vw, 42px);
}

.proof-grid h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.proof-grid p {
  margin-bottom: 0;
}

.section-panel {
  padding: clamp(66px, 8vw, 112px) 0;
}

.section-panel.compact {
  padding-block: clamp(52px, 7vw, 86px);
}

.page-hero {
  padding: clamp(70px, 10vw, 136px) 0 clamp(54px, 7vw, 92px);
}

.page-hero p {
  max-width: 790px;
  font-size: clamp(1.06rem, 2.1vw, 1.25rem);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-head.center {
  display: block;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.section-intro {
  margin-bottom: 0;
  color: var(--muted);
}

.audience-grid,
.services-grid,
.process-grid,
.outcome-grid {
  display: grid;
  gap: 18px;
}

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

.audience-card,
.service-card,
.process-item {
  padding: 24px;
}

.audience-card.primary {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 18% 12%, rgba(198, 23, 32, 0.18), transparent 38%),
    linear-gradient(160deg, rgba(255, 232, 166, 0.12), rgba(8, 7, 5, 0.86));
}

.audience-card span,
.service-top span,
.process-item span,
.panel-number,
.result-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-outcome {
  margin-bottom: 0;
  color: var(--cream);
  font-weight: 800;
}

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

.outcome-item {
  min-height: 92px;
  padding: 22px;
  border: 1px solid rgba(236, 200, 123, 0.18);
  border-radius: 22px;
  color: var(--cream);
  background: rgba(10, 9, 7, 0.72);
  font-weight: 850;
}

.case-preview,
.about-preview,
.responsible-grid,
.contact-grid,
.text-grid,
.case-study-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.case-steps {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.case-steps article,
.legal-copy,
.detail-columns,
.contact-lines {
  border: 1px solid rgba(236, 200, 123, 0.14);
  border-radius: 20px;
  background: rgba(6, 5, 4, 0.52);
}

.case-steps article {
  padding: 18px;
}

.case-steps span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-steps p {
  margin-bottom: 0;
}

.testimonial-panel {
  margin: 0;
  padding: clamp(24px, 4vw, 34px);
}

.testimonial-panel blockquote {
  margin: 0;
}

.testimonial-panel p {
  color: var(--cream);
  font-size: 1.05rem;
}

.testimonial-panel figcaption {
  margin-top: 22px;
  color: var(--gold-bright);
  font-weight: 900;
}

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

.services-grid.preview {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.service-card.featured {
  grid-column: span 2;
  border-color: var(--gold-bright);
}

.service-top {
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.service-top strong {
  color: var(--cream);
  font-size: 0.84rem;
  text-align: right;
}

.service-card .text-link {
  margin-top: auto;
}

.tick-list,
.detail-panel ul {
  padding-left: 1.1rem;
  margin: 0 0 22px;
  color: var(--muted-strong);
}

.tick-list li,
.detail-panel li {
  margin-bottom: 8px;
}

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

.process-item {
  background:
    linear-gradient(135deg, rgba(154, 7, 18, 0.12), transparent 38%),
    rgba(7, 6, 5, 0.76);
}

.portrait-card {
  align-self: start;
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.portrait-card figcaption {
  padding: 18px 20px 22px;
}

.portrait-card strong,
.portrait-card span {
  display: block;
}

.portrait-card strong {
  color: var(--gold-bright);
  font-size: 1.15rem;
}

.portrait-card span {
  color: var(--muted);
}

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

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list.preview {
  max-width: 900px;
}

.faq-item {
  border: 1px solid rgba(236, 200, 123, 0.18);
  border-radius: 20px;
  background: rgba(6, 5, 4, 0.68);
}

.faq-item summary {
  min-height: 56px;
  padding: 18px 22px;
  color: var(--cream);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

.faq-item summary::after {
  float: right;
  color: var(--gold-bright);
  content: "+";
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 22px 22px;
  margin-bottom: 0;
}

.detail-panel {
  padding: clamp(24px, 4vw, 36px);
}

.detail-panel.primary {
  border-color: var(--line-strong);
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px;
  margin: 22px 0;
}

.notice {
  padding: 14px 16px;
  border-left: 3px solid var(--red-bright);
  border-radius: 12px;
  color: var(--cream);
  background: rgba(154, 7, 18, 0.13);
}

.pricing-note {
  margin-top: 22px;
  padding: 26px;
}

.case-study-grid {
  align-items: start;
}

.result-card {
  position: sticky;
  top: 110px;
  padding: clamp(24px, 4vw, 36px);
}

.result-card strong {
  display: block;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.9;
}

.case-body {
  display: grid;
  gap: 24px;
}

.case-body article,
.legal-copy,
.values-panel {
  padding: clamp(24px, 4vw, 34px);
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value {
  padding: 10px 14px;
  border: 1px solid rgba(236, 200, 123, 0.18);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(6, 5, 4, 0.62);
  font-weight: 900;
}

.legal-copy {
  max-width: 920px;
}

.legal-copy h2 {
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 1.35rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

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

.contact-card,
.contact-form {
  padding: clamp(24px, 4vw, 34px);
}

.contact-lines {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin-top: 24px;
}

.contact-lines a {
  color: var(--gold-bright);
  font-weight: 850;
}

.footer-small {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--cream);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(236, 200, 123, 0.24);
  border-radius: 14px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.54);
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted-strong);
  font-weight: 600;
}

.checkbox-row input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 5px;
}

.hp-field {
  position: absolute;
  left: -10000px;
}

.form-status {
  min-height: 24px;
  color: var(--gold-bright);
  font-weight: 850;
}

.form-status.error {
  color: #ff8a92;
}

.form-status.success {
  color: var(--gold-bright);
}

.final-cta {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 20%, rgba(154, 7, 18, 0.23), transparent 32%),
    rgba(5, 4, 3, 0.82);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 4, 3, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(140px, 0.6fr));
  gap: 30px;
  padding: clamp(42px, 7vw, 70px) 0 30px;
}

.footer-brand p {
  max-width: 420px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links h2 {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(236, 200, 123, 0.12);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 901px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 1120px) {
  .audience-grid,
  .services-grid.preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 30px, var(--max));
  }

  .nav {
    min-height: 72px;
  }

  .site-menu {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    width: auto;
    height: 100dvh;
    align-content: start;
    gap: 0;
    padding: 22px 22px 22px max(22px, calc(100% - 360px + 22px));
    border-left: 1px solid var(--line-strong);
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(7, 6, 5, 0.98) 34%),
      rgba(7, 6, 5, 0.98);
    box-shadow: -30px 0 70px rgba(0, 0, 0, 0.46);
    opacity: 0;
    pointer-events: none;
    transform: translateX(0);
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 220ms ease,
      visibility 220ms ease;
  }

  .site-menu a:not(.button) {
    display: flex;
    min-height: 50px;
    align-items: center;
    border-bottom: 1px solid rgba(236, 200, 123, 0.12);
    font-size: 0.9rem;
  }

  .site-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }

  .menu-title {
    color: var(--gold-bright);
    font-weight: 950;
  }

  .menu-close,
  .menu-toggle {
    min-height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--gold-bright);
    background: rgba(10, 8, 6, 0.78);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    margin-left: 0;
  }

  .menu-close {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
  }

  .menu-lines {
    display: grid;
    gap: 4px;
  }

  .menu-lines span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 125;
    display: block;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    transition: background 220ms ease;
  }

  body.menu-open .menu-backdrop {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.62);
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-grid,
  .proof-grid,
  .section-head,
  .case-preview,
  .about-preview,
  .responsible-grid,
  .contact-grid,
  .text-grid,
  .case-study-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(4.4rem, 17vw, 7.2rem);
  }

  h2 {
    font-size: clamp(2.6rem, 11vw, 4.3rem);
  }

  .outcome-grid,
  .process-grid,
  .detail-columns,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    position: static;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    background: rgba(4, 4, 3, 0.96);
  }

  .logo {
    font-size: 1.36rem;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle > span:last-child {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .page-hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(4.05rem, 18vw, 5.8rem);
  }

  .hero h1 {
    max-width: 360px;
  }

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

  .actions .button,
  .cta-actions .button,
  .contact-card .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-card {
    padding: 20px;
  }

  .service-card.featured {
    grid-column: auto;
  }

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

  .section-panel {
    padding-block: 56px;
  }

  .section-panel.compact {
    padding-block: 46px;
  }
}

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