:root {
  --mill: #c5cbc3;
  --mill-deep: #9aa39c;
  --sheet: #eef3f0;
  --paper: #f7faf8;
  --vis: #d5de00;
  --vis-ink: #14211c;
  --zinc: #6a756f;
  --ink: #14211c;
  --stamp: #0d4f6c;
  --stamp-hot: #14648a;
  --edge: #14211c;
  --display: "Big Shoulders Display", sans-serif;
  --body: "Atkinson Hyperlegible", sans-serif;
  --mono: "Overpass Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--mill);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--vis);
  color: var(--ink);
  padding: 8px 12px;
}

/* hi-vis webbing from the top of the gate bench */
.webbing {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 28px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--vis) 0 14px,
      #1c1c14 14px 18px,
      var(--vis) 18px 32px
    );
  box-shadow: 0 3px 0 rgba(20, 33, 28, 0.18);
}

.top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 6vw 14px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}
.brand .mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand .legal {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
nav a:hover { border-bottom-color: var(--stamp); }

.btn {
  display: inline-block;
  background: var(--stamp);
  color: #f4f7f5;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.btn:hover { background: var(--stamp-hot); }
.btn.vis {
  background: var(--vis);
  color: var(--vis-ink);
}
.btn.vis:hover { filter: brightness(1.05); }

.ghost {
  color: var(--stamp);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--vis);
  padding-bottom: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: start;
  padding: 28px 6vw 64px;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stamp);
  margin: 0 0 14px;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 13ch;
}

.lede {
  max-width: 38em;
  font-size: 1.08rem;
  margin: 0 0 26px;
  color: #24332d;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

/* hanging CR80 card */
.hang {
  justify-self: center;
  width: min(100%, 320px);
  display: grid;
  justify-items: center;
}
.cord {
  width: 10px;
  height: 54px;
  background:
    repeating-linear-gradient(
      180deg,
      var(--vis) 0 8px,
      #1c1c14 8px 10px
    );
  margin-top: -14px;
}
.eyelet {
  width: 22px;
  height: 10px;
  border: 3px solid #8c9690;
  border-radius: 0 0 8px 8px;
  background: #b7bfb8;
  margin-bottom: -2px;
}

.card {
  width: 100%;
  aspect-ratio: 54 / 86;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
  filter: drop-shadow(16px 22px 0 rgba(20, 33, 28, 0.16));
}
.card.is-flipped { transform: rotateY(180deg); }

.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), transparent 16%),
    var(--sheet);
  border: 2px solid var(--edge);
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
}
.face.back {
  transform: rotateY(180deg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.4), transparent 14%),
    #e3ebe6;
}

.slot {
  width: 42px;
  height: 8px;
  margin: 0 auto 12px;
  border-radius: 3px;
  background: var(--mill);
  box-shadow: inset 0 0 0 2px var(--edge);
}

.card-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 0.9;
}
.card-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--zinc);
  margin-top: 6px;
}

.photo {
  margin: 14px 0 12px;
  height: 132px;
  border: 2px solid var(--edge);
  background:
    repeating-linear-gradient(90deg, #d5ddd8 0 10px, #c9d2cc 10px 20px);
  position: relative;
  overflow: hidden;
}
.photo::after {
  content: "";
  position: absolute;
  inset: 16px 36px;
  border: 2px dashed #7c8882;
  opacity: 0.45;
}

.meta {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
  margin: 0;
}
.meta b { display: inline-block; min-width: 7.2ch; }

.hint {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--zinc);
}

.stamp {
  margin: auto;
  width: 168px;
  height: 168px;
  border: 7px double var(--stamp);
  border-radius: 50%;
  color: var(--stamp);
  display: grid;
  place-items: center;
  transform: rotate(-11deg);
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.05;
}

.block { padding: 64px 6vw; }
.block h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.intro {
  max-width: 40em;
  margin: 0 0 32px;
  color: #31403a;
}

.work { background: var(--sheet); }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  background: var(--paper);
  border: 2px solid var(--edge);
  border-radius: 4px;
  padding: 20px 18px;
  box-shadow: 6px 6px 0 rgba(20, 33, 28, 0.08);
}
.tile h3 {
  font-family: var(--display);
  font-size: 26px;
  margin: 0 0 8px;
}
.tile p { margin: 0; color: #31403a; }

.day { background: #dfe6e1; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--edge);
  background: var(--paper);
}
.step {
  padding: 22px 18px 24px;
  border-right: 2px solid var(--edge);
}
.step:last-child { border-right: 0; }
.step .when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stamp);
}
.step h3 {
  font-family: var(--display);
  font-size: 28px;
  margin: 8px 0 8px;
}
.step p { margin: 0; font-size: 16px; color: #31403a; }

.company-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}
.facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--paper);
  border: 2px solid var(--edge);
}
.facts th,
.facts td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #d5ddd8;
  vertical-align: top;
}
.facts th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 34%;
  color: var(--zinc);
  font-weight: 400;
}
.facts tr:last-child th,
.facts tr:last-child td { border-bottom: 0; }
.note { font-size: 14px; color: var(--zinc); margin: 14px 0 0; }

.contact { background: var(--sheet); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}
.vcard {
  background: var(--paper);
  border: 2px solid var(--edge);
  border-radius: 4px;
  padding: 22px;
}
.vcard h3 {
  font-family: var(--display);
  margin: 0 0 10px;
  font-size: 32px;
}
.vcard p { margin: 0 0 8px; }
.vcard a { color: var(--stamp); }

form { display: grid; gap: 12px; }
label span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
input, textarea {
  width: 100%;
  border: 2px solid var(--edge);
  background: var(--paper);
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.form-status {
  font-family: var(--mono);
  font-size: 13px;
  min-height: 1.2em;
}

footer {
  background: var(--ink);
  color: #c9d2cc;
  padding: 28px 6vw 40px;
  font-size: 14px;
}
footer strong {
  color: var(--vis);
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}
footer p { margin: 0 0 8px; max-width: 72em; }

.menu {
  display: none;
  background: transparent;
  border: 2px solid var(--edge);
  border-radius: 4px;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .top { grid-template-columns: 1fr auto; }
  nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  nav.open { display: flex; }
  .menu { display: inline-block; }
  .hero, .company-grid, .contact-grid, .grid-3, .steps {
    grid-template-columns: 1fr;
  }
  .step { border-right: 0; border-bottom: 2px solid var(--edge); }
  .step:last-child { border-bottom: 0; }
}

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