:root {
  --ink: #2d2119;
  --paper: #fff1c8;
  --cream: #ffe0a3;
  --teal: #18a8a0;
  --teal-dark: #087772;
  --red: #dc5638;
  --orange: #f08a32;
  --yellow: #f5c95a;
  --brown: #7a4a2a;
  --rose: #d96f73;
  --pink: #d96f73;
  --green: #78a35d;
  --shadow: 0 18px 48px rgba(45, 33, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(245, 201, 90, 0.55) 0 118px, transparent 119px),
    radial-gradient(circle at 86% 9%, rgba(216, 111, 115, 0.28) 0 95px, transparent 96px),
    repeating-radial-gradient(ellipse at 50% -25%, rgba(122, 74, 42, 0.13) 0 3px, transparent 4px 28px),
    linear-gradient(135deg, rgba(255, 224, 163, 0.5), rgba(255, 241, 200, 0.1)),
    var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 241, 200, 0.94);
  border-bottom: 3px solid var(--ink);
  backdrop-filter: blur(12px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: "Cooper Black", "Cooper Std Black", "Fontdiner Swanky", Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--red);
  -webkit-text-stroke: 0.7px var(--ink);
  paint-order: stroke fill;
  text-decoration: none;
  text-shadow:
    0 2px 0 var(--orange),
    0 4px 0 var(--yellow),
    2px 5px 0 rgba(45, 33, 25, 0.16);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
}

.mini-bus {
  position: relative;
  display: block;
  width: 40px;
  height: 24px;
  background:
    linear-gradient(#fff2cf 0 34%, var(--teal) 34% 100%);
  border: 3px solid var(--ink);
  border-radius: 10px 12px 6px 6px;
}

.mini-bus::before,
.mini-bus::after {
  position: absolute;
  bottom: -7px;
  width: 9px;
  aspect-ratio: 1;
  content: "";
  background: var(--ink);
  border-radius: 50%;
}

.mini-bus::before {
  left: 5px;
}

.mini-bus::after {
  right: 5px;
}

nav {
  gap: clamp(12px, 3vw, 30px);
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  align-items: center;
  min-height: calc(100vh - 70px);
  gap: clamp(36px, 5vw, 94px);
  padding: clamp(44px, 5vw, 88px) clamp(18px, 5.4vw, 76px) clamp(54px, 6vw, 92px);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.kicker,
.section-label {
  margin: 0 0 14px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.kicker {
  width: fit-content;
  padding: 8px 12px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--pink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 8.6ch;
  font-family: "Cooper Black", "Cooper Std Black", "Fontdiner Swanky", Georgia, serif;
  font-size: clamp(4.2rem, 10.8vw, 9.4rem);
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0;
  line-height: 0.82;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow:
    0 5px 0 var(--orange),
    0 10px 0 var(--yellow),
    5px 14px 0 rgba(45, 33, 25, 0.22);
}

h2 {
  font-size: clamp(2.25rem, 5.3vw, 5rem);
}

h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

p {
  line-height: 1.65;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
}

@media (min-width: 881px) {
  .hero-text {
    max-width: min(620px, 31vw);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
button {
  min-height: 52px;
  padding: 14px 18px;
  border: 3px solid var(--ink);
  color: var(--ink);
  font: 900 1rem "Fraunces", Georgia, serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button-primary,
button {
  background: var(--teal);
}

.button-secondary {
  background: var(--cream);
}

.hero-art {
  position: relative;
  z-index: 1;
  isolation: isolate;
  align-self: end;
  transform: translateY(clamp(8px, 2vw, 28px));
}

.hero-art::before {
  position: absolute;
  inset: 14% -3% 3% 8%;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, var(--red) 0 16%, transparent 16% 22%, var(--orange) 22% 38%, transparent 38% 44%, var(--yellow) 44% 60%, transparent 60% 66%, var(--green) 66% 82%, transparent 82%),
    var(--cream);
  border: 4px solid var(--ink);
  transform: rotate(-2.4deg);
  box-shadow: var(--shadow);
}

.animated-bus {
  position: relative;
  width: min(100%, 640px);
  height: clamp(270px, 39vw, 430px);
  margin-inline: auto;
  overflow: visible;
}

.teal-bus {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: 2%;
  width: 104%;
  aspect-ratio: 3 / 2;
  background: url("assets/cache-of-clowns-bus-transparent.png") center / contain no-repeat;
  filter:
    saturate(0.96)
    contrast(1.02)
    sepia(0.04)
    drop-shadow(8px 12px 0 rgba(45, 33, 25, 0.12));
  opacity: 1;
}

.bus-roof,
.bus-window {
  display: none;
}

.window-one {
  left: 15%;
  width: 18%;
}

.window-two {
  left: 36%;
  width: 17%;
}

.window-three {
  left: 59%;
  width: 19%;
}

.bus-v,
.bus-light {
  display: none;
}

.bus-wheel {
  display: none;
}

.sunburst {
  position: absolute;
  inset: auto -12vw -18vw auto;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  background: repeating-conic-gradient(from 9deg, rgba(240, 138, 50, 0.32) 0 10deg, rgba(245, 201, 90, 0.08) 10deg 20deg);
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
}

.intro-band,
.split-band,
.contact-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(54px, 7vw, 100px) clamp(18px, 6vw, 86px);
  border-top: 4px solid var(--ink);
}

.intro-band {
  position: relative;
  background:
    radial-gradient(circle at 78% 20%, rgba(245, 201, 90, 0.34) 0 95px, transparent 96px),
    var(--red);
  color: white;
  overflow: hidden;
}

.intro-band p:last-child,
.contact-copy p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.photo-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(58px, 7vw, 104px) clamp(18px, 6vw, 86px);
  border-top: 4px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(240, 138, 50, 0.17) 0 16%, transparent 16% 23%, rgba(245, 201, 90, 0.2) 23% 39%, transparent 39% 46%, rgba(24, 168, 160, 0.16) 46% 62%, transparent 62% 69%, rgba(220, 86, 56, 0.16) 69% 85%, transparent 85%),
    radial-gradient(circle at 9% 16%, rgba(216, 111, 115, 0.24) 0 88px, transparent 89px),
    var(--cream);
  overflow: hidden;
}

.photo-band::before,
.photo-band::after {
  position: absolute;
  z-index: 0;
  content: "";
  border: 4px solid currentColor;
  border-radius: 50%;
  color: rgba(122, 74, 42, 0.45);
  pointer-events: none;
}

.photo-band::before {
  right: -36px;
  top: 28px;
  width: 124px;
  aspect-ratio: 1;
}

.photo-band::after {
  left: 42%;
  bottom: -54px;
  width: 150px;
  aspect-ratio: 1;
}

.photo-copy,
.photo-gallery,
.drive-photo-card {
  position: relative;
  z-index: 1;
}

.photo-copy p:last-child {
  max-width: 610px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.photo-flower-sketches {
  right: auto;
  bottom: clamp(10px, 3vw, 32px);
  left: clamp(26px, 7vw, 112px);
  z-index: 0;
  width: clamp(150px, 20vw, 260px);
  color: #2e3898;
  opacity: 0.82;
}

.photo-flower-sketches svg {
  stroke-width: 3.2;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}

.drive-photo-card {
  margin: 0;
  padding: clamp(10px, 1.4vw, 16px) clamp(10px, 1.4vw, 16px) clamp(18px, 2vw, 26px);
  background: #fff7dc;
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(122, 74, 42, 0.34);
  transform: rotate(1.5deg);
}

.photo-card-large {
  grid-row: auto;
}

.photo-gallery .drive-photo-card:nth-child(2) {
  transform: rotate(-2deg);
}

.photo-gallery .drive-photo-card:nth-child(3) {
  grid-column: 1 / -1;
  width: min(58%, 430px);
  justify-self: center;
  transform: rotate(2.5deg);
}

.drive-photo-card::before {
  position: absolute;
  top: -18px;
  left: 14%;
  width: 110px;
  height: 34px;
  content: "";
  background: rgba(245, 201, 90, 0.72);
  border: 3px solid rgba(45, 33, 25, 0.35);
  transform: rotate(-6deg);
}

.drive-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 44%;
  border: 3px solid var(--ink);
  filter: saturate(0.92) contrast(1.04) sepia(0.08);
}

.photo-card-large img {
  aspect-ratio: 4 / 3;
  object-position: center center;
}

.drive-photo-card figcaption {
  margin-top: 12px;
  font-family: "Fontdiner Swanky", Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

.feature-grid article {
  min-height: 300px;
  padding: clamp(28px, 4vw, 54px);
  background: var(--cream);
}

.feature-grid article:nth-child(2) {
  background: var(--green);
}

.feature-grid article:nth-child(3) {
  background: var(--yellow);
}

.feature-grid article + article {
  border-left: 4px solid var(--ink);
}

.number {
  display: inline-block;
  margin-bottom: 36px;
  font-family: "Fontdiner Swanky", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.split-band {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 241, 200, 0.22) 0 120px, transparent 121px),
    var(--teal-dark);
  color: white;
  overflow: hidden;
}

.opportunity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.opportunity-list div {
  min-height: 190px;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 rgba(34, 31, 26, 0.45);
}

.contact-band {
  align-items: start;
  position: relative;
  padding-block: clamp(36px, 4.2vw, 60px);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(215, 67, 56, 0.28) 0 30px,
      rgba(240, 138, 50, 0.26) 30px 60px,
      rgba(245, 201, 90, 0.3) 60px 90px,
      rgba(120, 163, 93, 0.24) 90px 120px,
      rgba(24, 168, 160, 0.24) 120px 150px,
      rgba(63, 111, 199, 0.2) 150px 180px,
      rgba(140, 90, 168, 0.22) 180px 210px
    ),
    radial-gradient(circle at 92% 18%, rgba(255, 241, 200, 0.7) 0 110px, transparent 111px),
    var(--paper);
}

.email-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 24px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1rem, 1.8vw, 1.7rem);
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-decoration-color: var(--red);
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  background: white;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  border: 3px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  background: var(--cream);
}

input:focus,
textarea:focus {
  outline: 4px solid var(--yellow);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 86px);
  color: white;
  background:
    repeating-linear-gradient(
      90deg,
      #d74338 0 14.28%,
      #f08a32 14.28% 28.56%,
      #f5c95a 28.56% 42.84%,
      #78a35d 42.84% 57.12%,
      #18a8a0 57.12% 71.4%,
      #3f6fc7 71.4% 85.68%,
      #8c5aa8 85.68% 100%
    );
  border-top: 4px solid var(--ink);
}

footer p {
  margin: 0;
  font-weight: 800;
  text-shadow: 2px 2px 0 var(--ink);
}

.doodle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.doodle svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: none;
  filter: drop-shadow(0.8px 0.8px 0 rgba(41, 50, 140, 0.12));
}

.doodle-star {
  right: clamp(8px, 5vw, 74px);
  bottom: 18px;
  width: clamp(96px, 13vw, 168px);
  color: #29328c;
  transform: rotate(3deg);
}

.doodle-flower {
  left: clamp(6px, 3vw, 38px);
  bottom: 28px;
  width: clamp(112px, 14vw, 188px);
  color: #29328c;
  transform: rotate(-3deg);
}

.doodle-rainbow {
  right: clamp(8px, 4vw, 58px);
  bottom: 18px;
  width: clamp(150px, 20vw, 260px);
  color: #29328c;
  transform: rotate(-1deg);
}

.doodle-star svg {
  opacity: 0.92;
}

.doodle-flower svg {
  opacity: 0.9;
}

.doodle-rainbow svg {
  stroke-width: 2.2;
  fill: none;
}

@media (max-width: 880px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 26px;
    padding-block: 28px;
  }

  nav {
    gap: clamp(22px, 5vw, 38px);
  }

  .hero,
  .intro-band,
  .photo-band,
  .split-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: clamp(26px, 5vw, 44px);
    padding-top: clamp(34px, 7vw, 64px);
    padding-bottom: clamp(54px, 8vw, 84px);
  }

  .hero-copy {
    margin-right: 0;
  }

  .kicker {
    margin-bottom: clamp(22px, 4vw, 34px);
  }

  .hero-art {
    order: -1;
    margin-left: 0;
    transform: none;
  }

  .hero-art::before {
    inset: 12% 3% 4% 3%;
  }

  .animated-bus {
    width: min(92vw, 620px);
    height: clamp(260px, 48vw, 360px);
  }

  h1 {
    max-width: 8.2ch;
  }

  .hero-text {
    margin-top: clamp(24px, 4vw, 36px);
  }

  .feature-grid,
  .opportunity-list,
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .photo-card-large {
    grid-row: auto;
  }

  .photo-gallery .drive-photo-card:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }

  .feature-grid article + article {
    border-top: 4px solid var(--ink);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    gap: 22px;
    padding-block: 22px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px 22px;
    justify-content: flex-start;
  }

  .hero {
    gap: 28px;
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.8rem);
    -webkit-text-stroke: 1.5px var(--ink);
    text-shadow:
      0 4px 0 var(--orange),
      0 8px 0 var(--yellow),
      4px 11px 0 rgba(45, 33, 25, 0.2);
  }

  .button,
  button {
    width: 100%;
    text-align: center;
  }

  .animated-bus {
    width: min(100%, 460px);
    height: clamp(230px, 68vw, 300px);
  }

  .kicker {
    margin-bottom: 24px;
  }

  .doodle-star,
  .doodle-flower,
  .doodle-rainbow {
    opacity: 0.45;
  }
}
