/* CSS Document */

/* ========================================
   FONTS
======================================== */

@font-face {
  font-family: "Chalet London";
  src:
    url("/assets/fonts/Chalet-LondonSixty.woff2") format("woff2"),
    url("/assets/fonts/Chalet-LondonSixty.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chalet NewYork";
  src:
    url("/assets/fonts/Chalet-NewYorkSixty.woff2") format("woff2"),
    url("/assets/fonts/Chalet-NewYorkSixty.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   TOKENS
======================================== */

:root {
  --container-max: 1440px;
  --page-inset: 30px;

  --radius-panel: 25px;
  --radius-card: 27px;
  --radius-card-active: 30px;
  --radius-pill: 999px;

  --color-black: #000;
  --color-white: #fff;
  --color-text-primary: #000;
  --color-text-secondary: #879999;
  --color-text-muted: #666;
  --color-hero-bg: #000;
  --color-hero-text: #fff;
  --color-hero-muted: #a6bdbd;
  --color-accent: #879999;
  --color-divider: #000;
  --color-service-ellipse-bg: rgba(217, 232, 232, 0.5);
  --color-testimonial-bg: rgba(255, 255, 255, 0.9);
  --color-testimonial-footer: rgba(142, 142, 142, 0.55);
  --color-mobile-nav-bg: #f7f7f7;
  --color-mobile-nav-text: #879999;
  --color-services-panel-outer: rgba(166, 189, 189, 0.35);
  --color-services-panel-head: #748484;
  --color-services-panel-body: #8da1a1;
  --color-services-panel-circle: #a7b6b6;

  --font-family-base: "Chalet London", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-family-footer-accent: "Chalet NewYork", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --font-size-display: 80px;
  --font-size-section: 50px;
  --font-size-service: 34px;
  --font-size-body-lg: 23px;
  --font-size-ui: 20px;
  --font-size-footer: 17px;
  --font-size-small: 14px;

  --line-height-display: 84px;
  --line-height-section: 84px;
  --line-height-service: 38px;
  --line-height-body-lg: 30px;
  --line-height-hero-support: 28px;
  --line-height-footer: 30px;

  --tracking-tight: -0.02em;
  --tracking-nav: 0.01em;
  --tracking-footer: 0.19em;
  --tracking-small: 0.19em;

  --transition-fast: 0.25s ease;
  --transition-panel: 0.35s ease;
}

/* ========================================
   RESET / BASE
======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

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

button {
  appearance: none;
  cursor: pointer;
  background: transparent;
}

body {
  min-height: 100vh;
  font-family: var(--font-family-base);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  background: var(--color-black);
  text-rendering: optimizeLegibility;
}

body.mobile-nav-open {
  overflow: hidden;
}

/* ========================================
   LAYOUT
======================================== */

.site-main {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--page-inset);
  background: var(--color-white);
}

/* ========================================
   HEADER / HERO
======================================== */

.site-header {
  position: relative;
  min-height: 800px;
  background: var(--color-hero-bg);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 5%;
  right: 18px;
  width: 470px;
  height: 90%;
  max-height: none;
  background: url("/assets/img/horizontalWordMark.png") right center / contain no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.site-header__bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 70px 0 90px;
}

.site-brand {
  display: flex;
  align-items: flex-start;
}

.site-brand__mark {
  width: 50.79px;
  height: 83px;
  object-fit: contain;
}

.site-brand__wordmark {
  width: 133px;
  height: 45.43px;
  margin-top: 25px;
  margin-left: 25px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  padding-top: 28px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--font-size-ui);
  font-weight: 500;
  letter-spacing: var(--tracking-nav);
  color: var(--color-white);
}

.site-nav__list a,
.site-footer__nav a {
  letter-spacing: var(--tracking-nav);
}

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--color-white);
}

.site-nav__toggle-icon,
.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.site-nav__toggle-icon {
  position: relative;
}

.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav__toggle-icon::before {
  top: -8px;
}

.site-nav__toggle-icon::after {
  top: 8px;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(800px - 123px);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 202px 90px 90px;
}

.hero__headline {
  max-width: 920px;
  font-size: var(--font-size-display);
  line-height: var(--line-height-display);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-hero-text);
}

.hero__headline span {
  color: var(--color-hero-muted);
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 54px;
  margin-top: 35px;
}

.button--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 62px;
  border: 1px solid var(--color-hero-muted);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-hero-muted);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.button--hero:hover {
  color: var(--color-white);
  background: var(--color-hero-muted);
}

.hero__supporting-text {
  max-width: 670px;
  font-size: 24px;
  line-height: var(--line-height-hero-support);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-hero-text);
}

/* ========================================
   HOMEPAGE SERVICES
======================================== */

.services-section {
  margin-top: 30px;
}

.services-section__bg {
  min-height: 1030px;
  padding-bottom: 60px;
  background: url("/assets/img/bgHome.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.services-section__inner {
  padding: 74px 0 0;
}

.section-title {
  font-size: var(--font-size-section);
  line-height: var(--line-height-section);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  text-align: center;
  color: var(--color-text-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 72px 90px 0;
}

.service-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 215px;
  padding: 0 18px;
  text-align: center;
}

.service-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  width: 1px;
  height: 215px;
  background: var(--color-divider);
  opacity: 0.45;
}

.service-item__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-top: 18px;
  border: 1px solid var(--color-black);
  border-radius: 50%;
  background: var(--color-service-ellipse-bg);
  font-size: 34px;
  font-weight: 500;
}

.service-item__title {
  width: 100%;
  max-width: 257px;
  margin-top: 6px;
  font-size: var(--font-size-service);
  line-height: var(--line-height-service);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  text-align: center;
}

/* ========================================
   SERVICES PAGE
======================================== */

.page-intro--services {
  padding-top: 130px;
}

.page-intro--services .page-intro__inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.page-intro--services .page-intro__title {
  position: relative;
  top: -24px;
  margin: 0;
  font-size: 50px;
  line-height: 84px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-hero-muted);
}

.page-intro--services .page-intro__text {
  position: relative;
  top: -30px;
  max-width: 1120px;
  margin: 20px auto 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

.services-page-section {
  padding-top: 60px;
}

.services-page-section__inner {
  max-width: 1378px;
  margin: 0 auto;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 684px);
  justify-content: center;
  column-gap: 10px;
  row-gap: 10px;
}

.service-panel {
  height: 500px;
  padding: 10px;
  border-radius: 30px;
  background: var(--color-services-panel-outer);
}

.service-panel__head {
  display: flex;
  align-items: center;
  height: 140px;
  padding: 0 25px 0 40px;
  border-radius: 25px;
  background: var(--color-services-panel-head);
}

.service-panel__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  margin-right: 25px;
  border-radius: 50%;
  background: var(--color-services-panel-circle);
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
  color: var(--color-white);
}

.service-panel__title {
  margin: 0;
  font-size: 38px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.service-panel__body {
  height: 330px;
  margin-top: 10px;
  padding: 50px 25px 0 50px;
  border-radius: 25px;
  background: var(--color-services-panel-body);
  overflow: hidden;
}

.service-panel__intro {
  margin: 0;
  font-size: 26px;
  line-height: 46px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

.service-panel__list {
  margin: 25px 0 0;
}

.service-panel__list li {
  position: relative;
  margin: 0 0 15px;
  padding-left: 22px;
  font-size: 26px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

.service-panel__list li:last-child {
  margin-bottom: 0;
}

.service-panel__list li::before {
  content: "–";
  position: absolute;
  top: 0;
  left: 0;
}



/* ========================================
   SECTORS WE SERVE
======================================== */

.sectors-section {
  margin-top: 30px;
}

.sectors-section__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  column-gap: 48px;
  align-items: start;
  padding: 34px 36px 42px;
  background: #f7f7f7;
}

.sectors-section__title {
  margin: 0;
  font-size: 50px;
  line-height: 60px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text-secondary);
}

.sectors-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.sectors-section__column {
  display: flex;
  flex-direction: column;
}

.sector-item {
  padding: 0 14px 18px;
  margin: 0 0 26px;
  border-bottom: 1px solid #7d8c8c;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7d8c8c;
}

.sector-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

/* ========================================
   SECTORS WE SERVE
======================================== */

.sectors-section__inner {
  grid-template-columns: 420px 1fr;
  column-gap: 80px;
  padding: 30px 60px 60px;
}

.sectors-section__title {
  max-width: 400px;
  font-size: 46px;
  line-height: 50px;
}

.sectors-section__grid {
  column-gap: 30px;
  padding-top: 20px;
}

.sectors-section__column {
  max-width: 480px;
}

.sector-item {
  width: 100%;
  max-width: 440px;
  padding: 0 0 22px;
  margin-bottom: 26px;
}

@media (max-width: 1439px) {
  .sectors-section__inner {
    grid-template-columns: 420px 1fr;
    column-gap: 40px;
    padding: 30px 40px 50px;
  }

  .sectors-section__title {
    max-width: 400px;
    font-size: 42px;
    line-height: 50px;
  }
}
@media (max-width: 1198px) {
  .sectors-section__inner {
    grid-template-columns: 320px 1fr;
    column-gap: 20px;
    padding: 30px 30px 50px;
  }
  .sectors-section__grid {
  padding-top: 12px;
}

  .sectors-section__title {
    max-width: 300px;
    font-size: 34px;
    line-height: 40px;
  }

  .sector-item {
    font-size: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
  }
}

@media (max-width: 991px) {
  .sectors-section__inner {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 30px 24px 40px;
  }

  .sectors-section__title {
    max-width: none;
    font-size: 34px;
    line-height: 40px;
  }

  .sectors-section__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    padding-top: 0;
  }

  .sectors-section__column {
    max-width: none;
  }

  .sector-item {
    width: 100%;
    max-width: none;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
}

@media (max-width: 767px) {
  .sectors-section {
    margin-top: 14px;
  }

  .sectors-section__inner {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 28px 18px 30px;
  }

  .sectors-section__title {
    max-width: none;
    font-size: 34px;
    line-height: 40px;
  }

  .sectors-section__grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    column-gap: 0;
    padding-top: 0;
  }

  .sectors-section__column {
    max-width: none;
  }

  /* Treat ALL items as one continuous list */
  .sector-item {
    width: 100%;
    max-width: none;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #7d8c8c;
  }

  /* Only remove separator from VERY LAST item overall */
  .sectors-section__column:last-child .sector-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .sector-item:last-child {
  margin-bottom: 20px;
  border-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #7d8c8c;
}
}



/* ========================================
   TESTIMONIALS
======================================== */

.testimonials {
  position: relative;
  margin-top: 120px;
  padding: 0 100px;
  overflow: visible;
}

.testimonials__viewport {
  width: 100%;
}

.testimonials__track {
  display: flex;
  align-items: center;
  gap: 22px;
  will-change: transform;
}

.testimonials__track::before {
  content: "";
  flex: 0 0 180px;
}

.testimonials__arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 1;
  transform: translateY(-50%);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  font-size: 0;
  line-height: 0;
}

.testimonials__arrow--prev {
  left: 60px;
}

.testimonials__arrow--next {
  right: 60px;
}

.testimonials__arrow::before {
  content: "";
  display: block;
  width: 90px;
  height: 70px;
  background: url("/assets/img/navArrow.svg") center / contain no-repeat;
}

.testimonials__arrow--prev::before {
  transform: rotate(180deg);
}

.testimonials__arrow:hover {
  opacity: 1;
}

.testimonials__arrow.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.testimonial-card {
  position: relative;
  flex: 0 0 360px;
  width: 360px;
  height: 400px;
  border-radius: var(--radius-card);
  background: var(--color-testimonial-bg);
  opacity: 0.72;
  overflow: hidden;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.testimonial-card--active {
  z-index: 2;
  border-radius: var(--radius-card-active);
  transform: scale(1.075);
  transform-origin: center center;
  opacity: 1;
}

.testimonial-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 45px 23px 78px;
  text-align: center;
}

.testimonial-card__quote-mark {
  width: auto;
  height: 20px;
  margin: 0 auto 20px;
  opacity: 0.8;
}

.testimonial-card__quote {
  max-width: 100%;
  font-size: 23px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

.testimonial-card__attribution {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 120px;
  text-align: center;
}

.testimonial-card__name {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: var(--tracking-tight);
}

.testimonial-card__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-tight);
}

.testimonial-card__footer {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  border-radius: 0;
  background: var(--color-testimonial-footer);
  color: var(--color-white);
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
  margin-top: 30px;
  padding: 31px 70px 36px 90px;
  background: var(--color-white);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.site-footer__logo img {
  width: 113.62px;
  height: 186px;
  object-fit: contain;
}

.site-footer__content {
  text-align: right;
}

.site-footer__nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: var(--tracking-nav);
  font-style: normal;
}

.site-footer__address {
  margin-top: 28px;
  font-family: var(--font-family-footer-accent);
  font-size: var(--font-size-footer);
  line-height: var(--line-height-footer);
  letter-spacing: var(--tracking-footer);
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 400;
}

.site-footer__phone {
  margin-top: 30px;
  font-family: var(--font-family-footer-accent);
  font-size: var(--font-size-footer);
  line-height: var(--line-height-footer);
  letter-spacing: var(--tracking-footer);
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 400;
}

.site-footer__bottom {
  margin-top: 68px;
  font-size: var(--font-size-small);
  line-height: 30px;
  font-weight: 500;
  letter-spacing: var(--tracking-small);
  text-align: center;
  color: var(--color-text-muted);
  font-style: normal;
}

/* ========================================
   MOBILE NAV
======================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.mobile-nav.is-open {
  pointer-events: auto;
}

.mobile-nav__backdrop {
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 10px;
  border: 0;
  border-radius: 15px 0 0 0;
  background: transparent;
}

.mobile-nav__panel {
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--color-mobile-nav-bg);
  border-radius: 15px 0 0 0;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.32s ease;
  will-change: transform;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translate3d(0, 0, 0);
}

.mobile-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 25px 0;
}

.mobile-nav__brand {
  display: flex;
  align-items: flex-start;
}

.mobile-nav__brand .site-brand__mark {
  width: auto;
  height: 60px;
}

.mobile-nav__brand .site-brand__wordmark {
  display: none;
}

.mobile-nav__close {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-top: 39px;
  margin-right: 39px;
  padding: 0;
  border: 0;
  color: var(--color-text-primary);
}

.mobile-nav__close::before,
.mobile-nav__close::after {
  content: "";
  position: absolute;
  top: 15.5px;
  left: 0;
  width: 32px;
  height: 1px;
  background: currentColor;
}

.mobile-nav__close::before {
  transform: rotate(45deg);
}

.mobile-nav__close::after {
  transform: rotate(-45deg);
}

.mobile-nav__list {
  margin-top: 67px;
  padding: 0 15px 30px;
}

.mobile-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px 0 25px;
  margin-bottom: 50px;
}

.mobile-nav__item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -25px;
  left: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.75);
}

.mobile-nav__item:last-child {
  margin-bottom: 0;
}

.mobile-nav__item:last-child::after {
  display: none;
}

.mobile-nav__link {
  display: inline-block;
  padding: 0;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-mobile-nav-text);
}

.mobile-nav__icon {
  position: relative;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.mobile-nav__icon::before,
.mobile-nav__icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 19px;
  height: 1px;
  background: var(--color-text-primary);
}

.mobile-nav__icon::after {
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}




/* ========================================
   Smooth main content height transition
======================================== */

.transition-page {
  width: 100%;
  overflow: hidden;
  height: auto;
  transition: height 0.42s cubic-bezier(0.22, 1.1, 0.36, 1);
}


html.is-changing #swup {
  transition: opacity 0.28s ease;
}

html.is-animating #swup {
  opacity: 0;
}


/* ========================================
   Header behavior
======================================== */

.site-header {
  transition: min-height 0.42s cubic-bezier(0.22, 1.1, 0.36, 1);
}

/*.hero {
  transition: min-height 0.45s cubic-bezier(0.34, 1.12, 0.64, 1);
}

body:not(.page-home) .site-header {
  min-height: 163px;
}

body:not(.page-home) .hero {
  min-height: 0;
}*/

.hero__content,
.site-header::after {
  transition: opacity 0.35s ease;
}

body:not(.page-home) .hero__content,
body:not(.page-home) .site-header::after {
  opacity: 0;
  pointer-events: none;
}


/* ========================================
   desktop header adjustments for SWUP
======================================== */
.site-header {
  position: relative;
  min-height: 800px;
  background: var(--color-hero-bg);
  border-radius: var(--radius-panel);
  overflow: hidden;
  transition: min-height 0.45s cubic-bezier(0.34, 1.12, 0.64, 1);
}

.site-header::after {
  content: "";
  position: absolute;
  top: 5%;
  right: 18px;
  width: 470px;
  height: 90%;
  max-height: none;
  background: url("/assets/img/horizontalWordMark.png") right center / contain no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.site-header__bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 70px 0 90px;
}

.hero {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 202px 90px 90px;
}

body:not(.page-home) .site-header {
  min-height: 163px;
}

.hero__content,
.site-header::after {
  transition: opacity 0.35s ease;
}

body:not(.page-home) .hero__content,
body:not(.page-home) .site-header::after {
  opacity: 0;
  pointer-events: none;
}

body:not(.page-home) .hero__content {
  position: absolute;
  inset: 0;
  padding: 0;
}

/* ========================================
   Hero visibility (clean removal)
======================================== */

.page-home .hero {
  display: block; /* or leave default if you prefer */
}

body:not(.page-home) .hero {
  display: none;
}







/* ========================================
   1440 AND BELOW
======================================== */

@media (max-width: 1439px) {
  .services-grid {
    padding: 72px 40px 0;
  }

  .service-item__title {
    font-size: 30px;
  }

  .services-page-section__inner {
    max-width: 100%;
    padding: 0 20px;
  }

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

/* ========================================
   1199 AND BELOW
======================================== */

@media (max-width: 1199px) {
  .site-header__bar {
    padding: 40px 56px 0;
  }

  .hero__content {
    padding: 160px 56px 72px;
  }

  .hero__headline {
    font-size: 72px;
  }

  .hero__supporting-text {
    font-size: 22px;
    max-width: 560px;
  }

  .service-item {
    min-height: 150px;
    padding: 0 15px;
  }

  .service-item:not(:last-child)::after {
    height: 150px;
  }

  .service-item__number {
    width: 50px;
    height: 50px;
    margin-top: 18px;
    font-size: 26px;
  }

  .service-item__title {
    width: 100%;
    max-width: 257px;
    margin-top: 10px;
    font-size: 24px;
    line-height: 1.1em;
  }

  .page-intro--services {
    padding-top: 100px;
  }

  .page-intro--services .page-intro__inner {
    max-width: 980px;
    padding: 0 24px;
  }

  .page-intro--services .page-intro__text {
    max-width: 980px;
  }

  .services-page-section__inner {
    padding: 0 24px;
  }

  .service-panel__head {
    padding: 0 22px 0 28px;
  }

  .service-panel__number {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    margin-right: 18px;
    font-size: 28px;
  }

  .service-panel__title {
    font-size: 31px;
    line-height: 32px;
  }

  .service-panel__body {
    padding: 36px 22px 0 32px;
  }

  .service-panel__intro,
  .service-panel__list li {
    font-size: 22px;
    line-height: 36px;
  }

  .service-panel__list {
    margin-top: 34px;
  }

  .service-panel__list li {
    margin-bottom: 16px;
  }

  .testimonials {
    gap: 8px;
    padding: 0 70px;
  }

  .testimonials__arrow {
    width: 72px;
    height: 72px;
  }

  .testimonials__arrow::before {
    width: 80px;
    height: 60px;
  }

  .testimonials__track {
    gap: 0;
  }

  .testimonial-card {
    flex: 0 0 360px;
    width: 360px;
    height: 400px;
    transform: scale(0.8);
    transform-origin: center center;
    margin: 0 -25px;
  }

  .testimonial-card--active {
    transform: scale(0.9);
  }

  .site-footer {
    padding: 31px 56px 32px;
  }

  .site-footer__inner {
    gap: 28px;
  }

  .site-footer__logo img {
    width: auto;
    height: 158px;
  }

  .site-footer__nav ul {
    gap: 18px;
  }

  .site-footer__address {
    margin-top: 24px;
    font-size: 14px;
    line-height: 26px;
  }

  .site-footer__phone {
    margin-top: 24px;
    font-size: 14px;
    line-height: 26px;
  }

  .site-footer__bottom {
    margin-top: 40px;
    font-size: 12px;
    line-height: 26px;
  }
}

/* ========================================
   992 AND BELOW
======================================== */

@media (max-width: 991px) {
  .site-header__bar {
    padding: 42px 48px 0 56px;
  }

  .site-header::after {
    width: 380px;
    right: 12px;
  }

  .site-header {
    min-height: 650px;
  }

  .hero {
    min-height: calc(650px - 123px);
  }

  .hero__content {
    padding: 160px 56px 72px;
  }

  .hero__headline {
    max-width: 760px;
    font-size: 50px;
    line-height: 55px;
  }

  .hero__cta-row {
    gap: 34px;
    margin-top: 26px;
  }

  .hero__supporting-text {
    max-width: 400px;
    font-size: 17px;
    line-height: 24px;
  }

  .button--hero {
    height: 50px;
    font-size: 17px;
  }

  .services-section__inner {
    padding-top: 84px;
  }

  .section-title {
    font-size: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 46px 0;
    padding: 56px 10px 0;
  }

  .service-item {
    min-height: 120px;
    padding: 0 15px;
  }

  .service-item:not(:last-child)::after {
    height: 120px;
  }

  .service-item__number {
    width: 40px;
    height: 40px;
    margin-top: 18px;
    font-size: 20px;
  }

  .service-item__title {
    width: 100%;
    max-width: 257px;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.1em;
  }

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

  .page-intro--services .page-intro__title {
    font-size: 42px;
    line-height: 58px;
  }

  .page-intro--services .page-intro__text {
    margin-top: 28px;
    font-size: 19px;
    line-height: 26px;
  }

  .services-page-section {
    padding-top: 42px;
  }

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

  .service-panel {
    height: auto;
  }

  .service-panel__head {
    height: 118px;
  }

  .service-panel__body {
    height: auto;
    padding-bottom: 34px;
  }

  .testimonials {
    margin-top: 76px;
    padding: 0 65px;
  }

  .testimonials__track {
    gap: 10px;
  }

  .testimonials__track::before {
    flex: 0 0 70px;
  }

  .testimonials__arrow--prev {
    left: 30px;
  }

  .testimonials__arrow--next {
    right: 30px;
  }

  .testimonials__arrow {
    width: 72px;
    height: 72px;
  }

  .testimonials__arrow::before {
    width: 80px;
    height: 60px;
  }

  .testimonial-card {
    flex: 0 0 280px;
    width: 280px;
    height: 330px;
    margin: 0;
    transform: none;
  }

  .testimonial-card--active {
    transform: scale(1.05);
  }

  .testimonial-card__body {
    padding: 28px 24px 72px;
  }

  .testimonial-card__quote {
    font-size: 18px;
    line-height: 25px;
  }

  .testimonial-card__attribution {
    left: 20px;
    right: 20px;
    bottom: 100px;
  }

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

  .testimonial-card__meta {
    font-size: 13px;
  }

  .testimonial-card__footer {
    bottom: 24px;
    height: 52px;
    font-size: 18px;
  }

  .site-footer {
    padding: 40px 48px 34px 56px;
  }
}

/* ========================================
   768 AND BELOW
======================================== */

@media (max-width: 767px) {
  :root {
    --font-size-display: 54px;
    --line-height-display: 57px;
    --font-size-section: 50px;
    --line-height-section: 84px;
    --font-size-service: 34px;
    --line-height-service: 38px;
    --font-size-ui: 20px;
    --font-size-footer: 15px;
    --line-height-footer: 24px;
    --font-size-small: 14px;
  }

  .site-main {
    padding: 10px 0;
  }

  .site-header {
    min-height: auto;
    margin: 0 10px;
  }

  .site-header::after {
    top: 10%;
    right: 4px;
    width: 300px;
    height: 80%;
    background-position: right top;
    opacity: 0.18;
  }

  .site-header__bar {
    align-items: flex-start;
    padding: 25px 25px 0;
  }

  .site-brand__wordmark {
    display: none;
  }

  .site-brand__mark {
    width: auto;
    height: 60px;
  }

  .site-nav {
    padding-top: 7px;
  }

  .site-nav__list {
    display: none;
  }

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

  .site-nav__toggle-icon,
  .site-nav__toggle-icon::before,
  .site-nav__toggle-icon::after {
    width: 29px;
    height: 1px;
  }

  .site-nav__toggle-icon::before {
    top: -10px;
  }

  .site-nav__toggle-icon::after {
    top: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 110px 25px 68px;
  }

  .hero__headline {
    max-width: 340px;
    font-size: var(--font-size-display);
    line-height: var(--line-height-display);
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 16px;
  }

  .hero__supporting-text {
    order: 1;
    max-width: 290px;
    font-size: 16px;
    line-height: 26px;
  }

  .button--hero {
    order: 2;
    width: 152px;
    height: 47.12px;
    font-size: 15.2px;
  }

  .services-section__bg {
    min-height: auto;
    padding-bottom: 30px;
  }

  .services-section__inner {
    padding: 66px 0 0;
  }

  .section-title {
    font-size: 50px;
    line-height: 84px;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 0 0;
  }

  .service-item {
    min-height: 0;
    padding: 60px 0;
  }

  .service-item::after,
  .service-item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    width: calc(100% - 20px);
    max-width: 290px;
    height: 1px;
    transform: translateX(-50%);
    opacity: 0.45;
  }

  .service-item:last-child::after {
    display: none;
  }

  .service-item__number {
    width: 70px;
    height: 70px;
    margin-top: 0;
    font-size: 34px;
  }

  .service-item__title {
    width: 100%;
    max-width: 257px;
    margin-top: 8px;
    font-size: 34px;
    line-height: 38px;
  }

  .page-intro--services {
    padding: 58px 20px 0;
  }

  .page-intro--services .page-intro__inner {
    padding: 0;
  }

  .page-intro--services .page-intro__title {
    font-size: 50px;
    line-height: 84px;
  }

  .page-intro--services .page-intro__text {
    top: 0;
    margin-top: 18px;
    font-size: 16px;
    line-height: 26px;
  }

  .services-page-section {
    padding-top: 34px;
  }

  .services-page-section__inner {
    padding: 0 10px;
  }

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

  .service-panel {
    height: auto;
    padding: 8px;
    border-radius: 22px;
  }

  .service-panel__head {
    height: 85px;
    padding: 0 16px;
    border-radius: 18px;
  }

  .service-panel__number {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-right: 14px;
    font-size: 22px;
    line-height: 1;
  }

  .service-panel__title {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: -0.02em;
  }

  .service-panel__body {
    height: auto;
    margin-top: 8px;
    padding: 24px 18px 24px 20px;
    border-radius: 18px;
    overflow: visible;
  }

  .service-panel__intro {
    font-size: 18px;
    line-height: 27px;
  }

  .service-panel__list {
    margin: 16px 0 0;
  }

  .service-panel__list li {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 18px;
    line-height: 28px;
  }

  .service-panel__list li:last-child {
    margin-bottom: 0;
  }

  .testimonials {
    margin-top: 60px;
    padding: 0 20px;
  }

  .testimonials__track {
    gap: 10px;
  }

  .testimonials__track::before {
    flex: 0 0 50px;
  }

  .testimonials__arrow {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 280px;
    width: 280px;
    height: 300px;
    margin: 0;
    transform: none;
  }

  .testimonial-card--active {
    transform: scale(1.05);
  }

  .testimonial-card__body {
    padding: 26px 22px 68px;
  }

  .testimonial-card__quote-mark {
    height: 18px;
    margin-bottom: 14px;
  }

  .testimonial-card__quote {
    font-size: 17px;
    line-height: 24px;
  }

  .testimonial-card__attribution {
    left: 18px;
    right: 18px;
    bottom: 90px;
  }

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

  .testimonial-card__meta {
    font-size: 12px;
    line-height: 1.4;
  }

  .testimonial-card__footer {
    bottom: 22px;
    height: 50px;
    font-size: 17px;
  }

  .site-footer {
    margin-top: 0;
    padding: 78px 25px 28px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .site-footer__content {
    width: 100%;
    text-align: center;
    order: 1;
  }

  .site-footer__nav ul {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 20px;
    line-height: 1;
  }

  .site-footer__address {
    margin-top: 40px;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.16em;
  }

  .site-footer__phone {
    margin-top: 24px;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.16em;
  }

  .site-footer__logo {
    order: 2;
    margin-top: 120px;
  }

  .site-footer__logo img {
    width: auto;
    height: 187px;
  }

  .site-footer__bottom {
    width: 100%;
    margin-top: 42px;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
  }
}

/* ========================================
   420 AND BELOW
======================================== */
/*
@media (max-width: 419px) {
  .site-header::after {
    right: -36px;
    width: 250px;
    height: 300px;
  }

  .hero__headline {
    max-width: 290px;
    font-size: 48px;
    line-height: 51px;
  }

  .hero__supporting-text {
    max-width: 250px;
  }

  .services-grid {
    padding-top: 28px;
  }

  .page-intro--services .page-intro__title {
    font-size: 42px;
    line-height: 56px;
  }

  .service-panel__title {
    font-size: 21px;
    line-height: 22px;
  }

  .service-panel__intro,
  .service-panel__list li {
    font-size: 16px;
    line-height: 25px;
  }
}*/


/* ========================================
   SERVICES PAGE - 1439 TO 1200
======================================== */

@media (max-width: 1439px) {
  .page-intro--services {
    padding-top: 118px;
  }

  .page-intro--services .page-intro__inner {
    max-width: 1040px;
    padding: 0 30px;
  }

  .page-intro--services .page-intro__title {
    font-size: 46px;
    line-height: 72px;
  }

  .page-intro--services .page-intro__text {
    max-width: 980px;
    margin-top: 20px;
    font-size: 20px;
    line-height: 27px;
  }

  .services-page-section {
    padding-top: 54px;
  }

  .services-page-section__inner {
    max-width: 100%;
    padding: 0 20px;
  }

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

  .service-panel {
    height: 470px;
    padding: 9px;
  }

  .service-panel__head {
    height: 126px;
    padding: 0 22px 0 30px;
  }

  .service-panel__number {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    margin-right: 20px;
    font-size: 30px;
  }

  .service-panel__title {
    font-size: 32px;
    line-height: 32px;
  }

  .service-panel__body {
    height: 317px;
    margin-top: 9px;
    padding: 36px 22px 0 34px;
  }

  .service-panel__intro {
    font-size: 22px;
    line-height: 30px;
  }

  .service-panel__list {
    margin: 22px 0 0;
  }

  .service-panel__list li {
    margin: 0 0 13px;
    padding-left: 20px;
    font-size: 22px;
    line-height: 27px;
  }
}

/* ========================================
   SERVICES PAGE - 1199 TO 992
======================================== */

@media (max-width: 1199px) {
  .page-intro--services {
    padding-top: 92px;
  }

  .page-intro--services .page-intro__inner {
    max-width: 920px;
    padding: 0 24px;
  }

  .page-intro--services .page-intro__title {
    top: -12px;
    font-size: 40px;
    line-height: 58px;
  }

  .page-intro--services .page-intro__text {
    top: -8px;
    max-width: 860px;
    margin-top: 16px;
    font-size: 18px;
    line-height: 25px;
  }

  .services-page-section {
    padding-top: 42px;
  }

  .services-page-section__inner {
    padding: 0 16px;
  }

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

  .service-panel {
    height: 410px;
    padding: 8px;
    border-radius: 24px;
  }

  .service-panel__head {
    height: 108px;
    padding: 0 18px 0 22px;
    border-radius: 20px;
  }

  .service-panel__number {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    margin-right: 16px;
    font-size: 26px;
  }

  .service-panel__title {
    font-size: 27px;
    line-height: 27px;
  }

  .service-panel__body {
    height: 278px;
    margin-top: 8px;
    padding: 28px 18px 0 24px;
    border-radius: 20px;
  }

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

  .service-panel__list {
    margin: 18px 0 0;
  }

  .service-panel__list li {
    margin: 0 0 11px;
    padding-left: 18px;
    font-size: 18px;
    line-height: 24px;
  }
}

/* ========================================
   SERVICES PAGE - 991 TO 768
======================================== */

@media (max-width: 991px) {
  .page-intro--services {
    padding-top: 74px;
  }

  .page-intro--services .page-intro__inner {
    max-width: 760px;
    padding: 0 18px;
  }

  .page-intro--services .page-intro__title {
    top: 0;
    font-size: 34px;
    line-height: 44px;
  }

  .page-intro--services .page-intro__text {
    max-width: 700px;
    margin-top: 14px;
    font-size: 17px;
    line-height: 24px;
  }

  .services-page-section {
    padding-top: 34px;
  }

  .services-page-section__inner {
    padding: 0 12px;
  }

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

  .service-panel {
    height: 340px;
    padding: 7px;
    border-radius: 20px;
  }

  .service-panel__head {
    height: 88px;
    padding: 0 14px 0 16px;
    border-radius: 17px;
  }

  .service-panel__number {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-right: 12px;
    font-size: 22px;
  }

  .service-panel__title {
    font-size: 22px;
    line-height: 22px;
  }

  .service-panel__body {
    height: 231px;
    margin-top: 7px;
    padding: 20px 14px 0 18px;
    border-radius: 17px;
  }

  .service-panel__intro {
    font-size: 16px;
    line-height: 21px;
  }

  .service-panel__list {
    margin: 14px 0 0;
  }

  .service-panel__list li {
    margin: 0 0 8px;
    padding-left: 16px;
    font-size: 16px;
    line-height: 21px;
  }
}

/* ========================================
   SERVICES PAGE - 767 AND BELOW
======================================== */

@media (max-width: 767px) {
  
  body:not(.page-home) .site-header {
  min-height: 110px;
}
  
  .page-intro--services {
    padding: 52px 20px 0;
  }

  .page-intro--services .page-intro__inner {
    max-width: none;
    padding: 0;
  }

  .page-intro--services .page-intro__title {
    position: static;
    top: auto;
    font-size: 50px;
    line-height: 1;
    text-align: center;
  }

  .page-intro--services .page-intro__text {
    top: 0;
  }

  .services-page-section {
    padding-top: 54px;
  }

  .services-page-section__inner {
    max-width: none;
    padding: 0 8px;
  }

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

  .service-panel {
    height: auto;
    padding: 8px;
    border-radius: 22px;
  }

  .service-panel__head {
    height: 85px;
    padding: 0 16px;
    border-radius: 18px;
  }

  .service-panel__number {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-right: 14px;
    font-size: 22px;
    line-height: 1;
  }

  .service-panel__title {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: -0.02em;
  }

  .service-panel__body {
    height: auto;
    margin-top: 8px;
    padding: 24px 18px 24px 20px;
    border-radius: 18px;
    overflow: visible;
  }

  .service-panel__intro {
    font-size: 18px;
    line-height: 27px;
  }

  .service-panel__list {
    margin: 16px 0 0;
  }

  .service-panel__list li {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 18px;
    line-height: 28px;
  }

  .service-panel__list li:last-child {
    margin-bottom: 0;
  }
}

/* ========================================
   ABOUT PAGE
======================================== */

.about-page-section {
  padding-top: 30px;
}

.about-page-section__inner {
  max-width: 100%;
  margin: 0 auto;
}

.about-panel {
  position: relative;
  border-radius: var(--radius-panel);
  background: var(--color-black);
  overflow: hidden;
  padding: 90px 120px 110px 0;
}

.about-panel::after {
  content: "";
  position: absolute;
  background: url("/assets/img/wordMarkHoriz.png") center / contain no-repeat;
  top: 50px;
  right: -10px;
  width: 360px;
  height: 720px;
  opacity: 0.2;
  pointer-events: none;
}

.about-panel__media {
  padding-left: 90px;
}

.about-panel__image-mask {
  width: 173.6px;
  border-radius: 15px;
  overflow: hidden;
  background: var(--color-black);
}

.about-panel__image {
  display: block;
  width: 100%;
  height: auto;
}

.about-panel__content {
  padding: 55px 0 0 400px;
}

.about-panel__title {
  margin: 0;
  font-size: 50px;
  line-height: 60px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-hero-muted);
}

.about-panel__text {
  margin-top: 45px;
}

.about-panel__text p {
  margin: 0 0 30px;
  font-size: 24px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

.about-panel__text p:last-child {
  margin-bottom: 0;
}

/* ========================================
   ABOUT PAGE - 1439 AND BELOW
======================================== */

@media (max-width: 1439px) {
  .about-panel {
    padding: 74px 105px 92px 0;
  }

  .about-panel::after {
    top: 44px;
    right: 0;
    width: 310px;
    height: 620px;
  }

  .about-panel__media {
    padding-left: 72px;
  }

  .about-panel__image-mask {
    width: 160px;
  }

  .about-panel__content {
    padding: 48px 0 0 320px;
  }

  .about-panel__title {
    font-size: 46px;
    line-height: 56px;
  }

  .about-panel__text {
    margin-top: 38px;
  }

  .about-panel__text p {
    font-size: 21px;
    line-height: 33px;
    margin-bottom: 28px;
  }
}

/* ========================================
   ABOUT PAGE - 1199 AND BELOW
======================================== */

@media (max-width: 1199px) {
  .about-page-section {
    padding-top: 24px;
  }

  .about-panel {
    padding: 62px 80px 78px 0;
  }

  .about-panel::after {
    top: 36px;
    right: 0;
    width: 250px;
    height: 520px;
  }

  .about-panel__media {
    padding-left: 56px;
  }

  .about-panel__image-mask {
    width: 148px;
  }

  .about-panel__content {
    padding: 42px 0 0 130px;
  }

  .about-panel__title {
    font-size: 40px;
    line-height: 50px;
  }

  .about-panel__text {
    margin-top: 32px;
  }

  .about-panel__text p {
    font-size: 18px;
    line-height: 29px;
    margin-bottom: 24px;
  }
}

/* ========================================
   ABOUT PAGE - 991 AND BELOW
======================================== */

@media (max-width: 991px) {
  .about-page-section {
    padding-top: 20px;
  }

  .about-panel {
    padding: 48px 70px 60px 0;
  }

  .about-panel::after {
    top: 34px;
    right: 0;
    width: 205px;
    height: 430px;
    opacity: 0.2;
  }

  .about-panel__media {
    padding-left: 56px;
  }

  .about-panel__image-mask {
    width: 138px;
  }

  .about-panel__content {
    padding: 36px 0 0 125px;
  }

  .about-panel__title {
    font-size: 34px;
    line-height: 42px;
  }

  .about-panel__text {
    margin-top: 28px;
  }

  .about-panel__text p {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 22px;
  }
}

/* ========================================
   ABOUT PAGE - 767 AND BELOW
======================================== */

@media (max-width: 767px) {
  .about-page-section {
    padding-top: 36px;
    margin: 0 10px;
  }

  .about-panel {
    padding: 40px 25px 50px;
  }

  .about-panel::after {
    display: none;
  }

  .about-panel__media {
    padding-left: 0;
  }

  .about-panel__image-mask {
    width: 173.6px;
    height: 222px;
    border-radius: 15px;
  }

  .about-panel__content {
    padding: 50px 0 0;
  }

  .about-panel__title {
    font-size: 50px;
    line-height: 60px;
  }

  .about-panel__text {
    margin-top: 40px;
  }

  .about-panel__text p {
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 30px;
  }
}

/* ========================================
   ABOUT PAGE - 420 AND BELOW
======================================== */

@media (max-width: 419px) {
  .about-panel__title {
    font-size: 42px;
    line-height: 50px;
  }

  .about-panel__text p {
    font-size: 17px;
    line-height: 26px;
  }
}

/* ========================================
   CONTACT PAGE
======================================== */

.contact-page-section {
  padding-top: 30px;
}

.contact-page-section__inner {
  max-width: 100%;
  margin: 0 auto;
}

.contact-panel {
  border-radius: var(--radius-panel);
  background: #ecf3f3;
  padding: 68px 70px 50px 90px;
}

.contact-panel__title {
  margin: 0;
  font-size: 50px;
  line-height: 52px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #a6bdbd;
}

.contact-panel__form-area {
  margin-top: 0;
  padding-left: 430px;
}

.contact-panel__intro {
  margin: 0;
  font-size: 24px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.contact-form {
  margin-top: 15px;
}

.contact-form__group {
  margin-bottom: 13px;
}

.contact-form__group:last-of-type {
  margin-bottom: 0;
}

.contact-form__label {
  display: block;
  margin: 0 0 3px;
  padding-left: 24px;
  font-size: 18px;
  line-height: 31px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #879999;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  border: 0;
  border-radius: 25px;
  background: var(--color-white);
  color: var(--color-text-primary);
  font-size: 18px;
  line-height: 31px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-left: 24px;
  padding-right: 24px;
  appearance: none;
}

.contact-form__input {
  height: 55px;
}

.contact-form__textarea {
  height: 120px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 15px;
}

.contact-form__row .contact-form__group {
  margin-bottom: 13px;
}

.contact-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 35px;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 62px;
  border: 1px solid #a6bdbd;
  border-radius: 90px;
  background: transparent;
  color: #a6bdbd;
  font-size: 20px;
  line-height: 27px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.contact-form__submit:hover {
  background: #a6bdbd;
  color: var(--color-white);
}

.contact-form__status {
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__status {
  margin-top: 20px;
}

.contact-form__input.is-error,
.contact-form__textarea.is-error {
  background: #fdeaea;
  outline: 1px solid #c62828;
  outline-offset: 0;
}

.contact-form__label.is-error {
  color: #c62828;
}

.contact-form__status.is-success {
  color: #2e7d32;
}

.contact-form__status.is-error {
  color: #c62828;
}

/* ========================================
   CONTACT PAGE - 1439 TO 1200
======================================== */

@media (max-width: 1439px) and (min-width: 1200px) {
  .contact-panel {
    padding-top: 60px;
    padding-bottom: 42px;
    padding-left: 90px;
    padding-right: clamp(36px, 5vw, 70px);
  }

  .contact-panel__title {
    font-size: 46px;
    line-height: 48px;
  }

  .contact-panel__form-area {
    width: 790px;
    max-width: 100%;
    margin-top: 0;
    margin-left: auto;
    padding-left: 0;
  }

  .contact-panel__intro {
    margin: 0 0 18px;
    padding-left: 24px;
    font-size: 21px;
    line-height: 33px;
  }

  .contact-form {
    margin-top: 14px;
  }

  .contact-form__label {
    font-size: 17px;
    line-height: 28px;
  }

  .contact-form__input,
  .contact-form__textarea {
    font-size: 17px;
    line-height: 28px;
  }

  .contact-form__actions {
    margin-top: 28px;
  }

  .contact-form__submit {
    height: 60px;
    font-size: 19px;
    line-height: 25px;
  }
}

/* ========================================
   CONTACT PAGE - 1199 TO 992
======================================== */

@media (max-width: 1199px) and (min-width: 992px) {
  .contact-page-section {
    padding-top: 24px;
  }

  .contact-panel {
    padding-top: 54px;
    padding-bottom: 36px;
    padding-left: clamp(48px, 6vw, 56px);
    padding-right: clamp(36px, 5vw, 56px);
  }

  .contact-panel__title {
    font-size: 40px;
    line-height: 42px;
  }

  .contact-panel__form-area {
    width: 790px;
    max-width: 100%;
    margin-top: 0;
    margin-left: auto;
    padding-left: 0;
  }

  .contact-panel__intro {
    margin: 26px 0 18px;
    padding-left: 24px;
    font-size: 19px;
    line-height: 30px;
  }

  .contact-form {
    margin-top: 12px;
  }

  .contact-form__label {
    font-size: 16px;
    line-height: 26px;
  }

  .contact-form__input {
    height: 52px;
    font-size: 16px;
    line-height: 26px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .contact-form__textarea {
    height: 112px;
    font-size: 16px;
    line-height: 26px;
    padding: 12px 22px;
  }

  .contact-form__actions {
    margin-top: 26px;
  }

  .contact-form__submit {
    height: 58px;
    font-size: 18px;
    line-height: 24px;
  }
}

/* ========================================
   CONTACT PAGE - 991 TO 768
======================================== */

@media (max-width: 991px) and (min-width: 768px) {
  .contact-page-section {
    padding-top: 20px;
  }

  .contact-panel {
    padding-top: 48px;
    padding-right: 48px;
    padding-bottom: 28px;
    padding-left: 56px;
  }

  .contact-panel__title {
    font-size: 34px;
    line-height: 36px;
  }

  .contact-panel__form-area {
    width: min(790px, 100%);
    margin-top: 0;
    margin-left: auto;
    padding-left: 0;
  }

  .contact-panel__intro {
    margin: 22px 0 18px;
    padding-left: 20px;
    font-size: 17px;
    line-height: 27px;
  }

  .contact-form {
    margin-top: 10px;
  }

  .contact-form__label {
    padding-left: 20px;
    font-size: 15px;
    line-height: 24px;
  }

  .contact-form__row {
    column-gap: 12px;
  }

  .contact-form__input {
    height: 50px;
    font-size: 15px;
    line-height: 24px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-form__textarea {
    height: 104px;
    font-size: 15px;
    line-height: 24px;
    padding: 12px 20px;
  }

  .contact-form__actions {
    margin-top: 25px;
  }

  .contact-form__submit {
    height: 54px;
    font-size: 17px;
    line-height: 22px;
  }
}

/* ========================================
   CONTACT PAGE - 767 AND BELOW
======================================== */

@media (max-width: 767px) {
  .contact-page-section {
    padding-top: 36px;
    margin: 0 10px;
  }

  .contact-panel {
    padding: 47px 25px 20px 25px;
  }

  .contact-panel__title {
    padding-left: 24px;
    font-size: 50px;
    line-height: 60px;
  }

  .contact-panel__form-area {
    margin-top: 0;
    padding-left: 0;
  }

  .contact-panel__intro {
    margin: 30px 0 20px;
    padding-left: 24px;
    max-width: 305px;
    font-size: 18px;
    line-height: 27px;
  }

  .contact-form {
    margin-top: 0;
  }

  .contact-form__label {
    font-size: 18px;
    line-height: 31px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .contact-form__input {
    height: 55px;
  }

  .contact-form__textarea {
    height: 120px;
    padding: 12px 24px;
  }

  .contact-form__actions {
    justify-content: flex-start;
    margin-top: 25px;
  }
}



/* ========================================
   Desktop nav underline animation
======================================== */

@media (min-width: 768px) {
  .site-nav__list a,
  .site-footer__nav a {
    position: relative;
    display: inline-block;
  }

  .site-nav__list a::after,
  .site-footer__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
  }

  .site-nav__list a::after {
    background: #cfe1e1;
  }

  .site-footer__nav a::after {
    background: #000;
  }

  .site-nav__list a:hover::after,
  .site-nav__list a:focus-visible::after,
  .site-footer__nav a:hover::after,
  .site-footer__nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .site-nav__list a.is-active::after,
  .site-footer__nav a.is-active::after {
    transform: scaleX(1);
  }
}