@font-face {
  font-family: "Plex Sans";
  src: url("fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Plex Sans";
  src: url("fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Plex Serif";
  src: url("fonts/ibm-plex-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #efede6;
  --ink: #1a1a18;
  --muted: #67655e;
  --line: #b8b5ac;
  --accent: #a34e31;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.55 "Plex Sans", sans-serif;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--paper);
  background: var(--accent);
}

a {
  color: inherit;
  text-underline-offset: .32em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(13rem, .7fr) minmax(28rem, 1.5fr) minmax(16rem, .7fr);
  gap: clamp(2rem, 5vw, 6rem);
  max-width: 1600px;
  margin: auto;
  padding: clamp(2rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.identity {
  width: fit-content;
  height: fit-content;
  font-weight: 500;
  text-decoration: none;
}

.intro h1 {
  max-width: 10ch;
  margin: 0 0 1.25rem;
  font: 400 clamp(3.4rem, 7vw, 6rem)/.95 "Plex Serif", serif;
  letter-spacing: -.035em;
}

.intro-copy > p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.instruction {
  align-self: end;
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.shortlist {
  max-width: 1600px;
  margin: auto;
}

.concept {
  display: grid;
  grid-template-columns: minmax(19rem, .72fr) minmax(0, 1.8fr);
  min-height: 680px;
  border-bottom: 1px solid var(--line);
}

.concept-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 5rem);
}

.number {
  margin: 0 0 auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.concept h2 {
  max-width: 10ch;
  margin: 2rem 0 1rem;
  font: 400 clamp(2.6rem, 4.4vw, 5rem)/.98 "Plex Serif", serif;
  letter-spacing: -.03em;
}

.concept-copy > p:not(.number, .recommendation) {
  max-width: 42ch;
  margin: 0 0 2rem;
  color: var(--muted);
}

.concept-copy > a {
  margin-top: 1rem;
  font-weight: 500;
}

.recommendation {
  margin: 0 0 .75rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 500;
}

.concept-preview {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #171715;
  border-left: 1px solid var(--line);
}

.concept-preview iframe {
  position: absolute;
  inset: 0;
  width: 1440px;
  height: 900px;
  border: 0;
  transform: scale(.72);
  transform-origin: left top;
  pointer-events: none;
}

.concept-preview::after {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  content: "Open full concept";
  padding: .65rem .85rem;
  color: #171715;
  background: #fff;
  font-size: .75rem;
  font-weight: 500;
}

.split { background: #f3efe5; }
.nordic { color: #19322b; background: #f2f4ef; }
.full-bleed { background: #e7e0d5; }
.journal { color: #202a42; background: #f5f1e8; }
.photo-essay { color: #29231d; background: #f2eee6; }

footer {
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  margin: auto;
  padding: 2rem clamp(1.25rem, 5vw, 5rem);
  color: var(--muted);
  font-size: .78rem;
}

@media (max-width: 1000px) {
  .intro {
    grid-template-columns: 1fr 2fr;
  }

  .instruction {
    grid-column: 2;
  }

  .concept {
    grid-template-columns: minmax(17rem, .7fr) minmax(0, 1fr);
    min-height: 580px;
  }

  .concept-preview iframe {
    transform: scale(.58);
  }
}

@media (max-width: 720px) {
  .intro {
    display: block;
    padding: 1.5rem 1.25rem 3.5rem;
  }

  .identity {
    display: inline-block;
    margin-bottom: 5rem;
  }

  .intro h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .instruction {
    margin-top: 2rem;
  }

  .concept {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .concept-copy {
    min-height: 430px;
    padding: 2rem 1.25rem;
  }

  .concept h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .concept-preview {
    min-height: 420px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .concept-preview iframe {
    width: 1100px;
    height: 760px;
    transform: scale(.48);
  }

  footer {
    display: block;
  }
}

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