.site-footer {
  display: block;
  padding: 75px max(6%, calc((100% - 1350px)/2)) 100px;
  background: radial-gradient(ellipse at 0 0, #10233c80, transparent 55%), #060b13;
  border-top: 1px solid #294162;
  color: #a9bad3;
  font-family: var(--space);
  font-size: 13px;
  letter-spacing: 0
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 48px;
  border-bottom: 1px solid #294162
}
.footer-top .eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  color: #849fbe
}
.footer-top h2 {
  font: 600 clamp(32px, 4.5vw, 60px)/1.2 var(--orbit);
  margin-top: 22px;
  color: #e2eaf6
}
.footer-top .cyber-button {
  min-height: 50px
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1fr;
  gap: 60px;
  padding: 45px 0
}
.footer-name {
  font: 600 23px var(--orbit);
  color: #d3e5ff
}
.footer-identity p {
  font-size: 14px;
  max-width: 340px;
  line-height: 1.8;
  margin: 20px 0
}
.footer-identity > span {
  color: #8aa1bf;
  font-size: 12px
}
.site-footer h3 {
  font: 500 10px var(--space);
  letter-spacing: 2px;
  color: #7c99bf;
  margin-bottom: 18px
}
.site-footer .footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: auto;
  order: initial
}
.footer-grid a:not(.footer-name) {
  display: block;
  font-size: 13px;
  color: #b9cbe3;
  padding: 9px 0;
  min-height: 36px;
  overflow-wrap: anywhere
}
.site-footer a:hover {
  color: #fff
}
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding-top: 25px;
  border-top: 1px solid #294162;
  color: #8297b4;
  font-size: 11px
}
.footer-bottom > span {
  margin-right: auto
}
.footer-bottom a, .footer-bottom button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 11px
}
.sound-notice {
  position: fixed;
  z-index: 240;
  bottom: 28px;
  left: 28px;
  width: min(400px, calc(100vw - 40px));
  padding: 27px;
  background: #081321f5;
  border: 1px solid #658ab775;
  box-shadow: 0 12px 70px #0009;
  backdrop-filter: blur(20px)
}
.sound-notice[hidden] {
  display: none
}
.sound-notice .eyebrow {
  color: #8bb6ed;
  letter-spacing: 2px;
  font-size: 8px
}
.sound-notice h2 {
  font: 500 20px/1.4 var(--orbit);
  margin: 15px 0 10px
}
.sound-notice p {
  font-size: 13px;
  color: #a3b5ce;
  line-height: 1.7
}
.sound-notice > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px
}
.sound-notice button {
  min-height: 44px;
  padding: 12px;
  font: 10px var(--space);
  border: 1px solid #355476
}
.sound-notice #enable-sound {
  background: #8cbcff;
  color: #051225;
  border-color: #8cbcff
}
.sound-notice #sound-feedback:empty {
  display: none
}
.sound-notice #sound-feedback {
  margin-top: 15px
}
.tools-section .page-heading h2 {
  font: 600 clamp(28px, 4vw, 50px)/1.2 var(--orbit);
  margin: 25px 0
}
.project-card {
  display: block;
  cursor: pointer;
  text-align: left
}
.hold-label i {
  background: #081932
}
.site-footer .footer-grid > * {
  min-width: 0
}
@media(max-width:800px) {
  .footer-grid {
    gap: 28px;
    grid-template-columns: 1.2fr 1fr
  }
  .footer-identity {
    grid-column: 1/-1
  }
  .footer-top h2 {
    font-size: 38px
  }
  .site-footer {
    padding-inline: 6%
  }
}
@media(max-width:500px) {
  .site-footer {
    padding: 55px 20px 90px
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 35px;
    gap: 25px
  }
  .footer-top h2 {
    font-size: clamp(28px, 8.5vw, 40px)
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px 0
  }
  .footer-grid a:not(.footer-name) {
    min-height: 44px;
    font-size: 14px
  }
  .site-footer .footer-grid nav {
    display: grid;
    grid-template-columns: 1fr 1fr
  }
  .site-footer .footer-grid nav h3 {
    grid-column: 1/-1
  }
  .footer-bottom {
    gap: 10px 24px
  }
  .footer-bottom > span {
    width: 100%
  }
  .sound-notice {
    bottom: 85px;
    left: 20px;
    padding: 22px
  }
  .sound-notice h2 {
    font-size: 18px
  }
  .sound-notice > div {
    gap: 8px
  }
  .sound-notice button {
    font-size: 9px
  }
}
/* Reversible in-screen contact chapter. */
.laptop-sequence {
  height: 460svh
}
.laptop-sticky {
  min-height: 0
}
.laptop-scene {
  width: min(84vw, 1000px);
  height: min(58svh, 590px);
  aspect-ratio: auto;
  margin-top: 100px
}
.laptop-device {
  transform: translateY(0) scale(var(--laptop-scale, 1))
}
.build-heading {
  top: 8%;
  opacity: var(--heading-opacity, 1);
  pointer-events: none
}
.build-heading h2 {
  font-size: clamp(26px, 3vw, 44px);
  margin: 12px 0
}
.screen-contact {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0, #19334e, #070e18 70%);
  overflow-y: auto;
  opacity: var(--contact-opacity, 0);
  transform: translateY(var(--contact-offset, 28px));
  visibility: hidden;
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: #5378a2 #07101b
}
.contact-ready .screen-contact {
  visibility: visible;
  pointer-events: auto
}
.screen-contact #contact-form {
  border: 0;
  background: none;
  padding: clamp(16px, 3vw, 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin: 0;
  clip-path: none
}
.screen-contact .form-heading {
  grid-column: 1/-1;
  margin: 0 0 4px;
  display: flex;
  justify-content: space-between
}
.screen-contact #contact-form label {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px
}
.screen-contact #contact-form label:nth-of-type(3), .screen-contact #contact-form label:nth-of-type(4) {
  grid-column: 1/-1
}
.screen-contact #contact-form input, .screen-contact #contact-form select, .screen-contact #contact-form textarea {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 9px 12px;
  font-size: 16px;
  background: #0b1726;
  border: 1px solid #34506f;
  border-radius: 4px;
  color: #e4efff
}
.screen-contact #contact-form textarea {
  height: 85px;
  resize: vertical
}
.screen-contact #contact-form button {
  min-height: 44px;
  font-size: 10px;
  align-self: start
}
.screen-contact .form-note {
  font-size: 10px;
  line-height: 1.6;
  align-self: center;
  margin: 0
}
.screen-result {
  opacity: calc(var(--result, 0) * (1 - var(--contact-opacity, 0)));
  pointer-events: none
}
.contact-details {
  grid-template-columns: 1fr
}
.contact-details .contact-copy {
  max-width: 780px
}
.build-bottom {
  bottom: 3%;
  left: 8%;
  right: 8%
}
@media(max-width:600px) {
  .laptop-sequence {
    height: 400svh
  }
  .laptop-scene {
    width: 94vw;
    height: 59svh;
    margin-top: 50px
  }
  .build-heading {
    top: 10%
  }
  .build-heading h2 {
    font-size: 26px
  }
  .build-bottom {
    bottom: 3%;
    gap: 9px
  }
  .build-bottom > span {
    font-size: 7px
  }
  .build-bottom .cyber-button {
    min-height: 36px;
    padding: 10px 14px
  }
  .screen-contact #contact-form {
    padding: 14px 12px;
    gap: 10px;
    grid-template-columns: 1fr
  }
  .screen-contact #contact-form label, .screen-contact #contact-form button, .screen-contact .form-note {
    grid-column: 1/-1
  }
  .screen-contact .form-heading {
    font-size: 9px
  }
  .screen-contact .form-heading small {
    font-size: 8px
  }
  .screen-contact #contact-form textarea {
    height: 70px
  }
  .screen-contact .form-note {
    font-size: 9px
  }
  .editor-code {
    font-size: 11px
  }
  .screen-result strong {
    font-size: 30px
  }
}
.paused .laptop-sequence {
  height: auto
}
.paused .laptop-sticky {
  height: 850px
}
.paused .screen-result {
  opacity: 0
}
.paused .build-heading {
  opacity: 0
}
@media(prefers-reduced-motion:reduce) {
  .laptop-sequence {
    height: auto
  }
  .laptop-sticky {
    height: 850px
  }
  .screen-result {
    opacity: 0
  }
  .build-heading {
    opacity: 0
  }
}
@media(max-height:560px) and (orientation:landscape) {
  .laptop-scene {
    height: 66svh;
    width: 70vw;
    margin: 15px 0 0
  }
  .build-heading {
    display: none
  }
  .build-bottom > span {
    display: none
  }
  .build-bottom {
    bottom: 1%;
    justify-content: center
  }
  .build-bottom .cyber-button {
    min-height: 28px;
    padding: 5px 12px
  }
}
.boot {
  opacity: 0;
  visibility: hidden;
}
.booting .boot:not(.done) {
  opacity: 1;
  visibility: visible;
  animation: boot-failsafe 2.5s steps(1, end) forwards;
}
@keyframes boot-failsafe {
  to { opacity: 0; visibility: hidden; }
}
.form-honeypot { display: none !important; }
.project-card > .project-type-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 28px;
  box-sizing: border-box;
}
.project-card .project-type-art strong {
  font-size: clamp(18px, 3vw, 34px);
  overflow-wrap: anywhere;
}
.project-type-art small { overflow-wrap: anywhere; }
.archive-grid a span small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}
