:root {
  --red: #ff032e;
  --red-deep: #ea062d;
  --ink: #36363a;
  --ink-90: #48474d;
  --ink-80: #7f7e86;
  --ink-60: #bababf;
  --muted: #f6f6f9;
  --line: #e4e4e7;
  --white: #fff;
  --radius: 24px;
  --container: 1280px;
  --wide: 1520px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

h1,
h2 {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1.17;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  color: var(--ink-90);
  font-size: 36px;
}

h2 em {
  color: var(--red);
  font-style: normal;
}

h3 {
  font-size: 20px;
  line-height: 1.18;
}

.container,
.wide-container {
  width: calc(100% - 40px);
  margin-inline: auto;
}

.container {
  max-width: var(--container);
}

.wide-container {
  max-width: var(--wide);
}

.section {
  padding: 120px 0;
}

.section-muted {
  background: var(--muted);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}

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

.primary-button,
.red-button,
.dark-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  line-height: 1.5;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.primary-button:active,
.red-button:active,
.dark-button:active,
.secondary-button:active,
.slider-controls button:active,
.menu-button:active {
  transform: scale(.97);
}

.primary-button {
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--ink-90);
  color: var(--white);
}

.red-button {
  width: 100%;
  min-height: 64px;
  padding: 18px 24px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
}

.dark-button {
  min-height: 64px;
  padding: 18px 24px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
}

.secondary-button {
  margin-top: 64px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--muted);
  color: var(--red);
}

.secondary-button:hover {
  background: var(--red);
  color: var(--white);
}

.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--container), calc(100% - 40px));
  height: 104px;
  margin-inline: auto;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  width: 172px;
}

.brand img {
  width: 100%;
  height: 34px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-nav a,
.footer-nav nav a {
  position: relative;
  padding: 20px 24px;
  color: var(--ink-90);
}

.desktop-nav a::after,
.footer-nav nav a::after {
  position: absolute;
  right: 24px;
  bottom: 14px;
  left: 24px;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.desktop-nav a:hover::after,
.footer-nav nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-button {
  flex: 0 0 auto;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  transition: transform 160ms var(--ease-out);
}

.menu-button i,
.menu-button i::before {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms var(--ease-out);
}

.menu-button i::before {
  transform: translateY(7px);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 84px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 20px 34px;
  visibility: hidden;
  background: var(--white);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s 220ms;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(26px, 8vw, 42px);
  font-weight: 800;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.mobile-menu nav small {
  color: var(--ink-80);
  font-size: 12px;
}

.hero {
  min-height: 698px;
  padding-top: 0;
  background: var(--white);
}

.hero-card {
  position: relative;
  height: 468px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--red);
}

.hero-plane {
  position: absolute;
  top: 24px;
  right: 24px;
  width: min(47%, 672px);
  height: 672px;
  opacity: .52;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 120px;
  color: var(--white);
}

.hero-copy h1 {
  max-width: 1100px;
  margin: 0 0 20px;
  font-size: clamp(52px, 4.5vw, 72px);
  line-height: 1.17;
}

.hero-copy h1 span {
  display: block;
  color: var(--ink-90);
}

.hero-copy p {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.02em;
}

.story-row {
  position: relative;
  z-index: 4;
  display: flex;
  width: max-content;
  gap: 20px;
  margin: -58px 0 0 120px;
}

.story-card {
  position: relative;
  width: 194px;
  height: 194px;
  padding: 4px;
  border: 4px solid var(--red);
  border-radius: 22px;
  background: var(--white);
  transition: transform 300ms var(--ease-out);
}

.story-card:hover {
  transform: translateY(-8px);
}

.story-card.no-ring {
  border-color: transparent;
}

.story-card img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.services {
  padding-bottom: 0;
  overflow: hidden;
}

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

.services-heading,
.service-card {
  min-height: 304px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-80);
  font-size: 20px;
  font-weight: 700;
}

.eyebrow span {
  font-size: 28px;
}

.services-heading h2 {
  max-width: 413px;
}

.service-card,
.service-form {
  display: flex;
  min-height: 276px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
}

.service-card {
  justify-content: space-between;
  background: var(--white);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.service-card:hover {
  z-index: 2;
  box-shadow: 0 20px 50px rgba(54, 54, 58, .09);
  transform: translateY(-5px);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title img {
  width: 32px;
  height: 32px;
}

.card-title h3,
.service-form h3 {
  margin: 0;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.service-card li.muted {
  color: var(--ink-60);
}

.service-form {
  gap: 20px;
  background: var(--line);
}

.service-form input,
.alfa-footer-form input {
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 12px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  transition: box-shadow 160ms ease;
}

.service-form input:focus,
.alfa-footer-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 3, 46, .24);
}

.service-form small,
.alfa-footer-form small {
  font-size: 12px;
  line-height: 1.2;
}

.success-message {
  margin: auto 0;
  color: var(--ink-80);
}

.clients-marquee,
.metrics-marquee {
  width: 100%;
  overflow: hidden;
}

.clients-marquee {
  padding: 112px 0 64px;
}

.clients-marquee > div,
.metrics-marquee > div {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 38s linear infinite;
}

.clients-marquee span {
  width: 170px;
  margin-inline: 22px;
  color: var(--ink-90);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.portfolio {
  background: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

.case-card:hover {
  box-shadow: 0 18px 44px rgba(54, 54, 58, .14);
  transform: translateY(-6px);
}

.case-card:active {
  transform: scale(.985);
}

.case-wide {
  grid-column: span 2;
}

.case-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.case-top small,
.review-card > div:last-child small,
.blog-copy small {
  padding: 4px 8px;
  border-radius: 500px;
  background: rgba(255, 255, 255, .35);
  color: var(--white);
  font-size: 12px;
  white-space: nowrap;
}

.case-domain {
  font-weight: 700;
}

.case-card h3,
.case-period,
.case-outcome {
  position: relative;
  z-index: 2;
}

.case-card h3 {
  max-width: 470px;
  margin: 20px 0 8px;
}

.case-period {
  margin: 0;
  color: currentColor;
  font-size: 12px;
  opacity: .65;
}

.case-outcome {
  display: grid;
  max-width: 470px;
  margin-top: auto;
  padding: 34px 0 52px;
}

.case-outcome strong {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .9;
  text-transform: uppercase;
}

.case-outcome > span {
  max-width: 300px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
}

.case-outcome small {
  margin-top: 8px;
  font-size: 12px;
  opacity: .68;
}

.case-light {
  color: var(--white);
}

.case-link {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  gap: 8px;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}

.case-card:hover .case-link {
  opacity: 1;
  transform: translateY(0);
}

.team-grid {
  display: grid;
  grid-template-columns: 413px minmax(0, 1fr);
  gap: 20px;
}

.team-copy {
  display: flex;
  min-height: 466px;
  flex-direction: column;
}

.team-copy > p {
  margin: 64px 0 20px;
}

.avatar-stack {
  display: flex;
  max-width: 410px;
  flex-wrap: wrap;
  padding-right: 20px;
}

.avatar-stack span,
.review-avatar {
  display: block;
  flex: 0 0 auto;
  border: 3px solid var(--muted);
  border-radius: 50%;
  background-image: url("../images/team-main.webp");
  background-repeat: no-repeat;
  background-size: 520% auto;
}

.avatar-stack span {
  width: 80px;
  height: 80px;
  margin-right: -20px;
}

.avatar-stack span:nth-child(4n+1),
.review-card:nth-child(4n+1) .review-avatar { background-position: 3% 38%; }
.avatar-stack span:nth-child(4n+2),
.review-card:nth-child(4n+2) .review-avatar { background-position: 34% 40%; }
.avatar-stack span:nth-child(4n+3),
.review-card:nth-child(4n+3) .review-avatar { background-position: 66% 38%; }
.avatar-stack span:nth-child(4n),
.review-card:nth-child(4n) .review-avatar { background-position: 96% 40%; }

.team-media {
  position: relative;
  display: grid;
  min-height: 466px;
  overflow: hidden;
  border-radius: var(--radius);
  place-items: center;
}

.team-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.team-media:hover > img {
  transform: scale(1.035);
}

.play-button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  place-items: center;
  transition: transform 180ms var(--ease-out);
}

.team-media:hover .play-button {
  transform: scale(1.08);
}

.awards-layout {
  display: grid;
  grid-template-columns: 413px minmax(0, 1fr);
  gap: 20px;
  padding-block: 120px;
}

.awards-heading {
  justify-content: center;
}

.awards-heading h2 {
  max-width: 360px;
  color: var(--white);
}

.awards-heading p {
  margin: 0;
}

.award-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.award-list::-webkit-scrollbar,
.review-list::-webkit-scrollbar {
  display: none;
}

.award-card {
  position: relative;
  display: flex;
  width: 413px;
  min-width: 413px;
  height: 204px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-90);
}

.award-card > img:first-child {
  width: auto;
  height: 40px;
  align-self: flex-start;
}

.award-card p {
  margin: 0;
}

.award-card strong {
  display: block;
  color: var(--red);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 34px;
  line-height: 1.15;
  text-transform: uppercase;
}

.award-gold {
  padding-right: 118px;
}

.award-gold b {
  position: absolute;
  right: 18px;
  bottom: 22px;
  display: grid;
  width: 84px;
  height: 126px;
  align-items: center;
  border-radius: 50%;
  background: #e8c243;
  color: var(--white);
  font-size: 13px;
  line-height: 2.2;
  text-align: center;
}

.award-rating {
  display: grid;
  grid-template-columns: 1fr 170px;
  grid-template-rows: 46px 1fr;
  gap: 16px;
}

.award-rating > img:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 170px;
  height: 156px;
  border-radius: 12px;
  object-fit: cover;
}

.metrics-marquee {
  background: var(--red);
  color: var(--white);
}

.metrics-marquee > div {
  gap: 40px;
  padding: 56px 0;
  animation-duration: 28s;
}

.metrics-marquee span {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.slider-controls {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.slider-controls button {
  display: grid;
  width: 72px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  place-items: center;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.slider-controls button:hover {
  background: var(--ink);
  color: var(--white);
}

.review-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-card {
  display: flex;
  width: 413px;
  min-width: 413px;
  height: 264px;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  scroll-snap-align: start;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-color: var(--white);
}

.review-person p {
  margin: 0;
}

.review-person strong,
.review-person small {
  display: block;
  color: var(--ink-80);
  font-size: 13px;
  font-weight: 500;
}

.review-card > p {
  display: -webkit-box;
  height: 80px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.review-card > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: var(--ink-80);
}

.review-card > div:last-child small {
  background: var(--muted);
  color: var(--ink-80);
}

.blog-heading {
  margin-bottom: 64px;
}

.blog-heading h2 {
  max-width: 838px;
}

.blog-heading h2 em {
  font-style: normal;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

.blog-card:hover {
  box-shadow: 0 16px 42px rgba(54, 54, 58, .1);
  transform: translateY(-5px);
}

.blog-card > img {
  width: 100%;
  height: 233px;
  border-radius: var(--radius);
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.blog-card:hover > img {
  transform: scale(1.025);
}

.blog-copy {
  padding: 16px 24px 24px;
}

.blog-copy h3 {
  margin-bottom: 4px;
  color: var(--ink-90);
}

.blog-copy p {
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--ink-90);
}

.blog-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-80);
  font-size: 12px;
}

.blog-copy small {
  background: var(--muted);
  color: var(--ink-80);
}

.footer {
  padding: 120px 0 44px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 467px 466px 1fr;
  gap: 40px;
  padding: 64px 120px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--red);
}

.contact-plane {
  position: absolute;
  top: 18px;
  left: -100px;
  width: 541px;
  height: 542px;
  opacity: .28;
}

.contact-title,
.alfa-footer-form,
.contact-links {
  position: relative;
  z-index: 2;
}

.contact-title h2 {
  margin-bottom: 12px;
  color: var(--white);
}

.contact-title p {
  font-weight: 700;
}

.alfa-footer-form {
  display: grid;
  gap: 12px;
}

.alfa-footer-form small {
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
}

.contact-success {
  display: flex;
  min-height: 204px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
}

.contact-success strong {
  color: var(--red);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 28px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
}

.brand-inverse {
  filter: brightness(0) invert(1);
}

.footer-nav nav {
  display: flex;
  align-items: center;
}

.footer-nav nav a {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  color: var(--ink-80);
}

@media (max-width: 1320px) {
  .site-header,
  .container {
    width: calc(100% - 48px);
  }

  .wide-container {
    width: calc(100% - 48px);
  }

  .desktop-nav a {
    padding-inline: 15px;
  }

  .hero-copy {
    padding-inline: 72px;
  }

  .story-row {
    margin-left: 72px;
  }

  .contact-panel {
    grid-template-columns: 1fr 1fr;
    padding-inline: 72px;
  }

  .contact-links {
    grid-column: 2;
  }
}

@media (max-width: 1060px) {
  .desktop-nav,
  .header-button {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .site-header {
    height: 84px;
  }

  .hero-copy h1 {
    max-width: 760px;
  }

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

  .services-heading {
    grid-column: span 2;
    min-height: auto;
    margin-bottom: 22px;
  }

  .services-heading h2 {
    max-width: 720px;
  }

  .case-wide {
    grid-column: span 1;
  }

  .team-grid,
  .awards-layout {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .contact-panel {
    grid-template-columns: 1fr 1fr;
    padding: 56px;
  }

  .contact-title {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --radius: 20px;
  }

  body {
    font-size: 15px;
  }

  h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .section {
    padding: 78px 0;
  }

  .site-header,
  .container,
  .wide-container {
    width: calc(100% - 28px);
  }

  .site-header {
    height: 66px;
  }

  .brand {
    width: 172px;
  }

  .brand img {
    height: auto;
  }

  .menu-button {
    width: 24px;
    padding: 0;
  }

  .menu-button > span {
    display: none;
  }

  .mobile-menu {
    inset-block-start: 66px;
  }

  .hero {
    min-height: 612px;
  }

  .hero-card {
    height: 420px;
  }

  .hero-plane {
    top: 86px;
    right: -88px;
    width: 400px;
    max-width: none;
    height: 400px;
  }

  .hero-copy {
    justify-content: flex-start;
    padding: 54px 24px;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(39px, 12.2vw, 58px);
    line-height: 1.08;
  }

  .hero-copy p {
    max-width: 310px;
    font-size: 13px;
  }

  .story-row {
    width: auto;
    gap: 12px;
    margin: -42px -14px 0 14px;
    padding: 0 14px 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .story-row::-webkit-scrollbar {
    display: none;
  }

  .story-card {
    width: 124px;
    min-width: 124px;
    height: 124px;
    border-width: 3px;
    border-radius: 17px;
  }

  .story-card img {
    border-radius: 11px;
  }

  .services-grid,
  .case-grid,
  .blog-grid,
  .team-grid,
  .awards-layout {
    grid-template-columns: 1fr;
  }

  .services-heading {
    grid-column: auto;
    margin-bottom: 14px;
  }

  .services-heading h2 {
    max-width: 100%;
  }

  .service-card,
  .service-form {
    min-height: 270px;
  }

  .clients-marquee {
    padding: 74px 0 46px;
  }

  .clients-marquee span {
    width: auto;
    margin-inline: 24px;
    font-size: 15px;
  }

  .section-heading.compact,
  .blog-heading {
    margin-bottom: 42px;
  }

  .case-card,
  .case-wide {
    min-height: 390px;
    grid-column: auto;
  }

  .case-card h3 {
    max-width: 300px;
  }

  .case-outcome {
    padding-top: 28px;
  }

  .case-link {
    display: none;
  }

  .secondary-button {
    width: 100%;
    margin-top: 38px;
  }

  .team-copy {
    min-height: auto;
  }

  .team-copy > p {
    margin-top: 38px;
  }

  .avatar-stack span {
    width: 58px;
    height: 58px;
    margin-right: -14px;
  }

  .team-media {
    min-height: 340px;
    margin-top: 20px;
  }

  .awards-layout {
    width: 100%;
    gap: 40px;
    padding: 78px 14px;
  }

  .awards-heading {
    padding-inline: 0;
  }

  .award-list {
    margin-right: -14px;
  }

  .award-card {
    width: min(86vw, 360px);
    min-width: min(86vw, 360px);
  }

  .metrics-marquee > div {
    padding-block: 36px;
  }

  .metrics-marquee span {
    font-size: 28px;
  }

  .review-card {
    width: min(86vw, 360px);
    min-width: min(86vw, 360px);
    height: 280px;
  }

  .slider-controls button {
    width: 64px;
  }

  .blog-heading h2 br {
    display: none;
  }

  .blog-card > img {
    height: 220px;
  }

  .footer {
    padding: 78px 0 30px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 22px;
  }

  .contact-plane {
    top: 10px;
    left: -180px;
  }

  .contact-title,
  .alfa-footer-form,
  .contact-links {
    grid-column: auto;
  }

  .alfa-footer-form {
    gap: 10px;
  }

  .contact-links {
    align-items: flex-start;
  }

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

  .footer-nav nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .footer-nav nav a {
    padding: 10px 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 34px;
  }
}

@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 38px;
  }

  .mobile-menu nav a {
    font-size: 27px;
  }

  .case-card {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
