:root {
  color-scheme:light;
  --paper:#f5f5f0;
  --ink:#181b17;
  --quiet:#4d5349;
  --line:#cdd0c5;
  --green:#c1f45b;
  --blue:#364de0;
  --pink:#f2acc7;
  --gutter:clamp(22px,3.2vw,64px);
}

* {
  box-sizing:border-box;
}

html {
  scroll-padding-top:24px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.45;
}

button,input {
  font:inherit;
}

button,a,input {
  -webkit-tap-highlight-color:transparent;
}

button {
  color:inherit;
  cursor:pointer;
}

button:disabled {
  cursor:wait;
}

a {
  color:inherit;
  text-underline-offset:5px;
}

button,a,input {
  touch-action:manipulation;
}

a:hover {
  text-decoration-thickness:2px;
}

a:focus-visible,button:focus-visible,input:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:5px;
}

button:focus-visible {
  position:relative;
  z-index:5;
}

[hidden] {
  display:none!important;
}

h1,h2,p {
  margin:0;
}

h1,h2 {
  font-weight:600;
}

svg {
  display:block;
  width:100%;
  height:100%;
}

.skip-link {
  position:absolute;
  left:20px;
  top:15px;
  padding:12px 18px;
  background:var(--ink);
  color:var(--paper);
  z-index:10;
  transform:translateY(-160%);
}

.skip-link:focus {
  transform:none;
}

.site-header {
  min-height:100px;
  padding:22px var(--gutter);
  display:flex;
  align-items:center;
  gap:42px;
  border-bottom:1px solid var(--line);
}

.wordmark {
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  letter-spacing:-2.3px;
  font-size:36px;
  font-weight:800;
  line-height:1;
}

.wordmark span {
  display:inline-block;
  color:var(--ink);
  background:var(--green);
  margin-left:8px;
  font-size:42px;
  line-height:32px;
  width:32px;
  height:32px;
  padding-top:7px;
  text-align:center;
  border-radius:50%;
  letter-spacing:0;
}

.header-note {
  font-size:12px;
  line-height:1.35;
}

.site-header nav {
  margin-left:auto;
  display:flex;
  gap:30px;
}

.site-header nav a {
  text-decoration:none;
  font-size:14px;
  padding:12px 0;
}

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

.site-header nav span {
  padding-left:3px;
}

.exhibition {
  position:relative;
  isolation:isolate;
  min-height:clamp(500px,calc(100svh - 220px),650px);
  overflow:hidden;
  background:var(--paper);
  --room-floor:#e5e7de;
}

.exhibition::after {
  content:"";
  position:absolute;
  z-index:-2;
  inset:68% 0 0;
  background:linear-gradient(to bottom,var(--paper),var(--room-floor));
}

.exhibition[data-room="pink"] {
  --paper:#f4e7ed;
  --room-floor:#ebc7d9;
}

.exhibition[data-room="blue"] {
  --paper:#e7eafa;
  --room-floor:#bfc9f0;
}

.exhibit-label {
  position:absolute;
  top:29px;
  left:var(--gutter);
  font-size:13px;
  display:flex;
  align-items:center;
  gap:9px;
}

.live-dot {
  width:8px;
  height:8px;
  background:var(--ink);
  border-radius:50%;
}

.room-controls {
  position:absolute;
  top:20px;
  right:var(--gutter);
  z-index:3;
}

.room-button {
  display:flex;
  align-items:center;
  gap:9px;
  border:0;
  background:transparent;
  padding:10px 0 10px 12px;
  font-size:13px;
}

.room-button:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

.room-swatch {
  width:16px;
  height:16px;
  border:1px solid #6e7465;
  border-radius:50%;
  background:var(--paper);
}

.room-button>span:last-child {
  font-size:21px;
  line-height:16px;
  margin-left:4px;
}

.sculpture {
  position:absolute;
  right:-2%;
  top:5px;
  width:77%;
  height:100%;
  z-index:0;
}

.sculpture svg {
  overflow:visible;
}

.object-hint {
  position:absolute;
  top:63%;
  right:13%;
  font-size:11px;
  color:var(--quiet);
  transform:rotate(-6deg);
  max-width:135px;
  text-align:center;
}

.exhibition-heading {
  position:absolute;
  left:var(--gutter);
  bottom:57px;
  z-index:1;
  pointer-events:none;
}

.exhibition-heading h1 {
  font-size:clamp(52px,6.2vw,92px);
  line-height:.93;
  letter-spacing:-.067em;
  max-width:9em;
}

.exhibition-heading p {
  font-size:14px;
  line-height:1.45;
  margin-top:26px;
  letter-spacing:-.15px;
}

.wall-note {
  position:absolute;
  bottom:24px;
  right:var(--gutter);
  font-size:11px;
  color:var(--quiet);
}

.interaction-bar {
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:32px;
  align-items:center;
  padding:24px var(--gutter);
  border-block:1px solid var(--line);
  background:var(--paper);
  min-height:120px;
}

.fold-control {
  max-width:290px;
}

.fold-control label {
  font-size:14px;
  display:block;
  margin-bottom:10px;
}

.range-row {
  display:flex;
  align-items:center;
  gap:14px;
}

.range-row span {
  font-size:11px;
  color:var(--quiet);
}

input[type="range"] {
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-width:50px;
  height:26px;
  margin:0;
  background:transparent;
  cursor:pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height:2px;
  background:#747b6c;
}

input[type="range"]::-moz-range-track {
  height:2px;
  background:#747b6c;
}

input[type="range"]::-webkit-slider-thumb {
  appearance:none;
  -webkit-appearance:none;
  width:21px;
  height:21px;
  margin-top:-10px;
  border:2px solid var(--ink);
  border-radius:50%;
  background:var(--green);
}

input[type="range"]::-moz-range-thumb {
  width:17px;
  height:17px;
  border:2px solid var(--ink);
  border-radius:50%;
  background:var(--green);
}

.flight-feedback {
  font-size:13px;
  line-height:1.4;
}

.flight-feedback p {
  max-width:32ch;
}

.text-button {
  font-size:11px;
  border:0;
  background:transparent;
  padding:10px 8px 8px 0;
  color:var(--quiet);
  text-decoration:underline;
  text-underline-offset:3px;
}

.play-controls {
  display:flex;
  gap:10px;
}

.turn-button,.launch-button {
  border:1px solid var(--ink);
  padding:15px 24px;
  min-height:52px;
  background:transparent;
  border-radius:0;
  font-size:14px;
}

.turn-button span {
  font-size:19px;
  margin-left:6px;
  line-height:12px;
}

.launch-button {
  background:var(--ink);
  color:var(--paper);
  min-width:150px;
}

.launch-button span {
  margin-left:22px;
  font-size:20px;
  line-height:14px;
}

.launch-button:hover:not(:disabled) {
  background:var(--green);
  color:var(--ink);
}

.turn-button:hover:not(:disabled) {
  background:#e9ebe1;
}

.launch-button:disabled {
  opacity:.6;
}

.no-script {
  padding:24px var(--gutter);
  border-block:1px solid var(--line);
  font-size:14px;
}

.section-pad {
  padding:72px var(--gutter);
}

.catalogue-label {
  display:flex;
  gap:10px;
  align-items:center;
  font-size:13px;
  margin-bottom:52px;
}

.catalogue-label>span:last-child {
  margin-left:auto;
  color:var(--quiet);
}

.catalogue-dot {
  width:12px;
  height:12px;
  border:1px solid currentColor;
  transform:rotate(45deg);
}

.game-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8%;
}

.game-layout h2 {
  font-size:clamp(72px,10.5vw,160px);
  line-height:.85;
  letter-spacing:-.075em;
  font-weight:700;
}

.plane-word {
  display:flex;
  align-items:baseline;
  gap:22px;
}

.plane-word svg {
  width:clamp(48px,7vw,110px);
  height:auto;
  transform:rotate(-8deg);
}

.game-description {
  max-width:410px;
  padding-top:2px;
}

.large-copy {
  font-size:clamp(24px,3vw,44px);
  line-height:1.06;
  letter-spacing:-.045em;
  margin-bottom:30px;
}

.game-description>p:not(.large-copy) {
  max-width:35ch;
  margin-top:15px;
  font-size:16px;
}

.game-description .exhibit-disclaimer {
  color:var(--quiet);
  font-size:12px!important;
  line-height:1.5;
  margin-top:32px!important;
}

.underlined-link {
  display:inline-block;
  margin-top:25px;
  padding-block:10px;
  font-size:13px;
}

.underlined-link span {
  margin-left:12px;
}

.game-section {
  padding-bottom:110px;
}

.studio-section {
  position:relative;
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:36px;
  background:var(--green);
  overflow:hidden;
  padding-block:72px 85px;
}

.section-label {
  font-size:13px;
}

.studio-copy h2 {
  font-size:clamp(40px,5.5vw,80px);
  line-height:.98;
  letter-spacing:-.055em;
  margin-bottom:36px;
}

.studio-copy>p {
  max-width:38ch;
  font-size:17px;
  line-height:1.5;
  margin-top:18px;
}

.folded-mark {
  position:absolute;
  width:135px;
  height:160px;
  left:var(--gutter);
  bottom:70px;
  transform:rotate(-12deg);
}

.folded-mark span {
  position:absolute;
  width:0;
  height:0;
  border-style:solid;
}

.folded-mark span:nth-child(1) {
  border-width:0 65px 110px 0;
  border-color:transparent #181b17 transparent transparent;
  top:0;
  left:0;
}

.folded-mark span:nth-child(2) {
  border-width:0 0 110px 65px;
  border-color:transparent transparent #181b17 transparent;
  top:32px;
  left:66px;
}

.folded-mark span:nth-child(3) {
  border-width:0 0 35px 20px;
  border-color:transparent transparent var(--green) transparent;
  top:78px;
  left:64px;
}

.contact-section {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px 8%;
  padding-top:78px;
  padding-bottom:25px;
}

.contact-section h2 {
  font-size:clamp(42px,5.2vw,76px);
  letter-spacing:-.06em;
  line-height:1.02;
  margin-top:26px;
}

.contact-details {
  padding-top:40px;
  align-self:center;
}

.contact-details>p:first-child {
  font-size:15px;
}

.contact-address {
  font-size:clamp(17px,2.3vw,32px);
  letter-spacing:-.035em;
  margin-top:24px;
  overflow-wrap:anywhere;
}

.footer-line {
  grid-column:1/-1;
  border-top:1px solid var(--line);
  padding-top:24px;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  color:var(--quiet);
}

.footer-wordmark {
  font-weight:800;
  font-size:22px;
  letter-spacing:-1.3px;
  color:var(--ink);
}

@media(min-width:1600px) {
  .exhibition {
    min-height:770px;
  }
  .sculpture {
    height:730px;
    width:76%;
  }
  .exhibition-heading {
    bottom:80px;
  }
}

@media(max-width:900px) {
  .header-note {
    display:none;
  }
  .site-header nav {
    gap:22px;
  }
  .exhibition {
    min-height:610px;
  }
  .sculpture {
    right:-10%;
    width:88%;
    height:560px;
    top:0;
  }
  .exhibition-heading {
    bottom:42px;
  }
  .exhibition-heading h1 {
    font-size:58px;
  }
  .interaction-bar {
    grid-template-columns:1fr auto;
    gap:20px;
  }
  .flight-feedback {
    grid-column:1/-1;
    grid-row:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
  }
  .flight-feedback p {
    max-width:none;
  }
  .text-button {
    padding:8px 0;
    white-space:nowrap;
  }
  .game-layout {
    gap:5%;
  }
  .game-layout h2 {
    font-size:100px;
  }
  .game-description {
    max-width:360px;
  }
  .game-section {
    padding-bottom:72px;
  }
}

@media(max-width:600px) {
  .site-header {
    min-height:82px;
    padding-block:20px;
    gap:14px;
  }
  .wordmark {
    font-size:27px;
    letter-spacing:-1.8px;
  }
  .wordmark span {
    height:25px;
    width:25px;
    font-size:33px;
    line-height:25px;
    padding-top:5px;
    margin-left:5px;
  }
  .site-header nav {
    gap:18px;
  }
  .site-header nav a {
    font-size:12px;
  }
  .site-header nav a:nth-child(2) {
    display:none;
  }
  .site-header nav span {
    display:none;
  }
  .exhibition {
    min-height:560px;
  }
  .exhibit-label {
    top:22px;
    font-size:11px;
    gap:6px;
  }
  .live-dot {
    width:6px;
    height:6px;
  }
  .room-controls {
    top:12px;
  }
  .room-button {
    font-size:11px;
    gap:6px;
  }
  .room-swatch {
    width:13px;
    height:13px;
  }
  .sculpture {
    width:134%;
    height:350px;
    right:-15%;
    top:222px;
  }
  .object-hint {
    display:none;
  }
  .exhibition-heading {
    left:var(--gutter);
    top:76px;
    bottom:auto;
  }
  .exhibition-heading h1 {
    font-size:clamp(47px,10.7vw,64px);
    letter-spacing:-.06em;
  }
  .exhibition-heading p {
    margin-top:20px;
    font-size:13px;
  }
  .wall-note {
    bottom:10px;
    font-size:10px;
    right:var(--gutter);
    left:auto;
  }
  .exhibition::after {
    inset:54% 0 0;
  }
  .interaction-bar {
    grid-template-columns:1fr;
    padding-block:22px;
    gap:18px;
  }
  .fold-control {
    max-width:none;
  }
  .fold-control label {
    font-size:13px;
    margin-bottom:8px;
  }
  .play-controls {
    grid-row:2;
    display:grid;
    grid-template-columns:1fr 1.4fr;
  }
  .flight-feedback {
    grid-row:3;
    align-items:start;
    gap:16px;
    min-height:38px;
    font-size:12px;
  }
  .flight-feedback p {
    max-width:24ch;
  }
  .text-button {
    padding-top:0;
  }
  .turn-button,.launch-button {
    min-height:50px;
    padding:14px 20px;
  }
  .launch-button span {
    margin-left:14px;
  }
  .section-pad {
    padding:48px var(--gutter);
  }
  .catalogue-label {
    margin-bottom:36px;
    font-size:12px;
  }
  .game-layout {
    grid-template-columns:1fr;
    gap:36px;
  }
  .game-layout h2 {
    font-size:clamp(80px,22vw,130px);
  }
  .plane-word svg {
    width:70px;
  }
  .game-description {
    max-width:440px;
  }
  .large-copy {
    font-size:32px;
    margin-bottom:22px;
  }
  .game-description>p:not(.large-copy) {
    font-size:15px;
  }
  .game-description .exhibit-disclaimer {
    margin-top:25px!important;
  }
  .game-section {
    padding-bottom:56px;
  }
  .studio-section {
    grid-template-columns:1fr;
    gap:36px;
    padding-bottom:56px;
  }
  .studio-copy h2 {
    font-size:45px;
    max-width:8em;
  }
  .studio-copy>p {
    font-size:16px;
    max-width:29ch;
  }
  .folded-mark {
    display:none;
  }
  .contact-section {
    grid-template-columns:1fr;
    gap:26px;
  }
  .contact-section h2 {
    font-size:48px;
    margin-top:24px;
  }
  .contact-details {
    padding-top:0;
  }
  .contact-address {
    font-size:clamp(17px,5.4vw,28px);
  }
  .footer-line {
    flex-wrap:wrap;
    gap:14px;
    margin-top:18px;
  }
  .footer-line>span:last-child {
    flex-basis:100%;
    font-size:10px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
  }
}

@media(max-width:360px) {
  .site-header { gap:10px; }
  .site-header nav { gap:12px; }
  .site-header nav a { font-size:11px; white-space:nowrap; }
  .wordmark { font-size:24px; letter-spacing:-1.5px; }
}

/* The launch layer belongs to the document, so scrolling can follow the plane. */
.flight-overlay {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:20;
  pointer-events:none;
  overflow:hidden;
}

.missing-page {
  min-height:100svh;
  padding:48px var(--gutter);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:24px;
}

.missing-page .wordmark { margin-bottom:48px; }
.missing-page h1 {
  font-size:clamp(60px,10vw,140px);
  line-height:.95;
  letter-spacing:-.065em;
}
