:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #48413e;
  background: #f4f1ec;
  color-scheme: light;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #81716b;
  outline-offset: 5px;
}
header {
  max-width: 1400px;
  margin: auto;
  padding: 25px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  position: relative;
  z-index: 10;
}
.logo {
  font:
    bold 40px Georgia,
    serif;
  letter-spacing: -3px;
}
.logo span {
  font: 26px Arial;
  color: #a39995;
  margin-left: 5px;
  vertical-align: top;
}
nav {
  display: flex;
  padding: 6px;
  border-radius: 40px;
  border: 1px solid #fff;
  background: linear-gradient(120deg, #ffffff95, #e7deea5c, #f3efdc78);
  box-shadow:
    inset 0 2px 3px white,
    0 10px 25px -20px #7f6c7d;
  backdrop-filter: blur(15px);
}
nav a {
  padding: 13px 20px;
  font-size: 13px;
  border-radius: 30px;
}
nav a[aria-selected="true"] {
  background: #ffffffa3;
  box-shadow:
    inset 0 1px 2px white,
    0 3px 12px #84798218;
}
.contact-link {
  font-size: 14px;
}
.scene {
  position: relative;
  isolation: isolate;
  max-width: 1600px;
  margin: auto;
  min-height: 710px;
  perspective: 1600px;
  touch-action: pan-y;
  overflow: hidden;
  cursor: grab;
}
.scene.dragging {
  cursor: grabbing;
  user-select: none;
}
#bubble {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.scene-copy {
  position: relative;
  width: min(750px, calc(100% - 96px));
  margin: 0 auto;
  transform-style: preserve-3d;
  padding: 70px 0 60px;
}
.page {
  position: relative;
  max-width: 650px;
  margin: auto;
}
.enhanced .scene-copy {
  height: 680px;
}
.enhanced .page {
  position: absolute;
  inset: 55px 0 auto;
  will-change: transform, opacity;
  transform-origin: center center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #8b7d75;
  margin-bottom: 22px;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -2.7px;
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 1.08;
  margin: 0 0 24px;
}
em {
  color: #90817b;
  font-weight: 400;
}
p {
  font-size: 16px;
  line-height: 1.8;
  color: #70635b;
  max-width: 600px;
  margin: 0 0 20px;
}
.intro {
  font-size: 18px;
  color: #584c45;
  margin-bottom: 18px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 27px;
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  padding: 18px 24px;
  border-radius: 35px;
  border: 1px solid #fffc;
  background: linear-gradient(125deg, #ffffffbd, #e9dfed80 50%, #f0e9d796);
  box-shadow:
    inset 0 2px 3px white,
    inset 0 -2px 3px #b5a2ae22,
    0 10px 25px -18px #695560;
  font-size: 14px;
  transition: transform 0.5s var(--ease);
}
.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
small {
  display: block;
  margin-top: 18px;
  color: #8c7c72;
  font-size: 12px;
  line-height: 1.6;
}
.details {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}
.details h3,
.steps h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 5px;
}
.details p,
.steps p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.details > div {
  padding-left: 18px;
  border-left: 1px solid #b6a9b07a;
}
.text-link {
  display: inline-block;
  font-size: 14px;
  margin-top: 16px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 23px 0;
}
.steps li {
  display: flex;
  gap: 18px;
  padding: 13px 0;
}
.steps li > span {
  font:
    18px Georgia,
    serif;
  color: #9f9188;
}
.email {
  display: block;
  font-size: 14px;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.scene-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: -5px 0 12px;
  position: relative;
  z-index: 5;
}
.scene-controls button {
  width: 45px;
  height: 45px;
  border: 1px solid white;
  border-radius: 50%;
  background: linear-gradient(120deg, #fff9, #e7deea80);
  font-size: 21px;
}
.scene-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
#status {
  font-size: 12px;
  letter-spacing: 1px;
  min-width: 180px;
  text-align: center;
  color: #817169;
}
.interaction-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  color: #96867d;
}
.interaction-note button {
  font-size: 11px;
  border: 0;
  border-bottom: 1px solid #bcafa8;
  background: none;
  padding: 6px;
  margin-left: 20px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1400px;
  margin: 38px auto 0;
  padding: 25px 48px;
  border-top: 1px solid #d6cac340;
  font-size: 11px;
  color: #938177;
}
#render-note {
  font-size: 12px;
  margin: 20px auto;
  text-align: center;
}
.skip {
  position: absolute;
  top: -60px;
  left: 10px;
  padding: 12px;
  background: white;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
.enhanced .page.active .reveal {
  animation: appear 0.95s var(--ease) both;
}
.enhanced .page.active .reveal:nth-child(even) {
  animation-name: appear-other;
}
.enhanced .page.active .reveal:nth-child(2) {
  animation-delay: 0.05s;
}
.enhanced .page.active .reveal:nth-child(3) {
  animation-delay: 0.11s;
}
.enhanced .page.active .reveal:nth-child(4) {
  animation-delay: 0.16s;
}
.enhanced .page.active .reveal:nth-child(5) {
  animation-delay: 0.21s;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateX(-20px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes appear-other {
  from {
    opacity: 0;
    transform: translateX(20px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@media (max-width: 700px) {
  header {
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .logo {
    font-size: 34px;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  nav a {
    padding: 12px 9px;
    font-size: 12px;
  }
  .contact-link {
    font-size: 13px;
  }
  .scene {
    min-height: 670px;
  }
  .scene-copy {
    width: calc(100% - 64px);
    padding: 40px 0;
  }
  .enhanced .scene-copy {
    height: 650px;
  }
  .enhanced .page {
    top: 45px;
  }
  h1,
  h2 {
    font-size: clamp(2.5rem, 7.8vw, 3.5rem);
    letter-spacing: -1.8px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 19px;
  }
  p {
    font-size: 15px;
    line-height: 1.7;
  }
  .intro {
    font-size: 16px;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .button {
    padding: 16px 20px;
  }
  .details p,
  .steps p {
    font-size: 14px;
  }
  .details {
    gap: 15px;
  }
  .steps li {
    padding: 11px 0;
  }
  .scene-controls {
    margin-top: 0;
  }
  footer {
    padding: 25px 20px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .interaction-note {
    font-size: 10px;
  }
  .interaction-note button {
    margin-left: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .button:hover {
    transform: none;
  }
}

.paused .reveal {
  animation: none !important;
}
.paused .button {
  transition: none;
}
html:not(.enhanced) .scene-controls,
html:not(.enhanced) .interaction-note {
  display: none;
}
html:not(.enhanced) .page {
  padding-bottom: 70px;
}
/* A centered, inscribed reading area always stays within the sphere silhouette. */
.scene {
  min-height: 0 !important;
  height: var(--scene-height, 820px);
  overflow: hidden;
}
.bubble-touch {
  position: absolute;
  inset: 0;
  touch-action: none;
}
.scene-copy {
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  padding: 0 !important;
  width: var(--copy-size, 540px) !important;
  height: var(--copy-size, 540px) !important;
  pointer-events: none;
}
.enhanced .page {
  inset: 0 !important;
  max-width: none;
  margin: 0;
  height: 100%;
  padding: 12px 14px 22px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b4a7a150 transparent;
  pointer-events: auto;
  touch-action: pan-y;
  box-sizing: border-box;
}
.page h1,
.page h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  letter-spacing: -1.8px;
  margin-bottom: 18px;
}
.page .eyebrow {
  margin-bottom: 15px;
}
.page .intro {
  font-size: 16px;
  margin-bottom: 14px;
}
.page p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.page .steps {
  margin: 16px 0;
}
.page .steps li {
  padding: 9px 0;
  gap: 12px;
}
.page .steps h3,
.page .details h3 {
  font-size: 15px;
}
.page .steps p,
.page .details p {
  font-size: 14px;
  margin: 0;
}
.page .actions {
  margin-top: 20px;
}
.page .button {
  font-size: 13px;
  padding: 14px 17px;
}
.page .text-link {
  margin-top: 10px;
}
.rotation-mode .scene,
.rotation-mode .page {
  touch-action: none;
}
.interaction-note {
  flex-wrap: wrap;
  max-width: 850px;
  padding: 0 20px;
  margin: auto;
  gap: 10px;
}
.interaction-note button {
  margin-left: 3px;
  min-height: 36px;
}
.interaction-note #rotate[aria-pressed="true"] {
  color: #504640;
  border-color: #74665f;
}
.rotation-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.rotation-controls[hidden] {
  display: none;
}
.rotation-controls button {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 1px solid white;
  background: #ede6e780;
}
.read-hint {
  font-size: 11px;
  text-align: center;
  margin: 10px auto;
  color: #95867e;
}
.read-hint[hidden] {
  display: none;
}
.scene-controls {
  margin-top: 0;
}
.enhanced .page.active .reveal {
  animation-name: soft-appear !important;
  animation-duration: 0.7s;
}
.page .reveal {
  overflow-wrap: break-word;
}
@keyframes soft-appear {
  from {
    opacity: 0;
    filter: blur(2px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@media (max-width: 700px) {
  .page {
    padding: 6px 9px 14px !important;
  }
  .page h1,
  .page h2 {
    font-size: clamp(1.65rem, 4.9vw, 2.2rem);
    letter-spacing: -1px;
  }
  .page .intro {
    font-size: 14px;
  }
  .page .eyebrow {
    font-size: 9px;
    letter-spacing: 1.1px;
  }
  .page .actions {
    gap: 12px;
  }
  .page .steps {
    margin: 12px 0;
  }
  .page .steps li {
    gap: 10px;
  }
  .page small {
    font-size: 11px;
  }
  .interaction-note {
    font-size: 11px;
  }
  footer {
    margin-top: 24px;
  }
}
html:not(.enhanced) .scene {
  height: auto;
}
.paused .reveal {
  animation: none !important;
}

.enhanced .scene-copy {
  overflow: hidden;
  border-radius: 12px;
}
.scene-copy .page {
  transform-origin: center center;
}
/* Quiet navigation and an uninterrupted bubble stage. */
header {
  padding: 17px 34px;
  gap: 20px;
}
header .logo {
  font-size: 30px;
}
header .logo span {
  font-size: 18px;
}
header .contact-link {
  font-size: 12px;
}
nav {
  padding: 3px;
  background: linear-gradient(120deg, #ffffff65, #eee8ed35, #f4efdf40);
  border-color: #ffffff80;
  box-shadow:
    inset 0 1px 1px #ffffffb0,
    0 5px 18px -16px #83767b;
}
nav a {
  padding: 9px 15px;
  font-size: 12px;
}
nav a[aria-selected="true"] {
  background: #ffffff80;
  box-shadow:
    inset 0 1px 1px white,
    0 2px 5px #8479820b;
}
.scene {
  max-width: none;
}
.interaction-note {
  gap: 5px;
  color: #a09086;
  font-size: 10px;
  margin-top: -8px;
}
.interaction-note button {
  font-size: 10px;
  border-color: transparent;
  opacity: 0.7;
}
.interaction-note button:hover,
.interaction-note button:focus-visible {
  opacity: 1;
  border-color: #bcafa8;
}
#gesture-help {
  display: none;
}
.rotation-controls button {
  background: transparent;
  border: 0;
  color: #8b7b71;
}
.read-hint {
  font-size: 10px;
  margin-top: 4px;
}
footer {
  border: 0;
  margin-top: 15px;
  padding: 18px 30px 24px;
  max-width: none;
  font-size: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 700px) {
  header {
    padding: 14px 20px 8px;
    gap: 10px;
  }
  header .logo {
    font-size: 29px;
  }
  header nav {
    order: 3;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 3px;
  }
  nav a {
    font-size: 11px;
    padding: 8px 14px;
  }
  footer {
    padding: 20px;
    font-size: 10px;
  }
  .interaction-note {
    padding-inline: 12px;
  }
}
@media (min-width: 701px) {
  header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  header .contact-link {
    margin-left: auto;
  }
}
/* A spatial overview, with a quiet reading layer inside the globe. */
.scene {
  touch-action: none;
}
.bubble-touch {
  touch-action: none;
}
.pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.pin {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: #fff9;
  border: 1px solid #ffffffc9;
  border-radius: 30px;
  padding: 10px 14px;
  color: #74655e;
  font: 12px Arial;
  min-height: 42px;
  box-shadow:
    0 6px 20px #9c7c9917,
    inset 0 1px 2px #fff;
  backdrop-filter: blur(8px);
  will-change: transform;
}
.pin[hidden] {
  display: none;
}
.pin i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fffdf4;
  box-shadow:
    0 0 0 3px #eee7e960,
    0 0 10px 4px #fff9dcaa,
    0 0 18px 5px #e8d5f077;
}
.pin:hover {
  background: #fffffff0;
  box-shadow: 0 5px 25px #cbb4d540;
}
.pin:focus-visible {
  outline: 2px solid #8e7b87;
}
.overview-message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.5s;
}
.overview-message h1 {
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  margin: 15px 0;
  color: #81726b;
  text-shadow:
    0 0 20px #fff,
    0 1px 0 #fff;
}
.overview-message .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 0;
}
.overview-message p {
  font-size: 11px;
  color: #a28e80;
}
.focused .overview-message {
  opacity: 0;
  visibility: hidden;
}
.scene-copy {
  visibility: hidden;
}
.focused .scene-copy {
  visibility: visible;
}
.enhanced .scene-copy {
  overflow: visible;
}
.enhanced .page {
  overflow: visible !important;
  padding: 0 !important;
  inset: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  touch-action: none;
  text-shadow:
    0 1px 0 #fff,
    0 0 14px #ffffffdf,
    0 2px 3px #aa8f8712;
}
.enhanced .page[hidden] {
  display: none !important;
}
.page h2 {
  font-size: clamp(1.65rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 17px;
  text-shadow:
    0 1px 0 white,
    0 0 20px #fff,
    0 3px 6px #89767420;
}
.page .eyebrow {
  margin-bottom: 14px;
}
.page p {
  font-size: 15px;
  line-height: 1.7;
}
.page ul,
.page ol {
  margin: 0;
  padding-left: 20px;
  color: #716158;
}
.page li {
  font-size: 15px;
  line-height: 1.6;
  padding: 8px 0;
}
.page .small-copy {
  font-size: 12px;
  margin: 12px 0 0;
}
.globe-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 20px;
  color: #97877d;
  font-size: 11px;
}
.globe-tools button {
  border: 0;
  background: none;
  color: inherit;
  font-size: 11px;
  padding: 8px 0;
  min-height: 34px;
}
.globe-tools button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.globe-tools input {
  width: 85px;
  accent-color: #aa999f;
  cursor: pointer;
}
.globe-tools label {
  margin-right: -9px;
}
footer {
  border: 0;
}
.scene:focus-visible {
  outline: 1px solid #b6a7ac;
  outline-offset: -5px;
}
header {
  justify-content: space-between;
}
header nav {
  position: static;
  transform: none;
}
.focused #overview {
  color: #65544b;
}
#render-note {
  font-size: 12px;
  padding: 15px;
}
html:not(.enhanced) .scene-copy {
  position: relative !important;
  visibility: visible;
  height: auto !important;
}
html:not(.enhanced) .page {
  display: block !important;
}
.overview-message .eyebrow {
  max-width: 180px;
}
@media (max-width: 700px) {
  header nav {
    width: auto;
  }
  header .logo {
    margin-right: auto;
  }
  .page h2 {
    font-size: clamp(1.4rem, 5.8vw, 2.2rem);
    letter-spacing: -0.8px;
    margin-bottom: 12px;
  }
  .page .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .page p,
  .page li {
    font-size: 14px;
    line-height: 1.5;
  }
  .page li {
    padding: 5px 0;
  }
  .page p {
    margin-bottom: 11px;
  }
  .page .small-copy {
    font-size: 11px;
    margin-top: 8px;
  }
  .pin {
    font-size: 10px;
    padding: 8px 10px;
    gap: 6px;
    min-height: 38px;
  }
  .overview-message h1 {
    font-size: clamp(1.45rem, 5vw, 2rem);
    letter-spacing: -1px;
  }
  .overview-message .eyebrow {
    font-size: 8px;
    max-width: 130px;
  }
  .overview-message p {
    display: none;
  }
  .globe-tools {
    gap: 12px;
    font-size: 10px;
  }
  .globe-tools button {
    font-size: 10px;
  }
  .globe-tools input {
    width: 65px;
  }
}
/* One-time liquid regeneration and persistent thesis statement. */
html {
  scroll-behavior: smooth;
}
.statement-space {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 12;
  pointer-events: none;
}
#thesis {
  margin: 0;
  font:
    clamp(18px, 2.7vw, 28px) Georgia,
    serif;
  color: #89756c;
  opacity: 0;
  transform: translateY(10px);
  text-align: center;
  text-shadow:
    0 0 13px #fff9de66,
    0 1px 0 white;
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
#thesis.visible {
  opacity: 1;
  transform: translateY(0);
}
.pin {
  transition: opacity 0.16s linear;
}
.regenerating .overview-message {
  opacity: 0;
  transition: opacity 0.12s;
}
.overview-message {
  transition: opacity 0.4s;
}
.scene-copy .page.active {
  animation: section-appear 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.scene-copy .page h2 {
  text-shadow:
    0 1px 0 #fff,
    0 2px 1px #cbbeb95c,
    0 4px 8px #9c888520,
    0 0 18px #ffffffc9;
}
@keyframes section-appear {
  from {
    opacity: 0;
    filter: blur(3px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
.zoomed .scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh !important;
  z-index: 9;
  background: #f4f1ec;
}
.zoomed header {
  position: relative;
  z-index: 20;
}
.zoomed .globe-tools {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  width: max-content;
  max-width: 95vw;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  background: #f5f1ecb0;
}
.zoomed .statement-space {
  position: fixed;
  left: 0;
  right: 0;
  top: 100px;
}
.zoomed footer {
  visibility: hidden;
}
.regenerating .scene {
  cursor: default;
}
.scene {
  touch-action: pan-y;
}
.bubble-touch {
  touch-action: none;
}
.globe-tools input {
  width: 95px;
}
.focused .page {
  backface-visibility: hidden;
}
@media (max-width: 700px) {
  .statement-space {
    height: 48px;
  }
  .overview-message h1 {
    font-size: clamp(1.35rem, 4.6vw, 1.9rem);
  }
  .zoomed .statement-space {
    top: 104px;
  }
  .zoomed .globe-tools {
    gap: 12px;
    padding: 8px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #thesis {
    transform: none;
    transition: opacity 0.3s;
  }
  .page {
    animation: none !important;
  }
}
.paused .page {
  animation: none !important;
}

/* The reading plane clears while the liquid is suspended. */
.scene-copy {
  transition: opacity 0.18s ease;
}
.regenerating .scene-copy {
  opacity: 0;
  pointer-events: none;
}
.regenerating .page {
  pointer-events: none;
}
.scene.dragging {
  cursor: grabbing;
}

/* One continuous spatial canvas, including the header and footer. */
html.enhanced,
.enhanced body {
  height: 100%;
  overflow: hidden;
  background: transparent;
}
.enhanced .scene,
.zoomed .scene {
  position: fixed;
  inset: 0;
  height: 100dvh !important;
  width: 100%;
  z-index: 0;
  background: transparent;
}
.enhanced header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: transparent;
  max-width: none;
  padding: 26px 40px;
  pointer-events: none;
}
.enhanced header a,
.enhanced header nav {
  pointer-events: auto;
}
header .logo {
  font:
    500 27px/1.1 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -1.2px;
  color: #4e4642;
  text-decoration: none;
}
header nav {
  padding: 4px;
  background: #ffffff38;
  box-shadow: inset 0 1px 0 #ffffff7a;
  backdrop-filter: blur(14px);
}
header nav a {
  padding: 9px 16px;
  letter-spacing: 0.1px;
  font-size: 11px;
}
nav a[aria-current="page"] {
  background: #ffffff80;
}
.enhanced .statement-space,
.zoomed .statement-space {
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 10;
}
#thesis {
  font-size: 20px;
  letter-spacing: -0.3px;
}
.enhanced .globe-tools,
.zoomed .globe-tools {
  position: fixed;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 96%;
  z-index: 20;
  padding: 5px 15px;
  gap: 14px;
  border-radius: 30px;
  background: #f8f5ef80;
  backdrop-filter: blur(12px);
}
.globe-tools button {
  font-size: 10px;
}
.globe-tools input {
  width: 66px;
}
.enhanced footer,
.zoomed footer {
  position: fixed;
  inset: auto 0 0;
  padding: 16px 28px;
  margin: 0;
  z-index: 20;
  visibility: visible;
  pointer-events: none;
}
footer a {
  pointer-events: auto;
}
.scene-copy,
.overview-message {
  transform-style: preserve-3d;
}
.overview-message h1,
.page h2 {
  text-shadow:
    0 1px 0 #fff,
    0 2px 0 #cbbfb8,
    0 3px 0 #b8aaa1,
    0 6px 8px #806b6333,
    0 0 22px #fff,
    0 0 40px #fff9e5;
  color: #76685f;
}
.overview-message h1 {
  line-height: 1.15;
  letter-spacing: -1.1px;
}
.page h2 {
  line-height: 1.15;
}
.page p,
.page li {
  line-height: 1.6;
}
.page .eyebrow {
  letter-spacing: 1.6px;
}
#pop-bubble {
  color: #665349;
  border-bottom: 1px solid #a8948555;
}
#motion[aria-pressed="true"] {
  color: #665349;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 700px) {
  .enhanced header {
    padding: 20px 22px;
    gap: 12px;
  }
  .enhanced header nav {
    margin: 0;
  }
  .enhanced header nav a {
    padding: 8px 10px;
    font-size: 10px;
  }
  header .logo {
    font-size: 25px;
  }
  .enhanced .statement-space {
    top: 74px;
  }
  #thesis {
    font-size: 18px;
  }
  .page h2 {
    font-size: clamp(23px, 4.7vw, 32px);
  }
  .page p,
  .page li {
    font-size: 13px;
  }
  .enhanced .globe-tools {
    gap: 10px;
    padding: 3px 10px;
    bottom: 44px;
  }
  .globe-tools label {
    display: none;
  }
  .globe-tools input {
    width: 52px;
  }
  .enhanced footer {
    padding: 14px 20px;
  }
  .overview-message h1 {
    font-size: clamp(23px, 4.5vw, 32px);
  }
}
@media (max-height: 570px) {
  .enhanced .statement-space {
    top: 60px;
  }
  .page h2 {
    font-size: 23px;
    margin-bottom: 10px;
  }
  .page p,
  .page li {
    font-size: 12px;
    line-height: 1.4;
  }
  .page .eyebrow {
    margin-bottom: 8px;
  }
  .enhanced .globe-tools {
    bottom: 35px;
  }
}

/* Viewport ownership: the room starts at the browser content's top edge. */
html.enhanced body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
}
html.enhanced #main {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
html.enhanced .scene {
  inset: 0 !important;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  max-width: none !important;
  max-height: none;
  width: 100vw !important;
  height: 100dvh !important;
}
html.enhanced #bubble {
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}
html.enhanced header,
html.enhanced .statement-space,
html.enhanced footer {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

/* Explicit centre anchoring avoids fragment navigation shifting the reading layer. */
html.enhanced .scene {
  overflow: clip !important;
}
html.enhanced .scene-copy {
  position: absolute !important;
  inset: auto !important;
  left: 50% !important;
  top: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%);
  width: var(--copy-size) !important;
  height: var(--copy-size) !important;
  display: grid;
  place-items: center;
}
html.enhanced .scene-copy .page {
  position: absolute;
  inset: 0 !important;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform-origin: center;
}
.page h2,
.overview-message h1 {
  font-weight: 700 !important;
  letter-spacing: -0.8px;
  color: #60564f;
  text-shadow:
    0 1px 0 #fff,
    0 2px 0 #c3b6ad,
    0 3px 0 #b6a69b,
    0 5px 7px #78635735,
    0 0 16px #fff,
    0 0 32px #fffbe8;
}
.page h2 em,
.overview-message h1 em {
  font-weight: 700;
  color: #817269;
}
.page h2 {
  font-size: clamp(23px, 3.8vw, 40px) !important;
  margin-bottom: 18px;
  line-height: 1.14;
}
.page p {
  max-width: 100%;
  font-weight: 500;
}
.page ul,
.page ol {
  padding: 0;
  list-style-position: inside;
  text-align: center;
  width: 100%;
}
.page li {
  padding: 6px 0;
}
.page .eyebrow {
  font-size: 9px;
  margin-bottom: 15px;
  line-height: 1.5;
}
html.enhanced .statement-space {
  top: var(--thesis-top, 100px) !important;
  height: 36px;
  transform: translateX(var(--thesis-x, 0px));
  padding: 0 20px;
}
#thesis {
  font-weight: 700;
  line-height: 1.25;
  color: #78665b;
  text-shadow:
    0 1px 0 #fff,
    0 2px 0 #c5b6a9,
    0 3px 1px #ae9b8d55,
    0 6px 9px #78635720,
    0 0 18px #fff,
    0 0 30px #fff4d5;
}
#thesis.visible {
  animation: thesis-float 5s ease-in-out infinite;
}
@keyframes thesis-float {
  0%,
  100% {
    transform: translateY(0) rotateX(2deg);
  }
  50% {
    transform: translateY(-7px) rotateX(-2deg);
  }
}
.paused #thesis.visible {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  #thesis.visible {
    animation: none;
  }
}
@media (max-width: 700px) {
  .page h2 {
    font-size: clamp(22px, 5vw, 30px) !important;
  }
  .page p,
  .page li {
    font-size: 13px;
    line-height: 1.5;
  }
  .page h2 {
    margin-bottom: 14px;
  }
  #thesis {
    font-size: 17px;
  }
}

/* Business typography: compact, restrained depth, generous space inside the film. */
header .logo {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 650 !important;
  letter-spacing: -0.9px;
  font-size: 26px !important;
}
.page h2,
.overview-message h1,
#thesis {
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.45px !important;
  text-shadow:
    0 1px 0 #fff,
    0 2px 2px #9b857327,
    0 0 16px #ffffffcf !important;
}
.overview-message h1 {
  font-size: clamp(18px, 3vw, 25px) !important;
  line-height: 1.35 !important;
  max-width: 65%;
  margin: 0 !important;
  text-align: center;
}
.page h2 {
  font-size: clamp(20px, 3.2vw, 29px) !important;
  line-height: 1.2 !important;
}
.page h2 em,
.overview-message h1 em {
  font: inherit !important;
  color: #81746b;
}
#thesis {
  font-size: clamp(15px, 2.5vw, 19px) !important;
}
.pin {
  border: 0;
  background: #fff5;
  box-shadow:
    0 0 18px #fff8dc77,
    inset 0 0 12px #ffffff88;
  padding: 7px 10px;
  font-size: 10px;
}
.pin i {
  width: 7px;
  height: 7px;
  box-shadow:
    0 0 5px 2px #fff,
    0 0 15px 6px #fff4c480,
    0 0 23px 8px #dccbed55;
}
.pin:hover i {
  box-shadow:
    0 0 6px 3px #fff,
    0 0 24px 10px #fff4c499;
}
.pin::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid #fff8;
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.3s;
}
.pin:hover::after {
  opacity: 1;
}
.scene-copy .page.active {
  animation: section-arrive 0.95s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
.page.active > * {
  animation: copy-arrive 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page.active > :nth-child(2) {
  animation-delay: 0.12s;
}
.page.active > :nth-child(3) {
  animation-delay: 0.24s;
}
.page.active > :nth-child(4) {
  animation-delay: 0.32s;
}
@keyframes section-arrive {
  from {
    opacity: 0;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes copy-arrive {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, -20px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
.globe-tools {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    translate 0.3s;
  translate: 0 6px;
}
.show-help .globe-tools,
.globe-tools:focus-within {
  opacity: 1;
  pointer-events: auto;
  translate: 0 0;
}
.motion-help {
  position: fixed;
  right: 24px;
  bottom: 42px;
  z-index: 22;
  font-size: 10px;
  border: 0;
  background: transparent;
  color: #8a7a70;
  padding: 8px;
  cursor: pointer;
}
.paused .page.active,
.paused .page.active > * {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .page.active,
  .page.active > * {
    animation: none !important;
  }
}

.pin[data-pin="4"] {
  pointer-events: auto;
  z-index: 4;
}
#service-example {
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  border: 1px solid #fff;
  border-radius: 24px;
  padding: 30px;
  color: #514a48;
  background: #faf8f5;
  box-shadow: 0 30px 100px #30243540;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
#service-example::backdrop {
  background: #37313950;
  backdrop-filter: blur(16px);
}
.example-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #847780;
  margin-bottom: 24px;
}
.example-top button {
  background: none;
  border: 0;
  padding: 10px;
  font-size: 12px;
  letter-spacing: 0;
}
#example-title {
  font:
    600 clamp(24px, 3.4vw, 36px)/1.15 "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
#service-example .example-caption {
  font-size: 13px;
  line-height: 1.7;
  max-width: 720px;
  color: #81767a;
}
.example-steps {
  display: flex;
  gap: 8px;
  margin: 24px 0 18px;
  flex-wrap: wrap;
}
.example-steps button {
  border: 1px solid #e7e0e7;
  background: transparent;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 12px;
}
.example-steps button[aria-pressed="true"] {
  background: #ece6f2;
  color: #69567e;
  border-color: #d6c9e5;
}
.example-workspace {
  display: grid;
  grid-template-columns: 210px 1fr;
  border: 1px solid #e9e3e5;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.example-customer {
  padding: 24px;
  background: #f5f1f7;
  border-right: 1px solid #e9e3e5;
}
.example-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #94839b;
  display: block;
  margin-bottom: 14px;
}
.example-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e7dced;
  color: #8c7099;
  font-size: 13px;
  margin-bottom: 12px;
}
#service-example h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 12px;
}
#service-example p {
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.example-tag {
  display: inline-block;
  font-size: 10px;
  line-height: 1.5;
  background: #f2eaf3;
  border-radius: 10px;
  padding: 6px 9px;
  color: #8a6d92;
  margin-bottom: 14px;
}
.example-customer hr {
  border: 0;
  border-top: 1px solid #e4dce7;
  margin: 20px 0;
}
.example-story {
  padding: 32px;
  display: flex;
  align-items: center;
  min-height: 330px;
}
.example-story section {
  width: 100%;
  animation: example-in 0.45s ease-out;
}
.example-story section[hidden] {
  display: none;
}
.example-story blockquote {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  margin: 0 0 24px;
  color: #66546e;
}
.example-story dl {
  margin: 18px 0;
}
.example-story dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #eee9ee;
  font-size: 13px;
}
.example-story dt {
  color: #94839b;
}
.example-story dd {
  margin: 0;
}
.example-footnote {
  margin: 18px 0 0 !important;
  color: #94878d;
  font-size: 11px !important;
  text-align: center;
}
@keyframes example-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 650px) {
  #service-example {
    padding: 22px;
  }
  .example-workspace {
    grid-template-columns: 1fr;
  }
  .example-customer {
    display: none;
  }
  .example-story {
    padding: 22px;
    min-height: 320px;
  }
  .example-steps {
    gap: 6px;
  }
  .example-steps button {
    padding: 9px 11px;
    font-size: 11px;
  }
  .example-story dl div {
    grid-template-columns: 100px 1fr;
  }
  .enhanced header {
    flex-wrap: wrap;
  }
  .enhanced header nav {
    max-width: calc(100vw - 32px);
    flex-wrap: wrap;
  }
  .enhanced header nav a {
    padding: 7px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .example-story section {
    animation: none;
  }
}

/* Crisp business copy without washed-out illumination. */
html.enhanced .page h2,
html.enhanced .overview-message h1 {
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 700 !important;
  color: #403b38 !important;
  text-shadow:
    0 1px 0 #fff,
    0 2px 2px #786b6220 !important;
}
html.enhanced .page h2 em {
  color: #57504b !important;
  font-weight: 700 !important;
}
html.enhanced .page p,
html.enhanced .page li {
  color: #49423e;
  font-weight: 600;
  text-shadow: 0 1px 1px #fff9;
  line-height: 1.65;
}

/* Renderer initialization must not leave pixel-sized inline canvas CSS. */
html.enhanced #bubble {
  width: 100% !important;
  height: 100% !important;
  inset: 0 !important;
}
#service-example {
  width: calc(100vw - 32px);
  max-width: 1500px;
  padding: 22px;
}
.figma-live {
  width: 100%;
  height: min(68dvh, 850px);
  min-height: 320px;
  border: 1px solid #e6dfe5;
  border-radius: 14px;
  background: #fff;
  display: block;
}
.module-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px 0 0;
}
.module-notes p {
  font-size: 12px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.module-notes strong {
  display: block;
  color: #695573;
  margin-bottom: 6px;
}
.module-notes strong::before {
  content: "↑ ";
  color: #ac90ba;
}
.figma-direct {
  font-size: 12px;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .module-notes {
    grid-template-columns: 1fr 1fr;
  }
  .figma-live {
    height: 60dvh;
  }
  #service-example {
    padding: 16px;
  }
}
