@font-face {
  font-family: Barlow;
  src: url('/assets/body.woff') format('woff');
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/display.woff') format('woff');
  font-weight: 700;
  font-display: swap
}

:root {
  --ink: #1d201c;
  --dark: #181b18;
  --paper: #ece8dd;
  --white: #f9f4e7;
  --rust: #a63a24;
  --orange: #ff915c;
  --stroke: #4a5149;
  --mono: ui-monospace, Consolas, monospace;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  color-scheme: light
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.5 Barlow, Arial, sans-serif
}

a {
  color: inherit
}

button {
  font: inherit
}

button,
a {
  touch-action: manipulation
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #597ddc;
  outline-offset: 4px
}

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

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

h1,
h2,
h3,
.brand,
.button {
  font-family: var(--head);
  line-height: 1.02
}

h1,
h2,
h3 {
  text-wrap: balance
}

h2 {
  font-size: clamp(42px, 5.4vw, 80px)
}

h3 {
  font-size: 32px
}

p {
  max-width: 64ch
}

.wrap {
  width: min(1280px, calc(100% - clamp(36px, 9vw, 150px)));
  margin-inline: auto
}

header,
.hero,
.strip,
footer {
  background: var(--dark);
  color: var(--white)
}

header {
  border-bottom: 1px solid #42463e
}

.bar,
.bar nav,
.brand,
.actions,
.pair,
.section-title,
.split,
.foot,
.plate-top,
.plate figcaption,
.view-foot,
.endpoint,
.rotate {
  display: flex;
  align-items: center
}

.bar {
  min-height: 72px;
  gap: 42px
}

.bar a {
  text-decoration: none
}

.brand {
  gap: 10px;
  letter-spacing: .025em;
  font-size: 24px
}

.brand img {
  border: 1px solid #55584b
}

.brand span {
  color: #f1674f
}

.bar nav {
  gap: 27px
}

.bar nav a,
.community,
.plain,
.textlink {
  font-weight: bold
}

.bar nav a,
.community {
  font-size: 16px;
  padding-block: 10px
}

.bar nav a:hover,
.bar nav a[aria-current],
.plain:hover,
.community:hover {
  color: var(--orange)
}

.community {
  margin-left: auto
}

.community span,
.plain span {
  color: var(--orange)
}

.skip {
  position: fixed;
  z-index: 10;
  top: -90px;
  left: 1rem;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px
}

.skip:focus {
  top: 0
}

.hero {
  background: radial-gradient(ellipse at 82% 48%, #343a2e 0%, #232721 32%, #181b18 68%);
  overflow: hidden;
  border-bottom: 5px solid var(--rust)
}

.hero-inner {
  min-height: 470px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 5%;
  padding-block: 48px
}

.eyebrow,
.terrain,
.plate-top,
.plate figcaption,
.pair,
.model-picks button,
.recipe .eyebrow,
.subhead {
  font: 600 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em
}

.eyebrow {
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: 10px
}

.hero .eyebrow,
.strip .eyebrow,
.join-art .eyebrow,
.recipe .eyebrow {
  color: #ffad82
}

.eyebrow i {
  width: 23px;
  height: 3px;
  background: #ff915c
}

.hero h1 {
  margin: 22px 0
}

.wordmark {
  width: min(100%, 570px);
  height: auto
}

.hero .lede {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 50px);
  line-height: 1.05;
  letter-spacing: -.013em
}

.hero-copy>p:not(.lede) {
  color: #c8cabe;
  max-width: 40ch;
  margin-top: 13px
}

.actions {
  gap: 24px;
  margin-top: 26px;
  flex-wrap: wrap
}

.button,
.plain,
.textlink,
.plate a,
.subhead a {
  text-decoration: none
}

.button,
.copy,
.model-picks button,
.rotate button {
  border: 0;
  cursor: pointer
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 25px;
  padding: 12px 18px;
  background: var(--orange);
  color: #201810;
  font-size: 21px;
  font-weight: bold
}

.button:hover {
  background: #ffb18a
}

.plain {
  font-size: 16px
}

.plate,
.viewer {
  position: relative;
  background-color: #222820;
  background-image: linear-gradient(#b7c5a512 1px, transparent 1px), linear-gradient(90deg, #b7c5a512 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid #636a57;
  color: #eee9d8
}

.plate {
  transform: rotate(-1.3deg);
  padding: 18px
}

.plate:before,
.plate:after {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  border-color: #d4b787;
  border-style: solid
}

.plate:before {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px
}

.plate:after {
  bottom: -2px;
  right: -2px;
  border-width: 0 2px 2px 0
}

.plate-top,
.plate figcaption {
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #d7d9c6
}

.plate-top {
  border-bottom: 1px solid #626956;
  padding-bottom: 10px
}

.plate img {
  height: auto;
  width: 100%;
  filter: drop-shadow(0 2px 2px #10100a)
}

.plate figcaption {
  border-top: 1px solid #626956;
  padding-top: 10px
}

.plate figcaption a {
  color: #ffb182
}

.paper,
.strip {
  padding-block: clamp(38px, 5vw, 80px)
}

.section-title,
.split,
.foot,
.pair,
.endpoint,
.view-foot {
  justify-content: space-between;
  gap: 24px
}

.section-title {
  align-items: flex-end;
  margin-bottom: 24px
}

.section-title h2,
.strip h2,
.recipe h2 {
  margin-top: 8px
}

.section-title p {
  font-size: 16px;
  border-left: 2px solid #b9ac94;
  padding-left: 16px
}

.worlds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.world {
  border: 1px solid #c8c5b6;
  background: #f6f2e8
}

.world-link {
  display: block;
  overflow: hidden;
  position: relative;
  color: white;
  height: clamp(180px, 19vw, 270px);
  background: #323a2e
}

.world-link:after,
.join-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #12150fe6, transparent 76%)
}

.world-link img,
.join-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%
}

.world-caption,
.join-art>div {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 16px;
  z-index: 1
}

.world-caption h3 {
  font-size: clamp(46px, 4.7vw, 72px)
}

.terrain {
  color: #f1dfbb;
  font-size: 11px
}

.world-link:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px
}

.world-body {
  padding: 20px 24px 24px
}

.pair {
  flex-wrap: wrap;
  gap: 7px;
  font-size: 11px;
  letter-spacing: .045em
}

.world-body p {
  margin: 13px 0 17px
}

.textlink {
  display: inline-block;
  color: #89301e;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a8576
}

.status.live i {
  background: #277649
}

.strip {
  background: #2b3028
}

.strip p {
  color: #dfdfd2;
  margin-top: 12px
}

.split .button {
  flex-shrink: 0
}

footer {
  padding: 30px 0
}

.foot {
  align-items: flex-start
}

.foot b {
  font: 700 20px var(--head);
  letter-spacing: .02em
}

.foot p,
.foot a {
  font-size: 14px;
  color: #c0c3b6
}

.foot>div:last-child {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.foot a {
  text-underline-offset: 4px
}

.internal,
.join {
  padding-block: clamp(36px, 5vw, 76px)
}

.internal h1,
.join-art h1 {
  font-size: clamp(62px, 8vw, 110px);
  margin: 8px 0 10px;
  line-height: .96
}

.lead {
  font-size: 21px
}

.subhead {
  padding-top: 26px
}

.subhead a {
  color: #804029
}

.join {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(24px, 5vw, 76px);
  padding-top: 24px
}

.join-art {
  position: relative;
  color: var(--white);
  min-height: 415px;
  overflow: hidden;
  background: #34392e
}

.join-art img {
  position: absolute
}

.join-art>div {
  bottom: 28px;
  left: 28px
}

.join-art p {
  max-width: 38ch
}

.join-panel h2 {
  font-size: clamp(40px, 4.4vw, 60px);
  margin: 21px 0
}

.steps {
  margin: 18px 0 25px;
  padding: 0;
  list-style: none;
  counter-reset: step
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 36px;
  border-top: 1px solid #a5a39470
}

.steps li:before {
  content: counter(step);
  font: 700 22px var(--head);
  left: 4px;
  position: absolute;
  color: var(--rust)
}

.join-panel h3 {
  font-size: 25px;
  margin-top: 16px
}

.join-panel h3+p {
  font-size: 16px;
  margin: 4px 0 8px
}

.endpoint {
  gap: 8px;
  background: #f7f4eb;
  padding: 9px 11px;
  border: 1px solid #c7c4b7
}

.endpoint code {
  font: 600 clamp(13px, 2vw, 17px) var(--mono)
}

.copy,
.rotate button,
.model-picks button {
  padding: 8px 12px;
  min-height: 40px
}

.copy {
  font: 700 15px Barlow, sans-serif;
  background: #e1dacb;
  color: #30251b
}

.notice {
  min-height: 1.7em;
  font-size: 15px
}

.garage-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-top: 32px
}

.viewer {
  align-self: start
}

.model-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #555f50
}

.model-picks button,
.rotate button {
  color: #ede8d6;
  background: #282e27;
  border-right: 1px solid #50574a
}

.model-picks button[aria-pressed=true] {
  background: #e6d6b8;
  color: #222619
}

.drawing {
  position: relative;
  aspect-ratio: 1.9;
  width: 100%
}

.drawing img,
.drawing canvas {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.drawing canvas {
  display: block;
  touch-action: pan-y;
  cursor: grab
}

.drawing canvas:active {
  cursor: grabbing
}

.view-foot {
  padding: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #58604f
}

.rotate {
  gap: 4px
}

.rotate button {
  border: 1px solid #6a7463;
  font-size: 15px
}

.recipe {
  padding: 26px;
  background: #3b4034;
  color: #fff5df
}

.recipe h2 {
  font-size: 42px
}

.recipe .steps li:before,
.recipe .textlink {
  color: #ffae82
}

.recipe .textlink {
  margin-top: 17px
}

.guide {
  max-width: 880px
}

.guide .lead {
  margin-bottom: 28px
}

details {
  border-top: 1px solid #b5b3a7
}

details:last-child {
  border-bottom: 1px solid #b5b3a7
}

summary {
  cursor: pointer;
  font: 700 28px var(--head);
  padding: 17px 4px
}

details p {
  margin: 0 0 20px 21px
}

details a {
  color: #803621
}

[hidden] {
  display: none !important
}

@media(max-width:800px) {
  .bar {
    gap: 24px
  }

  .hero-inner {
    gap: 20px
  }

  .hero .wordmark {
    width: 100%
  }

  .plate {
    padding: 11px
  }

  .garage-layout {
    grid-template-columns: 1fr
  }

  .join {
    gap: 22px
  }

  .join-art>div {
    left: 18px
  }

  .foot>div:last-child {
    gap: 12px
  }
}

@media(max-width:640px) {
  .bar {
    gap: 14px;
    flex-wrap: wrap;
    padding-block: 10px;
    min-height: 0
  }

  .brand {
    font-size: 22px
  }

  .brand img {
    width: 29px;
    height: 29px
  }

  .bar nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #42463e;
    padding-top: 4px
  }

  .bar nav a,
  .community {
    padding: 5px 0;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 5px
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 30px;
    min-height: 0
  }

  .hero-copy .eyebrow {
    font-size: 11px
  }

  .hero h1 {
    margin: 18px 0
  }

  .hero .wordmark {
    max-width: 420px
  }

  .hero .lede br {
    display: none
  }

  .actions {
    margin-top: 20px;
    gap: 14px
  }

  .plate {
    max-width: 440px;
    width: 100%;
    justify-self: center;
    transform: none
  }

  .plate img {
    max-height: 170px;
    object-fit: contain
  }

  .section-title,
  .split,
  .foot {
    display: grid;
    gap: 14px
  }

  .section-title p {
    padding: 0;
    border: 0
  }

  .section-title p br {
    display: none
  }

  .worlds,
  .join {
    grid-template-columns: 1fr
  }

  .world-link {
    height: 190px
  }

  .world-caption {
    left: 17px;
    bottom: 13px
  }

  .world-body {
    padding: 16px
  }

  .join-art {
    min-height: 235px
  }

  .view-foot {
    gap: 8px
  }

  .split .button {
    justify-self: start
  }

  .foot>div:last-child {
    display: grid;
    gap: 9px
  }
}
