:root {
  --color-cream: #f6f0e6;
  --color-surface: #ffffff;
  --color-surface-alt: #d0cff4;
  --color-primary: #455191;
  --color-primary-dark: #2b2b2b;
  --color-border: rgba(69, 81, 145, 0.12);
  --color-text: #383838;
  --color-text-muted: rgba(56, 56, 56, 0.82);
  --shadow-soft: 0 18px 40px rgba(103, 84, 39, 0.08);
  --shadow-card: 0 12px 28px rgba(103, 84, 39, 0.06);
  --radius-pill: 999px;
  --radius-card: 2rem;
  --radius-large: 3rem;
  --container: min(1058px, calc(100vw - 2rem));
  --motion-base: 260ms;
  --motion-slow: 420ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-text);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-frame {
  overflow: clip;
}

.site-main,
.site-footer {
  transition:
    opacity var(--motion-slow) var(--motion-ease),
    transform var(--motion-slow) var(--motion-ease);
  transform: translateY(0);
  opacity: 1;
}

body.page-is-leaving .site-main,
body.page-is-leaving .site-footer {
  opacity: 0;
  transform: translateY(12px);
}

.site-header {
  padding: 1.75rem 0 1.15rem;
  position: relative;
  z-index: 40;
}

.site-header .container {
  width: min(1150px, calc(100vw - 2rem));
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  min-height: 80px;
  padding: 0 74px;
  background: #fcfcfc;
  border-radius: 80px;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}

.button,
button,
input[type="submit"],
.social-link,
.portfolio-card__link,
.text-link,
.blog-page-card__link,
.single-post-hero__read-link,
.single-post-nav__link,
.legal-page__back-link,
.portfolio-case-study__nav-link,
.navigation.pagination a,
.hero-card,
.about-card,
.service-card,
.portfolio-card,
.blog-page-card,
.testimonial-card,
.cta-card,
.hero-card__media,
.about-visual,
.portfolio-card__media img,
.blog-page-card__media img {
  transition:
    transform var(--motion-base) var(--motion-ease),
    translate var(--motion-base) var(--motion-ease),
    rotate var(--motion-base) var(--motion-ease),
    scale var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    background-color var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    opacity var(--motion-base) var(--motion-ease);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .hero-card .button:hover,
  .portfolio-section .button:hover,
  .cta-card .button:hover,
  .services-page-form .button:hover,
  .services-page-contact__form-shell .ff-btn:hover,
  .services-page-contact__form-shell button[type="submit"]:hover,
  .services-page-contact__form-shell input[type="submit"]:hover,
  button:hover,
  input[type="submit"]:hover,
  .social-link:hover,
  .portfolio-card__link:hover,
  .text-link:hover,
  .blog-page-card__link:hover,
  .single-post-hero__read-link:hover,
  .single-post-nav__link:hover,
  .legal-page__back-link:hover,
  .portfolio-case-study__nav-link:hover,
  .navigation.pagination a:hover {
    transform: translateY(-5px) rotate(-1.2deg) scale(1.018);
  }

  .button:hover,
  .hero-card .button:hover,
  .services-section .button:hover,
  .portfolio-section .button:hover,
  .cta-card .button:hover,
  .services-page-form .button:hover,
  .services-page-contact__form-shell .ff-btn:hover,
  .services-page-contact__form-shell button[type="submit"]:hover,
  .services-page-contact__form-shell input[type="submit"]:hover,
  button:hover,
  input[type="submit"]:hover,
  .social-link:hover,
  .navigation.pagination a:hover {
    box-shadow: 0 20px 42px rgba(103, 84, 39, 0.12);
  }

  .hero-card .button:hover,
  .portfolio-section .button:hover,
  .cta-card .button:hover,
  .services-page-form .button:hover,
  .services-page-contact__form-shell .ff-btn:hover,
  .services-page-contact__form-shell button[type="submit"]:hover,
  .services-page-contact__form-shell input[type="submit"]:hover {
    box-shadow: 0 26px 52px rgba(20, 24, 50, 0.2);
  }

  .site-navigation a:hover {
    transform: none;
  }

  .site-footer__nav a:hover,
  .site-footer__legal a:hover {
    opacity: 0.78;
  }
}

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

  .site-frame,
  .button,
  button,
  input[type="submit"],
  .social-link,
  .portfolio-card__link,
  .text-link,
  .blog-page-card__link,
  .single-post-hero__read-link,
  .single-post-nav__link,
  .legal-page__back-link,
  .portfolio-case-study__nav-link,
  .navigation.pagination a,
  .site-navigation a,
  .site-footer__nav a,
  .site-footer__legal a,
  .hero-card,
  .about-card,
  .service-card,
  .services-page-card,
  .portfolio-card,
  .testimonial-card,
  .cta-card,
  .hero-card__media,
  .about-visual,
  .portfolio-card__media img {
    transition: none;
  }

  .site-navigation .menu > li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-branding {
  flex: 0 0 auto;
}

.site-branding__logo,
.site-branding__placeholder {
  display: block;
  width: 151px;
  flex: 0 0 151px;
}

.site-branding__placeholder {
  min-height: 56px;
  background: var(--color-primary);
  border-radius: 0;
}

.site-branding__logo img {
  display: block;
  width: 151px;
  height: auto;
}

.custom-logo-link,
.custom-logo {
  display: block;
}

.site-logo img {
  max-height: 56px;
  width: auto;
}

.site-navigation .menu {
  display: flex;
  align-items: center;
  gap: 45px;
}

.site-navigation {
  margin-left: 300px;
  position: relative;
  z-index: 3;
}

.site-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    color var(--motion-base) var(--motion-ease),
    opacity var(--motion-base) var(--motion-ease);
}

.site-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 23px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #374375 0%, #3b4d99 50%, #babde2 100%);
  opacity: 0;
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.site-navigation li:not(.current-menu-item):not(.current_page_item) > a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a {
  text-decoration: none;
}

.site-navigation .current-menu-item > a::after,
.site-navigation .current_page_item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header__toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-direction: column;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
}

.site-main {
  padding-bottom: 0;
}

.site-main--inner {
  padding-top: 2rem;
}

.home-section {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}

.hero-section .container {
  width: min(1150px, calc(100vw - 2rem));
}

.hero-card,
.about-card,
.service-card,
.portfolio-card,
.testimonial-card,
.cta-card,
.content-card,
.site-footer__card,
.post-card {
  box-shadow: var(--shadow-card);
}

.hero-card {
  display: grid;
  grid-template-columns: 528px 352px;
  gap: 80px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1150px;
  min-height: 698px;
  padding: 95px;
  background: linear-gradient(135deg, #babde2 0%, #9296ca 100%);
  border-radius: 50px;
}

.hero-card__content {
  display: grid;
  width: 528px;
  min-height: 374px;
  align-content: start;
}

.hero-card__title {
  margin: 0 0 1.75rem;
  max-width: none;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: -0.04em;
  text-align: left;
  color: transparent;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-card__title br {
  display: block;
  content: "";
}

.hero-card__body {
  max-width: 528px;
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 26px;
  white-space: pre-line;
}

.hero-card__media {
  width: 352px;
  height: 479.76px;
  background: var(--color-primary-dark);
  border-radius: 30px;
  justify-self: end;
  overflow: hidden;
}

.hero-card__media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__body-emphasis {
  font-weight: 500;
}

.hero-card .button {
  width: fit-content;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin-top: 2.9rem;
  padding: 0 34px;
  background: linear-gradient(90deg, #374375 0%, #1b275a 100%);
  color: #fffcf5;
  box-shadow: 0 20px 40px rgba(20, 24, 50, 0.16);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
  white-space: nowrap;
}

.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--color-primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.button--light {
  background: #fff;
  color: var(--color-text);
}

.button--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.button:focus-visible {
  outline: 2px solid rgba(55, 67, 117, 0.72);
  outline-offset: 4px;
}

.services-page-contact__form-shell input:not([type="radio"]):not([type="checkbox"]):focus,
.services-page-contact__form-shell textarea:focus,
.services-page-contact__form-shell select:focus {
  outline: 0;
  box-shadow:
    0 0 0 2px rgba(255, 252, 245, 0.95),
    0 0 0 5px rgba(55, 67, 117, 0.24);
}

.section-intro {
  max-width: 56rem;
  margin-bottom: 2.9rem;
}

.section-intro--center {
  margin-inline: auto;
  text-align: center;
}

.section-intro--light,
.section-intro--light .section-title,
.section-intro--light .section-summary {
  color: #fff;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  color: rgba(69, 81, 145, 0.85);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 2.6rem;
  height: 2px;
  background: currentColor;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.92);
}

.section-title {
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-size: clamp(2.05rem, 4.8vw, 3.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-title--medium {
  font-size: clamp(1.95rem, 4vw, 3.15rem);
}

.section-summary,
.section-copy,
.service-card__body,
.portfolio-card__excerpt,
.testimonial-card__quote,
.post-card__excerpt,
.archive-description,
.entry-content {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.section-summary--compact {
  max-width: 42rem;
  margin-inline: auto;
}

.about-layout {
  display: grid;
  grid-template-columns: 455px minmax(0, 1fr);
  gap: 77px;
  align-items: center;
}

.about-section {
  padding-block: 135px;
}

.about-visual {
  position: relative;
  width: 455px;
  height: 529px;
  background: var(--color-primary-dark);
  border-radius: 30px;
  overflow: visible;
}

.about-visual__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.about-visual__stamp {
  position: absolute;
  top: -30px;
  left: -32px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #374375;
  pointer-events: none;
  z-index: 2;
}

.about-visual__stamp-svg {
  width: 100%;
  height: 100%;
  animation: about-stamp-spin 16s linear infinite;
  overflow: visible;
}

.about-visual__stamp text {
  fill: currentColor;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  letter-spacing: 0.075em;
  dominant-baseline: middle;
  text-transform: uppercase;
}

@keyframes about-stamp-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-visual__stamp-svg {
    animation: none;
  }
}

.about-card {
  width: 618px;
  min-height: 652px;
  margin-left: auto;
  padding: 130px 66px;
  background: #fcfcfc;
  border-radius: var(--radius-large);
}

.about-card .section-label {
  margin-bottom: 37px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-card .section-label::before {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #374375 0%, #3b4d99 50%, #babde2 100%);
}

.about-card .section-title {
  margin-bottom: 40px;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 0;
  text-align: left;
  color: transparent;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.about-card .section-copy {
  width: 485px;
  min-height: 312px;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 26px;
}

.about-card .section-copy p {
  margin: 0 0 1.5rem;
}

.about-card .section-copy p:last-child {
  margin-bottom: 0;
}

.services-section,
.testimonials-section {
  background: var(--color-primary);
}

.services-section {
  width: 100%;
  min-height: 1153px;
  padding: 112px 0 120px;
  background: #374375;
}

.services-section .container {
  width: min(1248px, calc(100vw - 172px));
}

.services-section .section-intro {
  width: 1121px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 0;
  margin-inline: auto;
  text-align: left;
}

.services-section .section-label {
  margin-bottom: 29px;
  color: #fffcf5;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.services-section .section-label::before {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #fffcf5 0%, #ddddeb 50%, #babde2 100%);
}

.services-section .section-title {
  margin-bottom: 33px;
  white-space: nowrap;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 59px;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, #fffcf5 0%, #babde2 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-section .section-summary {
  margin: 0;
  max-width: 1128px;
  color: #fffcf5;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 250;
  line-height: 36px;
  letter-spacing: 0;
}

.services-layout {
  width: 1121px;
  margin-top: 75px;
  margin-inline: auto;
}

.services-row {
  display: flex;
  gap: 21px;
  align-items: stretch;
  justify-content: center;
}

.services-row + .services-row {
  margin-top: 23px;
}

.service-card {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: var(--service-pad-y, 0) var(--service-pad-x, 0);
  background: #fcfcfc;
  border: 1px solid rgba(186, 189, 226, 0.42);
  border-radius: 50px;
  box-shadow: 0 22px 46px rgba(20, 24, 50, 0.11);
  box-sizing: border-box;
  --service-pad-x: 0px;
  --service-pad-y: 0px;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-8px) rotate(-0.45deg);
    box-shadow: 0 30px 60px rgba(20, 24, 50, 0.16);
  }
}

.service-card__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.service-card__title {
  margin: 0 0 21px;
  margin-bottom: 21px;
  width: 100%;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.05;
  color: transparent;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.service-card__body {
  margin: 0;
  width: 100%;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 26px;
  letter-spacing: 0;
}

.service-card--wide-top {
  --service-pad-x: 49px;
  --service-pad-y: 64px;
  width: 660px;
  height: 300px;
}

.service-card--narrow-top {
  --service-pad-x: 34px;
  --service-pad-y: 64px;
  width: 440px;
  height: 300px;
}

.service-card--narrow-bottom {
  --service-pad-x: 55px;
  width: 512px;
  height: 229px;
  min-height: 229px;
  border-radius: 40px;
}

.service-card--wide-bottom {
  --service-pad-x: 55px;
  width: 588px;
  height: 229px;
  min-height: 229px;
  border-radius: 40px;
}

.service-card--narrow-bottom .service-card__title,
.service-card--wide-bottom .service-card__title {
  margin-bottom: 12px;
}

.services-section .button {
  display: flex;
  width: fit-content;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin: 81px auto 0;
  padding: 0 34px;
  border-radius: 999px;
  background: #fffcf5;
  color: #374375;
  box-shadow:
    inset 0 0 0 1.5px rgba(55, 67, 117, 0.14),
    0 20px 42px rgba(20, 24, 50, 0.2);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .services-section .button:hover {
    background: #FDF8F1;
    color: #374375;
    box-shadow:
      inset 0 0 0 1.5px rgba(55, 67, 117, 0.2),
      0 26px 52px rgba(20, 24, 50, 0.24);
  }
}

.services-page-template {
  padding-top: 0;
}

.services-page-banner {
  padding-top: 64px;
}

.services-page-banner .container {
  width: min(1150px, calc(100vw - 2rem));
}

.services-page-banner__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1150px;
  max-width: 100%;
  min-height: 259px;
  margin-inline: auto;
  padding: 42px 48px;
  background: linear-gradient(135deg, #babde2 0%, #9296ca 100%);
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.services-page-banner__title {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.08;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-page-banner__body {
  margin: 22px 0 0;
  max-width: 712px;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 26px;
}

.services-page-offers {
  padding: 72px 0 112px;
}

.services-page-offers .container,
.services-page-contact .container {
  width: min(1150px, calc(100vw - 172px));
}

.services-page-offers__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 28px;
}

.services-page-card {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 48px 46px;
  background: #fcfcfc;
  border-radius: 30px;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease);
}

@media (hover: hover) and (pointer: fine) {
  .services-page-card:nth-child(odd):hover {
    transform: translateY(-5px) rotate(-1.2deg) scale(1.018);
    box-shadow: 0 20px 42px rgba(103, 84, 39, 0.12);
  }

  .services-page-card:nth-child(even):hover {
    transform: translateY(-5px) rotate(1.2deg) scale(1.018);
    box-shadow: 0 20px 42px rgba(103, 84, 39, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page-card {
    transition: none;
  }
}

.services-page-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.services-page-card--service-1,
.services-page-card--service-2 {
  min-height: 0;
}

.services-page-card--service-3 {
  min-height: 0;
}

.services-page-card--service-4 {
  min-height: 0;
}

.services-page-card--left {
  align-self: stretch;
}

.services-page-card--right {
  align-self: stretch;
}

.services-page-card__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.services-page-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 19px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.services-page-card__eyebrow-line {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #374375 0%, #3b4d99 50%, #babde2 100%);
  border-radius: 999px;
}

.services-page-card__title {
  margin: 0 0 24px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-page-card__body {
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 26px;
}

.services-page-card__body p {
  margin: 0 0 1.25rem;
}

.services-page-card__body p:last-child {
  margin-bottom: 0;
}

.services-page-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: auto;
  padding-top: 14px;
}

.services-page-card__price {
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 28px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-page-card__price-prefix {
  font-weight: 500;
}

.services-page-card__price-value {
  font-weight: 800;
}

.services-page-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-page-faqs {
  padding: 112px 0;
  background: #374375;
}

.services-page-faqs .container {
  width: min(1121px, calc(100vw - 2rem));
}

.services-page-faqs .section-intro {
  margin-bottom: 52px;
}

.services-page-faqs .section-label {
  justify-content: center;
  margin-bottom: 18px;
  color: #fffcf5;
}

.services-page-faqs .section-label::before {
  background: linear-gradient(90deg, #fffcf5 0%, #babde2 100%);
}

.services-page-faqs .section-title {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 59px;
  background: linear-gradient(135deg, #fffcf5 0%, #babde2 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-page-faqs__list {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.services-page-faq {
  border-top: 1px solid rgba(255, 252, 245, 0.8);
}

.services-page-faq:last-child {
  border-bottom: 1px solid rgba(255, 252, 245, 0.8);
}

.services-page-faq__question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 24px;
  align-items: center;
  min-height: 104px;
  padding: 24px 0;
  color: #fffcf5;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 27px;
  font-weight: 300;
  line-height: 36px;
  cursor: pointer;
  list-style: none;
}

.services-page-faq__question::-webkit-details-marker {
  display: none;
}

.services-page-faq__icon {
  position: relative;
  width: 30px;
  height: 30px;
  justify-self: end;
}

.services-page-faq__icon::before,
.services-page-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 2px;
  background: #fffcf5;
  transform: translate(-50%, -50%);
  transition: transform var(--motion-base) var(--motion-ease);
}

.services-page-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.services-page-faq[open] .services-page-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.services-page-faq__answer {
  max-width: calc(100% - 60px);
  padding: 0 0 42px;
  color: #fffcf5;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 250;
  line-height: 29px;
}

.services-page-faq__answer p {
  margin: 0 0 20px;
}

.services-page-faq__answer p:last-child {
  margin-bottom: 0;
}

.services-page-contact {
  padding: 112px 0 56px;
}

.services-page-contact .section-intro {
  max-width: 915px;
  margin: 0 auto 50px;
}

.services-page-contact .section-label {
  justify-content: center;
  width: 100%;
  margin-bottom: 18px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.services-page-contact .section-label::before {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #374375 0%, #3b4d99 50%, #babde2 100%);
}

.services-page-contact .section-title {
  margin-bottom: 18px;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.08;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-page-contact .section-summary {
  margin: 0 auto;
  max-width: 784px;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 250;
  line-height: 36px;
  text-align: center;
}

.services-page-contact__form-shell {
  width: 1121px;
  max-width: 100%;
  margin: 0 auto;
  padding: 73px 60px 55px;
  background: linear-gradient(135deg, #babde2 0%, #9296ca 100%);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.services-page-contact__form-shell .ff-el-form-control,
.services-page-contact__form-shell input:not([type="radio"]):not([type="checkbox"]),
.services-page-contact__form-shell textarea,
.services-page-contact__form-shell select {
  width: 100%;
  min-height: 60px;
  padding: 16px 18px;
  border: 0;
  border-radius: 8px;
  background: #fcfcfc;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 24px;
  box-shadow: none;
}

.services-page-contact__form-shell select,
.services-page-form select {
  appearance: none;
  padding-right: 56px;
  background:
    linear-gradient(45deg, transparent 50%, #374375 50%) calc(100% - 30px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, #374375 50%, transparent 50%) calc(100% - 24px) 50% / 7px 7px no-repeat,
    #fcfcfc;
  cursor: pointer;
}

.services-page-contact__form-shell select:focus,
.services-page-form select:focus {
  outline: 1px solid rgba(55, 67, 117, 0.38);
  outline-offset: 2px;
}

.services-page-form {
  display: grid;
  gap: 35px;
}

.services-page-form__message {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-radius: 8px;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 250;
  line-height: 24px;
}

.services-page-form__message--success {
  background: rgba(252, 252, 252, 0.86);
  color: #374375;
  box-shadow: inset 4px 0 0 rgba(55, 67, 117, 0.65);
}

.services-page-form__message--error {
  background: rgba(255, 252, 245, 0.9);
  color: #282828;
  box-shadow: inset 4px 0 0 rgba(55, 67, 117, 0.35);
}

.services-page-form__field {
  display: grid;
  gap: 20px;
}

.services-page-form__phone {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
}

.services-page-form__label {
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 31px;
}

.services-page-form__budget {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  border: 0;
}

.services-page-form__budget legend {
  margin-bottom: 5px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 31px;
}

.services-page-form__budget label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 250;
  line-height: 31px;
}

.services-page-form__budget input[type="radio"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  appearance: none;
  flex: 0 0 34px;
  border: 0;
  border-radius: 8px;
  background: #fcfcfc;
  cursor: pointer;
  transition:
    transform var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease);
}

.services-page-form__budget input[type="radio"]:checked {
  background:
    linear-gradient(#fcfcfc, #fcfcfc) padding-box,
    linear-gradient(135deg, #374375 0%, #9296ca 100%) border-box;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(55, 67, 117, 0.12);
}

.services-page-form__budget input[type="radio"]::after {
  content: "";
  width: 16px;
  height: 16px;
  background:
    linear-gradient(45deg, transparent calc(50% - 1.5px), #374375 calc(50% - 1.5px), #374375 calc(50% + 1.5px), transparent calc(50% + 1.5px)),
    linear-gradient(-45deg, transparent calc(50% - 1.5px), #374375 calc(50% - 1.5px), #374375 calc(50% + 1.5px), transparent calc(50% + 1.5px));
  opacity: 0;
  transform: scale(0.78);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.services-page-form__budget input[type="radio"]:checked::after {
  opacity: 1;
  transform: scale(1);
}

.services-page-form__budget label span {
  display: inline-block;
}

.services-page-form .button,
.services-page-contact__form-shell .ff-btn,
.services-page-contact__form-shell button[type="submit"],
.services-page-contact__form-shell input[type="submit"] {
  width: fit-content;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  padding: 0 34px;
  background: linear-gradient(90deg, #374375 0%, #1b275a 100%);
  color: #fffcf5;
  box-shadow: 0 20px 40px rgba(20, 24, 50, 0.16);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  margin-top: 35px;
  text-align: center;
  white-space: nowrap;
}

.services-page-form__note {
  margin: -5px 0 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 250;
  line-height: 23px;
}

.services-page-form__note,
.services-page-form__note a {
  color: #282828;
}

.services-page-form__note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.portfolio-list {
  display: grid;
  gap: 25px;
  margin-top: 75px;
}

.portfolio-card {
  overflow: hidden;
  padding: 31px 43px 36px;
  background: #fcfcfc;
  border: 1px solid rgba(186, 189, 226, 0.36);
  border-radius: 50px;
  box-shadow: 0 20px 44px rgba(103, 84, 39, 0.1);
}

.portfolio-card__media {
  display: block;
  overflow: hidden;
  background: #374375;
  border-radius: 36px;
  margin-bottom: 31px;
  aspect-ratio: 2.52 / 1;
}

.portfolio-card__media img,
.post-card__thumb img,
.entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-page-card__media img,
.blog-page-card__media img,
.portfolio-card__media img {
  transition: transform var(--motion-slow) var(--motion-ease);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover .portfolio-card__media img,
  .portfolio-page-card:hover .portfolio-page-card__media img,
  .blog-page-card:hover .blog-page-card__media img {
    transform: scale(1.045);
  }
}

.portfolio-card__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 47px;
  align-items: start;
}

.portfolio-card__main {
  display: grid;
  gap: 6px;
}

.portfolio-card__title,
.post-card__title,
.entry-title,
.archive-title {
  margin: 0;
  color: var(--color-primary);
  line-height: 1.1;
}

.portfolio-card__title {
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -0.03em;
  color: transparent;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-card__title a {
  color: inherit;
}

.portfolio-card__type {
  margin: -1px 0 5px;
  color: rgba(40, 40, 40, 0.72);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 250;
  line-height: 23px;
}

.portfolio-card__excerpt {
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 26px;
}

.portfolio-card__link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: end;
  justify-self: end;
  margin-right: 5px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.button span[aria-hidden="true"],
.portfolio-card__link span[aria-hidden="true"],
.blog-page-card__link span[aria-hidden="true"],
.single-post-hero__read-link span[aria-hidden="true"],
.single-post-nav__link span[aria-hidden="true"],
.portfolio-page-card__arrow span,
.portfolio-case-study__nav-link span[aria-hidden="true"] {
  display: inline-block;
  transition: transform var(--motion-base) var(--motion-ease);
}

.portfolio-card__link span[aria-hidden="true"],
.blog-page-card__link span[aria-hidden="true"],
.single-post-nav__link span[aria-hidden="true"],
.portfolio-page-card__arrow span,
.portfolio-case-study__nav-link span[aria-hidden="true"] {
  color: #374375;
  -webkit-text-fill-color: #374375;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover span[aria-hidden="true"],
  .portfolio-card__link:hover span[aria-hidden="true"],
  .blog-page-card__link:hover span[aria-hidden="true"],
  .single-post-hero__read-link:hover span[aria-hidden="true"],
  .single-post-nav__link:hover span[aria-hidden="true"],
  .portfolio-page-card__arrow:hover span,
  .portfolio-case-study__nav-link:hover span[aria-hidden="true"] {
    transform: translateX(4px);
  }
}

.portfolio-section .section-intro {
  width: 1121px;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.portfolio-section .section-label {
  margin-bottom: 29px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.portfolio-section .section-label::before {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #374375 0%, #3b4d99 50%, #babde2 100%);
}

.portfolio-section .section-title {
  margin-bottom: 22px;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 59px;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-section .section-summary {
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 250;
  line-height: 36px;
  letter-spacing: 0;
}

.portfolio-section .button {
  display: flex;
  width: fit-content;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin: 86px auto 0;
  padding: 0 34px;
  background: linear-gradient(90deg, #374375 0%, #1b275a 100%);
  color: #fffcf5;
  box-shadow: 0 20px 40px rgba(20, 24, 50, 0.16);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
  white-space: nowrap;
}

.portfolio-section {
  padding-bottom: 112px;
}

.portfolio-page-template {
  padding-top: 0;
}

.portfolio-page-banner {
  padding-top: 64px;
}

.portfolio-page-banner .container,
.portfolio-page-projects .container {
  width: min(1150px, calc(100vw - 2rem));
}

.portfolio-page-banner__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1150px;
  max-width: 100%;
  min-height: 259px;
  margin-inline: auto;
  padding: 42px 48px;
  background: linear-gradient(135deg, #babde2 0%, #9296ca 100%);
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.portfolio-page-banner__title {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 68px;
  text-align: center;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-page-banner__body {
  max-width: 712px;
  margin: 11px 0 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 23px;
}

.portfolio-page-banner__body strong {
  font-weight: 600;
}

.portfolio-page-projects {
  padding: 72px 0 102px;
}

.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px 37px;
}

.portfolio-page-card {
  min-width: 0;
}

.portfolio-page-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 359 / 433;
  overflow: hidden;
  border-radius: 30px;
  background: #374375;
  box-shadow: 0 18px 36px rgba(103, 84, 39, 0.12);
}

.portfolio-page-card__media img,
.portfolio-page-card__media .media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-page-card__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 20px;
}

.portfolio-page-card__meta {
  min-width: 0;
}

.portfolio-page-card__title {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 38px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-page-card__type {
  margin: 4px 0 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 250;
  line-height: 24px;
}

.portfolio-page-card__title a,
.portfolio-page-card__arrow {
  color: transparent;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-page-card__arrow {
  flex: 0 0 auto;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 38px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-page-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 26px;
  text-align: center;
}

.blog-page-template,
.single-post-template {
  padding-top: 0;
}

.blog-page-banner {
  padding-top: 64px;
}

.blog-page-banner .container,
.blog-page-posts .container,
.single-post-template .container {
  width: min(1150px, calc(100vw - 2rem));
}

.blog-page-banner__card {
  display: grid;
  grid-template-columns: 528px 352px;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 1150px;
  max-width: 100%;
  min-height: 698px;
  margin-inline: auto;
  padding: 95px;
  background: linear-gradient(135deg, #babde2 0%, #9296ca 100%);
  border-radius: 50px;
  box-shadow: 0 22px 44px rgba(103, 84, 39, 0.1);
}

.blog-page-banner__content {
  display: grid;
  width: 528px;
  min-height: 374px;
  align-content: center;
}

.blog-page-banner__eyebrow,
.blog-page-card__meta,
.single-post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-transform: uppercase;
}

.blog-page-banner__title,
.single-post-hero__title {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 68px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.blog-page-banner__title {
  max-width: none;
}

.single-post-hero__title {
  max-width: 760px;
}

.blog-page-banner__body {
  max-width: 528px;
  margin: 28px 0 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 26px;
}

.blog-page-banner__media {
  width: 352px;
  height: 479.76px;
  overflow: hidden;
  border-radius: 30px;
  background: #282828;
  justify-self: end;
}

.blog-page-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-page-posts {
  padding: 108px 0 112px;
}

.blog-page-posts__intro {
  align-items: center;
  margin: 0 auto 64px;
  text-align: center;
}

.blog-page-posts__intro .section-label {
  justify-content: center;
  margin-bottom: 14px;
  color: #374375;
}

.blog-page-posts__intro .section-title {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 54px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

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

.blog-page-card {
  min-width: 0;
  padding: 18px 16px 24px;
  background: #fcfcfc;
  border: 1px solid rgba(186, 189, 226, 0.34);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(103, 84, 39, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  .blog-page-card:hover {
    transform: translateY(-4px);
  }

  .blog-page-card:hover .blog-page-card__media {
    box-shadow: 0 22px 44px rgba(103, 84, 39, 0.14);
  }
}

.blog-page-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 323 / 220;
  overflow: hidden;
  border-radius: 18px;
  background: #374375;
  box-shadow: none;
}

.blog-page-card__media img,
.blog-page-card__media .media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder--blog {
  min-height: 0;
  background: linear-gradient(135deg, #babde2 0%, #9296ca 100%);
}

.blog-page-card__content {
  padding: 16px 2px 0;
}

.blog-page-card__meta {
  margin: 4px 0 0;
  color: #282828;
  font-size: 16px;
  font-weight: 250;
  line-height: 22px;
  text-transform: none;
}

.blog-page-card__title {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 29px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.blog-page-card__title a {
  color: transparent;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

.blog-page-card__excerpt {
  margin-top: 4px;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  line-height: 22px;
}

.blog-page-card__excerpt p {
  margin: 0;
}

.blog-page-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 24px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.blog-page-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 28px;
  text-align: center;
}

.single-post-template .container {
  width: min(1121px, calc(100vw - 2rem));
}

.single-post-hero {
  padding: 72px 0 52px;
}

.single-post-hero__content {
  width: min(920px, 100%);
  margin-inline: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.single-post-hero__meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 42px;
}

.single-post-hero__meta-item {
  display: grid;
  gap: 8px;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
}

.single-post-hero__meta-item span {
  color: #374375;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
}

.single-post-hero__meta-item time,
.single-post-hero__meta-item strong {
  color: #282828;
  font-size: 15px;
  font-weight: 250;
  line-height: 21px;
}

.single-post-hero__excerpt {
  max-width: 780px;
  margin: 22px 0 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 28px;
}

.single-post-hero__read-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
}

.single-post-hero__read-link span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #374375;
  color: #fffcf5;
  font-size: 14px;
  line-height: 1;
}

.single-post-hero__media {
  width: min(920px, 100%);
  aspect-ratio: 920 / 520;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 34px;
  background: #fcfcfc;
  box-shadow: 0 18px 42px rgba(103, 84, 39, 0.12);
}

.single-post-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-content-wrap {
  padding: 64px 0 0;
}

.single-post-content {
  width: min(720px, 100%);
  margin-inline: auto;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 250;
  line-height: 29px;
}

.single-post-content > * {
  margin-top: 0;
  margin-bottom: 24px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  margin-top: 52px;
  margin-bottom: 18px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.12;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.single-post-content h2 {
  font-size: 32px;
}

.single-post-content h3 {
  font-size: 26px;
}

.single-post-content h4 {
  font-size: 24px;
}

.single-post-content a {
  color: #374375;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post-content ul,
.single-post-content ol {
  display: grid;
  gap: 10px;
  margin-left: 1.1em;
  padding-left: 1.1em;
}

.single-post-content ul {
  list-style: disc;
}

.single-post-content ol {
  list-style: decimal;
}

.single-post-content blockquote {
  margin: 46px 0;
  padding: 34px 42px;
  background: #fcfcfc;
  border-radius: 30px;
  color: #374375;
  font-size: 24px;
  line-height: 34px;
  box-shadow: var(--shadow-soft);
}

.single-post-content img {
  border-radius: 30px;
}

.single-post-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(720px, 100%);
  margin: 72px auto 112px;
  padding-top: 32px;
  border-top: 1px solid rgba(55, 67, 117, 0.16);
}

.single-post-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.single-post-nav__link--next {
  margin-left: auto;
  text-align: right;
}

.contact-page-template {
  padding-top: 0;
}

.contact-page-intro {
  padding: 64px 0 78px;
}

.contact-page-intro .container,
.contact-page-form-section .container {
  width: min(1121px, calc(100vw - 2rem));
}

.contact-page-intro .section-intro {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.contact-page-intro .section-label {
  margin-bottom: 30px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-page-intro .section-label::before {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #374375 0%, #3b4d99 50%, #babde2 100%);
}

.contact-page-intro .section-title {
  max-width: 1121px;
  margin: 0 0 18px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 68px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.contact-page-intro .section-summary {
  max-width: 990px;
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 250;
  line-height: 36px;
}

.contact-page-form-section {
  padding: 0 0 112px;
}

.contact-page-form-shell {
  width: 100%;
  border-radius: 50px;
}

.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-page-form-column {
  min-width: 0;
}

.contact-page-info {
  display: grid;
  gap: 30px;
  align-self: stretch;
  align-content: start;
}

.contact-page-info__intro,
.contact-page-info__list {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.contact-page-info__intro {
  border-bottom: 0;
}

.contact-page-info__intro h2 {
  margin: 0 0 18px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.contact-page-info__intro p {
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 250;
  line-height: 26px;
}

.contact-page-info__list {
  display: grid;
  gap: 22px;
}

.contact-page-info__list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 0;
  border-bottom: 0;
}

.contact-page-info__icon {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  margin-top: 0;
  color: #374375;
  background: rgba(255, 252, 245, 0.72);
  border-radius: 999px;
}

.contact-page-info__svg {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translate(-50%, -50%);
}

.contact-page-info__svg--mail {
  transform: translate(-50%, -48%);
}

.contact-page-info__svg--phone {
  transform: translate(-50%, -51%);
}

.contact-page-info__svg--location {
  transform: translate(-50%, -52%);
}

.contact-page-info__list span {
  display: block;
  margin-bottom: 5px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 18px;
  text-transform: uppercase;
}

.contact-page-info__list a,
.contact-page-info__list strong {
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 250;
  line-height: 25px;
  overflow-wrap: anywhere;
}

.contact-page-form textarea {
  min-height: 230px;
  resize: vertical;
}

.legal-page {
  padding: 64px 0 112px;
}

.legal-page .container {
  width: min(1121px, calc(100vw - 2rem));
}

.legal-page__card {
  padding: 72px 84px;
  background: #fcfcfc;
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
}

.legal-page__header {
  margin-bottom: 48px;
}

.legal-page__header .section-label {
  margin-bottom: 22px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-page__header .section-label::before {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #374375 0%, #3b4d99 50%, #babde2 100%);
}

.legal-page__title {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 54px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.legal-page__content {
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 250;
  line-height: 29px;
}

.legal-page__content > * {
  margin-top: 0;
  margin-bottom: 22px;
}

.legal-page__content h2,
.legal-page__content h3,
.legal-page__content h4 {
  margin-top: 42px;
  margin-bottom: 16px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

.legal-page__content h2 {
  font-size: 28px;
}

.legal-page__content h3 {
  font-size: 23px;
}

.legal-page__content ul,
.legal-page__content ol {
  display: grid;
  gap: 8px;
  margin-left: 1.1em;
  padding-left: 1.1em;
}

.legal-page__content ul {
  list-style: disc;
}

.legal-page__content ol {
  list-style: decimal;
}

.legal-page__content a {
  color: #374375;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 38px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-page-template .testimonials-section.portfolio-page-testimonial {
  padding: 85px 0 80px;
}

.portfolio-page-template .portfolio-page-testimonial .section-intro {
  margin-bottom: 80px;
}

.portfolio-page-template .testimonial-card.portfolio-page-testimonial__card {
  box-sizing: border-box;
  width: 920px;
  max-width: 100%;
  height: 386px;
  min-height: 386px;
  margin: 0 auto;
  padding: 50px 80px 45px;
  justify-content: flex-start;
}

.portfolio-page-template .portfolio-page-testimonial__card .testimonial-card__quote {
  max-width: 766px;
  margin: 0 auto 40px;
}

.portfolio-page-template .portfolio-page-testimonial__quote {
  font-size: 22px;
  line-height: 28px;
}

.portfolio-page-template .portfolio-page-testimonial__author {
  margin-top: auto;
}

.portfolio-page-template .portfolio-page-testimonial__author .testimonial-card__name,
.portfolio-page-template .portfolio-page-testimonial__author .testimonial-card__detail {
  margin-inline: auto;
}

.portfolio-page-template .cta-section {
  padding-top: 112px;
  padding-bottom: 56px;
}

.portfolio-page-template .cta-card .section-title {
  font-size: 40px;
  line-height: 50px;
}

.portfolio-page-template .cta-card .section-summary {
  font-size: 20px;
  line-height: 28px;
}

.portfolio-case-study__article {
  --portfolio-case-gutter: 172px;
  --portfolio-case-max: 1121px;
  min-height: 100vh;
  padding: 0 0 74px;
  background: var(--color-cream);
}

.portfolio-case-study__cover {
  display: grid;
  grid-template-columns: minmax(360px, 43%) minmax(0, 57%);
  min-height: 620px;
  margin: 38px auto 112px;
  width: calc(100% - var(--portfolio-case-gutter));
  max-width: var(--portfolio-case-max);
  overflow: hidden;
  border-radius: 50px;
  background: #fcfcfc;
  box-shadow: var(--shadow-soft);
}

.portfolio-case-study__cover--text-only {
  grid-template-columns: 1fr;
}

.portfolio-case-study__cover-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 72px;
  background: #fcfcfc;
}

.portfolio-case-study__cover-panel span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.portfolio-case-study__cover-panel span::before {
  content: "";
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #374375 0%, #3b4d99 50%, #fffcf5 100%);
}

.portfolio-case-study__cover-panel h1 {
  margin: 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 59px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-case-study__cover--text-only .portfolio-case-study__cover-panel h1 {
  max-width: 900px;
}

.portfolio-case-study__cover-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: rgba(55, 67, 117, 0.12);
}

.portfolio-case-study__cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-case-study__inner {
  width: calc(100% - var(--portfolio-case-gutter));
  max-width: var(--portfolio-case-max);
  margin: 0 auto;
}

.portfolio-case-study__header {
  max-width: 100%;
  margin: 0 0 72px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(55, 67, 117, 0.16);
}

.portfolio-case-study__intro {
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 30px;
  font-weight: 250;
  line-height: 40px;
  max-width: 100%;
}

.portfolio-case-study__context-grid,
.portfolio-case-study__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 74px;
  align-items: center;
  margin-bottom: 72px;
}

.portfolio-case-study__split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 100px;
  align-items: start;
  margin-top: 72px;
}

.portfolio-case-study__text-block h2,
.portfolio-case-study__details h2,
.portfolio-case-study__section h2 {
  margin: 0 0 26px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-case-study__text-block p,
.portfolio-case-study__details p,
.portfolio-case-study__section p,
.portfolio-case-study__section li {
  margin: 0 0 22px;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 250;
  line-height: 29px;
}

.portfolio-case-study__details p {
  display: grid;
  gap: 4px;
  align-items: start;
}

.portfolio-case-study__details strong {
  color: #282828;
  font-weight: 250;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.portfolio-case-study__text-block p:last-child,
.portfolio-case-study__details p:last-child,
.portfolio-case-study__section p:last-child {
  margin-bottom: 0;
}

.portfolio-case-study__details {
  align-self: center;
  justify-self: center;
  width: min(100%, 340px);
  padding: 34px 32px;
  background: #fcfcfc;
  border-radius: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(55, 67, 117, 0.08);
}

.portfolio-case-study__details p + p {
  padding-top: 16px;
  border-top: 1px solid rgba(55, 67, 117, 0.12);
}

.portfolio-case-study__details span {
  display: inline-block;
  flex: 0 0 auto;
  color: #374375;
  font-weight: 500;
  white-space: nowrap;
}

.portfolio-case-study__hero-image,
.portfolio-case-study__wide-image {
  overflow: hidden;
  margin: 0;
  border-radius: 30px;
  background: rgba(55, 67, 117, 0.12);
}

.portfolio-case-study__hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-case-study__wide-image {
  margin-top: 72px;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__hero-image img,
.portfolio-case-study__wide-image img,
.portfolio-case-study__gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-case-study__gallery {
  display: grid;
  align-items: start;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 20px;
  margin: 72px 0;
}

.portfolio-case-study__gallery--lead {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 72px 0 84px;
}

.portfolio-case-study__gallery--lead figure,
.portfolio-case-study__gallery--lead figure:nth-child(6n + 1),
.portfolio-case-study__gallery--lead figure:nth-child(6n + 2),
.portfolio-case-study__gallery--lead figure:nth-last-child(2):first-child,
.portfolio-case-study__gallery--lead figure:nth-last-child(2):first-child + figure {
  grid-column: auto;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery figure {
  align-self: start;
  overflow: hidden;
  grid-column: span 4;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 24px;
  background: rgba(55, 67, 117, 0.12);
}

.portfolio-case-study__gallery figure:nth-child(6n + 1) {
  grid-column: span 7;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery figure:nth-child(6n + 2) {
  grid-column: span 5;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery figure:nth-child(6n + 3),
.portfolio-case-study__gallery figure:nth-child(6n + 4),
.portfolio-case-study__gallery figure:nth-child(6n + 5) {
  grid-column: span 4;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery figure:nth-child(6n) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery figure:only-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery figure:nth-last-child(2):first-child,
.portfolio-case-study__gallery figure:nth-last-child(2):first-child + figure {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery figure:nth-last-child(3):first-child,
.portfolio-case-study__gallery figure:nth-last-child(3):first-child ~ figure {
  grid-column: span 4;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery:not(.portfolio-case-study__gallery--lead) figure:nth-last-child(4):first-child,
.portfolio-case-study__gallery:not(.portfolio-case-study__gallery--lead) figure:nth-last-child(4):first-child ~ figure {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery:not(.portfolio-case-study__gallery--lead) figure:nth-last-child(5):first-child,
.portfolio-case-study__gallery:not(.portfolio-case-study__gallery--lead) figure:nth-last-child(5):first-child + figure {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__gallery:not(.portfolio-case-study__gallery--lead) figure:nth-last-child(5):first-child ~ figure:nth-child(n + 3) {
  grid-column: span 4;
  aspect-ratio: 16 / 9;
}

.portfolio-case-study__section {
  margin-top: 0;
  padding: 0;
}

.portfolio-case-study__section--solution {
  max-width: 100%;
  margin-top: 24px;
  padding-left: 0;
  border-left: 0;
}

.portfolio-case-study__section--results {
  max-width: 100%;
  margin-top: 96px;
  padding-top: 46px;
  border-top: 1px solid rgba(55, 67, 117, 0.16);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.portfolio-case-study__section ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.portfolio-case-study__section li {
  position: relative;
  margin: 0;
  padding-left: 31px;
}

.portfolio-case-study__section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 17px;
  height: 17px;
  border: 1.5px solid #374375;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(186, 189, 226, 0.3) 0%, rgba(255, 252, 245, 0.8) 100%);
}

.portfolio-case-study__section li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.36em + 6px);
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #374375;
}

.portfolio-case-study__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 86px;
  padding-top: 34px;
  border-top: 1px solid rgba(55, 67, 117, 0.16);
}

.portfolio-case-study__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-case-study__nav-link--next {
  margin-left: auto;
  text-align: right;
}

.portfolio-case-study__fallback {
  background: #fcfcfc;
}

.testimonials-marquee {
  width: 100%;
  margin: 56px auto 0;
  overflow: visible;
}

.testimonials-marquee__track {
  display: flex;
  width: max-content;
  animation: testimonials-marquee calc(var(--testimonial-count, 3) * 8s) linear infinite;
  will-change: transform;
}

.testimonials-marquee:hover .testimonials-marquee__track {
  animation-play-state: paused;
}

.testimonials-marquee__group {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

@keyframes testimonials-marquee {
  from {
    transform: translateX(0);
  }

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

.testimonial-card {
  flex: 0 0 426px;
  width: 426px;
  height: 386px;
  min-height: 386px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 44px 38px 38px;
  background: #FDF8F1;
  border: 1px solid rgba(186, 189, 226, 0.36);
  border-radius: 2rem;
  box-shadow: 0 22px 44px rgba(20, 24, 50, 0.1);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee {
    overflow: visible;
    mask-image: none;
  }

  .testimonials-marquee__track {
    width: 100%;
    animation: none;
  }

  .testimonials-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .testimonials-marquee__group[aria-hidden="true"] {
    display: none;
  }
}

.testimonial-card__quote {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  margin: 0 0 34px;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 250;
  line-height: 31px;
  text-align: center;
}

.testimonial-card__name {
  flex: 0 0 auto;
  margin: 0;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: transparent;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.testimonial-card__detail {
  flex: 0 0 auto;
  margin: 4px 0 0;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 250;
  line-height: 1.25;
  text-align: center;
}

.testimonials-section {
  padding-top: 112px;
  padding-bottom: 112px;
  background: #374375;
  overflow: hidden;
}

.testimonials-section .container {
  width: min(1318px, calc(100vw - 172px));
}

.testimonials-section .section-intro {
  width: 1318px;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.testimonials-section .section-label {
  justify-content: center;
  margin-bottom: 29px;
  color: #fffcf5;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.testimonials-section .section-label::before {
  width: 45px;
  height: 2px;
  background: linear-gradient(90deg, #fffcf5 0%, #ddddeb 50%, #babde2 100%);
}

.testimonials-section .section-title {
  margin-bottom: 0;
  text-align: center;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 59px;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, #fffcf5 0%, #babde2 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.cta-section {
  padding-top: 112px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1121px;
  max-width: 100%;
  height: 395px;
  min-height: 395px;
  margin-inline: auto;
  padding: 68px 84px;
  background: linear-gradient(135deg, #babde2 0%, #9296ca 100%);
  border-radius: 50px;
  box-shadow: 0 22px 44px rgba(103, 84, 39, 0.1);
  text-align: center;
}

.cta-card .section-title {
  max-width: 900px;
  margin: 0 0 19px;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 50px;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.cta-card .section-summary {
  max-width: 855px;
  margin: 0;
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 250;
  line-height: 34px;
  text-align: center;
}

.cta-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: fit-content;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin-top: 50px;
  padding: 0 34px;
  background: linear-gradient(90deg, #374375 0%, #1b275a 100%);
  color: #fffcf5;
  box-shadow: 0 20px 40px rgba(20, 24, 50, 0.16);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
  white-space: nowrap;
}

.site-footer {
  padding: 56px 0 0;
}

.site-footer .container {
  width: min(1121px, calc(100vw - 172px));
}

.site-footer__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1121px;
  max-width: 100%;
  min-height: 267px;
  margin-inline: auto;
  padding: 37px 46px 34px;
  background: #fcfcfc;
  border-radius: 50px 50px 0 0;
  box-shadow: none;
  justify-content: center;
}

.site-footer__top {
  display: grid;
  width: 930px;
  max-width: 100%;
  grid-template-columns: 226px auto 116px;
  justify-content: center;
  gap: 72px;
  align-items: center;
  padding-bottom: 0;
}

.site-footer__newsletter {
  position: relative;
}

.site-footer__newsletter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #fffcf5 0%, #efece6 50%, #fffcf5 100%);
}

.site-branding__logo--footer,
.site-logo--footer {
  width: 226px;
  min-width: 226px;
}

.site-branding__logo--footer img,
.site-logo--footer img,
.site-logo--footer .custom-logo {
  width: 100%;
  height: auto;
}

.site-footer__nav .menu,
.site-footer__legal .menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 45px;
  justify-content: center;
}

.site-footer__nav a,
.site-footer__legal a {
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 250;
  line-height: 1.2;
}

.site-footer__nav a {
  font-weight: 500;
  text-transform: uppercase;
}

.site-footer__nav .menu {
  align-items: center;
}

.site-footer__legal .menu {
  gap: 0 40px;
}

.site-footer__legal a {
  text-transform: none;
}

.site-footer__newsletter {
  width: 930px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 34px 0 36px;
}

.site-footer__newsletter-heading span {
  display: block;
  margin-bottom: 4px;
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer__newsletter-heading p,
.site-footer__newsletter-message {
  margin: 0;
  color: rgba(56, 56, 56, 0.78);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 250;
  line-height: 18px;
}

.site-footer__newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

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

.site-footer__newsletter-form input {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(69, 81, 145, 0.16);
  border-radius: 12px;
  background: #fcfcfc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  color: #282828;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 250;
  outline: 0;
}

.site-footer__newsletter-form input:focus {
  border-color: rgba(69, 81, 145, 0.32);
  box-shadow:
    0 0 0 3px rgba(186, 189, 226, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.site-footer__newsletter-form button {
  height: 42px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #374375 0%, #1b275a 100%);
  color: #fffcf5;
  box-shadow: 0 14px 26px rgba(20, 24, 50, 0.12);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.site-footer__newsletter-form button:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.site-footer__newsletter-message {
  grid-column: 2;
  margin-top: -10px;
  color: #374375;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-footer__newsletter-message[hidden] {
  display: none;
}

.site-footer__newsletter-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer__newsletter-message.is-error {
  color: #895159;
}

.site-footer__social {
  display: flex;
  gap: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #babde2 0%, #9296ca 100%);
  color: #374375;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.social-link--icon {
  font-size: 0;
  line-height: 1;
}

.social-link--behance {
  font-size: 20px;
  line-height: 1;
}

.social-link svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.site-footer__legal {
  width: auto;
  max-width: 100%;
  padding: 32px 0 0;
}

.site-footer__copyright {
  width: auto;
  margin: 50px 0 0;
  color: transparent;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  background: linear-gradient(135deg, #374375 0%, #3e57bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.archive-shell,
.content-card,
.post-card {
  background: #fff;
  border-radius: var(--radius-large);
}

.archive-shell,
.content-card {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.post-grid {
  display: grid;
  gap: 1.5rem;
}

.post-card {
  overflow: hidden;
}

.post-card__thumb {
  display: block;
  min-height: 16rem;
  background: rgba(69, 81, 145, 0.12);
}

.post-card__content {
  padding: 1.5rem;
}

.post-card__meta,
.entry-meta {
  margin: 0 0 0.75rem;
  color: rgba(69, 81, 145, 0.82);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.archive-title,
.entry-title {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
}

.entry-header {
  margin-bottom: 1.5rem;
}

.entry-summary {
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.entry-media {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(69, 81, 145, 0.12);
}

.media-placeholder {
  display: block;
  width: 100%;
  min-height: 18rem;
  background: var(--color-primary);
  border-radius: inherit;
}

.media-placeholder--portfolio {
  min-height: clamp(15rem, 30vw, 24rem);
  background: #374375;
}

.media-placeholder--wide {
  min-height: 26rem;
}

.wp-block-image,
.wp-block-gallery {
  margin-block: 1.5rem;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.posts-navigation,
.navigation.pagination {
  margin-top: 2rem;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.navigation.pagination .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
}

@media (min-width: 961px) {
  .home-section {
    padding: 72px 0;
  }

  .hero-card {
    grid-template-columns: 500px 326px;
    gap: 70px;
    min-height: 620px;
    padding: 76px 86px;
  }

  .blog-page-banner__card {
    grid-template-columns: 500px 326px;
    gap: 70px;
    min-height: 620px;
    padding: 76px 86px;
  }

  .hero-card__content,
  .blog-page-banner__content {
    width: 500px;
    min-height: 0;
  }

  .hero-card__title,
  .blog-page-banner__title {
    margin-bottom: 24px;
    font-size: 52px;
    line-height: 60px;
  }

  .hero-card__media,
  .blog-page-banner__media {
    width: 326px;
    height: 444px;
  }

  .hero-card .button {
    margin-top: 36px;
  }

  .about-section {
    padding-block: 104px;
  }

  .about-layout {
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 62px;
  }

  .about-visual {
    width: 420px;
    height: 489px;
  }

  .about-visual__stamp {
    width: 90px;
    height: 90px;
    top: -28px;
    left: -30px;
  }

  .about-visual__stamp text {
    font-size: 14.5px;
  }

  .about-card {
    width: 584px;
    min-height: 570px;
    padding: 92px 58px;
  }

  .about-card .section-label {
    margin-bottom: 28px;
  }

  .about-card .section-title {
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 36px;
  }

  .services-section {
    min-height: 0;
    padding: 96px 0 104px;
  }

  .services-section .section-label,
  .portfolio-section .section-label,
  .testimonials-section .section-label {
    margin-bottom: 24px;
  }

  .services-section .section-title,
  .portfolio-section .section-title,
  .testimonials-section .section-title,
  .services-page-banner__title,
  .portfolio-page-banner__title,
  .services-page-contact .section-title,
  .contact-page-intro .section-title {
    font-size: 48px;
    line-height: 54px;
  }

  .services-section .section-summary,
  .portfolio-section .section-summary,
  .services-page-contact .section-summary,
  .contact-page-intro .section-summary {
    font-size: 22px;
    line-height: 30px;
  }

  .services-layout {
    margin-top: 62px;
  }

  .service-card {
    border-radius: 40px;
  }

  .service-card__title {
    font-size: 34px;
    line-height: 1.08;
  }

  .service-card__body {
    font-size: 18px;
    line-height: 24px;
  }

  .service-card--wide-top {
    --service-pad-x: 44px;
    --service-pad-y: 52px;
    height: 270px;
    min-height: 270px;
  }

  .service-card--narrow-top {
    --service-pad-x: 32px;
    --service-pad-y: 52px;
    height: 270px;
    min-height: 270px;
  }

  .service-card--narrow-bottom,
  .service-card--wide-bottom {
    --service-pad-x: 46px;
    height: 212px;
    min-height: 212px;
    border-radius: 34px;
  }

  .services-section .button {
    margin-top: 64px;
  }

  .services-page-banner__card,
  .portfolio-page-banner__card {
    min-height: 222px;
    padding: 36px 48px;
    border-radius: 42px;
  }

  .services-page-offers {
    padding: 64px 0 96px;
  }

  .services-page-card {
    min-height: 0;
    padding: 42px 40px;
    border-radius: 26px;
  }

  .services-page-card--service-1,
  .services-page-card--service-2,
  .services-page-card--service-3,
  .services-page-card--service-4 {
    min-height: 0;
  }

  .services-page-card__title {
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 36px;
  }

  .services-page-card__body {
    font-size: 18px;
    line-height: 25px;
  }

  .services-page-card__price {
    font-size: 18px;
    line-height: 26px;
  }

  .testimonials-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .services-page-faqs {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .services-page-faqs__list {
    padding: 0;
    border-radius: 0;
  }

  .services-page-faq__question {
    min-height: 94px;
    font-size: 25px;
    line-height: 33px;
  }

  .services-page-faq__answer {
    max-width: calc(100% - 60px);
    padding-bottom: 38px;
    font-size: 19px;
    line-height: 29px;
  }

  .services-page-contact {
    padding: 96px 0 56px;
  }

  .contact-page-intro {
    padding: 56px 0 68px;
  }

  .contact-page-form-section {
    padding-bottom: 96px;
  }

  .services-page-contact__form-shell {
    padding: 48px 52px 46px;
  }

  .services-page-form__label,
  .services-page-form__budget legend,
  .services-page-form__budget label {
    font-size: 19px;
    line-height: 25px;
  }

  .services-page-form {
    gap: 20px;
  }

  .services-page-form__field {
    gap: 10px;
  }

  .services-page-form__phone {
    grid-template-columns: minmax(250px, 0.4fr) minmax(0, 1fr);
    gap: 12px;
  }

  .services-page-contact__form-shell .ff-el-form-control,
  .services-page-contact__form-shell input:not([type="radio"]):not([type="checkbox"]),
  .services-page-contact__form-shell textarea,
  .services-page-contact__form-shell select {
    min-height: 52px;
    padding: 13px 16px;
    font-size: 18px;
    line-height: 23px;
  }

  .services-page-contact__form-shell select,
  .services-page-form select {
    padding-right: 52px;
    background:
      linear-gradient(45deg, transparent 50%, #374375 50%) calc(100% - 28px) 50% / 6px 6px no-repeat,
      linear-gradient(135deg, #374375 50%, transparent 50%) calc(100% - 23px) 50% / 6px 6px no-repeat,
      #fcfcfc;
  }

  .services-page-contact__form-shell textarea,
  .services-page-form textarea {
    min-height: 170px;
  }

  .services-page-form__budget {
    gap: 12px;
  }

  .services-page-form__budget input[type="radio"] {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 7px;
  }

  .services-page-form__budget input[type="radio"]::after {
    width: 13px;
    height: 13px;
  }

  .services-page-form .button,
  .services-page-contact__form-shell .ff-btn,
  .services-page-contact__form-shell button[type="submit"],
  .services-page-contact__form-shell input[type="submit"] {
    height: 48px;
    min-height: 48px;
    margin-top: 28px;
    padding: 0 30px;
    font-size: 18px;
    line-height: 23px;
  }

  .services-page-form__note {
    font-size: 16px;
    line-height: 22px;
  }

  .portfolio-page-projects {
    padding: 64px 0 88px;
  }

  .portfolio-page-grid {
    gap: 56px 34px;
  }

  .portfolio-page-card__title,
  .portfolio-page-card__arrow {
    font-size: 25px;
    line-height: 32px;
  }

  .single-post-hero__title {
    font-size: 48px;
    line-height: 54px;
  }

  .blog-page-posts {
    padding: 96px 0;
  }

  .blog-page-grid {
    gap: 24px;
  }

  .blog-page-posts__intro {
    margin-bottom: 56px;
  }

  .blog-page-posts__intro .section-title {
    font-size: 42px;
    line-height: 48px;
  }

  .blog-page-card {
    border-radius: 22px;
  }

  .blog-page-card__excerpt {
    font-size: 16px;
    line-height: 22px;
  }

  .single-post-hero__excerpt,
  .single-post-content {
    font-size: 19px;
    line-height: 30px;
  }

  .single-post-hero__content {
    padding: 0;
    border-radius: 0;
  }

  .single-post-hero__meta-grid {
    margin-bottom: 36px;
  }

  .portfolio-page-template .testimonials-section.portfolio-page-testimonial {
    padding-top: 76px;
  }

  .testimonial-card {
    height: 356px;
    min-height: 356px;
    padding: 36px 32px 32px;
  }

  .testimonial-card__quote {
    margin-bottom: 34px;
    font-size: 21px;
    line-height: 28px;
  }

  .testimonial-card__name {
    font-size: 22px;
  }

  .testimonial-card__detail {
    font-size: 18px;
  }

  .cta-section,
  .portfolio-page-template .cta-section {
    padding-top: 96px;
  }

  .cta-card {
    height: 354px;
    min-height: 354px;
    padding: 58px 74px;
    border-radius: 42px;
  }

  .cta-card .section-title,
  .portfolio-page-template .cta-card .section-title {
    font-size: 36px;
    line-height: 44px;
  }

  .portfolio-case-study__cover {
    min-height: 540px;
    margin-bottom: 88px;
    border-radius: 42px;
  }

  .portfolio-case-study__cover-panel {
    padding: 60px;
  }

  .portfolio-case-study__cover-panel h1 {
    font-size: 48px;
    line-height: 54px;
  }

  .portfolio-case-study__cover-media {
    min-height: 540px;
  }

  .portfolio-case-study__header {
    margin-bottom: 58px;
    padding-bottom: 34px;
  }

  .portfolio-case-study__intro {
    font-size: 24px;
    line-height: 32px;
  }

  .portfolio-case-study__context-grid,
  .portfolio-case-study__split {
    gap: 62px;
    margin-bottom: 62px;
  }

  .portfolio-case-study__split {
    margin-top: 62px;
  }

  .portfolio-case-study__text-block h2,
  .portfolio-case-study__details h2,
  .portfolio-case-study__section h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .portfolio-case-study__text-block p,
  .portfolio-case-study__details p,
  .portfolio-case-study__section p,
  .portfolio-case-study__section li {
    font-size: 19px;
    line-height: 27px;
  }

  .portfolio-case-study__gallery {
    margin: 62px 0;
  }

  .portfolio-case-study__gallery--lead {
    margin: 62px 0 72px;
  }

  .portfolio-case-study__section--results {
    margin-top: 78px;
    padding-top: 40px;
  }
}

@media (max-width: 960px) {
  .hero-card,
  .blog-page-banner__card,
  .about-layout,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .blog-page-banner__card {
    min-height: auto;
    padding: 2.5rem;
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .hero-card__content,
  .blog-page-banner__content {
    width: 100%;
    min-height: 0;
  }

  .hero-card__title,
  .blog-page-banner__title {
    max-width: none;
    font-size: clamp(2.7rem, 8vw, 3.625rem);
    line-height: 1.12;
  }

  .hero-card__body,
  .blog-page-banner__body {
    max-width: none;
    margin-top: 0;
    font-size: 1.125rem;
    line-height: 1.5;
    white-space: normal;
  }

  .hero-card__media,
  .blog-page-banner__media {
    width: 100%;
    max-width: 352px;
    height: auto;
    aspect-ratio: 352 / 479.76;
    justify-self: center;
    border-radius: 30px;
  }

  .hero-card__title br,
  .about-card .section-copy br,
  .service-card__body br,
  .cta-card .section-title br,
  .cta-card .section-summary br {
    display: none;
  }

  .hero-card .button {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin-top: 2rem;
    height: auto;
    min-height: 64px;
    padding: 14px 32px;
  }

  .services-layout {
    width: 100%;
    margin-top: 56px;
  }

  .services-section .container {
    width: min(100vw - 2rem, 1248px);
  }

  .services-section {
    min-height: 0;
    padding: 88px 0 96px;
  }

  .services-page-offers .container,
  .services-page-contact .container {
    width: min(100vw - 2rem, 1121px);
  }

  .testimonials-section .container,
  .testimonials-section .section-intro {
    width: 100%;
  }

  .testimonials-marquee {
    margin-top: 44px;
  }

  .testimonial-card {
    flex-basis: 360px;
    width: 360px;
    height: 340px;
    min-height: 340px;
    padding: 38px 32px 34px;
  }

  .services-section .section-title {
    white-space: normal;
  }

  .services-section .section-title,
  .portfolio-section .section-title,
  .testimonials-section .section-title {
    font-size: clamp(2.25rem, 6.2vw, 3.375rem);
    line-height: 1.08;
  }

  .services-section .section-summary,
  .portfolio-section .section-summary,
  .cta-card .section-summary {
    font-size: clamp(1.25rem, 3.2vw, 1.75rem);
    line-height: 1.4;
  }

  .services-row {
    flex-direction: column;
  }

  .services-page-card,
  .services-page-card--left,
  .services-page-card--right {
    grid-column: auto;
    width: 100%;
    align-self: stretch;
  }

  .services-page-offers__stack {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-page-contact .section-title {
    font-size: clamp(2.25rem, 6.2vw, 3.375rem);
    line-height: 1.08;
  }

  .contact-page-intro {
    padding: 56px 0 64px;
  }

  .contact-page-intro .section-title {
    font-size: clamp(2.25rem, 6.2vw, 3.375rem);
    line-height: 1.08;
  }

  .contact-page-intro .section-summary {
    font-size: 20px;
    line-height: 1.45;
  }

  .services-page-banner__title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .services-page-contact__form-shell {
    width: 100%;
  }

  .contact-page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
  }

  .contact-page-info__intro,
  .contact-page-info__list {
    padding: 0;
    border-radius: 0;
  }

  .contact-page-info__intro h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .contact-page-form-section {
    padding-bottom: 88px;
  }

  .legal-page {
    padding: 56px 0 88px;
  }

  .legal-page__card {
    padding: 48px 42px;
    border-radius: 36px;
  }

  .legal-page__title {
    font-size: clamp(2.25rem, 6.2vw, 3.375rem);
    line-height: 1.08;
  }

  .services-page-contact__form-shell .ff-el-form-control,
  .services-page-contact__form-shell input:not([type="radio"]):not([type="checkbox"]),
  .services-page-contact__form-shell textarea,
  .services-page-contact__form-shell select {
    min-height: 52px;
    padding: 13px 16px;
    font-size: 18px;
    line-height: 23px;
  }

  .services-page-contact__form-shell select,
  .services-page-form select {
    padding-right: 52px;
    background:
      linear-gradient(45deg, transparent 50%, #374375 50%) calc(100% - 28px) 50% / 6px 6px no-repeat,
      linear-gradient(135deg, #374375 50%, transparent 50%) calc(100% - 23px) 50% / 6px 6px no-repeat,
      #fcfcfc;
  }

  .services-page-form {
    gap: 20px;
  }

  .services-page-form__field {
    gap: 10px;
  }

  .services-page-form__label,
  .services-page-form__budget legend,
  .services-page-form__budget label {
    font-size: 19px;
    line-height: 25px;
  }

  .services-page-form__budget {
    gap: 12px;
  }

  .services-page-form__budget input[type="radio"] {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 7px;
  }

  .services-page-form__budget input[type="radio"]::after {
    width: 13px;
    height: 13px;
  }

  .services-page-form .button,
  .services-page-contact__form-shell .ff-btn,
  .services-page-contact__form-shell button[type="submit"],
  .services-page-contact__form-shell input[type="submit"] {
    height: 48px;
    min-height: 48px;
    margin-top: 28px;
    padding: 0 30px;
    font-size: 18px;
    line-height: 23px;
  }

  .services-page-form__note {
    font-size: 16px;
    line-height: 22px;
  }

  .service-card,
  .service-card--wide-top,
  .service-card--narrow-top,
  .service-card--narrow-bottom,
  .service-card--wide-bottom {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 2.5rem 2rem;
    border-radius: 2rem;
    --service-inner-width: 100%;
    --service-pad-x: 2rem;
  }

  .service-card__inner,
  .service-card__body {
    max-width: none;
  }

  .service-card__inner {
    width: 100%;
  }

  .service-card__body,
  .service-card--wide-top .service-card__body,
  .service-card--narrow-top .service-card__body,
  .service-card--narrow-bottom .service-card__body,
  .service-card--wide-bottom .service-card__body {
    width: 100%;
    max-width: 100%;
  }

  .service-card__title {
    font-size: clamp(2rem, 4.7vw, 2.5rem);
  }

  .service-card__body,
  .portfolio-card__excerpt {
    font-size: 18px;
    line-height: 1.45;
  }

  .services-section .button {
    width: auto;
    max-width: 100%;
    margin-top: 2.5rem;
    padding-inline: 1.75rem;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__bar {
    justify-content: space-between;
  }

  .site-branding {
    margin-right: auto;
  }

  .site-navigation {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    margin-left: 0;
    padding: 0 1.25rem;
    background: #fcfcfc;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
    transform: translateY(-10px);
    z-index: 50;
    transition:
      max-height var(--motion-base) var(--motion-ease),
      opacity var(--motion-base) var(--motion-ease),
      transform var(--motion-base) var(--motion-ease),
      padding var(--motion-base) var(--motion-ease);
  }

  .site-navigation.is-open {
    max-height: 30rem;
    padding: 1rem 1.25rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-navigation .menu,
  .site-footer__nav .menu,
  .site-footer__legal .menu {
    flex-direction: column;
    align-items: center;
  }

  .site-footer__newsletter {
    width: min(100%, 560px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
    text-align: center;
  }

  .site-footer__newsletter-form {
    grid-template-columns: 1fr;
  }

  .site-footer__newsletter-message {
    grid-column: 1;
    margin-top: 0;
  }

  .site-navigation .menu {
    gap: 0.35rem;
    width: 100%;
  }

  .site-navigation .menu > li {
    display: flex;
    justify-content: center;
    width: 100%;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      opacity var(--motion-base) var(--motion-ease),
      transform var(--motion-base) var(--motion-ease);
  }

  .site-navigation.is-open .menu > li {
    opacity: 1;
    transform: translateY(0);
  }

  .site-navigation.is-open .menu > li:nth-child(2) {
    transition-delay: 35ms;
  }

  .site-navigation.is-open .menu > li:nth-child(3) {
    transition-delay: 70ms;
  }

  .site-navigation.is-open .menu > li:nth-child(4) {
    transition-delay: 105ms;
  }

  .site-navigation.is-open .menu > li:nth-child(5) {
    transition-delay: 140ms;
  }

  .site-navigation a {
    min-height: auto;
    justify-content: center;
    width: auto;
    padding: 0.5rem 0 0.7rem;
  }

  .site-navigation a::after {
    bottom: -0.05rem;
  }

  .site-navigation li:not(.current-menu-item):not(.current_page_item) > a:hover::after {
    opacity: 0;
    transform: scaleX(0);
  }

  .site-navigation .current-menu-item > a::after,
  .site-navigation .current_page_item > a::after {
    left: 0;
    bottom: -0.05rem;
    width: 100%;
    transform: none;
  }

  .hero-card__title,
  .section-title,
  .archive-title,
  .entry-title {
    max-width: none;
  }

  .about-visual {
    width: 100%;
    max-width: 455px;
    height: auto;
    aspect-ratio: 455 / 529;
    justify-self: center;
  }

  .about-visual__stamp {
    width: 84px;
    height: 84px;
    top: -25px;
    left: -25px;
  }

  .about-visual__stamp text {
    font-size: 14.5px;
  }

  .about-card {
    width: 100%;
    min-height: auto;
    padding: 3rem 2rem;
    margin-inline: auto;
  }

  .about-card .section-copy {
    width: auto;
    min-height: 0;
  }

  .about-section {
    padding-block: 96px;
  }

  .about-layout {
    gap: 2rem;
    justify-items: center;
  }

  .about-card .section-title {
    font-size: clamp(1.9rem, 4.2vw, 2rem);
    line-height: 1.22;
  }

  .about-card .section-copy {
    font-size: 18px;
    line-height: 1.45;
  }

  .site-footer {
    padding: 40px 0 0;
  }

  .site-footer .container {
    width: min(1121px, calc(100vw - 2rem));
  }

  .site-footer__card {
    width: 100%;
    padding: 2rem 1.5rem;
    height: auto;
    min-height: 0;
    border-radius: 50px 50px 0 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }

  .site-branding__logo--footer,
  .site-logo--footer {
    width: 200px;
    min-width: 0;
  }

  .site-footer__nav .menu,
  .site-footer__legal .menu {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  .site-footer__nav a,
  .site-footer__legal a {
    text-transform: none;
  }

  .site-footer__nav a {
    text-transform: uppercase;
  }

  .portfolio-card__content {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .portfolio-card__link {
    justify-self: start;
    font-size: 20px;
  }

  .site-footer__social {
    justify-content: center;
  }

  .portfolio-section {
    padding-bottom: 96px;
  }

  .portfolio-page-banner__title {
    font-size: clamp(2.25rem, 6.2vw, 3.625rem);
    line-height: 1.12;
  }

  .portfolio-page-projects {
    padding: 88px 0;
  }

  .portfolio-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 28px;
  }

  .portfolio-page-testimonial__card {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .portfolio-page-template .cta-section {
    padding-bottom: 40px;
  }

  .blog-page-banner__card {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 0;
    padding: 2.5rem;
    border-radius: 50px;
  }

  .blog-page-banner__content {
    width: 100%;
    min-height: 0;
  }

  .blog-page-banner__title,
  .single-post-hero__title {
    font-size: clamp(2.7rem, 8vw, 3.625rem);
    line-height: 1.12;
  }

  .blog-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 28px;
  }

  .blog-page-banner__media {
    width: 100%;
    max-width: 352px;
    height: auto;
    aspect-ratio: 352 / 479.76;
    justify-self: center;
    border-radius: 30px;
  }

  .blog-page-card__media {
    border-radius: 26px;
  }

  .single-post-hero__content,
  .single-post-content,
  .single-post-nav {
    width: min(720px, 100%);
  }

  .single-post-hero__content {
    padding: 0;
    border-radius: 0;
  }

  .single-post-hero__meta-grid {
    gap: 20px;
  }

  .single-post-hero__media {
    border-radius: 34px;
  }

  .portfolio-case-study__article {
    --portfolio-case-gutter: 2rem;
    padding: 0 0 72px;
  }

  .portfolio-case-study__cover {
    grid-template-columns: 1fr;
    min-height: 0;
    width: calc(100% - var(--portfolio-case-gutter));
    max-width: var(--portfolio-case-max);
    margin: 24px auto 72px;
    border-radius: 36px;
  }

  .portfolio-case-study__cover-panel {
    padding: 56px 2rem;
  }

  .portfolio-case-study__cover-panel h1 {
    font-size: clamp(2.6rem, 7vw, 3.625rem);
    line-height: 1.12;
  }

  .portfolio-case-study__cover-media {
    min-height: 420px;
  }

  .portfolio-case-study__inner {
    width: calc(100% - var(--portfolio-case-gutter));
    max-width: var(--portfolio-case-max);
  }

  .portfolio-case-study__header {
    margin-bottom: 56px;
    padding: 0 0 32px;
  }

  .portfolio-case-study__intro {
    font-size: clamp(1.35rem, 3.2vw, 1.75rem);
    line-height: 1.35;
  }

  .portfolio-case-study__context-grid,
  .portfolio-case-study__split {
    grid-template-columns: 1fr;
    gap: 42px;
    align-items: start;
  }

  .portfolio-case-study__details {
    justify-self: start;
    padding: 32px;
  }

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

  .portfolio-case-study__gallery--lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-case-study__gallery figure,
  .portfolio-case-study__gallery figure:nth-child(6n + 1),
  .portfolio-case-study__gallery figure:nth-child(6n + 2),
  .portfolio-case-study__gallery figure:nth-child(6n + 3),
  .portfolio-case-study__gallery figure:nth-child(6n + 4),
  .portfolio-case-study__gallery figure:nth-child(6n + 5),
  .portfolio-case-study__gallery figure:nth-child(6n) {
    grid-column: span 3;
    aspect-ratio: 16 / 9;
  }

  .portfolio-card {
    padding: 1.5rem;
  }

  .portfolio-card__title {
    font-size: clamp(1.5rem, 3.8vw, 1.75rem);
    line-height: 1.2;
  }

  .testimonials-section {
    padding: 88px 0 96px;
  }

  .testimonials-marquee {
    margin-top: 40px;
  }

  .testimonial-card {
    flex-basis: 320px;
    width: 320px;
    height: 310px;
    min-height: 310px;
    padding: 34px 26px 30px;
  }

  .testimonial-card__quote {
    margin-bottom: 28px;
    font-size: 19px;
    line-height: 1.42;
  }

  .testimonial-card__name {
    font-size: 21px;
  }

  .testimonial-card__detail {
    font-size: 17px;
  }

  .cta-section {
    padding-top: 96px;
  }

  .cta-card {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 3.25rem 1.75rem;
  }

  .cta-card .section-title {
    max-width: none;
    font-size: clamp(2rem, 4.8vw, 2.5rem);
    line-height: 1.2;
  }

  .cta-card .section-summary {
    max-width: none;
  }

  .cta-card .button {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 1.25rem, 1120px);
  }

  .site-header {
    padding-top: 1rem;
  }

  .site-header__bar,
  .site-footer__card {
    padding: 1rem;
  }

  .site-header__bar {
    min-height: 72px;
    padding-inline: 1rem;
    border-radius: 36px;
  }

  .site-header__toggle {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
  }

  .about-section .container,
  .services-section .container,
  .portfolio-section .container,
  .testimonials-section .container,
  .cta-section .container {
    width: min(100vw - 1.25rem, 1318px);
  }

  .site-footer .container {
    width: min(100vw - 0.5rem, 1318px);
  }

  .site-branding__logo,
  .site-branding__placeholder {
    width: min(151px, 42vw);
    flex-basis: min(151px, 42vw);
  }

  .site-branding__logo img {
    width: 100%;
  }

  .hero-card,
  .about-card,
  .service-card,
  .portfolio-card,
  .testimonial-card,
  .cta-card,
  .content-card,
  .archive-shell {
    border-radius: 1.75rem;
  }

  .hero-card__media {
    width: min(100%, 280px);
    min-height: 0;
    justify-self: center;
  }

  .portfolio-card__link,
  .text-link {
    justify-self: start;
  }

  .hero-card {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .hero-card__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-card__title {
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .hero-card__body,
  .about-card .section-copy,
  .service-card__body,
  .services-page-card__body,
  .portfolio-card__excerpt,
  .testimonial-card__quote,
  .cta-card .section-summary {
    font-size: 18px;
    line-height: 1.45;
  }

  .hero-card .button,
  .services-section .button,
  .portfolio-section .button,
  .cta-card .button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    padding-inline: 1.25rem;
  }

  .hero-card .button {
    width: min(100%, 340px);
    min-height: 76px;
    margin-top: 0;
    margin-inline: auto;
    padding: 16px 32px;
    line-height: 1.18;
  }

  .about-section {
    padding-block: 72px;
  }

  .about-card {
    padding: 2rem 1.25rem;
    border-radius: 1.5rem;
  }

  .about-card .section-title {
    font-size: 28px;
    line-height: 1.25;
  }

  .services-section .section-label,
  .portfolio-section .section-label,
  .testimonials-section .section-label,
  .about-card .section-label {
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .services-section .section-title,
  .portfolio-section .section-title,
  .testimonials-section .section-title,
  .services-page-contact .section-title {
    font-size: 34px;
    line-height: 1.08;
  }

  .services-section .section-summary,
  .portfolio-section .section-summary {
    font-size: 18px;
    line-height: 1.45;
  }

  .service-card,
  .service-card--wide-top,
  .service-card--narrow-top,
  .service-card--narrow-bottom,
  .service-card--wide-bottom {
    height: auto;
    padding: 2rem 1.6rem;
    border-radius: 1.5rem;
  }

  .services-page-banner {
    padding-top: 32px;
  }

  .services-page-banner__card {
    min-height: 96px;
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .services-page-banner__body {
    margin-top: 0.85rem;
    font-size: 14px;
    line-height: 1.45;
  }

  .services-page-offers {
    padding: 48px 0 72px;
  }

  .portfolio-page-banner {
    padding-top: 32px;
  }

  .portfolio-page-banner__card {
    min-height: 0;
    padding: 2rem 1.25rem;
    border-radius: 1.5rem;
  }

  .portfolio-page-banner__title {
    font-size: 34px;
    line-height: 1.08;
  }

  .portfolio-page-banner__body {
    margin-top: 0.85rem;
    font-size: 16px;
    line-height: 1.45;
  }

  .portfolio-page-projects {
    padding: 48px 0 72px;
  }

  .portfolio-page-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .portfolio-page-card__media {
    border-radius: 1.5rem;
  }

  .portfolio-page-card__footer {
    margin-top: 1rem;
  }

  .portfolio-page-card__title,
  .portfolio-page-card__arrow {
    font-size: 24px;
    line-height: 1.2;
  }

  .testimonials-section.portfolio-page-testimonial {
    padding: 72px 0;
  }

  .portfolio-page-testimonial .section-intro {
    margin-bottom: 40px;
  }

  .blog-page-banner {
    padding-top: 32px;
  }

  .blog-page-banner__card {
    min-height: 0;
    padding: 1.5rem;
    border-radius: 1.75rem;
    gap: 1.25rem;
  }

  .blog-page-banner__eyebrow,
  .blog-page-card__meta,
  .single-post-hero__meta {
    font-size: 13px;
    line-height: 18px;
  }

  .blog-page-banner__title,
  .single-post-hero__title {
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .blog-page-banner__body {
    margin-top: 0;
    font-size: 18px;
    line-height: 1.45;
  }

  .blog-page-banner__media {
    width: min(100%, 280px);
    max-width: 280px;
    min-height: 0;
    justify-self: center;
  }

  .blog-page-posts {
    padding: 48px 0 72px;
  }

  .blog-page-posts__intro {
    margin-bottom: 36px;
  }

  .blog-page-posts__intro .section-title {
    font-size: 34px;
    line-height: 1.08;
  }

  .blog-page-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .blog-page-card__media {
    border-radius: 1rem;
  }

  .blog-page-card__content {
    padding-top: 16px;
  }

  .blog-page-card__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .blog-page-card__excerpt,
  .single-post-content {
    font-size: 16px;
    line-height: 1.45;
  }

  .single-post-hero {
    padding: 32px 0 34px;
  }

  .single-post-hero__content {
    padding: 0;
    border-radius: 0;
  }

  .single-post-hero__meta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .single-post-hero__meta-item {
    gap: 5px;
  }

  .single-post-hero__meta-item span {
    font-size: 12px;
    line-height: 17px;
  }

  .single-post-hero__meta-item time,
  .single-post-hero__meta-item strong {
    font-size: 14px;
    line-height: 20px;
  }

  .single-post-hero__excerpt {
    font-size: 19px;
    line-height: 27px;
  }

  .single-post-hero__read-link {
    margin-top: 28px;
    font-size: 13px;
    line-height: 18px;
  }

  .single-post-hero__media {
    aspect-ratio: 1.2 / 1;
    border-radius: 1.5rem;
  }

  .single-post-content-wrap {
    padding-top: 46px;
  }

  .single-post-content h2 {
    font-size: 28px;
  }

  .single-post-content h3 {
    font-size: 24px;
  }

  .single-post-content blockquote {
    margin: 34px 0;
    padding: 1.5rem 1.25rem;
    border-radius: 1.5rem;
    font-size: 20px;
    line-height: 29px;
  }

  .single-post-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin: 54px auto 72px;
    padding-top: 28px;
  }

  .single-post-nav__link {
    justify-content: space-between;
    font-size: 18px;
  }

  .single-post-nav__link--next {
    margin-left: 0;
  }

  .portfolio-case-study__article {
    --portfolio-case-gutter: 1.25rem;
    padding: 0 0 56px;
  }

  .portfolio-case-study__cover {
    width: calc(100% - var(--portfolio-case-gutter));
    max-width: var(--portfolio-case-max);
    margin: 14px auto 48px;
    border-radius: 1.5rem;
  }

  .portfolio-case-study__cover-panel {
    padding: 42px 1.25rem;
  }

  .portfolio-case-study__cover-panel span {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .portfolio-case-study__cover-panel h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .portfolio-case-study__cover-media {
    min-height: 320px;
  }

  .portfolio-case-study__inner {
    width: calc(100% - var(--portfolio-case-gutter));
    max-width: var(--portfolio-case-max);
  }

  .portfolio-case-study__header {
    margin-bottom: 42px;
    padding: 0 0 26px;
  }

  .portfolio-case-study__intro {
    font-size: 22px;
    line-height: 31px;
  }

  .portfolio-case-study__text-block p,
  .portfolio-case-study__details p,
  .portfolio-case-study__section p,
  .portfolio-case-study__section li {
    font-size: 18px;
    line-height: 26px;
  }

  .portfolio-case-study__text-block h2,
  .portfolio-case-study__details h2,
  .portfolio-case-study__section h2 {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 34px;
  }

  .portfolio-case-study__context-grid,
  .portfolio-case-study__split {
    gap: 34px;
    margin-bottom: 44px;
  }

  .portfolio-case-study__gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 42px 0;
  }

  .portfolio-case-study__gallery figure,
  .portfolio-case-study__gallery--lead figure {
    border-radius: 1.5rem;
  }

  .portfolio-case-study__gallery--lead {
    grid-template-columns: 1fr;
  }

  .portfolio-case-study__gallery figure,
  .portfolio-case-study__gallery figure:nth-child(6n + 1),
  .portfolio-case-study__gallery figure:nth-child(6n + 2),
  .portfolio-case-study__gallery figure:nth-child(6n + 3),
  .portfolio-case-study__gallery figure:nth-child(6n + 4),
  .portfolio-case-study__gallery figure:nth-child(6n + 5),
  .portfolio-case-study__gallery figure:nth-child(6n) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .portfolio-case-study__section--results {
    margin-top: 48px;
    padding-top: 30px;
  }

  .portfolio-case-study__navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-top: 54px;
    padding-top: 28px;
  }

  .portfolio-case-study__nav-link {
    justify-content: space-between;
    font-size: 20px;
  }

  .portfolio-case-study__nav-link--next {
    margin-left: 0;
  }

  .portfolio-case-study__section--solution {
    padding-left: 0;
  }

  .services-page-card {
    padding: 1.35rem 1.15rem;
    border-radius: 1.5rem;
  }

  .services-page-card__title {
    font-size: 23px;
    line-height: 1.18;
  }

  .services-page-card__body {
    font-size: 17px;
    line-height: 24px;
  }

  .services-page-card__price {
    font-size: 18px;
    line-height: 24px;
  }

  .services-page-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-page-faqs {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .services-page-faqs .section-intro {
    margin-bottom: 36px;
  }

  .services-page-faqs .section-title {
    font-size: 34px;
    line-height: 1.08;
  }

  .services-page-faqs__list {
    padding: 0;
    border-radius: 0;
  }

  .services-page-faq__question {
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 18px;
    min-height: 84px;
    padding: 20px 0;
    font-size: 21px;
    line-height: 28px;
  }

  .services-page-faq__icon {
    width: 24px;
    height: 24px;
  }

  .services-page-faq__icon::before,
  .services-page-faq__icon::after {
    width: 22px;
  }

  .services-page-faq__answer {
    max-width: calc(100% - 44px);
    padding-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
  }

  .services-page-contact {
    padding-top: 72px;
  }

  .contact-page-intro {
    padding: 42px 0 48px;
  }

  .contact-page-intro .section-label {
    margin-bottom: 20px;
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .contact-page-intro .section-title {
    font-size: 34px;
    line-height: 1.08;
  }

  .contact-page-intro .section-title br {
    display: none;
  }

  .contact-page-intro .section-summary {
    font-size: 18px;
    line-height: 1.45;
  }

  .contact-page-form-section {
    padding-bottom: 72px;
  }

  .contact-page-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-page-info {
    gap: 24px;
  }

  .contact-page-info__intro,
  .contact-page-info__list {
    padding: 0;
    border-radius: 0;
  }

  .contact-page-info__list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 0;
  }

  .contact-page-info__icon {
    width: 34px;
    height: 34px;
  }

  .contact-page-info__icon svg {
    width: 17px;
    height: 17px;
  }

  .contact-page-info__intro h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .contact-page-info__intro p,
  .contact-page-info__list a,
  .contact-page-info__list strong {
    font-size: 16px;
    line-height: 24px;
  }

  .services-page-contact .section-title {
    font-size: 30px;
    line-height: 1.18;
  }

  .services-page-contact .section-summary {
    font-size: 18px;
    line-height: 1.45;
  }

  .services-page-contact__form-shell {
    padding: 1.25rem 1rem;
    border-radius: 1.5rem;
  }

  .contact-page-form-shell {
    border-radius: 1.5rem;
  }

  .contact-page-form textarea {
    min-height: 180px;
  }

  .legal-page {
    padding: 42px 0 72px;
  }

  .legal-page__card {
    padding: 2rem 1.25rem;
    border-radius: 1.5rem;
  }

  .legal-page__header {
    margin-bottom: 34px;
  }

  .legal-page__header .section-label {
    margin-bottom: 20px;
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .legal-page__title {
    font-size: 34px;
    line-height: 1.08;
  }

  .legal-page__content {
    font-size: 16px;
    line-height: 1.55;
  }

  .services-page-contact__form-shell .ff-el-form-control,
  .services-page-contact__form-shell input:not([type="radio"]):not([type="checkbox"]),
  .services-page-contact__form-shell textarea,
  .services-page-contact__form-shell select {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 22px;
  }

  .services-page-contact__form-shell select,
  .services-page-form select {
    padding-right: 46px;
    background:
      linear-gradient(45deg, transparent 50%, #374375 50%) calc(100% - 25px) 50% / 6px 6px no-repeat,
      linear-gradient(135deg, #374375 50%, transparent 50%) calc(100% - 20px) 50% / 6px 6px no-repeat,
      #fcfcfc;
  }

  .services-page-form__phone {
    grid-template-columns: 1fr;
  }

  .services-page-form__label,
  .services-page-form__budget legend,
  .services-page-form__budget label {
    font-size: 17px;
    line-height: 23px;
  }

  .services-page-form {
    gap: 18px;
  }

  .services-page-form__field {
    gap: 8px;
  }

  .services-page-form__budget input[type="radio"] {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .services-page-form__budget input[type="radio"]::after {
    width: 11px;
    height: 11px;
  }

  .services-page-form__note {
    font-size: 14px;
    line-height: 20px;
  }

  .portfolio-page-template .testimonial-card.portfolio-page-testimonial__card {
    padding: 2rem 1.25rem;
  }

  .portfolio-page-testimonial__quote br {
    display: none;
  }

  .service-card__inner,
  .service-card__body,
  .service-card--wide-top .service-card__body,
  .service-card--narrow-top .service-card__body,
  .service-card--narrow-bottom .service-card__body,
  .service-card--wide-bottom .service-card__body {
    width: 100%;
    max-width: 100%;
  }

  .service-card__title {
    margin-bottom: 0.75rem;
    font-size: 30px;
  }

  .services-section .button {
    margin-top: 2rem;
    min-height: 52px;
    font-size: 20px;
    line-height: 1.3;
  }

  .portfolio-list {
    margin-top: 56px;
    gap: 1.25rem;
  }

  .portfolio-card {
    border-radius: 1.75rem;
  }

  .portfolio-card__media {
    margin-bottom: 1.25rem;
    border-radius: 1.5rem;
  }

  .portfolio-card__link {
    font-size: 18px;
  }

  .testimonial-card {
    flex-basis: min(288px, calc(100vw - 3rem));
    width: min(288px, calc(100vw - 3rem));
    height: 292px;
    min-height: 292px;
    text-align: center;
    padding: 30px 22px 28px;
  }

  .testimonial-card__name {
    font-size: 20px;
  }

  .testimonial-card__quote {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.4;
  }

  .testimonial-card__detail {
    font-size: 16px;
    line-height: 1.35;
  }

  .cta-card .section-title {
    font-size: 30px;
    line-height: 1.18;
  }

  .site-footer__card {
    height: auto;
    min-height: 0;
    border-radius: 36px 36px 0 0;
  }

  .site-footer__social {
    justify-content: center;
  }
}
