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

button,
input[type="button"],
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

/*
  Typography (gergeux.art):
  Title     — --title-size
  Primary   — --primary-size
  Secondary — --secondary-size (menu + body copy)
  Sub       — --sub-size (footer)

  Responsive: fluid type-scale above 768px; fixed sizes at max-width 768px.
*/

:root {
  --type-scale: max(2.5rem, min(7.5vw, 90px));
  --title-size: var(--type-scale);
  --primary-size: calc(var(--type-scale) * 0.5);
  --copy-size: var(--primary-size);
  --secondary-size: calc(var(--type-scale) * 0.25);
  --secondary-line-height: 1.45;
  --sub-size: calc(var(--type-scale) * 16 / 90);
  --page-width: 90rem;
  --pad-x: clamp(1.5rem, 4vw, 3rem);
  --header-height: 0px;
  --yellow: #d9d9d9;
  --content-color: #6a71eb;
  --bg-color: var(--yellow);
  --text-color: var(--content-color);
  --menu-bg: var(--yellow);
  --menu-text: var(--text-color);
  --hero-stack-gap: 1.77890625rem;
  --hero-title-top-gap: 5rem;
  --hero-title-gap: 3.5546875rem;
  --about-section-gap: 60pt;
  --hero-footer-gap: 0.2734375rem;
  --hero-footer-bottom-gap: 24px;
  --contact-title-top-gap: 5rem;
  --contact-title-content-gap: 35px;
  --text-box-width: min(70vw, calc(var(--page-width) - 2 * var(--pad-x)));
  --legal-section-line-gap: clamp(1.5rem, 3vh, 2.5rem);
}

body.is-inverted {
  --bg-color: var(--content-color);
  --text-color: var(--yellow);
  --menu-bg: var(--content-color);
  --menu-text: var(--yellow);
  color-scheme: dark;
}

.contact-scroll,
.contact-shell,
.contact-backdrop,
.page-contact,
.site-footer--page {
  --bg-color: var(--content-color);
  --text-color: var(--yellow);
  color: var(--text-color);
}

.contact-backdrop {
  display: none;
}

.contact-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.contact-shell-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.contact-shell > .contact-scroll,
.contact-shell > .site-footer--page {
  position: relative;
  z-index: 1;
}

.page-contact,
.site-footer--page {
  background-color: var(--bg-color);
}

.contact-shell > .site-footer--page {
  background-color: transparent;
}

body.is-inverted .contact-scroll,
body.is-inverted .contact-shell,
body.is-inverted .contact-backdrop,
body.is-inverted .page-contact,
body.is-inverted .site-footer--page {
  --bg-color: var(--yellow);
  --text-color: var(--content-color);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
  color-scheme: light;
}

body {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

input,
textarea,
button {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration: none;
}

.type-title {
  font-size: var(--title-size);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-color);
}

.type-title span {
  display: block;
}

.type-primary {
  font-size: var(--primary-size);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-color);
}

.type-secondary,
.type-secondary p,
.copy-text,
.copy-text p {
  font-size: var(--secondary-size);
  line-height: var(--secondary-line-height);
  color: var(--text-color);
}

.type-sub {
  font-size: var(--sub-size);
  line-height: 1.45;
  color: var(--text-color);
  opacity: 1;
}

.type-secondary .type-sub,
.type-secondary address.type-sub {
  font-size: var(--sub-size);
  line-height: 1.45;
}

.type-secondary .type-primary,
.type-secondary p.type-primary {
  font-size: var(--primary-size);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page {
  position: relative;
  z-index: 1;
  width: var(--page-width);
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--pad-x);
  background: transparent;
}

body.hero-parallax-pinned .site-header {
  position: fixed;
  top: 0;
  left: max(0px, calc((100vw - min(var(--page-width), 100vw)) / 2));
  width: min(var(--page-width), 100vw);
  background: transparent;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

body.contact-page .site-header,
body.legal-page .site-header {
  position: fixed;
  top: 0;
  left: max(0px, calc((100vw - min(var(--page-width), 100vw)) / 2));
  width: min(var(--page-width), 100vw);
  background: transparent;
}

body.hero-parallax-pinned .main {
  padding-top: 0;
}

.hero-scroll-pin {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100vh;
  padding: calc(var(--header-height, 0px) * 1.25) var(--pad-x) 6rem;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
}

.hero-scroll-cue {
  position: absolute;
  bottom: calc(clamp(1.5rem, 4vh, 2.5rem) + 50px);
  left: var(--pad-x);
  color: var(--text-color);
  z-index: 2;
  border: 0;
  padding: 0.5rem;
  background: transparent;
  cursor: pointer;
  transform: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-scroll-cue:hover {
  opacity: 0.72;
}

.hero-scroll-cue-label {
  display: none;
}

.hero-scroll-arrow {
  display: block;
  width: clamp(22px, 1.98vw, 29px);
  height: auto;
  animation: hero-scroll-arrow-float 1.6s ease-in-out infinite;
}

@keyframes hero-scroll-arrow-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(16px);
  }
}

.apps-gallery-viewport {
  width: 100%;
  overflow: visible;
}

.apps-gallery-track {
  will-change: transform;
}

.apps-scroll.is-gallery-ready .apps-scroll-visual {
  pointer-events: auto;
}

@media (min-width: 769px) and (max-width: 1439px) {
  .apps-scroll-visual {
    height: 100vh;
    max-height: 100vh;
  }

  .apps-scroll.is-gallery-ready .apps-scroll-visual {
    height: var(--apps-visual-height, 100vh);
    min-height: var(--apps-visual-height, 100vh);
    max-height: var(--apps-visual-height, 100vh);
  }
}

@media (min-width: 769px) {
  body:not(.is-static-page) .apps-scroll.is-gallery-ready .apps-scroll-pin {
    touch-action: auto;
    cursor: default;
  }

  body:not(.is-static-page) .apps-scroll.is-gallery-ready .apps-gallery-viewport {
    overflow: hidden;
    touch-action: auto;
  }

  body:not(.is-static-page) .apps-scroll.is-gallery-ready .apps-gallery-track {
    display: block;
    position: relative;
    transform: none !important;
    will-change: auto;
  }

  body:not(.is-static-page) .apps-scroll.is-gallery-ready .apps-gallery-track > .hero-scroll-project {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: opacity;
    transform: none;
    pointer-events: none;
  }

  body:not(.is-static-page) .apps-scroll.is-gallery-ready .apps-gallery-track > .hero-scroll-project.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  body:not(.is-static-page) .apps-scroll.is-gallery-ready.is-complete .hero-scroll-project:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }

  body:not(.is-static-page) .apps-gallery-nav-btn {
    display: none;
  }

  body:not(.is-static-page) .apps-gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--apps-gallery-dot-gap);
    width: max-content;
    margin: 0;
    padding: 0;
  }

  body:not(.is-static-page) .apps-gallery-dot {
    display: block;
    width: var(--apps-gallery-dot-size);
    height: var(--apps-gallery-dot-size);
    border-radius: 50%;
    background-color: var(--text-color);
    opacity: 0.5;
    flex-shrink: 0;
  }

  body:not(.is-static-page) .apps-gallery-dot.is-active {
    opacity: 1;
  }

  body:not(.is-static-page) .hero-scroll-projects-stage {
    position: relative;
    min-height: calc(
      var(--apps-gallery-viewport-max-height, 135px) + var(--apps-gallery-nav-gap) + var(--apps-gallery-dot-size)
    );
  }

  body:not(.is-static-page) .apps-gallery-nav {
    position: absolute;
    top: calc(var(--apps-gallery-viewport-max-height, 135px) + var(--apps-gallery-nav-gap));
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    gap: 0;
    margin-top: 0;
  }
}

.apps-gallery-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  margin-top: var(--apps-intro-title-gap, var(--hero-stack-gap));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.apps-gallery-dots {
  display: none;
}

.apps-scroll.is-gallery-ready .apps-gallery-nav {
  opacity: 1;
  visibility: visible;
}

.apps-gallery-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.apps-gallery-nav-btn:hover {
  opacity: 0.72;
}

.apps-gallery-nav-btn--prev {
  padding-left: 10px;
}

.apps-gallery-nav-btn--next {
  margin-left: 100px;
}

.apps-gallery-nav-btn .hero-scroll-arrow {
  display: block;
  animation: none;
}

.hero-scroll-arrow--left {
  transform: rotate(90deg);
}

.hero-scroll-arrow--right {
  transform: rotate(-90deg);
}

.apps-gallery-nav-btn .hero-scroll-arrow.gallery-arrow-portrait {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-arrow {
    animation: none;
  }
}

.hero-scroll-content {
  position: relative;
  flex: 1;
  width: 100%;
}

.logo {
  flex-shrink: 0;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--text-color);
}

.nav {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
  font-size: var(--secondary-size);
  line-height: var(--secondary-line-height);
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
}

.nav a:hover {
  text-decoration: underline;
}

.nav-switch {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  color: var(--text-color);
}

.nav-switch:active,
.nav-switch:focus,
.nav-switch:focus-visible {
  color: var(--text-color);
  background: none;
}

.nav-switch:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-color);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.main {
  padding: 0;
}

.hero-scroll {
  position: relative;
}

body.is-hero-copy-phase .hero-scroll-main {
  transform: none !important;
  margin-bottom: 0 !important;
}

.hero-scroll-main {
  will-change: transform;
}

.hero-scroll-projects-stage,
.hero-scroll-stage,
.apps-scroll-intro,
.about-section-content,
.contact-scroll .page-contact-intro,
.contact-scroll .newsletter-block,
.contact-scroll .contact-form-group,
.contact-scroll .page-contact-address,
.contact-scroll .page-contact-company,
.page-contact-address,
.page-contact-intro,
.contact-form,
.form-success {
  width: var(--text-box-width);
  max-width: none;
}

.hero-scroll-slot {
  display: grid;
  grid-template-areas: "copy";
  width: 100%;
}

.hero-scroll-slot > .hero-scroll-item {
  grid-area: copy;
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-slot > .hero-scroll-welcome {
  opacity: 1;
  pointer-events: auto;
}

.hero-scroll-slot > .hero-scroll-about-intro {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-slot > .hero-scroll-thanks {
  display: none;
}

.hero-scroll-stage {
  width: var(--text-box-width);
  max-width: none;
}

.hero-scroll-projects-stage {
  display: flex;
  flex-direction: column;
  gap: var(--hero-stack-gap);
}

.hero-scroll-projects-label {
  margin: 0;
}

.hero-scroll-projects-slot {
  display: grid;
  grid-template-areas: "project";
}

.hero-scroll-projects-slot > .hero-scroll-project {
  grid-area: project;
  opacity: 0;
  pointer-events: none;
}

.about-section {
  padding: var(--about-section-gap) var(--pad-x) 3rem;
}

.apps-scroll,
.contact-scroll {
  position: relative;
}

.contact-scroll {
  z-index: 1;
  background-color: transparent;
}

.contact-scroll.is-over-apps,
.contact-scroll.is-complete {
  z-index: 3;
}

.contact-shell:has(.contact-scroll.is-over-apps),
.contact-shell:has(.contact-scroll.is-complete) {
  position: relative;
  z-index: 3;
}

.apps-scroll-pin {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: calc(var(--header-height, 0px) * 1.25) var(--pad-x) 6rem;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  overflow: hidden;
}

.apps-scroll-visual {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin-left: -50vw;
  pointer-events: none;
  z-index: 0;
}

.apps-scroll-images-slot {
  display: grid;
  grid-template-areas: "image";
  width: 100%;
  height: 100%;
}

.apps-scroll-images-slot > .apps-scroll-image {
  grid-area: image;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.contact-scroll-pin {
  position: relative;
  z-index: 1;
  padding: var(--contact-title-top-gap) var(--pad-x) var(--hero-stack-gap);
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  box-sizing: border-box;
}

.apps-scroll-content,
.contact-scroll-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.contact-scroll-content {
  will-change: transform, opacity;
}

.contact-scroll-stage {
  display: flex;
  flex-direction: column;
}

.hero-scroll-main .type-title,
.apps-scroll .type-title,
.about-section .type-title,
.contact-scroll .type-title {
  margin-left: -8px;
  margin-bottom: clamp(0.5rem, 0.2em, 1.875rem);
}

.apps-scroll-main,
.apps-scroll-stage {
  will-change: transform;
}

.apps-scroll .apps-scroll-intro,
.apps-scroll .hero-scroll-projects-stage {
  opacity: 0;
  pointer-events: none;
}

.apps-scroll-stage {
  padding-top: calc(35px - clamp(0.5rem, 0.2em, 1.875rem));
}

.apps-scroll .apps-scroll-intro {
  margin: 0;
}

.apps-scroll-intro + .hero-scroll-projects-stage {
  margin-top: var(--apps-intro-title-gap, var(--hero-stack-gap));
}

html.layout-etalon .apps-scroll-intro + .hero-scroll-projects-stage {
  margin-top: var(--apps-intro-title-gap, 60px);
}

.apps-scroll .hero-scroll-projects-stage {
  margin-bottom: 0;
  gap: 0;
}

.apps-scroll-intro,
.apps-scroll .hero-scroll-project,
.apps-scroll-image {
  will-change: opacity, transform;
}

.apps-scroll .apps-project-discover {
  color: #000;
  text-decoration: none;
}

.apps-scroll .apps-project-discover:hover {
  opacity: 0.65;
}

.contact-scroll-main + .contact-scroll-stage {
  padding-top: 0;
}

.hero-scroll-main .type-title {
  margin-bottom: var(--hero-title-gap);
  flex-shrink: 0;
}

.about-section-content p + p {
  margin-top: var(--hero-stack-gap);
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40pt;
  width: var(--text-box-width);
  max-width: none;
  margin-top: var(--hero-stack-gap);
}

.about-principle {
  background: var(--black);
  color: var(--yellow);
  aspect-ratio: 3 / 4;
  padding: 1.25rem;
  text-align: left;
  display: flex;
  align-items: flex-start;
}

.about-principle p {
  margin: 0;
}

.hero-scroll-form,
.hero-scroll-note {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  pointer-events: none;
}

.hero-scroll-slot > .hero-scroll-item.is-visible,
.hero-scroll-form.is-visible,
.hero-scroll-note.is-visible {
  overflow: visible;
}

.hero-scroll-item {
  will-change: opacity;
  text-align: left;
}

.hero-scroll-form {
  margin-bottom: 0;
}

.hero-scroll-form .signup-form {
  margin-bottom: 0;
}

.hero-scroll-note {
  margin-top: var(--hero-stack-gap);
}

body.no-parallax .hero-scroll-slot > .hero-scroll-item,
body.no-parallax .hero-scroll-form,
body.no-parallax .hero-scroll-note,
body.no-parallax #apps .apps-scroll-intro,
body.no-parallax #apps .hero-scroll-projects-stage,
body.no-parallax #apps .hero-scroll-project,
body.no-parallax .contact-shell-bg,
body.no-parallax #contact .contact-scroll-content,
body.no-parallax #apps .apps-scroll-main,
body.no-parallax #apps .apps-scroll-stage,
body.no-parallax #apps #apps-heading,
.hero-scroll.is-complete .hero-scroll-slot > .hero-scroll-item,
.hero-scroll.is-complete .hero-scroll-form,
.hero-scroll.is-complete .hero-scroll-note,
.apps-scroll.is-complete .hero-scroll-project {
  opacity: 1;
  max-height: none;
  overflow: visible;
  pointer-events: auto;
  transform: none;
}

.apps-scroll.is-complete .apps-scroll-intro,
.apps-scroll.is-complete .hero-scroll-projects-stage,
.contact-scroll.is-complete .contact-shell-bg,
.contact-scroll.is-complete .contact-scroll-content {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.is-submitted .hero-scroll {
  height: auto !important;
}

body.is-submitted .hero-scroll-pin,
body.is-submitted.hero-parallax-pinned .hero-scroll-pin {
  position: relative;
  top: auto;
  min-height: 0;
  padding-bottom: 0;
  overflow: visible;
}

body.is-submitted .hero-scroll-slot > .hero-scroll-item,
body.is-submitted .hero-scroll-form,
body.is-submitted .hero-scroll-note {
  display: none !important;
}

.hero-scroll-thanks {
  display: none;
  margin: 0;
  text-align: left;
}

body.is-submitted .hero-scroll-thanks {
  display: block;
  color: var(--text-color);
}

.signup-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.signup-field,
.signup-button {
  border: 4px solid var(--text-color);
  border-radius: 0.75rem;
  height: calc((var(--secondary-size) * var(--secondary-line-height) + 2.25rem) * 1.2);
  padding: 0 1.25rem;
  line-height: var(--secondary-line-height);
  background: var(--bg-color);
}

.signup-field {
  flex: 1;
  min-width: 0;
  color: var(--text-color);
  line-height: calc((var(--secondary-size) * var(--secondary-line-height) + 2.25rem) * 1.2);
}

.signup-field::placeholder {
  color: var(--text-color);
  opacity: 1;
  font: inherit;
}

.signup-field:focus::placeholder {
  opacity: 0;
}

.signup-field:-webkit-autofill,
.signup-field:-webkit-autofill:hover,
.signup-field:-webkit-autofill:focus,
.signup-field:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text-color);
  caret-color: var(--text-color);
  box-shadow: 0 0 0 1000px var(--bg-color) inset;
  -webkit-box-shadow: 0 0 0 1000px var(--bg-color) inset;
  transition: background-color 99999s ease-out 0s;
}

.signup-button {
  flex-shrink: 0;
  width: fit-content;
  min-width: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  cursor: pointer;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: var(--secondary-size);
  transition: transform 0.2s ease;
}

.signup-button:hover,
.signup-button:active,
.signup-button:focus,
.signup-button:focus-visible {
  background: var(--bg-color);
  color: var(--text-color);
}

.signup-button.is-pressed {
  transform: scale(0.8);
  background: var(--bg-color);
  color: var(--text-color);
}

.signup-button.is-releasing,
.signup-button.is-resetting {
  transform: scale(1);
  background: var(--bg-color);
  color: var(--text-color);
}

.site-footer {
  background: var(--bg-color);
  padding: 1rem var(--pad-x) clamp(2.25rem, 5vw, 3.5rem);
}

.site-footer--hero {
  display: none;
  width: 100%;
  max-width: none;
  margin-top: 80px;
  padding: var(--hero-footer-gap) 0 var(--hero-footer-bottom-gap);
  background: var(--bg-color);
}

@media (min-width: 769px) {
  :root {
    --type-scale: 90px;
    --title-size: 130px;
    --primary-size: 45px;
    --copy-size: 45px;
    --secondary-size: 22.5px;
    --sub-size: 16px;
    --text-box-width: 700px;
    --hero-apps-gap: 130px;
    --apps-intro-title-gap: 60px;
    --contact-title-top-gap: 100px;
    --contact-title-content-gap: 35px;
    --pad-x: 48px;
    --header-height: 81px;
  }

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

  .contact-scroll .contact-scroll-pin {
    padding: 100px var(--pad-x) var(--hero-stack-gap);
  }

  html.layout-etalon .contact-scroll .contact-scroll-pin {
    padding-top: 100px;
  }

  .contact-scroll .type-title {
    margin-top: 0;
    margin-bottom: var(--contact-title-content-gap);
  }

  body.hero-parallax-pinned:not(.no-parallax) .hero-scroll {
    height: calc(100vh * 5.5);
  }
}

@media (min-width: 1440px) {
  :root {
    --contact-title-top-gap: 100px;
    --contact-title-content-gap: 35px;
    --apps-gallery-nav-gap: 40px;
    --apps-gallery-dot-size: 10px;
    --apps-gallery-dot-gap: 20px;
  }

  body:not(.is-static-page) .apps-gallery-nav {
    transform: translateX(calc(-50% - 200px));
  }

  html,
  body.hero-parallax-pinned {
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body.hero-parallax-pinned .main {
    overflow-x: hidden;
  }

  .apps-scroll,
  .apps-scroll-pin,
  .contact-scroll {
    overflow-x: hidden;
  }

  body.hero-parallax-pinned:not(.no-parallax) .hero-scroll {
    height: auto;
  }

  .hero-scroll-slot {
    display: flex;
    flex-direction: column;
    gap: var(--hero-stack-gap);
  }

  .hero-scroll-slot > .hero-scroll-item {
    grid-area: unset;
    opacity: 1;
    pointer-events: auto;
  }

  .hero-scroll-slot > .hero-scroll-welcome,
  .hero-scroll-slot > .hero-scroll-about-intro {
    opacity: 1;
    pointer-events: auto;
  }

  .contact-scroll .contact-scroll-pin {
    padding-top: 100px;
  }

  .site-footer--hero .site-footer-inner {
    max-width: none;
  }

  .site-footer--hero .site-footer-bottom {
    width: 100%;
  }

  .site-footer--hero .site-footer-copy {
    margin-left: auto;
    text-align: right;
  }

  .site-footer--page .site-footer-bottom {
    justify-content: flex-start;
  }

  .site-footer--page .site-footer-bottom .site-footer-line,
  .site-footer--page .site-footer-copy {
    margin-left: 0;
    text-align: left;
  }
}

.site-footer--hero.is-visible {
  display: block;
}

body.is-submitted .site-footer--hero[data-lock-visible] {
  display: block;
}

body.no-parallax .site-footer--hero.is-visible,
.hero-scroll.is-complete .site-footer--hero.is-visible {
  display: block;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  gap: 1.5rem;
}

.site-footer-line {
  margin: 0;
}

.site-footer-line.type-sub a {
  opacity: 1;
}

.site-footer-inner > .site-footer-line:first-child {
  text-align: left;
}

.site-footer-bottom .site-footer-line:first-child {
  text-align: left;
}

.site-footer-copy {
  text-align: right;
}

.site-footer .type-sub,
.site-footer-line,
.site-footer-line a {
  color: var(--text-color);
}

.site-footer-line a {
  font-weight: 700;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
}

.site-footer-line a:hover {
  opacity: 0.65;
}

body.is-menu-open {
  overflow: hidden;
  background: var(--bg-color);
}

.main-contact,
.main-legal {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 0;
}

.page-legal {
  flex: 1;
  width: 100%;
  max-width: none;
  padding: calc(var(--header-height, 0px) * 1.25) var(--pad-x) 0;
}

.page-legal > .type-title {
  position: relative;
  margin-left: -8px;
  margin-top: var(--legal-section-line-gap);
  padding-top: calc(var(--legal-section-line-gap) + 5pt);
  margin-bottom: clamp(0.5rem, 0.2em, 1.875rem);
}

.page-legal > .type-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  width: calc(100vw - 2 * var(--pad-x));
  border-top: 5pt solid var(--text-color);
}

.page-legal-body {
  width: var(--text-box-width);
  max-width: none;
}

.page-legal-body p {
  margin: 0;
}

.page-legal-body p + p,
.page-legal-body p + .page-legal-address {
  margin-top: var(--hero-stack-gap);
}

.page-legal-section {
  position: relative;
  margin-top: var(--legal-section-line-gap);
  padding-top: var(--legal-section-line-gap);
}

.page-legal-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100vw - 2 * var(--pad-x));
  border-top: 1px solid var(--text-color);
}

.page-legal-meta {
  width: var(--text-box-width);
  max-width: none;
  opacity: 1;
}

.page-legal-meta p {
  margin: 0;
}

.page-legal-divider {
  display: block;
  width: 100%;
  height: 0;
  margin: var(--legal-section-line-gap) 0 var(--legal-section-line-gap);
  padding: 0;
  border: 0;
  border-top: 1px solid var(--text-color);
}

.page-legal-divider + .page-legal-body {
  margin-top: 0;
}

.page-legal-address {
  margin: 0;
  text-align: left;
  font-style: normal;
}

.page-legal-section-title.type-title {
  font-size: var(--primary-size);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.page-legal-section-title.type-title + p {
  margin-top: 0;
}

.page-legal-body ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.page-legal-body li + li {
  margin-top: 0.5rem;
}

.page-legal-body a {
  color: inherit;
}

.page-contact {
  flex: 1;
  width: 100%;
  max-width: none;
  padding: calc(var(--header-height, 0px) * 1.25) var(--pad-x) 0;
}

.page-contact .type-title {
  margin-left: -8px;
  margin-bottom: clamp(0.5rem, 0.2em, 1.875rem);
}

.page-contact-intro,
.contact-scroll .page-contact-intro {
  margin: 0;
  text-align: left;
}

.page-contact-intro p + p {
  margin-top: var(--hero-stack-gap);
}

.page-contact-intro + .contact-form-group,
.contact-form-group + .page-contact-address {
  margin-top: var(--hero-stack-gap);
}

.newsletter-block {
  width: var(--text-box-width);
  max-width: none;
  margin-bottom: var(--hero-stack-gap);
}

.newsletter-form {
  display: grid;
  gap: 1.25rem;
}

.newsletter-success {
  margin: 0 0 var(--hero-stack-gap);
}

.newsletter-success[hidden] {
  display: none;
}

.page-contact-sent .newsletter-form {
  display: none;
}

.page-contact-sent .newsletter-success {
  display: block;
}

.contact-form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: var(--text-box-width);
  max-width: none;
}

.form-success {
  margin: 0 0 var(--hero-stack-gap);
  text-align: left;
}

.form-success[hidden] {
  display: none;
}

.page-contact-sent .contact-form {
  display: none;
}

.page-contact-sent .form-success {
  display: block;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  margin-bottom: 0;
}

.contact-actions,
.contact-submit-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 1.25rem;
}

.contact-captcha-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.contact-captcha {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0 5px;
  border: 1px solid var(--text-color);
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-captcha-tick {
  display: block;
  width: 0.42rem;
  height: 0.72rem;
  border: solid var(--text-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  margin-top: -0.12rem;
  transition: transform 0.15s ease;
}

.contact-captcha.is-confirmed {
  cursor: default;
}

.contact-captcha.is-confirmed .contact-captcha-tick {
  transform: rotate(45deg) scale(1);
}

.contact-captcha:focus {
  outline: none;
}

.contact-captcha-label {
  cursor: pointer;
  user-select: none;
}

.contact-captcha-row.is-confirmed .contact-captcha-label {
  opacity: 0.65;
  cursor: default;
}

.page-contact .contact-button:disabled,
.contact-scroll .contact-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-contact .contact-button:disabled:hover,
.contact-scroll .contact-button:disabled:hover {
  opacity: 0.35;
}

.contact-form[hidden] {
  display: none;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.contact-social-link {
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
  line-height: 0;
}

.contact-social-link:hover {
  opacity: 0.65;
}

.contact-social-icon {
  width: 1.35em;
  height: 1.35em;
  display: block;
}

.page-contact-address {
  margin: 0;
  text-align: left;
  font-style: normal;
}

.page-contact-company {
  width: var(--text-box-width);
  max-width: none;
  margin: var(--hero-stack-gap) 0 0;
  text-align: left;
}

.contact-scroll > .contact-social,
.page-contact > .contact-social {
  width: var(--text-box-width);
  max-width: none;
  margin-top: var(--hero-stack-gap);
}

.page-contact .contact-field,
.contact-scroll .contact-field {
  width: 100%;
  height: auto;
  border: 4px solid var(--text-color);
  border-radius: 0;
  padding: 0.85rem 1rem;
  background: transparent;
  color: var(--text-color);
  line-height: var(--secondary-line-height);
}

.page-contact .contact-field::placeholder,
.contact-scroll .contact-field::placeholder {
  color: var(--text-color);
  opacity: 1;
  font: inherit;
}

.page-contact .contact-field:focus::placeholder,
.contact-scroll .contact-field:focus::placeholder {
  opacity: 0;
}

.page-contact .contact-field--message,
.contact-scroll .contact-field--message {
  min-height: 8rem;
  resize: vertical;
}

.page-contact .contact-field:focus,
.contact-scroll .contact-field:focus {
  outline: none;
  border-color: var(--text-color);
}

.page-contact .contact-field:-webkit-autofill,
.page-contact .contact-field:-webkit-autofill:hover,
.page-contact .contact-field:-webkit-autofill:focus,
.page-contact .contact-field:-webkit-autofill:active,
.contact-scroll .contact-field:-webkit-autofill,
.contact-scroll .contact-field:-webkit-autofill:hover,
.contact-scroll .contact-field:-webkit-autofill:focus,
.contact-scroll .contact-field:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text-color);
  caret-color: var(--text-color);
  box-shadow: 0 0 0 1000px var(--bg-color) inset;
  -webkit-box-shadow: 0 0 0 1000px var(--bg-color) inset;
}

.page-contact .contact-button,
.contact-scroll .contact-button {
  justify-self: end;
  width: auto;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  text-decoration: none;
}

.page-contact .contact-button:hover,
.contact-scroll .contact-button:hover {
  opacity: 0.65;
}

.page-contact .newsletter-form .contact-button,
.contact-scroll .newsletter-form .contact-button {
  justify-self: end;
}

body.contact-page .site-footer--hero {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 80px;
  padding: var(--hero-footer-gap) var(--pad-x) var(--hero-footer-bottom-gap);
}

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

.form-honey-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.site-footer--page {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 40px;
  padding: var(--hero-footer-gap) var(--pad-x) var(--hero-footer-bottom-gap);
  background: var(--bg-color);
}

.contact-shell > .site-footer--page,
.contact-scroll + .site-footer--page {
  margin-top: 0;
}

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  :root {
    --type-scale: 50px;
    --title-size: 50px;
    --primary-size: 34px;
    --copy-size: 34px;
    --secondary-size: 17px;
    --sub-size: 10px;
    --text-box-width: 100%;
  }

  body.is-menu-open .main,
  body.is-menu-open .logo {
    visibility: hidden;
  }

  body.is-menu-open .site-header {
    transform: none !important;
    opacity: 1 !important;
    background: transparent;
    pointer-events: none;
  }

  body.is-menu-open .header.is-open .menu-toggle,
  body.is-menu-open .menu-toggle {
    position: fixed;
    top: 1.5rem;
    right: var(--pad-x);
    z-index: 102;
    pointer-events: auto;
  }

  body.is-menu-open .menu-toggle-bar {
    background: var(--menu-text);
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
  }

  body.is-menu-open .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    margin: 0;
    padding: 0;
    background: var(--menu-bg);
    font-size: var(--primary-size);
    line-height: 1.05;
    letter-spacing: -0.03em;
    pointer-events: auto;
  }

  body.is-menu-open .nav a,
  body.is-menu-open .nav-switch {
    color: var(--menu-text);
    font-size: var(--primary-size);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  body.is-menu-open .nav a:hover,
  body.is-menu-open .nav-switch:hover {
    text-decoration: none;
    opacity: 0.65;
  }

  .about-principles {
    grid-template-columns: 1fr;
    gap: 40pt;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  :root {
    --type-scale: 65px;
    --title-size: 65px;
    --primary-size: 45px;
    --copy-size: 45px;
    --secondary-size: 22px;
    --sub-size: 15px;
    --pad-x: 25px;
    --text-box-width: 100%;
    --contact-title-top-gap: calc(clamp(1.75rem, 5vh, 2.5rem) + 20px);
    --contact-title-content-gap: 23px;
    --apps-image-scale: 1.848;
    --apps-text-width: calc(100vw - (var(--pad-x) * 2));
    --apps-visual-height: calc(var(--apps-text-width) * 720 / 1200);
    --apps-pin-bottom-space: 75px;
    --apps-gallery-nav-gap: -40px;
    --apps-nav-arrow-gap: 150px;
    --hero-about-to-apps-line-gap: 55px;
    --hero-about-to-apps-line-inner: 20px;
    --apps-title-rule-gap-above: 50px;
    --apps-title-rule-gap-below: 35px;
    --apps-project-title-rule-gap-below: 45px;
    --apps-title-rule-width: 4px;
    --apps-project-title-rule-dot-size: 3px;
    --apps-project-title-rule-dot-gap: 9px;
    --apps-project-title-rule-dot-step: calc(var(--apps-project-title-rule-dot-size) + var(--apps-project-title-rule-dot-gap));
    --hero-apps-static-pull: 0px;
    --hero-scroll-arrow-size: clamp(57.2px, 5.148vw, 75.4px);
    --apps-gallery-dot-size: 10px;
    --apps-gallery-dot-gap: 20px;
  }
}

@media (max-width: 768px) and (orientation: landscape), (orientation: landscape) and (max-height: 500px) {
  :root {
    --title-size: 80px;
    --primary-size: 50px;
    --secondary-size: 25px;
    --sub-size: 15px;
    --pad-x: 48px;
    --text-box-width: min(70vw, 100%);
    --contact-title-top-gap: calc(clamp(1.75rem, 5vh, 2.5rem) + 20px);
    --apps-image-scale: 1.993;
    --apps-text-width: min(58vw, var(--text-box-width));
    --apps-pin-bottom-space: 75px;
    --apps-gallery-nav-gap: 40px;
    --hero-scroll-arrow-size: clamp(28.6px, 2.574vw, 37.7px);
    --apps-gallery-dot-size: 10px;
    --apps-gallery-dot-gap: 20px;
  }

  html.is-static-boot,
  body.is-static-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    scrollbar-gutter: auto;
  }

  html.is-static-boot .page,
  html.is-static-boot .main,
  body.is-static-page .page,
  body.is-static-page .main {
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    overscroll-behavior-x: none;
  }

  body.is-static-page .hero-scroll,
  body.is-static-page .apps-scroll {
    position: relative;
    height: auto !important;
    min-height: 0;
    margin: 0;
    overflow-x: visible;
    overflow-y: visible;
  }

  body.is-static-page .contact-scroll {
    position: relative;
    height: auto !important;
    min-height: 0;
    margin: 0;
    overflow: visible;
  }

  body.is-static-page .hero-scroll-pin,
  body.is-static-page .apps-scroll-pin,
  body.is-static-page .contact-scroll-pin {
    position: relative;
    top: auto;
    min-height: 0;
    height: auto;
    transform: none !important;
    will-change: auto;
    overflow: visible;
  }

  body.is-static-page .hero-scroll-pin {
    padding: clamp(0.5rem, 1.5vh, 1rem) var(--pad-x) calc(clamp(0.75rem, 2vh, 1.25rem) + 5.25rem);
  }

  body.is-static-page .hero-scroll-main .type-title span {
    display: inline;
  }

  body.is-static-page .hero-scroll-main .type-title span + span {
    margin-left: 0.25em;
  }

  body.is-static-page .hero-scroll-main .type-title {
    margin-top: -10px;
  }

  body.is-static-page .hero-scroll-main .hero-scroll-stage {
    margin-top: -40px;
  }

  body.is-static-page .hero-scroll-slot {
    display: flex;
    flex-direction: column;
    gap: var(--hero-stack-gap);
  }

  html.is-static-boot .hero-scroll-slot > .hero-scroll-item,
  html.is-static-boot .hero-scroll-slot > .hero-scroll-about-intro,
  body.is-static-page .hero-scroll-slot > .hero-scroll-about-intro,
  html.is-static-boot #apps .apps-scroll-main,
  html.is-static-boot #apps .apps-scroll-intro,
  html.is-static-boot #apps .hero-scroll-projects-stage,
  html.is-static-boot #apps #apps-heading,
  html.is-static-boot #contact .contact-scroll-content,
  body.is-static-page .hero-scroll-slot > .hero-scroll-item,
  body.is-static-page #apps .apps-scroll-main,
  body.is-static-page #apps .apps-scroll-intro,
  body.is-static-page #apps .hero-scroll-projects-stage,
  body.is-static-page #apps #apps-heading,
  body.is-static-page #contact .contact-scroll-content {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    max-height: none;
    overflow: visible;
  }

  html.is-static-boot .apps-gallery-viewport,
  body.is-static-page .apps-gallery-viewport {
    position: relative;
    overflow: hidden;
  }

  html.is-static-boot .apps-gallery-track > .hero-scroll-project:not(:first-child),
  body.is-static-page .apps-gallery-track > .hero-scroll-project:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }

  html.is-static-boot .apps-gallery-track > .hero-scroll-project:first-child,
  body.is-static-page .apps-gallery-track > .hero-scroll-project.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  html.is-static-boot .apps-scroll-images-slot > .apps-scroll-image:not(:first-child),
  body.is-static-page .apps-scroll-images-slot > .apps-scroll-image:not(.is-visible) {
    opacity: 0;
  }

  html.is-static-boot .hero-scroll-cue,
  body.is-static-page .hero-scroll-cue {
    position: absolute;
    left: auto;
    right: var(--pad-x);
    bottom: calc(clamp(0.75rem, 2vh, 1.25rem) + 380px);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
    pointer-events: auto;
    transform: none;
    opacity: 1;
  }

  html.is-static-boot .hero-scroll-cue-label,
  body.is-static-page .hero-scroll-cue-label {
    display: block;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    white-space: nowrap;
    letter-spacing: 0.02em;
  }

  html.is-static-boot .hero-scroll-cue .hero-scroll-arrow,
  body.is-static-page .hero-scroll-cue .hero-scroll-arrow {
    width: var(--hero-scroll-arrow-size);
    animation: none !important;
    transform: none !important;
  }

  body.is-static-page .menu-toggle {
    display: none !important;
  }

  body.is-static-page .site-header {
    position: relative;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto;
  }

  body.is-static-page .site-header .nav {
    display: flex !important;
    position: static;
    flex-shrink: 0;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: var(--secondary-size);
    line-height: var(--secondary-line-height);
    pointer-events: auto;
  }

  body.is-static-page.is-menu-open .site-header .nav {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
  }

  body.is-static-page.is-menu-open .main,
  body.is-static-page.is-menu-open .logo {
    visibility: visible;
  }

  body.is-static-page .apps-scroll-pin {
    position: relative;
    padding: 1rem 0 var(--apps-pin-bottom-space) var(--pad-x);
    display: block;
    touch-action: auto;
    cursor: default;
    overflow: visible;
  }

  body.is-static-page .apps-scroll-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
  }

  body.is-static-page .apps-scroll-content .apps-gallery-nav,
  body.is-static-page .apps-scroll-content .hero-scroll-project.is-active {
    pointer-events: auto;
  }

  html.is-static-boot #apps-heading,
  body.is-static-page #apps-heading {
    margin-top: -50px;
  }

  body.is-static-page .apps-scroll-content,
  body.is-static-page .apps-scroll-stage {
    display: block;
    width: 100%;
  }

  body.is-static-page .apps-scroll-intro {
    margin: -20px 0 65px;
    max-width: var(--apps-text-width);
  }

  body.is-static-page .apps-showcase {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  body.is-static-page .hero-scroll-projects-stage {
    position: relative;
    flex: 0 0 var(--apps-text-width);
    max-width: var(--apps-text-width);
    min-height: calc(
      var(--apps-gallery-viewport-max-height, 135px) + var(--apps-gallery-nav-gap) + var(--hero-scroll-arrow-size)
    );
    margin: 0;
  }

  body.is-static-page .apps-scroll .hero-scroll-project p {
    white-space: normal;
  }

  body.is-static-page .apps-scroll .hero-scroll-project p:not(.type-primary) {
    margin-top: 10px;
  }

  body.is-static-page .apps-scroll-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(var(--pad-x) + var(--apps-text-width));
    width: auto;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
    transform: none !important;
    transition: none !important;
  }

  body.is-static-page .apps-scroll-images-slot {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    transform: scale(var(--apps-image-scale));
    transform-origin: bottom right;
  }

  body.is-static-page .apps-scroll-images-slot > .apps-scroll-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: right bottom;
    transform: none;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: opacity;
  }

  body.is-static-page .apps-scroll-images-slot > .apps-scroll-image.is-visible {
    opacity: 1;
  }

  body.is-static-page .apps-gallery-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: var(--apps-text-width);
    min-height: var(--apps-gallery-viewport-max-height, 135px);
  }

  body.is-static-page .apps-gallery-track {
    display: block;
    position: relative;
    transform: none !important;
  }

  body.is-static-page .apps-gallery-track > .hero-scroll-project,
  body.is-static-page .apps-gallery-track > .hero-scroll-project.is-clone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: opacity;
  }

  body.is-static-page .apps-gallery-track > .hero-scroll-project.is-active {
    opacity: 1;
  }

  body.is-static-page .apps-scroll.is-complete .hero-scroll-project:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }

  body.is-static-page .apps-gallery-nav {
    position: absolute;
    top: calc(var(--apps-gallery-viewport-max-height, 171px) + var(--apps-gallery-nav-gap));
    left: 50px;
    z-index: 3;
    opacity: 1;
    visibility: visible;
    margin: 0;
  }

  body.is-static-page .apps-gallery-nav-btn .hero-scroll-arrow {
    width: var(--hero-scroll-arrow-size);
    height: auto;
    animation: none !important;
  }

  @media (prefers-reduced-motion: reduce) {
    body.is-static-page .apps-gallery-track > .hero-scroll-project,
    body.is-static-page .apps-scroll-images-slot > .apps-scroll-image {
      transition: none;
    }
  }

  body.is-static-page .contact-scroll,
  body.is-static-page .site-footer--page {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: transparent;
  }

  body.is-static-page .contact-scroll::before,
  body.is-static-page .site-footer--page::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background-color: var(--bg-color);
    z-index: 0;
    pointer-events: none;
  }

  body.is-static-page .contact-scroll-pin,
  body.is-static-page .site-footer--page .site-footer-inner {
    position: relative;
    z-index: 1;
  }

  body.is-static-page .contact-scroll-pin {
    padding: var(--contact-title-top-gap) var(--pad-x) var(--hero-stack-gap);
    background: transparent;
  }

  body.is-static-page .site-footer--page {
    margin-top: 0;
    background: transparent;
  }

  body.is-static-page .contact-scroll-content {
    max-width: var(--apps-text-width);
    width: 100%;
  }

  body.is-static-page .contact-scroll-stage,
  body.is-static-page .contact-scroll .contact-form,
  body.is-static-page .contact-scroll .page-contact-intro,
  body.is-static-page .contact-scroll .page-contact-address {
    max-width: 100%;
  }

}

@media (max-width: 768px) and (orientation: portrait) {
  html.is-static-boot,
  body.is-static-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    scrollbar-gutter: auto;
  }

  html.is-static-boot .page,
  html.is-static-boot .main,
  body.is-static-page .page,
  body.is-static-page .main {
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    overscroll-behavior-x: none;
  }

  body.is-static-page .hero-scroll,
  body.is-static-page .apps-scroll {
    position: relative;
    height: auto !important;
    min-height: 0;
    margin: 0;
    overflow-x: visible;
    overflow-y: visible;
  }

  body.is-static-page .contact-scroll {
    position: relative;
    height: auto !important;
    min-height: 0;
    margin: 0;
    overflow: visible;
  }

  body.is-static-page .hero-scroll-pin,
  body.is-static-page .apps-scroll-pin,
  body.is-static-page .contact-scroll-pin {
    position: relative;
    top: auto;
    min-height: 0;
    height: auto;
    transform: none !important;
    will-change: auto;
    overflow: visible;
  }

  body.is-static-page .hero-scroll-pin {
    padding: clamp(0.5rem, 1.5vh, 1rem) var(--pad-x) calc(clamp(0.75rem, 2vh, 1.25rem) + 5.25rem);
  }

  body.is-static-page .hero-scroll-slot {
    display: flex;
    flex-direction: column;
    gap: var(--hero-stack-gap);
  }

  html.is-static-boot .hero-scroll-slot > .hero-scroll-item,
  html.is-static-boot .hero-scroll-slot > .hero-scroll-about-intro,
  body.is-static-page .hero-scroll-slot > .hero-scroll-about-intro,
  html.is-static-boot #apps .apps-scroll-main,
  html.is-static-boot #apps .apps-scroll-intro,
  html.is-static-boot #apps .hero-scroll-projects-stage,
  html.is-static-boot #apps #apps-heading,
  html.is-static-boot #contact .contact-scroll-content,
  body.is-static-page .hero-scroll-slot > .hero-scroll-item,
  body.is-static-page #apps .apps-scroll-main,
  body.is-static-page #apps .apps-scroll-intro,
  body.is-static-page #apps .hero-scroll-projects-stage,
  body.is-static-page #apps #apps-heading,
  body.is-static-page #contact .contact-scroll-content {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    max-height: none;
    overflow: visible;
  }

  html.is-static-boot .apps-gallery-viewport,
  body.is-static-page .apps-gallery-viewport {
    position: relative;
    overflow: hidden;
  }

  html.is-static-boot .apps-gallery-track > .hero-scroll-project:not(:first-child),
  body.is-static-page .apps-gallery-track > .hero-scroll-project:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }

  html.is-static-boot .apps-gallery-track > .hero-scroll-project:first-child,
  body.is-static-page .apps-gallery-track > .hero-scroll-project.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  html.is-static-boot .apps-scroll-images-slot > .apps-scroll-image:not(:first-child),
  body.is-static-page .apps-scroll-images-slot > .apps-scroll-image:not(.is-visible) {
    opacity: 0;
  }

  body.is-static-page .apps-scroll-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
  }

  body.is-static-page .apps-scroll-content .apps-gallery-nav,
  body.is-static-page .apps-scroll-content .hero-scroll-project.is-active {
    pointer-events: auto;
  }

  body.is-static-page .apps-scroll-content,
  body.is-static-page .apps-scroll-stage {
    display: block;
    width: 100%;
  }

  body.is-static-page .apps-scroll-intro {
    margin: -20px 0 var(--apps-title-rule-gap-above);
    max-width: var(--apps-text-width);
  }

  body.is-static-page .apps-showcase {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  body.is-static-page .hero-scroll-projects-stage {
    position: relative;
    flex: 0 0 var(--apps-text-width);
    max-width: var(--apps-text-width);
    min-height: calc(
      var(--apps-gallery-viewport-max-height, 135px) + var(--apps-gallery-nav-gap) + var(--hero-scroll-arrow-size)
    );
    margin: 0;
  }

  body.is-static-page .apps-scroll .hero-scroll-project p {
    white-space: normal;
  }

  body.is-static-page .apps-scroll .hero-scroll-project p:not(.type-primary) {
    margin-top: 10px;
  }

  body.is-static-page .apps-gallery-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: var(--apps-text-width);
    min-height: var(--apps-gallery-viewport-max-height, 135px);
  }

  body.is-static-page .apps-gallery-track {
    display: block;
    position: relative;
    transform: none !important;
  }

  body.is-static-page .apps-gallery-track > .hero-scroll-project,
  body.is-static-page .apps-gallery-track > .hero-scroll-project.is-clone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: opacity;
  }

  body.is-static-page .apps-gallery-track > .hero-scroll-project.is-active {
    opacity: 1;
  }

  body.is-static-page .apps-scroll.is-complete .hero-scroll-project:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }

  body.is-static-page .contact-scroll,
  body.is-static-page .site-footer--page {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: transparent;
  }

  body.is-static-page .contact-scroll::before,
  body.is-static-page .site-footer--page::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background-color: var(--bg-color);
    z-index: 0;
    pointer-events: none;
  }

  body.is-static-page .contact-scroll-pin,
  body.is-static-page .site-footer--page .site-footer-inner {
    position: relative;
    z-index: 1;
  }

  body.is-static-page .contact-scroll-pin {
    padding: var(--contact-title-top-gap) var(--pad-x) var(--hero-stack-gap);
    background: transparent;
  }

  body.is-static-page .site-footer--page {
    margin-top: 0;
    background: transparent;
  }

  body.is-static-page .menu-toggle {
    display: flex !important;
  }

  body.is-static-page .site-header .nav {
    display: none !important;
  }

  body.is-static-page.is-menu-open .site-header {
    transform: none !important;
    opacity: 1 !important;
    background: transparent;
    pointer-events: none;
  }

  body.is-static-page.is-menu-open .menu-toggle {
    position: fixed;
    top: 1.5rem;
    right: var(--pad-x);
    z-index: 102;
    pointer-events: auto;
  }

  body.is-static-page.is-menu-open .menu-toggle-bar {
    background: var(--menu-text);
  }

  body.is-static-page.is-menu-open .site-header .nav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    margin: 0;
    padding: 0;
    background: var(--menu-bg);
    font-size: var(--primary-size);
    line-height: 1.05;
    letter-spacing: -0.03em;
    pointer-events: auto;
  }

  body.is-static-page.is-menu-open .nav a,
  body.is-static-page.is-menu-open .nav-switch {
    color: var(--menu-text);
    font-size: var(--primary-size);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  body.is-static-page.is-menu-open .main,
  body.is-static-page.is-menu-open .logo {
    visibility: hidden;
  }

  body.is-static-page .hero-scroll-main .type-title {
    margin-top: 0;
    margin-bottom: calc(var(--hero-title-gap) - 25px);
  }

  body.is-static-page .hero-scroll-main .type-title span {
    display: block;
  }

  body.is-static-page .hero-scroll-main .type-title span + span {
    margin-left: 0;
  }

  body.is-static-page .hero-scroll-main .hero-scroll-stage {
    margin-top: -40px;
  }

  body.is-static-page .hero-scroll-slot {
    gap: 0;
  }

  body.is-static-page .hero-scroll-slot > .hero-scroll-welcome {
    margin-top: 50px;
    margin-bottom: calc(var(--hero-stack-gap) - 10px);
  }

  body.is-static-page .hero-scroll-slot .type-secondary br {
    display: none;
  }

  body.is-static-page .apps-scroll-intro br,
  body.is-static-page .apps-scroll .hero-scroll-project p br:not(.apps-project-discover-break) {
    display: none;
  }

  body.is-static-page .apps-scroll-intro,
  body.is-static-page .apps-scroll .hero-scroll-project p {
    white-space: normal;
  }

  body.is-static-page .apps-scroll-pin {
    padding-right: var(--pad-x);
  }

  body.is-static-page .apps-scroll-intro,
  body.is-static-page .hero-scroll-projects-stage,
  body.is-static-page .apps-gallery-viewport {
    max-width: var(--apps-text-width);
    width: 100%;
  }

  body.is-static-page .contact-scroll-content,
  body.is-static-page .contact-scroll .contact-form-group,
  body.is-static-page .contact-scroll .contact-form,
  body.is-static-page .contact-scroll .page-contact-intro,
  body.is-static-page .contact-scroll .page-contact-address {
    width: 100%;
    max-width: var(--apps-text-width);
  }

  body.is-static-page .site-footer--page {
    background-color: var(--content-color);
  }

  body.is-static-page .site-footer--page::before {
    background-color: var(--content-color);
  }

}

@media (orientation: portrait) {
  :root {
    --hero-stack-gap: 3.5578125rem;
  }
}

@media (min-width: 769px) and (max-width: 1439px) {
  .hero-scroll-cue {
    display: none;
  }

  .hero-scroll-pin {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .apps-scroll-pin {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .hero-scroll-slot {
    display: flex;
    flex-direction: column;
    gap: var(--hero-stack-gap);
  }

  .hero-scroll-slot > .hero-scroll-item {
    grid-area: unset;
    opacity: 1;
    pointer-events: auto;
  }

  .hero-scroll-slot > .hero-scroll-welcome,
  .hero-scroll-slot > .hero-scroll-about-intro {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 769px) and (max-width: 1439px) {
  :root {
    --apps-medium-image-scale: 0.975;
    --apps-gallery-nav-gap: 40px;
    --apps-gallery-dot-size: 10px;
    --apps-gallery-dot-gap: 20px;
  }

  body:not(.is-static-page) .apps-gallery-nav {
    top: calc(var(--apps-gallery-viewport-max-height, 135px) + var(--apps-gallery-nav-gap));
    transform: translateX(calc(-50% - 250px));
  }

  html,
  body.hero-parallax-pinned {
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body.hero-parallax-pinned .main {
    overflow-x: hidden;
  }

  .apps-scroll,
  .apps-scroll-pin,
  .contact-scroll {
    overflow-x: hidden;
  }

  .apps-scroll-visual {
    left: auto;
    right: calc(-1 * var(--pad-x));
    margin-left: 0;
  }

  .apps-scroll-images-slot {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    transform: scale(var(--apps-medium-image-scale));
    transform-origin: bottom right;
  }

  .apps-scroll-images-slot > .apps-scroll-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
  }
}

@media (min-width: 769px) and (max-width: 1439px) and (orientation: portrait) {
  .apps-scroll-visual {
    top: auto;
    bottom: 0;
    width: 100vw;
    height: calc(100vw * 720 / 1200);
    max-height: none;
  }

  .apps-scroll.is-gallery-ready .apps-scroll-visual {
    height: var(--apps-visual-height, calc(100vw * 720 / 1200));
    min-height: var(--apps-visual-height, calc(100vw * 720 / 1200));
    max-height: var(--apps-visual-height, calc(100vw * 720 / 1200));
  }
}

@media (min-width: 769px) and (max-width: 1439px) and (orientation: landscape) {
  .apps-scroll-visual {
    top: auto;
    bottom: 0;
  }
}

/*
  Etalon → Medium: frozen pixel sizes from JS (captured at load from rendered elements).
  Medium = 769–1439px viewport. Above Medium (>1439): sizes fixed; position via master centering.
  Small/mobile = ≤768px.
*/

@media (orientation: landscape) and (max-height: 500px) {
  html.is-static-boot,
  body.is-static-page {
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
    touch-action: pan-y !important;
  }

  body.is-static-page .page,
  body.is-static-page .main {
    overflow-x: visible !important;
  }

  body.is-static-page .hero-scroll,
  body.is-static-page .apps-scroll {
    height: auto !important;
    min-height: 0 !important;
    max-width: 100%;
  }

  body.is-static-page .contact-scroll,
  body.is-static-page .site-footer--page {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: transparent !important;
  }

  body.is-static-page .contact-scroll-pin {
    padding: var(--contact-title-top-gap) var(--pad-x) var(--hero-stack-gap) !important;
  }

  body.is-static-page .site-footer--page {
    padding: var(--hero-footer-gap) var(--pad-x) var(--hero-footer-bottom-gap) !important;
  }

  html.is-static-boot .hero-scroll-cue .hero-scroll-arrow,
  body.is-static-page .hero-scroll-cue .hero-scroll-arrow {
    animation: none !important;
    transform: none !important;
  }

  body.is-static-page .hero-scroll-pin,
  body.is-static-page .apps-scroll-pin {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
  }

  body.is-static-page .apps-scroll-visual,
  body.is-static-page .apps-scroll.is-gallery-ready .apps-scroll-visual {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: calc(var(--pad-x) + var(--apps-text-width)) !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 0 !important;
    transform: none !important;
  }

  body.is-static-page .apps-scroll-images-slot {
    width: 100% !important;
    height: 100% !important;
    transform: scale(var(--apps-image-scale)) !important;
    transform-origin: bottom right !important;
  }

  body.is-static-page .apps-scroll-content {
    z-index: 2 !important;
  }

  body.is-static-page .apps-scroll.is-gallery-ready .apps-scroll-pin {
    touch-action: auto !important;
    cursor: default !important;
  }

  body.is-static-page .apps-scroll.is-gallery-ready .apps-gallery-viewport {
    overflow: hidden !important;
    touch-action: auto !important;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  html.is-static-boot,
  body.is-static-page {
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
    touch-action: pan-y !important;
  }

  body.is-static-page .page,
  body.is-static-page .main {
    overflow-x: visible !important;
  }

  body.is-static-page .hero-scroll,
  body.is-static-page .apps-scroll {
    height: auto !important;
    min-height: 0 !important;
    max-width: 100%;
  }

  body.is-static-page .contact-scroll,
  body.is-static-page .site-footer--page {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: transparent !important;
  }

  body.is-static-page .contact-scroll-pin {
    padding: var(--contact-title-top-gap) var(--pad-x) var(--hero-stack-gap) !important;
  }

  body.is-static-page .site-footer--page {
    padding: var(--hero-footer-gap) var(--pad-x) var(--hero-footer-bottom-gap) !important;
  }

  body.is-static-page .hero-scroll-pin,
  body.is-static-page .apps-scroll-pin {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
  }

  body.is-static-page .apps-scroll-content {
    z-index: 2 !important;
  }

  body.is-static-page .apps-scroll.is-gallery-ready .apps-scroll-pin {
    touch-action: auto !important;
    cursor: default !important;
  }

  body.is-static-page .apps-scroll.is-gallery-ready .apps-gallery-viewport {
    overflow: hidden !important;
    touch-action: auto !important;
  }

  body.is-static-page .hero-scroll-cue {
    display: none !important;
  }

  .apps-gallery-nav-btn .hero-scroll-arrow.gallery-arrow-portrait {
    display: block;
  }

  .apps-gallery-nav-btn .hero-scroll-arrow.gallery-arrow-landscape {
    display: none;
  }

  body.is-static-page .hero-scroll-pin {
    padding-bottom: var(--hero-about-to-apps-line-inner) !important;
  }

  body.is-static-page .apps-scroll {
    margin-top: calc(-1 * var(--hero-apps-static-pull)) !important;
  }

  body.is-static-page .apps-scroll-pin {
    display: block;
    min-height: 0 !important;
    padding: 0 var(--pad-x) calc(var(--apps-visual-height) * var(--apps-image-scale) + var(--apps-pin-bottom-space)) !important;
    overflow: visible;
  }

  body.is-static-page .apps-scroll-main {
    margin-top: calc(var(--hero-about-to-apps-line-gap) - var(--hero-about-to-apps-line-inner));
    padding-top: var(--apps-title-rule-gap-below);
    border-top: var(--apps-title-rule-width) solid var(--text-color);
  }

  body.is-static-page #apps-heading {
    margin-top: 0 !important;
  }

  body.is-static-page .apps-scroll-visual,
  body.is-static-page .apps-scroll.is-gallery-ready .apps-scroll-visual {
    position: absolute !important;
    top: auto !important;
    right: calc(-1 * var(--pad-x)) !important;
    bottom: 0 !important;
    left: auto !important;
    width: 100vw !important;
    height: var(--apps-visual-height) !important;
    min-height: var(--apps-visual-height) !important;
    max-height: var(--apps-visual-height) !important;
    margin: 0 !important;
    overflow: visible !important;
    z-index: 0 !important;
    transform: none !important;
  }

  body.is-static-page .apps-scroll-images-slot {
    display: block !important;
    position: absolute !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 100% !important;
    height: 100% !important;
    transform: scale(var(--apps-image-scale)) !important;
    transform-origin: bottom right !important;
  }

  body.is-static-page .apps-scroll-images-slot > .apps-scroll-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: right bottom;
    transform: none;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: opacity;
  }

  body.is-static-page .apps-scroll-images-slot > .apps-scroll-image.is-visible {
    opacity: 1;
  }

  body.is-static-page .apps-gallery-nav {
    position: absolute !important;
    top: calc(var(--apps-gallery-viewport-max-height, 135px) + var(--apps-gallery-nav-gap) + var(--apps-pin-bottom-space));
    left: 50%;
    transform: translateX(-50%);
    gap: 0;
    width: max-content;
    margin: 0;
    z-index: 3;
  }

  body.is-static-page .apps-gallery-nav-btn--prev {
    padding-left: 0;
  }

  body.is-static-page .apps-gallery-nav-btn--next {
    margin-left: var(--apps-nav-arrow-gap);
  }

  body.is-static-page .apps-gallery-nav-btn .gallery-chevron {
    width: var(--hero-scroll-arrow-size);
    height: var(--hero-scroll-arrow-size);
    animation: none !important;
    transform: none !important;
  }

  body.is-static-page .apps-gallery-nav-btn .gallery-chevron.hero-scroll-arrow--left,
  body.is-static-page .apps-gallery-nav-btn .gallery-chevron.hero-scroll-arrow--right {
    transform: none !important;
  }

  body.is-static-page .apps-scroll .hero-scroll-project .type-primary {
    margin-top: 0;
    padding-top: var(--apps-project-title-rule-gap-below);
    border-top: none;
    background-image: repeating-linear-gradient(
      to right,
      var(--text-color) 0 var(--apps-project-title-rule-dot-size),
      transparent var(--apps-project-title-rule-dot-size) var(--apps-project-title-rule-dot-step)
    );
    background-size: 100% var(--apps-project-title-rule-dot-size);
    background-repeat: no-repeat;
    background-position: top left;
  }

  body.is-static-page .contact-scroll .type-title {
    margin-bottom: 0 !important;
  }

  body.is-static-page .contact-scroll-main + .contact-scroll-stage {
    padding-top: var(--contact-title-content-gap) !important;
  }

  body.is-static-page .contact-scroll-pin {
    padding-bottom: calc(var(--hero-stack-gap) / 2) !important;
  }

  body.is-static-page .contact-scroll .page-contact-address {
    text-align: left;
    font-style: normal;
    margin-top: calc(var(--hero-stack-gap) / 2);
    margin-bottom: calc(var(--hero-stack-gap) / 2);
  }

  body.is-static-page .contact-scroll .page-contact-address br {
    display: block;
  }

  body.is-static-page .site-footer--page {
    display: block !important;
    visibility: visible !important;
    position: relative;
    z-index: 4;
    background-color: var(--content-color) !important;
  }

  body.is-static-page .site-footer--page::before {
    background-color: var(--content-color) !important;
  }

  body.is-static-page .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    text-align: left;
  }

  body.is-static-page .site-footer-bottom .site-footer-line,
  body.is-static-page .site-footer-copy {
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 768px) and (orientation: portrait), (max-width: 768px) and (orientation: landscape), (orientation: landscape) and (max-height: 500px) {
  body.is-static-page .apps-gallery-nav-btn {
    display: none !important;
  }

  body.is-static-page .apps-gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--apps-gallery-dot-gap);
    width: max-content;
    margin: 0;
    padding: 0;
  }

  body.is-static-page .apps-gallery-dot {
    display: block;
    width: var(--apps-gallery-dot-size);
    height: var(--apps-gallery-dot-size);
    border-radius: 50%;
    background-color: var(--text-color);
    opacity: 0.5;
    flex-shrink: 0;
  }

  body.is-static-page .apps-gallery-dot.is-active {
    opacity: 1;
  }

  body.is-static-page .hero-scroll-projects-stage {
    min-height: calc(
      var(--apps-gallery-viewport-max-height, 135px) + var(--apps-gallery-nav-gap) + var(--apps-gallery-dot-size)
    ) !important;
  }

  body.is-static-page .apps-gallery-nav {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: max-content;
    gap: 0;
  }
}

@media (max-width: 768px) and (orientation: landscape), (orientation: landscape) and (max-height: 500px) {
  body.is-static-page .apps-gallery-nav {
    left: calc(50% - 60px) !important;
  }
}
