/* Prototype D, Brand refresh: the business's own flyer, done well. Royal
   blue as the main colour, yellow as a sharp accent (buttons, highlights,
   the flyer's triangle bullets), never a page background. The stencil
   wordmark is set in a stencil web font (Stardos Stencil), with a plain
   grotesk (Archivo) for everything else. Square corners, like the bins. */

@font-face {
  font-family: "Stardos Stencil";
  src: url("fonts/stardos-stencil-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

:root {
  /* The flyer's royal blue: trucks, bins and lettering. */
  --blue: #1f43a8;
  --blue-deep: #16317d;
  --blue-hover: #2a52c2;
  --navy: #0e1f52;
  --blue-mist: #e6ebf7;
  --blue-line: #c3cde8;
  /* Field and tile borders: 3:1 against white, for form controls. */
  --field-edge: #6c7aa3;
  /* The flyer's yellow: an accent behind blue or ink text, never text on white. */
  --yellow: #ffd91a;
  --yellow-hover: #ffe55c;
  --ink: #101a3a;
  --ink-soft: #46506b;
  --on-blue: #ffffff;
  --on-blue-soft: #d5ddf3;
  --paper: #f4f6fb;
  --white: #ffffff;
  --stencil: "Stardos Stencil", "Rockwell", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 24px;
  --wrap: 1160px;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.1em;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--blue-deep);
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* The flyer's downward triangle bullet: yellow on white, blue on the pale
   blue band, where yellow would barely show. */
.flyer-list li,
.triangle-list li {
  position: relative;
  padding-left: 1.6em;
}

.flyer-list li::before,
.triangle-list li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.5em;
  width: 0.8em;
  height: 0.6em;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ---------- Concept banner ---------- */

.concept-banner {
  padding: 7px var(--gutter);
  background: var(--navy);
  color: var(--on-blue-soft);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

.concept-banner a {
  color: var(--white);
}

/* The way between the three designs: on its own row under the sentence on
   phones, and beside it after a divider on desktop. */
.concept-banner > p {
  margin: 0;
}

.design-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  max-width: 560px;
  margin: 8px auto 0;
  padding-top: 8px;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.875rem;
  line-height: 1.25;
}

.design-nav a {
  padding: 7px 0;
  color: var(--yellow);
  font-weight: 700;
  text-underline-offset: 3px;
}

.design-nav__here {
  text-align: center;
}

.design-nav__here strong {
  color: var(--white);
}

@media (min-width: 900px) {
  .concept-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 24px;
  }

  .design-nav {
    margin: 0;
    padding: 0 0 0 24px;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 0.2);
  }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 48px;
  padding: 0.6em 1.2em;
  border: 3px solid transparent;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  cursor: pointer;
}

.button--large {
  min-height: 58px;
  padding: 0.75em 1.4em;
  font-size: 1.0625rem;
}

.button--yellow {
  background: var(--yellow);
  color: var(--blue-deep);
  border-color: var(--yellow);
}

.button--yellow:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
}

.button--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.button--outline:hover {
  background: var(--white);
  color: var(--blue);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  border-bottom: 6px solid var(--yellow);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* The stencil wordmark, stacked two lines like the flyer. */
.wordmark {
  display: flex;
  flex-direction: column;
  color: var(--blue);
  font-family: var(--stencil);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header__contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header__quote,
.site-header__days,
.site-header__number {
  display: none;
}

.site-header__call {
  min-height: 48px;
  padding: 0.5em 1.1em;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--blue);
  color: var(--on-blue);
  padding: 28px 0 36px;
}

.hero__inner {
  display: grid;
  gap: 28px;
}

.hero__title {
  font-size: clamp(2rem, 8.4vw, 3.4rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__lede {
  margin-top: 12px;
  color: var(--on-blue-soft);
  font-size: 1.125rem;
}

.hero__call {
  margin-top: 22px;
}

/* "7 days a week" as a yellow tag, right above the number. */
.hero__days {
  display: inline-block;
  padding: 3px 10px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__number {
  display: block;
  margin-top: 6px;
  font-family: var(--stencil);
  font-weight: 700;
  font-size: clamp(2.6rem, 12.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.hero__actions .button {
  padding-left: 0.5em;
  padding-right: 0.5em;
  white-space: nowrap;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 8px 14px 8px 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.rating__score {
  padding: 4px 10px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--stencil);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
}

.rating__text {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--blue-line);
}

.rating:hover .rating__text {
  text-decoration-color: currentColor;
}

/* A photo with a white border, set slightly askew like the flyer's bin. */
.hero__photo img {
  width: 100%;
  border: 6px solid var(--white);
  transform: rotate(-1.5deg);
  box-shadow: 0 16px 32px -16px rgb(5 15 45 / 70%);
}

/* ---------- Sections ---------- */

.section {
  padding: 56px 0;
}

.section__title {
  font-family: var(--stencil);
  font-weight: 700;
  font-size: clamp(1.9rem, 7.6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue);
}

.section__lede {
  margin-top: 10px;
  font-size: 1.125rem;
}

.section__lede a,
.area__check a,
.quote__intro a {
  font-weight: 750;
}

/* ---------- Bin sizes ---------- */

.size-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.size {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
  border: 2px solid var(--blue-line);
  border-top: 8px solid var(--blue);
}

/* A skip bin's side profile, wider at the top, sized by the bin. The size
   is printed on it in stencil, like the flyer's bin. */
.bin {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
  color: var(--yellow);
  font-family: var(--stencil);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.bin--2 {
  width: 56%;
}

.bin--4 {
  width: 76%;
}

.bin--6 {
  width: 96%;
}

.size__loads {
  margin-top: 16px;
  font-size: 1.25rem;
  font-weight: 800;
}

.triangle-list {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  color: var(--ink-soft);
}

.price {
  margin-top: auto;
  padding-top: 18px;
  font-size: 1.25rem;
  font-weight: 800;
}

/* A deliberate fill-in-the-blank, highlighted like a marker on the flyer. */
.price__blank {
  display: inline-block;
  min-width: 3.4em;
  margin-left: 2px;
  padding: 0 6px;
  background: var(--yellow);
  border-bottom: 3px dashed var(--blue);
  color: var(--blue-deep);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ---------- Why us: photo and the flyer's list ---------- */

.why {
  padding: 0 0 56px;
  background: var(--blue-mist);
}

.why__inner {
  display: grid;
  gap: 28px;
  padding: 0;
}

.why__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.why__text {
  padding: 0 var(--gutter);
}

.flyer-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1.3;
}

.flyer-list li::before {
  background: var(--blue);
}

/* ---------- Reviews ---------- */

.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.reviews__more {
  font-weight: 750;
  color: var(--blue);
}

.review-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.review figure {
  height: 100%;
  padding: 22px 22px 20px;
  background: var(--paper);
  border-left: 8px solid var(--yellow);
}

.review blockquote {
  font-size: 1.0625rem;
  line-height: 1.55;
}

.review blockquote::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  color: var(--blue);
  font-family: var(--stencil);
  font-size: 3.4rem;
  line-height: 1;
}

.review figcaption {
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9375rem;
}

/* ---------- Service area ---------- */

.area {
  background: var(--blue);
  color: var(--on-blue);
  padding-bottom: 0;
}

.area__inner {
  display: grid;
  gap: 28px;
  padding: 0;
}

.area__text {
  padding: 0 var(--gutter);
}

.area .section__title {
  color: var(--white);
}

.area__line {
  margin-top: 16px;
  font-size: clamp(1.45rem, 6vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

/* A yellow highlighter stripe under the home suburb. */
.area__base {
  display: inline-block;
  margin-top: 14px;
  padding: 2px 10px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 800;
}

.area__check {
  margin-top: 14px;
  color: var(--on-blue-soft);
}

.area__check a {
  color: var(--white);
}

.area__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- Quote form ---------- */

.quote {
  background: var(--paper);
}

.quote {
  scroll-margin-top: 12px;
}

.quote__inner {
  display: grid;
  gap: 24px;
}

.quote__intro p {
  margin-top: 10px;
  font-size: 1.125rem;
}

.quote__panel {
  padding: 22px 20px 24px;
  background: var(--white);
  border-top: 8px solid var(--blue);
  box-shadow: 0 14px 30px -20px rgb(14 31 82 / 55%);
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  padding: 0;
  font-weight: 750;
}

.optional {
  color: var(--ink-soft);
  font-weight: 450;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--field-edge);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--blue);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.tile {
  position: relative;
}

.tile input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.tile span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 6px 4px;
  border: 2px solid var(--field-edge);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.tile input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--yellow);
}

.tile input:focus-visible + span {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--blue-deep);
}

.form__submit {
  width: 100%;
  margin-top: 4px;
  font: inherit;
  font-weight: 850;
}

.form-done {
  display: grid;
  gap: 10px;
  font-size: 1.125rem;
}

.form-done__title {
  color: var(--blue);
  font-family: var(--stencil);
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
}

.form-done a {
  font-weight: 800;
}

/* ---------- Footer ---------- */

.site-footer {
  /* Extra room at the bottom on phones, so the fixed call bar never covers
     the footer details. */
  padding: 40px 0 calc(48px + 70px + env(safe-area-inset-bottom));
  background: var(--navy);
  color: var(--on-blue-soft);
  border-top: 6px solid var(--yellow);
}

.site-footer__name {
  color: var(--white);
  font-family: var(--stencil);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__details {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.site-footer a {
  color: var(--white);
}

/* ---------- Sticky call bar (phones) ---------- */

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--blue);
  box-shadow: 0 -8px 20px -10px rgb(5 15 45 / 60%);
}

.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.call-bar__call {
  gap: 0.4em;
  background: var(--yellow);
  color: var(--blue-deep);
}

.call-bar__number {
  font-family: var(--stencil);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.call-bar__quote {
  border: 3px solid var(--white);
  color: var(--white);
}

/* ---------- Wider screens ---------- */

@media (min-width: 640px) {
  .size-list,
  .review-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .size {
    padding: 18px 16px 20px;
  }

  .bin {
    font-size: 2.2rem;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
  }

  .call-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 48px;
  }

  .wordmark {
    font-size: 2.1rem;
  }

  .site-header__quote,
  .site-header__days {
    display: inline;
  }

  .site-header__quote {
    color: var(--blue);
    font-weight: 750;
  }

  .site-header__days {
    color: var(--ink-soft);
    font-weight: 650;
  }

  .site-header__number {
    display: inline;
    font-family: var(--stencil);
    font-size: 1.25rem;
    letter-spacing: 0.02em;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero__inner {
    grid-template-columns: 1fr 560px;
    align-items: center;
    gap: 56px;
  }

  .hero__actions {
    display: flex;
  }

  .section {
    padding: 88px 0;
  }

  .size {
    padding: 22px 22px 24px;
  }

  .bin {
    height: 110px;
    font-size: 2.8rem;
  }

  .why {
    padding: 0;
  }

  .why__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    max-width: none;
  }

  .why__photo img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
  }

  .why__text {
    padding: 56px 32px 56px 0;
    max-width: 560px;
  }

  .area {
    padding: 0;
  }

  .area__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    max-width: none;
    padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  }

  .area__text {
    padding: 72px 0;
  }

  .area__photo img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 460px;
  }

  .quote__inner {
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
    gap: 64px;
  }

  .quote__panel {
    padding: 32px 32px 34px;
  }

  .site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px 40px;
  }

  .site-footer__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin-top: 0;
  }
}
