@font-face {
  font-family: Archivo;
  src: url("/fonts/library/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/library/space-grotesk-variable-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080b0e;
  --ink: #eff2ef;
  --quiet: #a6b1b7;
  --line: #343c42;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 90px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 17px/1.55 Archivo,
    Arial,
    sans-serif;
  font-synthesis: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #bde9ee;
  outline-offset: 5px;
}
header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 3vw;
  background: #080b0ef5;
  border-bottom: 1px solid #ffffff12;
  font-size: 14px;
}
header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
}
.brand {
  font-size: 18px;
  font-weight: 600;
}
.brand img {
  display: block;
}
.skip {
  position: fixed;
  z-index: 20;
  top: -100px;
  left: 16px;
  padding: 16px;
  background: white;
  color: black;
}
.skip:focus {
  top: 10px;
}
.journey {
  position: relative;
}
.stage {
  position: relative;
  isolation: isolate;
}
.atmosphere {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.cinema .atmosphere {
  display: block;
}
.atmosphere i {
  position: absolute;
  border-radius: 50%;
  background: #d9e5ed;
  box-shadow: 0 0 8px 2px #d9e5ed18;
  opacity: 0.22;
  animation: quiet-drift 32s ease-in-out infinite alternate paused;
}
.atmosphere.playing i {
  animation-play-state: running;
}
.atmosphere .cosmic-orb {
  background: radial-gradient(
    circle at 29% 25%,
    #e0edf745 0%,
    #a0b1c333 22%,
    #72879918 48%,
    #29374408 68%,
    transparent 78%
  );
  box-shadow: 0 0 24px 8px #9bb7cd0a;
  animation-name: orbital-drift;
}
@keyframes orbital-drift {
  from {
    transform: translate3d(-18px, 22px, 0) scale(0.94);
    opacity: 0.16;
  }
  to {
    transform: translate3d(24px, -26px, 0) scale(1.04);
    opacity: 0.27;
  }
}
@keyframes quiet-drift {
  from {
    transform: translate3d(-14px, 20px, 0);
    opacity: 0.12;
  }
  to {
    transform: translate3d(20px, -24px, 0);
    opacity: 0.3;
  }
}
.sculpture {
  height: max(760px, calc(100svh - 72px));
  position: absolute;
  inset: 0 0 auto;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}
.sculpture img,
.sculpture canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}
.sculpture::after {
  content: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 73% 38%, #d3e8ff19, transparent 58%);
  mix-blend-mode: screen;
}
html:not(.cinema) .opening {
  min-height: max(760px, calc(100svh - 72px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1540px) / 2));
  background: transparent;
}
html:not(.cinema) .sculpture {
  left: 48%;
  right: 2%;
}
html:not(.cinema) .sculpture img {
  content: url("/brand/immersive/kihei-motion-aa/static-mark.webp");
  object-fit: contain;
  object-position: center;
}
html:not(.cinema) .opening .description {
  max-width: min(40ch, 43vw);
}
html:not(.cinema) .opening .primary {
  align-self: flex-start;
}
html:not(.cinema) .opening h1 {
  max-width: 13ch;
}
html:not(.cinema) .showcase,
html:not(.cinema) .connection {
  background: var(--bg);
}
.sculpture canvas {
  opacity: 0;
}
.sculpture.ready canvas {
  opacity: 1;
}
.sculpture.ready .detail-frame {
  opacity: 0;
}
.sculpture.ready.detail-ready .detail-frame {
  opacity: 1;
}
.sculpture.ready.detail-ready canvas:not(.detail-frame) {
  opacity: 0;
}
.sculpture.ready img {
  opacity: 0;
}
.chapter {
  position: relative;
  padding: 80px clamp(24px, 4vw, 80px);
  max-width: 1700px;
  margin: auto;
}
.eyebrow {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 24px;
  color: var(--quiet);
}
h1,
h2 {
  font-family: "Space Grotesk", Archivo, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.4rem, 6.7vw, 7.4rem);
}
h2 {
  font-size: clamp(2.6rem, 5.5vw, 6rem);
}
.description,
.work-copy > p:last-child,
.closing > p {
  color: var(--quiet);
  max-width: 45ch;
  margin: 28px 0;
  font-size: 18px;
  line-height: 1.6;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  background: #e5edef;
  color: #11171b;
  border: 1px solid #e5edef;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 #fff9,
    0 3px 24px #d6e6ef18;
}
.primary:hover {
  background: white;
  border-color: white;
  box-shadow:
    inset 0 1px 0 #fff,
    0 4px 28px #d6e6ef26;
}
.route-action {
  font-size: 12px;
  color: var(--quiet);
  align-self: center;
}
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 4vw, 80px);
}
.work-surface {
  display: block;
  min-width: 0;
  background: #141a1f;
  border: 1px solid #5c6266;
  border-radius: 6px;
  overflow: hidden;
}
.work-surface img {
  display: block;
  width: 100%;
  height: auto;
}
.browser-bar,
.caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  font-size: 12px;
  color: #c4cdd1;
}
.caption {
  font-size: 11px;
  background: #10161a;
}
.service-routes {
  max-width: 570px;
  margin: 32px 0;
}
.service-routes a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  min-height: 48px;
  font-size: 18px;
}
.service-routes a:hover {
  color: #bde9ee;
}
.closing {
  padding: 64px 6vw;
  background: #141b20;
  position: relative;
  z-index: 2;
}
.closing-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.closing-actions > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
footer {
  padding: 32px 6vw;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--quiet);
  font-size: 13px;
}
footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.scene-controls {
  position: fixed;
  z-index: 11;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 0 3vw;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #11171de8;
  border-top: 1px solid #ffffff16;
  font-size: 12px;
}
@supports (backdrop-filter: blur(16px)) {
  header,
  .scene-controls {
    background: #141a20b8;
    backdrop-filter: blur(16px) saturate(0.65);
    -webkit-backdrop-filter: blur(16px) saturate(0.65);
    box-shadow: inset 0 1px 0 #ffffff14;
  }
  .browser-bar,
  .caption {
    background: #202930b8;
  }
}
.scene-controls[hidden] {
  display: none;
}
.scene-controls a,
.scene-controls button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.scene-controls button {
  padding: 8px 12px;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}
.progress {
  flex: 1;
  height: 1px;
  background: #343c42;
}
.progress i {
  display: block;
  height: 1px;
  background: #d5dfe4;
  transform: scaleX(0);
  transform-origin: left;
}
.cinema .journey {
  height: 440svh;
}
.cinema .stage {
  height: calc(100svh - 72px);
  position: sticky;
  top: 72px;
  overflow: hidden;
  isolation: isolate;
}
.cinema .sculpture {
  position: absolute;
  inset: 4% 3% 12% 48%;
  height: auto;
  transform-origin: center;
  will-change: transform;
  mask-image: none;
}
.cinema .sculpture img,
.cinema .sculpture canvas {
  object-fit: contain;
}
@media (min-width: 801px) {
  .cinema .sculpture img,
  .cinema .sculpture canvas { object-position: center; }
}
.cinema .chapter {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  padding: 5vh 6vw 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: transform, opacity;
}
.cinema .opening {
  background: transparent;
}
.cinema .opening h1 {
  max-width: 9ch;
}
.cinema .opening .description {
  max-width: 37ch;
}
.cinema .primary {
  align-self: flex-start;
}
.cinema .showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  perspective: 1400px;
  gap: clamp(32px, 4vw, 80px);
}
.cinema .work-surface {
  will-change: transform;
  box-shadow: 0 30px 80px #0008;
}
.cinema .connection {
  background: linear-gradient(
    90deg,
    #080b0ef2 0%,
    #080b0ebd 43%,
    transparent 85%
  );
}
.cinema .connection .description {
  max-width: 40ch;
}
.cinema .connection .service-routes {
  width: min(44vw, 570px);
}
@media (min-width: 1900px) {
  .cinema .chapter {
    padding-left: 12vw;
    padding-right: 12vw;
  }
  .cinema .sculpture {
    inset: 4% 6% 12% 48%;
  }
}
@media (max-width: 800px) {
  header {
    height: 64px;
    padding: 0 20px;
  }
  .brand {
    font-size: 16px;
  }
  header > a:nth-child(2) {
    display: none;
  }
  .chapter {
    padding: 64px 20px;
  }
  .showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  h1 {
    font-size: clamp(2.8rem, 11vw, 4.5rem);
  }
  h2 {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }
  .description,
  .work-copy > p:last-child {
    font-size: 16px;
  }
  .description br,
  .work-copy br + p {
    display: none;
  }
  .closing {
    padding: 56px 20px;
  }
  .closing-actions {
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .scene-controls {
    padding: 0 16px;
    gap: 12px;
    font-size: 11px;
  }
  .scene-controls button {
    font-size: 11px;
  }
  .progress {
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
  }
  #chapter-label {
    margin-right: auto;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .scene-controls a,
  .scene-controls button {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .browser-bar,
  .caption {
    padding: 10px 12px;
    font-size: 10px;
  }
  .cinema .stage {
    height: calc(100svh - 64px);
    top: 64px;
  }
  .cinema .sculpture {
    inset: -8% -32% 28% -15%;
    transform-origin: 65% 50%;
    mask-image: linear-gradient(#000 55%, transparent 98%);
  }
  .cinema .sculpture canvas { object-fit: cover; }
  .cinema .chapter {
    padding: 26px 20px 90px;
    justify-content: flex-end;
  }
  .cinema .opening {
    background: linear-gradient(
      transparent 8%,
      #080b0e00 26%,
      #080b0ed9 54%,
      #080b0e 85%
    );
  }
  .cinema .opening h1 {
    font-size: clamp(2.8rem, 10vw, 4.1rem);
    max-width: 11ch;
  }
  .cinema .opening .eyebrow {
    margin-bottom: 16px;
  }
  .cinema .description {
    margin: 20px 0;
  }
  .cinema .showcase {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
  }
  .cinema .work-copy h2 {
    font-size: clamp(2.4rem, 9vw, 3.6rem);
  }
  .cinema .work-copy > p:last-child {
    margin: 16px 0 0;
  }
  .cinema .work-surface {
    width: 100%;
  }
  html:not(.cinema) .sculpture {
    inset: 0 0 auto 25%;
    height: 360px;
  }
  html:not(.cinema) .opening {
    min-height: max(740px, calc(100svh - 64px));
    padding-inline: 20px;
    justify-content: flex-end;
    padding-bottom: 100px;
    padding-top: 320px;
    background: transparent;
  }
  html:not(.cinema) .opening .description {
    max-width: 45ch;
  }
  .sculpture {
    filter: grayscale(1);
  }
  .sculpture img {
    object-position: 65% top;
  }
  .cinema .sculpture::after {
    background: radial-gradient(ellipse at 55% 35%, #e5efff25, transparent 68%);
  }
  .cinema .connection {
    justify-content: center;
    background: #080b0ebd;
  }
  .cinema .connection .service-routes {
    width: 100%;
    margin: 20px 0;
  }
  .service-routes a {
    font-size: 16px;
  }
  .cinema .connection h2 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Desktop fallback shares the first scene's exact text geometry. Mobile is unchanged. */
@media (min-width: 801px) and (min-height: 700px) {
  html:not(.cinema) .opening {
    min-height: calc(100svh - 72px);
    height: calc(100svh - 72px);
    padding: 5vh 6vw 90px;
  }
  html:not(.cinema) .opening .description {
    max-width: 37ch;
  }
  html:not(.cinema) .sculpture {
    top: calc((100svh - 72px) * 0.04);
    left: 48%;
    right: 3%;
    height: calc((100svh - 72px) * 0.84);
  }
  html:not(.cinema) .sculpture img {
    content: url("/brand/immersive/kihei-motion-aa/desktop/frame-119.webp");
  }
}
@media (min-width: 1900px) and (min-height: 700px) {
  html:not(.cinema) .opening {
    padding-inline: 12vw;
  }
  html:not(.cinema) .sculpture {
    right: 6%;
  }
}
.site-theme.cinema-home :is(h1, h2),
h1,
h2 {
  overflow-wrap: normal;
  word-break: normal;
}
.cinema .opening h1 {
  max-width: 13ch;
}
@media (max-width: 800px) {
  .site-theme.cinema-home :is(h1, h2) { overflow-wrap: anywhere; }
}
