@font-face {
  font-family: "Sensation";
  src: url("/assets/fonts/Sansation-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sensation";
  src: url("/assets/fonts/Sansation-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sensation";
  src: url("/assets/fonts/Sansation-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sensation";
  src: url("/assets/fonts/Sansation-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DMSerif";
  src: url("/assets/fonts/DMSerifText-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --accent-dark: #1F2329;
  --accent-dark_50: #1f23297a;
  --accent-contrast: #E9C46A;
  --accent-secondary: #235789;
  --text-dark: #3a3a3a;
  --text-grey: #7e7e7e;
  --text-light: #F4F5F7;
  --color-light: #f3f3f3;
  --line: rgba(58, 58, 58, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--color-light);
  color: var(--text-dark);
  font-family: "Sensation", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background-color: var(--accent-dark);
  color: var(--accent-contrast);
}

body::-webkit-scrollbar {
  width: 5px;
  background-color: transparent;
}

body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--accent-dark);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.service-panels,
.process-panels {
  min-width: 0;
}

.process-panels .process-card {
  height: 100%;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-contrast);
  outline-offset: 4px;
}

/* Existing hero — visual values intentionally preserved. */
.section-services-wrapper {
  position: relative;
  max-width: 1800px;
  margin: auto;
}

.hero-header {
  position: absolute;
  z-index: 10;
  top: 50px;
  left: 0;
  display: flex;
  height: 50px;
  margin: 0 70px;
  align-items: center;
}

.logo {
  position: relative;
  display: block;
  user-select: none;
}

.logoYear {
  position: absolute;
  right: 0;
  bottom: -4px;
  color: var(--accent-dark);
  font-size: 10px;
  letter-spacing: 1.5px;
  opacity: 0.7;
}

.logoImg {
  height: 34px;
  object-fit: cover;
  filter: brightness(1.7);
  user-select: none;
}

.section-services-main {
  display: flex;
  min-height: 590px;
  height: 98dvh;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-services-mainmain {
  position: relative;
  display: flex;
  width: calc(100% - 20px);
  height: calc(100% - 40px);
  margin: 15px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(242deg, var(--accent-dark) -20%, rgba(253, 253, 253, 1) 70%, var(--text-light) 140%);
  /* box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); */
  box-shadow: 0 0 15px 0px rgba(0, 0, 0, 0.15);
  /* filter: grayscale(0.1); */
}

.section-services-main-background {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: blur(0) grayscale(0.1) brightness(1.4);
  /* mix-blend-mode: hue; */
  mix-blend-mode: multiply;
}

.section-services-main-background::after {
  position: absolute;
  inset: 0;
  border: 3px solid rgb(180, 180, 180);
  border-radius: 30px;
  content: "";
  filter: blur(7px);
  pointer-events: none;
}

.section-services-main-background::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  backdrop-filter: blur(40px) brightness(1.8) contrast(0.6);
  -webkit-mask-image: linear-gradient(to top right, var(--accent-dark) 30%, transparent 100%, transparent 150%);
  mask-image: linear-gradient(to top right, var(--accent-dark) 30%, transparent 100%, transparent 150%);
  pointer-events: none;
}

.section-services-main-background-video {
  display: block;
  transition: opacity 300ms ease;
}

.section-services-main-background-video-not-visible {
  opacity: 0;
}

.section-services-main-background-staticnoise {
  position: absolute;
  z-index: 2;
  inset: 0;
  height: 100%;
  background-image: radial-gradient(circle, rgba(71, 71, 71, 0.2) 1px, transparent 0.1px);
  background-size: 3px 3px;
  pointer-events: none;
}

.section-services-main-wrapper {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.section-services-main-top {
  display: flex;
  margin-bottom: 30px;
  margin-left: 40px;
  color: rgb(240, 240, 240);
}

.section-services-main-text {
  z-index: 4;
  width: fit-content;
  flex-shrink: 0;
  margin-bottom: 0;
  color: var(--text-dark);
  font-size: 60px;
  font-weight: 600;
}

.section-services-main-bottom {
  display: flex;
  margin-bottom: 30px;
  margin-left: 40px;
  color: var(--text-dark);
}

.section-services-main-bottom-more {
  display: flex;
  width: 45%;
  flex-direction: column;
  flex-shrink: 0;
}

.section-services-main-text-additional {
  margin: 0 0 0 3px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.8px;
  line-height: 1.3;
}

.section-services-main-text-additional2 {
  margin: 0 0 10px 3px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.section-services-main-clients {
  display: flex;
  width: 55%;
  margin-right: 50px;
  margin-left: 30px;
  align-items: center;
  justify-content: flex-end;
  gap: 10%;
  filter: grayscale(1) brightness(3) invert(1) contrast(0.7);
  opacity: 0.9;
  user-select: none;
  flex-grow: 0;
}

.section-services-client-img {
  width: 120px;
  filter: brightness(1.2);
  mix-blend-mode: exclusion;
}

.section-services-client-img-bigger {
  width: 80px;
}

.section-services-client-custom {
  width: auto;
  min-width: 110px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 4px 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.1px;
  line-height: 1.5;
}

.section-services-main-text-additional-word,
.question-mark {
  color: var(--accent-contrast);
  font-weight: 700;
  transition: 250ms ease;
}

.wordsNotVisible {
  position: absolute;
  opacity: 0;
}

.qwordsNotVisible {
  opacity: 0;
}

.question-mark {
  margin-left: -5px;
}

.contact-marquee {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(12px, 14px, 22px);
  letter-spacing: 2px;
  white-space: nowrap;
  background-color: var(--accent-contrast);

  position: sticky;
  top: 10px;
  z-index: 1;

  cursor: default;
  user-select: none;
}

.contact-marquee div {
  animation: marquee 24s linear infinite;
}

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

@media (max-width: 1440px) {
  .section-services-client-custom {
    position: static;
    width: 0;
    opacity: 0;
  }

  .section-services-main-clients {
    flex-direction: row-reverse;
    justify-content: space-around;
  }

  .section-services-main-text-additional {
    font-size: 18px;
  }

  .section-services-main-text-additional2 {
    font-size: 13px;
    letter-spacing: 0.6px;
  }
}

@media (max-width: 1280px) {
  .section-services-main-top { margin-bottom: 10px; }
  .section-services-main-bottom { margin-right: 40px; flex-direction: column; }
  .section-services-main-bottom-more { width: inherit; margin-bottom: 10px; flex: 1; }
  .section-services-main-clients {
    width: inherit;
    margin-right: 0;
    margin-left: 0;
    border-top: 1px solid rgba(245, 245, 245, 0.1);
    padding-top: 25px;
    flex: 1;
  }
  .section-services-client-custom { width: 90px; opacity: 1; }
}

@media (max-width: 1024px) {
  .section-services-main-text { font-size: 46px; line-height: inherit; }
  .section-services-client-img { width: 90px; }
  .section-services-client-img-bigger { width: 60px; }
  .section-services-client-custom { font-size: 10px; font-weight: 400; line-height: 14px; }
}

@media (max-width: 768px) {
  .section-services-main { height: calc(100dvh - 26px); margin-bottom: 0; }
  .section-services-mainmain { width: 100%; height: 100%; margin: 0; border-radius: 0; }
  .section-services-main-background::after { border: 1px solid rgb(180, 180, 180); filter: blur(7px); }
  .hero-header { top: 20px; margin: 0 30px; }
  .section-services-main-text { font-size: 28px; }
  .section-services-client-custom { position: absolute; width: 0; opacity: 0; }
  .section-services-main-top { margin-bottom: 0; margin-left: 30px; }
  .section-services-main-bottom { margin-right: 30px; margin-left: 30px; }
  .section-services-main-text-additional { margin-bottom: 10px; font-size: 15px; }
  .section-services-main-text-additional2 { font-size: 10px; font-weight: 400; }
}

@media (max-width: 480px) {
  .hero-header { margin: 0 20px; }
  .section-services-main-top { margin-left: 20px; }
  .section-services-main-bottom { margin-left: 20px; }
  .section-services-client-img { width: 70px; }
  .section-services-client-img-bigger { width: 40px; }
  .section-services-main-text-additional { font-size: 12px; }
  .section-services-main-clients { 
    gap: unset;
    justify-content: space-between;
  }
}

.page-section,
.site-footer {
  width: calc(100% - 40px);
  max-width: 1600px;
  margin-inline: auto;
}

.page-section {
  padding: clamp(90px, 10vw, 170px) clamp(22px, 4.5vw, 76px);
}

.section-heading h2,
.process-intro h2,
.principles-top h2,
.contact-card h2 {
  margin: 0;
  color: var(--accent-dark);
  font-size: clamp(22px, 4vw, 104px);
  font-weight: 600;
  letter-spacing: -1px;
}

.section-heading h2 em,
.principles-top h2 em,
.contact-card h2 em {
  color: var(--accent-secondary);
  font-family: "DMSerif", serif;
  font-weight: 400;
}

.eyebrow {
  display: flex;
  margin: 0 0 42px;
  gap: 12px;
  align-items: center;
  color: rgba(58, 58, 58, 0.62);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-size: 9px;
  letter-spacing: 0;
}

.about-section {
  padding-top: clamp(110px, 12vw, 190px);
}

.about-heading {
  max-width: 1200px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.7fr);
  margin-top: clamp(80px, 10vw, 160px);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.about-copy {
  position: sticky;
  top: 135px;
  max-width: 460px;
}

.about-copy p {
  margin: 0;
  color: rgba(58, 58, 58, 0.68);
  font-size: 17px;
  line-height: 1.5;
}

.about-copy .about-lead {
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: clamp(23px, 2.2vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.about-img{
  height: 40px;
  max-width: 400px;
  object-fit: contain;
  filter: brightness(1.3);
  user-select: none;
  margin-bottom: 5px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.dna-animation{
  position: absolute;
  top: 0px;
  left: 55%;
  right: 0px;
  bottom: 35%;
  
  transform: rotateZ(20deg);
}

.about-card {
  position: relative;
  display: flex;
  min-height: 300px;
  border: 1px solid rgba(58, 58, 58, 0.12);
  border-radius: 12px;
  padding: clamp(12px, 2.5vw, 44px);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #eeeeee;
  box-shadow: inset 0px 0px 30px 4px rgba(253, 253, 253, 0.2);
}

.about-card-wide {
  grid-column: span 2;
  min-height: 380px;
  background: var(--accent-dark);
  color: var(--text-light);
}

/* .about-card-wide::after {
  position: absolute;
  top: -350%;
  right: 0%;
  width: 200%;
  aspect-ratio: 1;
  border: 1px solid rgba(241, 185, 30, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 50px 40px rgba(241, 185, 30, 0.1), 0 0 100px 138px rgba(241, 185, 30, 0.07);
  content: "";
} */

.about-card p {
  z-index: 1;
  max-width: 510px;
  margin: 0;
  color: rgba(58, 58, 58, 0.66);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1px;
}

.about-card-wide p {
  color: rgba(244, 245, 247, 0.62);
  background-color: var(--accent-dark_70);
}

.about-card strong {
  z-index: 1;
  color: var(--accent-dark);
  font-size: clamp(30px, 7vw, 60px);
  font-weight: 500;
  line-height: 1;
}

.about-card-wide strong {
  color: var(--text-light);
}

.about-card-stat strong {
  color: var(--accent-secondary);
  font-family: 'Sensation';
  font-weight: 800;
  font-size: clamp(34px, 7vw, 90px);
}

.about-card-accent {
  background: var(--accent-contrast);
}

.card-index,
.service-number {
  z-index: 1;
  color: currentColor;
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.52;
}

.services-section {
  width: min(100% - 40px, 1800px);
  border-radius: 36px;
  background: var(--accent-dark);
  padding-top: 100px;
  padding-bottom: 70px;
  box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.15);
}

.services-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.45fr);
  gap: 40px;
}

.about-dna{
  display: flex;
  justify-content: center;

  overflow: hidden;
}

.about-dna-icon{
  width: 120px;
  height: 120px;

  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url("/assets/icons/dna.svg");

  transform: rotateZ(45deg);
}

.about-dna-icon:first-child{
  margin-right: -26px;
}

.about-dna-icon:last-child{
  margin-left: -26px;
}

.services-heading .eyebrow,
.services-heading h2 {
  grid-column: 1;
}

.eyebrow-light {
  color: rgba(244, 245, 247, 0.55);
}

.services-heading h2,
.principles-top h2 {
  color: var(--text-light);
}

.services-heading h2 em,
.principles-top h2 em {
  color: var(--accent-contrast);
}

.section-intro {
  grid-row: 1;
  grid-column: 2;
  max-width: 490px;
  margin: 0;
  align-self: end;
  color: rgba(244, 245, 247, 0.6);
  font-size: 17px;
  line-height: 1.5;
  text-align: end;
  font-weight: 200;
  padding-right: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: clamp(80px, 9vw, 140px);
  gap: 20px;
}

.service-card {
  display: flex;
  min-height: 300px;
  grid-column: span 5;
  border: 1px solid rgba(244, 245, 247, 0.13);
  border-radius: 28px;
  padding: clamp(25px, 3vw, 42px);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--text-light);
  background: rgba(244, 245, 247, 0.045);
  transition: border-color 250ms ease, transform 250ms ease, background 250ms ease;

  /* cursor: pointer; */
}

.service-card:hover {
  border-color: rgba(241, 185, 30, 0.45);
  background-color: rgba(255, 255, 255, 0.075);
  transform: translateY(-5px);
}

.service-card-primary {
  grid-column: span 7;
}

.service-card-accent {
  color: var(--accent-dark);
  background: var(--accent-contrast);
}

.service-card-accent:hover {
  background: var(--accent-contrast);
  filter: brightness(1.1);
}

.service-card-tall {
  min-height: 300px;
  grid-column: span 6;
}

.service-card-wide:hover{
  background-color: rgb(241, 241, 241);
}

.service-card-wide {
  min-height: 300px;
  grid-column: span 9;
  background-color: #e4e5e7;
  color: var(--accent-dark);
}

.service-card h3 {
  max-width: 700px;
  margin: 0 0 24px;
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.service-card p {
  max-width: 630px;
  margin: 0;
  color: rgba(244, 245, 247, 0.58);
  font-size: 15px;
  line-height: 1.5;
}

.service-card-accent p,
.service-card-wide p {
  color: rgba(37, 42, 48, 0.68);
}

.service-tags {
  display: flex;
  margin: 36px 0 0;
  padding: 0;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.service-tags li {
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: 8px 13px;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.7;

  user-select: none;
}

.service-tags li:hover{
  border: 1px solid transparent;
  color: var(--text-light);
  background-color: var(--accent-secondary);
}

.design-sample {
  display: flex;
  height: 135px;
  margin: 32px 0;
  align-items: end;
}

.design-sample span {
  display: block;
  width: 33.333%;
  border-radius: 18px 18px 0 0;
}

.design-sample span:nth-child(1) { height: 64%; background: var(--accent-secondary); }
.design-sample span:nth-child(2) { height: 100%; background: var(--accent-contrast); }
.design-sample span:nth-child(3) { height: 42%; background: var(--text-light); }

.inline-link{
  margin-top: 20px;
}

.inline-link,
.text-link{
  text-decoration: underline;
}

.inline-link:hover,
.text-link:hover{
  color: var(--accent-secondary);
}

.inline-link,
.text-link {
  display: inline-flex;
  width: fit-content;
  color: inherit;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.process-section {
  padding-bottom: clamp(120px, 14vw, 220px);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1fr);
  gap: clamp(50px, 10vw, 120px);
  align-items: start;
}

.process-intro-header{
  font-size: clamp(14px, 0.8vw, 90px);
  letter-spacing: 0.7px;
  color: var(--text-dark);
  margin-bottom: -60px;
}

.process-intro-header > span{
  color: var(--text-grey);
}

.process-intro-wrapper {
  position: relative;
  isolation: isolate;
  overflow: clip;

  height: 100%;
  padding-left: 10px;

  background-color: var(--color-light);
}

.process-intro-background {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image:
    linear-gradient(
      rgb(0 0 0 / 12%) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgb(0 0 0 / 12%) 1px,
      transparent 1px
    );

  background-size: 75px 75px;
  background-position: -10% 5%;

  pointer-events: none;
}

.process-intro {
  position: sticky;
  top: 135px;
  z-index: 1;
  isolation: isolate;
  
  cursor: default;
}

.process-intro::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;

  width: 200vw;
  height: 200vh;

  transform: translate(-50%, -50%);

  background: radial-gradient(
    ellipse
      clamp(280px, 42vw, 540px)
      clamp(190px, 40vh, 400px)
      at center,
    transparent 0%,
    transparent 30%,
    var(--color-light) 80%
  );

  pointer-events: none;
}

.process-intro-content {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;
}

.process-intro-content > p {
  margin-top: 14px;
  line-height: 1.5;
  margin-right: 20px;
}

.process-intro-part{
  transition: 100ms;
}

.process-intro-part:hover{
  color: var(--accent-secondary);
}

.process-intro h2 {
  font-size: clamp(22px, 2.7vw, 104px);;
}

.process-intro > p:not(.eyebrow) {
  max-width: 480px;
  margin: 38px 0;
  font-size: 16px;
  line-height: 1.5;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  display: grid;
  min-height: 200px;
  grid-template-columns: 55px 1fr;
  /* border-top: 1px solid var(--line); */
  padding: 42px 0;
  gap: clamp(20px, 2vw, 100px);
  align-content: center;
}

.process-step-word{
  color: var(--accent-secondary);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.process-step-word:hover{
  color: inherit;
  font-weight: 500;
}

.process-step:last-child {
  /* border-bottom: 1px solid var(--line); */
}

.process-step > p {
  display: grid;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  place-items: center;
  color: var(--text-light);
  background: var(--accent-secondary);
  font-size: 11px;
  font-weight: 600;
}

.process-step h3 {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: clamp(27px, 3vw, 45px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.process-step p {
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.principles-section {
  width: min(100% - 40px, 1800px);
  border-radius: 38px;
  background: var(--accent-secondary);
}

.principles-top {
  max-width: 1100px;
}

.principles-top h2 em {
  color: var(--accent-contrast);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(85px, 10vw, 160px);
  border-top: 1px solid rgba(244, 245, 247, 0.28);
}

.principles-grid article {
  min-height: 310px;
  border-right: 1px solid rgba(244, 245, 247, 0.28);
  padding: 35px clamp(20px, 3vw, 48px) 20px 0;
  color: var(--text-light);
}

.principles-grid article + article {
  padding-left: clamp(20px, 3vw, 48px);
}

.principles-grid article:last-child {
  border-right: 0;
}

.principles-grid article > span {
  display: block;
  margin-bottom: 90px;
  color: var(--accent-contrast);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.principles-grid h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.principles-grid p {
  max-width: 360px;
  margin: 0;
  color: rgba(244, 245, 247, 0.65);
  font-size: 14px;
  line-height: 1.5;
}

.contact-section {
  padding-inline: 0;
  padding-top: 0px;
  /* padding-bottom: clamp(90px, 5vw, 170px); */
  padding-bottom: 0px;
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  background: #fff;

  background-color: var(--accent-dark);

  border-radius: 24px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.contact-terrain{
  position: absolute;
  top: 35%;
  bottom: 74px;
  left: 20%;
  right: 0px;

}

.contact-card {
  position: relative;
  min-height: min(690px, 80dvh);
  padding: clamp(35px, 6vw, 92px);
  overflow: hidden;
  box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.02);
}

/* .contact-section::after { */
  /* position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  top: -310%;
  right: -15%;
  width: 200%;
  aspect-ratio: 1;
  border: 1px solid rgba(91, 91, 214, 0.24);
  box-shadow: 0 0 103px 40px rgba(212, 214, 91, 0.2), 0 0 120px 138px rgba(214, 206, 91, 0.1);
} */

.contact-card h2 {
  margin-bottom: 140px;
  color: var(--text-light);
}

.contact-actions {
  position: absolute;
  z-index: 1;
  right: clamp(35px, 6vw, 92px);
  bottom: clamp(35px, 6vw, 92px);
  left: clamp(35px, 6vw, 92px);
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 50px;
  align-items: end;
}

.contact-button {
  display: inline-flex;
  border-radius: 12px;
  padding: 10px 28px;
  gap: 20px;
  align-items: center;
  background: var(--accent-contrast);
  color: var(--text-dark);
  font-size: clamp(15px, 1.2vw, 22px);
  font-weight: 500;
  text-decoration: none;
  transition: 140ms ease;
}

.contact-button:hover {
  /* box-shadow: 0 0px 20px 3px  rgba(241, 185, 30, 0.2); */
  background-color: var(--accent-secondary);
  color: var(--color-light);
}

.contact-actions p {
  max-width: 440px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  text-align: start;
  font-weight: 100;
}

.site-footer {
  height: 70px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  padding: 18px clamp(28px, 5vw, 80px) 18px;
  /* gap: 30px; */
  box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.02);
  border-top: 1px solid #f1b91ea2;
}

.site-footer-logo{
  width: clamp(20px, 40vw, 220px);
  cursor: pointer;
  transition: 150ms;
  padding-top: 3px;
  margin-right: 50px;
}

.site-footer-logo:hover{
  opacity: 0.7;
}

.footer-brand {
  width: max-content;
  color: var(--text-light);
}

.footer-content{
  display: flex;
  justify-content: space-between;
  align-items: center;

  flex-wrap: wrap;

  margin-top: 0px;
  margin-left: 2px;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 300;
}

.footer-text{
  margin-right: 10px;
}

.footer-content-main{
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-content-main > p > a{
  color: var(--text-light);
  text-decoration: none;
  width: max-content;
  display: block;
  font-weight: 400;

  transition: 150ms;
}

.footer-content-main > p > a:hover{
  opacity: 0.7;
}

.site-footer > p {
  display: flex;
  max-width: 440px;
  color: rgba(244, 245, 247, 0.58);
  font-size: 15px;
  width: max-content;
  display: block;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  color: rgba(244, 245, 247, 0.45);
  font-size: 12px;
  letter-spacing: 0.06em;
  justify-self: end;
  width: max-content;
  display: block;
}

.footer-meta > span{
  width: max-content;
  display: block;
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.jumping-text {
  width: fit-content;

  position: relative;
  display: flex;
  flex-wrap: nowrap;
  font-size: clamp(22px, 3.5vw, 90px);
  gap: 8px;
  overflow: hidden;

  padding-top: 72px;
  padding-right: 70px;

  margin-bottom: 14px;
}

.jumping-word {
  transition: 800ms ease 280ms;
}

.jumping-word.is-active {
  color: var(--accent-contrast);
  margin: 0px 25px 0px 0px;
  transition: 120ms;
}

.jumping-sign{
  transition:
    background-color  800ms ease 280ms,
    color 800ms ease 280ms,
    text-shadow 800ms ease 280ms;
}

.jumping-sign.is-active {
  background-color: var(--accent-contrast);
  color: var(--text-light);
  transition: none;
}

.jumping-ball {
  position: absolute;
  top: 0;
  left: 0;
  width: 1vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-secondary);

  pointer-events: none;
  will-change: transform;
}

@media (max-width: 1079px) {
  .site-footer {  height: 100px; }
  .contact-terrain {
    bottom: 102px;
    left: 0px;
    top: 30%;
  }
}

@media (max-width: 980px) {
  .about-layout,
  .process-layout { grid-template-columns: 1fr; }
  .about-copy,
  .process-intro { position: static; }
  .process-intro-wrapper { overflow: hidden; padding-left: 0px; }
  .about-copy { max-width: 700px; }
  .about-card { min-height: 270px; border-radius: 22px; padding: clamp(40px, 2vw, 200px); }
  .about-card-wide p{
    font-size: 14px;
    margin-bottom: 20px;
  }
  .dna-animation{
    bottom: 25%;
  }
  .about-dna-icon:first-child{
    margin-right: -24px;
  }
  .about-dna-icon:last-child{
    margin-left: -24px;
  }
  .service-card,
  .service-card-primary { grid-column: span 6; }
  .service-card-tall { grid-column: span 6; }
  .service-card-wide { grid-column: span 12; }
  .services-heading { grid-template-columns: 1fr; }
  .section-intro { grid-row: auto; grid-column: 1; margin-top: 12px; max-width: none; }
}


@media (max-width: 768px) {
  .footer-content { justify-content: center;}
  .site-footer { grid-template-columns: 1fr; height: 140px; }
  .contact-terrain {
    bottom: 142px;
    left: -50%;
    right: -50%;
    top: 40%;

    opacity: 0.6;
  }
  .footer-text{
    text-align: center;
  }
  .site-footer-logo{
    margin-right: 20px;
  }
  .about-card-stat strong {
    font-size: clamp(30px, 15vw, 60px);
  }
  .contact-section,
  .services-section,
  .service-card{
    border-radius: 0px;
  }
  .page-section, .site-footer{
    width: 100%;
  }
  .process-intro h2{
    font-size: clamp(22px, 1.8vw, 104px);
  }
  .jumping-text{
    font-size: clamp(22px, 9vw, 104px);
  }
}

@media (max-width: 720px) {
  /* .page-section,
  .site-footer,
  .services-section,
  .principles-section { width: calc(100% - 20px); } */
  .page-section { padding: 82px 20px; }
  .section-heading h2,
  .principles-top h2,
  .contact-card h2 { font-size: clamp(30px, 7.5vw, 64px); }
  .eyebrow { margin-bottom: 30px; }
  .about-layout { margin-top: 70px; }
  .about-cards { grid-template-columns: 1fr; }
  .about-card-wide { grid-column: auto; min-height: 330px; font-weight: 300; }
  .about-card { min-height: 270px; border-radius: 22px; padding: clamp(40px, 2vw, 200px); }
  .services-grid { grid-template-columns: 1fr; margin-top: 70px; }
  .site-footer-logo{
    margin-right: 0px;
  }
  .contact-terrain {
    bottom: 152px;
  }
  .service-card,
  .service-card-primary,
  .service-card-accent,
  .service-card-tall,
  .service-card-wide { min-height: 370px; grid-column: 1; border-radius: 22px; }
  .service-card-tall { min-height: 460px; }
  .process-step { min-height: 240px; grid-template-columns: 52px 1fr; gap: 25px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article,
  .principles-grid article + article { min-height: 250px; border-right: 0; border-bottom: 1px solid rgba(244, 245, 247, 0.28); padding: 30px 0; }
  .principles-grid article > span { margin-bottom: 55px; }
  .contact-section { padding-inline: 0; padding-bottom: 0px; }
  .contact-card { border-radius: 28px; padding: 30px 22px; min-height: 500px; }
  .contact-actions { right: 22px; bottom: 30px; left: 22px; flex-direction: column-reverse; align-items: stretch; }
  .contact-button { justify-content: space-between; padding: 12px 20px; width: max-content; }
  /* .site-footer { grid-template-columns: 1fr; border-radius: 28px 28px 0 0; padding: 55px 25px 30px; gap: 28px; } */
  .site-footer { grid-template-columns: 1fr; padding-top: 20px; gap: 28px; height: 150px; }
  .footer-content-main{
    /* width: 100%; */
  }
  .footer-content-main > p > a { justify-self: start; margin-left: 0px; width: max-content; }
  .footer-content { justify-content: center; margin: auto; flex-wrap: wrap; }
  .footer-brand { justify-content: center; margin: auto; margin-top: 0px; flex-wrap: wrap; }
  /* .footer-meta { width: 100%; } */
  p{
    text-wrap: pretty;
  }
  h2{
    text-wrap: balance;
  }
}

@media (max-width: 500px) {
  .dna-animation {
    display: none;
  }
  .about-card{
    border-radius: 0px;
    margin-left: -20px;
    margin-right: -20px;
  }
  .contact-card {
    min-height: 430px;
    height: calc(100dvh - 200px);
  }

  .site-footer{
    padding: 18px clamp(12px, 1vw, 80px) 18px;;
  }

  .footer-text{
    padding-left: clamp(4px, 1vw, 80px);
    padding-right: clamp(4px, 1vw, 80px);
  }
}


@media (max-width: 350px) {
  .site-footer{
    height: 180px;
  }
  .contact-terrain {
    bottom: 182px;
  }
  .footer-content-main {
    justify-content: center;
    row-gap: 5px;
    column-gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-marquee div { animation: none; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .service-card,
  .contact-button { transition: none; }
  .jumping-ball {
    display: none;
  }

  .jumping-word {
    color: inherit;
  }
}
