:root {
  --black: #050505;
  --night: #0b0b0b;
  --ink: #101214;
  --text: #e7ecef;
  --muted: #8f999e;
  --quiet: rgba(231, 236, 239, 0.62);
  --line: rgba(231, 236, 239, 0.13);
  --line-strong: rgba(231, 236, 239, 0.28);
  --signal: #d95b43;
  --blue: #8aa9b7;
  --green: #9eba86;
  --container: min(1540px, calc(100% - 52px));
  --sans: "Aptos", "Helvetica Neue", Arial, sans-serif;
  --serif:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  background: #050505;
  overscroll-behavior: none;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  --ambient-x: 72%;
  --ambient-y: 16%;
  color: var(--text);
  background-color: #050505;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px) 0
      0 / 11.8rem 11.8rem,
    linear-gradient(180deg, #050505 0%, #090909 48%, #050505 100%);
  font: 400 16px/1.55 var(--sans);
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior: none;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(
      120deg,
      transparent 0 38%,
      rgba(138, 169, 183, 0.08) 48%,
      transparent 62%
    ),
    radial-gradient(
      ellipse at var(--ambient-x) var(--ambient-y),
      rgba(217, 91, 67, 0.09),
      transparent 34rem
    );
  animation: ambientBreath 18s var(--ease) infinite alternate;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: soft-light;
  animation: grainDrift 8s steps(2, end) infinite;
}

body.portal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

main,
section,
footer,
header,
aside {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

iframe {
  color-scheme: normal;
}

h1,
h2,
h3,
p,
dl {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 80;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  color: #050505;
  background: var(--text);
  padding-top: max(0.75rem, env(safe-area-inset-top));
}

.skip-link:focus {
  transform: translateY(0);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: var(--text);
  background: #050505;
  animation: loaderExit 620ms var(--ease) 740ms forwards;
}

.loader-logo {
  width: min(18rem, 68vw);
  height: auto;
  animation: loaderMark 760ms var(--ease) both;
}

.loader-line {
  position: absolute;
  top: 50%;
  left: 8rem;
  right: 8rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--line-strong);
  animation: loaderLine 780ms var(--ease) 120ms both;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid rgba(231, 236, 239, 0.72);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition:
    width 220ms var(--ease),
    height 220ms var(--ease),
    opacity 220ms ease,
    border-color 220ms ease;
  mix-blend-mode: difference;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-active {
  width: 3.4rem;
  height: 3.4rem;
  border-color: rgba(255, 255, 255, 0.95);
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-line {
  position: absolute;
  display: block;
  border: 1px solid rgba(231, 236, 239, 0.055);
  transform: translate3d(0, 0, 0) rotate(-12deg);
  animation: architecturalDrift 22s var(--ease) infinite alternate;
}

.ambient-line-one {
  top: 12%;
  right: 12%;
  width: 42rem;
  height: 21rem;
}

.ambient-line-two {
  left: 7%;
  bottom: 18%;
  width: 34rem;
  height: 34rem;
  animation-delay: -9s;
}

.ambient-glow {
  position: absolute;
  left: var(--ambient-x);
  top: var(--ambient-y);
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(138, 169, 183, 0.08),
    transparent 66%
  );
  opacity: 0.72;
  transform: translate3d(-50%, -50%, 0);
  transition:
    left 800ms var(--ease),
    top 800ms var(--ease);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    transform 420ms var(--ease),
    background-color 300ms ease,
    border-color 300ms ease;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.94);
}

.nav-shell,
.scene,
.thesis,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  min-height: 5.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
}

.brand img {
  width: 2.65rem;
  height: 2.65rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--text);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.brand small {
  color: var(--quiet);
  font-size: 0.72rem;
}

.nav-menu {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.nav-menu a,
.install-button,
.device-toggle button,
.portal-close {
  border: 1px solid transparent;
  background: transparent;
  color: var(--quiet);
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.nav-menu a {
  padding: 0.64rem 0.78rem;
}

.install-button {
  padding: 0.64rem 0.78rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.install-button:hover,
.install-button:focus-visible {
  color: var(--text);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.08rem;
  height: 1px;
  margin: 0.34rem auto;
  background: currentColor;
}

.scene {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

.hero {
  display: grid;
  align-content: end;
  padding: 8rem 0 3.2rem;
}

.atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.plane {
  position: absolute;
  display: block;
  border: 1px solid var(--line);
  transform: translate3d(0, 0, 0) rotate(-10deg);
  animation: drift 16s var(--ease) infinite alternate;
}

.plane-one {
  top: 18%;
  right: 4%;
  width: 32rem;
  height: 16rem;
  border-color: rgba(138, 169, 183, 0.18);
}

.plane-two {
  left: -5%;
  bottom: 14%;
  width: 28rem;
  height: 28rem;
  border-color: rgba(217, 91, 67, 0.15);
  animation-delay: -5s;
}

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(231, 236, 239, 0.4),
    transparent
  );
  transform: scaleX(0);
  animation: scan 5.5s var(--ease) 2s infinite;
}

.hero-lockup {
  max-width: 78rem;
}

.hero-logo {
  width: min(17rem, 70vw);
  height: auto;
  margin-bottom: 2.2rem;
}

.overline,
.chapter,
.exhibit-count {
  color: var(--signal);
  font-size: 0.78rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10.8em;
  font-size: 8.4rem;
  line-height: 0.88;
}

h2 {
  max-width: 10.5em;
  font-size: 5.6rem;
  line-height: 0.92;
}

h3 {
  font-size: 4.2rem;
  line-height: 0.92;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 28rem) auto;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-top: 5rem;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  padding: 0.82rem 1rem;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  transition:
    border-color 240ms ease,
    color 240ms ease,
    transform 240ms var(--ease);
}

.button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--text);
  transition: transform 360ms var(--ease);
}

.button:hover,
.button:focus-visible {
  color: #050505;
  border-color: var(--text);
}

.button:hover::before,
.button:focus-visible::before {
  transform: scaleX(1);
}

.button-primary {
  color: #050505;
  background: var(--text);
}

.button-primary::before {
  background: var(--signal);
}

.button-secondary {
  color: var(--quiet);
}

.thesis {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1fr);
  gap: 4rem;
  min-height: 78svh;
  align-items: center;
  padding: 7rem 0;
}

.thesis .chapter {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.thesis-copy {
  display: grid;
  max-width: 35rem;
  gap: 1.4rem;
  justify-self: end;
}

.library {
  min-height: auto;
  padding: 8rem 0 9rem;
}

.library-intro {
  position: relative;
  z-index: 1;
  max-width: 60rem;
  margin-bottom: 6rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.world-theatre {
  display: grid;
  grid-template-columns: minmax(14rem, 21rem) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.exhibit-list {
  position: sticky;
  top: 16rem;
  display: grid;
  gap: 0.3rem;
}

.exhibit-item {
  position: relative;
  display: grid;
  gap: 0.45rem;
  width: 100%;
  border: 0;
  padding: 1.15rem 0;
  color: var(--quiet);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.exhibit-item::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  content: "";
  transform: scaleX(0.22);
  transform-origin: left;
  background: var(--line);
  transition:
    transform 420ms var(--ease),
    background-color 420ms ease;
}

.exhibit-item:hover::after,
.exhibit-item:focus-visible::after,
.exhibit-item[aria-pressed="true"]::after {
  transform: scaleX(1);
  background: var(--signal);
}

.exhibit-item span {
  color: var(--signal);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.exhibit-item strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.exhibit-item small {
  color: var(--muted);
}

.exhibit-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: 2.4rem;
  min-height: max(42rem, calc(100svh - 8rem));
  align-items: center;
  padding-top: 1.2rem;
}

.exhibit-stage::before {
  position: absolute;
  inset: 4rem 6% auto 30%;
  z-index: -1;
  height: 30rem;
  content: "";
  background: linear-gradient(
    110deg,
    transparent,
    rgba(138, 169, 183, 0.09),
    transparent
  );
  transform: skewY(-8deg);
}

.exhibit-copy {
  position: relative;
  z-index: 2;
}

.exhibit-sector {
  margin: 0.7rem 0 1rem;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.exhibit-description {
  max-width: 29rem;
  font-size: 1.05rem;
}

.exhibit-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 29rem;
  margin-top: 1.8rem;
}

.exhibit-notes span {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.28rem;
  color: var(--quiet);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.exhibit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.live-preview-wrap {
  display: grid;
  gap: 0.9rem;
  transform: perspective(1600px) rotateY(-3deg) translate3d(0, 0, 0);
  transform-origin: left center;
  transform-style: preserve-3d;
  transition:
    transform 920ms var(--ease),
    opacity 620ms ease;
  will-change: transform, opacity;
}

.live-preview-wrap.is-changing {
  opacity: 0.82;
  transform: perspective(1600px) rotateY(-7deg) translate3d(1.4rem, 0, -2rem);
}

.live-preview-wrap.is-device-changing {
  transform: perspective(1600px) rotateY(-11deg) rotateX(2deg)
    translate3d(1.4rem, -0.3rem, -4rem);
}

.live-preview-wrap.is-changing .live-preview-screen,
.live-preview-wrap.is-device-changing .live-preview-screen {
  opacity: 0.36;
  clip-path: inset(12% 8% 12% 8%);
  filter: saturate(0.86) brightness(0.82);
  transform: translateZ(0) scale(0.972);
}

.live-preview-wrap.is-preview-loaded .live-preview-screen {
  opacity: 1;
  clip-path: inset(0);
  filter: none;
  transform: translateZ(0) scale(1);
}

.preview-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--quiet);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.preview-meta > span {
  position: relative;
  padding-left: 2.2rem;
}

.preview-meta > span::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.35rem;
  height: 1px;
  content: "";
  background: var(--signal);
}

.device-toggle {
  display: inline-flex;
  gap: 0.2rem;
  border: 1px solid var(--line);
  padding: 0.22rem;
}

.device-toggle button {
  padding: 0.44rem 0.58rem;
}

.device-toggle button.active {
  color: #050505;
  background: var(--text);
}

.device-toggle button:hover,
.device-toggle button:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
}

.live-preview {
  position: relative;
  justify-self: end;
  width: min(100%, 63rem);
  overflow: visible;
  border: 1px solid rgba(231, 236, 239, 0.28);
  background: #050505;
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.48);
  transition:
    width 940ms var(--ease),
    aspect-ratio 940ms var(--ease),
    transform 940ms var(--ease),
    border-radius 940ms var(--ease),
    padding 940ms var(--ease),
    box-shadow 940ms var(--ease),
    border-color 760ms ease;
  will-change: width, transform, border-radius, padding, box-shadow;
}

.live-preview::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1),
    transparent 22%,
    transparent 78%,
    rgba(255, 255, 255, 0.08)
  );
  mix-blend-mode: screen;
  opacity: 0.78;
  transition:
    opacity 940ms ease,
    background 940ms var(--ease);
}

.live-preview::after {
  position: absolute;
  left: 50%;
  bottom: -5.2rem;
  width: 32%;
  height: 5.2rem;
  content: "";
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  border-top: 1px solid rgba(231, 236, 239, 0.25);
  background: linear-gradient(180deg, rgba(231, 236, 239, 0.18), transparent);
  opacity: 0;
  transition:
    transform 940ms var(--ease),
    opacity 940ms ease;
}

.live-preview.desktop {
  padding: 0.72rem 0.72rem 1.2rem;
  border-radius: 1.1rem;
  aspect-ratio: 16 / 9;
  transform: translate3d(0, 0, 0);
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.48),
    0 16px 42px rgba(138, 169, 183, 0.08);
}

.live-preview.desktop::after {
  opacity: 1;
  transform: translateX(-50%) scaleY(1);
}

.live-preview.tablet {
  width: min(100%, 38rem);
  padding: 1.05rem;
  border-radius: 2rem;
  aspect-ratio: 4 / 5;
  transform: perspective(1400px) translate3d(-3rem, 0, 1rem) rotateY(-3deg)
    rotateX(1deg);
  box-shadow:
    0 52px 145px rgba(0, 0, 0, 0.54),
    0 18px 58px rgba(217, 91, 67, 0.06);
}

.live-preview.mobile {
  width: min(100%, 22rem);
  padding: 0.88rem;
  border-radius: 2.4rem;
  aspect-ratio: 9 / 16;
  transform: perspective(1400px) translate3d(-5rem, 0, 2rem) rotateY(-7deg)
    rotateX(2deg);
  box-shadow:
    0 58px 150px rgba(0, 0, 0, 0.58),
    0 20px 64px rgba(138, 169, 183, 0.07);
}

.live-preview.tablet::before {
  opacity: 0.9;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    transparent 30%,
    transparent 74%,
    rgba(255, 255, 255, 0.06)
  );
}

.live-preview.mobile::before {
  opacity: 1;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.14),
    transparent 24%,
    transparent 72%,
    rgba(255, 255, 255, 0.08)
  );
}

.live-preview-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  contain: strict;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.55rem;
  background: #050505;
  transform: translateZ(0);
  transition:
    opacity 660ms var(--ease),
    clip-path 860ms var(--ease),
    filter 660ms ease,
    transform 860ms var(--ease);
}

.live-preview-screen::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 3rem rgba(0, 0, 0, 0.42);
}

.live-preview iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #fff;
  color-scheme: normal;
}

.live-preview.tablet .live-preview-screen {
  border-radius: 1.1rem;
}

.live-preview.mobile .live-preview-screen {
  border-radius: 1.55rem;
}

.method {
  display: grid;
  align-content: center;
  min-height: 105svh;
  padding: 7rem 0;
}

.method h2 {
  margin-top: 1rem;
}

.method-lines {
  display: grid;
  gap: 0;
  max-width: 70rem;
  margin: 6rem 0 0 auto;
}

.method-lines article {
  position: relative;
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 2rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.method-lines article::before {
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  transition: width 900ms var(--ease);
}

.method-lines article.visible::before {
  width: 100%;
}

.method-lines article:last-child {
  border-bottom: 1px solid var(--line);
}

.method-lines span,
.scope-line span {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.65rem;
}

.method-lines p {
  max-width: 35rem;
  margin-bottom: 0;
}

.engagement {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: 6rem;
  align-items: center;
  min-height: 100svh;
  padding: 7rem 0;
}

.scope-heading {
  align-self: start;
  padding-top: 5rem;
}

.scope-lines {
  display: grid;
  gap: 0;
}

.scope-line {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1fr) minmax(6rem, auto);
  gap: 2.2rem;
  align-items: baseline;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  transition:
    color 240ms ease,
    transform 320ms var(--ease),
    border-color 240ms ease;
}

.scope-line:last-child {
  border-bottom: 1px solid var(--line);
}

.scope-line:hover,
.scope-line:focus-visible {
  transform: translate3d(1rem, 0, 0);
  border-color: var(--line-strong);
}

.scope-line p {
  margin-bottom: 0;
}

.scope-line strong {
  color: var(--signal);
  font-weight: 400;
  font-size: 0.86rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.studio {
  display: grid;
  gap: 6rem;
  min-height: auto;
  padding: 9rem 0;
}

.studio::before {
  position: absolute;
  inset: 6rem 0 auto 44%;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  content: "";
  border: 1px solid rgba(231, 236, 239, 0.06);
  transform: rotate(-10deg);
}

.studio-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.55fr);
  gap: 4rem;
  align-items: end;
}

.studio-heading .chapter {
  grid-column: 1 / -1;
}

.studio-heading p:last-child {
  max-width: 31rem;
  margin-bottom: 0;
  justify-self: end;
}

.studio-system {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: 4rem;
  align-items: start;
}

.studio-pricing {
  display: grid;
  border-top: 1px solid var(--line);
}

.studio-price {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, 0.5fr) minmax(7rem, auto);
  gap: 1.6rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition:
    transform 420ms var(--ease),
    border-color 320ms ease;
}

.studio-price::before,
.studio-services article::before,
.studio-faq details::before {
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  transition: width 620ms var(--ease);
}

.studio-price:hover,
.studio-price:focus-visible {
  transform: translate3d(0.85rem, 0, 0);
  border-color: var(--line-strong);
}

.studio-price:hover::before,
.studio-price:focus-visible::before,
.studio-services article:hover::before,
.studio-faq details[open]::before {
  width: 100%;
}

.studio-price span,
.studio-services span {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.72rem;
  line-height: 1;
}

.studio-price strong,
.studio-services strong {
  color: var(--signal);
  font-weight: 400;
  font-size: 0.9rem;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.studio-price p {
  grid-column: 1 / -1;
  max-width: 32rem;
  margin-bottom: 0;
}

.studio-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.studio-services article {
  position: relative;
  display: grid;
  gap: 0.8rem;
  min-height: 15rem;
  align-content: end;
  padding: 1.6rem;
  background: #070707;
}

.studio-services p {
  margin-bottom: 0;
}

.studio-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.studio-proof span {
  display: flex;
  min-height: 5.8rem;
  align-items: end;
  padding: 1rem;
  color: var(--quiet);
  background: rgba(5, 5, 5, 0.94);
  font-size: 0.73rem;
  text-transform: uppercase;
  transition:
    color 280ms ease,
    background 420ms var(--ease),
    transform 420ms var(--ease);
}

.studio-proof span:hover {
  color: var(--text);
  background: rgba(231, 236, 239, 0.045);
  transform: translate3d(0, -0.25rem, 0);
}

.studio-process {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
  gap: 4rem;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-process ol {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-process li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  color: var(--quiet);
}

.studio-process li span {
  color: var(--signal);
  font-size: 0.72rem;
}

.studio-faq {
  display: grid;
  border-top: 1px solid var(--line);
}

.studio-faq details {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
  transition:
    border-color 360ms ease,
    padding 420ms var(--ease);
}

.studio-faq details[open] {
  border-color: var(--line-strong);
  padding-bottom: 1.65rem;
}

.studio-faq summary {
  color: var(--text);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  list-style: none;
}

.studio-faq summary::-webkit-details-marker {
  display: none;
}

.studio-faq summary::after {
  float: right;
  color: var(--signal);
  content: "+";
}

.studio-faq details[open] summary::after {
  content: "-";
}

.studio-faq p {
  max-width: 35rem;
  margin: 0.8rem 0 0;
  animation: faqReveal 420ms var(--ease) both;
}

.studio-cta {
  display: grid;
  gap: 1.4rem;
  align-content: end;
  min-height: 18rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.studio-cta p {
  max-width: 32rem;
  margin-bottom: 0;
}

.cookie-notice {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 65;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  width: min(34rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(5, 5, 5, 0.96);
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.42);
  transform: translate3d(0, 1rem, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
}

.cookie-notice.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.cookie-notice p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.cookie-notice a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
}

.cookie-notice button {
  align-self: center;
  border: 1px solid var(--line-strong);
  padding: 0.62rem 0.78rem;
  color: #050505;
  background: var(--text);
  cursor: pointer;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.contact {
  display: grid;
  align-content: center;
  min-height: 92svh;
  padding: 7rem 0;
}

.contact h2 {
  max-width: 8.8em;
}

.contact-lower {
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  gap: 4rem;
  align-items: end;
  margin-top: 4rem;
}

.contact-email {
  justify-self: end;
  color: var(--text);
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 0.95;
  word-break: break-word;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: 3rem 0 max(3rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.brand img.footer-logo {
  width: 12rem;
  height: auto;
}

.site-footer .brand {
  align-items: end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--quiet);
}

.world-portal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 1rem;
  background: #030303;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition:
    opacity 620ms var(--ease),
    transform 620ms var(--ease);
}

.world-portal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.world-portal::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    120deg,
    transparent 0 45%,
    rgba(217, 91, 67, 0.12),
    transparent 62%
  );
  transform: translate3d(-20%, 0, 0);
  transition: transform 900ms var(--ease);
}

.world-portal.is-open::before {
  transform: translate3d(20%, 0, 0);
}

.portal-bar {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.4rem 1rem;
}

.portal-bar span,
.portal-bar strong {
  display: block;
}

.portal-bar span {
  color: var(--signal);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.portal-bar strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.portal-close {
  border-color: var(--line-strong);
  padding: 0.72rem 0.9rem;
}

.portal-close:hover,
.portal-close:focus-visible {
  color: #050505;
  background: var(--text);
}

.world-portal iframe {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.split {
  animation: textReveal 900ms var(--ease) both;
}

.split:nth-child(2) {
  animation-delay: 140ms;
}

.split .word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 1.1rem, 0);
  animation: wordReveal 820ms var(--ease) forwards;
  animation-delay: calc(180ms + var(--word-index, 0) * 38ms);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  transition:
    opacity 850ms var(--ease),
    transform 850ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes loaderExit {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0.96);
  }
}

@keyframes loaderMark {
  from {
    opacity: 0;
    transform: translate3d(0, 1.2rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes loaderLine {
  to {
    transform: scaleX(1);
  }
}

@keyframes textReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 2rem, 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes drift {
  to {
    transform: translate3d(1.2rem, -1.4rem, 0) rotate(-7deg);
  }
}

@keyframes scan {
  0%,
  68% {
    transform: scaleX(0);
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

@keyframes ambientBreath {
  to {
    opacity: 0.78;
    transform: translate3d(0, -0.8rem, 0) scale(1.02);
  }
}

@keyframes grainDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-1%, 1%, 0);
  }
}

@keyframes architecturalDrift {
  to {
    transform: translate3d(1.4rem, -1rem, 0) rotate(-8deg);
  }
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 0.45rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1180px) {
  h1 {
    font-size: 6.4rem;
  }

  h2 {
    font-size: 4.4rem;
  }

  h3,
  .contact-email {
    font-size: 3.3rem;
  }

  .thesis,
  .world-theatre,
  .exhibit-stage,
  .engagement,
  .studio-heading,
  .studio-system,
  .studio-process,
  .contact-lower,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .library-intro,
  .exhibit-list,
  .exhibit-stage {
    position: relative;
    top: auto;
  }

  .exhibit-stage {
    min-height: auto;
  }

  .exhibit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-preview-wrap {
    transform: none;
  }

  .studio-heading p:last-child {
    justify-self: start;
  }

  .contact-email {
    justify-self: start;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-height: 840px) and (min-width: 761px) {
  .hero {
    padding-bottom: 2.4rem;
  }

  h1 {
    font-size: 6.4rem;
  }

  h2 {
    font-size: 4.4rem;
  }

  h3,
  .contact-email {
    font-size: 3.4rem;
  }

  .hero-foot {
    margin-top: 3rem;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1540px);
  }

  body {
    background-size:
      8rem 8rem,
      auto;
  }

  .cursor {
    display: none;
  }

  .loader-line {
    left: 2rem;
    right: 2rem;
  }

  .site-header.scrolled {
    background: rgba(5, 5, 5, 0.96);
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.96);
  }

  .nav-menu.open {
    display: flex;
  }

  .hero,
  .library,
  .method,
  .engagement,
  .studio,
  .contact,
  .thesis {
    min-height: auto;
    padding: 7rem 0 4.5rem;
  }

  .library {
    padding-top: 6.2rem;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3.15rem;
  }

  h3,
  .contact-email {
    font-size: 2.45rem;
  }

  .hero-foot,
  .method-lines article,
  .scope-line,
  .studio-price,
  .studio-services,
  .studio-proof,
  .cookie-notice {
    grid-template-columns: 1fr;
  }

  .studio {
    gap: 4rem;
  }

  .studio-services article {
    min-height: 12rem;
  }

  .studio-proof span {
    min-height: 4.6rem;
  }

  .studio-price strong,
  .studio-services strong {
    text-align: left;
  }

  .exhibit-list {
    grid-template-columns: 1fr;
  }

  .preview-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-preview.desktop,
  .live-preview.tablet,
  .live-preview.mobile {
    width: 100%;
    padding: 0.64rem;
    border-radius: 1.1rem;
    aspect-ratio: 4 / 5;
    transform: none;
  }

  .live-preview.desktop::after {
    opacity: 0;
  }

  .plane-one {
    width: 15rem;
    height: 9rem;
  }

  .plane-two {
    width: 14rem;
    height: 14rem;
  }

  .world-portal {
    padding: 0.5rem;
  }

  .portal-bar {
    min-height: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .loader {
    display: none;
  }

  .reveal,
  .split {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .split .word {
    opacity: 1;
    transform: none;
  }

  .ambient-field,
  body::before,
  body::after {
    animation: none;
  }

  .ambient-glow {
    display: none;
  }

  .cookie-notice {
    opacity: 1;
    transform: none;
  }
}
