:root {
  --ink: #18130f;
  --ink-soft: #3d342d;
  --paper: #f3eee2;
  --paper-light: #faf4e8;
  --paper-deep: #e9dfcf;
  --purple: #77289d;
  --purple-deep: #52206f;
  --yellow: #f4b800;
  --orange: #f47a22;
  --chalk: #fff8e9;
  --pencil: rgba(34, 28, 23, 0.28);
  --line: rgba(24, 19, 15, 0.22);
  --background: var(--paper);
  --foreground: var(--ink);
  --primary: var(--ink);
  --primary-foreground: var(--chalk);
  --secondary: var(--paper-deep);
  --secondary-foreground: var(--ink);
  --border: rgba(24, 19, 15, 0.25);
  --input: rgba(24, 19, 15, 0.2);
  --ring: var(--purple);
  --radius: 0.4rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 14% 11%, rgba(119, 40, 157, 0.035) 0 1px, transparent 1.5px),
    radial-gradient(circle at 73% 58%, rgba(24, 19, 15, 0.045) 0 0.7px, transparent 1.2px),
    repeating-linear-gradient(3deg, transparent 0 7px, rgba(44, 35, 28, 0.018) 8px 9px);
  background-size: 17px 17px, 13px 13px, auto;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
a,
video {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.carousel-shell {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
}

.video-carousel-track {
  display: flex;
  margin-left: -1rem;
  touch-action: pan-y;
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

[data-slot="carousel-item"] {
  flex: 0 0 100%;
  min-width: 0;
  padding-left: 1rem;
}

.carousel-arrow {
  appearance: none;
  cursor: pointer;
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.paper-section {
  position: relative;
  isolation: isolate;
}

.paper-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(97deg, transparent 15%, rgba(24, 19, 15, 0.018) 16%, transparent 17%),
    linear-gradient(-2deg, transparent 52%, rgba(244, 122, 34, 0.025) 53%, transparent 54%);
  content: "";
}

.site-header {
  position: relative;
  z-index: 20;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  width: min(100% - 48px, 1280px);
  min-height: 205px;
  margin: 0 auto;
  padding: 22px 4px 48px;
}

.site-header::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: #fff;
  content: "";
}

.header-wordmark {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  width: max-content;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.8rem, 3.25vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.header-wordmark span {
  color: var(--purple);
}

.header-wordmark small {
  margin-left: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.42em;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.logo-shell {
  position: relative;
  z-index: 4;
  display: grid;
  justify-self: center;
  width: min(22vw, 225px);
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  animation: logo-arrival 950ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-logo-video,
.brand-logo-static {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: filter 350ms ease, transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-static {
  display: none;
}

.logo-shell:hover .brand-logo-video {
  filter: saturate(1.12);
  transform: rotate(-2deg) scale(1.035);
}

.header-call-art {
  display: block;
  justify-self: end;
  width: min(18vw, 210px);
  transition: filter 180ms ease, transform 180ms ease;
}

.header-call-image {
  display: block;
  width: 100%;
  height: auto;
}

.header-call-art:hover {
  filter: drop-shadow(5px 6px 0 rgba(244, 184, 0, 0.62));
  transform: translate(-2px, -2px) rotate(-1deg);
}

.header-sketch {
  position: absolute;
  right: 0;
  bottom: 29px;
  left: 0;
  height: 19px;
  pointer-events: none;
}

.header-sketch i {
  position: absolute;
  right: 1%;
  left: 1%;
  height: 2px;
  background: var(--ink-soft);
  opacity: 0.74;
  transform-origin: left;
}

.header-sketch i:nth-child(1) {
  top: 2px;
  transform: rotate(0.35deg) scaleX(0.98);
}

.header-sketch i:nth-child(2) {
  top: 9px;
  left: 4%;
  opacity: 0.45;
  transform: rotate(-0.24deg) scaleX(0.94);
}

.header-sketch i:nth-child(3) {
  top: 15px;
  right: 8%;
  left: 0;
  height: 1px;
  opacity: 0.35;
  transform: rotate(0.55deg) scaleX(0.92);
}

.intro-section {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
  padding: 56px 0 125px;
  text-align: center;
}

.intro-section::before {
  inset: 0 calc(50% - 50vw);
  background: #fff;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 22px;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-label > span {
  display: inline-block;
  flex: 0 0 46px;
  width: 46px;
  height: 4px;
  background: var(--yellow);
}

.books-heading h2,
.footer-top h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}

.video-carousel {
  position: relative;
  margin: 0 auto;
}

.video-carousel [data-slot="carousel-content"] {
  transition: opacity 180ms ease;
}

.video-carousel[data-ready="false"] [data-slot="carousel-content"] {
  opacity: 0;
}

.intro-carousel {
  width: min(100%, 1120px);
  padding: 20px 72px 55px;
}

.video-carousel [data-slot="carousel-item"] {
  transition: opacity 350ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-carousel [data-slot="carousel-item"] {
  flex-basis: 52%;
}

.intro-carousel [data-slot="carousel-item"][data-active="false"] {
  z-index: 1;
  opacity: 0.48;
  transform: scale(0.78);
}

.intro-carousel [data-slot="carousel-item"][data-active="true"] {
  z-index: 3;
  opacity: 1;
  transform: scale(1);
}

.intro-carousel .video-card video {
  aspect-ratio: 1;
  max-height: none;
}

.video-card {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(7px, 1vw, 11px);
  background: transparent;
}

.video-card::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: url("media/rough-video-frame.svg") center / 100% 100% no-repeat;
  content: "";
  filter: drop-shadow(2px 3px 0 rgba(24, 19, 15, 0.18));
}

.video-carousel [data-slot="carousel-item"]:nth-child(even) .video-card::before {
  transform: scaleX(-1);
}

.video-carousel [data-slot="carousel-item"]:nth-child(3n) .video-card::before {
  transform: scaleY(-1) rotate(0.35deg);
}

.video-card video {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 610px;
  background: #0f0d0b;
  object-fit: cover;
}

.video-carousel .carousel-arrow {
  position: absolute !important;
  top: 50% !important;
  z-index: 8;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  background: var(--paper-light) !important;
  border: 2px solid var(--ink) !important;
  border-radius: 50% !important;
  box-shadow: 4px 4px 0 var(--purple) !important;
  color: var(--ink) !important;
  transform: translateY(-50%) !important;
}

.video-carousel .carousel-arrow-prev {
  left: -56px !important;
}

.video-carousel .carousel-arrow-next {
  right: -56px !important;
}

.video-carousel .carousel-arrow:hover {
  background: var(--yellow) !important;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease, border-radius 180ms ease;
}

.carousel-dots button.is-current {
  width: 31px;
  background: var(--purple);
  border-color: var(--purple);
  border-radius: 99px;
}

.about-micah {
  display: grid;
  grid-template-columns: auto minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  width: min(100%, 1120px);
  margin: 70px auto 0;
  padding: 46px 0 0;
  border-top: 2px solid var(--ink);
  text-align: left;
}

.about-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.25rem;
}

.hand-note,
.swipe-note {
  margin: 0 0 17px;
  color: var(--purple);
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  transform: rotate(-1.5deg);
}

.about-micah h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.5rem, 4.7vw, 4.8rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-copy a {
  color: var(--purple);
  font-weight: 900;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.about-copy a:hover {
  color: var(--ink);
}

.css-scratch {
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 70px;
  border-top: 3px solid var(--pencil);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-9deg);
}

.css-scratch::before,
.css-scratch::after {
  position: absolute;
  border-top: 2px solid var(--pencil);
  border-radius: 50%;
  content: "";
}

.css-scratch::before {
  top: 7px;
  left: 17px;
  width: 150px;
  height: 55px;
  transform: rotate(5deg);
}

.css-scratch::after {
  top: 18px;
  left: -9px;
  width: 132px;
  height: 42px;
  transform: rotate(-4deg);
}

.intro-scratch {
  top: 11%;
  right: 2%;
}

.custom-selling {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding: 115px max(32px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  container-type: inline-size;
  scroll-margin-top: 30px;
}

.custom-selling::before {
  position: absolute;
  inset: 0;
  background: url("media/hot-rod-background.jpeg") center / cover no-repeat;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

.custom-selling::after {
  position: absolute;
  right: -8%;
  bottom: -31%;
  width: 430px;
  height: 430px;
  background: var(--yellow);
  border-radius: 50%;
  content: "";
  opacity: 0.16;
}

.custom-copy {
  position: relative;
  z-index: 2;
}

.custom-copy h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(5rem, 9vw, 9.3rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.78;
  text-transform: uppercase;
  text-wrap: balance;
}

.custom-copy h2 em {
  display: block;
  margin-top: 0.18em;
  color: var(--purple);
  font-style: normal;
  line-height: 0.84;
  text-shadow: 4px 4px 0 var(--yellow);
}

.custom-copy h2 em span {
  display: block;
}

.custom-copy > p {
  max-width: 590px;
  margin: 43px 0 32px;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 58px;
  padding: 16px 21px;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--yellow);
  color: var(--chalk);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.primary-button svg {
  width: 18px;
}

.primary-button:hover {
  box-shadow: 9px 9px 0 var(--purple);
  transform: translate(-2px, -2px);
}

.drive-line {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 55px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.custom-video-frame {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: min(100%, 510px);
  margin: 0 auto;
}

.framed-carousel {
  width: 100%;
}

.framed-carousel [data-slot="carousel-item"] {
  flex-basis: 100%;
}

.framed-carousel .video-card {
  box-shadow: none;
}

.framed-carousel .carousel-arrow-prev {
  left: -22px !important;
}

.framed-carousel .carousel-arrow-next {
  right: -22px !important;
}

.custom-video-frame .swipe-note {
  position: absolute;
  right: -7px;
  bottom: -58px;
  z-index: 4;
  padding: 7px 11px;
  background: var(--paper-light);
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.9rem;
}

.books-section {
  padding: 120px max(32px, calc((100vw - 1240px) / 2)) 135px;
  scroll-margin-top: 30px;
}

.books-heading {
  margin-bottom: 70px;
}

.books-heading h2 {
  max-width: 930px;
  font-size: clamp(4.6rem, 9vw, 9rem);
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
}

.book-product {
  position: relative;
  display: grid;
  justify-self: center;
  width: min(100%, 530px);
  padding: 28px;
  place-items: center;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.book-product::before {
  position: absolute;
  inset: 10% 0 5%;
  z-index: -1;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--purple);
  content: "";
  transform: rotate(-2deg);
}

.book-product:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.book-product img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  filter: drop-shadow(11px 15px 9px rgba(24, 19, 15, 0.3));
}

.book-burst {
  position: absolute;
  top: -15px;
  right: -18px;
  z-index: 3;
  display: grid;
  width: 118px;
  height: 118px;
  place-content: center;
  background: var(--purple);
  clip-path: polygon(50% 0, 60% 15%, 76% 6%, 79% 24%, 98% 22%, 87% 39%, 100% 50%, 85% 60%, 94% 77%, 75% 78%, 76% 96%, 59% 86%, 49% 100%, 39% 85%, 22% 96%, 21% 77%, 2% 78%, 13% 60%, 0 49%, 15% 39%, 4% 22%, 23% 23%, 25% 5%, 41% 15%);
  color: var(--chalk);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  line-height: 0.8;
  text-align: center;
  transform: rotate(7deg);
}

.book-burst small {
  display: block;
  margin-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.book-link-label {
  position: absolute;
  right: 10px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  background: var(--ink);
  color: var(--chalk);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-link-label svg {
  width: 15px;
}

.book-copy h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 6.2vw, 6.7rem);
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.book-copy > p:not(.hand-note) {
  max-width: 650px;
  margin: 31px 0;
  font-size: 1rem;
  line-height: 1.75;
}

.book-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 34px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.book-facts div {
  display: grid;
  gap: 5px;
  padding: 15px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.book-facts dt {
  color: var(--purple);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-facts dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.book-buy-button {
  background: var(--purple);
  border-color: var(--ink);
}

.look-more-link {
  padding-bottom: 5px;
  border-bottom: 2px solid var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.books-scratch {
  right: 3%;
  bottom: 5%;
  transform: rotate(12deg);
}

.site-footer {
  background: var(--ink);
  color: var(--chalk);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(4rem, 9vw, 9rem);
  padding: 110px max(32px, calc((100vw - 1240px) / 2)) 85px;
}

.footer-kicker {
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-top h2 {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 248, 233, 0.3);
  border-left: 1px solid rgba(255, 248, 233, 0.3);
}

.contact-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 94px;
  padding: 19px;
  border-right: 1px solid rgba(255, 248, 233, 0.3);
  border-bottom: 1px solid rgba(255, 248, 233, 0.3);
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-grid a:hover {
  background: var(--yellow);
  color: var(--ink);
}

.contact-grid svg {
  flex: 0 0 25px;
  width: 25px;
  color: var(--yellow);
}

.contact-grid .contact-art-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 7px;
  background: var(--yellow);
  border-radius: 50%;
  object-fit: contain;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact-grid a:hover svg {
  color: var(--ink);
}

.contact-grid a:hover .contact-art-icon {
  background: var(--paper-light);
  transform: rotate(-7deg) scale(1.08);
}

.contact-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.contact-grid small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 248, 233, 0.58);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-grid a:hover small {
  color: rgba(24, 19, 15, 0.65);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 35px max(32px, calc((100vw - 1240px) / 2));
  border-top: 1px solid rgba(255, 248, 233, 0.2);
  border-bottom: 1px solid rgba(255, 248, 233, 0.2);
}

.footer-brand-row img {
  width: 112px;
  height: auto;
  filter: drop-shadow(0 7px 11px rgba(0, 0, 0, 0.28));
}

.footer-brand-row p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 248, 233, 0.62);
  font-size: 0.67rem;
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 42px max(32px, calc((100vw - 1240px) / 2)) 55px;
  color: rgba(255, 248, 233, 0.58);
  font-size: 0.72rem;
  line-height: 1.7;
  text-align: center;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  color: var(--chalk);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@keyframes logo-arrival {
  0% {
    opacity: 0;
    transform: translateY(-58px) rotate(-5deg) scale(0.82);
  }
  66% {
    opacity: 1;
    transform: translateY(7px) rotate(1.5deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr minmax(155px, 205px) 1fr;
    gap: 1.2rem;
  }

  .custom-selling,
  .book-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .custom-selling {
    gap: 85px;
  }

  .custom-video-frame {
    width: min(80vw, 510px);
  }

  .book-layout {
    gap: 85px;
  }

  .book-copy {
    max-width: 760px;
    margin: 0 auto;
  }

  .footer-top {
    gap: 55px;
  }
}

@media (max-width: 740px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    width: min(100% - 32px, 1280px);
    min-height: 0;
    padding: 8px 0 38px;
    text-align: center;
  }

  .logo-shell {
    grid-row: 1;
    justify-self: center;
    width: min(42vw, 165px);
    margin: 0;
  }

  .header-wordmark {
    grid-row: 2;
    justify-self: center;
    margin-top: -2px;
    font-size: 1.75rem;
  }

  .header-call-art {
    display: none;
  }

  .header-sketch {
    bottom: 13px;
  }

  .intro-section {
    padding-top: 35px;
    padding-bottom: 88px;
  }

  .intro-carousel {
    width: 100%;
    padding: 10px 22px 35px;
  }

  .intro-carousel [data-slot="carousel-item"] {
    flex-basis: 100%;
  }

  .intro-carousel [data-slot="carousel-item"][data-active="false"] {
    opacity: 0.35;
    transform: scale(0.9);
  }

  .video-card video {
    max-height: none;
  }

  .video-carousel .carousel-arrow {
    top: calc(100% - 10px) !important;
    width: 40px;
    height: 40px;
  }

  .intro-carousel .carousel-arrow-prev,
  .framed-carousel .carousel-arrow-prev {
    left: 4px !important;
  }

  .intro-carousel .carousel-arrow-next,
  .framed-carousel .carousel-arrow-next {
    right: 4px !important;
  }

  .carousel-dots {
    margin-top: 25px;
  }

  .about-micah {
    grid-template-columns: auto 1fr;
    gap: 24px 18px;
    margin-top: 54px;
    padding: 40px 8px 0;
  }

  .about-number {
    width: 46px;
    height: 46px;
  }

  .about-copy {
    grid-column: 1 / -1;
  }

  .about-micah h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .intro-scratch {
    display: none;
  }

  .custom-selling,
  .books-section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .custom-selling {
    padding-top: 86px;
    padding-bottom: 110px;
  }

  .custom-copy h2 {
    font-size: clamp(4.4rem, 21vw, 7rem);
  }

  .custom-copy > p {
    margin-top: 36px;
  }

  .primary-button {
    width: 100%;
  }

  .drive-line {
    margin-top: 43px;
  }

  .custom-video-frame {
    width: min(88vw, 500px);
  }

  .custom-video-frame .swipe-note {
    right: 0;
    bottom: -62px;
  }

  .books-section {
    padding-top: 90px;
    padding-bottom: 105px;
  }

  .books-heading {
    margin-bottom: 52px;
  }

  .books-heading h2 {
    font-size: clamp(4.2rem, 21vw, 6.5rem);
  }

  .book-layout {
    gap: 76px;
  }

  .book-product {
    width: min(92vw, 480px);
    padding: 20px;
  }

  .book-burst {
    top: -28px;
    right: -7px;
    width: 96px;
    height: 96px;
    font-size: 1.65rem;
  }

  .book-copy h3 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .book-facts {
    grid-template-columns: 1fr;
  }

  .book-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .look-more-link {
    width: max-content;
    max-width: 100%;
  }

  .footer-top {
    padding: 84px 22px 65px;
  }

  .footer-top h2 {
    font-size: clamp(3.6rem, 17vw, 5.5rem);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid a {
    min-height: 78px;
  }

  .footer-brand-row {
    align-items: flex-start;
    padding: 30px 22px;
  }

  .footer-brand-row img {
    width: 70px;
  }

  .footer-legal {
    gap: 26px;
    padding: 37px 22px 48px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .brand-logo-video {
    display: none;
  }

  .brand-logo-static {
    display: block;
  }
}
