html[data-site-loading="true"] {
  overflow: hidden;
}

.site-loading-overlay {
  --loading-progress: 0;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
  background: #f7f5f2;
  color: #2b2a27;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  touch-action: none;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 420ms;
}

.site-loading-overlay.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loading-overlay__panel {
  width: min(360px, calc(100vw - 48px));
}

.site-loading-overlay__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #77756e;
}

.site-loading-overlay__meta span:last-child {
  color: #f07f2f;
  font-variant-numeric: tabular-nums;
}

.site-loading-overlay__track {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(43, 42, 39, 0.11);
}

.site-loading-overlay__track::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(240, 127, 47, 0.42), transparent);
  animation: site-loading-runner 1.35s ease-in-out infinite;
}

.site-loading-overlay__fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: #f07f2f;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-loading-overlay.is-error .site-loading-overlay__fill {
  transform: scaleX(1) !important;
}

@keyframes site-loading-runner {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(390%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-loading-overlay,
  .site-loading-overlay__fill {
    transition-duration: 1ms;
  }

  .site-loading-overlay__track::after {
    animation: none;
  }
}

.site-fixed-nav {
  --header-progress: 0;
  border-bottom-color: transparent !important;
  padding-top: 17px !important;
  padding-bottom: 17px !important;
}

.site-fixed-nav::after {
  display: none;
}

.site-brand-logo {
  display: block;
  width: clamp(136px, 10.5vw, 158px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-slash {
  color: #f07f2f !important;
}

.site-intro-part {
  --intro-progress: 0;
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 18px, 0);
  will-change: opacity, filter, transform;
}

.site-hero-part {
  opacity: 0;
  visibility: hidden;
  will-change: opacity, filter, transform;
}

/* Keep the first screen locked to the viewport while its copy dissolves.
   `sticky` preserves the hero's 100vh place in the document, so none of the
   established 3D scroll units move. */
.site-hero {
  position: sticky !important;
  top: 0;
}

.site-hero::after {
  content: "";
  display: block;
  flex: 0 0 40px;
  pointer-events: none;
}

.store-scene-spacer {
  height: 7300vh;
  min-height: 640px;
  background: #f7f5f2;
}

.store-scene-shell {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #f7f5f2;
  isolation: isolate;
}

.store-scene-runtime {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  will-change: opacity;
}

.store-scene-shell::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.store-scene-shell::before {
  inset: 34px 40px;
  border-top: 1px solid rgba(43, 42, 39, 0.1);
  border-bottom: 1px solid rgba(43, 42, 39, 0.1);
  opacity: var(--scene-frame-opacity, 0);
}

.store-scene__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  z-index: 0;
}

.store-scene__info-zone {
  position: absolute;
  z-index: 2;
  visibility: hidden;
  pointer-events: none;
}

.store-scene__info-zone--left-bottom {
  left: 40px;
  bottom: 48px;
  width: min(32vw, 430px);
  height: 26vh;
}

.store-scene__info-zone--right-top {
  top: 54px;
  right: 40px;
  width: min(30vw, 410px);
  height: 24vh;
}

.store-scene__chrome {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #8a887f;
  opacity: 0;
}

.store-scene__status {
  transition: opacity 500ms ease;
}

.store-scene-shell[data-loaded="true"] .store-scene__status {
  opacity: 0.6;
}

.store-scene__progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(43, 42, 39, 0.06);
  z-index: 3;
  pointer-events: none;
}

.store-scene__progress {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease-out;
  background: #f07f2f;
}

.store-scene-shell[data-loaded="true"] .store-scene__progress-track {
  opacity: 0;
  transition: opacity 600ms ease 400ms;
}

.store-scene-shell[data-error="true"] .store-scene__status {
  color: #b0442e;
}

.site-closing-panel {
  position: relative;
  z-index: 1;
  min-height: 112vh;
  box-sizing: border-box;
  background: transparent !important;
}

.site-closing-panel__top-line {
  display: none;
}

.site-footer-panel {
  position: relative;
  z-index: 5;
  min-height: 69px;
  box-sizing: border-box;
}

/* Main-story progress: fixed directly below the permanent header. */
.site-story-progress {
  position: fixed;
  z-index: 55;
  top: var(--site-header-height, 65px);
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(43, 42, 39, 0.1);
  opacity: var(--header-progress, 0);
  pointer-events: none;
}

.site-story-progress__fill {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: #f07f2f;
  will-change: transform;
}

/* Config-driven informational copy. SiteChoreography assigns every slide an
   explicit safe rectangle outside the projected 3D hull and then fits the
   title to that rectangle. CSS owns only the visual hierarchy. */
.site-info-layer {
  position: fixed;
  z-index: 8;
  inset: var(--site-header-height, 65px) 0 0;
  overflow: hidden;
  pointer-events: none;
  font-family: "IBM Plex Sans", sans-serif;
}

.site-info-slide {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 1px;
  max-width: none;
  height: 1px;
  color: #2b2a27;
  visibility: hidden;
  opacity: 0;
  will-change: opacity, filter, transform;
}

.site-info-slide--right-top {
  justify-content: flex-start;
  text-align: right;
}

.site-info-slide--left-bottom {
  justify-content: flex-end;
  text-align: left;
}

.site-info-slide__content {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
}

.site-info-slide__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(9px, 0.68vw, 11px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-info-slide__kicker {
  margin-bottom: clamp(12px, 1.3vw, 18px);
  color: #737169;
}

.site-info-slide__kicker::before,
.site-info-slide__kicker::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  vertical-align: middle;
  background: #f07f2f;
}

.site-info-slide--left-bottom .site-info-slide__kicker::before {
  margin-right: 10px;
}

.site-info-slide--left-bottom .site-info-slide__kicker::after,
.site-info-slide--right-top .site-info-slide__kicker::before {
  display: none;
}

.site-info-slide--right-top .site-info-slide__kicker::after {
  margin-left: 10px;
}

.site-info-slide__title {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -0.035em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}

.site-info-slide__title-primary,
.site-info-slide__title-secondary {
  display: inline;
}

.site-info-slide__title-primary {
  color: #2b2a27;
}

.site-info-slide__title-secondary {
  color: #f07f2f;
  font-size: 0.68em;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.022em;
}

.site-info-slide__description {
  margin: clamp(10px, 1vw, 16px) 0 0;
  max-width: 100%;
  color: #77756d;
  font-size: clamp(11px, 0.82vw, 14px);
  line-height: 1.42;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.site-info-slide--right-top .site-info-slide__description {
  margin-left: auto;
}

/* Light contact sheet above the sharp, fully assembled WebGL store. */
.site-contact-overlay {
  --contact-progress: 0;
  position: fixed;
  z-index: 20;
  top: var(--site-header-height, 65px);
  left: 0;
  right: 0;
  height: calc(100vh - var(--site-header-height, 65px));
  overflow: hidden;
  box-sizing: border-box;
  background: rgba(246, 244, 241, 0.88);
  border-top: 1px solid rgba(240, 127, 47, 0.82);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.035);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  visibility: hidden;
  transform: translate3d(0, 100%, 0);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint style;
  isolation: isolate;
  font-family: "IBM Plex Sans", sans-serif;
}

.site-contact-overlay__inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 6vw;
  align-items: center;
  padding: clamp(34px, 5vw, 82px) clamp(24px, 6vw, 110px);
  box-sizing: border-box;
}

.site-contact-overlay__inner > *,
.site-contact-copy,
.site-contact-form {
  min-width: 0;
}

.site-contact-item {
  opacity: 0;
  filter: blur(15px);
  transform: translate3d(0, 32px, 0);
  will-change: opacity, filter, transform;
  backface-visibility: hidden;
}

.site-contact-kicker {
  margin-bottom: 18px;
  color: #858a90;
  font-size: 10px;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.site-contact-title {
  max-width: 900px;
  margin: 0 0 24px;
  color: #17191c;
  font-size: clamp(46px, 6vw, 94px);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-inline-size: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

.site-contact-title em {
  color: #f07f2f;
  font-style: normal;
}

.site-contact-description {
  max-width: 640px;
  margin: 0;
  color: #71767d;
  font-size: clamp(15px, 1.12vw, 19px);
  line-height: 1.58;
}

.site-contact-form {
  align-self: center;
}

.site-contact-field {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(23, 25, 28, 0.2);
  color: #8a8f95;
  font-size: 14px;
}

.site-contact-field b {
  color: #44494f;
  font-weight: 520;
}

.site-contact-field input,
.site-contact-field textarea {
  min-width: 0;
  flex: 1 1 220px;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: #33383d;
  font: inherit;
  text-align: right;
}

.site-contact-field input::placeholder,
.site-contact-field textarea::placeholder {
  color: #989ca1;
  opacity: 1;
}

.site-contact-field:focus-within {
  border-bottom-color: #f07f2f;
}

.site-contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.site-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: #71767d;
  font-size: 11px;
  line-height: 1.45;
}

.site-contact-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: #f07f2f;
}

.site-contact-consent a,
.site-contact-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(23, 25, 28, 0.28);
  color: #33383d;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
}

.site-contact-action:disabled {
  cursor: not-allowed;
  opacity: 0.55 !important;
}

.site-contact-action:focus-visible,
.site-contact-consent a:focus-visible,
.site-contact-legal a:focus-visible {
  outline: 2px solid #f07f2f;
  outline-offset: 4px;
}

.site-contact-status {
  min-height: 17px;
  margin: 12px 0 0;
  color: #71767d;
  font-size: 11px;
  line-height: 1.4;
}

.site-contact-status.is-error { color: #9f352c; }
.site-contact-status.is-success { color: #406c49; }

.site-contact-action::after {
  content: "→";
  color: #f07f2f;
  font-size: 17px;
  line-height: 1;
}

.site-contact-footer-note {
  margin-top: 34px;
  color: #989ca1;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-contact-legal {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  letter-spacing: 0.04em;
  text-transform: none;
}

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

.site-fixed-nav a:focus-visible {
  outline: 2px solid #f07f2f;
  outline-offset: 5px;
}

.site-contact-logo {
  display: block;
  width: clamp(130px, 12vw, 170px);
  max-width: 62%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 800px) {
  .store-scene-spacer {
    height: 7300svh;
    min-height: 18000px;
  }

  .site-closing-panel {
    min-height: 112svh;
  }

  .store-scene-shell {
    height: 100svh;
    min-height: 480px;
  }

  .store-scene-shell::before {
    inset: 24px 18px;
  }

  .store-scene__chrome {
    left: 18px;
    right: 18px;
    bottom: 14px;
  }

  .site-contact-overlay {
    height: calc(100svh - var(--site-header-height, 65px));
  }
}

@media (orientation: portrait) and (max-width: 800px) {
  .store-scene-shell::before {
    inset: 24px 18px 38px;
  }

  .store-scene__chrome {
    bottom: 12px;
  }

  .site-fixed-nav {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .site-fixed-nav .site-intro-part--access {
    font-size: 9px !important;
  }

  .site-hero {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .site-hero-part--meta {
    gap: 20px;
    font-size: 9px !important;
  }

  .site-info-slide {
    max-width: none;
  }

  .site-info-slide--right-top {
    text-align: right;
  }

  .site-info-slide--left-bottom {
    text-align: left;
  }

  .site-info-slide__title {
    line-height: 1.02;
  }

  .site-info-slide__description {
    max-width: 88%;
    font-size: clamp(11px, 3vw, 14px);
  }

  .site-info-slide--right-top .site-info-slide__description {
    margin-left: auto;
  }

  .site-contact-overlay__inner {
    grid-template-columns: 1fr;
    gap: clamp(10px, 2.4svh, 22px);
    align-content: center;
    padding: clamp(14px, 2.6svh, 26px) 18px;
  }

  .site-contact-kicker {
    margin-bottom: clamp(7px, 1.2svh, 11px);
    font-size: 8px;
  }

  .site-contact-title {
    margin-bottom: clamp(8px, 1.5svh, 14px);
    font-size: clamp(29px, 10vw, 44px);
    line-height: 0.91;
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
  }

  .site-contact-description {
    max-width: none;
    font-size: clamp(10.5px, 3vw, 13.5px);
    line-height: 1.34;
  }

  .site-contact-field {
    gap: 10px;
    padding: clamp(6px, 1.15svh, 10px) 0;
    font-size: clamp(10px, 2.9vw, 12.5px);
  }

  .site-contact-field > * {
    min-width: 0;
  }

  .site-contact-field > span {
    text-align: right;
  }

  .site-contact-consent,
  .site-contact-status {
    font-size: 9px;
  }

  .site-contact-footer-note {
    align-items: flex-start;
  }

  .site-contact-legal {
    width: 100%;
    justify-content: flex-start;
  }

  .site-contact-action {
    margin-top: clamp(8px, 1.5svh, 14px);
    padding-bottom: 5px;
    font-size: 9.5px;
  }

  .site-contact-footer-note {
    margin-top: clamp(8px, 1.5svh, 14px);
    font-size: 8px;
  }

  .site-contact-logo {
    width: clamp(112px, 36vw, 145px);
  }
}

@media (orientation: portrait) and (max-width: 600px) {
  .store-scene-spacer {
    height: 3650svh;
    min-height: 9000px;
  }
}

@media (orientation: portrait) and (max-width: 380px) {
  .site-fixed-nav .site-intro-part--langs {
    display: none !important;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .site-info-slide {
    max-width: none;
  }

  .site-info-slide--right-top {
    text-align: right;
  }

  .site-info-slide--left-bottom {
    text-align: left;
  }

  .site-info-slide__title {
    line-height: 1.01;
  }

  .site-info-slide__description {
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.28;
  }

  .site-info-slide__kicker {
    margin-bottom: 7px;
    font-size: 8px;
  }

  .site-contact-overlay__inner {
    gap: 4vw;
    padding: 12px 28px;
  }

  .site-contact-kicker {
    margin-bottom: 8px;
    font-size: 8px;
  }

  .site-contact-title {
    margin-bottom: 10px;
    font-size: clamp(28px, 5.2vw, 42px);
    line-height: 0.91;
  }

  .site-contact-description {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .site-contact-field {
    padding: 6px 0;
    font-size: 11px;
  }

  .site-contact-action {
    margin-top: 10px;
    padding-bottom: 5px;
    font-size: 9px;
  }

  .site-contact-footer-note {
    margin-top: 10px;
    font-size: 8px;
  }

  .site-contact-logo {
    width: 108px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro-part,
  .site-hero-part,
  .site-info-slide,
  .site-contact-item {
    filter: none !important;
  }
}
