/* Both fonts are preloaded in the document head. Keep the fallback if a font
   arrives late, so text never jumps after the reader starts scrolling. */
@font-face {
  font-family: Patrick;
  src: url("/assets/patrick-hand.woff2") format("woff2");
  font-display: optional;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-display: optional;
  font-weight: 100 900;
}
:root {
  --paper: #f8f6ef;
  --ink: #292923;
  --muted: #66645a;
  --line: #d9d7cc;
  --red: #a43d35;
  --purple: #73578d;
  --hand: Patrick, Arial, sans-serif;
  --body: Inter, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.8;
  /* Reuse a small, pre-rendered tile instead of rasterizing SVG noise while scrolling. */
  background-image: url("/assets/paper.png");
  background-size: 360px 360px;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
p {
  margin: 0 0 18px;
}
h1,
h2 {
  font-family: var(--hand);
  font-weight: 400;
  line-height: 1.04;
  margin: 0 0 24px;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(40px, 4.4vw, 64px);
}
.skip {
  position: fixed;
  top: -90px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.masthead {
  height: 100px;
  max-width: 1440px;
  margin: auto;
  padding: 0 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font: 38px var(--hand);
  text-decoration: none;
  letter-spacing: -2px;
}
.wordmark span {
  font-size: 30px;
  padding-left: 8px;
  display: inline-block;
  transform: rotate(12deg);
}
.mast-note {
  font: 20px var(--hand);
  color: var(--muted);
  transform: rotate(-2deg);
}
.header-link {
  font-size: 12px;
}
.margin-nav {
  position: fixed;
  top: 165px;
  left: max(30px, calc((100vw - 1440px) / 2 + 55px));
  width: 160px;
  max-height: calc(100vh - 185px);
  max-height: calc(100dvh - 185px);
  overflow-y: auto;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 2;
}
.nav-title {
  font: 21px var(--hand);
  margin-bottom: 12px;
}
.margin-nav > a {
  font: 18px var(--hand);
  text-decoration: none;
  color: var(--muted);
  width: fit-content;
  padding: 3px 8px;
}
.margin-nav > a:hover,
.margin-nav > a[aria-current] {
  color: var(--ink);
  background: #eee7be;
  border-radius: 47% 4% 32% 3%;
  transform: rotate(-2deg);
}
.margin-doodle {
  width: 85px;
  height: 85px;
  margin: 15px 0 0 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
  stroke-linecap: round;
}
.nav-foot {
  font: 17px/1.3 var(--hand);
  color: var(--muted);
  transform: rotate(-5deg);
  margin-left: 10px;
}
.mobile-chapters {
  display: none;
}
main {
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 45px 0 65px;
  position: relative;
  left: 80px;
  border-left: 1px solid #c7786b55;
}
.hero {
  padding-top: 58px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.6;
  margin: 0;
}
.hero-heading {
  text-align: center;
  margin-bottom: 36px;
}
.hero h1 {
  font-size: clamp(58px, 6.3vw, 88px);
  margin: 12px 0 18px;
}
.hero h1 > span {
  display: inline-block;
  position: relative;
}
.hero h1 svg {
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.8;
}
.intro {
  font-size: 13px;
  margin-top: 26px;
}
.hero-photo {
  transform: rotate(-1deg);
  background: #fffdf6;
  border: 1px solid #bbb8aa;
  padding: 9px 9px 0;
  box-shadow: 3px 5px 0 #29292312;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 11 / 4;
  object-fit: cover;
}
.hero-photo figcaption {
  padding: 10px 10px 9px;
  display: flex;
  justify-content: space-between;
  font: 20px var(--hand);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 34px 0 55px;
  gap: 24px;
}
.hero-bottom p {
  font: 24px/1.2 var(--hand);
  transform: rotate(-3deg);
  margin: 0;
}
.start-link {
  font-size: 11px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.start-link span {
  font: 35px var(--hand);
}
.stamp {
  border: 2px solid #77746a;
  padding: 9px 15px;
  font-size: 9px;
  letter-spacing: 2px;
  line-height: 1.7;
  text-align: center;
  transform: rotate(7deg);
  color: #66645a;
}
.chapter {
  padding: 55px 0 64px;
  border-top: 2px solid var(--ink);
  position: relative;
}
.section-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.chapter-number {
  font: 26px var(--hand);
  border: 1.6px solid var(--ink);
  width: 38px;
  height: 38px;
  text-align: center;
  line-height: 34px;
  border-radius: 49% 43% 47% 40%;
  transform: rotate(-8deg);
}
.page-num {
  margin-left: auto;
  font: 17px var(--hand);
  color: var(--muted);
}
.chapter-copy {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 34px;
}
.chapter-copy p,
.story p {
  font-size: 14px;
  line-height: 1.9;
}
.scribble {
  background: linear-gradient(
    transparent 85%,
    #c9c3ac88 85%,
    #c9c3ac88 94%,
    transparent 94%
  );
}
.purple {
  color: var(--purple);
}
.red {
  color: var(--red);
}
.links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 25px 0 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  padding: 9px 20px;
  border: 1.8px solid var(--ink);
  border-radius: 3px 8px 2px 5px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  background: #f4f0de;
  box-shadow: 3px 3px 0 var(--ink);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.text-link {
  font-size: 12px;
}
.photo {
  position: relative;
  background: #fffdf7;
  padding: 10px 10px 0;
  border: 1px solid #c9c5b6;
  box-shadow: 3px 4px 0 #29292310;
}
.photo img {
  width: 100%;
  object-fit: cover;
}
.photo figcaption {
  font: 20px/1.35 var(--hand);
  padding: 12px 6px;
}
.tape {
  position: absolute;
  top: -12px;
  left: 42%;
  height: 27px;
  width: 100px;
  background: #e9dfbcbf;
  transform: rotate(-5deg);
  z-index: 1;
  clip-path: polygon(
    2% 0,
    98% 2%,
    96% 18%,
    100% 32%,
    97% 53%,
    100% 75%,
    96% 100%,
    1% 96%,
    3% 76%,
    0 62%,
    3% 44%,
    0 19%
  );
}
.team-photo img {
  aspect-ratio: 3/1;
  object-fit: cover;
}
.team-labels {
  display: grid;
  grid-template-columns: 22% 23% 30% 25%;
  text-align: center;
}
.team-labels span:nth-child(3) {
  padding-left: 28%;
}
.team-labels small {
  display: block;
  font: 10px var(--body);
  color: var(--muted);
  margin-top: 3px;
}
.aside-note {
  text-align: right;
  font: 19px var(--hand);
  color: var(--muted);
  margin: 15px 10px 0;
  transform: rotate(-2deg);
}
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.spread .photo img {
  max-height: 410px;
  object-fit: cover;
}
.tilted {
  transform: rotate(2deg);
}
.hand-note {
  display: block;
  font: 23px/1.35 var(--hand);
  margin-top: 25px;
  transform: rotate(-3deg);
}
.car-photos {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  align-items: center;
  margin: 45px 0 25px;
}
.car-photos img {
  aspect-ratio: 1.15;
  object-fit: cover;
}
.car-photos figure:nth-child(2) img {
  aspect-ratio: 1;
}
.project-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 1px;
  margin: 30px 0 0;
}
.project-status > span:first-child {
  font-size: 25px;
}
.purple-swatch {
  width: 40px;
  height: 28px;
  background: #826099;
  transform: rotate(-8deg);
  margin-left: auto;
  border-radius: 30% 18% 27% 14%;
}
.project-status .hand-note {
  font-size: 17px;
  letter-spacing: 0;
  margin: 0;
}
.guitar-photo {
  transform: rotate(-2deg);
}
.animation-toggle {
  background: transparent;
  border: 0;
  border-top: 1px dashed var(--line);
  width: 100%;
  padding: 10px;
  font: 17px var(--hand);
}
.mile-time {
  font: 76px/1 var(--hand);
  letter-spacing: -3px;
  margin-bottom: 25px;
}
.mile-time span {
  display: block;
  font: 18px var(--hand);
  letter-spacing: 0;
  margin-top: 6px;
}
.lifting-crop {
  position: relative;
  aspect-ratio: 10 / 9;
  overflow: hidden;
}
.spread .lifting-photo .lifting-crop img {
  /* Show a 1000 × 900px crop starting 450px down the 1568px original. */
  position: absolute;
  top: -50%;
  left: 0;
  width: 156.8%;
  height: auto;
  max-width: none;
  max-height: none;
}
.credit {
  display: block;
  font: 9px var(--body);
  margin-top: 8px;
  color: var(--muted);
}
.arsenal .photo {
  transform: rotate(-2deg);
}
.arsenal h2 {
  font-size: 48px;
}
.follow {
  text-align: center;
  padding-bottom: 45px;
}
.follow h2 {
  font-size: 72px;
  margin: 28px 0;
}
.follow > .hand-note {
  font-size: 20px;
}
.follow > p:not(.eyebrow):not(.hand-note) {
  font-size: 14px;
}
.socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 40px 0;
}
.socials a {
  font: 23px var(--hand);
  border: 1.5px solid var(--ink);
  padding: 10px 14px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px 2px 6px 3px;
}
.socials a:nth-child(even) {
  transform: rotate(2deg);
}
.socials a:nth-child(odd) {
  transform: rotate(-2deg);
}
.socials a:hover {
  background: #eee7be;
}
.signoff {
  text-align: right;
  font: 20px/1.2 var(--hand);
  margin-top: 40px;
  transform: rotate(-5deg);
}
.signoff span {
  font-size: 40px;
}
.site-footer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 25px 20px 35px 160px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  border-top: 1px solid var(--line);
}
@media (min-width: 1600px) {
  main {
    max-width: 1150px;
  }
  .hero {
    padding-top: 70px;
  }
  .hero h1 {
    font-size: 98px;
  }
}
@media (max-width: 1230px) and (min-width: 701px) {
  .margin-nav {
    left: 20px;
    width: 125px;
  }
  .masthead {
    padding: 0 30px;
  }
  main {
    margin-left: 155px;
    left: 0;
    padding: 0 30px;
    width: calc(100% - 175px);
  }
  .spread {
    gap: 35px;
  }
  .chapter-copy {
    gap: 30px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero-bottom .stamp {
    display: none;
  }
  .arsenal h2 {
    font-size: 42px;
  }
  .socials {
    gap: 10px;
  }
  .socials a {
    font-size: 20px;
  }
  .site-footer {
    padding-left: 180px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 75px;
  }
  .masthead {
    height: 73px;
    padding: 0 22px;
  }
  .wordmark {
    font-size: 34px;
  }
  .mast-note,
  .margin-nav {
    display: none;
  }
  .header-link {
    font-size: 10px;
  }
  .mobile-chapters {
    display: block;
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }
  .mobile-chapters summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 24px;
    font: 19px var(--hand);
    display: flex;
    justify-content: space-between;
  }
  .mobile-chapters summary::-webkit-details-marker {
    display: none;
  }
  .mobile-chapters[open] summary span {
    transform: rotate(45deg);
  }
  .mobile-chapters nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 3px 18px 15px;
  }
  .mobile-chapters nav a {
    font: 18px var(--hand);
    padding: 9px 7px;
    text-decoration: none;
  }
  main {
    left: 0;
    margin: 0 17px 0 27px;
    padding: 0 0 0 17px;
    border-left: 1px solid #c7786b55;
    max-width: none;
  }
  .hero {
    padding-top: 31px;
  }
  .hero-heading {
    text-align: left;
    margin-bottom: 27px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .hero h1 {
    font-size: 64px;
    line-height: 0.97;
    max-width: 300px;
    margin: 13px 0 27px;
  }
  .hero h1 span {
    display: block;
    width: fit-content;
    font-size: 89px;
    transform: rotate(-4deg);
    margin-top: 6px;
  }
  .hero h1 svg {
    bottom: -12px;
  }
  .intro {
    font-size: 12px;
    max-width: 260px;
    line-height: 1.7;
    margin-top: 32px;
  }
  .hero-photo {
    padding: 7px 7px 0;
    transform: rotate(1.5deg);
  }
  .hero-photo img {
    aspect-ratio: 1.15;
    object-position: 50% 48%;
  }
  .hero-photo figcaption {
    font-size: 18px;
    padding: 10px 4px;
  }
  .hero-photo figcaption span:last-child {
    display: none;
  }
  .hero-bottom {
    margin: 27px 0 34px;
    gap: 10px;
    align-items: flex-start;
  }
  .hero-bottom p {
    font-size: 20px;
  }
  .hero-bottom .stamp {
    display: none;
  }
  .start-link {
    font-size: 9px;
    max-width: 100px;
    text-align: center;
    line-height: 1.5;
  }
  .chapter {
    padding: 30px 0 38px;
  }
  .section-top {
    gap: 10px;
    margin-bottom: 25px;
  }
  .chapter-number {
    font-size: 23px;
    width: 31px;
    height: 31px;
    line-height: 28px;
    flex-shrink: 0;
  }
  .page-num {
    font-size: 13px;
    white-space: nowrap;
  }
  .section-top .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  h2 {
    font-size: 45px;
    margin-bottom: 20px;
  }
  .chapter-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 29px;
  }
  .chapter-copy p,
  .story p {
    font-size: 13px;
    line-height: 1.85;
  }
  .links {
    gap: 20px;
    margin-top: 22px;
  }
  .button {
    font-size: 11px;
    padding: 9px 15px;
  }
  .text-link {
    font-size: 11px;
  }
  .team-photo {
    padding: 6px 6px 0;
  }
  .team-labels {
    position: relative;
    display: block;
    min-height: 53px;
    padding: 10px 0 !important;
    font-size: 15px !important;
  }
  .team-labels > span {
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
  }
  .team-labels > span:nth-child(1) {
    left: 11%;
  }
  .team-labels > span:nth-child(2) {
    left: 33.5%;
  }
  .team-labels small {
    font-size: 8px;
  }
  .team-labels > span:nth-child(4) small {
    transform: translateX(3px);
  }
  .team-labels span:nth-child(3) {
    left: 77%;
    padding-left: 0;
  }
  .team-labels > span:nth-child(4) {
    left: 91%;
  }
  .aside-note {
    font-size: 16px;
    text-align: center;
  }
  .spread {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }
  .spread.reverse .story {
    order: -1;
  }
  .spread .photo {
    margin: 0 5px;
  }
  .spread .photo img {
    max-height: 350px;
  }
  .hand-note {
    font-size: 20px;
    margin-top: 20px;
  }
  .photo figcaption {
    font-size: 18px;
  }
  .car-photos {
    gap: 24px;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
  }
  .car-photos .photo:first-child {
    width: 95%;
    align-self: flex-start;
    transform: rotate(-2deg);
  }
  .car-photos .photo:last-child {
    width: 83%;
    align-self: flex-end;
  }
  .car-photos img {
    aspect-ratio: 1.2;
  }
  .project-status {
    flex-wrap: wrap;
    font-size: 8px;
    gap: 8px;
    letter-spacing: 0.5px;
  }
  .purple-swatch {
    width: 25px;
    height: 20px;
  }
  .project-status .hand-note {
    font-size: 14px;
  }
  .mile-time {
    font-size: 72px;
  }
  .lifting-photo {
    width: calc(100% - 10px);
    max-width: 320px;
    align-self: center;
  }
  .arsenal h2 {
    font-size: 44px;
  }
  .arsenal .photo img {
    aspect-ratio: 1.25;
  }
  .follow h2 {
    font-size: 49px;
  }
  .follow > .hand-note {
    font-size: 17px;
  }
  .follow > p:not(.eyebrow):not(.hand-note) {
    font-size: 12px;
  }
  .socials {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 25px;
  }
  .socials a {
    font-size: 24px;
    padding: 12px;
  }
  .signoff {
    margin-right: 12px;
  }
  .site-footer {
    margin-left: 44px;
    padding: 20px 17px 25px 0;
    gap: 20px;
    font-size: 8px;
  }
  .site-footer span {
    max-width: 180px;
  }
  .site-footer a {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .margin-nav,
  .mobile-chapters,
  .animation-toggle,
  .header-link {
    display: none;
  }
  main {
    left: 0;
    margin: 0;
    padding: 0;
    border: 0;
    max-width: none;
  }
  .chapter {
    break-inside: avoid;
  }
  .photo {
    transform: none;
  }
  .site-footer {
    padding: 20px;
  }
}
/* A shorter cover on phones gets the photograph into the first screen. */
@media (max-width: 700px) {
  .hero h1 {
    font-size: 44px;
    max-width: none;
    line-height: 1.08;
  }
  .hero h1 span {
    font-size: 84px;
    margin-top: 9px;
  }
  .chapter-copy p,
  .story p {
    font-size: 14px;
  }
  .hand-note .direction-desktop {
    display: none;
  }
  .hand-note .direction-mobile {
    display: inline;
  }
}
@media (min-width: 701px) {
  .direction-mobile {
    display: none;
  }
  .team-labels {
    position: relative;
    display: block;
    min-height: 68px;
  }
  .team-labels > span {
    position: absolute;
    top: 12px;
    transform: translateX(-50%);
  }
  .team-labels > span:nth-child(1) {
    left: 11%;
  }
  .team-labels > span:nth-child(2) {
    left: 28%;
  }
  .team-labels > span:nth-child(3) {
    left: 77%;
    padding-left: 0;
  }
  .team-labels > span:nth-child(4) {
    left: 91%;
  }
}
@media (max-width: 350px) {
  .socials {
    grid-template-columns: 1fr;
  }
  .team-labels > span:nth-child(3) {
    left: 75%;
  }
  .team-labels > span:nth-child(4) {
    left: 93%;
  }
}
.annotated-photo {
  position: relative;
}
.pencil-arrow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fffdf7;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(1px 1px 1px #292923);
}
.pencil-arrow path {
  vector-effect: non-scaling-stroke;
}
