/* S & M Hauling — one horizon: sky above, red dirt below. */

@font-face {
  font-family: "Besley";
  src: url("../fonts/besley.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("../fonts/besley-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/franklin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky: #BFDDE0;
  --dirt: #A63C1C;
  --dirt-bright: #A63C1C;
  --ink: #26130C;
  --sun: #FFC531;
  --bone: #FFF2DC;
  --win: var(--sky);

  --display: "Besley", Rockwell, Georgia, serif;
  --text: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;

  --pad: 20px;
  --gap: 20px;
  --mast-h: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--dirt) var(--sky);
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--sun); color: var(--ink); }

h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-color: var(--sun); }
.nb { white-space: nowrap; }
.lead figcaption a, .load-head a, .load-list a { padding-block: 13px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.load :focus-visible, .foot :focus-visible { outline-color: var(--bone); }
.voices :focus-visible, .bar :focus-visible { outline-color: var(--sun); }

svg { display: block; }
.sprite { position: absolute; }

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bone);
  font-weight: 600;
  border-radius: 8px;
}
.skip:focus { top: 12px; outline-color: var(--sun); }

/* ---------- controls ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s, color .18s, transform .18s var(--ease-out);
}
.btn svg { fill: currentColor; flex: none; }
.btn:active { transform: scale(.98); }
.btn-call { background: var(--sun); color: var(--ink); }
.btn-call:hover { background: var(--bone); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--sky); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- masthead ---------- */

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--mast-h);
  padding: 0 var(--pad);
}
.brand, .foot-brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -.015em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand .amp { color: var(--dirt); margin: 0 .16em; }
.mast-where { display: none; font-size: .9375rem; font-weight: 500; }
.mast-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  font-size: .9375rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.mast-call svg { fill: var(--dirt); }
.mast-call:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* ---------- hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--mast-h));
}
.sky {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px var(--pad) 0;
}

.lead blockquote p {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, min(6.6vw, 11.4vh), 6rem);
  line-height: .98;
  letter-spacing: -.024em;
  text-wrap: balance;
}
.lead figcaption {
  margin-top: 14px;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.offer { margin-top: 24px; }
.offer h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.18;
  letter-spacing: -.012em;
  max-width: 21em;
  text-wrap: balance;
}
.offer p { margin-top: 8px; max-width: 34em; line-height: 1.45; }
.offer .actions { margin-top: 18px; }
.offer .btn { flex: 1 1 auto; }

.horizon { margin-top: auto; padding-top: 22px; }
.haul { transform: translate3d(var(--x, 0px), 0, 0); }
.rig { width: 100%; height: auto; overflow: visible; }

.ground {
  background: var(--dirt);
  color: var(--bone);
  padding: 18px var(--pad) 22px;
  min-height: clamp(84px, 11svh, 118px);
}
.trace {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(.9375rem, 4.15vw, 1.625rem);
  line-height: 1.25;
  letter-spacing: -.008em;
  white-space: nowrap;
}
.trace cite {
  display: block;
  margin-top: 4px;
  font-family: var(--text);
  font-style: normal;
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: 0;
}
.js .trace { clip-path: inset(-10% calc(100% - var(--reveal, 0px)) -10% 0); }

/* ---------- what we haul (below ground) ---------- */

.load {
  background: var(--dirt);
  color: var(--bone);
  padding: 56px var(--pad) 88px;
}
.load h2, .how h2, .voices h2, .call h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.375rem, 5.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.024em;
  text-wrap: balance;
}
.load-head p { margin-top: 18px; max-width: 30em; font-size: 1.125rem; }

.load-list { margin-top: 44px; }
.load-list li {
  display: grid;
  grid-template-columns: 1fr 84px;
  column-gap: 16px;
  align-items: end;
  padding: 24px 0 26px;
  border-top: 2px solid color-mix(in srgb, var(--bone) 34%, transparent);
}
.load-list li:last-child { border-bottom: 2px solid color-mix(in srgb, var(--bone) 34%, transparent); }
.load-list h3 {
  grid-column: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.018em;
}
.load-list p { grid-column: 1; margin-top: 8px; max-width: 34em; }
.load-list svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 84px;
  height: auto;
  overflow: visible;
}
.load-ask { grid-template-columns: 1fr; }

/* ---------- how it goes ---------- */

.how { padding: 88px var(--pad) 96px; }
.stairs { margin-top: 36px; }
.stairs blockquote p {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.3vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -.016em;
}
.stairs span { display: block; padding: 14px 0 16px; border-top: 2px solid var(--ink); text-wrap: balance; }
.stairs span:nth-child(2) { margin-left: 7%; }
.stairs span:nth-child(3) { margin-left: 14%; }
.stairs span:nth-child(4) { margin-left: 21%; }
.stairs span:first-child::before { content: "“"; }
.stairs span:last-child::after { content: "”"; }
.stairs figcaption { margin-top: 6px; font-weight: 600; font-size: .9375rem; margin-left: 21%; }
.how-foot { margin-top: 44px; }
.how-foot p { max-width: 30em; font-size: 1.125rem; }
.how-foot .actions { margin-top: 20px; }
.how-foot .btn { flex: 1 1 auto; padding: 0 12px; font-size: clamp(.9375rem, 4.4vw, 1.125rem); }

/* ---------- voices ---------- */

.voices {
  background: var(--ink);
  color: var(--bone);
  padding: 88px var(--pad) 96px;
}
.voices-note { margin-top: 22px; max-width: 24em; font-size: 1.125rem; }
.score {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 14px;
  margin-top: 6px;
  min-height: 44px;
  text-decoration: none;
}
.score-n {
  font-family: var(--display);
  font-weight: 900;
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--sun);
  font-variant-numeric: lining-nums;
}
.score-s { display: inline-flex; gap: 3px; }
.score-s svg { width: 26px; height: 26px; fill: var(--sun); }
.score-l {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}
.score:hover .score-l { text-decoration-color: var(--sun); }
.score-l svg { color: var(--sun); }

.quotes { margin-top: 56px; }
.q { padding: 28px 0 30px; border-top: 2px solid color-mix(in srgb, var(--bone) 26%, transparent); }
.q blockquote p { font-size: 1.125rem; line-height: 1.5; max-width: 34em; }
.q-lg blockquote p {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: -.014em;
  max-width: 24em;
}
.q blockquote p::before { content: "“"; }
.q blockquote p::after { content: "”"; }
.q figcaption {
  margin-top: 14px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  color: var(--sun);
}

/* ---------- call ---------- */

.call { background: var(--sun); --win: var(--sun); }
.call-in { padding: 88px var(--pad) 0; }
.call-quote {
  margin-top: 18px;
  max-width: 26em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
}
.call-quote cite {
  display: block;
  margin-top: 6px;
  font-family: var(--text);
  font-style: normal;
  font-weight: 600;
  font-size: .9375rem;
}
.bignum {
  display: inline-block;
  margin-top: 36px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, 11.2vw, 6rem);
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: .1em;
  border-bottom: .075em solid var(--dirt);
  transition: border-color .18s;
}
.bignum:hover { border-color: var(--ink); }

.facts { margin-top: 48px; border-top: 2px solid var(--ink); }
.facts > div {
  display: grid;
  grid-template-columns: 5.6em minmax(0, 1fr);
  column-gap: 10px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 2px solid var(--ink);
}
.facts dt { font-family: var(--display); font-weight: 800; }
.facts dd { font-size: 1rem; font-weight: 500; }
.facts a { padding: 12px 0; }

.horizon-end { padding: 56px var(--pad) 0; margin: 0; }
.rig-empty { width: min(100%, 560px); margin-left: auto; }

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

.foot {
  background: var(--dirt);
  color: var(--bone);
  padding: 40px var(--pad) calc(112px + env(safe-area-inset-bottom));
}
.foot-brand { font-size: 1.5rem; }
.foot-brand .amp { color: var(--sun); margin: 0 .16em; }
.foot-line { margin-top: 10px; max-width: 26em; }
.foot-links { margin-top: 20px; display: grid; justify-items: start; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot-legal { margin-top: 26px; font-size: .875rem; }

/* ---------- sticky call bar ---------- */

.bar {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--ink);
  transform: translateY(105%);
  visibility: hidden;
  transition: transform .45s var(--ease-out), visibility 0s .45s;
}
.bar.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
.bar .btn { min-height: 52px; padding: 0 14px; font-size: 1rem; border-color: transparent; }
.bar .btn-call { flex: 1 1 auto; }
.bar .btn-line { flex: 0 0 auto; min-width: 84px; color: var(--bone); border-color: color-mix(in srgb, var(--bone) 60%, transparent); }
.bar-more { display: none; }
@media (min-width: 400px) { .bar-more { display: inline; } }
.bar .btn-line:hover { background: var(--bone); color: var(--ink); }

/* ---------- motion: the haul-off ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero .rig { animation: roll-in 1.6s var(--ease-out) both; }
  .hero .spin { rotate: var(--spin, 0deg); animation: spin-in 1.6s var(--ease-out) both; }
  .hero .spin-s { rotate: calc(var(--spin, 0deg) * 1.25); }
  .hero .rig-body { animation: settle 1.6s ease-out both; }
}
@keyframes roll-in { from { transform: translateX(-108vw); } }
@keyframes spin-in { from { transform: rotate(-1440deg); } }
@keyframes settle {
  0%, 70% { transform: translateY(0); }
  82% { transform: translateY(3px); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .js .trace { clip-path: none; }
  .btn, .bar { transition: none; }
}

/* ---------- wider screens ---------- */

@media (min-width: 600px) {
  :root { --pad: 32px; }
  .offer .btn, .how-foot .btn { flex: 0 0 auto; }
  .how-foot .btn { padding: 0 24px; }
  .load-list li { grid-template-columns: 1fr 108px; }
  .load-list svg { width: 108px; }
}

@media (min-width: 900px) {
  :root { --pad: 64px; --gap: 24px; --mast-h: 88px; }

  .brand { font-size: 1.5rem; }
  .mast-where { display: block; margin-left: auto; margin-right: 12px; }
  .mast-call { font-size: 1.0625rem; }

  .sky {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: var(--gap);
    padding-top: 20px;
  }
  .lead { grid-column: 1 / -1; }
  .lead figcaption { margin-top: 20px; font-size: 1rem; }
  .offer { grid-column: 1 / span 5; grid-row: 2; align-self: end; margin: 0; padding: 40px 0 52px; }
  .offer h1 { font-size: 1.75rem; }
  .offer p { font-size: 1.125rem; }
  .offer .actions { margin-top: 24px; }
  .horizon { grid-column: 6 / -1; grid-row: 2; align-self: end; margin: 0; padding-top: 12px; }

  .ground {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    padding-top: 22px;
  }
  .trace { grid-column: 6 / -1; font-size: clamp(1.25rem, 1.85vw, 1.625rem); }
  .trace cite { display: inline; margin-left: 12px; }

  .load {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
    padding-top: 96px;
    padding-bottom: 128px;
  }
  .load-head { grid-column: 1 / span 5; position: sticky; top: 56px; }
  .load-list { grid-column: 7 / -1; margin-top: 8px; }
  .load-list li { padding: 30px 0 32px; }

  .how { padding-top: 144px; padding-bottom: 152px; }
  .stairs { margin-top: 56px; }
  .stairs span { padding: 18px 0 22px; }
  .stairs span:nth-child(2) { margin-left: 10%; }
  .stairs span:nth-child(3) { margin-left: 20%; }
  .stairs span:nth-child(4) { margin-left: 30%; }
  .stairs figcaption { margin-left: 30%; font-size: 1rem; }
  .how-foot { margin-left: 30%; margin-top: 56px; }

  .voices { padding-top: 136px; padding-bottom: 112px; }
  .voices-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
  }
  .voices-head h2 { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .voices-note { grid-column: 9 / -1; margin: 0; }
  .score { grid-column: 9 / -1; justify-self: start; }
  .quotes {
    margin-top: 88px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  .quotes-col:first-child { grid-column: 1 / span 7; }
  .quotes-col:last-child { grid-column: 9 / -1; }
  .q { padding: 32px 0 48px; }
  .q blockquote p { font-size: 1.1875rem; }
  .q-lg blockquote p { font-size: clamp(1.5rem, 2.7vw, 2.25rem); }

  .call-in {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    padding-top: 136px;
    padding-bottom: 96px;
  }
  .call { position: relative; }
  .call h2 { grid-column: 1 / span 6; }
  .call-quote { grid-column: 8 / -1; align-self: end; margin: 0; font-size: 1.375rem; }
  .bignum { grid-column: 1 / -1; justify-self: start; margin-top: 56px; }
  .facts { grid-column: 1 / span 6; margin-top: 72px; }
  .facts dd { font-size: 1.0625rem; }
  .horizon-end { position: absolute; left: 0; right: 0; bottom: 0; padding-top: 0; pointer-events: none; }
  .rig-empty { width: 42%; }

  .foot {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .foot-brand { grid-column: 1 / span 4; }
  .foot-line { grid-column: 1 / span 4; }
  .foot-links { grid-column: 5 / -1; grid-row: 1 / span 2; margin: 0; display: flex; justify-content: flex-end; gap: 0 28px; }
  .foot-legal { grid-column: 1 / -1; margin-top: 40px; }

  .bar {
    left: auto;
    right: 24px;
    bottom: 24px;
    padding: 0;
    background: none;
    transform: translateY(140%);
  }
  .bar .btn-line { display: none; }
  .bar .btn-call {
    flex: none;
    min-height: 56px;
    padding: 0 22px;
    border-color: var(--ink);
    box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--ink) 55%, transparent);
  }
}

@media (min-width: 900px) and (max-height: 800px) {
  :root { --mast-h: 72px; }
  .sky { padding-top: 8px; }
  .lead blockquote p { font-size: clamp(2.5rem, min(6.6vw, 10vh), 6rem); }
  .lead figcaption { margin-top: 14px; }
  .offer { padding: 20px 0 30px; }
  .offer h1 { font-size: 1.5rem; }
  .offer .actions { margin-top: 18px; }
  .ground { min-height: 64px; padding-top: 16px; padding-bottom: 16px; }
}

@media (min-width: 1500px) {
  .mast, .sky, .ground, .load, .how, .voices, .call-in, .horizon-end, .foot {
    padding-left: max(64px, calc((100vw - 1440px) / 2 + 64px));
    padding-right: max(64px, calc((100vw - 1440px) / 2 + 64px));
  }
}
