@charset "UTF-8";
:root { --room-paper: #f5f0e7; --room-muted: #b2aaae; --room-code: #bbb2bd; }
body.room-site { background: #121011; }
:root[data-theme="light"] body.room-site { background: #f3eee6; }

.header-wrap { background: linear-gradient(var(--bg), transparent); }
.site-header { min-height: 64px; }
.theme-toggle { width: 38px; height: 38px; }
.room-label { color: var(--orange-ink); font: 700 10px/1.5 Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.desk-hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 20px; min-height: 490px; padding-block: 64px 48px; }
.desk-hero-copy { min-width: 0; position: relative; z-index: 2; }
.command-path { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; color: var(--muted); font: 400 11px/1.5 Consolas, monospace; }
.command-path > span { color: var(--orange-ink); }
.desk-hero h1 { font-size: clamp(47px, 5.5vw, 80px); line-height: 1.02; font-weight: 800; letter-spacing: -.065em; white-space: nowrap; }
.desk-hero h1 > span:first-child { color: var(--orange); font-size: 1.13em; }

.desk-lead { max-width: 520px; margin-top: 26px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.desk-actions .button { border-radius: 999px; min-height: 50px; font-size: 12px; padding-inline: 22px; }
.room-return { background: var(--glass-soft); border-color: var(--line); color: var(--text); }
.room-return:hover { border-color: var(--orange-ink); background: var(--surface-raised); }
.hero-developer { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 19px; border-top: 1px solid var(--line); }
.hero-developer .developer-prompt { color: var(--orange-ink); font: 300 24px/1 Consolas, monospace; }
.hero-developer strong { display: block; font-size: 12px; }
.hero-developer small { display: block; margin-top: 4px; color: var(--muted); font: 400 10px/1.5 Consolas, monospace; }
.hero-developer > i { font-size: 19px; color: var(--orange-ink); margin-left: 15px; }

kbd { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 5px; color: var(--orange-ink); font: 600 10px/1 Consolas, monospace; }
.stack-ticker { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 14px 22px; padding-block: 18px; border-block: 1px solid var(--line); color: var(--muted); font: 500 10px/1.5 Consolas, monospace; }
.stack-ticker span { white-space: nowrap; }
.room-projects, .room-team { padding-block: 65px 25px; }
.room-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.room-section-heading h2 { margin-top: 10px; font-size: clamp(34px, 3.6vw, 49px); }
.room-section-heading > a { font-size: 11px; gap: 12px; }
.compact-project-grid, .room-site .project-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 355px)); align-items: start; gap: 22px; }
.compact-project-card { border-radius: 18px; background: var(--glass); border-color: var(--line); box-shadow: none; }
.compact-project-card:hover { transform: translateY(-5px); border-color: #b8865266; }
.compact-project-card .project-art { display: block; aspect-ratio: 1.7; border-bottom: 0; overflow: hidden; }
.compact-project-card .project-art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.compact-project-card:hover .project-art > img { transform: scale(1.045); }
.compact-card-arrow { display: grid; place-items: center; position: absolute; bottom: 13px; right: 13px; width: 32px; height: 32px; border: 1px solid #ffe1ba50; border-radius: 50%; background: #151111b8; color: #fff3df; font-size: 20px; backdrop-filter: blur(8px); }
.compact-project-card .project-row-content { padding: 22px; }
.compact-category { margin-bottom: 7px; color: var(--orange-ink); font: 500 8px/1.4 Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; }
.compact-project-card h3 { font-size: 24px; letter-spacing: -.04em; }
.compact-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 11px; color: var(--muted); font-size: 11px; line-height: 1.8; min-height: 59px; }
.compact-project-card .tech-list { gap: 5px; margin-top: 14px; }
.compact-project-card .tech-list > span { padding: 4px 7px; font-size: 8px; }
.compact-project-card .project-open { margin-top: 18px; padding-top: 14px; font-size: 10px; }
.compact-demo { position: absolute; top: 12px; left: 12px; background: #151111df; }
.room-profile { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; padding-block: 85px 40px; }
.room-profile-copy h2 { margin-top: 15px; font-size: clamp(35px, 3.6vw, 49px); }
.room-profile-role { margin-top: 22px; margin-bottom: 12px; font-size: 17px; font-weight: 700; }
.room-profile-copy > .muted { font-size: 13px; max-width: 450px; }
.room-profile-copy > .text-link { margin-top: 24px; }
.portfolio-terminal { min-width: 0; border: 1px solid #7053377a; border-radius: 13px; overflow: hidden; background: #111013ed; box-shadow: 0 25px 55px #0003; }
.terminal-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 17px; border-bottom: 1px solid #342d33; color: #b5abb9; background: #1b171b; font: 400 10px/1.5 Consolas, monospace; }
.terminal-titlebar > span:first-child { display: flex; gap: 5px; }
.terminal-titlebar > span:first-child > i { width: 7px; height: 7px; border-radius: 50%; background: #67535a; }
.terminal-titlebar > span:first-child > i:first-child { background: #ea8465; }
.terminal-titlebar > span:first-child > i:nth-child(2) { background: #d5aa6c; }
.terminal-titlebar > span:first-child > i:nth-child(3) { background: #8da781; }
.terminal-shortcuts { display: flex; gap: 5px; padding: 10px 14px 0; }
.terminal-shortcuts button { min-height: 32px; padding: 5px 9px; border: 1px solid #3b3039; border-radius: 5px; background: transparent; color: #d5bc9c; font: 400 10px/1.4 Consolas, monospace; }
.terminal-shortcuts button:hover { background: #ff8a0017; border-color: #8b623a; }
.terminal-output { padding: 20px 20px 10px; min-height: 180px; max-height: 260px; overflow: auto; color: #e0d8df; font: 400 11px/1.85 Consolas, monospace; overflow-wrap: anywhere; scrollbar-width: thin; }
.terminal-output p { margin-bottom: 8px; white-space: pre-wrap; }
.terminal-output .terminal-command { margin-top: 10px; color: #ffa34c; }
.terminal-comment { color: #918692; }
.terminal-input-row { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid #302830; font: 400 11px/1.5 Consolas, monospace; }
.terminal-input-row label { color: #ab9daf; white-space: nowrap; }
.terminal-input-row label > span { color: #ffa34c; }
.terminal-input-row input { width: 100%; min-width: 0; height: 30px; padding: 0; border: 0; background: transparent; color: #f4eae1; font: inherit; outline-offset: 3px; }
.terminal-input-row > button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 5px; background: #ff8b0012; color: #ffb165; }
.terminal-hint { padding: 0 18px 12px; color: #807582; font: 400 8px/1.5 Consolas, monospace; }
.room-site .member-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 330px)); gap: 23px; }
.room-site .member-card.is-enhanced .member-card-body { min-height: 395px; }
.room-site .member-card-visual { height: 195px; }
.room-site .member-card-info { padding: 22px 22px 52px; }
.room-site .member-card-back { padding: 25px 22px 55px; }
.room-site .card-flip-hint { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.room-site .member-card:hover .card-flip-hint, .room-site .member-card:focus-within .card-flip-hint { opacity: 1; transform: none; }
.room-site .member-card.is-enhanced:not(.is-flipped):hover .member-card-body { transform: translateX(3px) rotateY(-8deg); }
.room-site .member-card.is-enhanced.is-flipped .member-card-body { transform: rotateY(180deg); }
.room-contact { margin-top: 65px; padding-block: 40px 75px; border-top: 1px solid var(--line); }
.room-contact > div { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 15px; }
.room-contact h2 { font-size: clamp(40px, 5vw, 65px); line-height: 1.05; }
.room-contact .button { border-radius: 999px; }

@media (max-width: 1100px) {
  .desk-hero { grid-template-columns: 1.1fr 1fr; padding-top: 45px; gap: 0; }
  .desk-hero h1 { font-size: 5.6vw; }
  .desk-lead { font-size: 14px; }

  .desk-actions .button { font-size: 10px; padding-inline: 17px; }
  .room-profile { gap: 40px; }
}
@media (max-width: 800px) {
  .desk-hero { min-height: 0; padding-block: 45px 35px; }

  .room-profile { grid-template-columns: 1fr; gap: 30px; padding-top: 70px; }
  .room-profile-copy { max-width: 560px; }
  .room-profile-copy h2 { font-size: 42px; }
}
@media (max-width: 640px) {
  .desk-hero { grid-template-columns: 1fr; padding-top: 30px; gap: 27px; }
  .desk-hero h1 { font-size: clamp(37px, 10vw, 61px); }
  .command-path { margin-bottom: 18px; font-size: 10px; }
  .desk-lead { margin-top: 18px; max-width: 330px; font-size: 13px; }
  .desk-actions { gap: 9px; margin-top: 22px; }
  .desk-actions .button { min-height: 45px; padding: 11px 16px; font-size: 10px; gap: 8px; }
  .desk-actions .button > i { font-size: 17px; }
  .hero-developer { margin-top: 23px; padding-top: 16px; }
  .hero-developer strong { font-size: 11px; }
  .hero-developer small { font-size: 9px; }

  .stack-ticker { justify-content: flex-start; gap: 12px 17px; font-size: 9px; }
  .room-projects, .room-team { padding-top: 48px; }
  .room-section-heading { gap: 18px; margin-bottom: 23px; }
  .room-section-heading h2 { font-size: 34px; }
  .room-section-heading > a { font-size: 9px; white-space: nowrap; gap: 6px; }
  .compact-project-grid, .room-site .project-list { grid-template-columns: 1fr; gap: 20px; }
  .compact-project-card .project-row-content { padding: 20px; }
  .compact-summary { -webkit-line-clamp: 2; min-height: 39px; }
  .room-profile { padding-top: 55px; }
  .room-profile-copy h2 { font-size: 36px; }
  .room-profile-role { font-size: 15px; }
  .terminal-shortcuts { gap: 4px; padding-inline: 10px; }
  .terminal-shortcuts button { padding-inline: 7px; font-size: 9px; }
  .terminal-output { padding-inline: 15px; font-size: 10px; }
  .terminal-input-row { padding-inline: 12px; }
  .room-contact { margin-top: 40px; padding-bottom: 55px; }
  .room-contact > div { display: block; }
  .room-contact h2 { font-size: 42px; }
  .room-contact .button { margin-top: 25px; }
}
@media (hover: none) {
  .room-site .member-card.is-enhanced:hover .member-card-body { transform: none; }
  .room-site .member-card.is-enhanced.is-flipped .member-card-body { transform: rotateY(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .room-site .member-card.is-enhanced:not(.is-flipped):hover .member-card-body { transform: none; }
}
