@font-face {
  font-family: "Natural Mono";
  src: url("fonts/Natural Mono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src:
    url("fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype-variations"),
    url("fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #fffff7;
  --black: #302f35;
  --grey: #a4a4a4;
  --gap: 12px;
  --content-max: 1280px;
  --side-padding: 80px;
  --color-bg: var(--white);
  --color-ink: var(--black);
  --color-lime: #a5ca56;
  --color-darkblue: #313f94;
  --color-yellow: #eee653;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Inter", sans-serif;
}

img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--side-padding));
  margin: 0 auto;
  padding: 60px var(--side-padding) 120px;
}

.slot {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.slot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot img[src=""],
.slot img:not([src]) {
  display: none;
}

.gallery--logo {
  display: flex;
  justify-content: flex-end;
}

.slot--logo {
  width: 388px;
  height: 100px;
  max-width: 100%;
}

.slot--logo img {
  object-fit: scale-down;
  object-position: right;
}

.gallery--01 {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

.slot--row169 {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 944 / 531;
}

.slot--smallsquare {
  flex: 0 0 25.3%;
  max-width: 324px;
  aspect-ratio: 1 / 1;
}

.gallery--long {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

.gallery--long .slot--long,
.gallery--long .slot--flexcol {
  flex: 0 1 24.04%;
}

.gallery--long .slot--row169 {
  flex: 0 1 75.96%;
}

.slot--long {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.slot--long.is-dragging-long {
  cursor: grabbing;
}

.slot--long img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  transform: translateY(0);
  -webkit-user-drag: none;
}

.gallery--02 {
  display: flex;
}

.slot--banner {
  width: 100%;
  aspect-ratio: 1280 / 720;
}

.gallery--03a {
  display: flex;
  gap: var(--gap);
}

.slot--flexcol {
  flex: 0 1 26.47%;
  aspect-ratio: 9 / 16;
}

.slot--bigsquare-row {
  flex: 0 1 47.06%;
  aspect-ratio: 1 / 1;
}

.gallery--03b {
  display: flex;
  gap: var(--gap);
}

.slot--square-flex {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1 / 1;
}

.gallery--04 {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

.gallery__col {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.gallery--04 .gallery__col {
  flex: 0 0 calc(37.2093% - (48 / 43 * var(--gap)));
}

.slot--col169 {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.slot--bigsquare {
  flex: 0 0 calc(62.7907% + (5 / 43 * var(--gap)));
  aspect-ratio: 1 / 1;
}

.gallery--04-long {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

.gallery--04-long .gallery__col {
  flex: 0 0 calc(25.6228% - (216 / 281 * var(--gap)));
}

.gallery--04-long .slot--long {
  width: 100%;
}

.gallery--04-long .slot--bigsquare {
  flex: 0 0 calc(74.3772% - (65 / 281 * var(--gap)));
}

.gallery-scroll-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.gallery--scroll {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  cursor: grab;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
}

.gallery--scroll.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.gallery--scroll::-webkit-scrollbar {
  display: none;
}

.gallery--scroll img {
  -webkit-user-drag: none;
  user-drag: none;
}

.slot--scrollwide {
  flex: 0 0 auto;
  width: min(1200px, 85vw);
  aspect-ratio: 16 / 9;
}

.scroll-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.scroll-arrow img {
  width: 24px;
  height: 24px;
  display: block;
}

.scroll-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.scroll-pagination__counter {
  min-width: 56px;
  text-align: center;
  font:
    14px/1 "Courier New",
    monospace;
  color: var(--black);
}

.gallery--06 {
  display: flex;
  gap: var(--gap);
}

.slot--contain916 {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 298.6875 / 531;
}

.slot--contain916 img {
  object-fit: contain;
}

.gallery--06-long {
  display: flex;
  gap: var(--gap);
}

.gallery--06-long .slot--contain916,
.gallery--06-long .slot--long {
  flex: 1 1 0;
  min-width: 0;
}

.gallery--07 {
  display: flex;
  gap: var(--gap);
}

.gallery--07 .gallery__col {
  flex: 1 1 0;
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 80px;
}

.site-header a {
  color: var(--color-ink);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Natural Mono", monospace;
  font-size: 20px;
}

.site-header__nav {
  display: contents;
}

.nav-toggle {
  display: none;
}

.grad-hero {
  position: relative;
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--side-padding));
  margin: 50px auto 0;
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.grad-hero__blob {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 495px;
  max-width: 70%;
  height: 279px;
  background: var(--color-yellow);
  z-index: -1;
}

.grad-hero__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.grad-hero__meta-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Natural Mono", monospace;
  font-size: 20px;
  color: var(--color-ink);
}

.grad-hero__meta-label {
  margin: 0;
  line-height: 35px;
}

.grad-hero__meta-value {
  margin: 0;
  line-height: 28px;
}

.grad-hero__title-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.grad-hero__titles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.grad-hero__title {
  margin: 0;
  max-width: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(40px, 6.4vw, 96px);
  color: var(--color-ink);
  text-transform: uppercase;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.grad-hero__subtitle {
  margin: 0;
  max-width: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--color-ink);
  text-transform: uppercase;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
}

.grad-hero__subtitle:empty {
  display: none;
}

.grad-hero__name {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--color-ink);
  text-transform: uppercase;
}

.grad-description {
  width: 100%;
  max-width: 1030px;
  font-family: "Natural Mono", monospace;
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-ink);
  columns: 2;
  column-gap: 74px;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
}

.grad-description p {
  margin: 0 0 15px;
  text-wrap: pretty;
}

.scroll-top {
  position: fixed;
  left: -2px;
  bottom: 95px;
  z-index: 900;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top img {
  display: block;
  width: 100%;
  height: 100%;
}

.social-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--side-padding));
  margin: 0 auto;
  padding: 8px var(--side-padding) 0;
}

.social-media__label {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-ink);
}

.social-media__list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-media__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-ink);
  opacity: 1;
  transition: opacity 0.2s ease;
}

.social-media__link:hover,
.social-media__link:focus-visible {
  opacity: 0.6;
}

.social-media__link img {
  width: 24px;
  height: 24px;
  display: block;
}

.grad-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--side-padding));
  margin: 40px auto 0;
  padding: 24px var(--side-padding);
}

.grad-pagination__link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--color-ink);
  min-width: 0;
}

.grad-pagination__arrow {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.grad-pagination__label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.grad-pagination__name {
  font-family: "Natural Mono", monospace;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.banner-footer {
  position: static;
  height: 35px;
  background: var(--color-lime);
  overflow: hidden;
}

.banner-footer .banner-track {
  display: flex;
  width: max-content;
  animation: banner-move 40s linear infinite;
}

.banner-footer .banner-group {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
  white-space: nowrap;
}

.banner-footer .banner-group p {
  margin: 0;
  font-size: 22px;
  line-height: 35px;
  text-transform: uppercase;
  color: var(--color-darkblue);
}

.banner-footer .banner-group .b-strong {
  font-weight: 700;
}

@keyframes banner-move {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-footer .banner-track {
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 20px 24px;
  }
  .site-header a {
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-toggle img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px 28px;
    background: var(--color-bg);
    border-top: 1px solid rgba(48, 47, 53, 0.12);
    box-shadow: 0 12px 24px rgba(48, 47, 53, 0.08);
    z-index: 1001;
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .grad-hero {
    gap: 40px;
  }
  .grad-hero__meta {
    flex-direction: column;
    gap: 16px;
  }
  .grad-hero__blob {
    max-width: 60%;
    height: 180px;
  }
  .grad-pagination {
    flex-wrap: wrap;
  }
  .banner-footer .banner-group p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --side-padding: 20px;
  }

  .content-section {
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 120px;
  }

  .gallery--01,
  .gallery--long,
  .gallery--03a,
  .gallery--03b,
  .gallery--04,
  .gallery--04-long,
  .gallery--06,
  .gallery--06-long,
  .gallery--07 {
    flex-direction: column;
  }

  .gallery--01 .slot--row169,
  .gallery--01 .slot--smallsquare,
  .gallery--long .slot--long,
  .gallery--long .slot--flexcol,
  .gallery--long .slot--row169,
  .gallery--03a .slot--flexcol,
  .gallery--03a .slot--bigsquare-row,
  .gallery--03b .slot--square-flex,
  .gallery--04 .gallery__col,
  .gallery--04-long .gallery__col,
  .gallery--04-long .slot--bigsquare,
  .gallery--04 .slot--bigsquare,
  .gallery--06 .slot--contain916,
  .gallery--06-long .slot--contain916,
  .gallery--06-long .slot--long,
  .gallery--07 .gallery__col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .grad-description {
    columns: 1;
  }

  .slot:has(> img[src=""]) {
    display: none;
  }
}

@media (max-width: 640px) {
  .grad-hero__name {
    font-size: 24px;
  }
  .grad-hero__subtitle {
    font-size: 20px;
  }
  .grad-hero__meta-block {
    font-size: 15px;
    gap: 2px;
  }
  .grad-hero__meta-value {
    line-height: 1.5;
  }

  .grad-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
}

.legal-content {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  font-family: "Natural Mono", monospace;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
}

.legal-content h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 48px;
}

.legal-content h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 40px 0 12px;
}

.legal-content p {
  margin: 0 0 16px;
  text-wrap: pretty;
}

.legal-content h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 24px 0 8px;
}

.legal-content h3.legal-content__underline {
  text-decoration: underline;
}

.legal-content__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content__group h2 {
  margin-top: 0;
}

@media (max-width: 640px) {
  .legal-content__columns {
    grid-template-columns: 1fr;
  }
}
