@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #101719;
  --screen: #131d22;
  --ink: #eeece5;
  --soft: #b0b9bb;
  --line: #ffffff20;
  --accent: #edaa7c;
  --cool: #9bc3c4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: #a67c61 #101719;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button {
  border: 0;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: 50;
  background: var(--accent);
  color: #15191b;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 18px;
}
.room-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 82px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 18, 21, 0.9);
  backdrop-filter: blur(12px);
}
.wordmark {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 700;
  white-space: nowrap;
}
.wordmark > span:last-child {
  margin-left: -9px;
  color: var(--accent);
}
.brand-mark {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 19px;
  letter-spacing: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #edaa7c77;
  border-radius: 9px;
  margin-right: 5px;
}
.room-header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.room-header nav a {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #89999f;
  font-size: 10px;
  letter-spacing: 1px;
}
.room-header nav a span {
  color: #bdc7c9;
  font-size: 12px;
  letter-spacing: 0;
}
.room-header nav a[aria-current] {
  color: var(--accent);
}
.room-header nav a[aria-current] span {
  color: var(--ink);
}
.room-header nav a:hover {
  color: var(--accent);
}
#view-mode,
#room-view {
  border: 1px solid #ffffff25;
  background: #142026;
  border-radius: 6px;
  padding: 9px 12px;
  color: #ced8db;
  font-size: 11px;
  white-space: nowrap;
}
#room-stage,
#screen-stage {
  display: none;
}
.experience-ready #room-stage,
.experience-ready #screen-stage {
  display: block;
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.experience-ready #room-stage {
  z-index: 0;
}
.experience-ready #screen-stage {
  z-index: 1;
}
#room-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.experience-ready .room-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(#0b1215f2, #0b1215a0);
}
.experience-ready #portfolio {
  position: absolute;
}
.experience-ready #journey {
  height: calc(100vh + 5600px);
  pointer-events: none;
}
#portfolio {
  width: min(1120px, calc(100% - 40px));
  margin: 45px auto 110px;
  display: grid;
  gap: 40px;
}
.screen-panel {
  width: 100%;
  color: var(--ink);
  background: var(--screen);
  border: 1px solid #b9cbce30;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 70px #0004;
  scroll-margin-top: 110px;
}
.experience-ready .screen-panel {
  position: absolute;
  width: 1120px;
  height: 700px;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  backface-visibility: hidden;
}
.screen-topbar,
.screen-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 30px;
  color: #8da4ae;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--line);
  background: #0f191f;
}
.screen-topbar i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #92c7ad;
  box-shadow: 0 0 14px #92c7ad60;
}
.screen-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
  letter-spacing: 1px;
  font-size: 12px;
}
.experience-ready .screen-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.screen-footer a {
  color: var(--accent);
}
.screen-intro {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 32px;
  align-items: center;
  padding: 36px 40px 38px;
}
.intro-text {
  padding-left: 4px;
}
.screen-eyebrow {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 500;
}
h1 {
  font-size: 82px;
  line-height: 1;
  letter-spacing: -5px;
  margin: 0 0 25px;
}
h2 {
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: -2.3px;
  margin: 0 0 20px;
}
h1 em,
h2 em {
  color: var(--accent);
  font-style: normal;
}
.intro-text > p:not(.screen-eyebrow) {
  font-size: 24px;
  line-height: 1.6;
  max-width: 480px;
  color: var(--soft);
}
.mascot-portrait {
  margin: 0;
}
.mascot-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 5px;
  display: block;
}
.mascot-portrait figcaption {
  text-align: center;
  color: #829ba5;
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 16px;
}
.screen-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
}
.screen-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--accent);
  color: #152025;
  border-radius: 5px;
  padding: 15px 22px;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 4px 18px #0003;
}
.screen-button:hover {
  background: #ffc29b;
}
.screen-link {
  color: #c6d3d8;
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #c6d3d850;
}
.screen-link:hover {
  color: var(--accent);
}
.role-list {
  font-size: 14px;
  color: #8fa2ab;
  margin-top: 30px;
}
.role-list b {
  color: #55717e;
  margin: 0 8px;
}
.screen-body {
  padding: 36px 44px 50px;
}
.screen-description {
  font-size: 22px;
  line-height: 1.55;
  max-width: 970px;
  color: var(--soft);
  margin: 15px 0 22px;
}
.project-options {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}
.project-options button {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 24px;
  border: 1px solid #b9cbce22;
  background: #1b2930;
  border-radius: 6px;
  padding: 17px 20px;
}
.project-options button > span:nth-child(2) {
  flex: 1;
}
.project-options button strong {
  display: block;
  font:
    500 27px "Space Grotesk",
    Arial,
    sans-serif;
}
.project-options button small {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  color: #a4b5bd;
}
.project-options button:hover {
  background: #263740;
  border-color: #edaa7c70;
}
.project-index {
  color: var(--accent);
  font: 15px monospace;
}
.evidence-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  padding: 25px;
  border: 1px solid #9bc3c440;
  border-radius: 6px;
  background: #14262c;
}
.evidence-row > span {
  color: var(--cool);
  font: 15px monospace;
}
.evidence-row strong {
  font-size: 22px;
  font-weight: 500;
}
.evidence-row p {
  font-size: 20px;
  line-height: 1.5;
  margin: 12px 0;
  color: var(--soft);
}
.evidence-row a {
  font-size: 18px;
  color: var(--cool);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.research-note {
  margin-top: 18px;
  color: #92a5ae;
  font-size: 16px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 35px;
}
.tools-grid article {
  border-top: 1px solid #edaa7c60;
  padding: 20px 18px;
  background: #1b2930;
  border-radius: 0 0 6px 6px;
}
.tools-grid article > span {
  font: 14px monospace;
  color: var(--accent);
}
.tools-grid h3 {
  font-size: 25px;
  margin: 22px 0 15px;
}
.tools-grid p {
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
  color: var(--soft);
}
.contact-body {
  padding-top: 48px;
}
.contact-email {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 35px;
  letter-spacing: -1px;
}
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 35px;
}
.contact-channels a span {
  display: block;
  color: #829ba5;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.contact-channels strong {
  font-weight: 500;
  font-size: 23px;
}
.contact-channels a:hover {
  color: var(--accent);
}
.room-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px 32px;
  background: #0c151bda;
  border-top: 1px solid #b9cbce20;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #b5c5cd;
}
.room-bottom b {
  color: #edaa7c;
  margin: 0 10px;
}
.room-bottom > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.experience-ready .room-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
body:not(.experience-ready) #current-stop,
body:not(.experience-ready) .scroll-hint {
  display: none;
}
dialog {
  width: min(960px, calc(100% - 40px));
  max-height: 90svh;
  border: 1px solid #66838f;
  background: #111e25;
  color: var(--ink);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 25px 140px #000a;
}
dialog::backdrop {
  background: #030a10ca;
  backdrop-filter: blur(9px);
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: #263a44;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 28px;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 34px;
  align-items: center;
}
.dialog-layout > img {
  max-height: 65vh;
  width: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.dialog-layout h2 {
  font-size: 40px;
}
.dialog-layout p:not(.screen-eyebrow) {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.6;
}
.dialog-layout .screen-actions {
  gap: 15px;
}
.dialog-layout .screen-button {
  font-size: 15px;
}
.dialog-layout .screen-link {
  font-size: 15px;
}
@media (max-width: 1050px) {
  .room-header {
    flex-wrap: wrap;
    padding: 13px 20px;
    gap: 12px;
  }
  .room-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .room-header nav a span {
    font-size: 11px;
  }
  .screen-intro {
    grid-template-columns: 1fr 40%;
    padding: 30px;
  }
  .screen-body {
    padding: 30px;
  }
  h1 {
    font-size: 64px;
  }
  h2 {
    font-size: 46px;
  }
  .intro-text > p:not(.screen-eyebrow) {
    font-size: 20px;
  }
  .screen-footer {
    font-size: 10px;
  }
  .tools-grid p {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  #portfolio {
    width: calc(100% - 28px);
    margin-top: 25px;
    gap: 26px;
  }
  .screen-topbar {
    padding: 14px 18px;
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .screen-topbar > span:last-child {
    white-space: nowrap;
  }
  .screen-intro {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 24px;
  }
  .mascot-portrait {
    grid-row: 1;
    width: min(260px, 90%);
    margin: auto;
  }
  .mascot-portrait figcaption {
    font-size: 9px;
  }
  .intro-text h1 {
    font-size: 55px;
    letter-spacing: -3px;
  }
  .screen-eyebrow {
    font-size: 11px;
    line-height: 1.5;
  }
  .intro-text > p:not(.screen-eyebrow),
  .screen-description {
    font-size: 17px;
  }
  .screen-body {
    padding: 28px 22px;
  }
  h2 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }
  .screen-actions {
    gap: 18px;
  }
  .screen-button {
    font-size: 15px;
    padding: 13px 16px;
  }
  .screen-link {
    font-size: 14px;
  }
  .screen-footer {
    padding: 15px 20px;
    flex-wrap: wrap;
    font-size: 9px;
    line-height: 1.7;
  }
  .project-options button {
    padding: 15px 12px;
    gap: 13px;
  }
  .project-options button strong {
    font-size: 22px;
  }
  .project-options button small {
    font-size: 14px;
    line-height: 1.5;
  }
  .evidence-row {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
  }
  .evidence-row p {
    font-size: 16px;
  }
  .evidence-row strong {
    font-size: 19px;
  }
  .evidence-row a {
    font-size: 15px;
  }
  .research-note {
    font-size: 13px;
    line-height: 1.6;
  }
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }
  .tools-grid h3 {
    margin: 14px 0;
    font-size: 24px;
  }
  .tools-grid p {
    font-size: 16px;
  }
  .contact-email {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .contact-channels {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-channels a span {
    font-size: 10px;
  }
  .contact-channels strong {
    font-size: 19px;
  }
  .room-bottom {
    padding: 15px;
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .room-bottom > div {
    gap: 12px;
  }
  .scroll-hint {
    display: none;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
  }
  .dialog-layout > img {
    height: 190px;
  }
  .dialog-layout h2 {
    font-size: 30px;
  }
  dialog {
    padding: 36px 22px 25px;
  }
  .wordmark {
    font-size: 11px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .room-header nav a {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.security-screen .screen-body {
  padding-bottom: 18px;
}
.room-welcome {
  display: none;
}
.experience-ready[data-room-overview] .room-welcome {
  display: block;
  position: fixed;
  left: 32px;
  bottom: 100px;
  z-index: 3;
  padding: 22px 26px;
  background: linear-gradient(110deg, #0b131af0, #0b131aa0);
  border-left: 1px solid var(--accent);
  border-radius: 0 7px 7px 0;
}
.room-welcome p {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 12px;
}
.room-welcome h2 {
  font-size: 35px;
  letter-spacing: -1.5px;
  margin: 0 0 12px;
}
.room-welcome > span {
  font-size: 12px;
  color: #b3c2c9;
}
.room-welcome a {
  display: block;
  font-size: 12px;
  color: var(--accent);
  margin-top: 22px;
}
.room-welcome a span {
  margin-left: 12px;
}
