/* Prototype B, Clean and quick: mostly white, black type, one electric
   yellow-green accent, lots of space. One typeface (Inter Tight). */

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

:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --mist: #f4f4f2;
  --line: #e4e4e0;
  --grey: #5a5a57;
  --edge: #6e6e6a;
  /* The one accent. Only ever a background under ink, never text on white. */
  --accent: #c8ff2e;
  --ink-hover: #2b2b2b;
  --on-ink-muted: #d6d6d2;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pill-radius: 999px;
}

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

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

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

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

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

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 8px var(--accent);
}

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

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

.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: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Concept banner: thin, scrolls away, can't be dismissed. */
.concept-banner {
  padding: 7px 20px;
  background: var(--mist);
  color: var(--grey);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

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

/* 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 var(--line);
  font-size: 0.875rem;
  line-height: 1.25;
}

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

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

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

@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 var(--line);
  }
}

/* Pills: the one button shape. */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: var(--pill-radius);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.pill--ink {
  background: var(--ink);
  color: var(--paper);
}

.pill--ink:hover {
  background: var(--ink-hover);
}

.pill--ghost {
  background: transparent;
  color: var(--ink);
}

.pill--ghost:hover {
  background: var(--accent);
}

.pill--accent {
  background: var(--accent);
  color: var(--ink);
}

.pill--large {
  min-height: 56px;
  padding: 0 26px;
  font-size: 1.0625rem;
}

/* Header */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--ink);
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero */
.hero__text {
  padding-block: 20px 36px;
}

.hero__title {
  max-width: 13em;
  font-weight: 750;
  font-size: clamp(2.375rem, 10vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero__lede {
  max-width: 30em;
  margin-top: 18px;
  color: var(--grey);
  font-size: 1.125rem;
  line-height: 1.5;
}

.hero__call {
  margin-top: 30px;
}

.hero__days {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.hero__number {
  display: inline-block;
  margin-top: 2px;
  font-weight: 750;
  font-size: clamp(2.5rem, 12vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  background: linear-gradient(transparent 68%, var(--accent) 68%, var(--accent) 92%, transparent 92%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__actions .pill {
  flex: 1 1 140px;
}

.rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.35em;
  margin-top: 22px;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid var(--edge);
  padding-bottom: 2px;
}

.rating strong {
  font-weight: 800;
}

.rating:hover {
  border-bottom-color: var(--ink);
}

/* Phones: the square photo, cropped square, with the bin centred. */
.hero__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Tablets: the same photo cropped 4:3, as a full-width square would be too tall. */
@media (min-width: 640px) and (max-width: 859px) {
  .hero__photo img {
    aspect-ratio: 4 / 3;
    object-position: 50% 60%;
  }
}

/* Claims: the closing accent band, in big type. */
.claims {
  background: var(--accent);
}

.claims__list {
  display: grid;
  gap: 2px;
  padding-block: 56px;
  font-weight: 750;
  font-size: clamp(1.75rem, 7.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

/* Sections */
.section {
  padding-block: 72px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section__head {
  margin-bottom: 32px;
}

.label {
  color: var(--grey);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__title {
  margin-top: 10px;
  font-weight: 750;
  font-size: clamp(2.125rem, 8.5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

/* Sizes: typographic rows, not photo cards. */
.sizes__photo img {
  width: 100%;
  border-radius: 6px;
}

.size-list {
  margin-top: 36px;
}

.size {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "loads loads"
    "jobs jobs";
  align-items: baseline;
  gap: 4px 16px;
  padding-block: 22px 26px;
  border-top: 2px solid var(--ink);
}

.size__name {
  grid-area: name;
  font-weight: 750;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.size__loads {
  grid-area: loads;
  margin-top: 6px;
  font-weight: 650;
}

.size__jobs {
  grid-area: jobs;
  margin-top: 6px;
  color: var(--grey);
}

.size__jobs li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.size__jobs li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  translate: 0 -0.2em;
  background: var(--ink);
}

.price {
  grid-area: price;
  font-weight: 650;
  font-size: 1.125rem;
  white-space: nowrap;
}

/* "From $___": a fill-in-the-blank, highlighted so it reads as deliberate. */
.price__blank {
  display: inline-block;
  margin-left: 2px;
  padding: 0 0.3em;
  border-radius: 3px;
  background: var(--accent);
  letter-spacing: 0.05em;
}

.sizes__unsure {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

/* Area */
.area__inner {
  display: grid;
  gap: 36px;
}

.area__line {
  max-width: 18em;
  margin-top: 22px;
  font-weight: 650;
  font-size: clamp(1.5rem, 6vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.area__base {
  margin-top: 14px;
  font-size: 1.125rem;
}

.area__check {
  margin-top: 6px;
  color: var(--grey);
  font-size: 1.125rem;
}

.area__check a {
  color: var(--ink);
  font-weight: 650;
}

.area__photo img {
  width: 100%;
  border-radius: 6px;
}

/* Reviews */
.reviews .rating {
  margin-top: 18px;
}

.review-list {
  display: grid;
  gap: 40px;
}

.review {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.review blockquote {
  font-weight: 500;
  font-size: 1.3125rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.review figcaption {
  margin-top: 14px;
  color: var(--grey);
  font-weight: 600;
  font-size: 0.9375rem;
}

.reviews__more {
  margin-top: 40px;
  font-weight: 650;
}

/* Quote form */
.quote {
  scroll-margin-top: 0;
}

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

.quote__intro p:not(.label) {
  margin-top: 14px;
  color: var(--grey);
  font-size: 1.125rem;
}

.quote__intro a {
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}

.form {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

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

.field label,
.field legend {
  padding: 0;
  font-weight: 650;
  font-size: 1rem;
}

.field legend {
  margin-bottom: 8px;
}

.optional {
  margin-left: 6px;
  color: var(--grey);
  font-weight: 500;
  font-size: 0.875rem;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid var(--edge);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink);
  outline: 3px solid var(--ink);
  outline-offset: 0;
  box-shadow: 0 0 0 7px var(--accent);
}

.field textarea {
  resize: vertical;
}

.segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--edge);
  border-radius: var(--pill-radius);
  padding: 4px;
  gap: 4px;
}

.segment {
  position: relative;
  display: block;
}

.segment input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--pill-radius);
  font-weight: 650;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.segment input:checked + span {
  background: var(--ink);
  color: var(--paper);
}

.segment input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--accent);
}

.form__submit {
  width: 100%;
  margin-top: 6px;
}

.form-done {
  max-width: 560px;
  padding: 26px;
  border-radius: 12px;
  background: var(--accent);
  font-size: 1.125rem;
}

.form-done__title {
  margin-bottom: 8px;
  font-weight: 750;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

/* Footer */
.site-footer {
  padding-block: 48px calc(48px + 72px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
}

.site-footer__name {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.site-footer__details {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: var(--on-ink-muted);
}

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

/* Sticky bar: phones only. Call and Get a quote, side by side. */
.call-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.96);
  border-top: 1px solid var(--line);
}

.call-bar .pill {
  padding: 0 12px;
  font-weight: 700;
}

.call-bar__number {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 359px) {
  .call-bar__number {
    display: none;
  }
}

/* Larger screens */
@media (min-width: 860px) {
  .call-bar {
    display: none;
  }

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

  .site-header__inner {
    min-height: 80px;
  }

  .site-header__nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-weight: 550;
  }

  .site-header__nav a {
    text-decoration: none;
  }

  .site-header__nav a:hover {
    text-decoration: underline;
  }

  .site-header__quote {
    display: inline-flex;
  }

  .site-header__days {
    display: inline;
    margin-left: 12px;
    color: var(--grey);
    font-weight: 550;
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .site-header__number {
    display: inline;
    font-variant-numeric: tabular-nums;
  }

  .site-header__call-word {
    font-weight: 500;
  }

  /* The hero text sits on the photo's plain white wall. */
  .hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 50vw, 760px);
  }

  .hero__photo {
    position: absolute;
    inset: 0;
  }

  .hero__photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-position: 50% 70%;
  }

  .hero__text {
    position: relative;
    z-index: 1;
    padding-block: 56px;
  }

  .hero__text > * {
    max-width: min(620px, 52vw);
  }

  .hero__title {
    font-size: clamp(2.75rem, 4.5vw, 4.25rem);
  }

  /* Ink, not grey, on the photo's wall, which is off-white. */
  .hero__lede {
    color: var(--ink);
  }

  .hero__number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }

  .hero__actions .pill {
    flex: 0 0 auto;
  }

  .claims__list {
    padding-block: 96px;
  }

  .section {
    padding-block: 112px;
  }

  .section__head {
    margin-bottom: 48px;
  }

  .sizes__photo img {
    aspect-ratio: 21 / 8;
    object-fit: cover;
    object-position: 50% 62%;
  }

  .size-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 48px;
  }

  .size {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "loads"
      "jobs"
      "price";
    align-content: start;
  }

  .size__name {
    font-size: 5rem;
  }

  .price {
    margin-top: 18px;
    font-size: 1.25rem;
  }

  .sizes__unsure {
    margin-top: 20px;
  }

  .area__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
  }

  .review-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }

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

[hidden] {
  display: none !important;
}
