/* style */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ba653e;
  outline-offset: 5px;
}
button {
  color: inherit;
}
#room {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 4.3vw;
}
#brand {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}
#brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 6px;
  font-weight: 500;
}
.mark {
  font-family: Georgia, serif;
  font-size: 37px;
  font-style: italic;
  letter-spacing: -5px;
  width: 43px;
}
.pill {
  border: 1px solid #bcbbaa;
  border-radius: 30px;
  padding: 12px 21px;
  font-size: 14px;
}
.pill span {
  margin-left: 18px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
}
h1 {
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1.32;
  margin: 23px 0;
}
.primary {
  border: 0;
  border-radius: 5px;
  padding: 17px 22px;
  background: #465741;
  color: #fff8ec;
  margin-top: 20px;
  font-size: 14px;
}
.primary span {
  margin-left: 26px;
}
.hint {
  font-size: 12px;
  margin-top: 22px;
  color: #939485;
}
.hint > span {
  font-size: 21px;
  margin-right: 8px;
}
.room-nav {
  position: fixed;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  padding: 6px;
  border: 1px solid #ded7c8;
  border-radius: 40px;
  white-space: nowrap;
}
.room-nav button {
  border: 0;
  background: none;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 14px;
}
.room-nav button:hover {
  background: #e8e9db;
}
.room-nav span {
  margin-right: 7px;
}
footer {
  position: fixed;
  bottom: 24px;
  left: 4.3vw;
  right: 4.3vw;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  z-index: 2;
}
#loading {
  position: fixed;
  left: 60%;
  top: 50%;
  font-size: 14px;
}
#tooltip {
  position: fixed;
  display: none;
  z-index: 3;
  padding: 9px 15px;
  border-radius: 7px;
  font-size: 13px;
  pointer-events: none;
}
dialog {
  width: min(1120px, 92vw);
  height: min(780px, 88dvh);
  padding: 0;
  border: 1px solid #e5ddce;
  border-radius: 15px;
  color: #343b30;
  background: #fcf9f2;
  box-shadow: 0 35px 130px #282c2840;
}
dialog::backdrop {
  background: #353e3466;
  backdrop-filter: blur(7px);
}
.windowbar {
  height: 57px;
  padding: 0 22px;
  border-bottom: 1px solid #e8e3d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1eee5;
}
.window-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.tiny-mark {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 24px;
}
.close {
  border: 0;
  background: #e7dfd3;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 20px;
}
.desktop-body {
  display: flex;
  height: calc(100% - 57px);
}
aside {
  width: 190px;
  flex-shrink: 0;
  padding: 30px 14px;
  border-right: 1px solid #e8e3d9;
  position: relative;
}
.sidebar-title {
  font-size: 10px;
  letter-spacing: 2px;
  color: #929589;
  padding-left: 13px;
}
aside button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 12px 10px;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 14px;
}
aside button.active {
  background: #e6eadf;
  color: #43523d;
}
aside button span {
  float: right;
  color: #8e9784;
  font-size: 12px;
}
.side-note {
  position: absolute;
  bottom: 30px;
  left: 27px;
  line-height: 1.9;
  font-size: 12px;
  color: #999b8d;
}
#content {
  padding: 38px;
  overflow-y: auto;
  width: 100%;
}
h2 {
  font-weight: 500;
  font-size: 27px;
  line-height: 1.55;
  letter-spacing: -0.8px;
  margin: 12px 0 7px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.badge {
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #d9ddce;
  border-radius: 20px;
  color: #7c846f;
  white-space: nowrap;
}
.muted {
  font-size: 14px;
  color: #939587;
  line-height: 1.7;
  margin-bottom: 28px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px;
}
.project {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.project-art {
  height: 235px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s;
}
.sage {
  background: #dbe2cc;
}
.clay {
  background: #dbb79f;
}
.cream {
  background: #eae2cd;
}
.project-meta > span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #9a998a;
  display: block;
  margin-top: 17px;
}
h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 8px 0;
}
.project-meta h3 span {
  float: right;
}
.project-meta p {
  font-size: 12px;
  color: #8d9182;
  margin-top: 8px;
}
.lead {
  font-size: 22px;
  line-height: 1.9;
  color: #727c67;
}
.about-note {
  margin: 35px 0;
  padding: 25px;
  background: #f0efe4;
  border-radius: 9px;
}
.about-note p {
  font-size: 16px;
  line-height: 1.9;
  color: #7b806f;
}
.back {
  background: none;
  border: 0;
  padding: 0;
  color: #7a826c;
  font-size: 14px;
  margin-bottom: 25px;
}
.case-step {
  padding: 22px 0;
  border-bottom: 1px solid #e1e2d5;
}
.case-step span {
  font-size: 12px;
  color: #9a9f8e;
  letter-spacing: 2px;
}
.case-step p {
  font-size: 16px;
  line-height: 1.9;
  color: #777f6c;
}
.case-top {
  margin: 0 0 22px;
}
.case-top .badge {
  margin-bottom: 15px;
}
@media (min-width: 1500px) {
}
@media (max-width: 760px) {
  header {
    padding: 23px 22px;
  }
  #brand {
    font-size: 14px;
  }
  #brand small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .pill {
    font-size: 12px;
    padding: 10px 12px;
  }
  .pill span {
    margin-left: 6px;
  }
  h1 {
    margin: 14px 0;
  }
  .hint {
    display: none;
  }
  .room-nav button {
    font-size: 13px;
    padding: 11px 14px;
  }
  footer {
    bottom: 16px;
    font-size: 10px;
  }
  footer > span:first-child {
    display: none;
  }
  footer > span:last-child {
    margin: auto;
  }
  dialog {
    width: 95vw;
    height: 90dvh;
    border-radius: 10px;
  }
  .desktop-body {
    display: block;
    overflow: auto;
  }
  aside {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fcf9f2;
    width: 100%;
    padding: 8px 14px;
    display: flex;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid #e8e3d9;
  }
  aside button {
    width: auto;
    margin: 0;
    font-size: 13px;
  }
  .sidebar-title,
  .side-note,
  aside button span {
    display: none;
  }
  #content {
    padding: 25px 20px;
    overflow: visible;
  }
  .section-heading {
    display: block;
  }
  h2 {
    font-size: 23px;
  }
  .section-heading .badge {
    margin-top: 7px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-art {
    height: 250px;
  }
  .lead {
    font-size: 19px;
  }
  #loading {
    left: auto;
    right: 15%;
    top: 60%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* spatial */
#world-pages {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.world-page {
  position: absolute;
  opacity: 0;
  pointer-events: none !important;
  overflow: hidden;
  transition: opacity 0.3s;
  backface-visibility: hidden;
  outline: none;
}
.world-page.is-visible {
  opacity: 1;
  pointer-events: auto !important;
}
.moving .world-page {
  pointer-events: none !important;
}
body[data-mode="work"] footer,
body[data-mode="about"] footer {
  opacity: 0;
}
.room-nav {
  z-index: 5;
}
header {
  z-index: 5;
}
body[data-mode="work"] header,
body[data-mode="about"] header {
  pointer-events: none;
}
body[data-mode="work"] #brand,
body[data-mode="about"] #brand {
  pointer-events: auto;
}
#desktop {
  background: #fcf9f2;
  color: #343b30;
  border-radius: 0;
  border: 0;
  margin: 0;
  padding: 0;
  max-width: none;
  max-height: none;
  font-size: 18px;
}
#desktop .windowbar {
  height: 54px;
  padding: 0 22px;
}
#desktop .window-title {
  font-size: 17px;
}
#desktop .window-title::after {
  content: "rainatwu · portfolio";
  font-size: 14px;
  margin-left: 60px;
  padding: 7px 30px;
}
#desktop .desktop-body {
  height: calc(100% - 54px);
}
#desktop aside {
  width: 180px;
  flex-shrink: 0;
  display: block;
  position: relative;
  padding: 30px 14px;
  border-right: 1px solid #e8e3d9;
  border-bottom: 0;
  background: #f6f4ec;
}
#desktop aside button {
  font-size: 17px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 8px;
}
#desktop .sidebar-title {
  display: block;
  font-size: 12px;
}
#desktop .side-note {
  display: block;
  font-size: 14px;
}
#desktop #content {
  overflow: auto;
  min-width: 0;
}
#desktop h2 {
  font-size: 29px;
}
#desktop .eyebrow {
  font-size: 14px;
}
#desktop .muted {
  font-size: 17px;
}
#desktop .project-grid {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
#desktop .project-art {
  height: 215px;
}
#desktop .project-meta > span {
  font-size: 12px;
}
#desktop .project-meta p {
  font-size: 15px;
}
#desktop .project-meta h3 {
  font-size: 19px;
}
#desktop .case-step p {
  font-size: 19px;
}
#desktop .case-step h3 {
  font-size: 22px;
}
#desktop .back {
  font-size: 18px;
}
#desktop .badge {
  font-size: 14px;
}
#about-board {
  background: #b2956c;
  background-image: radial-gradient(#705c3b24 0.8px, transparent 0.8px);
  background-size: 5px 5px;
  color: #3f4435;
  padding: 28px 35px 22px;
  overflow: auto;
}
.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff5df;
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 2px;
}
.board-heading > span:last-child {
  font-family: Georgia, serif;
  letter-spacing: 0;
  font-style: italic;
  font-size: 24px;
}
.pinboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1fr;
  grid-template-rows: 290px 260px;
  gap: 24px;
}
.pinned {
  margin: 0;
  position: relative;
  padding: 25px;
  background: #faf2dc;
  box-shadow: 3px 7px 13px #51351533;
}
.pin {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a04f3b;
  box-shadow: 1px 2px 3px #0004;
}
.profile-note {
  grid-column: span 2;
  transform: rotate(-1.2deg);
  padding: 25px 32px;
}
.note-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #8b8269;
}
.profile-note h2 {
  font-family: Georgia, serif;
  font-size: 39px;
  margin: 5px 0;
}
.profile-note h2 span {
  font-family: serif;
  font-size: 32px;
  margin-left: 20px;
  color: #b7794d;
}
.profile-role {
  font-size: 17px;
  font-weight: 500;
  margin: 7px 0 !important;
}
.pinned p {
  font-size: 17px;
  line-height: 1.65;
  margin: 10px 0;
}
.journey {
  display: flex;
  gap: 30px;
  border-top: 1px solid #dbd1b8;
  padding-top: 12px;
  font-size: 14px;
  color: #7a7966;
}
.journey b {
  font-size: 14px;
  font-weight: 400;
}
.cat-photo {
  transform: rotate(2deg);
  padding: 17px 17px 14px;
}
.pinned img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}
.cat-photo img {
  object-position: center 43%;
}
.pinned figcaption {
  font-family: Georgia, serif;
  font-size: 22px;
  margin-top: 9px;
}
.pinned small {
  display: block;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 13px;
  color: #797760;
  margin-top: 3px;
}
.explore-note {
  background: #d6dfc4;
  transform: rotate(1.5deg);
}
.pinned h3 {
  font-size: 24px;
  margin: 13px 0;
}
.pinned a {
  color: #43583f;
  font-size: 15px;
  text-underline-offset: 4px;
}
.outdoor-photo {
  transform: rotate(-3deg);
  padding: 15px;
}
.outdoor-photo img {
  height: 166px;
  object-position: center 38%;
}
.outdoor-photo figcaption {
  font-size: 20px;
}
.outdoor-photo small {
  font-size: 12px;
}
.hobby-note {
  transform: rotate(1deg);
  background: #eee2be;
}
.hobby-note h3 {
  font-size: 22px;
}
.hobby-note p {
  font-size: 16px;
}
.board-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  color: #fff5df;
  font-size: 14px;
}
.board-footer a {
  color: inherit;
  font-size: 14px;
}
.flat-view .world-page.is-visible {
  position: fixed !important;
  transform: none !important;
  inset: 12vh 4vw !important;
  width: 92vw !important;
  height: 73vh !important;
  z-index: 4;
  overflow: auto;
}
@media (max-width: 760px) {
  #desktop .window-title {
    font-size: 19px;
  }
  #desktop .window-title::after {
    display: none;
  }
  #desktop .windowbar {
    height: 48px;
  }
  #desktop .desktop-body {
    height: calc(100% - 48px);
  }
  #desktop aside {
    display: none;
  }
  #desktop h2 {
    font-size: 25px;
    margin: 7px 0;
  }
  #desktop .section-heading {
    display: flex;
  }
  #desktop .section-heading .badge {
    display: none;
  }
  #desktop .muted {
    font-size: 19px;
    margin-bottom: 18px;
  }
  #desktop .project-art {
    height: 170px;
  }
  #desktop .project-meta h3 {
    font-size: 23px;
  }
  #desktop .project-meta p {
    font-size: 18px;
  }
  #desktop .eyebrow {
    font-size: 16px;
  }
  #desktop .close {
    width: 35px;
    height: 35px;
  }
  #about-board {
    padding: 19px 24px;
  }
  .board-heading {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .board-heading > span:last-child {
    font-size: 20px;
  }
  .pinboard-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 19px;
  }
  .profile-note {
    grid-column: span 2;
    padding: 20px 25px;
  }
  .profile-note h2 {
    font-size: 37px;
  }
  .pinned p {
    font-size: 20px;
  }
  .profile-role {
    font-size: 20px;
  }
  .journey,
  .journey b {
    font-size: 17px;
  }
  .cat-photo {
    grid-row: span 1;
  }
  .cat-photo img {
    height: 190px;
  }
  .explore-note {
    padding: 20px;
  }
  .explore-note p {
    font-size: 19px;
  }
  .explore-note h3 {
    font-size: 25px;
  }
  .pinned a {
    font-size: 19px;
  }
  .hobby-note p {
    font-size: 19px;
  }
  .outdoor-photo img {
    height: 230px;
  }
  .pinned small {
    font-size: 17px;
  }
  .board-footer {
    display: block;
    font-size: 17px;
    line-height: 1.7;
  }
  .board-footer a {
    font-size: 18px;
  }
  .room-nav {
    bottom: 25px;
  }
}
/* Flatten the settled HTML plane for reliable browser hit testing. */
#world-pages.ui-settled > div,
#world-pages.ui-settled > div > div {
  transform: none !important;
  perspective: none !important;
}
#world-pages.ui-settled .world-page.is-visible {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  transform: translate(var(--panel-x), var(--panel-y)) scale(var(--panel-scale)) !important;
  backface-visibility: visible;
}
/* night */
:root {
  color: #e7edf6;
  background: #18120f;
}
header {
  color: #e7edf6;
}
.pill {
  background: #34261fc9;
  color: #efdbc7;
  border-color: #7e5a40;
}
.eyebrow {
  color: #dca06d;
}
h1 {
  font-weight: 500;
  letter-spacing: -2.8px;
}
h1 > span {
  color: #ef9a72;
}
.room-nav button:hover,
.room-nav button:focus-visible {
  background: #503626;
  color: #ffe4b9;
}
footer {
  color: #647991;
}
#loading {
  color: #edbd8c;
}
#tooltip {
  background: #453023;
  color: #ffe5bf;
  border: 1px solid #ad744a;
}
#desktop {
  box-shadow: 0 0 45px #edaa602a;
}
#about-board {
  background-color: #947657;
}
.board-heading,
.board-footer {
  color: #fff3dd;
}
@media (max-width: 760px) {
  h1 {
    font-size: 38px;
  }
}
body[data-mode="work"] #brand,
body[data-mode="about"] #brand {
  background: #2d211bed;
  padding: 10px 15px;
  border: 1px solid #78553c;
  border-radius: 10px;
}
#desktop .eyebrow {
  color: #a85a35;
}
#room {
  cursor: grab;
}
#room:focus-visible {
  outline: 2px solid #eaa25e;
  outline-offset: -4px;
}
@media (max-width: 760px) {
}
footer > span:first-child {
  font-size: 11px;
  color: #e2c8af;
}
header {
  pointer-events: none;
}
header a,
header button {
  pointer-events: auto;
}
#little-things {
  position: fixed;
  z-index: 6;
  left: 24px;
  bottom: 70px;
  width: 250px;
  border-radius: 16px;
  padding: 14px;
  font-size: 12px;
}
#little-things summary {
  cursor: pointer;
  letter-spacing: 1px;
}
#little-things .little-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
#little-things button {
  border-radius: 16px;
  padding: 8px 10px;
  font-size: 12px;
}
#little-things p {
  line-height: 1.6;
  margin-bottom: 0;
}
body[data-mode="work"] #little-things,
body[data-mode="about"] #little-things {
  display: none;
}
@media (max-width: 760px) {
  #little-things {
    left: 12px;
    bottom: 115px;
    width: 210px;
  }
}
#little-things small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 12px;
}
/* Keep the studio identity readable against warm white walls. */
#brand {
  padding: 10px 15px;
  border-radius: 10px;
}
/* brand */
@font-face {
  font-family: "P22 Mackinac";
  src: url("./fonts/P22MackinacPro-Book_25.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "P22 Mackinac";
  src: url("./fonts/P22MackinacPro-Medium_26.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "P22 Mackinac";
  src: url("./fonts/P22MackinacPro-MedItalic_18.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "P22 Mackinac";
  src: url("./fonts/P22MackinacPro-ExtraBold_12.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "P22 Mackinac";
  src: url("./fonts/P22MackinacPro-ExBoldItalic_17.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
#desktop,
#preview {
  background: var(--page);
  color: var(--ink);
}
#desktop h2,
#desktop h3,
#preview h2,
#preview h3,
#about-board h2,
#about-board h3,
.board-heading > span:last-child,
.pinned figcaption {
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}
#desktop h2,
#preview h2,
#about-board h2 {
  color: var(--accent);
}
#desktop .eyebrow,
#preview .eyebrow,
#desktop .back,
#desktop .project-meta > span,
#about-board .note-label,
#about-board a {
  color: var(--accent);
}
#desktop .case-step p,
#preview .case-step p {
  color: var(--ink);
}
#desktop button:focus-visible,
#about-board a:focus-visible {
  outline-color: var(--accent);
}
#projects button.active {
  background: var(--accent);
  border-color: var(--accent);
}
#desktop .project-art.sage,
#desktop .project-art.clay,
#desktop .project-art.cream {
  background: #eedbd0;
  color: var(--accent);
}
#desktop .badge {
  color: var(--accent);
  background: #66544710;
}
/* An unframed, interactive vignette on warm drawing paper. */
#brand {
  background: transparent !important;
  border: 0 !important;
}
#studio-caption {
  position: fixed;
  bottom: 14%;
  left: 0;
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}
#studio-caption h1 {
  font:
    500 clamp(21px, 2.2vw, 32px) "P22 Mackinac",
    Georgia,
    serif;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
#studio-caption p {
  font:
    12px Georgia,
    serif;
  letter-spacing: 0.12em;
}
body[data-mode="work"] #studio-caption,
body[data-mode="about"] #studio-caption {
  display: none;
}
.room-nav {
  background: #f6f0e6eb !important;
  border-color: #d8ccba !important;
  color: #131417 !important;
  box-shadow: none !important;
}
footer,
footer > span:first-child {
  color: #6c6d70 !important;
}
@media (max-width: 760px) {
  #studio-caption {
    bottom: 19%;
  }
  #brand {
    padding: 0 !important;
  }
  #studio-caption p {
    font-size: 10px;
  }
}
/* Static seamless fibers sit behind the transparent 3D canvas. */
/* Visible paper tooth without covering the interactive scene. */
/* A fixed paper-tooth wash on the 3D scene; HTML reading surfaces stay crisp. */
#room {
  filter: url("#studio-watercolor");
}
#clear-monitor {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: none;
}
body[data-mode="work"] #clear-monitor,
body[data-mode="about"] #clear-monitor {
  visibility: hidden;
}
/* Soft paper halo keeps the caption legible over furniture while zooming. */
#studio-caption {
  isolation: isolate;
  color: #131417;
}
#studio-caption::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 96vw);
  height: 145px;
  background: radial-gradient(
    ellipse,
    #fdfbf74d 0%,
    #fdfbf733 42%,
    #fdfbf714 62%,
    #fdfbf700 76%
  );
  pointer-events: none;
}
#studio-caption p {
  color: #131417;
  text-shadow: 0 1px 2px #fdfbf7;
}
#studio-caption h1 {
  text-shadow: 0 1px 2px #fdfbf7;
}
/* About page shares the portfolio's type, spacing and warm palette. */
.about-page .case-step {
  margin-top: 40px;
}
.about-page h4 {
  font-family: inherit;
  font-size: 17px;
  margin: 0 0 10px;
}
.about-principles {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.about-principles > div {
  border-top: 1px solid #ded5cd;
  padding-top: 18px;
}
.about-life {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.about-life figure {
  margin: 0;
}
.about-life img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 12px;
}
.about-life figcaption {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
  color: var(--ink);
}
@media (max-width: 600px) {
  .about-life {
    grid-template-columns: 1fr;
  }
  .about-life img {
    height: 240px;
  }
}
/* Flat About pinboard, sharing content with the room board. */
#content .flat-facts {
  margin-top: 24px;
  border-radius: 12px;
}
#content .flat-facts .pinboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0;
  height: auto;
  min-height: 0;
  align-items: start;
}
#content .flat-facts .pinned {
  position: relative;
  inset: auto;
  grid-area: auto;
  transform: none;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 22px;
  background: #fffdf8;
  box-shadow: 0 2px 6px #503b2410;
  border: 1px solid #e2d9cc;
  border-radius: 2px;
  overflow: visible;
}
#content .flat-facts .profile-note {
  grid-column: 1/-1;
  background: #f4dfbd;
}
#content .flat-facts .pin {
  display: none;
}
#content .flat-facts .note-label {
  font-size: 10px;
  letter-spacing: 0.14em;
}
#content .flat-facts h2,
#content .flat-facts h3 {
  font-size: 25px;
  line-height: 1.25;
  margin: 12px 0;
}
#content .flat-facts p,
#content .flat-facts .profile-role {
  font-size: 15px;
  line-height: 1.65;
  margin: 10px 0;
  color: var(--ink);
}
#content .flat-facts figure.pinned {
  padding: 10px 10px 18px;
}
#content .flat-facts img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 0;
}
#content .flat-facts figcaption {
  padding: 14px 6px 0;
  font-size: 18px;
  line-height: 1.4;
}
#content .flat-facts figcaption small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 6px;
}
#content .flat-facts .explore-note {
  background: #f0e5d8;
}
@media (max-width: 600px) {
  #content .flat-facts .pinboard-grid {
    grid-template-columns: 1fr;
  }
  #content .flat-facts {
    padding: 14px;
  }
  #content .flat-facts img {
    height: 210px;
  }
}
#desktop aside button[data-view] {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 16px;
  letter-spacing: 0;
}
#desktop aside .nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
body[data-mode="work"] #brand {
  color: #fff8ee !important;
  text-shadow: 0 1px 4px #241b15a0;
}
body[data-mode="work"] #brand small {
  color: #e7d9c7 !important;
}
body[data-mode="work"] #brand .mark {
  color: #f5c7a4 !important;
}
/* Neutral typography and the protected case-study entry. */
.case-access {
  max-width: 480px;
  padding: 30px 0 50px;
}
.case-access form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.case-access label {
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: var(--ink);
}
.case-access input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbbfb3;
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
}
.case-access button {
  justify-self: start;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fffdf8;
  font: inherit;
  cursor: pointer;
}
.case-access button:disabled {
  opacity: 0.6;
}
.case-access input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.access-status {
  min-height: 1.5em;
  font-size: 14px;
  color: var(--accent);
}
/* scroll work */
html:has(body.scroll-journey) {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}
body.scroll-journey {
  height: auto;
  overflow: visible;
  --journey-opacity: 1;
  --journey-transform: none;
}
body.scroll-journey[data-mode="work"],
body.scroll-journey[data-mode="about"] {
  overflow: hidden;
  height: 100dvh;
}
body.scroll-journey > header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
body.scroll-journey #room,
body.scroll-journey #clear-monitor {
  opacity: 1;
  transform: var(--journey-transform);
  transform-origin: 50% 50%;
  will-change: transform;
}
body.scroll-journey #studio-caption,
body.scroll-journey > .room-nav,
body.scroll-journey > footer,
body.scroll-journey > .scroll-cue {
  opacity: var(--journey-opacity);
}
body.journey-away #clear-monitor,
body.journey-away > .room-nav,
body.journey-away > .scroll-cue {
  pointer-events: none;
}
body.journey-away #world-pages {
  visibility: hidden;
}
body.journey-work > header {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scroll-work {
  position: relative;
  z-index: 3;
  margin: 100vh auto 0;
  padding: 110px 6vw 100px;
  width: min(1280px, 100%);
  min-height: 100vh;
  scroll-margin-top: 0;
  color: var(--ink);
}
.scroll-work-content > h2,
.scroll-work h3 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
}
.scroll-work-content > h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.2;
  color: var(--accent);
  max-width: 850px;
  margin: 18px 0 48px;
}
.scroll-work .eyebrow,
.scroll-work .project-meta > span,
.scroll-work .back {
  color: var(--accent);
}
.scroll-work .project-grid {
  gap: 60px 32px;
}
.scroll-work .project-art {
  height: auto;
  aspect-ratio: 1.65;
  border-radius: 12px;
  background: #eee7df;
}
.scroll-work .project-meta h3 {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.35;
}
.scroll-work .project-meta p {
  font-size: 15px;
  line-height: 1.7;
  color: #6c6d70;
}
.scroll-work .project-meta > span {
  font-size: 11px;
}
.scroll-work .case-step p {
  color: var(--ink);
  font-size: 18px;
}
.scroll-work .case-top h2 {
  font-family: "P22 Mackinac", Georgia, serif;
  color: var(--accent);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.3;
}
.scroll-work .case-step h3 {
  font-size: 26px;
}
.scroll-home {
  margin-bottom: 38px;
  font-size: 14px;
}
.scroll-cue {
  position: fixed;
  z-index: 4;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  border: 1px solid #b9a99588;
  border-radius: 30px;
  background: #fdfbf7dc;
  color: #131417;
  padding: 12px 24px;
  font-size: 13px;
  white-space: nowrap;
}
body[data-mode="work"] .scroll-work,
body[data-mode="about"] .scroll-work,
body[data-mode="work"] .scroll-cue,
body[data-mode="about"] .scroll-cue {
  display: none;
}
body.scroll-journey #room {
  touch-action: pan-y !important;
}
@media (max-width: 700px) {
  .scroll-work {
    padding: 100px 24px 70px;
  }
  .scroll-work .project-grid {
    gap: 40px;
  }
  .scroll-work .case-step p {
    font-size: 16px;
  }
  .scroll-cue {
    bottom: 4%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-work .project-art {
    transition: none;
  }
}
body.journey-away .object-bubble {
  visibility: hidden;
  pointer-events: none;
}
.scroll-work .contact-footer {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  margin: 100px 0 0;
  padding: 64px 0 0;
  border-top: 1px solid #d9d0c5;
  z-index: auto;
  opacity: 1 !important;
  color: var(--ink);
  font-size: 16px;
}
.contact-footer h2 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 70px);
  line-height: 1.15;
  color: var(--accent);
  margin: 22px 0;
}
.contact-note {
  max-width: 480px;
  line-height: 1.8;
  color: #6c6d70;
  margin-bottom: 24px;
}
.contact-email {
  display: inline-block;
  font-size: clamp(19px, 2.5vw, 28px);
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid #a79584;
  padding-bottom: 6px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.contact-email:hover {
  color: #131417;
  border-color: #302b28;
}
.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 44px;
}
.contact-links a,
.contact-links button {
  font: inherit;
  font-size: 14px;
  color: var(--accent);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: none;
}
.contact-links a:hover,
.contact-links button:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contact-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 55px;
  padding-top: 24px;
  border-top: 1px solid #e5dfd6;
  font-size: 12px;
  color: #6c6d70;
}
.contact-footer a:focus-visible,
.contact-footer button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
@media (max-width: 700px) {
  .scroll-work .contact-footer {
    margin-top: 64px;
    padding-top: 42px;
  }
  .contact-bottom {
    flex-direction: column;
    line-height: 1.7;
  }
  .contact-links {
    gap: 20px;
  }
}
/* An understated text cue, without a pill background. */
body.scroll-journey > .scroll-cue {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #6c6d70;
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: calc(var(--journey-opacity) * 0.62);
}
body.scroll-journey > .scroll-cue:hover {
  color: #131417;
  opacity: var(--journey-opacity);
}
body.scroll-journey > .scroll-cue:focus-visible {
  outline: 1px solid #81796f;
  outline-offset: 3px;
  opacity: 1;
}
/* Compact site header, preserving the existing horizontal alignment. */
body.scroll-journey > header {
  padding: 16px 4.3vw;
}
body.scroll-journey > header #brand {
  padding: 0 !important;
}
body.scroll-journey > header #brand small {
  margin-top: 4px;
}
@media (max-width: 760px) {
  body.scroll-journey > header {
    padding: 12px 22px;
  }
}
/* Case studies are a reading page, without the studio scroll region. */
body.case-reading .scroll-work {
  margin-top: 0;
}
body.case-reading #room,
body.case-reading #clear-monitor,
body.case-reading #world-pages,
body.case-reading #studio-caption,
body.case-reading > .room-nav,
body.case-reading > .scroll-cue,
body.case-reading #little-things,
body.case-reading .object-bubble,
body.case-reading #tooltip,
body.case-reading > footer,
body.case-reading .scroll-home {
  display: none !important;
}
/* Lead with professional positioning; the neon remains part of the room. */
body.scroll-journey #studio-caption::before {
  display: none;
}
#studio-caption .designer-label {
  display: block;
  font:
    500 11px/1.5 system-ui,
    sans-serif;
  letter-spacing: 0.16em;
  color: #6c6d70;
  margin-bottom: 18px;
}
body.scroll-journey #studio-caption h1 {
  font:
    500 clamp(30px, 3.6vw, 51px)/1.16 "P22 Mackinac",
    Georgia,
    serif;
  letter-spacing: -0.035em;
  text-shadow: none;
}
body.scroll-journey #studio-caption p {
  font:
    400 15px/1.65 system-ui,
    sans-serif;
  letter-spacing: 0;
  text-shadow: none;
}
@media (max-width: 760px) {
  body.scroll-journey #studio-caption {
    top: 90px;
  }
  #studio-caption .designer-label {
    font-size: 9px;
    margin-bottom: 12px;
  }
  body.scroll-journey #studio-caption h1 {
    max-width: 390px;
    margin-bottom: 12px;
  }
}
@media (max-height: 650px) and (min-width: 761px) {
  body.scroll-journey #studio-caption {
    top: 78px;
  }
  #studio-caption .designer-label {
    margin-bottom: 8px;
  }
}
/* Desktop hero: positioning on the left, interactive studio on the right. */
@media (min-width: 761px) {
  body.scroll-journey #studio-caption {
    top: 46%;
    bottom: auto;
    left: 6vw;
    width: 35vw;
    max-width: 540px;
    transform: translateY(-50%);
    text-align: left;
  }
  body.scroll-journey #studio-caption h1 {
    font-size: clamp(32px, 3.5vw, 58px);
    line-height: 1.16;
    max-width: 100%;
    margin: 0 0 22px;
  }
  body.scroll-journey #studio-caption p {
    font-size: clamp(13px, 1.15vw, 16px);
    line-height: 1.7;
    max-width: 430px;
    margin: 0;
  }
  #studio-caption .designer-label {
    margin-bottom: 20px;
    font-size: 10px;
  }
  body.scroll-journey:not([data-mode="work"]):not([data-mode="about"]) #room,
  body.scroll-journey:not([data-mode="work"]):not([data-mode="about"])
    #clear-monitor {
    transform: translateX(var(--room-horizontal-offset, 22vw))
      scale(var(--room-layout-scale, 0.76)) var(--journey-transform);
    transform-origin: 50% 50%;
  }
}
@media (min-width: 761px) {
  body.scroll-journey #studio-caption {
    opacity: calc(var(--journey-opacity) * var(--intro-visibility, 1));
  }
}
/* studio pointer */
.studio-pointer-dot,
.studio-pointer-halo {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none !important;
  z-index: 10000;
  opacity: 0;
  will-change: transform;
}
.studio-pointer-dot.is-visible,
.studio-pointer-halo.is-visible {
  opacity: 1;
}
.studio-pointer-dot::before,
.studio-pointer-halo::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-sizing: border-box;
}
.studio-pointer-dot::before {
  width: 6px;
  height: 6px;
  background: #131417;
  box-shadow: 0 0 0 1px #fff8;
}
.studio-pointer-halo::before {
  width: 28px;
  height: 28px;
  border: 1px solid #13141766;
  background: #ffffff18;
}
.studio-pointer-dot.over-project::before {
  background: #111;
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  html.studio-pointer-on,
  html.studio-pointer-on body,
  html.studio-pointer-on body * {
    cursor: none !important;
  }
  html.studio-pointer-on input,
  html.studio-pointer-on textarea,
  html.studio-pointer-on [contenteditable]:not([contenteditable="false"]),
  html.studio-pointer-on [role="textbox"] {
    cursor: text !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio-pointer-dot::before,
  .studio-pointer-halo::before {
    transition: none;
  }
}
@media (hover: none), (pointer: coarse) {
  .studio-pointer-dot,
  .studio-pointer-halo {
    display: none;
  }
}
/* Base geometry for in-room popovers; shared glass colors are defined below. */
body #tooltip,
body .object-bubble {
  background: rgba(255, 253, 248, 0.58);
  color: #131417;
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 18px rgba(48, 39, 30, 0.08);
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}
body #tooltip {
  padding: 9px 15px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
body .object-bubble::after {
  border-right: 1px solid rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
}
body #little-things small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Neutral follower with an Open label on project cards. */
.studio-pointer-halo::after {
  content: "Open";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
}
.studio-pointer-halo.over-project::before {
  border-color: rgba(255, 255, 255, 0.8);
}
.studio-pointer-dot.over-project::before {
  width: 0;
  height: 0;
}
@media (prefers-reduced-motion: reduce) {
  .studio-pointer-halo::after {
    transition: none;
  }
}
/* project cards */
/* Consistent cover frames: content length must never vertically center a card. */
#desktop .project-grid,
.scroll-work .project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
#desktop .project,
.scroll-work .project {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  align-self: start;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: left;
}
#desktop .project-art,
.scroll-work .project-art {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.65;
  flex: none;
  overflow: hidden;
  border-radius: 10px;
}
#desktop .project-art > img,
.scroll-work .project-art > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
}
#desktop .project-art > span,
.scroll-work .project-art > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
#desktop .project-meta,
.scroll-work .project-meta {
  width: 100%;
  min-width: 0;
}
#desktop .project-meta > span,
.scroll-work .project-meta > span {
  display: block;
  line-height: 1.5;
  min-height: 3em;
  margin: 18px 0 0;
}
#desktop .project-meta h3,
.scroll-work .project-meta h3 {
  line-height: 1.35;
  min-height: 2.7em;
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}
#desktop .project-meta p,
.scroll-work .project-meta p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.7;
  margin: 12px 0 0;
}
@media (max-width: 760px) {
  #desktop .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #desktop .project-meta > span,
  #desktop .project-meta h3 {
    min-height: 0;
  }
}
@media (max-width: 700px) {
  .scroll-work .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .scroll-work .project-meta > span,
  .scroll-work .project-meta h3 {
    min-height: 0;
  }
}
.exploration-heading {
  margin: 76px 0 30px;
  padding-top: 34px;
  border-top: 1px solid #d9d0c5;
}
.exploration-heading h2 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
  color: var(--accent);
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.2;
  margin: 14px 0 0;
}
/* Keep the card still; zoom only the image inside its clipped frame. */
.project:hover .project-art {
  transform: none;
}
.project-art > img {
  transform: scale(1);
  transform-origin: center;
}
@media (hover: hover) and (pointer: fine) {
  .project:hover .project-art > img {
    transform: scale(1.035);
  }
}
.project:focus-visible .project-art > img {
  transform: scale(1.035);
}
@media (prefers-reduced-motion: reduce) {
  .project-art > img,
  .project:hover .project-art > img,
  .project:focus-visible .project-art > img {
    transform: none;
    transition: none;
  }
}
.collection-heading {
  margin-bottom: 32px;
}
.collection-heading h2 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--accent);
  margin: 0 0 12px;
}
.collection-subtitle {
  color: #6c6d70;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.earlier-work-list {
  border-bottom: 1px solid #ded6cc;
}
.earlier-work-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  border-top: 1px solid #ded6cc;
  text-align: left;
  font: inherit;
}
.earlier-work-link span:last-child {
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
}
.earlier-work-link:hover span:first-child {
  text-underline-offset: 4px;
}
/* editorial brand */
/* Preserve newer archive interactions within the restored P22 branding. */
/* Earlier work: a small cover reveal above the row, keeping the link clickable. */
.earlier-work-link {
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.earlier-work-link .earlier-preview {
  position: absolute;
  bottom: calc(100% - 8px);
  width: min(320px, 42vw);
  aspect-ratio: 1.65;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #f1ece5;
  box-shadow: 0 16px 40px #302b2824;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform-origin: 70% 100%;
  z-index: 5;
}
.earlier-preview img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
}
@media (hover: hover) and (pointer: fine) {
  .earlier-work-link:hover {
    z-index: 6;
  }
  .earlier-work-link:hover .earlier-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1) rotate(0);
  }
}
.earlier-work-link:focus-visible {
  outline: 2px solid #665447;
  outline-offset: 5px;
  z-index: 6;
}
.earlier-work-link:focus-visible .earlier-preview {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (hover: none), (pointer: coarse) {
  .earlier-work-link .earlier-preview {
    position: static;
    flex: 0 0 88px;
    width: 88px;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 8px;
  }
  .earlier-work-link .earlier-action {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .earlier-work-link .earlier-preview {
    transition: none;
    transform: none;
  }
}
.earlier-work-link .earlier-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 24px;
  justify-content: space-between;
}
.earlier-work-link .earlier-title {
  font-size: clamp(17px, 1.7vw, 25px);
  line-height: 1.4;
}
.earlier-work-link .earlier-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 45%;
  flex-shrink: 0;
}
.earlier-work-link .earlier-tag {
  font:
    400 11px/1.4 "P22 Mackinac",
    Georgia,
    serif;
  color: #131417;
  white-space: nowrap;
  padding: 6px 10px;
  border: 1px solid #ded6cc;
  border-radius: 30px;
}
.earlier-work-link .earlier-action {
  margin-left: 16px;
}
.earlier-work-link .earlier-preview {
  right: 20%;
}
@media (max-width: 1000px) {
  .earlier-work-link .earlier-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .earlier-work-link .earlier-tags {
    max-width: 100%;
    justify-content: flex-start;
  }
  .earlier-work-link .earlier-action {
    margin-left: 0;
  }
}
/* Neutral P22 identity and a centered studio with its introduction below. */
:root {
  --page: #f5f5f5;
  --ink: #131417;
  --accent: #131417;
  --text-secondary: #6c6d70;
}
html,
body {
  background: #f5f5f5 !important;
  color: #131417;
}
#brand {
  color: #131417 !important;
}
#brand small {
  color: var(--text-secondary) !important;
}
.mark {
  color: #131417 !important;
}
body.journey-work > header {
  background: rgba(245, 245, 245, 0.48);
}
body.scroll-journey:not([data-mode="work"]):not([data-mode="about"]) #room,
body.scroll-journey:not([data-mode="work"]):not([data-mode="about"])
  #clear-monitor {
  transform: translateY(-5vh) scale(0.86) var(--journey-transform);
  transform-origin: 50% 50%;
}
body.scroll-journey #studio-caption {
  top: auto;
  left: 50%;
  width: min(850px, 88vw);
  max-width: 850px;
  transform: translateX(-50%);
  text-align: center;
  opacity: calc(var(--journey-opacity) * var(--intro-visibility, 1));
}
body.scroll-journey #studio-caption .designer-label {
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 10px;
}
body.scroll-journey #studio-caption h1 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
  margin: 0 auto 12px;
  max-width: 850px;
}
body.scroll-journey #studio-caption p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 610px;
}
.collection-subtitle,
.scroll-work .project-meta p,
.scroll-work .project-meta > span,
#desktop .project-meta > span,
.earlier-work-link .earlier-tags .earlier-tag,
.earlier-work-link .earlier-action,
.contact-note,
.contact-bottom {
  color: var(--text-secondary);
}
.earlier-work-link .earlier-title {
  color: var(--ink);
}
.earlier-work-link {
  color: #131417;
  border-color: #cfd1d7;
}
body .room-nav {
  color: #4d4e50 !important;
  border-color: #cfd1d7 !important;
}
#desktop aside button.active {
  background: #1314170c;
  color: #131417;
}
@media (max-width: 760px) {
  body.scroll-journey #studio-caption {
    width: 88vw;
  }
  body.scroll-journey #studio-caption h1 {
    font-size: 26px;
  }
  body.scroll-journey #studio-caption p {
    font-size: 12px;
    max-width: 330px;
  }
  body.scroll-journey:not([data-mode="work"]):not([data-mode="about"]) #room,
  body.scroll-journey:not([data-mode="work"]):not([data-mode="about"])
    #clear-monitor {
    transform: translateY(-10vh) scale(0.85) var(--journey-transform);
  }
}
@media (max-height: 650px) and (min-width: 761px) {
  body.scroll-journey #studio-caption h1 {
    font-size: 26px;
  }
  body.scroll-journey #studio-caption p {
    font-size: 12px;
  }
}
/* Top navigation keeps the centered introduction unobstructed. */
body .room-nav {
  position: fixed;
  top: 18px;
  bottom: auto;
  left: auto;
  right: 4.3vw;
  transform: none;
  z-index: 20;
  width: max-content;
  height: max-content;
  min-height: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 100px;
  background: rgba(245, 245, 245, 0.76) !important;
  border: 1px solid rgba(19, 20, 23, 0.12) !important;
  box-shadow: 0 3px 16px rgba(19, 20, 23, 0.04) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body .room-nav button {
  padding: 11px 16px;
  min-height: 40px;
  border-radius: 100px;
  color: #131417;
  font:
    400 12px/1.4 system-ui,
    sans-serif;
  letter-spacing: 0.01em;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
body .room-nav button > span {
  display: none;
}
body .room-nav button:hover,
body .room-nav button:focus-visible {
  background: #131417;
  color: #f5f5f5;
}
body .room-nav button:focus-visible {
  outline: 2px solid #131417;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  body .room-nav {
    top: 70px;
    right: 50%;
    transform: translateX(50%);
    max-width: calc(100vw - 28px);
    gap: 2px;
    padding: 4px;
    white-space: nowrap;
  }
  body .room-nav button {
    padding: 9px 13px;
    min-height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .room-nav button {
    transition: none;
  }
}
/* The monitor presents the same collections without a sidebar. */
#desktop .desktop-body > aside {
  display: none !important;
}
#desktop .desktop-body {
  display: block;
  overflow: hidden;
}
#desktop #content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 38px;
  box-sizing: border-box;
}
@media (max-width: 760px) {
  #desktop #content {
    padding: 24px;
  }
}
/* Consistent P22 navigation and a quiet, neutral About page. */
body .room-nav button {
  font-family: "P22 Mackinac", Georgia, serif;
  font-size: 13px;
}
#content .about-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 0 40px;
  color: #131417;
}
#content .about-page > h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  margin: 16px 0 24px;
  color: #131417;
}
#content .about-page .eyebrow {
  color: var(--text-secondary);
  font-size: 10px;
  letter-spacing: 0.14em;
}
#content .about-page > .lead {
  font:
    400 clamp(19px, 2.2vw, 25px)/1.55 "P22 Mackinac",
    Georgia,
    serif;
  color: #131417;
  max-width: 740px;
}
#content .about-page .muted {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.8;
  margin: 24px 0 40px;
}
#content .about-page .case-step {
  padding: 32px 0;
  margin-top: 16px;
  border-color: #d7d8da;
}
#content .about-page .case-step h3 {
  font-size: 26px;
  line-height: 1.3;
  color: #131417;
  margin: 12px 0 20px;
}
#content .about-page .case-step p {
  font-size: 15px;
  line-height: 1.8;
  color: #4d4e50;
  max-width: 760px;
}
#content .about-principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
#content .about-principles > div {
  border-color: #d7d8da;
}
#content .about-principles h4 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
  color: #131417;
}
#content .flat-facts {
  background: #ededee;
  padding: 24px;
  border: 1px solid #dedee0;
}
#content .flat-facts .pinned,
#content .flat-facts .profile-note,
#content .flat-facts .explore-note {
  background: #fafafa;
  border-color: #dedee0;
  box-shadow: 0 3px 12px #13141706;
  color: #131417;
}
#content .flat-facts .note-label {
  color: var(--text-secondary);
}
#content .flat-facts h2,
#content .flat-facts h3 {
  color: #131417;
}
body #little-things {
  position: fixed;
  right: auto;
  bottom: auto;
  width: 260px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 106px);
  overflow-y: auto;
  z-index: 25;
  background: var(--hover-bg);
  border: 1px solid var(--hover-border);
  border-radius: 16px;
  color: var(--hover-text);
  box-shadow: 0 12px 30px #13141712;
  font-family: "P22 Mackinac", Georgia, serif;
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  text-shadow: none;
  color-scheme: dark;
  animation: studio-hover-in var(--hover-duration) var(--hover-ease) both;
}
body #little-things:not([open]) {
  display: none;
}
body #little-things summary,
body #little-things button {
  font-family: "P22 Mackinac", Georgia, serif;
  color: var(--hover-text);
}
body #little-things button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hover-border);
}
body #little-things[open] :is(button, summary):focus-visible {
  outline-color: var(--hover-text);
}
body #little-things p,
body #little-things small,
body #little-things a {
  color: var(--hover-text);
}
body #little-things summary {
  padding-right: 28px;
  position: relative;
}
body #little-things summary::after {
  content: "×";
  position: absolute;
  right: 0;
  font: 22px/1 sans-serif;
}
@media (max-width: 760px) {
  body .room-nav button {
    font-size: 12px;
  }
  #content .about-principles {
    grid-template-columns: 1fr;
  }
  #content .about-page > h2 {
    font-size: 34px;
  }
  #content .flat-facts {
    padding: 14px;
  }
}
/* Three-part header: identity / navigation / contact. */
body.scroll-journey > header.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  z-index: 30;
  pointer-events: auto;
}
.site-header #brand {
  white-space: nowrap;
  color: #131417 !important;
  text-shadow: none !important;
  width: max-content;
}
body .site-header .room-nav {
  position: static;
  inset: auto;
  transform: none;
  width: max-content;
  height: auto;
  max-width: none;
  opacity: 1;
  pointer-events: auto;
  box-shadow: none !important;
}
body .site-header .room-nav button {
  font:
    400 14px/1.5 "P22 Mackinac",
    Georgia,
    serif;
  color: #131417;
  background: transparent;
}
body .site-header .room-nav button:hover,
body .site-header .room-nav button:focus-visible {
  background: transparent;
  color: #131417;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.header-socials {
  align-items: center;
}
.header-socials a {
  font:
    400 13px/1.5 "P22 Mackinac",
    Georgia,
    serif;
  text-decoration: none;
  white-space: nowrap;
}
.header-socials a:hover,
.header-socials a:focus-visible {
  color: #131417;
  text-decoration: underline;
  text-underline-offset: 6px;
}
@media (max-width: 900px) {
  body.scroll-journey > header.site-header {
    grid-template-columns: 1fr 1fr;
  }
  .header-socials {
    grid-column: 2;
    grid-row: 1;
  }
  body .site-header .room-nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: center;
  }
  .header-socials a {
    font-size: 12px;
  }
}
/* Reference header: clear canvas, compact identity, floating pill and social stack. */
body.scroll-journey > header.site-header {
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header #brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font:
    500 16px/1.4 "P22 Mackinac",
    Georgia,
    serif;
  letter-spacing: 0;
}
.site-header #brand small {
  display: block;
  font:
    400 12px/1.4 "P22 Mackinac",
    Georgia,
    serif;
  letter-spacing: 0;
  margin: 0 !important;
  color: var(--text-secondary) !important;
}
body .site-header .room-nav button {
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
body .site-header .room-nav button:hover {
  background: #1314170c;
  text-decoration: none;
}
body:not([data-mode="work"]):not([data-mode="about"]) .site-header #reset,
body[data-mode="work"] .site-header button[data-open="work"],
body[data-mode="about"] .site-header button[data-open="about"] {
  background: #131417;
  color: #fff;
}
body .site-header .room-nav button:focus-visible {
  text-decoration: none;
  outline-offset: 3px;
}
.header-socials {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
}
.header-socials .social-label {
  grid-column: 1/-1;
  text-align: right;
  font:
    400 12px/1.4 "P22 Mackinac",
    Georgia,
    serif;
  color: var(--text-secondary);
}
.header-socials a {
  font-size: 12px;
  color: #131417;
}
@media (max-width: 900px) {
  body.scroll-journey > header.site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .site-header #brand {
    font-size: 16px;
  }
  .site-header #brand small {
    font-size: 10px;
  }
  .header-socials {
    gap: 4px 12px;
  }
  body .site-header .room-nav {
    gap: 0;
  }
  .header-socials .social-label {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .site-header .room-nav button {
    transition: none;
  }
}
/* Designer introduction leads the portfolio inside the monitor. */
#desktop .monitor-designer-intro {
  padding: 12px 0 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #d7d8da;
  max-width: 100%;
}
#desktop .monitor-designer-intro .eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}
#desktop .monitor-designer-intro h2 {
  font:
    500 42px/1.2 "P22 Mackinac",
    Georgia,
    serif;
  color: #131417;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}
#desktop .monitor-designer-intro .designer-definition {
  font:
    400 25px/1.4 "P22 Mackinac",
    Georgia,
    serif;
  color: #131417;
  margin: 0 0 14px;
}
#desktop .monitor-designer-intro .designer-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 610px;
  margin: 0;
}
@media (max-width: 760px) {
  #desktop .monitor-designer-intro {
    padding-bottom: 28px;
    margin-bottom: 28px;
  }
  #desktop .monitor-designer-intro h2 {
    font-size: 32px;
  }
  #desktop .monitor-designer-intro .designer-definition {
    font-size: 21px;
  }
}
/* Header-only Manrope typography and measurements from the reference. */
@font-face {
  font-family: HeaderManrope;
  src: url("./fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: HeaderManrope;
  src: url("./fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
body.scroll-journey > header.site-header {
  padding: 24px 2.5vw;
  gap: 0;
  font:
    400 1vw/1.5 HeaderManrope,
    sans-serif;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body .site-header #brand {
  font-family: HeaderManrope, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  gap: 0;
  color: #131417 !important;
}
body .site-header #brand small {
  font-family: HeaderManrope, sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text-secondary) !important;
}
body .site-header .room-nav {
  padding: 4px;
  gap: 0;
  background: rgba(255, 255, 255, 0.5) !important;
  border: 0 !important;
  border-radius: 50em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body .site-header .room-nav button {
  font-family: HeaderManrope, sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  padding: 12px 16px;
  border-radius: 50em;
  min-height: 0;
}
.header-socials {
  gap: 6px 12px;
  align-content: center;
}
body .header-socials .social-label {
  font-family: HeaderManrope, sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text-secondary);
}
body .header-socials a {
  font-family: HeaderManrope, sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #131417;
}
@media (max-width: 900px) {
  body.scroll-journey > header.site-header {
    padding: 12px 24px;
    gap: 12px 16px;
  }
  body .site-header #brand {
    font-size: 16px;
  }
  body .site-header #brand small {
    font-size: 10px;
  }
  body .site-header .room-nav button {
    font-size: 12px;
    padding: 12px 16px;
  }
}
/* Monitor chrome shares the neutral Manrope site header. */
#desktop .windowbar {
  background: #ededee;
  color: #131417;
  border-bottom: 1px solid #d7d8da;
  font-family: HeaderManrope, Arial, sans-serif;
  box-shadow: none;
}
#desktop .window-title,
#desktop .window-title strong {
  font-family: HeaderManrope, Arial, sans-serif;
  color: #131417;
  font-size: 14px;
  letter-spacing: 0;
}
#desktop .window-title::after {
  background: rgba(255, 255, 255, 0.65);
  color: var(--text-secondary);
  font-family: HeaderManrope, Arial, sans-serif;
  border: 1px solid #1314170a;
  border-radius: 100px;
}
#desktop .tiny-mark {
  color: #131417;
}
#desktop .close {
  background: #1314170a;
  color: #131417;
  border: 0;
  font-family: HeaderManrope, Arial, sans-serif;
}
#desktop .close:hover,
#desktop .close:focus-visible {
  background: #131417;
  color: white;
}
#desktop .close:focus-visible {
  outline: 2px solid #131417;
  outline-offset: 3px;
}
/* Highlight Work when the collection is in view. */
body.journey-work .site-header #reset {
  background: transparent !important;
  color: #131417 !important;
}
body.journey-work .site-header button[data-open="work"] {
  background: #131417 !important;
  color: white !important;
}
/* Bring the introduction closer to the centered studio. */
body.scroll-journey #studio-caption {
  bottom: calc(7vh + 36px);
}
@media (max-width: 760px) {
  body.scroll-journey #studio-caption {
    bottom: calc(9vh + 20px);
  }
}
@media (max-height: 650px) and (min-width: 761px) {
  body.scroll-journey #studio-caption {
    bottom: calc(7vh + 20px);
  }
}
@font-face {
  font-family: Caveat;
  src: url("./fonts/Caveat.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
#drawer-letter {
  position: fixed;
  width: min(700px, calc(100vw - 32px));
  height: auto;
  max-height: 86dvh;
  padding: 42px 46px;
  border: 1px solid #dcdad3;
  border-radius: 5px;
  overflow-y: auto;
  background: #f7f5ee;
  color: #30343a;
  box-shadow: 0 24px 90px #13141740;
  transform: rotate(-0.5deg);
}
#drawer-letter::backdrop {
  background: #13141765;
  backdrop-filter: blur(6px);
}
#drawer-letter h2 {
  font:
    500 38px/1.25 Caveat,
    cursive;
  letter-spacing: 0;
  margin: 0 28px 24px 0;
  color: #30343a;
}
#drawer-letter .letter-body p {
  font:
    400 25px/1.55 Caveat,
    cursive;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
}
#drawer-letter .letter-signature {
  font:
    500 29px/1.5 Caveat,
    cursive;
  color: #30343a;
  text-underline-offset: 5px;
}
#drawer-letter .letter-close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: transparent;
  border: 0;
  color: #30343a;
  font: 26px/1 sans-serif;
  padding: 8px;
}
.drawer-access {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 12px 18px;
  background: #f5f5f5;
  color: #131417;
  border: 1px solid #cfd1d7;
  border-radius: 8px;
  font:
    14px/1.4 HeaderManrope,
    sans-serif;
}
.drawer-access:focus-visible {
  top: 100px;
}
.drawer-read:focus-visible {
  top: 150px;
}
body.journey-away .drawer-access,
body[data-mode="work"] .drawer-access,
body[data-mode="about"] .drawer-access {
  display: none;
}
@media (max-width: 600px) {
  #drawer-letter {
    padding: 34px 24px;
  }
  #drawer-letter .letter-body p {
    font-size: 23px;
  }
  #drawer-letter h2 {
    font-size: 32px;
  }
}
html.studio-pointer-on #drawer-letter,
html.studio-pointer-on #drawer-letter * {
  cursor: auto !important;
}
html.studio-pointer-on #drawer-letter button,
html.studio-pointer-on #drawer-letter a {
  cursor: pointer !important;
}
/* A quiet close-up for exploring the open drawer. */
html:has(body.drawer-view) {
  overflow: hidden;
}
body.drawer-view {
  height: 100dvh;
  overflow: hidden;
}
body.drawer-view .scroll-work {
  display: none;
}
body.drawer-view #studio-caption,
body.drawer-view > .scroll-cue,
body.drawer-view > footer,
body.drawer-view #little-things {
  visibility: hidden;
  pointer-events: none;
}
body.drawer-view #room {
  touch-action: none !important;
}
body.drawer-view .drawer-access:not(.drawer-read) {
  top: auto;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 24px;
  background: rgba(245, 245, 245, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px #13141712;
}
/* entrance */
/* A quiet name reveal while the actual scene assets and first frames settle. */
html:has(body.studio-entering) {
  overflow: hidden;
}
body.studio-entering {
  overflow: hidden !important;
}
body.studio-entering > :not(#loading):not(script):not(style) {
  visibility: hidden !important;
}
html.studio-pointer-on body.studio-entering,
html.studio-pointer-on body.studio-entering * {
  cursor: default !important;
}
html.studio-pointer-on body.studio-entering button,
html.studio-pointer-on body.studio-entering a {
  cursor: pointer !important;
}
body #loading {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #131417;
  font:
    400 14px/1.5 HeaderManrope,
    Arial,
    sans-serif;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 1.05s cubic-bezier(0.76, 0, 0.24, 1);
  isolation: isolate;
}
body #loading[hidden] {
  display: none;
}
.entrance-center {
  width: min(560px, 88vw);
  text-align: center;
  transform: translateY(-12px);
}
.entrance-name-mask {
  overflow: hidden;
  padding: 8px 0 14px;
}
.entrance-name {
  display: block;
  font:
    400 clamp(24px, 2vw, 40px)/1.5 HeaderManrope,
    Arial,
    sans-serif;
  letter-spacing: 0;
  animation: entrance-name-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  white-space: nowrap;
}
.entrance-role {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 3px 0 30px;
  animation: entrance-detail-in 0.7s 0.2s both;
}
.entrance-line {
  width: 140px;
  height: 1px;
  margin: 0 auto 20px;
  overflow: hidden;
  background: #13141718;
}
.entrance-line::after {
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  background: #13141790;
  animation: entrance-line 1.6s ease-in-out infinite;
}
.entrance-status {
  font-size: 11px;
  line-height: 1.6;
  min-height: 18px;
  margin: 0;
  color: var(--text-secondary, #6c6d70);
  opacity: 0;
  transition: opacity 0.3s;
}
#loading[data-phase="slow"] .entrance-status,
#loading[data-phase="fallback"] .entrance-status {
  opacity: 1;
}
.entrance-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
  flex-wrap: wrap;
}
.entrance-actions [hidden] {
  display: none;
}
.entrance-actions button,
.entrance-actions a {
  background: none;
  border: 0;
  border-bottom: 1px solid #13141755;
  border-radius: 0;
  padding: 3px 0;
  color: #131417;
  font:
    400 12px/1.5 HeaderManrope,
    Arial,
    sans-serif;
  text-decoration: none;
  text-underline-offset: 5px;
}
.entrance-actions button:focus-visible,
.entrance-actions a:focus-visible {
  outline: 2px solid #131417;
  outline-offset: 6px;
}
.entrance-foot {
  position: absolute;
  bottom: max(26px, env(safe-area-inset-bottom));
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary, #6c6d70);
}
body #loading.is-leaving {
  transform: translateY(-100%);
  pointer-events: none;
}
#loading.is-leaving .entrance-center {
  transform: translateY(-42px);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
#loading.is-leaving .entrance-line::after {
  animation: none;
  width: 100%;
}
#loading[data-phase="fallback"] .entrance-line {
  visibility: hidden;
}
#studio-render-status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  max-width: 90vw;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid #13141726;
  border-radius: 8px;
  background: #f5f5f5;
  color: #131417;
  text-align: center;
  font:
    400 13px/1.5 HeaderManrope,
    Arial,
    sans-serif;
}
@keyframes entrance-name-in {
  from {
    transform: translateY(115%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes entrance-detail-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes entrance-line {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(310%);
  }
}
@media (max-width: 480px) {
  .entrance-name {
    font-size: 24px;
  }
  .entrance-center {
    transform: translateY(-18px);
  }
  .entrance-foot {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body #loading {
    transition: opacity 0.18s ease;
  }
  .entrance-name,
  .entrance-role,
  .entrance-line::after {
    animation: none;
  }
  .entrance-line::after {
    width: 100%;
    opacity: 0.4;
  }
  body #loading.is-leaving {
    transform: none;
    opacity: 0;
  }
  #loading.is-leaving .entrance-center {
    transform: none;
    transition: none;
  }
}
/* Speech bubbles anchored to studio objects. */
.object-bubble {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  max-width: min(270px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid #ddd2c2;
  border-radius: 18px;
  background: #fffdf7f5;
  color: #53463b;
  box-shadow: 0 5px 22px #44301d18;
  font:
    14px/1.55 "P22 Mackinac",
    Georgia,
    serif;
  text-align: center;
  transform: translate(-50%, -100%);
}
.object-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: #fffdf7;
  border-right: 1px solid #ddd2c2;
  border-bottom: 1px solid #ddd2c2;
  transform: translateX(-50%) rotate(45deg);
}
.object-bubble[hidden] {
  display: none;
}
/* hover brand */
/* One charcoal-glass hover language across the public portfolio. */
:root {
  --hover-bg: rgba(19, 20, 23, 0.58);
  --hover-text: #fff;
  --hover-border: rgba(255, 255, 255, 0.18);
  --hover-duration: 450ms;
  --hover-ease: cubic-bezier(0.25, 1, 0.5, 1);
}
/* The project follower grows into a translucent OPEN disc. */
.studio-pointer-dot::before,
.studio-pointer-halo::before {
  transition:
    width var(--hover-duration) var(--hover-ease),
    height var(--hover-duration) var(--hover-ease),
    background-color var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease),
    opacity var(--hover-duration) var(--hover-ease);
}
.studio-pointer-halo::after {
  color: var(--hover-text);
  font:
    500 12px/1 HeaderManrope,
    Arial,
    sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translate(-50%, -40%) scale(0.85);
  transition:
    opacity var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}
.studio-pointer-halo.over-project::before {
  width: 76px;
  height: 76px;
  background: var(--hover-bg);
  border: 1px solid var(--hover-border);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.studio-pointer-halo.over-project::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.studio-pointer-dot.over-project::before {
  opacity: 0;
}
/* Keep cover zoom restrained; never lift the card or move surrounding content. */
.project-art > img {
  transition: transform var(--hover-duration) var(--hover-ease);
}
.earlier-work-link .earlier-preview {
  transform: translateY(8px) scale(0.97);
  transition:
    opacity var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease),
    visibility var(--hover-duration);
}
.earlier-work-link:hover span:first-child {
  text-decoration: none;
}
.earlier-work-link:focus-visible {
  outline-color: var(--ink);
}
/* Shared control feedback. Layout and resting text colors stay unchanged. */
body
  :is(
    .site-header .room-nav button,
    .header-socials a,
    .contact-email,
    .contact-links a,
    .contact-links button,
    .back,
    .close,
    #little-things button,
    #little-things summary,
    .drawer-access,
    .letter-close,
    .case-access button,
    .board-footer a,
    .entrance-actions button,
    .entrance-actions a
  ) {
  transition:
    background-color var(--hover-duration) var(--hover-ease),
    color var(--hover-duration) var(--hover-ease),
    border-color var(--hover-duration) var(--hover-ease),
    box-shadow var(--hover-duration) var(--hover-ease);
}
body
  :is(
    .header-socials a,
    .contact-email,
    .contact-links a,
    .contact-links button,
    .back,
    .board-footer a,
    .entrance-actions button,
    .entrance-actions a
  ) {
  border-radius: 5px;
}
body
  :is(
    .site-header .room-nav button,
    .header-socials a,
    .contact-email,
    .contact-links a,
    .contact-links button,
    .back,
    .close,
    #little-things button,
    #little-things summary,
    .drawer-access,
    .letter-close,
    .case-access button,
    .board-footer a,
    .entrance-actions button,
    .entrance-actions a
  ):focus-visible {
  background: var(--hover-bg) !important;
  color: var(--hover-text) !important;
  border-color: transparent;
  text-decoration: none;
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
body
  :is(
    .header-socials a,
    .contact-email,
    .contact-links a,
    .contact-links button,
    .back,
    .board-footer a,
    .entrance-actions button,
    .entrance-actions a
  ):focus-visible {
  box-shadow: 0 0 0 6px var(--hover-bg);
}
@media (hover: hover) and (pointer: fine) {
  body
    :is(
      .site-header .room-nav button,
      .header-socials a,
      .contact-email,
      .contact-links a,
      .contact-links button,
      .back,
      .close,
      #little-things button,
      #little-things summary,
      .drawer-access,
      .letter-close,
      .case-access button,
      .board-footer a,
      .entrance-actions button,
      .entrance-actions a
    ):hover {
    background: var(--hover-bg) !important;
    color: var(--hover-text) !important;
    border-color: transparent;
    text-decoration: none;
  }
  body
    :is(
      .header-socials a,
      .contact-email,
      .contact-links a,
      .contact-links button,
      .back,
      .board-footer a,
      .entrance-actions button,
      .entrance-actions a
    ):hover {
    box-shadow: 0 0 0 6px var(--hover-bg);
  }
}
body #little-things summary {
  border-radius: 7px;
}
/* In-room hover labels and click bubbles use the same dark glass as OPEN. */
body #tooltip,
body .object-bubble {
  background: var(--hover-bg);
  color: var(--hover-text);
  border-color: var(--hover-border);
  box-shadow: 0 6px 20px #13141712;
  text-shadow: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: studio-hover-in var(--hover-duration) var(--hover-ease) both;
}
body .object-bubble::after {
  background: var(--hover-bg);
  border-color: var(--hover-border);
}
@keyframes studio-hover-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (hover: none), (pointer: coarse) {
  .earlier-work-link .earlier-preview {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio-pointer-dot::before,
  .studio-pointer-halo::before,
  .studio-pointer-halo::after,
  .project-art > img,
  .earlier-work-link .earlier-preview {
    transition: none;
  }
  body #tooltip,
  body .object-bubble,
  body #little-things {
    animation: none;
  }
}
