/* Archify: a shared rhythm and motion language. */
:root {
  --ink: #101012;
  --paper: #f5f0f1;
  --accent: #c82837;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-quick: 180ms;
  --motion-ui: 400ms;
  --motion-reveal: 750ms;
}
::selection {
  color: #fff;
  background: var(--accent);
}
body.font-sans {
  font-family: "Inter", system-ui, sans-serif;
}
svg.menu-btn__icon {
  display: none;
}
svg.menu-btn__icon--open {
  display: block;
}
.menu-btn[aria-expanded="true"] svg.menu-btn__icon--open {
  display: none;
}
.menu-btn[aria-expanded="true"] svg.menu-btn__icon--close {
  display: block;
}
html {
  scroll-behavior: auto;
  scrollbar-color: #b7a6aa var(--paper);
}
section {
  scroll-margin-top: 24px;
}
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
section[tabindex="-1"]:focus,
main[tabindex="-1"]:focus {
  outline: none;
}
.page-shell {
  --section-pad-y: clamp(2.5rem, 3.2vw, 3.5rem);
  --section-pad-x: clamp(1.15rem, 3.3vw, 3.5rem);
  --section-max: 100rem;
}
.section-index {
  margin: 0 0 1.5rem;
  font:
    500 0.7rem/1.5 "Inter",
    system-ui,
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-index::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0.65rem 0.1rem 0;
  background: var(--accent);
}
.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity var(--motion-reveal) var(--ease-out),
    transform var(--motion-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.stage-bg__beam {
  opacity: 0.1;
}
.stage-bg__grid {
  opacity: 0.22;
}
.stage {
  border-radius: 24px;
}
.header-inner {
  padding: 1rem var(--section-pad-x);
}
.nav-pill {
  border-color: rgb(255 255 255 / 0.19);
  background: rgb(12 12 12 / 0.55);
}
.nav-pill a {
  padding-inline: 1rem;
  font-size: 0.9rem;
}
.hero {
  padding-inline: var(--section-pad-x);
  padding-bottom: 2rem;
}
.hero-webgl-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgb(10 10 12 / 0.72),
      rgb(10 10 12 / 0.2) 48%,
      transparent 70%
    ),
    linear-gradient(0deg, rgb(10 10 12 / 0.75), transparent 38%);
  pointer-events: none;
}
.hero-kicker {
  margin-top: clamp(1rem, 3vh, 2.5rem);
  font:
    500 0.7rem/1.5 "Inter",
    system-ui,
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
}
.hero-kicker__mark {
  display: inline-block;
  color: #ef5a68;
  font-size: 1.15rem;
  margin-right: 0.65rem;
}
.hero-title-block {
  margin-top: clamp(1.5rem, 4vh, 3.5rem);
  margin-bottom: 2rem;
  font-size: clamp(2.2rem, 6.8vw, 6rem);
  padding-right: 0;
  max-width: 100%;
}
.hero-title {
  gap: 0.04em;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero-label {
  margin-top: 0.4em;
  gap: 0.18em;
}
.hero-label__text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.1em;
  letter-spacing: 0.22em;
}
.hero-label__line {
  width: 0.7em;
  background: rgb(255 255 255 / 0.6);
}
.hero-copy p {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  max-width: 29ch;
  color: rgb(255 255 255 / 0.8);
}
.hero-ctas {
  margin-top: 1.5rem;
}
.btn,
.connect-cta {
  font-family: "Inter", system-ui, sans-serif;
}
.work-card {
  transition:
    box-shadow 400ms var(--ease-out),
    filter 400ms var(--ease-out);
  box-shadow: 0 16px 35px rgb(0 0 0 / 0.24);
  border-radius: 20px;
}
.work-card:hover {
  filter: brightness(1.08);
  box-shadow: 0 22px 45px rgb(0 0 0 / 0.4);
}
.card-action {
  min-width: 36px;
  min-height: 36px;
}
.works-progress {
  margin-top: 0.6rem;
}
.works-progress .fill {
  width: 100%;
  transform-origin: left center;
  transition: transform 560ms var(--ease-out);
}
.works-slider {
  touch-action: pan-y;
}
.studio-heading {
  letter-spacing: -0.045em;
}
.studio-lead {
  max-width: 35ch;
  color: #58535a;
}
[data-split-title] {
  perspective: 400px;
  overflow: clip;
  overflow-clip-margin: 0.1em;
}
[data-split-title] .char-mask {
  overflow: visible;
}
[data-split-title].is-split .char {
  transform: translate3d(50px, 0, 0);
  opacity: 0;
  transition: none;
}
[data-split-title].is-in .char {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--c) * 30ms);
}
[data-split-title] .split-word {
  display: inline-block;
  white-space: nowrap;
}
.studio-ceo__text {
  color: #615b62;
}
.studio-collective {
  max-width: var(--section-max);
  margin-inline: auto;
}
.studio-collective__head {
  margin-bottom: clamp(2rem, 3vw, 3rem);
}
.studio--collective .studio-heading {
  font-size: clamp(3rem, 7.5vw, 5.45rem);
}
.studio-collective__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
}
.studio-portrait {
  margin: 0;
  width: min(100%, 480px);
  justify-self: center;
  min-width: 0;
}
.studio-portrait__depth {
  position: relative;
  isolation: isolate;
  transform: perspective(1000px) rotateX(var(--portrait-x, 0deg))
    rotateY(var(--portrait-y, 0deg));
  transition: transform 600ms var(--ease-out);
}
.studio-portrait__depth::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  z-index: -1;
  background: #ecd7dd;
  border-radius: 18px;
  transform: rotate(2.5deg);
  transition:
    background 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}
.studio-portrait__depth img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 16px;
  filter: grayscale(1);
  transition: filter 800ms var(--ease-out);
}
.studio-portrait__depth.is-colour img {
  filter: grayscale(0);
}
.studio-portrait__depth.is-colour::before {
  background: #e8bfc8;
  transform: rotate(-1deg);
}
.studio-portrait__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  font:
    400 0.75rem/1.5 "Inter",
    system-ui,
    sans-serif;
  color: #615b62;
}
.studio-colour-control {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  border-bottom: 1px solid #bfaab2;
  color: var(--ink);
  font-size: 0.75rem;
  text-align: left;
}
.studio-colour-control span {
  color: var(--accent);
  transition: transform 400ms var(--ease-out);
}
.studio-colour-control:hover span {
  transform: translate(2px, -2px);
}
.studio-collective__copy {
  min-width: 0;
  max-width: 36rem;
}
.studio-collective__intro h3 {
  margin: 0 0 24px;
  font:
    800 clamp(1.9rem, 3vw, 3rem)/1.12 "Codec Cold",
    system-ui,
    sans-serif;
  letter-spacing: -0.045em;
}
.studio-collective__intro h3 > span {
  color: var(--accent);
}
.studio-collective__intro > p {
  margin: 0;
  font:
    400 clamp(0.95rem, 1.2vw, 1.05rem)/1.8 "Inter",
    system-ui,
    sans-serif;
  color: #615b62;
  max-width: 43ch;
}
.studio-founder {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: 28px;
  border-top: 1px solid #d4c5cc;
}
.studio-founder__label {
  margin: 0 0 18px;
  color: var(--accent);
  font:
    500 0.7rem/1.5 "Inter",
    system-ui,
    sans-serif;
}
.studio-founder blockquote {
  margin: 0;
}
.studio-founder blockquote > p {
  margin: 0;
  font:
    400 clamp(1rem, 1.3vw, 1.2rem)/1.7 "Inter",
    system-ui,
    sans-serif;
  color: #423b41;
  letter-spacing: -0.015em;
}
.studio-founder blockquote footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.studio-founder__portrait {
  display: block;
  width: 175px;
  height: 200px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: 50% 14%;
  /* border-radius: 14px; */
  /* background: #ecd7dd; */
}
.studio-founder__identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  align-self: flex-end;
  margin-top: auto;
}
.studio-founder blockquote strong {
  font:
    800 1.25rem/1.25 "Codec Cold",
    system-ui,
    sans-serif;
  letter-spacing: -0.025em;
}
.studio-founder__identity > span {
  font:
    400 0.72rem/1.6 "Inter",
    system-ui,
    sans-serif;
  color: #615b62;
}
.studio-founder__email {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  margin-top: 18px;
  border-bottom: 1px solid #bfaab2;
  font:
    500 0.75rem/1.5 "Inter",
    system-ui,
    sans-serif;
}
.studio-founder__email > span {
  color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .studio-portrait__depth:hover img {
    filter: grayscale(0);
  }
}
@media (max-width: 767px) {
  .faqs-title {
    font-size: 45px;
  }
  .faq-item__question {
    font-size: 17px;
  }
  .studio-collective__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
  .studio-portrait {
    width: min(100%, 440px);
    padding-right: 10px;
  }
  .studio-collective__copy {
    max-width: none;
  }
  .studio-collective__intro h3 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .studio-founder {
    margin-top: 30px;
  }
}
@media (max-width: 639px) {
  .studio--collective .studio-heading {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }
}
html:not(.is-enhanced) .studio-colour-control {
  display: none;
}
.motion-paused .studio-portrait__depth {
  transform: none;
}
.motion-paused [data-split-title].is-split .char {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  [data-split-title].is-split .char,
  [data-split-title].is-in .char {
    transform: none;
    opacity: 1;
    transition: none;
  }
  .studio-portrait__depth {
    transform: none;
    transition: none;
  }
  .studio-portrait__depth img,
  .studio-portrait__depth::before {
    transition: none;
  }
}
.services-title,
.process-title,
.work-showcase-title,
.faqs-title,
.contact-title {
  text-wrap: balance;
}
.services-head__copy {
  gap: 0;
}
.services-title {
  font-size: clamp(2.8rem, 6vw, 5.45rem);
}
.process-title {
  font-size: clamp(3rem, 7.5vw, 5.45rem);
}
.service-item__panel {
  transition-duration: var(--motion-ui);
}
.service-item__panel-inner {
  min-height: 0;
  overflow: hidden;
}
.service-item__col--body {
  gap: 0;
}
.service-item__panel-inner > .service-item__detail {
  padding-top: 1.5rem;
}
.service-item__icon svg {
  grid-area: 1 / 1;
}
.service-item__heading {
  letter-spacing: -0.03em;
}
.service-item:not(.is-open) .service-item__index {
  color: #a5a5a5;
}
.service-item:not(.is-open) .service-item__heading {
  color: #dedede;
}
.service-item:not(.is-open) .service-item__pills span {
  color: #bcbcbc;
}
.service-item__toggle {
  min-width: 44px;
  min-height: 44px;
}
.service-item__icon {
  transition: transform var(--motion-ui) var(--ease-out);
}
.service-item.is-open .service-item__icon {
  transform: rotate(180deg);
}
.service-item__icon .fa-minus {
  transform: rotate(180deg);
}
.work-showcase-head {
  align-items: flex-start;
  text-align: left;
}
.process-card {
  outline-offset: 6px;
  transition:
    transform 450ms var(--ease-out),
    box-shadow 450ms var(--ease-out);
}
.process-card::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 500ms var(--ease-out);
}
.process-card__num {
  transition:
    -webkit-text-stroke-color 400ms,
    color 400ms;
}
.process-card__icon svg {
  transition: transform 450ms var(--ease-out);
}
.process-path__line {
  stroke: url(#process-connector-gradient);
}
.process.is-flowing .process-path__line {
  animation: process-connector-flow 1100ms linear infinite;
  animation-play-state: paused;
}
.process.is-flow-active .process-path__line {
  animation-play-state: running;
}
@keyframes process-connector-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -8.5;
  }
}
.process-card__toggle {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .process-card__toggle {
    display: block;
  }
}
.process-card:focus-visible,
.process-card:has(.process-card__toggle:focus-visible),
.process-card.is-active {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgb(70 20 30 / 0.13);
}
.process-card:focus-visible::before,
.process-card:has(.process-card__toggle:focus-visible)::before,
.process-card.is-active::before {
  transform: scaleX(1);
}
.process-card:focus-visible .process-card__icon,
.process-card:has(.process-card__toggle:focus-visible) .process-card__icon,
.process-card.is-active .process-card__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px) rotate(-8deg);
}
.process-card:focus-visible .process-card__num,
.process-card:has(.process-card__toggle:focus-visible) .process-card__num,
.process-card.is-active .process-card__num {
  -webkit-text-stroke-color: var(--accent);
}
.process-card.is-active .process-card__icon svg {
  transform: rotate(8deg) scale(1.08);
}
@media (hover: hover) and (pointer: fine) {
  .process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgb(70 20 30 / 0.13);
  }
  .process-card:hover::before {
    transform: scaleX(1);
  }
  .process-card:hover .process-card__num {
    -webkit-text-stroke-color: var(--accent);
  }
  .process-card:hover .process-card__icon svg {
    transform: rotate(8deg) scale(1.08);
  }
}
.work-showcase-title {
  max-width: none;
}
.work-showcase-intro {
  max-width: 42ch;
  color: #605961;
}
.work-stack {
  gap: 1.5rem;
}
.work-stack:not(.work-stack--pin) .work-stack-item {
  position: relative;
  top: auto;
}
.work-stack-item {
  --work-card-pad: clamp(1rem, 2vw, 2rem);
  border-radius: 20px;
  padding: var(--work-card-pad);
}
.work-stack--pin .work-stack-item__copy {
  margin-top: calc(12px - var(--work-card-pad));
}
.work-stack--pin .work-stack-item__head {
  height: calc(var(--stack-peek) - 24px);
  transform: translate3d(0, var(--work-title-y, 0px), 0);
}
.work-stack--pin .work-stack-item__body {
  padding-top: 1.875rem;
  transform: translate3d(0, var(--work-title-y, 0px), 0);
  opacity: var(--work-copy-opacity, 1);
}
.work-stack-item__title {
  font-family: "Codec Cold", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  letter-spacing: -0.035em;
}
.work-stack--pin .work-stack-item__title {
  font-size: calc(
    var(--work-title-base, clamp(1.4rem, 2.5vw, 2.3rem)) *
      var(--work-title-scale, 1)
  );
  -webkit-text-stroke: var(--work-title-thinning, 0px) #fff;
  paint-order: fill stroke;
}
.work-stack-item__desc {
  color: #605961;
  line-height: 1.65;
}
.project-open {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0.8rem 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid #bdb1b5;
  font:
    500 0.8rem/1.5 "Inter",
    system-ui,
    sans-serif;
  color: var(--ink);
}
.project-open span {
  font-size: 1.25rem;
  transition: transform var(--motion-ui) var(--ease-out);
}
.project-open:hover span,
.project-open:focus-visible span {
  transform: translate(3px, -3px);
}
.project-open:hover {
  color: var(--accent);
}
.faq-item__answer {
  color: #615a62;
}
.faq-item__panel {
  transition-duration: var(--motion-ui);
}
.faq-item__icon svg {
  grid-area: 1 / 1;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.contact-title {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 1.04;
  text-transform: none;
  max-width: 11ch;
}
.contact-title span {
  color: var(--accent);
}
.contact-title .split-word,
.contact-title .char-mask,
.contact-title .char {
  color: inherit;
}
.contact-form {
  border: 1px solid rgb(16 16 18 / 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 70px rgb(53 30 39 / 0.04);
}
.contact-control input,
.contact-control textarea,
.contact-select__trigger,
.contact-control--phone {
  border-radius: 10px;
}
.contact-control input::placeholder,
.contact-control textarea::placeholder,
.contact-select__trigger {
  color: #777078;
}
.contact-form__intro {
  color: #665e66;
}
.contact-control--phone input[name="phone"] {
  border-radius: 0 10px 10px 0;
}
.contact-submit {
  cursor: pointer;
}
.contact-submit__arrow {
  transition: transform var(--motion-ui) var(--ease-out);
}
.contact-form__success {
  animation: state-in 0.35s var(--ease-out);
}
@keyframes state-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.studio,
.work-showcase,
.process,
.faqs,
.contact {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  margin-top: 0;
  margin-bottom: 0;
}
.services-inner {
  padding-block: var(--section-pad-y);
}
.site-footer {
  margin-top: 0;
  padding-top: var(--section-pad-y);
}
.mobile-menu {
  position: fixed;
  border-radius: 0;
  overflow-y: auto;
  clip-path: none;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity var(--motion-ui) var(--ease-out),
    transform var(--motion-ui) var(--ease-out),
    visibility var(--motion-ui);
  padding-top: 6.5rem;
  z-index: 45;
}
.mobile-menu.is-open {
  clip-path: none;
  opacity: 1;
  transform: none;
}
.mobile-menu__inner {
  overflow: visible;
}
.mobile-menu__list {
  margin: 1rem 0 2rem;
  gap: 0.3rem;
}
.mobile-menu__list a {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 500;
  padding: 0.45rem;
}
.site-header:has(.menu-btn[aria-expanded="true"]) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.project-dialog {
  position: fixed;
  inset: 0;
  width: min(1100px, calc(100% - 3rem));
  max-height: 90svh;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  overflow: auto;
  border: 0;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
}
.project-dialog[open] {
  animation: state-in 0.3s var(--ease-out);
}
.project-dialog::backdrop {
  background: rgb(8 8 10 / 0.8);
  backdrop-filter: blur(6px);
}
.project-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font: 400 1.7rem/1 system-ui;
}
.project-dialog__close svg {
  display: block;
  width: 20px;
  height: 20px;
}
.project-dialog__close:hover {
  background: var(--ink);
  color: #fff;
}
.project-dialog__close:focus-visible {
  outline: none;
  background: var(--accent);
  color: #fff;
}
.project-dialog__intro {
  width: 100%;
  max-width: none;
  padding-right: 2rem;
  margin-bottom: 2rem;
}
.project-dialog h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.project-dialog [data-project-description] {
  margin-top: 1.25rem;
  font:
    400 1rem/1.7 "Inter",
    system-ui,
    sans-serif;
  color: #605961;
}
.project-dialog [data-project-tags] {
  display: flex;
  gap: 0.4rem 0.55rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.project-dialog__cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding-block: 0.5rem;
  font:
    500 0.8rem/1.5 "Inter",
    system-ui,
    sans-serif;
  border-bottom: 1px solid var(--ink);
}
.project-dialog figure {
  border-radius: 12px;
  overflow: hidden;
  background: #e8e1e3;
}
.project-dialog figure img {
  width: 100%;
  height: auto;
}
@media (min-width: 901px) {
  /* Leave room for the navbar and all six stacked headers on laptop viewports. */
  .work-showcase {
    --stack-peek: clamp(48px, calc(10svh - 24px), 60px);
    --work-media-h: clamp(220px, calc(100svh - 400px - var(--work-header-clearance, 0px)), 420px);
  }
  .work-showcase .project-open {
    margin-top: clamp(1rem, calc(10svh - 44px), 4rem);
  }
  .hero-bottom {
    grid-template-columns: 0.85fr 1.3fr;
    gap: 3rem;
  }
}
@media (min-width: 901px) and (max-height: 650px) {
  .work-stack-item {
    --work-card-pad: 0.75rem;
  }
}
@media (max-width: 900px) {
  .work-showcase {
    --stack-peek: 40px;
    --work-title-travel: 16px;
    --work-title-base: clamp(0.95rem, 4vw, 1.15rem);
  }
  .work-stack--mobile-layout .work-stack-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    min-height: 0;
    padding: 0.85rem;
    --work-card-pad: 0.85rem;
  }
  .work-stack--mobile-layout .work-stack-item__head {
    height: 24px;
    gap: 0.5rem;
  }
  .work-stack--mobile-layout:not(.work-stack--pin) .work-stack-item__title {
    font-size: var(--work-title-base);
  }
  .work-stack--mobile-layout .work-stack-item__index {
    font-size: 0.7rem;
  }
  .work-stack--mobile-layout .work-stack-item__body {
    padding: 1.5rem 0 0.25rem;
    gap: 0.5rem;
  }
  .work-stack--mobile-layout .work-stack-item__desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .work-stack--mobile-layout .work-stack-item__tags,
  .project-dialog [data-project-tags] {
    gap: 0.3rem;
  }
  .work-stack--mobile-layout .work-stack-item__tags li,
  .project-dialog [data-project-tags] li {
    font-size: 0.58rem;
    padding: 0.25rem 0.45rem;
  }
  .work-stack--mobile-layout .project-open {
    margin-top: 2.25rem;
    padding: 0.5rem 0;
    font-size: 0.72rem;
  }
  .work-stack--mobile-layout .work-stack-item__media {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 9;
  }
  .work-stack--mobile-layout.work-stack--pin .work-stack-item {
    position: absolute;
    top: 0;
  }
  .work-stack--mobile-layout.work-stack--pin .work-stack-item__copy {
    margin-top: calc(8px - var(--work-card-pad));
  }
  .work-stack-item {
    position: relative;
    top: auto;
  }
  .work-stack {
    gap: 1.5rem;
  }
  .work-stack-item {
    grid-template-columns: 1fr;
  }
  .work-stack-item__body {
    max-width: none;
  }
  .hero-title-block {
    font-size: clamp(2.3rem, 8.5vw, 4.8rem);
  }
  .contact-title {
    max-width: 15ch;
  }
}
@media (min-width: 640px) and (max-width: 1199px) {
  .stage {
    height: auto;
    min-height: 860px;
    max-height: none;
  }
  .hero {
    min-height: 750px;
    height: auto;
  }
  .hero-bottom {
    grid-template-columns: minmax(340px, 1fr) minmax(0, 1.35fr);
    gap: 1.5rem;
  }
  .work-card {
    height: 120px;
  }
  .hero-ctas {
    gap: 0.5rem;
  }
  .btn {
    font-size: 0.76rem;
  }
  .btn-ghost {
    padding-inline: 1.1rem;
  }
  .btn-solid {
    padding-left: 1rem;
  }
}
@media (min-width: 640px) and (max-width: 900px) {
  .hero-bottom {
    grid-template-columns: 1fr;
  }
  .hero-works {
    align-self: end;
  }
  .hero {
    min-height: 820px;
  }
}
@media (max-width: 639px) {
  .page-shell {
    --section-pad-y: 2.5rem;
    --section-pad-x: 1.15rem;
  }
  .stage {
    height: auto;
    min-height: calc(100svh - 1rem);
    max-height: none;
    border-radius: 20px;
  }
  .hero {
    overflow: visible;
    padding-bottom: 2rem;
  }
  .hero-kicker {
    margin-top: 2rem;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
  .hero-title-block {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
  .hero-title {
    gap: 0.08em;
  }
  .hero-label__text {
    font-size: 0.15em;
  }
  .hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
    margin-top: 1rem;
  }
  .hero-copy p {
    max-width: 32ch;
    font-size: 0.9rem;
  }
  .hero-ctas {
    gap: 0.5rem;
  }
  .btn {
    font-size: 0.7rem;
  }
  .hero-works {
    width: 100%;
  }
  .works-cards {
    justify-content: center;
    width: 100%;
    gap: 0.45rem;
  }
  .work-card {
    flex: 0 1 auto;
    min-width: 0;
    height: 120px;
    border-radius: 12px;
  }
  .work-card img {
    height: 100%;
    width: auto;
  }
  .card-action {
    min-width: 28px;
    min-height: 28px;
    width: 28px;
    height: 28px;
  }
  .scroll-cue {
    display: none;
  }
  .hero-mobile-bg {
    opacity: 0.65;
  }
  .hero-webgl-layer {
    display: none;
  }
  .stage:has(.hero-webgl-layer.is-ready) .hero-mobile-bg {
    opacity: 0.65;
  }
  .studio,
  .work-showcase,
  .faqs,
  .contact {
    padding-top: var(--section-pad-y);
  }
  .work-showcase-head {
    align-items: flex-start;
    text-align: left;
  }
  .work-showcase-title {
    text-align: left;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }
  .process-title {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }
  .work-stack-item__title {
    font-size: 1.6rem;
  }
  .work-stack-item__media {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }
  .work-stack-item__media img {
    object-fit: cover;
  }
  .contact-title {
    font-size: clamp(2.8rem, 12vw, 4rem);
    text-align: center;
  }
  .contact-form {
    padding: 1.25rem;
  }
  .project-dialog {
    width: calc(100% - 1.25rem);
    padding: 1.5rem;
    border-radius: 16px;
  }
  .project-dialog__intro {
    padding-top: 2rem;
    padding-right: 0;
  }
  .project-dialog h2 {
    font-size: clamp(2rem, 5vw, 4rem);
  }
}
html:not(.is-enhanced) .menu-btn,
html:not(.is-enhanced) .project-open {
  display: none;
}
html:not(.is-enhanced) .service-item__panel,
html:not(.is-enhanced) .faq-item__panel {
  grid-template-rows: 1fr;
}
html:not(.is-enhanced) .contact-form {
  display: none;
}
@media (max-width: 720px) {
  .work-stack-item__title,
  .work-stack--pin .work-stack-item__title,
  .work-stack--mobile-layout:not(.work-stack--pin) .work-stack-item__title {
    font-size: clamp(1.25rem, 1.9vw, 1.45rem);
  }
}
.work-stack.work-stack--native {
  position: relative;
  display: flex;
  height: auto;
  overflow: visible;
  padding-bottom: 0;
}
.work-stack.work-stack--native .work-stack-item {
  position: sticky;
  /* Keep every exposed header at the same step, like the desktop pyramid.
     Tall cards remain in normal flow and scroll out with the stack. */
  top: calc(var(--work-mobile-offset) + var(--i) * var(--stack-peek));
  height: auto;
  transform: scale(var(--work-mobile-scale, 1));
  transform-origin: top center;
  will-change: transform;
}
@media (max-width: 900px) {
  .work-stack--native .work-stack-item__head {
    height: auto;
    min-height: 24px;
  }
  .work-stack--native .work-stack-item__body {
    padding-top: 1rem;
    gap: 0.6rem;
  }
  .work-stack--native .project-open {
    margin-top: 0.75rem;
  }
}
@media (max-height: 740px) and (min-width: 640px) {
  .stage {
    height: auto;
    min-height: 740px;
  }
  .hero-title-block {
    font-size: clamp(2.6rem, 5.7vw, 5rem);
  }
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.motion-paused .motion-reveal {
  opacity: 1;
  transform: none;
}
.motion-paused [data-split-title].is-split .char {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}
/* Keep the longer agency tagline on two intentional lines. */
.hero-title--tagline {
  font-size: clamp(1.5rem, 6.3vw, 7.5rem);
}
.hero-title--tagline .hero-title__line {
  white-space: nowrap;
}
.hero-title--tagline .hero-label__text {
  font-size: clamp(0.6rem, 0.85vw, 0.9rem);
}
@media (max-width: 639px) {
  .hero-title--tagline {
    font-size: clamp(1.9rem, 9vw, 3.4rem);
  }
  .hero-title--tagline .hero-label {
    gap: 0.5em;
  }
}
