:root {
  --ink: #141612;
  --paper: #f6f2e8;
  --paper-dark: #e4e0d7;
  --lime: #c8ff32;
  --blue: #245cff;
  --orange: #ff6542;
  --white: #fff;
  --line: rgba(20, 22, 18, .22);
  --pad: 4.5vw;
  --shadow: 12px 12px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body,
button,
input,
textarea,
select {
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.skip-link:focus {
  transform: none;
}

.header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 232, .94);
  backdrop-filter: blur(16px);
}

.logo {
  position: relative;
  width: max-content;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
}

.logo span {
  font-weight: 400;
}

.logo i {
  position: absolute;
  top: -1px;
  right: -14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.header nav {
  display: flex;
  gap: 32px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.header nav a {
  position: relative;
}

.header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform .2s ease;
}

.header nav a:hover::after {
  transform: scaleX(1);
}

.tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.languages {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 99px;
}

.languages a {
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 900;
}

.languages .on {
  background: var(--ink);
  color: var(--white);
}

#menu {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 21px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  overflow: hidden;
  padding: 145px var(--pad) 70px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.kicker {
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dot::before {
  content: "●";
  margin-right: 10px;
  color: var(--blue);
}

.hero h1,
.detail h1 {
  margin: 0 0 34px;
  font-size: clamp(64px, 8.3vw, 132px);
  line-height: .84;
  letter-spacing: -.075em;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.5;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 20px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 currentColor;
}

.button.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button.dark:hover {
  box-shadow: 5px 5px 0 var(--blue);
}

.hero-stats {
  max-width: 650px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
  border-top: 1px solid var(--ink);
}

.hero-stats b {
  padding: 15px 14px 0 0;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.05em;
}

.hero-stats b + b {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-stats span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.orbit {
  position: relative;
  width: min(40vw, 530px);
  aspect-ratio: 1;
  justify-self: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  animation: drift 7s ease-in-out infinite;
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.orbit b,
.orbit i,
.orbit span {
  position: absolute;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  box-shadow: 9px 9px 0 var(--ink);
  font-size: 29px;
  font-style: normal;
}

.orbit b {
  top: 32%;
  left: 34%;
  background: var(--lime);
}

.orbit i {
  right: 5%;
  bottom: 12%;
  transform: rotate(10deg);
  background: var(--blue);
  color: var(--white);
}

.orbit span {
  bottom: 16%;
  left: 4%;
  transform: rotate(-12deg);
  background: var(--orange);
}

@keyframes drift {
  50% { transform: translateY(-12px) rotate(2deg); }
}

.section,
.updates {
  padding: 110px var(--pad);
  scroll-margin-top: 80px;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 7vw;
  margin-bottom: 60px;
}

.section-head h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .94;
  letter-spacing: -.065em;
}

.section-head > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  min-width: 0;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--ink);
}

.project-card.lime {
  background: var(--lime);
}

.project-card.blue {
  background: var(--blue);
  color: var(--white);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
}

.project-visual {
  position: relative;
  height: clamp(310px, 31vw, 470px);
  overflow: hidden;
  margin: 25px 0;
  border: 1px solid currentColor;
  background: var(--paper);
}

.project-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
  transition: transform .5s ease;
}

.project-card:hover .project-cover {
  transform: scale(1.025);
}

.project-logo-wrap {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: min(54%, 260px);
  padding: 13px 16px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 7px 7px 0 var(--ink);
}

.project-logo {
  width: auto;
  max-height: 78px;
  margin: auto;
  object-fit: contain;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
  border-top: 1px solid currentColor;
}

.card-body h3,
.news-grid h3,
.archive-card h3 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: .95;
  letter-spacing: -.055em;
}

.card-body > p:not(.kicker) {
  max-width: 720px;
  min-height: 85px;
  margin: 0 0 24px;
  line-height: 1.55;
}

.card-body > a,
.news-grid article > div > a,
.text-link {
  display: inline-block;
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about {
  min-height: 720px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  scroll-margin-top: 80px;
  background: var(--ink);
  color: var(--white);
}

.about > div:first-child {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 70px var(--pad);
  background: var(--orange);
}

.gamepad {
  position: relative;
  width: min(78%, 540px);
  aspect-ratio: 1.58;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0;
  border: 22px solid var(--ink);
  border-radius: 46%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 13px 13px 0 rgba(20, 22, 18, .35);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
}

.gamepad::before,
.gamepad::after {
  content: "";
  position: absolute;
  top: 48%;
  width: 13%;
  height: 2px;
  background: var(--ink);
}

.gamepad::before { left: 36%; transform: rotate(36deg); }
.gamepad::after { right: 36%; transform: rotate(-36deg); }

.dpad {
  transform: translateY(-5px);
}

.pad-dots {
  color: var(--blue);
  font-size: .42em;
  letter-spacing: .35em;
  white-space: nowrap;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9vw;
}

.about h2 {
  margin-bottom: 34px;
  color: var(--lime);
}

.about-copy > p:not(.kicker) {
  margin: 0;
  font-size: 20px;
  line-height: 1.65;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.facts b {
  font-size: 36px;
}

.facts span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: .1em;
}

.archive {
  background: var(--paper);
}

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

.archive-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: var(--white);
}

.archive-image {
  height: 290px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-dark);
}

.archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.archive-image.contain {
  padding: 38px;
  background: var(--ink);
}

.archive-image.contain img {
  object-fit: contain;
}

.archive-card:hover .archive-image img {
  transform: scale(1.035);
}

.archive-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
}

.archive-card h3 {
  font-size: clamp(28px, 2.8vw, 42px);
}

.archive-card > div > p:not(.kicker) {
  margin: 0 0 24px;
  line-height: 1.55;
}

.updates {
  background: var(--paper-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.news-grid article {
  min-height: 405px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.news-image {
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--ink);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.news-grid article:hover .news-image img {
  transform: scale(1.035);
}

.news-grid article > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px;
}

.news-grid h3 {
  font-size: clamp(28px, 2.7vw, 40px);
}

.news-grid article > div > p:not(.kicker) {
  margin: 0 0 24px;
  line-height: 1.55;
}

.news-art {
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.news-art strong {
  font-size: 100px;
  writing-mode: horizontal-tb;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8vw;
  padding: 115px var(--pad);
  scroll-margin-top: 80px;
  background: var(--blue);
  color: var(--white);
}

.contact > div:last-child {
  align-self: end;
  font-size: 18px;
  line-height: 1.6;
}

.lime-button {
  margin-top: 22px;
  border-color: var(--ink);
  background: var(--lime);
  color: var(--ink);
}

footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr 1.4fr .5fr;
  align-items: center;
  gap: 5vw;
  padding: 42px var(--pad);
  background: var(--ink);
  color: var(--white);
}

footer .logo {
  display: inline-block;
  margin-bottom: 20px;
}

footer p {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  opacity: .7;
}

.eu-note {
  max-width: 680px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Project and news detail pages */
.detail {
  max-width: 1500px;
  min-height: 80vh;
  margin: auto;
  padding: 150px var(--pad) 110px;
}

.back {
  display: inline-block;
  margin-bottom: 60px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: start;
  gap: 6vw;
}

.detail-copy {
  min-width: 0;
}

.detail h1 {
  overflow-wrap: anywhere;
  font-size: clamp(58px, 7.4vw, 116px);
}

.full-title {
  max-width: 850px;
  margin: -10px 0 28px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.detail-lead {
  max-width: 900px;
  margin: 0;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.5;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.project-facts span {
  padding: 18px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.project-facts small {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.detail-figure {
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.detail-figure img {
  width: 100%;
  max-height: 610px;
  object-fit: cover;
}

.detail-figure.contain {
  padding: 40px 40px 0;
}

.detail-figure.contain img {
  height: 460px;
  object-fit: contain;
}

.detail-figure figcaption {
  display: grid;
  gap: 4px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 9px;
  line-height: 1.5;
  opacity: .76;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, .5fr);
  align-items: start;
  gap: 8vw;
  margin-top: 85px;
}

.detail-body {
  max-width: 860px;
  font-size: 18px;
  line-height: 1.8;
}

.detail-body p {
  margin: 0 0 1.5em;
}

.detail-body p:first-child {
  font-size: 23px;
  line-height: 1.65;
}

.detail-body ul {
  display: grid;
  gap: 12px;
  margin: 32px 0;
  padding: 28px 28px 28px 52px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.detail-body li::marker {
  color: var(--blue);
}

.detail-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 22px;
}

.detail-brand {
  padding: 30px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.detail-brand img {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.highlight-box {
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--lime);
}

.highlight-box ol {
  display: grid;
  gap: 15px;
  margin: 0;
  padding-left: 20px;
}

.highlight-box li {
  padding-left: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.detail-actions {
  display: grid;
  gap: 10px;
}

.detail-actions .button {
  width: 100%;
  justify-content: space-between;
  text-align: left;
}

.source-link {
  display: inline-block;
  justify-self: start;
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Editor */
.admin-body {
  background: var(--paper-dark);
}

.login-box {
  max-width: 520px;
  margin: 8vh auto;
  padding: 45px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.login-box h1 {
  font-size: 50px;
  letter-spacing: -.05em;
}

.login-box form,
.editor form {
  display: grid;
  gap: 18px;
}

.login-box label,
.editor label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

textarea.long {
  min-height: 260px;
}

.error {
  padding: 12px;
  background: #ffd1ca;
}

.admin-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.admin-header nav {
  display: flex;
  gap: 20px;
}

.admin-header nav a {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-header nav a.on {
  border-bottom: 3px solid var(--blue);
}

.admin-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 35px;
  padding: 50px 4vw;
}

.admin-list,
.editor {
  height: max-content;
  padding: 30px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-title h1 {
  font-size: 44px;
}

.admin-list article {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
}

.admin-list article > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-list article > div:last-child {
  flex-direction: row;
}

.admin-list button {
  border: 0;
  background: transparent;
  color: #b00;
  cursor: pointer;
}

.editor h2 {
  font-size: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.check {
  display: flex !important;
  align-items: center;
}

.check input {
  width: auto;
}

@media (max-width: 1050px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .archive-card:last-child .archive-image {
    height: 100%;
    border-right: 1px solid var(--ink);
    border-bottom: 0;
  }

  .news-grid article {
    grid-template-columns: 1fr;
  }

  .news-image {
    height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .header nav {
    position: absolute;
    top: 81px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 25px var(--pad);
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }

  .header nav.open {
    display: flex;
  }

  #menu {
    display: block;
  }

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

  .orbit {
    position: absolute;
    right: -220px;
    opacity: .18;
  }

  .project-grid,
  .about,
  .contact,
  .news-grid,
  .admin-wrap,
  .detail-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .project-visual {
    height: 520px;
  }

  .about > div:first-child {
    min-height: 560px;
  }

  .gamepad {
    width: min(70%, 520px);
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .detail-figure {
    max-width: 680px;
  }

  .detail-content-grid {
    gap: 45px;
  }

  .detail-aside {
    position: static;
    max-width: 680px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  :root {
    --pad: 22px;
  }

  .header {
    height: 70px;
  }

  .header nav {
    top: 69px;
  }

  .hero {
    min-height: 760px;
    padding-top: 120px;
    padding-bottom: 55px;
    background-size: 60px 60px;
  }

  .hero h1 {
    font-size: 18vw;
  }

  .hero-stats {
    margin-top: 42px;
  }

  .hero-stats b {
    font-size: 27px;
  }

  .section,
  .updates {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head h2,
  .about h2,
  .contact h2 {
    font-size: 48px;
  }

  .project-card {
    min-height: 0;
    padding: 18px;
  }

  .project-visual {
    height: 380px;
  }

  .project-logo-wrap {
    right: 12px;
    bottom: 12px;
    max-width: 70%;
  }

  .card-body > p:not(.kicker) {
    min-height: 0;
  }

  .about > div:first-child {
    min-height: 390px;
    padding: 60px 22px;
  }

  .gamepad {
    width: 86%;
    border-width: 15px;
  }

  .about-copy,
  .contact {
    padding: 75px 22px;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .archive-card:last-child {
    display: flex;
    grid-column: auto;
  }

  .archive-card:last-child .archive-image {
    height: 290px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .news-grid article {
    min-height: 0;
  }

  .news-image {
    height: 290px;
  }

  .detail {
    padding-top: 120px;
    padding-bottom: 75px;
  }

  .back {
    margin-bottom: 40px;
  }

  .detail h1 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .project-facts,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .detail-figure {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .detail-figure.contain {
    padding: 24px 24px 0;
  }

  .detail-figure.contain img {
    height: 360px;
  }

  .detail-content-grid {
    margin-top: 60px;
  }

  .detail-body {
    font-size: 17px;
  }

  .detail-body p:first-child {
    font-size: 20px;
  }

  .admin-wrap {
    padding: 20px;
  }

  .admin-list,
  .editor,
  .login-box {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
