.page-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 20px 20px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.window-row {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.floating-box {
  flex: 0 0 400px;
}

.banner {
  width: min(600px, 100%);
  margin: 0;
  background: #c4c2ad;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
  overflow: hidden;
  align-self: flex-start;
  position: relative;
  z-index: 2;
  transform: rotate(-0.4deg);
}

.banner-titlebar {
  background: linear-gradient(180deg, #d9d6c1 0%, #bfbca8 100%);
  color: #30444f;
  padding: 8px 16px;
  font-weight: 600;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #8c876f;
}

.banner-title {
  font-size: 0.95rem;
}

.banner-controls {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding-right: 8px;
}

.banner-content {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 28px;
  background: linear-gradient(180deg, #dcd8c2 0%, #c4c2ad 100%);
  color: #4c6a77;
}

.banner-content h1 {
  margin: 0;
  color: #30444f;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.banner-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: #30444f;
  font: inherit;
  cursor: pointer;
  text-align: left;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.banner-link-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.banner-link-separator {
  font-size: 1rem;
  font-weight: 400;
  color: #70878f;
}

.banner-link-subtext {
  font-size: 0.8rem;
  font-weight: 400;
  color: #70878f;
  max-width: 32rem;
  letter-spacing: 0.01em;
}

.banner-link:hover,
.banner-link:focus-visible {
  color: #1d2d35;
  outline: none;
}

.project-panel {
  width: min(320px, calc(100vw - 80px));
  max-width: 320px;
  margin: 0;
  background: #c4c2ad;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18), 0 8px 14px rgba(26, 31, 33, 0.08);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

.project-panel[hidden] {
  display: none;
}

.project-panel-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(180deg, #d9d6c1 0%, #bfbca8 100%);
  border-bottom: 2px solid #8c876f;
  font-weight: 600;
}

.panel-close,
.project-window-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.project-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
}

.project-links button {
  background: transparent;
  border: 0;
  color: #30444f;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.project-links button:hover,
.project-links button:focus-visible {
  color: #1d2d35;
  outline: none;
}

.blog-tree {
  gap: 6px;
}

.blog-tree-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-tree-label,
.blog-tree-link {
  position: relative;
}

.blog-tree-label {
  color: #5b717a;
  font-size: 0.86rem;
  font-weight: 600;
  padding-left: 18px;
}

.blog-tree-label::before {
  content: "|-";
  position: absolute;
  left: 0;
  color: #8c876f;
}

.blog-tree-children {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 14px;
  padding-left: 12px;
  border-left: 1px dotted #8c876f;
}

.blog-tree-link {
  padding-left: 18px !important;
}

.blog-tree-link::before {
  content: "|-";
  position: absolute;
  left: 0;
  color: #8c876f;
}

.project-window {
  width: min(520px, calc(100vw - 80px - 320px - 24px));
  max-width: calc(100vw - 80px);
  margin: 0;
  background: #c4c2ad;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18), 0 8px 14px rgba(26, 31, 33, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 4;
  align-self: flex-start;
}

.pane-pop {
  animation: pane-pop 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pane-pop {
  0% {
    transform: translateY(6px) scale(0.985);
  }

  55% {
    transform: translateY(-2px) scale(1.008);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.project-window[hidden] {
  display: none;
}

.page-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 40px 40px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.content-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.project-window-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(180deg, #d9d6c1 0%, #bfbca8 100%);
  border-bottom: 2px solid #8c876f;
  font-weight: 600;
}

.project-window-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #30444f;
  line-height: 1.5;
}

.project-window-body p,
.project-window-body li,
.project-window-body a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.project-window-body p {
  margin: 0;
}

.pane-code-block {
  margin: 0;
  padding: 14px 16px;
  background: #dad6bf;
  border: 1px solid #8c876f;
  color: #263942;
  font: 0.9rem/1.45 "Courier New", Courier, monospace;
  overflow-x: auto;
  white-space: pre;
}

.pane-code-block code {
  font: inherit;
}

.project-meta {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-meta a {
  color: #30444f;
  text-decoration: underline;
}

.banner-content p {
  margin: 0;
  font-size: 1rem;
  color: #4c6a77;
}

body {
  margin: 0;
  background: #90ADA5;
  color: #1f1f1f;
  min-height: 100vh;
  overflow-x: hidden;
}

.about-window-body {
  gap: 18px;
}

.about-intro-window,
.about-disclaimer-window,
.about-image-window {
  width: min(320px, calc(100vw - 80px));
}

.about-secondary-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  flex: 0 0 100%;
  align-items: flex-start;
}

.about-secondary-group[hidden] {
  display: none;
}

.about-disclaimer-window {
  order: -1;
  width: min(640px, calc(100vw - 80px));
  max-width: min(640px, calc(100vw - 80px));
  flex: 0 0 100%;
}

.about-intro p {
  margin: 0 0 8px;
}

.about-highlights h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.about-history h3,
.about-skills h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.about-highlights ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-history ul,
.about-skills ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-disclaimer-banner {
  margin-top: 2px;
  padding: 10px 12px;
  border: 2px solid #8c876f;
  background: #e3ddc8;
  color: #4e636d;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.35;
}

.about-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-photo-frame {
  margin: 0;
  border: 2px solid #30444f;
  background: #e7e1cc;
  padding: 10px;
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}


.photo-placeholder {
  border: 2px solid #30444f;
  background: #e7e1cc;
  min-height: 220px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.photo-placeholder span {
  font-weight: 600;
  font-size: 1rem;
}

.photo-placeholder p {
  margin: 0;
  max-width: 24rem;
  font-size: 0.9rem;
  color: #30444f;
}
