/* Persistent explorer navigation; no top bar and no clipped page content. */
:root {
  --sidebar-width: 216px;
}
.portfolio-frame {
  padding-left: var(--sidebar-width);
}
.site-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  height: 100dvh;
  z-index: 30;
  background: #151a17;
  border-right: 1px solid #303a2e;
  display: flex;
  flex-direction: column;
  padding: 30px 0 22px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #70855f #151a17;
}
.site-sidebar::-webkit-scrollbar {
  width: 8px;
}
.site-sidebar::-webkit-scrollbar-track {
  background: #151a17;
}
.site-sidebar::-webkit-scrollbar-thumb {
  background: #70855f;
  border: 2px solid #151a17;
  border-radius: 999px;
}
.site-sidebar::-webkit-scrollbar-thumb:hover {
  background: #b7d88c;
}
.site-sidebar::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
@media (forced-colors: active) {
  .site-sidebar {
    scrollbar-color: auto;
    scrollbar-width: auto;
  }
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 23px 48px;
  color: #e4ebdf;
}
.sidebar-logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #23301d;
  border: 1px solid #657956;
  border-radius: 5px;
  color: #c7ed9b;
  font: 700 21px var(--mono);
  flex-shrink: 0;
}
.sidebar-wordmark {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.07em;
}
.sidebar-wordmark > span {
  color: #b7d88c;
}
.sidebar-heading {
  display: flex;
  justify-content: space-between;
  padding: 0 23px 13px;
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  color: #7b8f71;
}
.site-sidebar #primary-nav {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
  margin: 0;
}
.site-sidebar #primary-nav > .sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  border: 0;
  border-left: 2px solid transparent;
  padding: 10px 22px;
  font: 12px/1.4 var(--mono);
  color: #a0b096;
  border-radius: 0;
  margin: 0;
  background: transparent;
}
.site-sidebar #primary-nav > .sidebar-link:after {
  display: none;
}
.site-sidebar #primary-nav > .sidebar-link:hover {
  background: #202a1e;
  color: #d7e7c9;
}
.site-sidebar #primary-nav > .sidebar-link[aria-current="page"] {
  background: #273420;
  border-left-color: #b9e58a;
  color: #d9efc5;
}
.sidebar-icon {
  width: 21px;
  text-align: center;
  font-size: 13px;
  color: #91ad7c;
  flex-shrink: 0;
}
.sidebar-file {
  margin-left: auto;
  font-size: 10px;
  color: #778f68;
}
.sidebar-label {
  white-space: nowrap;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 40px 23px 0;
}
.sidebar-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 10px var(--mono);
  color: #a0b28e;
  margin: 0 0 18px;
}
.sidebar-location > span:last-child {
  color: #738667;
  margin-left: auto;
  font-size: 9px;
}
.sidebar-location .status-dot {
  width: 5px;
  height: 5px;
}
.sidebar-cv {
  display: flex;
  gap: 11px;
  align-items: center;
  font: 11px var(--mono);
  color: #bfdaa5;
  border: 1px solid #415735;
  border-radius: 4px;
  min-height: 39px;
  padding: 9px 12px;
}
.sidebar-cv:hover {
  background: #26351f;
}
.sidebar-cv > span:first-child {
  font-size: 15px;
}
.sidebar-credit {
  display: block;
  margin-top: 22px;
  font: 9px/1.8 var(--mono);
  color: #73886a;
}
.sidebar-toggle {
  display: none;
}
.sidebar-backdrop {
  display: none;
}
.shell {
  width: min(1240px, calc(100% - 80px));
}
.is-home-view {
  min-height: 100svh;
}
.is-home-view #main {
  min-height: 0;
}
.is-home-view .hero {
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding-block: 28px;
}
.is-home-view .hero:before {
  display: none;
}
.is-home-view .hero h1 {
  font-size: clamp(40px, 4.1vw, 61px);
  line-height: 1.06;
  margin: 20px 0;
}
.is-home-view .hero-description {
  font-size: 14px;
  line-height: 1.8;
  max-width: 470px;
}
.is-home-view .hero .availability {
  font-size: 9px;
}
.is-home-view .home-track-record {
  margin-top: 19px;
  padding-top: 15px;
}
.is-home-view .home-metrics {
  gap: 9px 22px;
}
.is-home-view .home-metrics strong {
  font-size: 19px;
}
.is-home-view .hero .actions {
  margin-top: 22px;
  gap: 22px;
}
.is-home-view .button {
  min-height: 43px;
  padding: 11px 18px;
  font-size: 11px;
}
.is-home-view .actions .text-link {
  font-size: 11px;
}
.is-home-view .hero-art {
  max-width: 550px;
}
.is-home-view .terminal-code {
  font-size: 11px;
  line-height: 1.9;
  padding: 20px;
}
.is-home-view .terminal-header {
  padding: 11px 15px;
  font-size: 9px;
}
.is-home-view .terminal-success {
  font-size: 10px;
  margin-top: 10px;
  padding-top: 11px;
}
.is-home-view .art-stamp {
  font-size: 8px;
  padding-bottom: 11px;
}
.is-home-view .hero-photo {
  padding: 13px 0;
}
.is-home-view .hero-photo img {
  width: 31px;
  height: 31px;
}
.is-home-view .hero-photo strong {
  font-size: 11px;
}
.is-home-view .hero-photo div > span {
  font-size: 9px;
}
.is-home-view .art-coordinate {
  font-size: 7px;
}
.is-home-view .footer-bottom {
  padding: 15px 0;
  font-size: 9px;
}
.is-home-view .footer-bottom > div {
  gap: 18px;
  font-size: 9px;
}
.is-home-view .footer-bottom a[download] {
  display: none;
}
@media (min-width: 901px) and (max-height: 690px) {
  .is-home-view .hero {
    padding-block: 18px;
    gap: 35px;
  }
  .is-home-view .hero h1 {
    font-size: 42px;
    margin: 15px 0;
  }
  .is-home-view .hero-description {
    font-size: 13px;
    line-height: 1.65;
  }
  .is-home-view .home-track-record {
    margin-top: 14px;
    padding-top: 12px;
  }
  .is-home-view .home-metrics {
    margin-top: 8px;
    font-size: 10px;
  }
  .is-home-view .record-date {
    margin-top: 6px;
    font-size: 9px;
  }
  .is-home-view .hero .actions {
    margin-top: 17px;
  }
  .is-home-view .terminal-code {
    font-size: 10px;
    padding: 17px;
    line-height: 1.8;
  }
  .is-home-view .terminal-success {
    font-size: 9px;
  }
  .is-home-view .hero-photo {
    padding: 10px 0;
  }
  .sidebar-brand {
    margin-bottom: 30px;
  }
  .site-sidebar {
    padding-top: 23px;
  }
  .sidebar-bottom {
    padding-top: 22px;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  :root {
    --sidebar-width: 186px;
  }
  .shell {
    width: calc(100% - 56px);
  }
  .is-home-view .hero {
    gap: 30px;
  }
  .is-home-view .hero h1 {
    font-size: 44px;
  }
  .sidebar-brand {
    margin-inline: 18px;
  }
  .site-sidebar #primary-nav > .sidebar-link {
    padding-inline: 17px;
    font-size: 11px;
    gap: 9px;
  }
  .sidebar-bottom {
    padding-inline: 18px;
  }
  .sidebar-file {
    display: none;
  }
  .sidebar-wordmark {
    font-size: 22px;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar-width: 58px;
  }
  .shell {
    width: calc(100% - 38px);
  }
  .site-sidebar {
    width: 58px;
    padding: 17px 0 15px;
    overflow: visible;
    transition: width 0.16s;
  }
  .sidebar-brand {
    margin: 0 0 22px;
    justify-content: center;
    gap: 0;
  }
  .sidebar-logo {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .sidebar-wordmark,
  .sidebar-heading,
  .sidebar-label,
  .sidebar-file,
  .sidebar-location,
  .sidebar-credit {
    display: none;
  }
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: none;
    border: 0;
    color: #bfd5ac;
    width: 100%;
    height: 44px;
    padding: 0;
    margin-bottom: 15px;
    font-size: 20px;
  }
  .site-sidebar #primary-nav {
    gap: 7px;
  }
  .site-sidebar #primary-nav > .sidebar-link {
    justify-content: center;
    padding: 10px 0;
    min-height: 44px;
    gap: 0;
  }
  .sidebar-icon {
    font-size: 15px;
    width: 24px;
  }
  .sidebar-bottom {
    padding: 25px 0 0;
    display: flex;
    justify-content: center;
  }
  .sidebar-cv {
    justify-content: center;
    width: 36px;
    height: 39px;
    padding: 5px;
    border-color: #405435;
  }
  .sidebar-cv > span:first-child {
    font-size: 18px;
  }
  .site-sidebar.is-open {
    width: 224px;
    box-shadow: 15px 0 50px #0005;
  }
  .site-sidebar.is-open .sidebar-label,
  .site-sidebar.is-open .sidebar-wordmark {
    display: inline;
  }
  .site-sidebar.is-open .sidebar-brand {
    justify-content: flex-start;
    gap: 10px;
    margin-left: 20px;
  }
  .site-sidebar.is-open .sidebar-toggle {
    justify-content: flex-start;
    padding-left: 25px;
    font: 12px var(--mono);
  }
  .site-sidebar.is-open .sidebar-toggle > span:first-child {
    font-size: 23px;
  }
  .site-sidebar.is-open #primary-nav > .sidebar-link {
    justify-content: flex-start;
    padding-left: 20px;
    gap: 12px;
  }
  .site-sidebar.is-open .sidebar-bottom {
    padding-inline: 20px;
  }
  .site-sidebar.is-open .sidebar-cv {
    width: 100%;
    justify-content: flex-start;
    padding-left: 12px;
  }
  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: #0008;
    border: 0;
    padding: 0;
  }
  .is-home-view .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 32px;
  }
  .is-home-view .hero h1 {
    font-size: clamp(35px, 7.2vw, 56px);
    margin: 19px 0;
  }
  .is-home-view .hero-description {
    font-size: 14px;
  }
  .is-home-view .home-metrics {
    gap: 10px 18px;
  }
  .is-home-view .hero .actions {
    gap: 18px;
  }
  .is-home-view .hero-art {
    width: 100%;
    margin: 0;
  }
  .is-home-view #main {
    display: block;
  }
  .is-home-view .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding-block: 17px;
  }
  .is-home-view .footer-bottom > div {
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-footer .footer-top {
    flex-wrap: wrap;
  }
  .about-intro,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-card:first-child,
  .work-card:last-child {
    grid-column: auto;
    display: flex;
    flex-direction: column;
  }
  .work-card:first-child .work-visual,
  .work-card:last-child .work-visual {
    border-right: 0;
    border-bottom: 1px solid #394c31;
  }
  .work-card-copy,
  .work-card:first-child .work-card-copy {
    align-self: stretch;
  }
  .page-layout > h1,
  .work-archive h1,
  .case-heading h1 {
    font-size: clamp(33px, 6vw, 48px);
  }
}
@media (max-width: 400px) {
  .shell {
    width: calc(100% - 26px);
  }
  .is-home-view .hero h1 {
    font-size: 34px;
  }
  .is-home-view .hero .availability {
    font-size: 8px;
  }
  .is-home-view .hero-description {
    font-size: 13px;
  }
  .is-home-view .home-metrics {
    gap: 8px 13px;
    font-size: 9px;
  }
  .is-home-view .home-metrics strong {
    font-size: 17px;
  }
  .is-home-view .record-date {
    font-size: 8px;
  }
  .is-home-view .hero .actions {
    gap: 15px;
  }
  .is-home-view .hero .actions .text-link {
    font-size: 10px;
  }
  .is-home-view .terminal-code {
    padding: 13px;
    font-size: 9px;
  }
  .is-home-view .terminal-header {
    font-size: 8px;
    padding: 10px;
  }
  .is-home-view .art-stamp {
    font-size: 7px;
  }
  .is-home-view .terminal-success {
    font-size: 8px;
  }
  .hero-photo .signature-arrow {
    display: none;
  }
  .contact-aside {
    padding: 20px;
  }
  .email-link {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-sidebar {
    transition: none;
  }
}

/* Compact public contribution history: supporting evidence within the home hero. */
.home-contributions {
  margin-top: 18px;
  border-top: 1px solid #33422c;
  padding-top: 14px;
}
.contributions-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 10px/1.5 var(--mono);
  color: #acbd9e;
  margin: 0 0 9px;
}
.contribution-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.contribution-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #293525;
  color: #cad8bf;
  text-decoration: none;
}
.contribution-links a:hover {
  color: #d1f3ad;
  border-color: #92b676;
}
.contribution-links strong {
  font: 500 18px var(--mono);
  color: #c4eaa1;
}
.contribution-links a > span {
  font-size: 11px;
  line-height: 1.4;
}
.contribution-links small {
  display: block;
  font-size: 9px;
  color: #8c9f7e;
}
.contribution-links .contribution-arrow {
  margin-left: auto;
  color: #a6c78b;
}
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 24px;
  z-index: 20;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #71865e;
  border-radius: 8px;
  background: #22301e;
  color: #d2efb6;
  box-shadow: 0 5px 20px #0005;
  cursor: pointer;
}
.back-to-top:hover {
  background: #34462b;
  transform: translateY(-2px);
}
.back-to-top:focus-visible {
  outline: 2px solid #c4eaa1;
  outline-offset: 4px;
}
@media (min-width: 901px) and (max-height: 690px) {
  .home-contributions {
    margin-top: 10px;
    padding-top: 9px;
  }
  .contributions-label {
    margin-bottom: 4px;
  }
  .contribution-links a {
    padding-block: 6px;
  }
  .contribution-links strong {
    font-size: 16px;
  }
}
@media (max-width: 400px) {
  .contribution-links {
    gap: 0 10px;
  }
  .contribution-links a {
    gap: 6px;
  }
  .contribution-links strong {
    font-size: 15px;
  }
  .contribution-links a > span {
    font-size: 10px;
  }
  .contribution-links small {
    font-size: 8px;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

.hero-photo img {
  border-radius: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.about-portrait {
  border-radius: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Initial HTML placeholder, replaced when Vue mounts. */
.boot-skeleton {
  min-height: 100svh;
  padding-left: var(--sidebar-width);
  background: #101415;
}
.boot-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  padding: 35px 23px;
  background: #151a17;
  border-right: 1px solid #303a2e;
}
.boot-rail span {
  display: block;
  height: 12px;
  width: 65%;
  margin: 34px 0;
  background: #263025;
  border-radius: 4px;
}
.boot-rail .boot-mark {
  width: 32px;
  height: 32px;
  margin: 0 0 70px;
}
.boot-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: 60px 40px;
  max-width: 1500px;
  margin: auto;
}
.boot-line {
  display: block;
  height: 12px;
  width: 100%;
  margin: 16px 0;
  border-radius: 4px;
  background: #263025;
}
.boot-copy .boot-eyebrow {
  width: 55%;
  height: 8px;
  margin-bottom: 34px;
}
.boot-copy .boot-title {
  height: clamp(32px, 4vw, 58px);
  width: 65%;
  margin: 12px 0;
}
.boot-copy .boot-accent {
  width: 95%;
  background: #303e28;
  margin-bottom: 32px;
}
.boot-short {
  width: 72%;
}
.boot-metrics {
  display: flex;
  gap: 24px;
  border-top: 1px solid #293127;
  margin-top: 30px;
  padding-top: 24px;
}
.boot-metrics span {
  width: 72px;
  height: 34px;
  background: #263025;
  border-radius: 4px;
}
.boot-button {
  display: block;
  width: 162px;
  height: 44px;
  margin-top: 30px;
  background: #303e28;
  border-radius: 5px;
}
.boot-terminal {
  padding: 40px 28px;
  border: 1px solid #303a2e;
  border-radius: 8px;
  background: #181e19;
}
.boot-terminal .boot-line {
  margin: 24px 0;
}
.boot-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 250px;
  margin: 25px auto;
}
.boot-profile > span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #263025;
  flex-shrink: 0;
}
.boot-layout {
  animation: boot-breathe 1.8s ease-in-out infinite alternate;
}
@keyframes boot-breathe {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .boot-rail {
    padding: 20px 13px;
  }
  .boot-rail span {
    width: 20px;
  }
  .boot-layout {
    display: block;
    padding: 48px 20px;
  }
  .boot-copy {
    max-width: 600px;
    margin: auto;
  }
  .boot-visual {
    max-width: 600px;
    margin: 48px auto 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-layout {
    animation: none;
  }
}
