:root {
  --steel: #c7cbc5;
  --steel-deep: #a9aea7;
  --oxide: #2a1b14;
  --rust: #a8481c;
  --rust-light: #e9a06a;
  --patina: #2f6b5e;
  --maple: #e3c08f;
  --grip: #1f1e1c;
  --paint: #ece6d8;

  --stencil: "Big Shoulders Stencil Display", "Impact", sans-serif;
  --body: "Archivo", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --measure: 38rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--steel);
  color: var(--oxide);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Galvanized-steel grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.svg-stencil { font-family: var(--stencil); font-weight: 900; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--oxide);
  color: var(--paint);
  padding: .5rem 1rem;
  z-index: 200;
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

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

a { color: inherit; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
}

.logo {
  font-family: var(--stencil);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.logo--small { font-size: 1.25rem; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2.5vw, 2rem);
  font-weight: 600;
  font-size: .95rem;
}
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-cta {
  background: var(--oxide);
  color: var(--paint);
  padding: .55rem .9rem;
  border-radius: 3px;
}
.site-header nav .nav-cta:hover { text-decoration: none; background: var(--rust); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "mark mark"
    "body deck";
  column-gap: var(--gutter);
  padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem);
}

.hero__mark {
  grid-area: mark;
  display: flex;
  flex-direction: column;
  line-height: .8;
  font-family: var(--stencil);
  font-weight: 900;
  text-transform: uppercase;
}

.hero__word {
  font-size: clamp(5.5rem, 24.5vw, 26rem);
  letter-spacing: -.005em;
  margin-left: -.04em;
  /* overspray halo, like paint through a stencil */
  text-shadow: 0 0 .06em rgba(42, 27, 20, .35), 0 0 .2em rgba(168, 72, 28, .18);
  animation: spray 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

.hero__sub {
  font-size: clamp(1.25rem, 3vw, 2.75rem);
  letter-spacing: .62em;
  margin-top: .3em;
  color: var(--rust);
}

@keyframes spray {
  from { opacity: 0; filter: blur(14px); clip-path: inset(0 100% 0 0); }
  60% { opacity: 1; }
  to { opacity: 1; filter: blur(0); clip-path: inset(0 0 0 0); }
}

.hero__body {
  grid-area: body;
  max-width: var(--measure);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.hero__lead {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  font-weight: 750;
  font-variation-settings: "wdth" 80;
}

.hero__deck {
  grid-area: deck;
  margin-top: clamp(-6rem, -7vw, -2rem);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .75rem;
}

.hero__hint {
  font-size: .85rem;
  font-weight: 600;
  opacity: .6;
}

/* Decks */
.deck {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  perspective: 1400px;
  border-radius: 999px;
}

.deck--h {
  width: min(100%, 760px);
  transform: rotate(-9deg);
}

.deck__flip {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  filter: drop-shadow(0 22px 18px rgba(42, 27, 20, .35));
}

.deck__face {
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.deck__face svg { display: block; width: 100%; height: auto; }

.deck__face--grip {
  position: absolute;
  inset: 0;
  transform: rotateX(180deg);
}

.deck.is-flipping .deck__flip {
  animation: kickflip .9s cubic-bezier(.3, .05, .3, 1) both;
}

@keyframes kickflip {
  0%   { transform: translateY(0) rotateX(0); }
  15%  { transform: translateY(6%) rotateX(0); }
  50%  { transform: translateY(-55%) rotateX(200deg); }
  85%  { transform: translateY(-4%) rotateX(360deg); }
  100% { transform: translateY(0) rotateX(360deg); }
}

/* Signup */
.signup {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}

.signup input {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  padding: .85rem 1rem;
  border: 2px solid var(--oxide);
  border-radius: 3px;
  background: rgba(236, 230, 216, .55);
  color: var(--oxide);
}
.signup input::placeholder { color: rgba(42, 27, 20, .5); }

.signup button {
  flex: 0 0 auto;
  font: inherit;
  font-weight: 750;
  padding: .85rem 1.25rem;
  border: 2px solid var(--oxide);
  border-radius: 3px;
  background: var(--oxide);
  color: var(--paint);
  cursor: pointer;
}
.signup button:hover { background: var(--rust); border-color: var(--rust); }
.signup button:disabled { opacity: .6; cursor: progress; }

.signup__note {
  flex-basis: 100%;
  font-size: .875rem;
  opacity: .75;
}
.signup.is-done .signup__note { opacity: 1; font-weight: 650; color: var(--patina); }
.signup.is-error .signup__note { opacity: 1; font-weight: 650; color: var(--rust); }

/* Belief — grip tape band */
.belief {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
  align-items: end;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  background-color: var(--grip);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .35 -.05'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  color: var(--steel);
}

.belief__line {
  font-family: var(--stencil);
  font-weight: 900;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  line-height: .9;
  text-transform: uppercase;
  color: var(--paint);
  text-wrap: balance;
}

.belief__text {
  display: grid;
  gap: 1rem;
  max-width: var(--measure);
  color: #d5d7d1;
}

/* Section heads */
.section-head {
  display: grid;
  gap: .75rem;
  max-width: 44rem;
}
.section-head h2,
.founder h2,
.list h2 {
  font-family: var(--stencil);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .9;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-head p { max-width: var(--measure); }

/* The rack */
.decks {
  padding: clamp(4rem, 9vw, 8rem) var(--gutter) 0;
}

.rack {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 4rem);
  position: relative;
}

/* the steel rail the decks lean on */
.rack::before {
  content: "";
  position: absolute;
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  top: 14%;
  height: 14px;
  background: linear-gradient(var(--steel-deep), #8b908a 60%, #6f746e);
  border-top: 1px solid #e2e5df;
  box-shadow: 0 6px 10px rgba(42, 27, 20, .2);
}

.rack__item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .4rem;
  text-align: center;
}

.rack__deck {
  width: min(100%, 210px);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(10px 18px 14px rgba(42, 27, 20, .3));
  position: relative;
}
.rack__item:nth-child(1) .rack__deck { transform: rotate(-4deg); }
.rack__item:nth-child(2) .rack__deck { transform: rotate(2.5deg); }
.rack__item:nth-child(3) .rack__deck { transform: rotate(-1.5deg); }

.rack__item h3 {
  font-family: var(--stencil);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
}
.rack__item p {
  max-width: 18rem;
  font-size: .95rem;
}

/* Founder — bare maple */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gutter);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  background:
    repeating-linear-gradient(90deg, rgba(168, 72, 28, .07) 0 2px, transparent 2px 9px, rgba(42, 27, 20, .05) 9px 10px, transparent 10px 23px),
    var(--maple);
  border-top: 10px solid #c99a62;
  border-bottom: 10px solid #c99a62;
}
.founder__text {
  display: grid;
  gap: 1rem;
  max-width: var(--measure);
  font-size: 1.15rem;
}

/* Spots */
.spots {
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
}

.pledges {
  list-style: none;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.pledges li {
  border-top: 3px solid var(--oxide);
  padding-top: 1rem;
  display: grid;
  gap: .4rem;
  align-content: start;
}
.pledges li:nth-child(2) { border-top-color: var(--patina); }
.pledges li:nth-child(3) { border-top-color: var(--rust); }
.pledges h3 {
  font-size: 1.2rem;
  font-weight: 750;
  font-variation-settings: "wdth" 85;
}

/* Final signup */
.list {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  background: var(--rust);
  color: var(--paint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .03' numOctaves='4' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .08 0 0 0 0 .04 1.8 0 0 0 -0.75'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23r)'/%3E%3C/svg%3E");
}
.list .signup { width: min(100%, 36rem); }
.list .signup input {
  border-color: var(--paint);
  background: rgba(236, 230, 216, .92);
}
.list .signup button {
  background: var(--paint);
  color: var(--oxide);
  border-color: var(--paint);
}
.list .signup button:hover { background: var(--oxide); color: var(--paint); border-color: var(--oxide); }
.list .signup.is-done .signup__note,
.list .signup.is-error .signup__note { color: var(--paint); }
.list :focus-visible { outline-color: var(--paint); }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 2rem;
  padding: 2rem var(--gutter);
  font-size: .9rem;
}
.site-footer p:last-child { margin-left: auto; }

/* Smaller screens */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "mark" "deck" "body";
  }
  .hero__deck { margin-top: 2rem; }
  .hero__body { padding-top: 2rem; }
  .belief,
  .founder { grid-template-columns: minmax(0, 1fr); }
  .pledges { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero__sub { letter-spacing: .4em; }
  .rack {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .rack::before { display: none; }
  .rack__item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    justify-items: start;
    text-align: left;
    column-gap: 1.25rem;
  }
  .rack__deck { grid-row: 1 / 3; margin-bottom: 0; }
  .rack__item h3 { align-self: end; }
  .site-footer p:last-child { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__word { animation: none; }
  .deck.is-flipping .deck__flip { animation: none; }
}
