/* Dapper Cactus Media
   One page, one theme: the flat West Texas highway, with a 3D cactus standing up out of it.
   Colors are sampled from the brand logo and banners. */

@font-face {
  font-family: "Titan One";
  src: url("../fonts/titan-one-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("../fonts/overpass-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sun: #FDC424;
  --ground: #EEAA17;
  --horizon: #E79E0E;
  --cream: #FDF8DE;
  --paper: #FFFDF3;
  --ink: #1F2124;
  --ink-soft: #45484D;
  --cactus: #6CC03A;
  --cactus-deep: #1E5A2C;
  --sign: #00704A;
  --bowtie: #D7262E;
  --steel: #8E959C;
  --asphalt: #3A3C3F;
  --road-line: #FFD23F;
  --work: #F58A1F;   /* work-zone orange */
  --sky: #9ED6F0;

  --wrap: 1180px;
  --gutter: 24px;
  --display: "Titan One", "Arial Black", Impact, sans-serif;
  --body: "Overpass", "Segoe UI", system-ui, sans-serif;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 73px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

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

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 4px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h2__sub {
  margin-top: 10px;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9em 1.4em 0.8em;
  font: 900 1.2rem/1 var(--display);
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  background: var(--bowtie);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn[disabled] { cursor: progress; opacity: 0.75; transform: none; }

.btn--small {
  min-height: 44px;
  padding: 0.7em 1em 0.6em;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--ink);
}

.textlink {
  font-weight: 800;
  font-size: 1.125rem;
  padding: 10px 2px;
}
.textlink:hover { text-decoration-thickness: 4px; }

/* one CTA, one reassurance line right under it */
.cta { display: grid; justify-items: start; gap: 12px; }
.cta__note { font-size: 1rem; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.cta--mid { position: relative; margin-top: clamp(40px, 6vw, 64px); }
.hosting .cta__note { color: var(--cream); }
.hero__actions .textlink { display: inline-flex; align-items: center; min-height: 58px; padding-block: 0; }
@media (max-width: 899px) {
  .how .cta--mid { padding-left: calc(var(--gutter) + 72px); } /* sits beside the road, like a fourth stop */
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sun);
  border-bottom: 3px solid var(--ink);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand__badge { width: 48px; height: 48px; }
.brand__name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1;
}
.brand__media {
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.95rem;
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-weight: 800;
  text-decoration: none;
  padding: 8px 0;
}
.nav a:hover { text-decoration: underline; }

@media (max-width: 899px) {
  .nav { display: none; }
}
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  html { scroll-padding-top: 67px; }
  .brand { gap: 8px; }
  .brand__media { display: none; }
  .brand__badge { width: 38px; height: 38px; }
  .brand__name { font-size: 1.05rem; white-space: nowrap; }
  .topbar__inner { gap: 10px; min-height: 64px; }
  .topbar .btn--small { font-size: 0.875rem; padding: 0.65em 0.75em 0.55em; white-space: nowrap; }
}
@media (max-width: 379px) {
  .brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- hero: a flat world and a cactus that isn't ---------- */

.hero {
  --ground-h: 92px;
  --sky-h: 112px;   /* skyline strip above the ground */
  position: relative;
  overflow: hidden;
  background: var(--sun);
  padding-top: clamp(28px, 5vw, 64px);
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 32px;
}
.hero__copy {
  align-self: center;
  padding-bottom: calc(var(--ground-h) + var(--sky-h) + 16px);
}
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
/* The brand's 3D wordmark treatment: fill, ink outline, ink extrusion. */
.pop {
  display: inline-block;
  font-size: 1.4em;
  color: var(--cactus);
  margin-top: 0.06em;
  text-shadow:
    -3px -3px 0 var(--ink), 0 -3px 0 var(--ink), 3px -3px 0 var(--ink),
    -3px 0 0 var(--ink), 3px 0 0 var(--ink),
    -3px 3px 0 var(--ink), 0 3px 0 var(--ink), 3px 3px 0 var(--ink),
    4px 5px 0 var(--ink), 5px 7px 0 var(--ink), 6px 9px 0 var(--ink), 7px 11px 0 var(--ink);
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.3, 1.2) 0.35s both;
}
@keyframes rise {
  from {
    transform: translate(7px, 11px);
    text-shadow:
      -3px -3px 0 var(--ink), 0 -3px 0 var(--ink), 3px -3px 0 var(--ink),
      -3px 0 0 var(--ink), 3px 0 0 var(--ink),
      -3px 3px 0 var(--ink), 0 3px 0 var(--ink), 3px 3px 0 var(--ink),
      3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 3px 3px 0 var(--ink);
  }
}
.hero__lede {
  max-width: 34em;
  margin-top: 22px;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem);
  font-weight: 500;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 28px;
  margin-top: 30px;
}

.hero__art {
  position: relative;
  width: min(100%, 440px);
  justify-self: center;
  margin-bottom: calc(var(--ground-h) * 0.42);
  container-type: inline-size;   /* the price tag sizes itself to the cactus */
}
.hero__sun {
  position: absolute;
  z-index: -2;
  width: 128%;
  left: -14%;
  top: -12%;
}
.hero__cactus { width: 100%; }
.hero__art::after { /* flat shadow so the pot sits on the ground */
  content: "";
  position: absolute;
  z-index: -1;
  left: 24%; right: 24%;
  bottom: -14px;
  height: 30px;
  border-radius: 50%;
  background: var(--horizon);
}

/* manila price tag hanging off the hat brim. It sits behind the cactus, so the brim
   overlaps its corner; everything scales with the cactus (cqi), with pixel floors so
   it stays readable when the cactus is small. */
.tag {
  --tilt: 12deg;
  position: absolute;
  z-index: -1;
  left: 64%;
  top: -13%;
  width: max(104px, 33cqi);
  padding: max(20px, 6.2cqi) max(6px, 2.2cqi) max(9px, 2.8cqi);
  text-align: center;
  background: #F4E3B5;
  border: 3px solid var(--ink);
  border-radius: max(8px, 2.4cqi);
  transform-origin: 12% 96%;
  transform: rotate(var(--tilt));
  animation: tilt 4.5s ease-in-out 1;
}
.tag::before { /* hole */
  content: "";
  position: absolute;
  top: max(6px, 1.8cqi); left: 50%;
  width: max(10px, 3cqi); height: max(10px, 3cqi);
  transform: translateX(-50%);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
}
.tag__lead {
  display: block;
  font-weight: 700;
  font-size: max(11px, 3.3cqi);
  line-height: 1.2;
}
.tag__now {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: max(34px, 11.5cqi);
  line-height: 1;
  margin-top: 2px;
}
.tag__then {
  display: block;
  margin-top: max(4px, 1.2cqi);
  font-size: max(10px, 2.9cqi);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
@keyframes tilt {
  0%, 100% { transform: rotate(var(--tilt)); }
  50% { transform: rotate(calc(var(--tilt) * 0.65)); }
}

.hero__quip {
  position: absolute;
  z-index: 3;
  left: 0; right: 0;
  bottom: 0;
  height: var(--ground-h);
  display: flex;
  align-items: center;
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  font: 900 clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem)/1.1 var(--display);
  color: var(--ink);
}
.hero__land {
  position: absolute;
  inset: auto 0 0;
  height: calc(var(--ground-h) + var(--sky-h));
  pointer-events: none;
}
.hero__land::after { /* the ground: dead flat, edge to edge */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--ground-h);
  background: var(--ground);
}
.hero__horizon {
  position: absolute;
  left: 0; right: 0;
  bottom: var(--ground-h);
  width: 100%;
  height: var(--sky-h);
}
@media (min-width: 900px) {
  .hero { --sky-h: min(13.75vw, 240px); } /* matches the 1600:220 viewBox, so nothing on the skyline gets cropped */
}
.wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 4.5s ease-out 1;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sil { fill: var(--horizon); stroke: var(--horizon); stroke-width: 0; }
.citysign__post { fill: var(--steel); }
.citysign__board { fill: var(--sign); }
.citysign__edge { fill: none; stroke: #fff; stroke-width: 2.5; }
.citysign text { fill: #fff; font-family: var(--body); font-weight: 800; }
.citysign__big { font-size: 20px; letter-spacing: 0.04em; }
.citysign__small { font-size: 12px; letter-spacing: 0.08em; }

@media (min-width: 900px) and (max-width: 1239px) {
  .hero__art { width: min(100%, 400px); justify-self: start; }
  .hero__lede { max-width: 28em; }
}

@media (max-width: 899px) {
  .hero { --ground-h: 110px; }
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__copy { padding-bottom: 8px; }
  .hero__art { width: min(70vw, 340px); margin-top: 28px; margin-bottom: 0; }
  .hero { --sky-h: 96px; }
  .hero__quip { position: relative; height: auto; justify-content: center; text-align: center; padding-top: 26px; padding-bottom: 18px; }
  .citysign { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(1.5); }
}
@media (max-width: 599px) {
  /* the tag is relatively bigger here: lift it clear of the arm, and leave room above
     the cactus (about 18% of its height) so it never reaches the buttons */
  .hero__art { justify-self: start; margin: calc(min(70vw, 340px) * 0.2) 0 0 2%; }
  .tag { --tilt: 10deg; top: -18%; }
  .citysign { display: none; } /* the cactus covers it at this width */
}

/* phones held sideways: no sticky bar, copy and cactus side by side so the button shows */
@media (min-width: 560px) and (max-width: 899px) and (max-height: 500px) {
  .topbar { position: static; }
  html { scroll-padding-top: 0; }
  .hero { --ground-h: 64px; --sky-h: 76px; padding-top: 20px; }
  .hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); gap: 16px; }
  .hero__copy { padding-bottom: calc(var(--ground-h) + var(--sky-h) + 4px); }
  .hero__title { font-size: clamp(1.9rem, 4.6vw, 2.4rem); }
  .hero__lede { font-size: 1rem; margin-top: 12px; }
  .hero__actions { margin-top: 16px; flex-direction: column; gap: 0; } /* link under the note, clear of the tag */
  .hero__actions .textlink { min-height: 44px; }
  .hero__art { width: min(100%, 190px); margin: 0 0 calc(var(--ground-h) * 0.42); justify-self: start; }
  /* no room right of the cactus here: the tag hangs off the left of the hat instead,
     and drops the $89 line (the lede right beside it says it) */
  .tag { left: auto; right: 70%; top: auto; bottom: 64%; transform-origin: 88% 96%; --tilt: -10deg; }
  .tag__then { display: none; }
  .hero__quip { position: absolute; height: var(--ground-h); padding: 0 var(--gutter); justify-content: flex-start; text-align: left; }
  .citysign { transform: none; }
}

/* ---------- how it works: the road ---------- */

.how {
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 clamp(72px, 9vw, 120px);
  background: var(--cream);
}

.road {
  --zone: 176px;   /* height of the sign area above the road */
  --road: 60px;
  position: relative;
  display: grid;
  grid-template-columns: 0.89fr 1fr 1fr;   /* box art is 4:5, the other two 9:10: equal heights */
  grid-template-rows: auto auto auto;
  gap: 0 44px;
  margin-top: 48px;
  padding-top: 0;
  list-style: none;
}
.road::before,
.road::after {
  content: "";
  position: absolute;
  left: -100vw;
  right: -100vw;
}
.road::before { /* asphalt with faded edge lines */
  top: var(--zone);
  height: var(--road);
  background: var(--asphalt);
  border-block: 4px solid #E8E0C4;
}
.road::after { /* center line */
  top: calc(var(--zone) + var(--road) / 2 - 3px);
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--road-line) 0 48px, transparent 48px 96px);
}

.stop {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
  padding-top: calc(var(--zone) + var(--road) + 34px);
}
.stop__sign {
  position: absolute;
  top: 0; left: 0;
  height: var(--zone);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
.sign {
  display: inline-block;
  padding: 0.5em 0.85em 0.38em;
  font: 800 1.75rem/1 var(--body);
  color: #fff;
  background: var(--sign);
  border-radius: 10px;
  box-shadow: inset 0 0 0 4px var(--sign), inset 0 0 0 7px #fff;
  white-space: nowrap;
}
.post {
  display: block;
  width: 10px;
  height: 40px;
  margin-left: 34px;
  background: var(--steel);
  border-inline: 2px solid #6F767D;
}
.stop--fork .post { margin-left: 140px; height: 26px; }

.fork { width: 290px; height: auto; }
.fork__board path:first-child { fill: var(--sign); }
.fork__edge { fill: none; stroke: #fff; stroke-width: 3; }
.fork text {
  fill: #fff;
  font-family: var(--body);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.fork .fork__price { font-size: 23px; }

.stop__img {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
}
.stop__title {
  margin-top: 20px;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
@media (min-width: 900px) {
  .stop:first-child .stop__img { aspect-ratio: 4 / 5; object-fit: cover; }
  .stop:not(:first-child) .stop__img { aspect-ratio: 9 / 10; object-fit: cover; object-position: 50% 30%; }
}
.stop p { margin-top: 8px; max-width: 26em; }


@media (max-width: 899px) {
  .road {
    --road: 44px;
    grid-template-columns: 1fr;
    gap: 56px;
    padding-left: calc(var(--gutter) + var(--road) + 28px);
  }
  .road::before {
    top: -40px; bottom: -150px;
    left: var(--gutter); right: auto;
    width: var(--road);
    height: auto;
    border-block: 0;
    border-inline: 4px solid #E8E0C4;
  }
  .road::after {
    top: -40px; bottom: -150px;
    left: calc(var(--gutter) + var(--road) / 2 - 3px); right: auto;
    width: 6px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--road-line) 0 40px, transparent 40px 80px);
  }
  .road { grid-template-rows: none; }
  .stop { display: block; padding-top: 0; }
  .stop__img { max-width: 400px; }
  .stop__sign { position: static; height: auto; margin-bottom: 16px; }
  .post { display: none; }
  .sign { font-size: 1.45rem; }
  .fork { width: min(100%, 290px); }
}

@media (min-width: 600px) and (max-width: 899px) {
  .stop {
    display: grid;
    grid-row: auto;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 28px;
    align-items: start;
  }
  .stop__sign { grid-column: 1 / -1; }
  .stop__img { grid-row: 2 / span 2; }
  .stop__title { grid-column: 2; grid-row: 2; margin-top: 0; }
  .stop p { grid-column: 2; grid-row: 3; }
}

/* ---------- built your way ---------- */

.built {
  padding: 0 0 clamp(64px, 9vw, 112px);
  background: var(--cream);
}
.built__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.built__img {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 14px;
}
.built__copy p {
  margin-top: 16px;
  max-width: 26em;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
}
@media (max-width: 899px) {
  .built { padding-top: 40px; }   /* room between the end of the road and the picture */
  .built__grid { grid-template-columns: 1fr; }
}

/* ---------- hosting ---------- */

.hosting {
  padding: clamp(64px, 9vw, 112px) 0;
  color: var(--cream);
  background: var(--cactus-deep);
}
.hosting__pic { display: block; }
.hosting__img {
  width: 100%;
  border-radius: 18px;
}
.hosting__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;   /* signs column sized to its signs */
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}
.hosting__lede {
  margin-top: 16px;
  max-width: 30em;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
}
.hosting__signs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}

/* white regulatory sign (the speed-limit style rate sign) */
.regsign {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 168px;
  min-height: 196px;
  padding: 16px 10px;
  color: var(--ink);
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 9px var(--ink);
  font: 900 1.375rem/1.15 var(--body);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.02em;
}
/* speed-limit style: small words, one big number */
.regsign--rate { min-height: 220px; font-size: 1.15rem; }
.regsign--rate b { display: block; margin: 2px 0 0; font-size: 4.25rem; line-height: 1; letter-spacing: -0.02em; }

/* orange work-zone diamond, like ROAD WORK AHEAD */
.worksign {
  position: relative;
  flex: none;
  display: grid;
  place-content: center;
  width: 192px;
  height: 192px;
  margin: -14px -8px;
  color: var(--ink);
  font: 900 0.85rem/1.1 var(--body);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.01em;
}
.worksign::before {
  content: "";
  position: absolute;
  inset: 28px;
  background: var(--work);
  border-radius: 10px;
  box-shadow: inset 0 0 0 4px var(--work), inset 0 0 0 7px var(--ink);
  transform: rotate(45deg);
}
.worksign span { position: relative; }
.worksign__big { font-size: 1.9rem; line-height: 1; }

@media (max-width: 899px) {
  .hosting__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
}
@media (max-width: 480px) {
  .hosting__img {
    width: calc(100% + var(--gutter) * 2);
    max-width: none;
    margin-inline: calc(var(--gutter) * -1);
    border-radius: 0;
  }
  .regsign { width: 148px; min-height: 180px; font-size: 1.2rem; }
  .regsign--rate { min-height: 200px; font-size: 1rem; }
  .regsign--rate b { font-size: 3.6rem; }
  .worksign { width: 172px; height: 172px; margin: -10px -6px; }
  .worksign::before { inset: 25px; }
  .worksign__big { font-size: 1.7rem; }
}

/* ---------- our work: billboards against the sky ---------- */

.work {
  position: relative;
  padding-top: clamp(64px, 9vw, 112px);
  background: var(--sky);
}
.billboards {
  --legs: 96px;
  display: grid;
  align-items: end;
  gap: 28px;
  margin-top: 48px;
}
@media (min-width: 1024px) {
  .billboards { display: flex; align-items: flex-end; }
  .billboard { flex: 1 1 0; min-width: 0; }
  .billboard--big { flex-grow: 1.3; }
  .exit { flex: none; }
}
/* an empty board, the honest roadside kind */
a.billboard { display: block; color: var(--ink); text-decoration: none; }
.billboard__face--text {
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  background: #fff;
  transition: transform 0.15s ease-out;
}
.billboard__face--text b {
  font: 900 clamp(1.6rem, 1rem + 1.6vw, 2.4rem)/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.billboard__face--text span { font-weight: 700; }
a.billboard:hover .billboard__face--text { transform: translateY(-4px); }
a.billboard:focus-visible { outline: none; }
a.billboard:focus-visible .billboard__face { outline: 3px solid var(--ink); outline-offset: 4px; }
.billboard {
  position: relative;
  margin: 0;
  padding-bottom: var(--legs);
}
.billboard::after { /* two steel legs and a catwalk */
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: 0;
  height: calc(var(--legs) + 4px);
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 8px no-repeat,
    linear-gradient(var(--steel), var(--steel)) 14% 0 / 12px 100% no-repeat,
    linear-gradient(var(--steel), var(--steel)) 86% 0 / 12px 100% no-repeat;
}
.billboard__plate strong { display: block; font-weight: 800; }
.billboard__face {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper);
  border: 6px solid var(--ink);
  border-radius: 6px;
}
.billboard__face img { width: 100%; height: 100%; object-fit: cover; }
.billboard__plate {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 5px 12px 3px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-align: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.exit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
.exit__board {
  position: relative;
  display: grid;
  justify-items: start;
  width: 170px;
  padding: 16px 16px 14px;
  background: var(--sign);
  border-radius: 10px;
  box-shadow: inset 0 0 0 4px var(--sign), inset 0 0 0 7px #fff;
  transition: transform 0.15s ease-out;
  z-index: 1;
}
.exit__tab {
  position: absolute;
  top: -30px; right: 14px;
  padding: 5px 12px 3px;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  background: var(--sign);
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 3px 0 0 #fff, inset 3px 0 0 0 #fff, inset -3px 0 0 0 #fff;
}
.exit__text { font: 900 1.6rem/1.05 var(--display); }
.exit__arrow {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 30px; height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.exit__post {
  margin-top: -6px;
  width: 12px;
  height: calc(var(--legs) + 30px);
  background: var(--steel);
  border-inline: 2px solid #6F767D;
}
.exit:hover .exit__board { transform: translateY(-4px); }
.exit:focus-visible { outline: none; }
.exit:focus-visible .exit__board { outline: 3px solid var(--ink); outline-offset: 4px; }

.work__ground {
  height: 56px;
  background: var(--ground);
}

@media (max-width: 1023px) {
  .billboards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 420px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding-top: 36px;
    margin-top: 12px;
    scrollbar-width: thin;
  }
  .billboard, .exit { scroll-snap-align: start; }
  .exit { padding-right: var(--gutter); }
}
@media (max-width: 599px) {
  .billboards { --legs: 64px; gap: 20px; }
  .billboard__plate { bottom: 10px; }
}

/* ---------- questions ---------- */

.faq {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--cream);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq__img {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 14px;
}
.faq__list .h2 { margin-bottom: 18px; }
.faq details { border-bottom: 3px solid var(--ink); }
.faq summary {
  position: relative;
  display: block;
  padding: 20px 48px 18px 0;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after { /* plus that turns into a minus */
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 20px;
  height: 4px;
  margin-top: -2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease-out;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { text-decoration: underline; }
.faq details p { padding: 0 48px 22px 0; max-width: 36em; }

@media (max-width: 699px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__img { max-width: 280px; }
}
@media (max-width: 699px) {
  .faq__img { display: none; } /* phones: get to the questions (and the form) sooner */
}

/* ---------- contact ---------- */

.contact {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--sun);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "head form" "aside form";
  grid-template-rows: auto 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact__head { grid-area: head; }
.contact__aside { grid-area: aside; }
.contact__lede { margin-top: 14px; font-size: 1.2rem; font-weight: 500; max-width: 24em; }
.contact__img {
  width: 100%;
  max-width: 380px;
  margin-top: 28px;
  border: 3px solid var(--ink);
  border-radius: 14px;
}

.formbox {
  grid-area: form;
  padding: clamp(22px, 3vw, 36px);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 8px 0 var(--ink);
}
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
}
.field { grid-column: 1 / -1; display: grid; gap: 6px; }
.field label { font-weight: 800; line-height: 1.3; }
.opt { font-weight: 500; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--sign);
  outline-offset: 2px;
}
.field [aria-invalid="true"] { border-color: var(--bowtie); }
.field__hint { font-size: 0.95rem; line-height: 1.35; color: var(--ink-soft); }
.field__err { color: #A8141B; font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.field__err:empty { display: none; }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form__status { grid-column: 1 / -1; font-weight: 700; }
.form__note { grid-column: 1 / -1; margin-top: -4px; }
.form__note a { overflow-wrap: anywhere; }
.thanks__small { display: block; margin-top: 12px; font: 700 1.05rem/1.4 var(--body); }
.form__status:empty { margin-top: -18px; }
.form__status:not(:empty) {
  padding: 12px 14px;
  color: #A8141B;
  background: #FFF1F0;
  border: 3px solid var(--bowtie);
  border-radius: 10px;
}
.form__status a { font-weight: 800; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks {
  display: none;
  font: 900 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1.15 var(--display);
}
.thanks:target,
.formbox.is-sent .thanks { display: block; }
.thanks:target + .form,
.formbox.is-sent .form { display: none; }
.thanks:focus { outline: none; }
.formbox.is-sent { align-self: stretch; display: grid; place-content: center; text-align: center; }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "aside"; grid-template-rows: none; }
  .formbox { margin-top: 28px; }
  .contact__aside { margin-top: 12px; }
  .contact__img { max-width: 300px; }
}
@media (max-width: 520px) {
  .form { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
}

/* ---------- footer ---------- */

.footer {
  padding: clamp(56px, 8vw, 96px) 0 40px;
  color: var(--cream);
  background: var(--ink);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.footer__wordmark { width: min(100%, 300px); }
.footer__tagline { margin-top: 12px; font-weight: 700; }
.footer__meta { line-height: 1.7; }
.footer__meta a { font-weight: 700; }
.footer__small {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 18px;
  font-size: 0.95rem;
  color: #CFCBB8;
}
.footer :focus-visible { outline-color: var(--sun); }

@media (max-width: 899px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- high contrast ---------- */

@media (forced-colors: active) {
  .sign, .regsign { outline: 3px solid CanvasText; outline-offset: -7px; }
  .worksign::before { outline: 3px solid CanvasText; outline-offset: -7px; }
  .exit__board { border: 3px solid CanvasText; padding: 13px 13px 11px; }
  .billboard__face--text { border-color: CanvasText; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- legal pages: terms, privacy ---------- */

.legal {
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px);
  background: var(--cream);
}
.legal__wrap > * { max-width: 68ch; }   /* a reading-width column inside the normal wrap */
.legal h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.legal__meta { margin-top: 10px; font-weight: 700; color: var(--ink-soft); }
.legal__intro { margin-top: 20px; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem); }
.legal h2 {
  margin-top: 40px;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.legal h2 + p, .legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal a { font-weight: 700; }
.form__legal { grid-column: 1 / -1; margin-top: -6px; font-size: 0.95rem; line-height: 1.35; color: var(--ink-soft); }

/* ---------- 404 ---------- */

.lost {
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 300px) minmax(0, 520px);
  gap: 40px;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px var(--gutter);
  background: var(--sun);
}
.lost__sign { margin-bottom: 20px; }
.lost__text { margin: 14px 0 28px; font-size: 1.2rem; }
@media (max-width: 699px) {
  .lost { grid-template-columns: 1fr; justify-items: start; }
  .lost__cactus { width: 180px; }
}
