/* The opening moves with the page's natural scroll. */
:root {
  --story-gold: #e3b968;
  --story-white: #f2f0e9;
}
body {
  background: #090b09;
}
html {
  scroll-padding-top: 94px;
}
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-color: #ffffff0e;
  background: #090b095c;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header .nav {
  min-height: 88px;
}
.header .brand-symbol i {
  background: #e2bd77;
}
.page-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  background: #d4b26f;
}
.mobile-menu {
  background: #11160ffa;
}
.cinematic {
  position: relative;
  background: #090b09;
  min-height: 100svh;
}
.cinematic.has-story {
  height: 300svh;
}
.story-stage {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: clip;
  isolation: isolate;
  background: #090b09;
  color: var(--story-white);
  --first-opacity: 1;
  --second-opacity: 0;
  --third-opacity: 0;
  --form: 0;
  --outro: 0;
  --pointer-x: 0;
  --pointer-y: 0;
}
.has-story .story-stage {
  position: sticky;
  top: 0;
}
.story-stage::after {
  content: "";
  position: absolute;
  z-index: 15;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.18' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.13;
  pointer-events: none;
  mix-blend-mode: screen;
}
.story-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#d6bd7a09 1px, transparent 1px),
    linear-gradient(90deg, #d6bd7a09 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
  transform: perspective(600px) rotateX(14deg) scale(1.15);
}
.story-glow {
  position: absolute;
  inset: 5% 4%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, #e5b96418, transparent 57%);
  opacity: calc(1 - var(--outro) * 0.6);
  transform: translate(
    calc(var(--pointer-x) * 14px),
    calc(var(--pointer-y) * 14px)
  );
}
.story-first {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: var(--first-opacity);
  transform: translateY(calc(var(--form) * -70px));
}
.story-eyebrow {
  position: absolute;
  top: 17%;
  width: 100%;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 3px;
}
.story-title {
  position: absolute;
  top: 22%;
  left: 0;
  width: 100%;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(80px, 12.8vw, 212px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-align: center;
}
.story-title > span {
  display: block;
  white-space: nowrap;
}
.story-title > span:last-child {
  margin-top: 17svh;
}
.story-title em {
  color: var(--story-gold);
}
.story-title em::after {
  display: none;
}
.story-first-footer {
  position: absolute;
  bottom: 13%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.story-first-footer p {
  font-size: 14px;
  line-height: 1.8;
  color: #a8b09f;
}
.story-first-footer .button {
  color: #1c2115;
  font-size: 14px;
  padding-block: 15px;
  position: relative;
  z-index: 12;
}
.story-canvas {
  position: absolute;
  inset: 7% 0 11%;
  z-index: 3;
  pointer-events: none;
  opacity: calc(1 - var(--form) * 0.98);
  transform: translateX(calc(var(--form) * -140px))
    scale(calc(1 - var(--form) * 0.2));
}
#idea-canvas {
  display: block;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.sculpture-ready #idea-canvas {
  opacity: 1;
}
.idea-fallback {
  position: absolute;
  top: 52%;
  left: 50%;
  width: 32vmin;
  height: 32vmin;
  transform: translate(-50%, -50%) rotate(-24deg);
  perspective: 700px;
}
.idea-fallback i {
  position: absolute;
  inset: 0;
  border: 2.8vmin solid #c99c46;
  border-radius: 35%;
  box-shadow:
    inset 8px 10px 16px #fff3c466,
    8px 15px 30px #0008;
  transform: rotateY(55deg) rotateX(20deg);
  background: transparent;
}
.idea-fallback i:nth-child(2) {
  transform: rotateY(-55deg) rotateX(-20deg);
  border-color: #efcb75;
}
.idea-fallback i:nth-child(3) {
  inset: 16%;
  transform: rotateX(55deg) rotateZ(25deg);
  border-width: 2.3vmin;
}
.sculpture-ready .idea-fallback {
  display: none;
}
.story-second {
  position: absolute;
  inset: 0;
  opacity: var(--second-opacity);
  z-index: 6;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
  padding-top: 40px;
  transform: translateY(calc((1 - var(--form)) * 140px - var(--outro) * 90px));
}
.story-second-copy {
  padding-bottom: 0;
}
.story-second-copy .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
}
.story-second-copy h2 {
  font-size: clamp(45px, 5.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin-block: 26px;
}
.story-second-copy > p:last-child {
  color: #a3ae96;
  font-size: 16px;
  line-height: 1.85;
}
.story-devices {
  width: 100%;
  perspective: 1200px;
  transform: translateX(calc((1 - var(--form)) * 230px))
    rotateY(calc((1 - var(--form)) * -25deg));
}
.story-devices .hero-art {
  width: 100%;
  height: 490px;
  margin: 0;
}
.story-devices .hero-browser {
  transform: perspective(1300px) rotateY(calc(-10deg + var(--pointer-x) * 5deg))
    rotateX(calc(5deg - var(--pointer-y) * 4deg)) rotateZ(-3deg);
}
.story-devices .mobile-mock {
  transform: translateY(calc((1 - var(--form)) * 150px))
    rotate(calc(-9deg + var(--pointer-x) * -4deg));
}
.story-devices .mini-system {
  transform: translateY(calc((1 - var(--form)) * -120px))
    rotate(calc(4deg + var(--pointer-x) * 2deg));
}
.story-third {
  position: absolute;
  inset: 0;
  z-index: 8;
  opacity: var(--third-opacity);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  transform: translateY(calc((1 - var(--outro)) * 90px));
  text-align: center;
}
.story-third > .eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 25px;
}
.story-third h2 {
  font-size: clamp(75px, 10.5vw, 156px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.065em;
}
.story-third em {
  color: var(--story-gold);
}
.connection-line {
  display: flex;
  align-items: center;
  width: min(450px, 55vw);
  margin-block: 28px 23px;
}
.connection-line > span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b69854);
}
.connection-line > span:last-child {
  transform: rotate(180deg);
}
.connection-line > i {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 3px;
  margin-inline: 18px;
  transform: rotate(45deg);
  box-shadow: 0 0 32px #e8ba6570;
}
.connection-end {
  font-size: clamp(20px, 2.7vw, 36px);
  font-family: var(--heading);
  letter-spacing: -0.03em;
  color: #d4ddc9;
  margin-bottom: 30px;
}
.story-third .button {
  min-height: 52px;
  font-size: 14px;
}
.story-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  gap: 24px;
}
.story-next {
  display: flex;
  align-items: center;
  gap: 13px;
  border: none;
  background: transparent;
  color: #c3cbbb;
  font-size: 12px;
  min-height: 44px;
  padding: 0;
}
.scroll-wheel {
  width: 18px;
  height: 28px;
  border: 1px solid #8d997b;
  border-radius: 10px;
  position: relative;
}
.scroll-wheel::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 2px;
  height: 6px;
  background: #d6bb7c;
  border-radius: 2px;
  animation: wheel-drift 1.8s ease infinite;
}
.story-controls {
  display: flex;
  gap: 3px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.story-controls button {
  border: 0;
  background: transparent;
  padding: 16px 5px;
  min-height: 44px;
}
.story-controls button > span {
  display: block;
  width: 28px;
  height: 2px;
  background: #5b654f;
  transition:
    background 0.3s,
    transform 0.3s;
}
.story-controls button[aria-current] > span {
  background: #e3be73;
  transform: scaleY(1.5);
}
.skip-story {
  font-size: 12px;
  color: #9daa90;
  border-bottom: 1px solid #526142;
  padding-bottom: 3px;
}
.story-second,
.story-third {
  pointer-events: none;
}
.cinematic[data-chapter="form"] .story-second,
.cinematic[data-chapter="connection"] .story-third {
  pointer-events: auto;
}
.cinematic:not([data-chapter="idea"]) .story-first {
  pointer-events: none;
}
.creative-ticker {
  background: #d3b06b;
  color: #182012;
  padding-block: 25px;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 42px;
  animation: ticker-flow 28s linear infinite;
}
.ticker-track > span {
  font: 600 clamp(22px, 2.7vw, 38px) / 1.1 var(--heading);
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.ticker-track > i {
  font-size: 30px;
  font-style: normal;
}
.creative-ticker:hover .ticker-track {
  animation-play-state: paused;
}
.solution-card {
  will-change: auto;
  transform-style: preserve-3d;
  background:
    radial-gradient(
      circle at var(--card-x, 50%) var(--card-y, 0%),
      #c2ae6a13,
      transparent 55%
    ),
    #11160f;
  transition:
    transform 0.2s ease-out,
    border-color 0.25s;
}
.solution-card .service-drawing {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.solution-card:hover .service-drawing {
  transform: translateY(-5px) rotate(-4deg);
}
.solution-card:nth-child(2):hover .service-drawing {
  transform: translateY(-5px) rotate(4deg);
}
.solution-card:hover {
  border-color: #ac965c;
}
.drawing-bars i {
  transform-origin: bottom;
  animation: breathe-bars 3.2s ease-in-out infinite alternate;
}
.drawing-bars i:nth-child(2n) {
  animation-delay: -0.9s;
}
.drawing-bars i:nth-child(3n) {
  animation-delay: -1.8s;
}
.experience {
  background:
    radial-gradient(ellipse at 50% 60%, #25341c47, transparent 70%), #10150e;
}
.showcase-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-block: -7px 22px;
}
.showcase-actions > p {
  font-size: 13px;
  color: #98a78a;
}
.showcase-play {
  color: #d8c38e;
  background: transparent;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #4c5a3c;
  border-radius: 4px;
  font-size: 12px;
}
.play-symbol {
  width: 8px;
  height: 10px;
  border: 1px solid currentColor;
  border-width: 0 3px;
}
.showcase-play[aria-pressed="false"] .play-symbol {
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-right: 0;
}
.demo-panel:not([hidden]) {
  animation: panel-arrive 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.demo-screen {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}
.demo-screen:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px #02090166;
}
.demo-tabs button {
  position: relative;
}
.demo-tabs[data-playing="true"] button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 3px;
  height: 2px;
  background: #47592b;
  width: calc(100% - 16px);
  transform-origin: left;
  animation: showcase-timer 8s linear infinite;
}
.process-grid article {
  transition: border-color 0.4s;
}
.process-grid article:hover {
  border-color: #d7bc79;
}
.process-icon {
  transition: transform 0.4s ease;
}
.process-grid article:hover .process-icon {
  transform: translateY(-6px) rotate(-7deg);
}
.contact {
  box-shadow: 0 0 0 1px #c2a35d;
}
.contact::before {
  content: "";
  width: 400px;
  height: 400px;
  position: absolute;
  border: 1px solid #3d4a2720;
  border-radius: 50%;
  right: -100px;
  bottom: -240px;
  animation: contact-orbit 14s ease-in-out infinite alternate;
}
.reveal-enabled [data-reveal] {
  transition:
    opacity 0.7s ease,
    translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-enabled [data-reveal]:not(.is-visible) {
  opacity: 0;
  translate: 0 28px;
}
.reveal-enabled [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}
.floating-wa {
  transition:
    opacity 0.3s,
    transform 0.3s;
}
body.in-opening .floating-wa {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
@keyframes ticker-flow {
  to {
    transform: translateX(-50%);
  }
}
@keyframes wheel-drift {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}
@keyframes breathe-bars {
  to {
    transform: scaleY(0.72);
  }
}
@keyframes panel-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes showcase-timer {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes contact-orbit {
  to {
    transform: translate(-40px, -25px) scale(1.3);
  }
}
@media (min-width: 1650px) {
  .story-title {
    font-size: 212px;
  }
}
@media (max-width: 1050px) {
  .story-title {
    font-size: 13.5vw;
  }
  .story-first-footer {
    bottom: 14%;
  }
  .story-second {
    width: calc(100% - 68px);
    grid-template-columns: 0.8fr 1.2fr;
  }
  .story-second-copy h2 {
    font-size: 6vw;
  }
  .story-second-copy .eyebrow {
    font-size: 10px;
  }
  .story-second-copy > p:last-child {
    font-size: 14px;
  }
  .story-devices .hero-art {
    height: 420px;
  }
  .story-devices .studio-image {
    height: 225px;
  }
  .story-devices .mini-system {
    width: 270px;
  }
  .story-devices .mobile-mock {
    left: 0;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 80px;
  }
  .header .nav {
    min-height: 77px;
  }
  .header {
    background: #090b096e;
  }
  .header-cta {
    display: inline-flex;
    font-size: 11px;
    padding-inline: 12px;
  }
  .cinematic.has-story {
    height: 260svh;
  }
  .story-stage {
    height: 100svh;
    min-height: 600px;
  }
  .story-eyebrow {
    top: 18%;
    font-size: 10px;
    letter-spacing: 1.4px;
    padding-inline: 20px;
  }
  .story-title {
    top: 26%;
    font-size: clamp(52px, 13.5vw, 94px);
    letter-spacing: -0.06em;
  }
  .story-title > span:last-child {
    margin-top: 22svh;
  }
  .story-canvas {
    inset: 14% -22% 18%;
  }
  .story-first-footer {
    bottom: 12%;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .story-first-footer p {
    font-size: 13px;
    line-height: 1.6;
  }
  .story-first-footer p br {
    display: none;
  }
  .story-first-footer .button {
    font-size: 13px;
    padding: 14px 20px;
    min-height: 49px;
  }
  .story-bottom {
    bottom: 17px;
    gap: 12px;
  }
  .story-next {
    font-size: 11px;
    gap: 8px;
  }
  .scroll-wheel {
    width: 16px;
    height: 24px;
  }
  .scroll-wheel::after {
    left: 6px;
  }
  .skip-story {
    font-size: 11px;
  }
  .story-controls {
    display: none;
  }
  .story-second {
    width: calc(100% - 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding-top: 40px;
  }
  .story-second-copy {
    width: 100%;
    text-align: center;
  }
  .story-second-copy .eyebrow {
    justify-content: center;
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .story-second-copy h2 {
    font-size: clamp(39px, 9.6vw, 63px);
    margin-block: 16px;
  }
  .story-second-copy > p:last-child {
    font-size: 13px;
  }
  .story-devices {
    width: min(410px, 100%);
  }
  .story-devices .hero-art {
    height: 330px;
  }
  .story-devices .hero-browser {
    top: 0;
    width: 95%;
  }
  .story-devices .studio-image {
    height: 174px;
  }
  .story-devices .mini-system {
    width: 230px;
    bottom: 0;
  }
  .story-devices .mobile-mock {
    bottom: 7px;
    width: 105px;
    height: 219px;
    left: 0;
  }
  .story-devices .art-label {
    font-size: 7px;
    bottom: -19px;
  }
  .story-devices .hero-art::before {
    inset: 0;
  }
  .story-third {
    padding: 35px 20px 0;
  }
  .story-third > .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 24px;
  }
  .story-third h2 {
    font-size: 16vw;
  }
  .connection-line {
    margin-block: 27px;
    width: 66vw;
  }
  .connection-end {
    font-size: 24px;
  }
  .story-third .button {
    font-size: 13px;
  }
  .creative-ticker {
    padding-block: 20px;
  }
  .ticker-track {
    gap: 25px;
  }
  .ticker-track > span {
    font-size: 24px;
  }
  .ticker-track > i {
    font-size: 23px;
  }
  .showcase-actions {
    align-items: flex-start;
    margin-block: 0 18px;
    gap: 14px;
  }
  .showcase-actions > p {
    font-size: 12px;
    max-width: 160px;
  }
  .showcase-play {
    font-size: 10px;
    padding: 10px;
    white-space: nowrap;
    gap: 7px;
  }
}
@media (max-width: 390px) {
  .header-cta {
    display: none;
  }
  .story-eyebrow {
    font-size: 9px;
  }
  .story-title {
    top: 25%;
  }
  .story-title > span:last-child {
    margin-top: 23svh;
  }
  .story-first-footer p {
    font-size: 12px;
    max-width: 290px;
  }
  .story-first-footer p br {
    display: block;
  }
  .story-first-footer {
    gap: 13px;
  }
  .story-second {
    gap: 16px;
  }
  .story-second-copy h2 {
    margin-block: 13px;
  }
  .story-devices .hero-art {
    height: 290px;
  }
  .story-devices .studio-image {
    height: 150px;
  }
  .story-devices .mobile-mock {
    width: 94px;
    height: 196px;
  }
  .story-devices .phone-copy {
    font-size: 14px;
  }
  .story-devices .mini-system {
    width: 209px;
  }
  .story-devices .art-label {
    font-size: 6px;
    bottom: -18px;
  }
}
@media (max-height: 710px) and (min-width: 701px) {
  .story-stage {
    min-height: 590px;
  }
  .story-eyebrow {
    top: 20%;
  }
  .story-title {
    top: 27%;
    font-size: min(12vw, 138px);
  }
  .story-title > span:last-child {
    margin-top: 11svh;
  }
  .story-first-footer {
    bottom: 13%;
  }
  .story-first-footer p {
    font-size: 12px;
  }
  .story-first-footer .button {
    padding: 12px 18px;
    min-height: 44px;
  }
  .story-third h2 {
    font-size: 110px;
  }
  .story-second-copy h2 {
    font-size: 56px;
  }
  .story-devices .hero-art {
    height: 380px;
  }
  .story-devices .studio-image {
    height: 210px;
  }
  .story-third {
    padding-top: 75px;
  }
  .story-third > .eyebrow {
    margin-bottom: 17px;
  }
  .connection-line {
    margin-block: 20px;
  }
  .connection-end {
    margin-bottom: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic.has-story {
    height: auto;
  }
  .story-stage {
    position: relative;
    height: auto;
    min-height: 720px;
    padding-top: 100px;
  }
  .story-first {
    position: relative;
    min-height: 620px;
    opacity: 1;
    transform: none;
  }
  .story-eyebrow {
    top: 5%;
  }
  .story-title {
    top: 15%;
  }
  .story-title > span:last-child {
    margin-top: 130px;
  }
  .story-first-footer {
    bottom: 8%;
  }
  .story-canvas {
    top: 90px;
    height: 520px;
    bottom: auto;
    opacity: 1;
    transform: none;
  }
  .story-second,
  .story-third,
  .story-controls,
  .story-next {
    display: none;
  }
  .story-bottom {
    justify-content: flex-end;
    bottom: 20px;
  }
  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    gap: 15px 24px;
    justify-content: center;
  }
  .ticker-track > span:nth-of-type(n + 4),
  .ticker-track > i:nth-of-type(n + 3) {
    display: none;
  }
  .ticker-track > span {
    font-size: 17px;
  }
  .ticker-track > i {
    font-size: 18px;
  }
  .reveal-enabled [data-reveal]:not(.is-visible) {
    opacity: 1;
    translate: none;
  }
  .demo-panel:not([hidden]),
  .drawing-bars i,
  .scroll-wheel::after,
  .contact::before {
    animation: none;
  }
}

.cinematic:not(.has-story) .story-next,
.cinematic:not(.has-story) .story-controls {
  display: none;
}

@media (max-width: 700px) {
  .story-first-footer p {
    font-size: 16px;
    max-width: 340px;
  }
  .story-second-copy > p:last-child {
    font-size: 16px;
    line-height: 1.6;
  }
  .showcase-actions > p {
    font-size: 14px;
  }
  .showcase-play {
    font-size: 12px;
  }
}

@media (max-width: 700px) and (max-height: 710px) {
  .story-devices .hero-art {
    height: 260px;
  }
  .story-devices .studio-image {
    height: 140px;
  }
  .story-devices .mobile-mock {
    height: 185px;
    width: 89px;
  }
  .story-second {
    gap: 14px;
  }
}
