:root {
  --ink: #191b17;
  --paper: #f5f4eb;
  --lime: #d5fa41;
  --gutter: clamp(22px, 5vw, 86px);
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--ink);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
}
a,
button {
  color: inherit;
}
a {
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #6087ff;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.nav,
footer {
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  height: 78px;
  color: var(--paper);
  background: var(--ink);
}
.nav {
  border-bottom: 1px solid #45473f;
  gap: 6vw;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.6px;
}
.brand svg {
  width: 32px;
  height: 32px;
  color: var(--lime);
}
nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  font-size: 14px;
}
nav a:hover,
.archive-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.login {
  border: 1px solid #65665b;
  background: transparent;
  color: var(--paper);
  border-radius: 40px;
  padding: 10px 18px;
}
.login span {
  margin-left: 18px;
  color: var(--lime);
}
.hero {
  display: grid;
  grid-template-columns: 48% 52%;
  height: clamp(580px, 81svh, 900px);
  background: var(--ink);
  color: var(--paper);
}
.cover-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 38px 22px 36px var(--gutter);
}
.kicker,
.section-mark,
.down,
#counter,
.viewer-controls output {
  font:
    600 11px/1.5 "Courier New",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.105em;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
}
.kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
h1 {
  font-size: clamp(90px, 11.9vw, 210px);
  letter-spacing: -0.091em;
  line-height: 0.79;
  margin: 35px 0 30px;
  font-weight: 800;
}
h1 > span {
  display: block;
}
.dot {
  color: var(--lime);
}
.cover-copy p {
  font-size: clamp(21px, 2.1vw, 35px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  margin: 0;
}
.down {
  position: absolute;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d5d6ca;
}
.down span {
  border: 1px solid #57594f;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font: 18px Arial;
}
.cover-photo {
  position: relative;
  overflow: hidden;
  background: #241c29;
}
.cover-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  display: block;
}
.pulse {
  animation: frame 0.35s ease both;
}
@keyframes frame {
  from {
    opacity: 0.6;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.corners {
  position: absolute;
  inset: 26px;
  pointer-events: none;
  background:
    linear-gradient(#ffffff98, #ffffff98) left top/16px 1px,
    linear-gradient(#ffffff98, #ffffff98) left top/1px 16px,
    linear-gradient(#ffffff98, #ffffff98) right top/16px 1px,
    linear-gradient(#ffffff98, #ffffff98) right top/1px 16px;
  background-repeat: no-repeat;
}
.photo-controls {
  position: absolute;
  bottom: 20px;
  right: 24px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
.photo-controls div,
.viewer-controls {
  display: flex;
  gap: 7px;
  align-items: center;
}
.photo-controls button,
.viewer-controls button,
.close {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1px solid #ffffff8c;
  background: #121412a8;
  color: white;
  font: 20px Arial;
}
.photo-controls button:hover,
.viewer-controls button:hover {
  background: #121412;
}
#counter {
  padding: 7px 11px;
  background: #121412b8;
  border-radius: 25px;
}
.paper {
  background: var(--paper);
}
.content {
  max-width: 1700px;
  margin: auto;
  padding: 84px var(--gutter);
}
.section-mark {
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-mark:before {
  content: "";
  width: 20px;
  height: 2px;
  background: currentColor;
}
.format {
  display: grid;
  grid-template-columns: 0.6fr 1.2fr 1fr;
  align-items: start;
  gap: 25px;
  border-bottom: 1px solid #cecec1;
}
.format h2,
.archive h2,
.registration h2 {
  margin: 0;
  font-size: clamp(44px, 5.5vw, 96px);
  letter-spacing: -0.075em;
  line-height: 0.94;
}
.format em,
.registration em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.07em;
}
.format p {
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.55;
  margin: 0;
  max-width: 52ch;
}
.archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.archive-heading .section-mark {
  margin-bottom: 24px;
}
.archive .dot {
  color: #657d11;
}
.archive-link {
  font-weight: 650;
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 6px;
}
.grid button {
  position: relative;
  display: block;
  background: #e5e4da;
  border: none;
  padding: 0;
  overflow: hidden;
  height: clamp(220px, 25vw, 450px);
}
.grid button.wide {
  grid-column: span 2;
}
.grid button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.grid button:hover img {
  transform: scale(1.035);
}
.grid button:last-child:nth-child(4n + 1):not(.wide) {
  grid-column: span 2;
}
.registration {
  text-align: center;
  background: var(--lime);
  padding: 80px var(--gutter) 95px;
}
.registration .section-mark {
  justify-content: center;
}
.registration h2 {
  margin: 25px 0 30px;
  font-size: clamp(65px, 9vw, 160px);
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 0;
  border-radius: 35px;
  padding: 15px 23px;
  font-weight: 650;
  color: var(--ink);
  background: var(--lime);
  transition: transform 0.25s;
}
.primary:hover {
  transform: translateY(-2px);
}
.registration .primary {
  background: var(--ink);
  color: var(--paper);
}
footer {
  justify-content: space-between;
}
footer > a:last-child {
  font-size: 14px;
}
.sticky {
  position: fixed;
  z-index: 2;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 125%);
  opacity: 0;
  box-shadow: 0 5px 35px #0003;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.sticky.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  color: var(--ink);
  width: min(465px, calc(100vw - 30px));
  max-height: 90svh;
  background: var(--paper);
}
dialog[open] {
  animation: appear 0.25s ease;
}
@keyframes appear {
  from {
    opacity: 0;
    translate: 0 10px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
dialog::backdrop {
  background: #141510c9;
  backdrop-filter: blur(5px);
}
#signup {
  padding: 28px;
}
.modal-top,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.close {
  border-color: #cacbc1;
  color: inherit;
  background: transparent;
}
.progress {
  display: flex;
  gap: 4px;
  margin: 24px 0 32px;
}
.progress i {
  height: 4px;
  flex: 1;
  background: #d9dacd;
}
.progress i.filled {
  background: #7c981d;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
}
fieldset > label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
fieldset > input {
  width: 100%;
  border: 1px solid #a9aa9f;
  border-radius: 10px;
  background: white;
  padding: 13px;
  color: var(--ink);
}
.role-select {
  width: 100%; padding: 14px; border: 1px solid #a9aa9f;
  border-radius: 10px; background: white; color: var(--ink); font: inherit;
}
@supports (appearance: base-select) {
  .role-select, .role-select::picker(select) { appearance: base-select; }
  .role-select::picker(select) { margin-top: 5px; background: var(--paper); border: 1px solid #a9aa9f; border-radius: 10px; padding: 4px; }
  .role-select option { padding: 10px 12px; border-radius: 6px; }
  .role-select option:checked, .role-select option:hover { background: var(--lime); }
}
.consent {
  display: flex;
  align-items: start;
  gap: 6px;
  line-height: 1.4;
  margin-top: 15px;
}
.consent input {
  accent-color: var(--ink);
}
.actions {
  margin-top: 30px;
  gap: 12px;
}
.actions .primary {
  margin-left: auto;
}
.back {
  border: 0;
  background: transparent;
  font-size: 14px;
}
.error {
  color: #9c2721;
  font-size: 14px;
}
.primary:disabled {
  background: #d7d8cc;
  color: #57594f;
  cursor: default;
}
#viewer {
  background: #10110f;
  color: white;
  width: min(1100px, 96vw);
  overflow: hidden;
  text-align: center;
}
#viewer img {
  height: 76svh;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
}
#viewer .close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #1119;
}
.viewer-controls {
  justify-content: center;
  padding: 10px;
  gap: 18px;
}
@media (max-width: 800px) {
  .format {
    grid-template-columns: 0.95fr 1fr;
  }
  .format > .section-mark {
    grid-column: 1/-1;
  }
  .hero {
    min-height: 520px;
    height: 71svh;
  }
  .down {
    bottom: 18px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid button:last-child:nth-child(4n + 1):not(.wide) {
    grid-column: auto;
  }
  .content {
    padding-block: 55px;
  }
}
@media (max-width: 600px) {
  .nav {
    height: 60px;
    gap: 10px;
  }
  .brand {
    font-size: 21px;
  }
  .brand svg {
    width: 27px;
    height: 27px;
  }
  .nav nav {
    display: none;
  }
  .login {
    margin-left: auto;
    padding: 7px 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: auto;
    min-height: 0;
  }
  .cover-copy {
    padding: 29px var(--gutter) 26px;
  }
  .kicker {
    font-size: 10px;
  }
  .cover-copy h1 {
    font-size: clamp(68px, 16.8vw, 102px);
    margin: 22px 0 14px;
    letter-spacing: -0.085em;
  }
  .cover-copy h1 > span {
    display: inline;
  }
  .cover-copy p {
    font-size: 22px;
  }
  .cover-copy p br {
    display: none;
  }
  .down {
    display: none;
  }
  .cover-photo {
    height: clamp(310px, 53svh, 540px);
  }
  .cover-photo > img {
    object-position: center 40%;
  }
  .corners {
    inset: 16px;
  }
  .photo-controls {
    bottom: 14px;
    right: 15px;
    left: 15px;
  }
  .format {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .format > .section-mark {
    grid-column: auto;
  }
  .archive-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .archive-heading .section-mark {
    margin-bottom: 17px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .grid button {
    height: 48vw;
  }
  .grid button.wide {
    height: 58vw;
  }
  .registration {
    padding-block: 64px;
  }
  #signup {
    padding: 23px;
  }
  .sticky {
    bottom: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (min-width: 801px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid button:last-child:nth-child(4n + 1):not(.wide) {
    grid-column: auto;
  }
}
.cover-photo > img {
  object-position: 50% 17%;
}
.grid img[src$="/1.webp"] {
  object-position: center 23%;
}
.grid img[src$="/4.webp"] {
  object-position: center 14%;
}
