@font-face {
  font-family: "Sora";
  src: url("fonts/sora-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("fonts/sora-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #14110f;
  --panel: #1f1a16;
  --panel-hi: #29221c;
  --line: rgba(241, 230, 210, 0.12);
  --line-hi: rgba(241, 230, 210, 0.24);
  --fg: #f1e6d2;
  --muted: #b3a690;
  --accent: #e8b45a;
  --paper: #f4ead8;
  --ink: #2a1d14;
  --ink-soft: #6b5440;
  --ink-accent: #8a4a1c;
  --leather: #6b4228;
  --display: "Sora", system-ui, sans-serif;
  --text: "Work Sans", system-ui, sans-serif;
  --gutter: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--text);
}

.has-overlay {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.folder:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  background-color: rgba(20, 17, 15, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.room-mode .tabs {
  position: fixed;
  right: 0;
  left: 0;
}

.tabs nav {
  min-width: 0;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 2px;
  padding: 5px 4px;
}

.tablist a {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--fg);
  font: 600 13px/1.4 var(--display);
  transition: background-color 0.2s;
}

.tablist a:hover,
.tablist a[aria-current="page"] {
  background-color: rgba(241, 230, 210, 0.1);
}

.tablist a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.room-mode {
  overflow: hidden;
}

.room-mode .tabs,
.room-mode .spots {
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.off {
  --light: 0.3;
}

.off .tabs,
.off .spots {
  opacity: 0;
  visibility: hidden;
}

.frame {
  position: relative;
  max-width: 1200px;
  aspect-ratio: 1280 / 800;
  margin: 16px auto 0;
  border-radius: 18px;
  background-color: #050403;
  overflow: hidden;
}

.frame .still,
.frame canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.frame .still {
  object-fit: cover;
}

.frame canvas {
  display: none;
}

.room-mode .frame {
  position: fixed;
  inset: 0;
  z-index: 1;
  max-width: none;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
}

.room-mode .frame canvas {
  display: block;
}

.room-mode .frame .still {
  visibility: hidden;
}

.plate,
.spot,
.lamp-switch {
  position: absolute;
  left: var(--lx);
  top: var(--ly);
  transform: translate(-50%, -50%);
}

.plate {
  --k: var(--lk, 1);
  transform: translate(-50%, -50%) scale(var(--k));
}

.room-mode .plate,
.room-mode .spot {
  left: var(--sx, var(--lx));
  top: var(--sy, var(--ly));
}

.room-mode .lamp-switch {
  left: clamp(calc(var(--half, 0px) * 1.05 + 21px), var(--sx, var(--lx)), calc(100% - var(--half, 0px) * 1.05 - 21px));
  top: var(--sy, var(--ly));
}

.room-mode .plate {
  --k: var(--sk, 1);
}

.plate {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.room-mode .plate {
  opacity: var(--light, 1);
}

.plate h1 {
  font: 700 30px/1.1 var(--display);
  letter-spacing: -0.015em;
}

.plate .title {
  color: var(--accent);
  font: 600 14px/1.4 var(--display);
}

.plate .now {
  color: var(--muted);
  font-size: 13px;
}

.lamp-switch {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(232, 180, 90, 0.6);
  border-radius: 999px;
  background-color: rgba(20, 17, 15, 0.9);
  box-shadow: 0 0 0 4px rgba(232, 180, 90, 0.1), 0 0 0 9px rgba(232, 180, 90, 0.05);
  color: var(--fg);
  font: 600 14px/1 var(--display);
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.3s;
}

.lamp-switch:hover,
.lamp-switch.lit,
.lamp-switch:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(232, 180, 90, 0.26), 0 0 0 12px rgba(232, 180, 90, 0.1);
  transform: translate(-50%, -50%) scale(1.05);
}

.spot,
.room-mode:not(.off) .lamp-switch {
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 11px 0 9px;
  border: 0;
  background: none;
  box-shadow: none;
  color: rgba(241, 230, 210, 0.88);
  font: 500 12px/1 var(--text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), color 0.2s;
}

.spot::before,
.room-mode:not(.off) .lamp-switch::before {
  content: "";
  position: absolute;
  inset: 9px 0;
  z-index: -1;
  border: 1px solid rgba(232, 180, 90, 0.28);
  border-radius: 999px;
  background-color: rgba(20, 17, 15, 0.42);
  transition: background-color 0.2s, border-color 0.2s;
}

.spot:hover,
.spot.lit,
.spot:focus-visible,
.room-mode:not(.off) .lamp-switch:hover,
.room-mode:not(.off) .lamp-switch.lit,
.room-mode:not(.off) .lamp-switch:focus-visible {
  color: var(--fg);
  box-shadow: none;
  transform: translate(-50%, -50%) scale(1.06);
}

.spot:hover::before,
.spot.lit::before,
.spot:focus-visible::before,
.room-mode:not(.off) .lamp-switch:hover::before,
.room-mode:not(.off) .lamp-switch.lit::before,
.room-mode:not(.off) .lamp-switch:focus-visible::before {
  border-color: var(--accent);
  background-color: rgba(20, 17, 15, 0.9);
}

.lamp-off,
.room-mode:not(.off) .lamp-switch .lamp-on {
  display: none;
}

.room-mode:not(.off) .lamp-switch .lamp-off {
  display: inline;
}

.pip {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  animation: pip 2.6s ease-out infinite;
}

@keyframes pip {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 180, 90, 0.55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(232, 180, 90, 0);
  }
}

.spot .pip,
.room-mode:not(.off) .lamp-switch .pip {
  width: 6px;
  height: 6px;
}

.bars {
  display: inline-flex;
  flex: none;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.bars span {
  width: 2px;
  height: 100%;
  border-radius: 1px;
  background-color: var(--muted);
  transform: scaleY(0.4);
  transform-origin: bottom;
}

.radio[aria-pressed="true"] .bars span {
  background-color: var(--accent);
  animation: bar 0.9s ease-in-out -0.1s infinite alternate;
}

.radio[aria-pressed="true"] .bars span:nth-child(2) {
  animation-duration: 0.63s;
  animation-delay: -0.37s;
}

.radio[aria-pressed="true"] .bars span:nth-child(3) {
  animation-duration: 1.17s;
  animation-delay: -0.81s;
}

@keyframes bar {
  from {
    transform: scaleY(0.3);
  }

  to {
    transform: scaleY(1);
  }
}

.sheets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: 32px;
}

.sheet {
  scroll-margin-top: calc(var(--tabs-h, 44px) + 16px);
}

.sheet-inner {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background-color: var(--panel);
}

.sheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 14px;
}

.eyebrow {
  color: var(--accent);
  font: 600 12px/1.4 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet h2 {
  margin-top: 4px;
  font: 700 clamp(28px, 4vw, 40px)/1.1 var(--display);
  letter-spacing: -0.015em;
  outline: none;
}

.close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-hi);
  border-radius: 999px;
  color: var(--fg);
  font: 600 13px/1 var(--display);
  transition: border-color 0.2s, background-color 0.2s;
}

.close::before {
  content: "\2190";
}

.close:hover {
  border-color: var(--accent);
  background-color: var(--panel-hi);
}

.sub {
  color: var(--muted);
}

.place {
  color: var(--muted);
  font-size: 14px;
}

.sheet-about .sheet-inner {
  display: grid;
  gap: 20px;
}

.sheet-about .sheet-head {
  margin-bottom: 0;
}

.badge-card {
  position: relative;
  align-self: start;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 150px;
  padding: 26px 16px 18px;
  border-radius: 14px;
  background-color: var(--paper);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  transform: rotate(-3deg);
}

.badge-clip {
  position: absolute;
  top: -10px;
  width: 40px;
  height: 16px;
  border-radius: 6px;
  background-color: #b5532f;
}

.badge-photo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background-color: var(--accent);
  color: var(--ink);
  font: 700 22px/1 var(--display);
}

.badge-lines {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.badge-lines span {
  width: 90px;
  height: 7px;
  border-radius: 4px;
  background-color: #6b4a33;
}

.badge-lines span + span {
  width: 64px;
  background-color: #b3a690;
}

.bio {
  display: grid;
  gap: 14px;
  max-width: 66ch;
}

.bio .lead {
  font-size: 19px;
}

.studies {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.sheet-about .studies {
  margin-top: 4px;
}

.studies h3 {
  margin-bottom: 10px;
  color: var(--accent);
  font: 600 13px/1.4 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studies dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
}

.studies dd {
  justify-self: end;
  color: var(--muted);
  text-align: right;
}

.folder {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 6px 16px 16px 16px;
  background-color: #b98c52;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.16), inset 0 -14px 30px rgba(0, 0, 0, 0.12), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.paper {
  min-width: 0;
}

.timeline {
  padding: 16px 14px;
  border-radius: 4px;
  background-color: var(--paper);
  box-shadow: 0 1px 0 #e2d4bb, 0 10px 22px rgba(0, 0, 0, 0.2);
  color: var(--ink);
}

.file-index {
  position: relative;
  display: grid;
  gap: 2px;
}

.file-index::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 12px;
  width: 2px;
  background-color: rgba(138, 74, 28, 0.3);
}

.file-index a {
  position: relative;
  display: grid;
  padding: 8px 10px 8px 30px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.file-index a::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink-accent);
  border-radius: 50%;
  background-color: var(--paper);
}

.file-index a:hover {
  background-color: rgba(138, 74, 28, 0.08);
}

.file-index a[aria-current="true"] {
  background-color: rgba(138, 74, 28, 0.14);
}

.file-index a[aria-current="true"]::before {
  background-color: var(--ink-accent);
}

.tl-when {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.tl-co {
  font: 600 15px/1.3 var(--display);
}

.tl-role {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.stack {
  position: relative;
}

.staple {
  position: absolute;
  top: 9px;
  left: 6px;
  z-index: 40;
  width: 30px;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(#e4e1da, #8f8a80);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  transform: rotate(-38deg);
}

.folder:not(.live) .staple {
  display: none;
}

.files {
  display: grid;
  gap: 12px;
  perspective: 1600px;
}

.folder.live .file {
  grid-area: 1 / 1;
}

.file {
  position: relative;
  padding: 24px 20px 20px;
  border-radius: 3px;
  background-color: var(--paper);
  box-shadow: 0 2px 0 #e2d4bb, 0 4px 0 #d6c6aa, 0 6px 0 #cbb999, 0 14px 26px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  transform-origin: top center;
  backface-visibility: hidden;
}

.case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.case-head .who {
  flex: 1;
  min-width: 14ch;
}

.case-head h3 .co {
  display: block;
  font: 700 20px/1.2 var(--display);
}

.case-head h3 .rn {
  display: block;
  font: 600 14px/1.4 var(--display);
}

.where,
.when {
  color: var(--ink-soft);
  font-size: 14px;
}

.when {
  padding: 3px 10px;
  border: 1px solid rgba(42, 29, 20, 0.25);
  border-radius: 999px;
  white-space: nowrap;
}

.tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 5px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(42, 29, 20, 0.15);
}

.tile img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: contain;
}

.impact {
  margin-top: 14px;
  font: 400 15px/1.6 var(--text);
}

.facts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.facts li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 15px;
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background-color: var(--ink-accent);
  transform: rotate(45deg);
}

.facts .value {
  color: var(--ink);
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.chips li {
  padding: 2px 9px;
  border: 1px solid rgba(42, 29, 20, 0.22);
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
}

.file details {
  margin-top: 14px;
}

.file summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-accent);
  font: 600 14px/1.4 var(--display);
  cursor: pointer;
  list-style: none;
}

.file summary::-webkit-details-marker {
  display: none;
}

.file summary::after {
  content: "+";
}

.file details[open] > summary::after {
  content: "\2212";
}

.points {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 15px;
}

.points li {
  position: relative;
  padding-left: 14px;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--ink-soft);
}

.projects {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.project {
  padding: 12px 14px;
  border: 1px dashed rgba(42, 29, 20, 0.3);
  border-radius: 10px;
}

.project .case-head .tile {
  width: 34px;
  height: 34px;
  padding: 3px;
  border-radius: 8px;
}

.project h4 {
  font: 600 15px/1.3 var(--display);
}

.project details {
  margin-top: 8px;
}

.flip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.flip-hint {
  order: 3;
  flex-basis: 100%;
  color: var(--ink);
  font-size: 13px;
  text-align: center;
}

.screen {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border: 10px solid #0f0d0c;
  border-radius: 18px;
  background-color: #191512;
  box-shadow: 0 0 0 1px var(--line), inset 0 0 40px rgba(232, 180, 90, 0.05);
}

.apps ul {
  display: grid;
  gap: 4px;
}

.apps a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--fg);
  font: 600 14px/1.3 var(--display);
  transition: background-color 0.2s, box-shadow 0.2s;
}

.apps a:hover {
  background-color: var(--panel-hi);
}

.apps a[aria-current="true"] {
  background-color: rgba(232, 180, 90, 0.14);
  box-shadow: inset 3px 0 0 var(--accent);
}

.works {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.work,
.post {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--panel-hi);
}

.work-head,
.post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.work h3,
.post h3 {
  font: 600 19px/1.3 var(--display);
}

.summary {
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
}

.work .chips li {
  border-color: var(--line-hi);
  color: var(--fg);
}

.toolbox {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background-color: #6e2f1a;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25), inset 0 -12px 30px rgba(0, 0, 0, 0.3);
}

.slides {
  display: grid;
  gap: 12px;
}

.slide {
  padding: 16px 18px;
  border-radius: 12px;
  background-color: var(--panel);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.slide h3 {
  color: var(--accent);
  font: 600 13px/1.4 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kit li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
}

.kit li + li {
  border-top: 1px solid var(--line);
}

.kit .k {
  font: 600 15px/1.4 var(--display);
}

.kit .v {
  color: var(--muted);
  font-size: 15px;
}

.slider.live {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.slider.live .slides {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.slider.live .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.slide-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.slide-controls button,
.flip button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(241, 230, 210, 0.35);
  border-radius: 999px;
  background-color: #3a2414;
  color: var(--fg);
  font: 600 13px/1 var(--display);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.slide-controls button:hover:not(:disabled),
.flip button:hover:not(:disabled) {
  border-color: var(--accent);
  background-color: #4a2e1a;
}

.slide-controls button:disabled,
.flip button:disabled {
  border-style: dashed;
  color: var(--muted);
  cursor: default;
}

[data-slide="prev"]::before,
[data-flip="prev"]::before {
  content: "\2190\00a0";
}

[data-slide="next"]::after,
[data-flip="next"]::after {
  content: "\00a0\2192";
}

.book {
  display: grid;
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  background-color: #5e3820;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.page {
  padding: 22px 20px;
  border-radius: 6px;
  background-color: var(--paper);
  color: var(--ink);
}

.page-left {
  display: none;
}

.contents {
  color: var(--ink-accent);
  font: 600 12px/1.4 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapters {
  display: grid;
  margin-top: 8px;
}

.chapter {
  padding: 14px 0;
}

.chapter + .chapter {
  border-top: 1px dashed rgba(42, 29, 20, 0.3);
}

.chapter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chapter h3 {
  font: 600 18px/1.3 var(--display);
}

.chapter h3 a {
  text-decoration: underline;
  text-decoration-color: rgba(138, 74, 28, 0.6);
  text-underline-offset: 4px;
}

.chapter h3 a::after {
  content: "\00a0\2192";
  color: var(--ink-accent);
}

.chapter .summary {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 15px;
}

.channels li + li {
  border-top: 1px solid var(--line);
}

.channels a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  padding: 12px 6px;
  border-radius: 12px;
  transition: background-color 0.2s;
}

.channels .icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background-color: var(--accent);
  color: var(--ink);
}

.channels .icon svg {
  fill: currentColor;
}

.channels .icon-github {
  background-color: #24292f;
  color: #ffffff;
}

.channels .icon-linkedin {
  background-color: #0a66c2;
  color: #ffffff;
}

.channels a:hover {
  background-color: var(--panel-hi);
}

.channels .k {
  color: var(--muted);
  font-size: 13px;
}

.channels .v {
  font: 600 15px/1.4 var(--display);
  overflow-wrap: anywhere;
}

.phone {
  max-width: 380px;
  margin-top: 16px;
  padding: 22px 18px;
  border: 10px solid #0f0d0c;
  border-radius: 34px;
  background-color: #191512;
  box-shadow: 0 0 0 1px var(--line);
}

.phone .place {
  margin-top: 12px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 48px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.elsewhere {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.elsewhere a:hover {
  color: var(--accent);
}

.room-mode .sheets {
  padding: 0;
}

.room-mode .sheet {
  position: fixed;
  top: var(--tabs-h, 44px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 18px var(--gutter) 40px;
  background: linear-gradient(rgba(5, 4, 3, 0.25), rgba(5, 4, 3, 0.55));
  overflow-y: auto;
  overscroll-behavior: contain;
  outline: none;
}

.room-mode .sheet.arriving {
  visibility: hidden;
}

.room-mode .sheet-inner {
  max-width: 860px;
  margin: 0 auto;
  background-color: rgba(31, 26, 22, 0.97);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: sheet-in 0.25s var(--ease);
}

.room-mode .sheet-career .sheet-inner {
  max-width: 1060px;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
}

.room-mode .sheet-career .sheet-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 1120px;
}

.room-mode .folder {
  flex: 1;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}

.room-mode .stack {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.room-mode .files {
  flex: 1;
  min-height: 0;
}

.folder.live .file {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.room-mode .timeline {
  padding: 6px;
}

.room-mode .file-index {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.room-mode .file-index::before {
  display: none;
}

.room-mode .file-index li {
  flex: none;
}

.room-mode .file-index a {
  padding: 6px 12px 6px 28px;
}

.room-mode .sheet-about .sheet-inner {
  max-width: 980px;
}

.room-mode .sheet-about .badge-card {
  width: 170px;
}

.room-mode .sheet-about .bio {
  gap: 10px;
}

.room-mode .sheet-about .bio .lead {
  font-size: 17px;
}

.room-mode .sheet-contact .sheet-inner {
  max-width: 420px;
}

.room-mode[data-scene="ready"] .sheet-contact .sheet-inner {
  position: fixed;
  top: var(--fy);
  left: var(--fx);
  width: var(--fw);
  height: var(--fh);
  max-width: none;
  margin: 0;
  padding: 8px 16px 18px;
  border: 7px solid #0b0908;
  border-radius: 34px;
  background-color: #15110e;
  box-shadow: 0 0 0 1px rgba(241, 230, 210, 0.08);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.room-mode .sheet-contact .sheet-head {
  flex-direction: column;
  gap: 2px;
  margin-bottom: 0;
}

.room-mode .sheet-contact .close {
  min-height: 44px;
  margin-left: -4px;
  padding: 0 8px 0 4px;
  border: 0;
  color: var(--accent);
  font-size: 14px;
}

.room-mode .sheet-contact .close::before {
  content: "\2039";
  font-size: 24px;
  line-height: 1;
}

.room-mode .sheet-contact .close:hover {
  background-color: transparent;
  color: var(--fg);
}

.room-mode .sheet-contact h2 {
  font-size: 28px;
}

.room-mode .sheet-contact .sub {
  font-size: 15px;
  text-align: center;
}

.status {
  display: none;
}

.room-mode .status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  margin-bottom: 4px;
  padding: 0 8px;
  color: var(--fg);
}

.clock::before {
  content: "9:41";
  font: 600 13px/1 var(--display);
}

.island {
  width: 74px;
  height: 22px;
  border-radius: 11px;
  background-color: #000000;
}

.battery {
  position: relative;
  width: 23px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.85;
}

.battery::before {
  content: "";
  position: absolute;
  inset: 1.5px 6px 1.5px 1.5px;
  border-radius: 1px;
  background-color: currentColor;
}

.battery::after {
  content: "";
  position: absolute;
  top: 2.5px;
  right: -4px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background-color: currentColor;
}

.card {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 14px 0 6px;
  text-align: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--ink);
  font: 700 22px/1 var(--display);
}

.card-name {
  font: 600 18px/1.3 var(--display);
}

.card-title {
  color: var(--muted);
  font-size: 14px;
}

.room-mode .sheet-contact .channels {
  display: grid;
  gap: 8px;
}

.room-mode .sheet-contact .channels li + li {
  border-top: 0;
}

.room-mode .sheet-contact .channels a {
  padding: 10px 12px;
  border-radius: 14px;
  background-color: rgba(241, 230, 210, 0.05);
}

.room-mode .sheet-contact .place {
  text-align: center;
}

.room-mode .sheet-contact .phone {
  max-width: none;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

.room-mode .sheet-projects .sheet-inner {
  background-color: #120e0b;
}

.room-mode .screen {
  padding: 0;
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

@media (max-width: 420px) {
.tabs {
    gap: 0;
    padding: 0;
  }
.tablist {
    flex-wrap: nowrap;
    gap: 0;
    padding: 5px 0 5px 2px;
  }
.tablist a {
    padding: 5px 4.5px;
    font-size: 12px;
    letter-spacing: -0.01em;
  }
.room-mode .sheet-inner {
    padding: 18px 16px;
  }
.room-mode .folder {
    padding: 10px;
  }
.room-mode .flip button {
    padding: 0 14px;
  }
}

@media (orientation: portrait) {
.frame {
    max-width: 480px;
    aspect-ratio: 390 / 844;
  }
.plate,
.spot,
.lamp-switch {
    left: var(--px);
    top: var(--py);
  }
.room-mode .plate,
.room-mode .spot {
    left: var(--sx, var(--px));
    top: var(--sy, var(--py));
  }
.room-mode .lamp-switch {
    left: clamp(calc(var(--half, 0px) * 1.05 + 21px), var(--sx, var(--px)), calc(100% - var(--half, 0px) * 1.05 - 21px));
    top: var(--sy, var(--py));
  }
.plate {
    --k: var(--pk, 1);
  }
.spot {
    padding: 0 12px 0 10px;
    font-size: 12px;
  }
}

@media (min-width: 768px) {
:root {
    --gutter: 32px;
  }
.sheet-inner {
    padding: 30px;
  }
.studies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
.folder {
    padding: 20px;
  }
.file {
    padding: 28px 28px 24px;
  }
.slides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.slider.live .slide {
    flex-basis: calc(50% - 6px);
  }
.book {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4px;
    padding: 14px;
  }
.page-left {
    display: grid;
    align-content: start;
    gap: 14px;
    border-radius: 6px 2px 2px 6px;
  }
.page-right {
    border-radius: 2px 6px 6px 2px;
  }
.book-title {
    color: var(--ink);
    font: 700 22px/1.25 var(--display);
  }
.book-mark {
    width: 26px;
    height: 70px;
    margin: -22px 0 10px auto;
    background-color: #b5532f;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  }
.book-rule {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(42, 29, 20, 0.12);
  }
.book-rule.short {
    width: 60%;
  }
.screen {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
  }
.projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
.room-mode .folder {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }
.room-mode .timeline {
    padding: 10px 8px;
    overflow-y: auto;
  }
.room-mode .file-index {
    display: grid;
    overflow: visible;
  }
.room-mode .file-index::before {
    display: block;
  }
.room-mode .sheet-career {
    padding-bottom: 20px;
  }
.room-mode .sheet-career .sheet-inner {
    padding: 22px 26px;
  }
.room-mode .file-index a {
    padding: 5px 8px 5px 28px;
  }
.room-mode .file-index a::before {
    top: 10px;
  }
.room-mode .file-index::before {
    top: 12px;
    bottom: 12px;
  }
.room-mode .tl-when {
    font-size: 11px;
    line-height: 1.35;
  }
.room-mode .tl-co {
    font-size: 14px;
    line-height: 1.25;
  }
.room-mode .tl-role {
    font-size: 12px;
    line-height: 1.3;
  }
.room-mode[data-scene="ready"] .sheet-projects .sheet-inner {
    position: fixed;
    top: var(--fy);
    left: var(--fx);
    display: flex;
    flex-direction: column;
    width: var(--fw);
    height: var(--fh);
    max-width: none;
    margin: 0;
    padding: 22px 26px;
    border: 0;
    border-radius: 3px;
    box-shadow: inset 0 0 70px rgba(232, 180, 90, 0.07);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
.room-mode[data-scene="ready"] .sheet-projects .screen {
    margin-top: 18px;
  }
}

@media (min-width: 768px) and (orientation: landscape) {
.sheet-about .sheet-inner {
    grid-template-columns: 190px minmax(0, 1fr);
    column-gap: 36px;
  }
.sheet-about .sheet-head {
    grid-column: 1 / -1;
  }
.sheet-about .studies {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
.folder {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }
.room-mode .folder {
    grid-template-columns: 260px minmax(0, 1fr);
  }
.folder:not(.live) .timeline {
    position: sticky;
    top: calc(var(--tabs-h, 44px) + 16px);
  }
}

.tag {
  display: inline-block;
  flex: none;
  padding: 1px 9px;
  border: 1px solid rgba(232, 180, 90, 0.5);
  border-radius: 999px;
  color: var(--accent);
  font: 600 11px/1.7 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.soon {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
}

.tablist {
  overflow-x: auto;
  scrollbar-width: none;
}

.tablist::-webkit-scrollbar {
  display: none;
}

.tablist li {
  flex: none;
}

.tablist a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.tab-quiet {
  margin-left: auto;
}

@media (max-width: 900px) {
  .tablist {
    flex-wrap: nowrap;
    justify-content: safe center;
  }

  .tab-quiet {
    margin-left: 0;
  }
}

.tab-quiet .short {
  display: none;
}

@media (max-width: 560px) {
  .tab-quiet .long {
    display: none;
  }

  .tab-quiet .short {
    display: inline;
  }
}

.work .elsewhere {
  margin-top: 12px;
}

.work .elsewhere a {
  color: var(--accent);
  font: 600 13px/1.4 var(--display);
}

.work .elsewhere a::after {
  content: "\00a0\2197";
}

.work details {
  margin-top: 12px;
}

.work summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font: 600 14px/1.4 var(--display);
  cursor: pointer;
  list-style: none;
}

.work summary::-webkit-details-marker {
  display: none;
}

.work summary::after {
  content: "+";
}

.work details[open] > summary::after {
  content: "\2212";
}

.work .points {
  color: var(--fg);
}

.work .points li::before {
  background-color: var(--muted);
}
