/* VendorKit: a market stall. Striped awning, hang tags on a string, warm paper. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --page: #fbf3e4;
  --ink: #241a12;
  --soft: #5c4c3c;
  --rule: #241a12;
  --tomato: #c8371a;
  --stripe: #fffaf0;
  --link: #a82c13;
  --mustard: #edb63c;
  --leaf: #2f6b3f;
  --kraft: #d8bd92;
  --tag-ink: #241a12;
  --tag-dark: #33261b;
  --band: #241a12;
  --band-ink: #fbf3e4;
  --band-link: #f6c65a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #1c1410;
    --ink: #f8ecd9;
    --soft: #c9b7a0;
    --rule: #f8ecd9;
    --tomato: #d9472a;
    --tag-dark: #57412f;
    --stripe: #f4e6cf;
    --link: #ff9a7d;
    --band: #f4e6cf;
    --band-ink: #241a12;
    --band-link: #a82c13;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.55 Figtree, system-ui, sans-serif; overflow-x: hidden; }
a { color: var(--link); text-underline-offset: .15em; }
h1, h2, h3 { font-family: "Bricolage Grotesque", Figtree, sans-serif; margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* The awning: stripes with a scalloped lower edge. */
.awning {
  --w: 56px;
  height: 64px;
  background: repeating-linear-gradient(90deg, var(--tomato) 0 var(--w), var(--stripe) var(--w) calc(var(--w) * 2));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--w) / 2) no-repeat, radial-gradient(circle at 50% 0, #000 calc(var(--w) / 2 - .5px), transparent calc(var(--w) / 2)) bottom left / var(--w) calc(var(--w) / 2) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--w) / 2) no-repeat, radial-gradient(circle at 50% 0, #000 calc(var(--w) / 2 - .5px), transparent calc(var(--w) / 2)) bottom left / var(--w) calc(var(--w) / 2) repeat-x;
  filter: drop-shadow(0 3px 0 rgb(0 0 0 / .12));
}

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 1.45rem/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; }
.soon { margin: 0; padding: 6px 14px; border: 2px solid var(--rule); border-radius: 999px; font-weight: 700; font-size: .9rem; white-space: nowrap; }

.hero { display: grid; gap: 28px; padding-block: clamp(40px, 8vw, 96px) clamp(48px, 7vw, 88px); }
h1 { font-size: clamp(3.3rem, 12.5vw, 9.5rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; text-wrap: balance; }
.under { background: linear-gradient(var(--mustard), var(--mustard)) 0 88% / 100% .16em no-repeat; white-space: nowrap; }
.hero-side { max-width: 38rem; justify-self: end; }
.lede { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.4; }
.note { margin: 16px 0 0; font-weight: 700; color: var(--soft); }

.kit { position: relative; padding-bottom: clamp(56px, 8vw, 104px); }
.kit h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 26px; }

/* The string, with tags hanging from it. */
.line { height: 3px; background: var(--rule); opacity: .75; }
.tags { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; margin-top: -3px; }
.tag {
  --drop: 30px;
  position: relative;
  margin-top: var(--drop);
  filter: drop-shadow(0 4px 0 rgb(0 0 0 / .14));
  transform: rotate(var(--r));
  transform-origin: 50% calc(var(--drop) * -1);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.tag > div {
  --cut: 20px;
  position: relative;
  height: 100%;
  padding: 46px 18px 22px;
  background: var(--bg);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.tag > div::after { content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--page); }
/* The tie, from the string down through the punched hole. */
.tag::before { content: ""; position: absolute; z-index: 1; top: calc(var(--drop) * -1); left: 50%; width: 2px; height: calc(var(--drop) + 21px); margin-left: -1px; background: var(--rule); }
.tag h3 { font-size: 1.32rem; font-weight: 800; line-height: 1.08; letter-spacing: -.015em; margin-bottom: 10px; }
.tag p { margin: 0; font-size: 1rem; line-height: 1.42; }
.tag a { color: inherit; font-weight: 700; }
.tag { color: var(--tag-ink); }
.t-tomato { --bg: #c8371a; --r: -2.2deg; color: #fff; }
.t-mustard { --bg: var(--mustard); --r: 1.6deg; --drop: 44px; }
.t-leaf { --bg: var(--leaf); --r: -1.1deg; color: #fff; --drop: 24px; }
.t-kraft { --bg: var(--kraft); --r: 2deg; --drop: 50px; }
.t-ink { --bg: var(--tag-dark); --r: -1.7deg; color: #fbf3e4; --drop: 32px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tag:hover { transform: rotate(calc(var(--r) * -1)); }
}

.ready { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 5vw, 72px); align-items: end; padding-block: clamp(36px, 6vw, 72px); border-top: 3px solid var(--rule); }
.ready h2 { font-size: clamp(2.1rem, 5.2vw, 4.1rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.ready p { margin: 0; font-size: 1.15rem; }

.foot { margin-top: clamp(36px, 6vw, 72px); background: var(--band); color: var(--band-ink); padding-block: 32px; }
.foot a { color: var(--band-link); font-weight: 700; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.foot p { margin: 0; }
.fine { opacity: .85; }

@media (max-width: 960px) {
  .tags { grid-template-columns: repeat(2, 1fr); }
  .tag, .t-mustard, .t-leaf, .t-kraft, .t-ink { --drop: 24px; transform-origin: 50% 0; }
  .tag::before, .line { display: none; }
  .t-ink { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .awning { --w: 36px; height: 42px; }
  .tags { grid-template-columns: 1fr; gap: 4px; }
  .tag > div { padding: 40px 20px 20px; }
  .t-tomato { --r: -.8deg; } .t-mustard { --r: .7deg; } .t-leaf { --r: -.5deg; } .t-kraft { --r: .8deg; } .t-ink { --r: -.6deg; }
  .ready { grid-template-columns: 1fr; }
  .hero-side { justify-self: start; }
}

.notfound { padding-block: clamp(48px, 10vw, 120px); }
.notfound h1 { font-size: clamp(2.8rem, 9vw, 6rem); }
.notfound p { font-size: 1.2rem; margin-top: 20px; }
