:root {
  --ink: #241b25;
  --ink-soft: #3b2b3a;
  --paper: #fff7f1;
  --paper-warm: #fee4dd;
  --panel: #fffaf6;
  --panel-cool: #edfff9;
  --hot: #ff2fbb;
  --hot-dark: #c70082;
  --mint: #6df2d2;
  --blue: #273cff;
  --line: 2px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --cursor-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff7f1' stroke='%23241b25' stroke-width='2' d='M6 3l17 14-8 1 5 9-4 2-5-9-5 6z'/%3E%3Cpath fill='none' stroke='%23ff2fbb' stroke-width='2' d='M8 5l12 10'/%3E%3C/svg%3E") 6 3;
  --cursor-pointer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%236df2d2' stroke='%23241b25' stroke-width='2' d='M6 3l17 14-8 1 5 9-4 2-5-9-5 6z'/%3E%3Ccircle cx='23' cy='8' r='4' fill='%23ff2fbb' stroke='%23241b25' stroke-width='2'/%3E%3C/svg%3E") 6 3;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  cursor: var(--cursor-default), auto;
}

body {
  position: static;
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 17, 22, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(22, 17, 22, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

a,
button,
[role="button"],
[role="link"],
label[for="nav-trigger"] {
  cursor: var(--cursor-pointer), pointer;
}

a:focus-visible,
button:focus-visible,
label[for="nav-trigger"]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.site-wrap {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(22, 17, 22, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(22, 17, 22, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  position: relative;
}

.site-wrap > .left {
  grid-column: 1;
  width: 64px;
  max-width: 64px;
  min-height: 100vh;
  padding: 0;
  border-right: var(--line);
  background: var(--ink);
  position: sticky;
  top: 0;
  align-self: start;
  z-index: 3;
}

#side {
  width: 64px;
  height: auto;
  min-height: 100vh;
  position: static;
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.fa-stack.fa-lg {
  width: 42px;
  height: 42px;
  line-height: 42px;
}

.fa-circle {
  color: var(--paper);
}

.fa-stack-1x {
  color: var(--ink);
}

.site-wrap > .main {
  grid-column: 2;
  position: static;
  width: auto;
  min-width: 0;
  min-height: 100vh;
  height: auto;
  padding-left: 0;
  display: grid;
  grid-template-columns: clamp(9rem, 17vw, 13rem) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}

.grid-container.header {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-height: clamp(140px, 15vw, 188px);
  height: auto;
  max-height: none;
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: var(--line);
  background: var(--paper-warm);
  display: grid;
  grid-template-columns: clamp(96px, 12vw, 160px) minmax(0, 1fr) clamp(140px, 18vw, 250px);
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
}

#logo-box,
#rocket-box {
  position: relative;
  float: none;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  transform: none;
  display: flex;
  align-items: center;
  z-index: 1;
}

#logo-box {
  justify-content: center;
  cursor: pointer;
}

#logo-box:hover #logo,
#logo-box:focus-visible #logo {
  filter: drop-shadow(4px 4px 0 var(--hot));
}

#rocket-box {
  justify-content: flex-end;
}

#logo,
#rocket {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  float: none;
  display: block;
  margin: 0;
  max-width: 100%;
  object-fit: contain;
}

#logo {
  width: clamp(86px, 10vw, 132px);
  height: clamp(86px, 10vw, 132px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

#rocket {
  width: clamp(124px, 17vw, 230px);
  height: clamp(78px, 9vw, 124px);
  aspect-ratio: 2 / 1;
  animation-duration: 12s;
}

#head-logo {
  position: relative;
  top: auto;
  transform: none;
  float: none;
  padding: 0;
  text-align: center;
  width: auto;
  min-width: 0;
  z-index: 2;
}

#head-logo h1 {
  max-width: 8.8em;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.4rem, 5.6vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 5px 5px 0 var(--hot), 10px 10px 0 var(--mint);
}

#menu-nav {
  grid-column: 1;
  grid-row: 2;
  float: none;
  width: auto;
  height: auto;
  border-right: var(--line);
  background: var(--panel);
}

.menu.vertical {
  position: sticky;
  top: 0;
}

.menu a,
.menu button {
  margin-bottom: 0;
  padding: 1rem;
  min-height: 58px;
  display: flex;
  align-items: center;
  border-bottom: var(--line);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
  line-height: 1.05;
  text-shadow: none;
  text-transform: uppercase;
  background: transparent;
}

.menu .is-active > a,
.menu a:hover {
  color: var(--ink);
  background: var(--mint);
}

.big-section {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  display: block;
}

.content-section {
  width: min(1440px, 100%);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

#article-section {
  float: none;
  width: 100%;
  max-width: none;
  max-height: none;
  min-height: calc(100vh - 132px - 4rem);
  overflow: visible;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

#divMain {
  max-width: 100%;
}

#divMain > h1 {
  max-width: 11em;
}

#divMain > p:first-of-type {
  max-width: 82ch;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: var(--line);
  border-left: 0.7rem solid var(--mint);
  background: var(--panel-cool);
  box-shadow: 5px 5px 0 var(--ink);
}

@media screen and (min-width: 90rem) {
  #divMain > p:first-of-type {
    column-count: 2;
    column-gap: 2rem;
    max-width: 100%;
  }
}

#divMain > img:first-of-type {
  width: 100%;
  max-height: 540px;
  margin: 0 0 1.5rem !important;
  object-fit: cover;
  box-shadow: 7px 7px 0 var(--hot);
}

#divMain > .row-fluid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start;
  margin-top: 1.5rem;
}

#divMain > .row-fluid > .span4 {
  min-width: 0;
  padding: 1rem;
  border: var(--line);
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  align-content: start;
}

#divMain > .row-fluid > .span4 h2 {
  grid-column: 1 / -1;
  display: inline-block;
  justify-self: start;
  margin: 0 0 1rem;
  padding: 0.25rem 0.5rem;
  border: var(--line);
  background: var(--mint);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

#divMain > .row-fluid > .span4 iframe {
  grid-column: 1 / -1;
}

#divMain > .row-fluid > .span4 img {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 4px 4px 0 var(--ink);
}

#article-section h1,
#article-section h2,
#article-section h3 {
  color: var(--ink);
  letter-spacing: 0;
  text-shadow: none;
}

#article-section h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  margin: 0 0 1rem;
}

#article-section h2 {
  margin-top: 1.6rem;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

#article-section h3 {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.55rem;
  border: var(--line);
  background: var(--hot);
  color: var(--paper);
  font-size: clamp(1.15rem, 3vw, 2.1rem);
}

#article-section p,
#article-section li {
  color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.55;
  text-align: left;
}

#article-section img,
#article-section object,
.orbit-image {
  max-width: 100%;
  height: auto;
  border: var(--line);
  background: var(--paper);
}

#article-section iframe {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  height: auto;
  border: var(--line);
  background: var(--ink);
}

#thing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: 1rem;
  margin: 0;
}

#article {
  width: 100% !important;
  flex: none;
  max-width: none;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  border: var(--line);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
  min-width: 0;
  overflow: hidden;
}

#article:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--hot);
  background: var(--mint);
}

#article a {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.65rem;
  padding: 0.75rem;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}

#article p {
  margin: 0;
  font-size: clamp(0.78rem, 0.68vw, 0.88rem);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: none;
}

.name-article {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(120px, 10vw, 158px);
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(22, 17, 22, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(22, 17, 22, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 14px 14px;
  border: var(--line);
  overflow: hidden;
}

.name-article img {
  border: 0;
  background: transparent;
  max-height: clamp(104px, 9vw, 140px);
  max-width: 88%;
  width: auto;
}

.social-box {
  height: auto;
  overflow: visible;
  border: var(--line);
  background: var(--panel-cool);
  color: var(--ink);
  padding: 1rem;
  box-shadow: 6px 6px 0 var(--hot);
  position: sticky;
  top: 1rem;
}

.site-panel > p {
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.site-panel h2 {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.25rem 0.5rem;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.feature-links {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.feature-links a {
  display: block;
  padding: 0.55rem 0.65rem;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.feature-links a:hover {
  background: var(--mint);
  transform: translate(-1px, -1px);
}

.social-box::before {
  content: "";
  display: block;
  height: 0.7rem;
  margin: -1rem -1rem 1rem;
  border-bottom: var(--line);
  background: repeating-linear-gradient(
    90deg,
    var(--hot) 0 18px,
    var(--mint) 18px 36px,
    var(--paper-warm) 36px 54px
  );
}

.social-media {
  padding: 0 !important;
}

.social-media h2,
.widget h3 {
  color: var(--ink);
  margin-top: 0;
}

.widget h3,
.social-media h2 {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border: var(--line);
  background: var(--paper);
}

.widget ul.years {
  display: grid;
  gap: 0.8rem;
}

.widget ul.years > li:before {
  color: var(--hot-dark);
  font-weight: 800;
  font-size: 1.1rem;
}

.widget ul.years a {
  border-radius: 0;
  border: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-shadow: none;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}

.widget ul.years a:hover {
  color: var(--ink);
  background: var(--mint);
  transform: translate(-1px, -1px);
}

.title-box {
  width: min(760px, 100%);
}

.image {
  width: min(280px, 100%);
  height: auto;
}

.span4 img[style*="max-width:49%"] {
  width: calc(50% - 0.5rem);
  margin: 0.25rem;
  vertical-align: top;
}

.orbit-image {
  display: block;
  margin: 0 0 1rem;
}

.is-zoomable {
  cursor: zoom-in;
}

.is-zoomable:hover {
  filter: saturate(1.08) contrast(1.04);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(36, 27, 37, 0.86);
}

.image-lightbox.is-open {
  display: grid;
}

.image-lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border: var(--line);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--hot);
}

.image-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.6rem 0.8rem;
  border: var(--line);
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.image-lightbox__caption {
  margin: 1rem 0 0;
  color: var(--paper);
  font-weight: 800;
  text-align: center;
}

.video-expand {
  grid-column: 1 / -1;
  position: relative;
}

.video-expand iframe {
  width: 100%;
  max-width: none !important;
}

.video-expand__button {
  margin-top: 0.7rem;
  padding: 0.5rem 0.7rem;
  border: var(--line);
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(36, 27, 37, 0.88);
}

.video-lightbox.is-open {
  display: grid;
}

.video-lightbox iframe {
  width: min(1180px, 92vw);
  aspect-ratio: 16 / 9;
  height: auto;
  border: var(--line);
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--hot);
}

.video-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.6rem 0.8rem;
  border: var(--line);
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
}

.about-page {
  display: grid;
  gap: 1.25rem;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.about-portrait {
  width: 100%;
  max-width: 280px;
  justify-self: center;
  border: var(--line);
  background: var(--panel-cool);
  box-shadow: 7px 7px 0 var(--hot);
}

.about-intro {
  padding: 1rem 1.1rem;
  border: var(--line);
  border-left: 0.7rem solid var(--mint);
  background: var(--panel-cool);
  box-shadow: 5px 5px 0 var(--ink);
}

.about-intro p {
  margin-bottom: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-card {
  padding: 1rem;
  border: var(--line);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}

.about-card h2 {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.25rem 0.5rem;
  border: var(--line);
  background: var(--mint);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.about-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.about-card li + li {
  margin-top: 0.45rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-links a {
  padding: 0.55rem 0.7rem;
  border: var(--line);
  background: var(--paper);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.about-links a:hover {
  background: var(--mint);
}

@media screen and (min-width: 100rem) {
  .content-section {
    width: min(1560px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  }

  #article-section {
    padding: clamp(1.5rem, 2vw, 2.4rem);
  }

  #article-section p,
  #article-section li {
    font-size: clamp(1.06rem, 0.9vw, 1.22rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media screen and (max-width: 76rem) {
  .content-section {
    grid-template-columns: 1fr;
  }

  .social-box {
    max-width: none;
  }

  .social-media {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 58em) {
  .site-wrap {
    grid-template-columns: 1fr;
  }

  .site-wrap > .left {
    display: none;
  }

  .site-wrap > .main {
    grid-template-columns: 1fr;
  }

  .grid-container.header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-left: 4.5rem;
  }

  #logo-box {
    display: none;
  }

  #rocket-box {
    display: block;
  }

  #menu-nav {
    display: none;
  }

  .big-section {
    grid-column: 1;
  }

  #label-nav {
    display: block;
  }

  .navigation {
    display: block;
    width: 220px;
    background: var(--ink);
    padding-top: 4.5rem;
  }

  .navigation li {
    border: 0;
    border-bottom: 1px solid var(--paper);
    background: transparent;
    padding: 0;
  }

.navigation a {
    display: block;
    padding: 1rem;
    color: var(--paper);
    font-weight: 800;
    text-transform: uppercase;
  }

  .nav-item.is-active,
  .navigation a:hover {
    background: var(--hot);
  }

  label[for="nav-trigger"] {
    top: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    padding: 0.35rem;
    border: var(--line);
    background-color: var(--paper);
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 4px 4px 0 var(--hot);
  }

  .nav-trigger:checked + label {
    left: 236px;
  }

  .nav-trigger:checked ~ .site-wrap {
    left: 220px;
  }
}

@media screen and (max-width: 42rem) {
  .grid-container.header {
    grid-template-columns: 1fr;
    min-height: 112px;
  }

  #rocket-box {
    display: none;
  }

  #head-logo h1 {
    font-size: clamp(2rem, 13vw, 3.6rem);
  }

  .content-section {
    padding: 0.85rem;
  }

  #article-section {
    min-height: 0;
    box-shadow: 5px 5px 0 var(--ink);
  }

  #thing {
    grid-template-columns: 1fr;
  }

  .span4 img[style*="max-width:49%"] {
    width: 100%;
    margin: 0.5rem 0;
  }

  #divMain > .row-fluid {
    grid-template-columns: 1fr;
  }

  #divMain > .row-fluid > .span4 img {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 220px;
  }
}
