/* Global foundation: fonts, tokens, reset */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap");
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/Neue Montreal/NeueMontreal-Light.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/Neue Montreal/NeueMontreal-LightItalic.otf")
    format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/Neue Montreal/NeueMontreal-Regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/Neue Montreal/NeueMontreal-Italic.otf")
    format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/Neue Montreal/NeueMontreal-Medium.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/Neue Montreal/NeueMontreal-MediumItalic.otf")
    format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/Neue Montreal/NeueMontreal-Bold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../assets/fonts/Neue Montreal/NeueMontreal-BoldItalic.otf")
    format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
:root {
  --font-heading: "Neue Montreal", Arial, sans-serif;
  --font-subheading: "DM Sans", Arial, sans-serif;
  --green: #13a865;
  --mint: #a9efd0;
  --ink: #181a19;
  --muted: #727977;
  --line: #e8edeb;
  --soft: #f6fbf8;
}
* {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-subheading);
  font-size: 14px;
}
.cursor {
  --cursor-color: #0b985c;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483647;
  width: 0;
  height: 0;
  pointer-events: none;
  color: var(--cursor-color);
  transform: translate3d(-150px, -150px, 0);
  transition: opacity 160ms ease, color 180ms ease;
  will-change: transform;
}
.cursor *, .cursor *::before, .cursor *::after { pointer-events: none; }
.cursor.is-hidden { opacity: 0; }
.cursor.is-on-dark { --cursor-color: #fff; }
.cursor-dot, .cursor-ring, .cursor-badge {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 280ms ease, height 280ms ease, opacity 180ms ease, scale 280ms cubic-bezier(.2,.8,.2,1);
}
.cursor-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 24%);
}
.cursor-ring {
  --orbit-radius: 14px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .55;
}
.cursor-ring::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: calc(50% - 2px);
  top: calc(50% - var(--orbit-radius) - 2px);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 12%);
  transform-origin: 2px calc(2px + var(--orbit-radius));
  animation: cursor-orbit 2.8s linear infinite;
}
@keyframes cursor-orbit {
  to { transform: rotate(360deg); }
}
.cursor.is-hovering .cursor-ring {
  --orbit-radius: 21px;
  width: 43px;
  height: 43px;
  opacity: .8;
}
.cursor.is-pressed .cursor-ring { scale: .82; }
.cursor-badge { width: 80px; height: 80px; opacity: 0; scale: .45; transform-origin: 0 0; }
.cursor-art { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 180ms ease; }
.cursor-art-white { opacity: 0; }
.cursor.is-on-dark .cursor-art-white { opacity: 1; }
.cursor.is-on-dark .cursor-art-green { opacity: 0; }
.cursor.is-contact .cursor-badge { opacity: 1; scale: 1; }
.cursor.is-contact .cursor-ring, .cursor.is-contact .cursor-dot { opacity: 0; }
.cursor.is-contact .cursor-badge::after {
  content: "↗";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 300 22px/1 var(--font-heading);
  color: #fff;
}
.cursor.is-contact.is-on-dark .cursor-badge::after { color: #0b985c; }
.cursor.is-contact.is-pressed .cursor-badge { scale: .94; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.has-custom-cursor, html.has-custom-cursor * {
    cursor: none !important;
  }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor { display: none; }
}
#smooth-wrapper,
#smooth-content {
  width: 100%;
  padding-top: 35px;
}

.wrap {
  width: min(1536px, calc(100% - 48px));
  margin-inline: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  color: var(--muted);
  line-height: 1.75;
  margin: 12px 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.045em;
  margin: 0;
  font-weight: 500;
}
h2 {
  font-size: 34px;
  line-height: 1.12;
}
em {
  color: var(--green);
  font-style: italic;
}

.full-height-section {
  height: 100vh;
}
/* Shared header and navigation */
.site-header {
  width: min(1536px, calc(100% - 48px));
  margin-inline: 0;
  height: 126px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 11px;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 50%;
  translate: -50% 0;
  padding-inline: 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.84) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  border: 0;
  transition:
    height 0.3s ease,
    background-color 0.3s ease,
    width 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  width: min(1016px, calc(100% - 48px));
  height: 86px;
  background: rgba(255, 255, 255, 0.78);
  border-color: transparent;
  border-radius: 0 0 18px 18px;
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}
.site-header .logo {
  justify-self: start;
}
.site-header nav {
  justify-self: center;
}
.site-header > .pill {
  justify-self: end;
}
.menu-toggle {
  display: none;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.04em;
}
.logo img {
  display: block;
  width: 108px;
  height: auto;
}
.site-header nav {
  display: flex;
  gap: 34px;
}
.site-header nav a {
  color: #6f7472;
}
.site-header nav .active {
  color: var(--green);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  padding: 12px 20px;
  color: white;
  background: var(--green);
  font-weight: 500;
}
.pill span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  background: white;
  color: var(--green);
}
.pill span::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--green);

  -webkit-mask: url("../assets/icons/arrow-right.svg") center / contain
    no-repeat;
  mask: url("../assets/icons/arrow-right.svg") center / contain no-repeat;

  transform: rotate(-45deg);
}
.pill.small {
  font-size: 10px;
  padding: 7px 12px;
  gap: 8px;
}
.pill.small span {
  width: 16px;
  height: 16px;
}

/* The navbar caller rises from behind the pill; the scene never takes pointer events. */
.nav-contact__scene { display: none; }
@media (min-width: 801px) and (hover: hover) and (pointer: fine) {
  .site-header > .nav-contact {
    position: relative;
    overflow: visible;
    cursor: pointer;
  }
  .nav-contact__scene {
    display: block;
    position: absolute;
    width: 65px;
    height: 36px;
    right: 0;
    bottom: calc(100% - 2px);
    overflow: hidden;
    pointer-events: none;
    transition: width 300ms ease, height 300ms ease;
  }
  .site-header.is-scrolled .nav-contact__scene {
    width: 42px;
    height: 25px;
  }
  .nav-contact__person {
    transform: translateY(86px);
    transition: transform 360ms cubic-bezier(.22, 1, .36, 1) 180ms;
  }
  .nav-contact__arm {
    transform-origin: 51px 55px;
    transform: rotate(65deg);
    transition: transform 220ms ease;
  }
  .nav-contact__ring { opacity: 0; }
  .nav-contact:is(:hover, :focus-visible) .nav-contact__person {
    transform: translateY(0);
    transition-delay: 0ms;
  }
  .nav-contact:is(:hover, :focus-visible) .nav-contact__arm {
    transform: rotate(0deg);
    transition: transform 320ms ease 240ms;
  }
  .nav-contact:is(:hover, :focus-visible) .nav-contact__phone {
    transform-origin: 69px 39px;
    animation: nav-contact-phone 900ms ease-in-out 600ms infinite;
  }
  .nav-contact:is(:hover, :focus-visible) .nav-contact__ring {
    animation: nav-contact-ring 1200ms ease-in-out 600ms infinite;
  }
  .nav-contact:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
}
@keyframes nav-contact-phone {
  0%, 100% { transform: rotate(0deg); }
  35% { transform: rotate(-5deg); }
  65% { transform: rotate(4deg); }
}
@keyframes nav-contact-ring {
  0%, 100% { opacity: 0; }
  30%, 65% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-contact__scene { display: none; }
}

/* Shared utility classes */
.grid-bg {
  /*background-image:*/
  /*  linear-gradient(var(--line) 1px, transparent 1px),*/
  /*  linear-gradient(90deg, var(--line) 1px, transparent 1px);*/
  background-size: 88px 88px;
}
/* Home page: hero section */
.hero {
  margin-top: 50px;
  width: 100%;
  text-align: center;
  position: relative;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0,
    #000 12%,
    #000 92%,
    rgba(0, 0, 0, 0.45) 100%
  );
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-inner {
  padding-top: 100px;
}
.hero:before {
  left: 13.7%;
}
.hero:after {
  right: 17.2%;
  top: 148px;
}
.eyebrow {
  font-size: 8px;
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.09em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  border: 1px solid #8bd5ae;
  border-radius: 99px;
  padding: 6px 14px;
  color: #67c796;
  background: transparent;
  overflow: hidden;
  perspective: 180px;
}
.hero .eyebrow {
  transition: width .5s cubic-bezier(.22,1,.36,1), color .25s ease, border-color .25s ease;
}
.hero .eyebrow:hover {
  color: var(--ink);
  border-color: #67c796;
}
.greeting-icon {
  display: inline-grid;
  width: 14px;
  flex: 0 0 14px;
  place-items: center;
  font-size: 11px;
  line-height: 1;
}
.eyebrow span {
  display: inline-block;
  font-size: 8px;
  font-weight: 600;
  transform-origin: center;
  white-space: nowrap;
}
.hero h1 {
  font-size: clamp(58px, 5vw, 78px);
  line-height: 1.28;
  max-width: 1040px;
  margin: 20px auto 12px;
  font-weight: 400;
}
.hero p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.45;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
.hero small {
  display: block;
  color: #9ea3a1;
  margin-top: 72px;
  font-size: 12px;
}
.logo-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 42px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.logo-track {
  display: flex;
  width: max-content;
  will-change: transform;
  gap: 15px;
}
.logo-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;

  width: max-content;
  flex: 0 0 auto;
}

.logo-group img {
  width: auto;
  height: 64px;
  max-width: 250px;
  flex-shrink: 0;

  object-fit: contain;
  opacity: 0.24;
  filter: grayscale(1);
}
/* Home page: intro section */
.intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(80px, 15vw, 220px);
  min-height: 430px;
  padding: 92px 72px 72px;
  position: relative;
  isolation: isolate;
}
.intro > * {
  position: relative;
  z-index: 1;
}
.intro-cross {
  position: absolute;
  top: -120px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.intro-cross-left {
  left: -76px;
  transform: rotateY(180deg);
}

.intro-cross-right {
  right: -111px;
}
.intro .kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #737a77;
  font-size: 10px;
  margin-bottom: 7px;
}
.intro .kicker b {
  color: #4c5350;
  font-weight: 500;
}
.intro h2 {
  font-size: clamp(44px, 3.8vw, 60px);
  line-height: 1.1;
  font-weight: 400;
}
.intro p {
  max-width: 510px;
  margin: 30px 0 22px;
  font-size: 18px;
  line-height: 1.85;
}
.intro ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.intro li {
  border-bottom: 1px solid var(--line);
  padding: 17px 8px 17px 42px;
  color: #7c8380;
  position: relative;
  font-size: 18px;
}
.intro li:first-child {
  border-top: 1px solid var(--line);
}
.intro li:before {
  content: "→";
  position: absolute;
  left: 4px;
  color: #c9cecc;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}
.intro li:hover:before {
  color: var(--green);
  transform: translateX(6px);
}

.intro li {
  cursor: pointer;
}

.intro li b {
  position: relative;
  display: inline-block;
  color: rgba(0, 0, 0, 0.4);
}

.intro li b::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--green);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro li:hover b::after {
  width: 100%;
}

/* Home page: studio section */
.studio {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr 0.78fr;
  position: relative;
}

.tool-cloud-track {
  position: absolute;
  inset: 0;
}

.tool-cloud-track {
  display: flex;
  width: calc(var(--tool-page) * 10);
  animation: tool-cloud-marquee 120s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.studio-copy:hover .tool-cloud-track,
.tool-cloud:hover .tool-cloud-track {
  animation-play-state: running;
}

.tool-cloud-canvas {
  flex: 0 0 calc(var(--tool-page) * 5);
  position: relative;
}

.tool-cloud i {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 5px 12px #dae3df66;
  width: 168px;
  padding: 10px 16px;
  font-style: normal;
  color: #6d7471;
  font-size: 13px;
  border-radius: 6px;
  will-change: transform;
}

.tool-cloud img {
  width: 25px;
  flex: 0 0 22px;
  object-fit: contain;
}
.tool-cloud-canvas i:nth-child(n + 10):nth-child(-n + 18) {
  --page-x: calc(var(--tool-page) * 1);
}
.tool-cloud-canvas i:nth-child(n + 19):nth-child(-n + 27) {
  --page-x: calc(var(--tool-page) * 2);
}
.tool-cloud-canvas i:nth-child(n + 28):nth-child(-n + 36) {
  --page-x: calc(var(--tool-page) * 3);
}
.tool-cloud-canvas i:nth-child(n + 37):nth-child(-n + 45) {
  --page-x: calc(var(--tool-page) * 4);
}
@keyframes tool-cloud-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (hover: none), (pointer: coarse) {
  .tool-cloud.is-in-view .tool-cloud-track {
    animation-play-state: running;
  }
}
.studio-copy .kicker {
  font-size: 8px;
}
.studio-copy h2 {
  line-height: 1.18;
  font-weight: 400;
  margin: 10px 0 16px;
}
.studio-copy p {
  max-width: 650px;
  line-height: 1.75;
}

.capabilities li:before {
  content: "✣";
  color: var(--green);
  margin-right: 6px;
}

.number {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  position: absolute;
  left: 72%;
  top: 43%;
  z-index: 3;
}
.number img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}
.tag-list span {
  border: 1px solid #ced5d2;
  border-radius: 99px;
  padding: 5px 9px;
  font-size: 9px;
  color: #777;
  background: #fff;
}

/* Reference-aligned Single Studio composition */
.studio {
  width: min(1536px, calc(100% - 64px));
  min-height: 0;
  align-items: stretch;
  gap: 22px;
  border: 0;
  margin-top: 42px;
  margin-bottom: 74px;
  background: none;
}
.studio > * {
  padding: 28px;
  border: 1px solid var(--line);
  background-color: #fff;
}
.studio > *:last-child {
  border: 1px solid var(--line);
}
.studio-copy {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: flex-start;
}
.capabilities {
  position: relative;
  overflow: hidden;
}

.studio > .capabilities {
  padding: 32px 18px 116px;
}

.capabilities .kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.capabilities ul {
  font-weight: normal;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  font-size: 18px;
  line-height: 1.25;
}

.capabilities li {
  display: flex;
  align-items: center;
  min-height: 30px;
  white-space: nowrap;
}

.capabilities li:before {
  content: "✳";
  flex: 0 0 28px;
  width: 28px;
  margin-right: 0;
  font-size: 25px;
  line-height: 1;
  font-weight: 300;
}

/* First / left bottom shape */
.capabilities:after {
  content: "";
  position: absolute;
  z-index: 2;

  left: 0;
  bottom: 0;
  width: 18%;
  height: 110px;

  border-top: 1px solid #aeb8b3;
  border-right: 1px solid #aeb8b3;
  border-radius: 0 14px 0 0;

  pointer-events: none;
}

/* Bottom decorations */
.capabilities:before {
  content: "";
  position: absolute;
  z-index: 4;

  left: 0;
  right: 0;
  bottom: 0;
  height: 116px;

  border-radius: 4px;

  background:
    linear-gradient(#050505, #050505) 0 16px / 14px 8px no-repeat,
    radial-gradient(circle, #050505 0 4px, transparent 4.5px) 12px 16px / 8px
      8px no-repeat,
    radial-gradient(circle, #050505 0 4px, transparent 4.5px) calc(56% + 14px)
      18px / 8px 8px no-repeat,
    radial-gradient(circle, #050505 0 4px, transparent 4.5px) calc(56% + 28px)
      18px / 8px 8px no-repeat,
    radial-gradient(circle, #050505 0 4px, transparent 4.5px) calc(56% + 42px)
      18px / 8px 8px no-repeat;

  pointer-events: none;
}

.capabilities-bottom-card {
  display: block;

  position: absolute;
  z-index: 3;

  left: 56%;
  right: 0;
  bottom: 0;

  height: 110px;

  border-top: 1px solid #aeb8b3;
  border-left: 1px solid #aeb8b3;
  border-radius: 14px 0 0 0;

  box-sizing: border-box;
  pointer-events: none;
}

.build-card h3 {
  font-size: clamp(28px, 2.6vw, 35px);
}

.build-card p {
  font-size: 20px;
}

.tool-cloud {
  flex: 0 0 268px;
  height: 268px;
  position: relative;
  overflow: hidden;
  width: calc(100% + 56px);
  margin-left: -28px;
  margin-right: -28px;
  margin-top: -28px;
  margin-bottom: 20px;
  padding-top: 28px;
  background-color: #fff;
  background-image: radial-gradient(
    circle,
    rgba(220, 228, 224, 0.42) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  --tool-page: 828px;
  --tool-card: 220px;
  --tool-col-1: 24px;
  --tool-col-2: 300px;
  --tool-col-3: 576px;
  --tool-mid-1: 114px;
  --tool-mid-2: 390px;
  --tool-mid-3: 666px;
  --tool-row-1: 16px;
  --tool-row-2: 106px;
  --tool-row-3: 196px;
}
.tool-cloud i {
  width: var(--tool-card);
  padding: 15px 20px;
  font-size: 20px;
  border-radius: 9px;
}
.tool-cloud img {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}
.tool-cloud-canvas i:nth-child(9n + 1) {
  top: var(--tool-row-1);
  left: calc(var(--page-x, 0px) + var(--tool-col-1));
}
.tool-cloud-canvas i:nth-child(9n + 2) {
  top: var(--tool-row-1);
  left: calc(var(--page-x, 0px) + var(--tool-col-2));
}
.tool-cloud-canvas i:nth-child(9n + 3) {
  top: var(--tool-row-1);
  left: calc(var(--page-x, 0px) + var(--tool-col-3));
}
.tool-cloud-canvas i:nth-child(9n + 4) {
  top: var(--tool-row-2);
  left: calc(var(--page-x, 0px) + var(--tool-mid-1));
}
.tool-cloud-canvas i:nth-child(9n + 5) {
  top: var(--tool-row-2);
  left: calc(var(--page-x, 0px) + var(--tool-mid-2));
}
.tool-cloud-canvas i:nth-child(9n + 6) {
  top: var(--tool-row-2);
  left: calc(var(--page-x, 0px) + var(--tool-mid-3));
}
.tool-cloud-canvas i:nth-child(9n + 7) {
  top: var(--tool-row-3);
  left: calc(var(--page-x, 0px) + var(--tool-col-1));
}
.tool-cloud-canvas i:nth-child(9n + 8) {
  top: var(--tool-row-3);
  left: calc(var(--page-x, 0px) + var(--tool-col-2));
}
.tool-cloud-canvas i:nth-child(9n) {
  top: var(--tool-row-3);
  left: calc(var(--page-x, 0px) + var(--tool-col-3));
}
.studio-copy h2 {
  font-size: clamp(28px, 2.6vw, 35px);
}
.studio-copy p {
  font-size: 20px;
}
.studio aside {
  position: relative;
}
.number {
  width: 76px;
  height: 76px;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}
.tag-list {
  gap: 10px 14px;
  margin-top: 14px;
}
.tag-list span {
  padding: 9px 14px;
  font-size: 13px;
}
.studio > .studio-results {
  display: grid;
  grid-template-rows: auto auto;
  gap: 22px;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}
.studio-results > div {
  min-height: 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background-color: #fff;
  background-image: radial-gradient(
    circle,
    rgba(220, 228, 224, 0.42) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
}
.studio .workflow-card h3 {
  margin: 0;
  padding: 4px 0 0;
  border: 0;
  font-size: 30px;
}

.studio-copy,
.studio > .capabilities,
.studio-results > div {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
}

/* Running line */
.studio-border-runner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.25s ease;
}

.studio-border-runner span {
  position: absolute;
  display: block;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 7px rgba(19, 168, 101, 0.42);
}

.studio-border-runner span:nth-child(1) {
  top: -1px;
  left: -18%;
  width: 18%;
  height: 2px;
  animation: studio-run-top 5s linear infinite;
}

.studio-border-runner span:nth-child(2) {
  top: -18%;
  right: -1px;
  width: 2px;
  height: 18%;
  background: linear-gradient(180deg, transparent, var(--green), transparent);
  animation: studio-run-right 5s linear infinite;
}

.studio-border-runner span:nth-child(3) {
  right: -18%;
  bottom: -1px;
  width: 18%;
  height: 2px;
  animation: studio-run-bottom 5s linear infinite;
}

.studio-border-runner span:nth-child(4) {
  bottom: -18%;
  left: -1px;
  width: 2px;
  height: 18%;
  background: linear-gradient(180deg, transparent, var(--green), transparent);
  animation: studio-run-left 5s linear infinite;
}

.studio-copy:hover .studio-border-runner,
.studio > .capabilities:hover .studio-border-runner,
.studio-results > div:hover .studio-border-runner {
  opacity: 1;
}

@keyframes studio-run-top {
  0% {
    left: -18%;
    opacity: 1;
  }
  24.99% {
    left: 100%;
    opacity: 1;
  }
  25%,
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes studio-run-right {
  0%,
  24.99% {
    top: -18%;
    opacity: 0;
  }
  25% {
    top: -18%;
    opacity: 1;
  }
  49.99% {
    top: 100%;
    opacity: 1;
  }
  50%,
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes studio-run-bottom {
  0%,
  49.99% {
    right: -18%;
    opacity: 0;
  }
  50% {
    right: -18%;
    opacity: 1;
  }
  74.99% {
    right: 100%;
    opacity: 1;
  }
  75%,
  100% {
    right: 100%;
    opacity: 0;
  }
}

@keyframes studio-run-left {
  0%,
  74.99% {
    bottom: -18%;
    opacity: 0;
  }
  75% {
    bottom: -18%;
    opacity: 1;
  }
  99.99% {
    bottom: 100%;
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
  }
}

/* Keep card content above the animated border */
.studio-copy > *:not(.studio-border-runner),
.studio-results > div > *:not(.studio-border-runner) {
  position: relative;
  z-index: 2;
}
/* Home page: services section */
.services {
  display: grid;
  grid-template-columns: 0.82fr 2fr;
  gap: clamp(80px, 10vw, 160px);
  min-height: 500px;
  padding: 100px 44px 110px;
  position: relative;
  isolation: isolate;
}
.services:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  left: -300px;
  top: -30px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(182, 241, 210, 0.52),
    rgba(220, 250, 234, 0.24) 42%,
    transparent 72%
  );
  filter: blur(8px);
}
 .kicker {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
  color: #747b78;
  font-size: 10px;
}
.kicker.green{
  color: var(--green);
}
.kicker.center{
  justify-content: center;
}
 .kicker b {
  color: #4c5350;
  font-weight: 500;
}
.service-lead h2 {
  font-size: clamp(46px, 4vw, 60px);
  line-height: 1.05;
  font-weight: 400;
}
.service-lead p {
  max-width: 340px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.8;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(75px, 8vw, 125px);
  row-gap: 42px;
  position: relative;
  counter-reset: service-counter;
}

.service-grid article {
  min-height: 98px;
  counter-increment: service-counter;
}
.service-grid article:before {
  content: counter(service-counter, decimal-leading-zero);
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 11px;
  background: none;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.services .service-grid article b {
  display: block;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 500;
}
.services .service-grid article p {
  max-width: 330px;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.75;
}
.service-cross {
  position: absolute;
  z-index: 2;
  opacity: 50%;

  width: 250px;

  left: 50%;
  transform: translateX(-50%);

  pointer-events: none;
}

.service-cross-1 {
  top: 33.333%;
  transform: translate(-70%, -50%);
}

.service-cross-2 {
  top: 66.666%;
  transform: translate(-70%, -50%);
}
/* Shared section heading */
.section-head {
  text-align: center;
}
.section-head p {
  max-width: 600px;
  margin-inline: auto;
}
/* Home page: work section */
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 35px 0 20px;
}

.projects article {
  border: 1px solid var(--line);
  padding: 15px 15px 25px 15px;
  overflow: hidden;
  position: relative;
}

.projects h3 {
  font-size: 23px;
  margin-top: 12px;
}

.projects p {
  font-size: 10px;
  margin: 2px 0;
}

.projects .project-image {
  position: relative;
  width: 100%;
  height: 320px;
  margin-bottom: 15px;

  overflow: visible;
  isolation: isolate;
}

.projects .project-image img {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;
  border-radius: 14px;

  transform: translate3d(0, 0, 0) rotate(0deg);

  will-change: transform;

  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects .project-image img:nth-child(1) {
  z-index: 1;
  transform-origin: center center;
}

.projects .project-image img:nth-child(2) {
  z-index: 3;
  transform-origin: center center;
}

.projects .project-image img:nth-child(3) {
  z-index: 2;
  transform-origin: center center;
}

.projects .project-image::after {
  content: "";

  position: absolute;
  z-index: 10;

  left: 0;
  right: 0;
  bottom: 0;

  height: 38%;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.95) 70%,
    #fff 100%
  );

  pointer-events: none;
}

.projects article:hover .project-image img:nth-child(1) {
  transform: translate3d(-12%, 4%, 0) rotate(-4deg);
}

.projects article:hover .project-image img:nth-child(2) {
  transform: translate3d(0, 0, 0) rotate(0deg);
}

.projects article:hover .project-image img:nth-child(3) {
  transform: translate3d(12%, 4%, 0) rotate(4deg);
}

.projects .project-image img:nth-child(1) {
  transition-delay: 0s;
}

.projects .project-image img:nth-child(2) {
  transition-delay: 0.03s;
}

.projects .project-image img:nth-child(3) {
  transition-delay: 0.06s;
}

.project-text {
  padding-top: 50px;
}

.projects .project-type {
  display: block;
  position: relative;
  z-index: 20;

  margin: 0 0 8px;

  color: var(--green);
  font-size: 11px;
  font-weight: 500;
}

.project-description {
  display: flex;
  align-items: center;
}

.project-description p {
  flex: 3;
  margin: 0;
}

.project-description a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  text-decoration: none;
  color: var(--green);
  font-size: 14px;
  white-space: nowrap;
}

.project-description a span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.project-description a span::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: #fff;
  -webkit-mask: url("../assets/icons/arrow-right.svg") center / contain
    no-repeat;
  mask: url("../assets/icons/arrow-right.svg") center / contain no-repeat;
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
}

.project-description a:hover span::after {
  transform: rotate(0deg);
}

/* Portfolio case-study cards */
.work {
  padding: 70px 0 110px;
}
.work > .section-head h2 {
  margin-top: 14px;
  font-size: clamp(44px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 400;
}
.work > .section-head p {
  margin-top: 18px;
  font-size: 17px;
}
.work .projects {
  gap: 40px;
  margin: 52px 0 34px;
}

.work .projects .mock {
  height: 325px;
  width: 150%;
  margin: -20px;
  background-color: #fff;
  background-image: radial-gradient(
    circle,
    rgba(204, 216, 210, 0.55) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  overflow: hidden;
}
.work .project-image {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
}
.work .project-image img {
  position: absolute;
  top: 58%;
  left: 35%;
  width: 55%;
  height: auto;
  max-height: 82%;
  object-fit: contain;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.work .project-image img:nth-child(1) {
  z-index: 1;
  transform: translate(calc(-50% - 30%), calc(-50% + 8%)) rotate(-6deg)
    scale(0.88);
}
.work .project-image img:nth-child(2) {
  z-index: 3;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}
.work .project-image img:nth-child(3) {
  z-index: 2;
  transform: translate(calc(-50% + 30%), calc(-50% + 8%)) rotate(6deg)
    scale(0.88);
}
.work .projects article:hover .project-image img:nth-child(1) {
  transform: translate(calc(-50% - 45%), calc(-50% + 10%)) rotate(-12deg)
    scale(0.9);
}
.work .projects article:hover .project-image img:nth-child(2) {
  transform: translate(-50%, calc(-50% - 6%)) rotate(0deg) scale(1.05);
}
.work .projects article:hover .project-image img:nth-child(3) {
  transform: translate(calc(-50% + 45%), calc(-50% + 10%)) rotate(12deg)
    scale(0.9);
}
.work .project-type {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
}
.work .projects h3 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
}
.work .projects p {
  max-width: 560px;
  margin: 0;
  color: #777d7a;
  font-size: 17px;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .work .projects {
    gap: 32px;
  }
  .work .projects article {
    min-height: 0;
  }
}
@media (max-width: 480px) {
  .intro-cross-left {
    display: none;
  }
  .work .projects .mock {
    height: 240px;
  }
  .work .project-image {
    padding-inline: 8px;
  }
  .work .projects h3 {
    font-size: 32px;
  }
  .work .projects p {
    font-size: 14px;
  }
  .work .projects {
    gap: 20px;
    margin-top: 32px;
  }
  .work .projects article {
    padding: 14px 14px 18px;
  }
  .work .project-text {
    padding-top: 28px;
  }
  .work .project-description {
    align-items: flex-end;
    gap: 14px;
  }
  .work .project-description > div {
    min-width: 0;
  }
  .work .project-description a {
    flex: 0 0 auto;
  }
}
.mock {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #f5f8f7;
}
.dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 50px 20px;
  background: linear-gradient(120deg, #f5fff9, #eef3ff);
}
.dashboard span {
  height: 80px;
  background: #fff;
  box-shadow: 0 7px 18px #cad7d255;
}
.dashboard span:nth-child(even) {
  margin-top: 30px;
}
.commerce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(150deg, #f7fdff, #eef4f4);
}
.commerce div {
  width: 27%;
  height: 130px;
  background: white;
  border: 1px solid #dae2df;
  transform: rotate(-5deg);
  box-shadow: 0 9px 22px #bbc8c455;
}
.commerce div:nth-child(2) {
  height: 170px;
  transform: none;
}
.commerce div:nth-child(3) {
  transform: rotate(5deg);
}
.pharma {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: #fff9fb;
}
.pharma span {
  width: 31%;
  height: 130px;
  background: #fff;
  border: 1px solid #f0dfe6;
  box-shadow: 0 8px 18px #dbc9d055;
  transform: rotate(-5deg);
}
.pharma span:nth-child(2) {
  transform: none;
  height: 160px;
}
.pharma span:nth-child(3) {
  transform: rotate(5deg);
}
.mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #091428, #243d65);
}
.mobile i {
  width: 26%;
  height: 170px;
  border-radius: 14px;
  background: linear-gradient(#111e35, #0e1624);
  border: 2px solid #496184;
  box-shadow: 0 12px 23px #0008;
  transform: rotate(-6deg);
}
.mobile i:nth-child(2) {
  height: 190px;
  transform: none;
}
.mobile i:nth-child(3) {
  transform: rotate(6deg);
}
.centered {
  width: max-content;
  margin: auto;
}
/* Home page: process section */
.process {
  padding: 90px 0 110px;
}
.process .section-head .kicker {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
}
.process .section-head .kicker b {
  font-weight: 500;
}
.process .section-head h2 {
  margin-top: 24px;
  font-size: clamp(44px, 4vw, 60px);
  line-height: 1.1;
  font-weight: 400;
}
.process .section-head p {
  max-width: 760px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.9;
}
.timeline {
  width: min(780px, 100%);
  margin: 48px auto 0;
  position: relative;
  --timeline-progress: 0;
}
.timeline:before,
.timeline:after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 191px;
  top: 26px;
  bottom: 164px;
  width: 4px;
  border-radius: 99px;
  translate: -50% 0;
}
.timeline:before {
  background: #dff5ea;
}
.timeline:after {
  background: linear-gradient(var(--green), #38d58f);
  transform: scaleY(var(--timeline-progress));
  transform-origin: top;
  will-change: transform;
}
.timeline article {
  display: grid;
  grid-template-columns: 165px 58px 1fr;
  min-height: 190px;
  position: relative;
  z-index: 1;
}
.timeline article:after {
  display: none;
}
.timeline article:last-child:after {
  display: none;
}
.timeline article > span {
  text-align: right;
  color: var(--green);
  font-weight: 600;
  font-size: 28px;
  font-style: italic;
  padding: 19px 16px 0 0;
  position: relative;
}
.timeline article > span:before {
  content: "Step 1";
  position: absolute;
  right: 8px;
  top: -5px;
  padding: 4px 12px;
  border-radius: 99px;
  background: #f0eeee;
  color: #999;
  font: 9px/1 var(--font-subheading);
  font-style: normal;
  font-weight: 400;
}
.timeline article:nth-child(n + 2) > span:before {
  content: "Step 2";
}
.timeline article:nth-child(n + 3) > span:before {
  content: "Step 3";
}
.timeline article:nth-child(n + 4) > span:before {
  content: "Step 4";
}
.timeline i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #78e0b3;
  color: #fff;
  font-style: normal;
  position: relative;
  z-index: 2;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}
.timeline i svg {
  display: none;
}
.timeline i:after {
  content: "";
  width: 22px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.timeline article:nth-child(n + 2) i {
  background: #e7fbf3;
  color: #0b985c;
}
.timeline article.is-active i {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 0 7px rgba(19, 168, 101, 0.1);
  transform: scale(1.04);
}
.process .timeline h3 {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}
.process .timeline p {
  max-width: 510px;
  font-size: 17px;
  line-height: 1.75;
  margin-top: 10px;
}
.process .timeline article > div {
  padding-left: 16px;
}
@media (max-width: 800px) {
  .process .timeline:before,
  .process .timeline:after {
    left: 156px;
  }
  .process .timeline article {
    grid-template-columns: 130px 52px 1fr;
  }
  .process .timeline article:after {
    left: 155px;
  }
  .process .timeline article > span {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .process .section-head h2 {
    font-size: 32px;
  }
  .process .section-head p {
    font-size: 15px;
    line-height: 1.7;
  }
  .process .timeline article {
    grid-template-columns: 88px 44px 1fr;
    min-height: 180px;
  }
  .process .timeline:before,
  .process .timeline:after {
    left: 110px;
    top: 22px;
    bottom: 158px;
  }
  .process .timeline article:after {
    left: 109px;
    top: 44px;
  }
  .process .timeline article > span {
    padding-right: 10px;
    font-size: 16px;
  }
  .process .timeline article > span:before {
    right: 5px;
    padding-inline: 8px;
    font-size: 7px;
  }
  .process .timeline i {
    width: 44px;
    height: 44px;
  }
  .process .timeline article > div {
    padding-left: 10px;
  }
  .process .timeline h3 {
    font-size: 19px;
  }
  .process .timeline p {
    font-size: 14px;
  }
}
/* Shared testimonials section */
.carousel {
  font-size: 28px;
  color: #66706c;
}

.testimonials {
  width: min(1536px, calc(100% - 64px));
  padding: 90px 0 82px;
}
.testimonials .section-head .kicker {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
}
.testimonials .section-head .kicker b {
  font-weight: 500;
}
.testimonials .section-head h2 {
  margin-top: 28px;
  font-size: clamp(42px, 3.7vw, 54px);
  line-height: 1.12;
  font-weight: 400;
}
.quotes {
  height: 100%;
  margin-top: 34px;
  overflow: hidden;
}
.quotes-track {
  display: flex;
  gap: 24px;
  height: 100%;
  will-change: transform;
}
.quotes blockquote {
  flex: 0 0 calc((100% - 48px) / 3);
  margin: 0;
  border: 1px solid var(--line);
  min-height: 550px;
  display: flex;
  flex-direction: column;
  padding: 0 30px 30px;
  overflow: hidden;
  background-color: #fff;
  background-image: radial-gradient(
    circle,
    rgba(205, 217, 211, 0.5) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  color: #b9ead2;
  font-family: Georgia, serif;
  line-height: 0.8;
}
.quotes blockquote p {
  color: #777d7a;
  font-family: var(--font-subheading), serif;
  font-size: 20px;
  line-height: 1.9;
}

.quotes blockquote p::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background: url("../assets/svg/quotation.svg") center / contain no-repeat;
  padding-bottom: 20%;
}

.quotes footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  min-height: 108px;
  margin: auto -30px -30px;
  padding: 19px 30px;
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}
.quotes footer .quote-author {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}
.quotes footer b {
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.quotes footer span {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
}
.quotes footer .quote-logo {
  flex: 0 0 auto;
  max-width: 130px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.25);
  opacity: 0.8;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.quotes blockquote:hover .quote-logo {
  filter: grayscale(0) contrast(1);
  opacity: 1;
}
.carousel {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 24px;
}

.carousel button {
  width: 54px;
  height: 54px;
  position: relative;
  display: grid;
  place-items: center;

  padding: 0;
  outline: none;
  border: none;
  background: transparent;

  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel button .next,
.carousel button .previous {
  width: 54px;
  height: 54px;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 50%;
}

.carousel button .next::before,
.carousel button .previous::before,
.carousel button .next::after,
.carousel button .previous::after,
.carousel button::before {
  content: "";
  position: absolute;
  inset: 0;
}

.carousel button .next::before,
.carousel button .previous::before {
  background: url("../assets/svg/arrow-stroke.svg") center center / contain
    no-repeat;
  opacity: 1;
  transition: opacity 0.22s ease;
}

.carousel button::before {
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #23c47f 0 24%,
    var(--green) 62%,
    var(--green) 100%
  );
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel button .next::after,
.carousel button .previous::after {
  inset: 15px 18px;
  background: #fff;
  opacity: 0;
  -webkit-mask: url("../assets/svg/arrow.svg") center center / contain no-repeat;
  mask: url("../assets/svg/arrow.svg") center center / contain no-repeat;
  transition:
    opacity 0.2s 0.12s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel button .previous {
  transform: rotate(180deg);
}

.carousel button:hover::before {
  transform: scale(1);
}

.carousel button:hover .next::before,
.carousel button:hover .previous::before {
  opacity: 0;
}

.carousel button:hover .next::after,
.carousel button:hover .previous::after {
  opacity: 1;
}

.carousel button:active {
  transform: scale(0.92);
}

@media (max-width: 1100px) and (min-width: 801px) {
  .quotes blockquote {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media (max-width: 480px) {
  .testimonials {
    width: calc(100% - 28px);
    padding: 65px 0;
  }
  .testimonials .section-head h2 {
    font-size: 32px;
  }
  .quotes blockquote {
    min-height: 500px;
    padding: 22px;
  }
  .quotes footer {
    margin: auto -22px -22px;
    padding: 18px 22px;
    gap: 12px;
  }
  .quotes footer b {
    font-size: 26px;
  }
  .quotes footer .quote-logo {
    max-width: 90px;
    max-height: 38px;
  }
}
/* Shared FAQ section */
.faq {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr;
  gap: 120px;
  padding: 80px 0;
}
.faq > div:first-child p {
  max-width: 400px;
  font-size: 18px;
  line-height: 1.8;
}
.faq .kicker {
  font-size: 10px;
}
.faq h2 {
  margin-top: 12px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 400;
}

/* Contact-style FAQ shared by the home and contact pages. */
.faq--contact {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
  padding: 110px 40px 130px;
}
.faq--contact header {
  max-width: 440px;
}
.faq--contact header p {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.85;
}
.faq--contact .kicker {
  font-size: 10px;
}
.faq--contact h2 {
  margin-top: 20px;
  font-size: clamp(45px, 4.2vw, 64px);
  line-height: 1.08;
  font-weight: 400;
}
.faq--contact .faq-list {
  border-top: 1px solid var(--line);
}
.faq--contact .faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq--contact .faq-list summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 22px;
}
.faq--contact .faq-list summary::-webkit-details-marker {
  display: none;
}
.faq--contact .faq-list summary span {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid #bdc5c1;
  border-radius: 50%;
  position: relative;
}
.faq--contact .faq-list summary span::before,
.faq--contact .faq-list summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: #7d8581;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.faq--contact .faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq--contact .faq-list details[open]:not(.is-closing) summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}
.faq--contact .faq-list details.is-closing summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq--contact .faq-answer {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  padding-bottom: 25px;
  opacity: 1;
}
.faq--contact .faq-list details:not([open]) .faq-answer {
  grid-template-rows: 0fr;
  padding-bottom: 0;
  opacity: 0;
}
.faq--contact .faq-answer p {
  max-width: 850px;
  min-height: 0;
  margin: -2px 55px 0 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.85;
}
.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 22px 5px;
}
.accordion summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  list-style: none;
}
.accordion summary:after {
  content: "";
  float: right;
  width: 30px;
  height: 30px;
  background: url("../assets/svg/arrow-circle-up.svg") center / contain
    no-repeat;
}
.accordion details[open] summary:after {
  content: "";
}
.accordion p {
  font-size: 16px;
  line-height: 1.75;
  padding-right: 50px;
}
/* Shared CTA section */
.cta {
  width: min(1536px, calc(100% - 64px));
  text-align: center;
  padding: 40px;
  border: 1px solid var(--line);
  background-color: #fff;
  background-image:
    radial-gradient(circle, rgba(201, 214, 208, 0.56) 1px, transparent 1px),
    radial-gradient(circle at 0 0, rgba(206, 248, 225, 0.72), transparent 30%),
    radial-gradient(
      circle at 100% 0,
      rgba(206, 248, 225, 0.72),
      transparent 30%
    );
  background-size:
    18px 18px,
    100% 100%,
    100% 100%;
  mask-image: none;
  position: relative;
  overflow: hidden;
}
.cta[data-warp-background] {
  background-image:
    radial-gradient(circle at 0 0, rgba(206, 248, 225, 0.72), transparent 30%),
    radial-gradient(circle at 100% 0, rgba(206, 248, 225, 0.72), transparent 30%);
  background-size: 100% 100%, 100% 100%;
}
.cta-warp {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.cta[data-warp-background] > :not(.cta-warp) {
  position: relative;
  z-index: 1;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cta-warp { display: none; }
  .cta[data-warp-background] {
    background-image:
      radial-gradient(circle, rgba(201, 214, 208, 0.56) 1px, transparent 1px),
      radial-gradient(circle at 0 0, rgba(206, 248, 225, 0.72), transparent 30%),
      radial-gradient(circle at 100% 0, rgba(206, 248, 225, 0.72), transparent 30%);
    background-size: 18px 18px, 100% 100%, 100% 100%;
  }
}
.cta:before,
.cta:after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 174px;
  height: 112px;
  border: 1px solid #9ba49f;
  background-color: #fff;
  z-index: 2;
}
.cta:before {
  left: -1px;
  border-radius: 0 9px 0 0;
  background-image: linear-gradient(#050505, #050505);
  background-repeat: no-repeat;
  background-size: 20px 7px;
  background-position: 10px 10px;
}
.cta:after {
  right: -1px;
  border-radius: 9px 0 0 0;
  background-image:
    radial-gradient(circle, #050505 0 3px, transparent 3.5px),
    radial-gradient(circle, #050505 0 3px, transparent 3.5px),
    radial-gradient(circle, #050505 0 3px, transparent 3.5px);
  background-repeat: no-repeat;
  background-size: 8px 8px;
  background-position:
    10px 8px,
    23px 8px,
    36px 8px;
}
.cta .kicker {
  font-size: 10px;
  font-weight: 500;
}
.cta h2 {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1.08;
  font-weight: 400;
  margin: 0 0 22px;
}
.cta p {
  max-width: 1080px;
  margin: auto;
  font-size: 22px;
  line-height: 1.45;
}
.cta .actions {
  margin-top: 30px;
}
/* Shared footer */
.footer {
  margin-top: 70px;
  min-height: 420px;
  border: 1px solid var(--line);
  padding: 50px 16px 20px;
  position: relative;
}
.footer-title {
  align-self: end;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.footer > div:not(.footer-title) {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  gap: 6px;
}
.footer > div b {
  color: #a1a7a4;
  font-size: 9px;
  margin-bottom: 7px;
}
.footer small {
  position: absolute;
  bottom: 20px;
  left: 43%;
  font-size: 9px;
  color: #9ca29f;
}

/* Architectural homepage footer */
.footer.footer-home {
  container-type: inline-size;
  --cell: calc(100cqw / 12);
  height: auto;
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows:
    var(--cell) var(--cell) clamp(44px, 4.2vw, 64px) clamp(88px, 8vw, 112px)
    auto;
  gap: 0;
  background: #fff;
  background-image:
    repeating-linear-gradient(
      180deg,
      var(--line) 0px,
      var(--line) 1px,
      transparent 1px,
      transparent var(--cell)
    ),
    repeating-linear-gradient(
      90deg,
      var(--line) 0px,
      var(--line) 1px,
      transparent 1px,
      transparent calc(100% / 12)
    );
  overflow: hidden;
  perspective: 1100px;
}
.footer.footer-home > div,
.footer.footer-home > .footer-logo-cells {
  animation: none !important;
  opacity: 1 !important;
  translate: none !important;
}
.footer.footer-home > .footer-logo-cells {
  display: contents;
  pointer-events: none;
}
.footer-logo-cell {
  z-index: 0;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  contain: paint;
  opacity: 0;
  transform: rotateY(-90deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  transition:
    opacity 0.16s ease,
    transform 0.52s cubic-bezier(0.2, 0.72, 0.18, 1);
  will-change: opacity, transform;
}
.footer-logo-cell.is-visible {
  opacity: 1;
  transform: rotateY(0deg);
}
.footer-logo-cell.is-flipping-out {
  opacity: 0;
  transform: rotateY(90deg) scale(0.98);
}
.footer-logo-cell.is-flipping-in {
  opacity: 0;
  transform: rotateY(90deg) scale(0.98);
}
.footer-logo-cell img {
  width: clamp(44px, 4vw, 80px);
  height: clamp(44px, 4vw, 80px);
  object-fit: contain;
  backface-visibility: hidden;
  transform-origin: center center;
}
.footer-logo-cell:not(.is-visible) img,
.footer-logo-cell img:not([src]),
.footer-logo-cell img[src=""] {
  opacity: 0;
  visibility: hidden;
}
.footer-home .footer-title {
  grid-column: 1 / 7;
  grid-row: 3 / 5;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: clamp(20px, 2.2vw, 32px) clamp(18px, 2vw, 32px);
  margin: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
  position: relative;
  overflow: hidden;
}
.footer.footer-home > .footer-links {
  grid-column: 7 / 13;
  grid-row: 1 / 4;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.15fr;
  gap: clamp(12px, 1.8vw, 32px);
  padding: clamp(20px, 2.2vw, 30px) clamp(18px, 2.2vw, 36px)
    clamp(18px, 1.8vw, 24px);
  margin: 0;
  align-self: stretch;
  background-color: #fff;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  pointer-events: auto;
}
.footer.footer-home > .footer-counter {
  grid-column: 7 / 13;
  grid-row: 4;
  z-index: 1;
  display: grid;
  grid-template-columns: 4fr 3fr;
  align-items: stretch;
  margin: 0;
  background-color: #fff;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  pointer-events: auto;
  padding: clamp(14px, 1.6vw, 24px) 0;
}
.footer-counter .counter-label-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(14px, 2.2vw, 30px);
}
.footer-counter .counter-label {
  color: #171a19;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.footer-counter .counter-clock-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  padding: 0 16px;
  overflow: visible;
}
.flip-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.6vw, 10px);
  perspective: 1000px;
}
.flip-card {
  position: relative;
  width: clamp(38px, 3.2vw, 48px);
  height: clamp(54px, 4.6vw, 68px);
  border-radius: 8px;
  font-family:
    var(--font-heading),
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1;
  transform-style: preserve-3d;
  user-select: none;
}
.flip-card::before,
.flip-card::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 6px;
  background: #fff;
  z-index: 10;
  pointer-events: none;
}
.flip-card::before {
  left: 0;
  border-radius: 0 2px 2px 0;
}
.flip-card::after {
  right: 0;
  border-radius: 2px 0 0 2px;
}

.flip-panel-top,
.flip-panel-bottom,
.flip-leaf-top,
.flip-leaf-bottom {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background: #0d0d0d;
  color: #fff;
  box-sizing: border-box;
}

.flip-panel-top,
.flip-leaf-top {
  top: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.9);
}

.flip-panel-bottom,
.flip-leaf-bottom {
  top: 50%;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.flip-panel-top .flip-digit,
.flip-leaf-top .flip-digit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(2px);
}

.flip-panel-bottom .flip-digit,
.flip-leaf-bottom .flip-digit {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(2px);
}

.flip-leaf-top,
.flip-leaf-bottom {
  display: none;
  pointer-events: none;
}

.flip-leaf-top {
  z-index: 3;
  transform-origin: bottom center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-leaf-bottom {
  z-index: 4;
  transform-origin: top center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateX(90deg);
}

.flip-card.is-flipping .flip-leaf-top {
  display: block;
  animation: flipLeafTop 0.09s ease-in forwards;
}

.flip-card.is-flipping .flip-leaf-bottom {
  display: block;
  animation: flipLeafBottom 0.09s ease-out 0.09s forwards;
}

@keyframes flipLeafTop {
  0% {
    transform: rotateX(0deg);
    filter: brightness(1);
  }
  100% {
    transform: rotateX(-90deg);
    filter: brightness(0.42);
  }
}

@keyframes flipLeafBottom {
  0% {
    transform: rotateX(90deg);
    filter: brightness(0.42);
  }
  80% {
    transform: rotateX(-3deg);
    filter: brightness(1.02);
  }
  100% {
    transform: rotateX(0deg);
    filter: brightness(1);
  }
}
.footer-home .footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-home .footer-links b {
  margin-bottom: 6px;
  color: #7e8381;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-home .footer-links a {
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.28;
}
.footer-home .footer-links a[aria-current="page"] {
  color: var(--green);
}
.footer.footer-home > .footer-legal {
  grid-column: 1 / 13;
  grid-row: 5;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(18px, 2vw, 32px);
  min-height: clamp(48px, 4vw, 60px);
  background-color: #fff;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  color: #7d8380;
  font-size: clamp(13px, 1.05vw, 15px);
  position: relative;
  pointer-events: auto;
}
.footer.footer-home > .footer-legal span {
  text-align: center;
  color: #8c9390;
}
/* Global responsive layout */
@media (max-width: 800px) {
  .full-height-section {
    height: 20vh;
  }
  .wrap {
    width: min(100% - 28px, 1536px);
  }
  body.has-mobile-menu-open {
    overflow: hidden;
  }

  .site-header {
    --mobile-header-gutter: 24px;
    --mobile-header-shoulder-height: 16px;
    --mobile-header-bg: #fff;
    width: min(
      640px,
      calc(100% - var(--mobile-header-gutter) - var(--mobile-header-gutter))
    );
    height: 78px;
    top: 0;
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 13px 18px;
    overflow: visible;
    isolation: isolate;
    background: var(--mobile-header-bg);
    border-color: transparent;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    transition:
      width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      background-color 0.28s ease,
      border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.3s ease;
  }

  .site-header::before,
  .site-header::after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 1;
    width: var(--mobile-header-gutter);
    height: var(--mobile-header-shoulder-height);
    background: var(--mobile-header-bg);
    pointer-events: none;
  }

  .site-header::before {
    right: 100%;
    -webkit-mask: radial-gradient(
      ellipse 100% 100% at left bottom,
      transparent 99%,
      #000 100%
    );
    mask: radial-gradient(
      ellipse 100% 100% at left bottom,
      transparent 99%,
      #000 100%
    );
  }

  .site-header::after {
    left: 100%;
    -webkit-mask: radial-gradient(
      ellipse 100% 100% at right bottom,
      transparent 99%,
      #000 100%
    );
    mask: radial-gradient(
      ellipse 100% 100% at right bottom,
      transparent 99%,
      #000 100%
    );
  }

  .site-header.is-scrolled {
    height: 78px;
    background: var(--mobile-header-bg);
    border-color: transparent;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-menu-open,
  .site-header.is-menu-open.is-scrolled {
    --mobile-header-bg: var(--green);
    height: min(540px, calc(100vh - 30px));
    background: var(--mobile-header-bg);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  }

  .site-header.is-menu-open .pill span {
    -webkit-mask: url("../assets/icons/arrow-right.svg") center / contain
      no-repeat;
    mask: url("../assets/icons/arrow-right.svg") center / contain no-repeat;
  }

  .site-header .logo {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    height: 46px;
    align-items: center;
  }

  .site-header .logo img {
    width: 96px;
    filter: none;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 34px 4px 76px;
    justify-self: stretch;
    opacity: 0;
    pointer-events: none;
    position: relative;
    z-index: 2;
    transform: translateY(-8px);
    transition:
      opacity 0.28s ease,
      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-header.is-menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header nav a {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-heading);
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.6;
    letter-spacing: -0.055em;
  }

  .site-header nav a.active,
  .site-header nav a:hover {
    color: #fff;
  }

  .site-header > .pill {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 12px;
    z-index: 2;
    justify-self: stretch;
    justify-content: center;
    min-height: 46px;
    background: #fff;
    color: var(--green);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition:
      opacity 0.24s ease,
      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-header > .pill span {
    background: var(--green);
    color: #fff;
  }

  .site-header.is-menu-open > .pill {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    position: absolute;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: #171a19;
    transition:
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.2s ease,
      background-color 0.2s ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .site-header.is-menu-open .menu-toggle span {
    background: #fff;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }
  .hero {
    min-height: 580px;
  }
  .hero-inner {
    min-height: 650px;
    padding-top: 45px;
  }
  .hero h1 {
    font-size: clamp(40px, 8vw, 56px);
    line-height: 1.16;
  }
  .hero p {
    font-size: 12px;
  }
  .logo-group {
    gap: 5px;
    padding-inline: 12px;
  }
  .logo-group img {
    height: 48px;
    max-width: 180px;
  }
  .intro,
  .services,
  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro {
    padding: 100px 48px 64px;
  }
  .intro ul {
    max-width: 560px;
  }
  .studio {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 20px;
  }
  .studio > * {
    border: 1px solid var(--line);
  }
  .number {
    display: none;
  }
  .studio > .studio-results {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 0;
    border: 0;
    background: none;
  }
  .studio-results > div {
    flex: 0 0 auto;
    min-height: 0;
    padding: 24px 20px;
    border: 1px solid var(--line);
  }
  .service-grid {
    gap: 28px;
  }
  .projects {
    grid-template-columns: 1fr;
  }
  .mock {
    height: 200px;
  }
  .timeline {
    width: 100%;
  }
  .timeline article {
    grid-template-columns: 90px 34px 1fr;
  }
  .timeline article:after {
    left: 106px;
  }
  .quotes-track {
    gap: 16px;
  }
  .quotes blockquote {
    flex-basis: 100%;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    min-height: 600px;
  }
  .footer-title {
    align-self: start;
    grid-column: 1/-1;
  }
  .footer small {
    left: 16px;
  }
  .cta h2 {
    font-size: 30px;
  }
  .cta {
    width: calc(100% - 28px);
    min-height: 420px;
    padding: 78px 24px 110px;
  }
  .cta p {
    font-size: 16px;
  }
  .cta p br {
    display: none;
  }
}

@media (max-width: 900px) {
  .faq.faq--contact {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 110px 0 130px;
  }

  .faq--contact header {
    max-width: 650px;
  }
}

@media (max-width: 520px) {
  .faq.faq--contact {
    padding: 80px 0 95px;
  }

  .faq--contact h2 {
    font-size: 40px;
  }

  .faq--contact .faq-list summary {
    min-height: 72px;
    font-size: 18px;
  }

  .faq--contact .faq-answer p {
    margin-right: 0;
    font-size: 15px;
  }
}

@media (max-width: 800px) and (max-height: 650px) {
  .site-header.is-menu-open nav {
    padding: 8px 4px 36px;
  }

  .site-header.is-menu-open nav a {
    font-size: clamp(22px, 4vw, 26px);
    line-height: 1.1;
  }

  .site-header.is-menu-open > .pill {
    bottom: 10px;
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 28px;
  }
  .site-header {
    height: 62px;
    padding-inline: 12px;
  }
  .site-header.is-scrolled {
    height: 62px;
    border-radius: 0 0 12px 12px;
  }
  #smooth-content {
    padding-top: 0px;
  }
  .hero h1 {
    font-size: 33px;
    line-height: 1.14;
  }
  .hero-inner {
    padding-top: 38px;
  }
  .hero small {
    margin-top: 48px;
  }
  .logo-group {
    gap: 28px;
    padding-inline: 18px;
  }
  .logo-group img {
    height: 38px;
    max-width: 125px;
  }
  .hero .actions,
  .cta .actions {
    flex-direction: column;
    align-items: center;
  }
  .intro {
    min-height: 0;
    padding: 60px 20px 52px;
  }

  .tool-cloud {
    min-height: 200px;
  }
  .intro:before,
  .intro:after {
    width: 120px;
  }
  .intro:before {
    background-size:
      120px 1px,
      1px 110px,
      28px 1px,
      1px 28px;
    background-position:
      0 44px,
      42px 0,
      28px 44px,
      42px 30px;
  }
  .intro:after {
    background-size:
      120px 1px,
      1px 110px,
      28px 1px,
      1px 28px;
    background-position:
      0 44px,
      78px 0,
      64px 44px,
      78px 30px;
  }
  .intro h2 {
    font-size: 32px;
  }
  .intro p {
    font-size: 14px;
    line-height: 1.75;
  }
  .studio-copy,
  .studio-results > div {
    padding: 20px;
  }
  .studio > .capabilities {
    padding: 24px 18px 120px;
  }
  .studio {
    width: calc(100% - 28px);
    min-height: 0;
    gap: 16px;
  }
  .studio > .studio-results {
    gap: 16px;
    padding: 0;
    border: 0;
    background: none;
  }
  .tool-cloud {
    height: 230px;
    position: relative;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
    padding-top: 20px;
    --tool-page: 480px;
    --tool-card: 142px;
    --tool-col-1: 18px;
    --tool-col-2: 178px;
    --tool-col-3: 338px;
    --tool-mid-1: 74px;
    --tool-mid-2: 234px;
    --tool-mid-3: 394px;
    --tool-row-1: 18px;
    --tool-row-2: 92px;
    --tool-row-3: 166px;
  }
  .tool-cloud i {
    gap: 7px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .tool-cloud img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .studio-copy h2 {
    font-size: 29px;
  }
  .studio-copy p {
    font-size: 14px;
  }

  .tag-list span {
    padding: 7px 10px;
    font-size: 11px;
  }
  .services {
    min-height: 0;
    padding: 72px 6px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    row-gap: 76px;
  }
  .service-grid article {
    position: relative;
    z-index: 1;
    background: #fff;
  }
  .service-cross {
    z-index: 0;
    width: 340px;
    left: 100%;
    opacity: 0.65;
    transform: translate(-50%, -50%);
  }
  .service-cross-1 {
    top: 33.333%;
  }
  .service-cross-2 {
    top: 66.666%;
  }
  .service-grid:before,
  .service-grid:after {
    display: none;
  }
  .work {
    padding-inline: 0;
  }

  .process {
    padding-bottom: 55px;
  }
  .timeline article {
    grid-template-columns: 68px 30px 1fr;
  }
  .timeline article:after {
    left: 81px;
  }
  .timeline article > span {
    font-size: 13px;
    padding: 7px 7px;
  }
  .faq {
    padding: 50px 0;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer-title {
    font-size: 32px;
  }
}

/* Comfortable medium-scale typography and controls */
body {
  font-size: 16px;
}

p {
  font-size: 15px;
}

.site-header {
  font-size: 13px;
}

.site-header nav {
  gap: 38px;
}

.eyebrow {
  font-size: 10px;
}

.eyebrow {
  padding: 7px 9px;
}

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

.pill {
  min-height: 46px;
  padding: 13px 22px;
  font-size: 14px;
}

.pill span {
  width: 22px;
  height: 22px;
}

.pill.small {
  min-height: 38px;
  padding: 9px 15px;
  font-size: 12px;
}

.pill.small span {
  width: 19px;
  height: 19px;
}

.ghost {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8a908e;
  min-height: 46px;
  font-size: 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ghost span {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;

  -webkit-mask: url("../assets/icons/arrow-right.svg") center / contain
    no-repeat;
  mask: url("../assets/icons/arrow-right.svg") center / contain no-repeat;
}

.ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.hero p,
.intro p,
.service-grid p,
.projects p,
.timeline p,
.accordion p {
  font-size: 14px;
}

.hero small,
.quotes footer span,
.footer small,
.footer > div b {
  font-size: 11px;
}

.tag-list span,
.footer > div:not(.footer-title) {
  font-size: 13px;
}

.service-grid article b,
.timeline h3,
.accordion summary {
  font-size: 15px;
}

@media (max-width: 800px) {
  body {
    font-size: 15px;
  }

  .pill,
  .ghost {
    font-size: 13px;
  }
}

/* Global anchor scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

section[id],
footer[id],
[id].anchor-target {
  scroll-margin-top: 90px;
}

@media (max-width: 800px) {
  .footer.footer-home {
    width: calc(100% - 28px);
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    margin-top: clamp(36px, 5vw, 56px);
    --mobile-cell: calc(100cqw / 6);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows:
      var(--mobile-cell) var(--mobile-cell)
      auto auto auto auto;
    background-image:
      repeating-linear-gradient(
        180deg,
        var(--line) 0px,
        var(--line) 1px,
        transparent 1px,
        transparent var(--mobile-cell)
      ),
      repeating-linear-gradient(
        90deg,
        var(--line) 0px,
        var(--line) 1px,
        transparent 1px,
        transparent calc(100% / 6)
      );
  }
  .footer.footer-home > .footer-logo-cells {
    display: contents;
  }
  .footer-logo-cell img {
    width: calc(var(--mobile-cell) * 0.62);
    height: calc(var(--mobile-cell) * 0.62);
  }
  .footer-home .footer-title {
    grid-column: 1 / -1;
    grid-row: 3;
    padding: 22px 18px;
    margin-right: 0;
    font-size: clamp(26px, 6.2vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    align-items: center;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .footer.footer-home > .footer-links {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 24px 18px;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .footer.footer-home > .footer-counter {
    grid-column: 1 / -1;
    grid-row: 5;
    grid-template-columns: 1fr auto;
    margin-left: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
  }
  .footer-counter .counter-label-wrap {
    justify-content: flex-start;
    padding-right: 12px;
  }
  .footer-counter .counter-clock-wrap {
    border-left: 1px solid var(--line);
    padding-left: 14px;
    padding-right: 0;
  }
  .footer.footer-home > .footer-legal {
    grid-column: 1 / -1;
    grid-row: 6;
    height: auto;
    min-height: auto;
    border-left: 0;
    border-top: 0;
    padding: 16px 18px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .footer.footer-home > .footer-legal span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    white-space: normal;
    color: #8c9390;
  }
}

@media (max-width: 480px) {
  .footer.footer-home > .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 20px 14px;
  }
  .footer-home .footer-links a {
    font-size: 14px;
  }
  .footer-home .footer-links b {
    font-size: 11px;
  }
  .footer.footer-home > .footer-counter {
    padding: 12px 14px;
  }
  .footer-counter .counter-label {
    font-size: 12px;
  }
  .flip-clock {
    gap: 4px;
  }
  .flip-card {
    width: clamp(26px, 6.5vw, 32px);
    height: clamp(38px, 9.5vw, 46px);
    font-size: clamp(18px, 4.5vw, 22px);
    border-radius: 6px;
  }
  .flip-panel-top,
  .flip-leaf-top {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }
  .flip-panel-bottom,
  .flip-leaf-bottom {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  .flip-card::before,
  .flip-card::after {
    width: 2px;
    height: 4px;
  }
  .footer.footer-home > .footer-legal {
    padding: 14px 14px 18px;
  }
  .footer.footer-home > .footer-legal span {
    font-size: 12px;
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 72px;
  }

  section[id],
  footer[id],
  [id].anchor-target {
    scroll-margin-top: 72px;
  }
}
