@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("assets/fonts/MonaSansVF.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f2ebdd;
  --ink: #202329;
  --paper: #faf8f2;
  --paper-edge: #cdcac1;
  --gold: #515967;
  --foil: #faf8f2;
  --muted: #64666b;
  --display: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { background: var(--ground); }
body { margin: 0; color: var(--ink); font-family: var(--sans); font-optical-sizing: auto; font-feature-settings: "ss03" on; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
[hidden] { display: none !important; }
.masthead {
  height: 76px;
  padding: 16px max(24px, env(safe-area-inset-right)) 8px max(24px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.monogram { display: inline-grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; color: var(--ink); text-decoration: none; }
.monogram img { display: block; width: 48px; height: 48px; }
.masthead-note { font-size: 12px; color: var(--muted); }
.skip { background: none; border: 0; color: var(--ink); font-size: 14px; min-height: 44px; padding: 0; cursor: pointer; }
.skip span { color: var(--gold); margin-left: 7px; }
.intro { min-height: calc(100svh - 76px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 16px max(16px, env(safe-area-inset-bottom)); overflow: clip; }
.stage-wrap { width: 100%; height: 520px; flex: 0 0 auto; position: relative; }
.stage { position: absolute; width: 390px; height: 520px; left: 50%; transform: translateX(-50%); transform-origin: center top; perspective: 900px; perspective-origin: 50% 42%; }
.card {
  position: absolute;
  width: 250px;
  height: 292px;
  left: 50%;
  top: 0;
  margin-left: -125px;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transform: translate(var(--x), var(--y)) rotate(var(--r));
}
.card-design { --x: -16px; --y: 12px; --r: -7deg; z-index: 1; }
.card-systems { --x: 14px; --y: 56px; --r: 5deg; z-index: 2; }
.card-websites { --x: -12px; --y: 99px; --r: -4deg; z-index: 3; }
.card-ai { --x: 12px; --y: 140px; --r: 3deg; z-index: 4; }
.card-media { --x: -5px; --y: 182px; --r: -2deg; z-index: 5; }
.card-quote { --x: 0px; --y: 226px; --r: 0deg; width: 298px; height: 284px; margin-left: -149px; z-index: 6; }
.card-turn { position: relative; height: 100%; width: 100%; transform-style: preserve-3d; }
.card-face, .card-back { position: absolute; inset: 0; border-radius: 9px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 1px 2px #46361e1a, 0 8px 20px #46361e14; }
.card-face { background: var(--paper); color: var(--ink); border: 1px solid var(--paper-edge); transform: translateZ(.4px); }
.card-face::before, .card-back::before { content: ""; position: absolute; inset: 9px; border: 1px solid #2023291c; border-radius: 4px; pointer-events: none; }
.discipline { font-family: var(--serif); display: block; position: absolute; top: 17px; left: 22px; right: 22px; font-size: 20px; line-height: 1.2; font-weight: 500; text-align: left; letter-spacing: -.015em; }
.card-symbol { position: absolute; width: 174px; height: 174px; top: calc(50% - 87px); left: calc(50% - 87px); object-fit: contain; }
.card-systems .card-symbol { width: 220px; height: 220px; top: calc(50% - 110px); left: calc(50% - 110px); }
.card-websites .card-symbol { width: 200px; height: 200px; top: calc(50% - 100px); left: calc(50% - 100px); }
.card-media .card-symbol { width: 153px; height: 204px; top: calc(50% - 102px); left: calc(50% - 76.5px); }
.card-foot { font-family: var(--serif); position: absolute; bottom: 18px; right: 22px; font-size: 16px; font-weight: 500; letter-spacing: -.015em; transform: rotate(180deg); }
.card-back { background: #202329; border: 1px solid #111; transform: rotateY(180deg) translateZ(.4px); color: var(--foil); display: grid; place-items: center; }
.card-back::before { inset: 12px; border-color: #faf8f238; }
.card-back > img { width: 96px; height: 96px; }
.quote-face { display: grid; place-items: center; background: #202329; color: #faf8f2; border-color: #111; box-shadow: 0 2px 3px #20232914, 0 18px 42px #20232920; }
.quote-face::before { border-color: #faf8f226; }
.intent-mark { position: absolute; top: 21px; left: 21px; filter: brightness(0) invert(1); }
.quote-copy { position: relative; width: calc(100% - 56px); text-align: left; font-family: var(--display); font-size: 32px; font-weight: 500; letter-spacing: -.035em; line-height: 1.13; }
.intent-title { margin: 0; }
.intent-signature { position: absolute; left: 28px; bottom: 25px; font-size: 12px; letter-spacing: -.01em; color: #c7c9cd; }
.identity { margin-top: 24px; text-align: center; }
h1 { font-family: var(--display); font-size: clamp(34px, 6vw, 50px); font-weight: 600; line-height: 1.1; letter-spacing: -.05em; margin: 0 0 12px; }
.identity > p { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 17px; font-weight: 400; line-height: 1.3; letter-spacing: -.015em; }
.intro-footer { height: 52px; position: relative; display: grid; place-items: center; margin-top: 18px; }
.motion-hint { position: absolute; white-space: nowrap; font-size: 12px; color: var(--muted); visibility: hidden; }
.replay { border: 0; background: none; color: var(--muted); cursor: pointer; min-height: 44px; min-width: 132px; padding: 10px; font-size: 13px; }
.replay span { color: var(--gold); margin-right: 5px; font-size: 18px; vertical-align: -1px; }
.replay:hover { color: var(--ink); }
.throw-hand { pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 0; mix-blend-mode: multiply; filter: blur(3px); }
.arm-canvas { display: block; width: 100%; height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.is-playing .card { will-change: transform; }
body.is-playing .masthead-note { display: none; }

@media (max-width: 359px) {
  .stage-wrap { height: 442px; }
  .stage { transform: translateX(-50%) scale(.85); }
  .masthead { padding-inline: 20px; }
  .identity { margin-top: 18px; }
}
@media (min-width: 360px) and (max-height: 760px) and (orientation: portrait) {
  .stage-wrap { height: 447px; }
  .stage { transform: translateX(-50%) scale(.86); }
  .identity { margin-top: 16px; }
  .intro-footer { margin-top: 6px; }
  .masthead { height: 62px; padding-top: 8px; }
  .intro { min-height: calc(100svh - 62px); }
}
@media (min-width: 760px) and (min-height: 600px) {
  .masthead { padding: 22px 44px 0; }
  .stage-wrap { height: 500px; }
  .stage { width: 760px; height: 500px; }
  .card-design { --x: -164px; --y: 53px; --r: -24deg; }
  .card-systems { --x: -85px; --y: 34px; --r: -13deg; }
  .card-websites { --x: 0px; --y: 20px; --r: -2deg; }
  .card-ai { --x: 89px; --y: 39px; --r: 12deg; }
  .card-media { --x: 167px; --y: 72px; --r: 25deg; }
  .card-quote { --x: 0px; --y: 192px; --r: -3deg; width: 324px; height: 298px; margin-left: -162px; }
  .discipline { text-align: left; }
  .quote-copy { font-size: 35px; }
  .identity { margin-top: 28px; }
}
@media (max-height: 680px) and (orientation: portrait) {
  .stage-wrap { height: 380px; }
  .stage { transform: translateX(-50%) scale(.73); }
}
@media (max-width: 359px) and (max-height: 680px) and (orientation: portrait) {
  .stage-wrap { height: 320px; }
  .stage { transform: translateX(-50%) scale(.615); }
  .masthead { height: 62px; padding-top: 8px; }
  .intro { min-height: calc(100svh - 62px); }
  .identity { margin-top: 12px; }
  .intro-footer { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.flight-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 7; visibility: hidden; }
.card.is-flexing .card-turn { opacity: 0 !important; }
