@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #202024;
  --secondary: #626269;
  --red: #d92332;
  --rule: #d9d9de;
  --font-body: "Instrument Sans", sans-serif;
  --font-display: "Archivo", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --page-gutter: clamp(24px, 4.445vw, 64px);
  --column-gap: 29px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 1000px;
  content: "";
  background: url("../images/ink-bloom.webp") center / cover no-repeat;
  opacity: 0.32;
  pointer-events: none;
}

::selection {
  color: #fff;
  background: var(--red);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: #d923321a;
}

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 7px;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  opacity: 0;
  transform: translateY(-180%);
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
}

.page {
  max-width: 1440px;
  margin-inline: auto;
  padding: 32px var(--page-gutter) 24px;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 85px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-block;
  margin-block: 6px;
}

.brand img {
  width: 308px;
  height: auto;
}

.introduction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 314px;
  gap: 60px;
  align-items: end;
  padding-block: 68px 44px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(60px, 6.528vw, 94px);
  font-weight: 800;
  letter-spacing: -0.0479em;
  line-height: 0.86;
}

.headline-line {
  display: block;
}

.headline-accent {
  color: var(--red);
}

.introduction-copy {
  padding-bottom: 6px;
  color: #56565c;
  font-size: 18px;
  line-height: 1.5;
}

.destinations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px var(--column-gap);
  scroll-margin-top: 24px;
}

.destinations:focus {
  outline: none;
}

.destination {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 20px;
}

.thumbnail {
  overflow: hidden;
  aspect-ratio: 418 / 238;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 4px 4px 4px #00000040;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail--contain img {
  object-fit: contain;
}

.thumbnail--kreatifbeats {
  background: #111;
}

.thumbnail--vuw {
  background: #584b90;
}

.category {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.4px;
  line-height: 1.3334;
  text-transform: uppercase;
}

.card-number {
  color: var(--red);
  letter-spacing: 0;
}

.destination h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.1;
}

.description {
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.5;
}

.visit-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin-top: auto;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.external-arrow {
  color: var(--red);
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.destination:focus-visible .visit-action {
  color: var(--red);
}

@media (hover: hover) {
  .destination:hover .thumbnail {
    box-shadow: 5px 7px 9px #00000032;
    transform: translateY(-3px);
  }

  .destination:hover .visit-action {
    color: var(--red);
  }

  .destination:hover .external-arrow {
    transform: translate(2px, -2px);
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 99px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: #717178;
  font-size: 12px;
  line-height: 1.3;
}

.site-domain {
  font-family: var(--font-mono);
  font-size: 11px;
}

.exhibition-archive {
  margin-top: 100px;
  padding-top: 44px;
  border-top: 1px solid var(--rule);
}

.archive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 314px;
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}

.archive-eyebrow {
  margin-bottom: 16px;
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.8px;
  line-height: 1.4;
  text-transform: uppercase;
}

.archive-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 3.75vw, 54px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.archive-introduction {
  color: #56565c;
  font-size: 18px;
  line-height: 1.5;
}

.exhibition-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.exhibition-card {
  gap: 16px;
}

.exhibition-card .category {
  gap: 10px;
  font-size: 11px;
}

.exhibition-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.1;
}

.thumbnail--glitch {
  background: #000;
}

@media (max-width: 1100px) {
  .introduction {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

  .introduction-copy {
    font-size: 16px;
  }

  .category {
    gap: 10px;
    font-size: 10px;
  }

  .destination h2 {
    font-size: 28px;
  }

  .archive-header {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

  .archive-introduction {
    font-size: 16px;
  }

  .exhibition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .introduction {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-block: 52px 40px;
  }

  h1 {
    font-size: 76px;
  }

  .introduction-copy {
    max-width: 420px;
  }

  .category {
    font-size: 11px;
  }

  .archive-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .archive-introduction {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  body::before {
    top: 90px;
    height: 420px;
    opacity: 0.28;
  }

  .page {
    padding-top: 24px;
  }

  .site-header {
    min-height: 65px;
  }

  .brand {
    margin-block: 0;
  }

  .brand img {
    width: 250px;
  }

  .introduction {
    gap: 24px;
    padding-block: 52px 32px;
  }

  h1 {
    font-size: clamp(40px, 12.214vw, 60px);
    letter-spacing: -0.05em;
  }

  .headline-brace,
  .title-brace {
    display: none;
  }

  .introduction-copy {
    max-width: 345px;
    padding-bottom: 0;
  }

  .destinations {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }

  .destination {
    gap: 16px;
  }

  .category {
    gap: 12px;
    font-size: 11px;
  }

  .exhibition-archive {
    margin-top: 64px;
    padding-top: 32px;
  }

  .archive-header {
    margin-bottom: 32px;
  }

  .archive-eyebrow {
    font-size: 11px;
  }

  .archive-title {
    max-width: 360px;
    font-size: 40px;
  }

  .exhibition-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 32px;
    font-size: 11px;
  }

  .site-domain {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media print {
  body::before {
    display: none;
  }

  .page {
    max-width: none;
    padding: 0;
  }

  .destination {
    break-inside: avoid;
  }

  .thumbnail {
    box-shadow: none;
  }
}
