@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #181831;
  --navy-line: rgba(255, 255, 255, 0.14);
  --tint: #4A4A63;
  --amber: #F29E1E;
  --amber-hover: #FFB23F;
  --white: #FFFFFF;
  --mist: #EEF0F4;
  --rule: rgba(24, 24, 49, 0.14);
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--navy); padding: 10px 16px;
  font-weight: 700; text-decoration: none; border-radius: 4px;
}
.skip:focus { top: 12px; }

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

/* Type scale */
h1, h2 {
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 {
  font-size: 1.125rem;
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.25;
}
.lede { font-size: 1.1875rem; line-height: 1.5; color: var(--tint); max-width: 42ch; margin-top: 20px; }
.on-navy .lede { color: rgba(255, 255, 255, 0.78); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  font: inherit; font-weight: 700; font-stretch: 110%; font-size: 1rem;
  text-decoration: none; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; transition: background-color 150ms, border-color 150ms;
}
.btn--amber { background: var(--amber); color: var(--navy); }
.btn--amber:hover { background: var(--amber-hover); }
.btn--line { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--line:hover { border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--amber); }
.btn--navy:hover { background: #26264a; }

/* The bar motif from the logo mark */
.bar-list li { position: relative; padding-left: 38px; }
.bar-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 24px; height: 6px; background: var(--amber);
}

/* ---------- Header ---------- */
.top { background: var(--navy); color: var(--white); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 500; font-size: 0.975rem; }
.nav a:not(.btn):hover { color: var(--white); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.nav .btn { min-height: 44px; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); padding-top: clamp(40px, 7vw, 88px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px); align-items: end;
}
.hero__copy { padding-bottom: clamp(48px, 7vw, 96px); }
.hero__sub { font-size: 1.1875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.8); max-width: 38ch; margin-top: clamp(28px, 4vw, 44px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { display: grid; gap: 10px; margin-top: 36px; color: rgba(255, 255, 255, 0.86); }
.hero__facts strong { color: var(--white); font-weight: 800; font-stretch: 115%; font-size: 1.25rem; }

.hero__machine { position: relative; z-index: 2; margin-bottom: clamp(-96px, -7vw, -40px); }
.hero__img { width: 100%; filter: drop-shadow(0 14px 12px rgba(24, 24, 49, 0.22)); }

/* Amber ground band with the diagonal cut from the logo mark */
.ground {
  position: relative; z-index: 1; height: 22px;
  background: linear-gradient(112deg,
    var(--amber) 0 calc(34% - 9px),
    transparent calc(34% - 9px) calc(34% + 9px),
    var(--amber) calc(34% + 9px));
}

@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: roll-in 1100ms cubic-bezier(0.2, 0.75, 0.2, 1) 200ms both; }
  @keyframes roll-in {
    from { transform: translateX(-9%); opacity: 0; }
    to   { transform: none; opacity: 1; }
  }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section--after-hero { padding-top: calc(var(--section) + 40px); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }

/* Jobs */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.jobs p { color: var(--tint); margin-top: 6px; }

/* Steps: an actual sequence, so it's numbered */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 56px; counter-reset: step; }
.steps li { border-top: 3px solid var(--navy); padding-top: 22px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  background: var(--navy); color: var(--amber);
  font-weight: 800; font-stretch: 115%; font-size: 1.125rem; border-radius: 4px;
}
.steps p { color: var(--tint); margin-top: 8px; }

.callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start;
  margin-top: 56px; padding: 24px 28px; background: var(--white);
  border-left: 6px solid var(--amber); border-radius: 0 4px 4px 0;
}
.callout__num { font-weight: 800; font-stretch: 125%; font-size: 2rem; line-height: 1; }
.callout p { color: var(--tint); margin-top: 4px; max-width: 70ch; }
.callout a { font-weight: 600; }

/* Machine */
.machine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.machine figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.machine figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--tint); }
.specs { margin-top: 36px; border-top: 1px solid var(--rule); }
.specs div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.specs dt { color: var(--tint); }
.specs dd { font-weight: 600; }

/* Pricing */
.rates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--navy-line); }
.rates li { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--navy-line); }
.rates li + li { padding-left: 24px; border-left: 1px solid var(--navy-line); }
.rates .dur { color: rgba(255, 255, 255, 0.78); font-weight: 500; }
.rates .price { display: block; margin-top: 10px; font-weight: 800; font-stretch: 125%; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--white); }
.rates .per { display: block; margin-top: 10px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.62); }
.rates li:first-child .price { color: var(--amber); }
.price-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; margin-top: 40px; color: rgba(255, 255, 255, 0.86); }
.pricing-cta { margin-top: 48px; }

/* Delivery */
.towns { margin-top: 24px; color: var(--tint); max-width: 46ch; }
.rate-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rate-table caption { text-align: left; font-size: 0.9375rem; color: var(--tint); caption-side: bottom; padding-top: 14px; }
.rate-table th, .rate-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.rate-table thead th { font-size: 0.875rem; font-weight: 600; color: var(--tint); border-bottom: 2px solid var(--navy); padding-top: 0; }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; }
.rate-table tbody tr:first-child td { font-weight: 700; }
.rate-table .free { display: inline-block; background: var(--amber); color: var(--navy); font-weight: 700; padding: 2px 10px; border-radius: 3px; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-stretch: 110%; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy);
  transform: translateY(-3px) rotate(45deg); transition: transform 200ms;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .answer { padding: 0 0 24px; color: var(--tint); max-width: 64ch; }
.faq .answer p + p { margin-top: 12px; }

/* Booking */
.book__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 80px); align-items: end; }
.book__panel { position: relative; z-index: 5; margin-top: clamp(32px, 5vw, 56px); background: var(--white); color: var(--navy); border-radius: 6px; padding: clamp(20px, 3vw, 36px); min-height: 180px; overflow: visible; }
.book__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; min-height: 0; }
.book__cta h3 { font-size: 1.375rem; }
.book__cta p { color: var(--tint); margin-top: 8px; max-width: 52ch; }
.book__cta .contact-lines { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 600; font-style: normal; }
.book__cta .btn { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.book__steps { display: grid; gap: 12px; color: rgba(255, 255, 255, 0.86); }

/* Footer */
.foot { background: var(--navy); color: rgba(255, 255, 255, 0.78); border-top: 1px solid var(--navy-line); padding: 56px 0 40px; font-size: 0.9375rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot .brand img { height: 26px; }
.foot__loc { margin-top: 6px; }
.foot__tag { margin-top: 14px; color: var(--amber); font-weight: 700; font-stretch: 115%; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot__cols a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.foot__cols a:hover { color: var(--white); text-decoration: underline; }
.foot__cols ul, .foot__cols address { display: grid; gap: 8px; align-content: start; font-style: normal; }
.foot__small { margin-top: 40px; color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; }

[hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav a:not(.btn) { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 8px; }
  .hero__machine { max-width: 640px; margin-left: auto; margin-right: -4%; }
  .split, .machine, .book__intro { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rates li:nth-child(3) { padding-left: 0; border-left: 0; }
  .price-notes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .top__in { gap: 12px; }
  .brand img { height: 22px; }
  .nav { gap: 10px; }
  .nav .btn { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
  .jobs, .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .callout { grid-template-columns: 1fr; gap: 8px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .rates li { padding-right: 12px; }
  .rates li + li { padding-left: 16px; }
  .rates li:nth-child(3) { padding-left: 0; }
  .ground { height: 16px; }
}
