:root {
  color-scheme: light;
  --ink: #171b20;
  --secondary: #58616b;
  --mist: #edf1f5;
  --steel: #7793ab;
  --line: #d5dbe1;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #486c8b;
  outline-offset: 6px;
}
button {
  border: 0;
}
a {
  text-decoration: none;
}
.site-header {
  position: absolute;
  z-index: 20;
  top: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.wordmark { display: flex; align-items: center; justify-content: center; width: 112px; min-height: 44px; }
.wordmark img { display: block; width: 112px; height: 44px; object-fit: contain; }
.brand-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 88px;
  min-height: 40px;
  padding: 0 14px;
  background: #ededed;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}
.brand-button[aria-expanded="true"] .chevron {
  transform: rotate(225deg);
}
.site-nav {
  position: absolute;
  top: 52px;
  right: 0;
  min-width: 178px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px #171b200a;
  border-radius: 14px;
}
.site-nav[hidden] {
  display: none;
}
.site-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 7px;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mist);
}
.skip {
  position: fixed;
  left: 20px;
  top: -90px;
  padding: 12px;
  background: var(--ink);
  color: white;
  z-index: 100;
}
.skip:focus {
  top: 20px;
}
.home {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}
.home-copy {
  position: absolute;
  top: 50%;
  left: 50.5%;
  transform: translate(-50%, -50%);
  width: min(310px, 21.53vw);
  max-width: calc(100% - 48px);
  text-align: center;
  z-index: 3;
}
.home-copy h1 { font-size: clamp(16px, 1.528vw, 22px); line-height: 1.182; font-weight: 700; letter-spacing: -.035em; margin: 0 0 6px; }
.home-copy p { font-size: clamp(14px, 1.25vw, 18px); line-height: 1.222; color: var(--secondary); margin: 0; }
.home-copy .coming { font-size: 14px; line-height: 18px; color: var(--ink); margin-top: 20px; }
.orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orbit canvas { display: block; width: 100%; height: 100%; }
.motion-toggle {
  position: fixed;
  right: 28px;
  bottom: 22px;
  z-index: 15;
  border: 1px solid var(--line);
  background: #fffffff0;
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 10px 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--secondary);
  font-size: 12px;
}
.motion-symbol {
  font-size: 14px;
  letter-spacing: 1px;
}
.interior {
  max-width: 1440px;
  padding: 155px 96px 96px;
  margin: auto;
  min-height: 100svh;
}
.page-title {
  font-size: 154px;
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 400;
  margin: 0 0 44px;
}
.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 560px);
  gap: clamp(60px, 11.4vw, 164px);
  align-items: start;
}
.team-portrait {
  margin: 0;
  position: relative;
  height: 442px;
  background: #fff;
  overflow: hidden;
}
.team-portrait canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.team-portrait figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.roster {
  padding-top: 16px;
}
.member {
  border-top: 1px solid var(--line);
}
.member:first-child {
  border-color: var(--ink);
}
.member:last-child {
  border-bottom: 1px solid var(--line);
}
.member-button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 20px;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: 28px 0;
  background: transparent;
  align-items: start;
}
.member-number {
  font-size: 13px;
  padding-top: 7px;
}
.member-name {
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.member-name small {
  display: block;
  font-size: 16px;
  color: var(--secondary);
  margin-top: 10px;
  letter-spacing: 0;
}
.member-plus {
  font-size: 20px;
  text-align: right;
}
.member-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  padding-left: 56px;
}
.member-detail > div {
  overflow: hidden;
}
.member-detail p {
  font-size: 16px;
  color: var(--secondary);
  margin: 0 0 0;
  line-height: 24px;
  padding-bottom: 0;
  transition: padding-bottom 0.45s;
}
.member.active .member-detail {
  grid-template-rows: 1fr;
}
.member.active .member-detail p {
  padding-bottom: 30px;
}
.member.active .member-name {
  font-size: 32px;
}
.contact-layout {
  max-width: 650px;
}
.contact-layout p {
  font-size: 22px;
  line-height: 1.5;
  color: var(--secondary);
}
.placeholder-note {
  font-size: 15px !important;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.back-link {
  display: inline-block;
  font-size: 15px;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}
.not-found {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  padding: 130px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.error-scene {
  position: relative;
  width: 660px;
  max-width: 100%;
  height: 330px;
}
.error-digits {
  position: absolute;
  left: 0;
  top: 55px;
  font-size: 240px;
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
  margin: 0;
  animation: reveal-digits 12s infinite;
}
.desk-lamp {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 160px;
  height: 210px;
  transform-origin: 55% 94%;
  animation: lamp-hop 12s infinite;
}
.lamp-arm {
  transform-origin: 92px 187px;
  animation: arm-search 12s infinite;
}
.lamp-head {
  transform-origin: 83px 57px;
  animation: head-search 12s infinite;
}
.lamp-beam {
  opacity: 0.3;
  animation: beam-search 12s infinite;
}
.error-copy h1 {
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 35px 0 20px;
}
.error-copy p {
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
  margin: 0 0 24px;
}
.pill-link {
  display: inline-block;
  background: var(--ink);
  color: white;
  padding: 15px 24px;
  border-radius: 28px;
  font-size: 15px;
}
.paused *,
.reduced-motion * {
  animation-play-state: paused !important;
}
.reduced-motion .desk-lamp {
  animation: none;
}
.reduced-motion .error-digits {
  animation: none;
}
.reduced-motion .member-detail,
.reduced-motion .member-detail p {
  transition: none;
}
@keyframes lamp-hop {
  0%,
  32%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  38% {
    transform: translate(0, 6px) scaleY(0.94);
  }
  47% {
    transform: translate(-130px, -185px) rotate(-12deg);
  }
  54%,
  81% {
    transform: translate(-390px, -181px) rotate(0);
  }
  86% {
    transform: translate(-290px, -233px) rotate(12deg);
  }
  96% {
    transform: translate(0, 4px) rotate(0);
  }
}
@keyframes head-search {
  0%,
  100% {
    transform: rotate(0);
  }
  12% {
    transform: rotate(-25deg);
  }
  25% {
    transform: rotate(24deg);
  }
  39% {
    transform: rotate(0);
  }
  59% {
    transform: rotate(-28deg);
  }
  72% {
    transform: rotate(28deg);
  }
  82% {
    transform: rotate(0);
  }
}
@keyframes arm-search {
  0%,
  100% {
    transform: rotate(0);
  }
  15% {
    transform: rotate(-8deg);
  }
  28% {
    transform: rotate(8deg);
  }
  44% {
    transform: rotate(-10deg);
  }
  58%,
  80% {
    transform: rotate(0);
  }
}
@keyframes reveal-digits {
  0%,
  7% {
    color: #d5dbe1;
  }
  24%,
  89% {
    color: #171b20;
  }
  100% {
    color: #d5dbe1;
  }
}
@keyframes beam-search {
  0%,
  32%,
  60%,
  100% {
    opacity: 0.25;
  }
  20%,
  72% {
    opacity: 0.65;
  }
  40%,
  50%,
  88%,
  96% {
    opacity: 0;
  }
}
@media (max-width: 760px) {
  .site-header {
    top: 20px;
    left: 16px;
    right: 16px;
  }
  .home {
    min-height: 0;
  }
  .home-copy { width: 220px; left: 48%; top: 50%; }
  .home-copy h1 { font-size: 19px; line-height: 23px; margin-bottom: 6px; }
  .home-copy p { font-size: 14px; line-height: 18px; }
  .home-copy .coming { font-size: 12px; line-height: 16px; margin-top: 16px; }
  .motion-toggle {
    right: 14px;
    bottom: 12px;
    font-size: 11px;
    padding: 8px 12px;
  }
  .interior {
    padding: 132px 24px 90px;
  }
  .page-title {
    font-size: 90px;
    margin-bottom: 36px;
  }
  .team-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .team-portrait {
    height: 320px;
  }
  .team-portrait figcaption {
    bottom: 25px;
  }
  .roster {
    padding: 0;
  }
  .member-button {
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    gap: 14px;
    padding: 22px 0;
  }
  .member-name,
  .member.active .member-name {
    font-size: 25px;
  }
  .member-detail {
    padding-left: 38px;
  }
  .contact-layout p {
    font-size: 19px;
  }
  .not-found {
    padding-top: 150px;
  }
  .error-scene {
    width: 330px;
    height: 200px;
  }
  .error-digits {
    font-size: 150px;
    left: 4px;
    top: 43px;
  }
  .desk-lamp {
    width: 95px;
    height: 125px;
    right: -1px;
    bottom: 20px;
  }
  .error-copy h1 {
    margin-top: 25px;
  }
  @keyframes lamp-hop {
    0%,
    32%,
    100% {
      transform: translate(0, 0);
    }
    38% {
      transform: translate(0, 4px) scaleY(0.94);
    }
    47% {
      transform: translate(-70px, -110px) rotate(-12deg);
    }
    54%,
    81% {
      transform: translate(-156px, -112px);
    }
    86% {
      transform: translate(-130px, -155px) rotate(12deg);
    }
    96% {
      transform: translate(0, 3px);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.motion-toggle[hidden] {
  display: none;
}

/* The resting portrait stays stippled; interaction reveals the original monochrome detail. */
.team-portrait > canvas:not(.team-photo) { opacity: 1; transition: opacity 420ms ease; }
.team-portrait.is-revealed > canvas:not(.team-photo) { opacity: 0; }
.team-portrait .team-photo { position: absolute; inset: 0; object-fit: contain; opacity: 0; transition: opacity 420ms ease; }
.team-portrait.is-revealed .team-photo { opacity: 1; }
.member-detail .member-role { color: var(--ink); }
.member.active .member-detail .member-role { padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .team-portrait > canvas { transition: none; } }

.team-portrait[role="button"] { cursor: pointer; touch-action: manipulation; }
.team-portrait:focus-visible { outline: 2px solid #486c8b; outline-offset: 6px; }
.team-portrait.is-morphing > canvas { transition: none; }
.team-portrait.is-morphing > canvas:not(.team-photo) { opacity: 1; }
.team-portrait.is-morphing > .team-photo { opacity: 0; }
@media(max-width:760px) { .brand-button { min-height: 44px; } }

/* Touch tablets use the visible page height; desktop layout remains unchanged. */
@media (min-width: 761px) and (max-width: 1366px) and (pointer: coarse) {
  .home { min-height: 0; }
  .home-copy { width: 310px; }
}

@media (max-height: 500px) and (max-width: 1366px) and (pointer: coarse) {
  .home-copy { width: 340px; }
  .home-copy h1 { font-size: 16px; line-height: 20px; }
  .home-copy p { font-size: 14px; line-height: 18px; }
  .home-copy .coming { margin-top: 12px; }
}

@media (max-width: 360px) {
  .home-copy { width: 185px; }
  .home-copy h1 { font-size: 16px; line-height: 20px; }
}

/* A compact copy opening lets short phones retain circular projected paths. */
@media (max-height: 500px) and (max-width: 760px) and (pointer: coarse) {
  .home-copy { width: 220px; left: 50.5%; }
}

/* Contact's binary wordmark stays behind the editorial content. */
.contact-page { isolation: isolate; position: relative; min-height: max(100svh, 740px); }
.contact-binary { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.contact-page .contact-layout { max-width: 490px; }
.binary-toggle { position: fixed; right: 28px; bottom: 24px; border: 0; background: #ffffffe6; padding: 10px 14px; font: inherit; font-size: 11px; color: #727272; cursor: pointer; }
.binary-toggle:focus-visible { outline: 2px solid #923bed; outline-offset: 3px; }
@media (max-width: 760px) { .binary-toggle { right: 14px; bottom: 12px; min-height: 44px; } }
