/* Open layouts for My Setup and Physical Projects. Media and interactive controls
   keep their existing dimensions, behavior, and registered object shadows. */
body.editorial-subpage {
  --editorial-rule: rgba(206, 226, 216, .16);
  --control-shadow: 0 4px 12px rgba(0, 0, 0, .3), 0 1px 3px rgba(0, 0, 0, .22);
}
.editorial-subpage .site-header,
.editorial-subpage .site-header.is-scrolled { border-color: transparent; box-shadow: 0 14px 44px #0002; }
.editorial-subpage .site-header .header-contact-link > span { display: none; }

/* Chapter navigation lives on the page, without a surrounding panel. */
.editorial-subpage .setup-chapters,
.editorial-subpage .projects-collections {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-subpage .setup-chapters { gap: 0 clamp(20px, 4vw, 56px); }
.editorial-subpage .setup-chapters a,
.editorial-subpage .setup-chapters a + a {
  min-height: 60px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(231, 224, 206, .22);
  border-radius: 0;
  background: none;
}
.editorial-subpage .setup-chapters a:is(:hover, :focus-visible) {
  color: #f4e4ca;
  border-bottom-color: #d4b494;
}
.editorial-subpage .projects-collections {
  margin-top: 0;
  padding: 32px 0;
  border-bottom: 1px solid var(--editorial-rule);
}
.editorial-subpage .projects-collections::before,
.editorial-subpage .projects-collections::after { display: none; }

/* Setup specifications read as an index and a list of disclosures. */
.editorial-subpage .setup-aside,
.editorial-subpage .spec-group,
.editorial-subpage .spec-group[open],
.editorial-subpage .keyboard-details > div,
.editorial-subpage .typing-sample.is-playing,
.editorial-subpage .pc-section .section-heading > p {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-subpage .setup-aside { padding-top: 0; }
.editorial-subpage .setup-aside::before,
.editorial-subpage .setup-aside::after,
.editorial-subpage .spec-group::before,
.editorial-subpage .spec-group::after,
.editorial-subpage .keyboard-details > div::before,
.editorial-subpage .keyboard-details > div::after { display: none; }
.editorial-subpage .setup-specs { gap: clamp(36px, 5vw, 76px); }
.editorial-subpage .spec-list { gap: 0 clamp(26px, 4vw, 54px); }
.editorial-subpage .spec-group,
.editorial-subpage .spec-group[open] { border-top: 1px solid var(--editorial-rule); }
.editorial-subpage .spec-group summary { padding-block: 24px; }
.editorial-subpage .spec-group li { border: 0; padding-block: 8px; }
.editorial-subpage .spec-group li + li { border-top: 1px solid rgba(204, 229, 218, .06); }
.editorial-subpage .pc-section .section-heading > p { padding-block: 0; }
.editorial-subpage .keyboard-details { column-gap: clamp(32px, 6vw, 84px); }
.editorial-subpage .keyboard-details > div { padding-top: 28px; border-top: 1px solid var(--editorial-rule); }
.editorial-subpage .typing-sample video { border-radius: 0; }

/* Keep the sticky year rail legible, with an underline for the active year. */
.editorial-subpage .timeline-years {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--editorial-rule);
  border-radius: 0;
  background: rgba(11, 20, 25, .96);
  box-shadow: none;
}
.editorial-subpage .timeline-years a {
  border-radius: 0;
  border-bottom: 1px solid transparent;
  background: none;
}
.editorial-subpage .timeline-years a:is(:hover, :focus-visible, [aria-current="location"]) {
  background: none;
  color: #ead3b6;
  border-bottom-color: #d4b494;
}
.editorial-subpage .history-overview {
  gap: 28px clamp(28px, 4vw, 60px);
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-subpage .history-overview::before,
.editorial-subpage .history-overview::after { display: none; }
.editorial-subpage .history-overview-details { padding: 12px 0 0; }
.editorial-subpage .history-scrubber { padding: 20px 0 0; }

/* Let object cutouts and their ground shadows occupy open space. */
.editorial-subpage.projects-page .personal-details,
.editorial-subpage.projects-page .project-cutout > .personal-details {
  height: auto;
  margin: 0;
  padding: 28px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-subpage.projects-page .personal-details::before,
.editorial-subpage.projects-page .personal-details::after { display: none; }
.editorial-subpage .personal-project-grid { row-gap: clamp(80px, 10vw, 140px); }
.editorial-subpage .project-cutout .personal-specs { gap: 22px 32px; }
.editorial-subpage .project-cutout .personal-specs dt { color: #a9bcb3; }
.editorial-subpage .project-cutout .personal-specs dd { color: #d0dad1; }
.editorial-subpage .projects-feature .projects-feature-glass {
  right: 0;
  bottom: -10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-subpage .projects-feature-glass::before,
.editorial-subpage .projects-feature-glass::after { display: none; }

@media (min-width: 1001px) {
  .editorial-subpage.projects-page .project-deathclaw > .personal-details { grid-column: 9 / -1; padding: 0; }
  .editorial-subpage.projects-page .project-adjutant > .personal-details { grid-column: 1 / 6; padding: 0; }
}
@media (max-width: 760px) {
  .editorial-subpage .projects-feature { height: auto; padding-top: clamp(350px, 88vw, 490px); }
  .editorial-subpage .projects-feature-model { height: clamp(350px, 88vw, 490px); }
  .editorial-subpage .projects-feature .projects-feature-glass {
    position: relative;
    inset: auto;
    width: auto;
    margin-top: 20px;
    padding: 0 5%;
  }
  .editorial-subpage .history-overview-details { padding: 0; }
  .editorial-subpage .history-overview { gap: 28px; }
}
@media (max-width: 700px) {
  .editorial-subpage .setup-aside { padding-bottom: 12px; margin-bottom: 32px; }
  .editorial-subpage.projects-page .project-adjutant > .personal-details { margin: 0; padding-top: 28px; }
}

/* Match the homepage's borderless control surfaces. Keep keyboard focus outlines
   and pressed-state fills so controls remain easy to recognize and operate. */
body.editorial-subpage :is(button, .button, .project-artstation,
  .personal-work-artstation, .project-view, .personal-work-expand,
  .writing-cover-expand, .software-badge, .history-scrubber select) {
  border: 0;
  box-shadow: var(--control-shadow);
}
body.editorial-subpage .button-light:hover { box-shadow: var(--control-shadow); }
body.editorial-subpage .image-expand::after,
body.editorial-subpage :is(.personal-gallery, .timeline-gallery,
  .battlestation-gallery, .pc-image-gallery, .keyboard-photos,
  .history-overview) .image-expand::after {
  border: 0;
  box-shadow: var(--control-shadow);
}
