/*
  Styles for the taxi service website. Mobile-first.
  One design system throughout: "Felt" style from Refero (refero.design).
  - Ivory paper canvas, charcoal ink, burnt orange as an accent only
  - Instrument Sans for headlines and body, Inter for body, Roboto Mono for small labels
  - 4px corners on actions, 6px on media and panels, hairline rules, no pills
*/

:root {
  --charcoal: #1c1b18;
  --graphite: #3a382f;
  --pencil: #69685f;
  --edge: #c0beb8;
  --hairline: #d6d4cd;
  --stone: #ecebe3;
  --paper: #f4f2ea;
  --white: #ffffff;
  --rust: #a7531b;
  --accent: #f07000;      /* logo orange: decorative accents and dark panels */
  --error: #b3261e;

  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: var(--sans);
  --mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-action: 4px;
  --r-media: 6px;
  --container: 1200px;
  --gutter: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--paper);
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  color: var(--charcoal);
}

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

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

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--r-action);
}

.skip-link:focus {
  top: 0.5rem;
}

/* Mono annotations */

.eyebrow,
.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head .eyebrow {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  color: var(--rust);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--r-action);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rust);
}

.btn-outline {
  background: transparent;
  border-color: var(--edge);
  color: var(--charcoal);
}

.btn-outline:hover {
  border-color: var(--charcoal);
}

/* Navbar */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.75rem var(--gutter) 0;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.5rem 0.625rem;
  background: rgba(244, 242, 234, 0.9);
  border: 1px solid var(--hairline);
  border-radius: var(--r-media);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  text-decoration: none;
  color: var(--charcoal);
}

.brand-logo {
  flex: none;
  width: auto;
  height: 3rem;
}

.brand-name {
  display: none;
  font-family: var(--display);
  font-size: 1.125rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-actions .btn {
  min-height: 2.5rem;
}

.nav-actions .btn-primary {
  display: none;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: var(--r-action);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.125rem;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu panel */
.nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-media);
  box-shadow: 0 24px 60px -24px rgba(28, 27, 24, 0.3);
}

.nav.is-open {
  display: block;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li + li {
  border-top: 1px solid var(--hairline);
}

.nav-list a {
  display: block;
  padding: 0.875rem 0;
  text-decoration: none;
  color: var(--graphite);
  font-weight: 500;
}

.nav-list a:hover {
  color: var(--rust);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 34rem;
  padding: 7rem var(--gutter) 1.5rem;
  color: var(--white);
  /* Hero photo; the charcoal is the fallback colour. */
  background:
    linear-gradient(180deg, rgba(28, 27, 24, 0.3) 0%, rgba(28, 27, 24, 0.82) 100%),
    url("../images/hero-bg.jpg") center / cover no-repeat,
    var(--charcoal);
}

.photo-credit {
  position: absolute;
  top: 5.25rem;
  right: var(--gutter);
  margin: 0;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto 1.5rem;
}

.hero h1 {
  max-width: 12em;
  margin: 0 0 1rem;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.hero-lead {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgba(244, 242, 234, 0.92);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-list li::before {
  content: "\2713";
  margin-right: 0.5rem;
  color: var(--accent);
}

/* Quote card */

.quote-card {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem;
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--r-media);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.45);
}

/* Mobile: all four trip types share one row, each taking an equal share */
.trip-tabs {
  display: flex;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.trip-tabs label {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.trip-tabs input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.trip-tabs span {
  display: block;
  padding: 0.5rem 0.25rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-action);
  font-size: clamp(0.6875rem, 3.2vw, 0.875rem);
  text-align: center;
  white-space: nowrap;
  font-weight: 500;
  color: var(--graphite);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.trip-tabs label:hover span {
  border-color: var(--charcoal);
}

.trip-tabs input:checked + span {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.trip-tabs input:focus-visible + span {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.quote-fields {
  display: grid;
  gap: 1rem 0.75rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.field:nth-child(1),
.field:nth-child(2) {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pencil);
}

.field input,
.field select {
  width: 100%;
  min-height: 2.875rem;
  padding: 0 0.75rem;
  font: inherit;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-action);
}

.field input:hover,
.field select:hover {
  border-color: var(--edge);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--charcoal);
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
}

.quote-submit {
  grid-column: 1 / -1;
}

.quote-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--pencil);
}

.quote-note.is-error {
  color: var(--error);
}

.field[hidden] {
  display: none;
}

/* Sections */

.section {
  padding: 4rem var(--gutter);
}

.section-stone {
  background: var(--stone);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p:not(.eyebrow) {
  margin: 1rem 0 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--pencil);
}

.credits {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--pencil);
}

/* Service cards */

.service-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.service-card {
  position: relative;
  display: block;
  min-height: 16rem;
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(28, 27, 24, 0.85) 100%);
}

.service-text {
  position: absolute;
  left: 1.25rem;
  right: 4rem;
  bottom: 1.25rem;
  z-index: 1;
}

.service-text h3 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.service-text span {
  display: block;
  font-size: 0.9375rem;
  color: rgba(244, 242, 234, 0.9);
}

.service-arrow {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-action);
  background: var(--paper);
  color: var(--charcoal);
  font-size: 1.125rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.service-card:hover .service-arrow {
  background: var(--rust);
  color: var(--white);
}

.service-card:focus-visible {
  outline-offset: 3px;
}

/* Fleet */

.fleet-grid {
  display: grid;
  gap: 2.5rem 1.25rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.car-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: var(--r-media);
}

.car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-photo img.is-cutout {
  object-fit: contain;
  padding: 1rem;
  mix-blend-mode: multiply; /* hides the white background of studio cut-outs */
}

.car-body {
  padding-top: 1rem;
}

.car-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.5rem;
  color: var(--pencil);
}

.car-body h3 {
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.car-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.5rem;
  margin-top: 1rem;
  padding: 0 0.875rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-action);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--charcoal);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.car-link:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

/* Why us: charcoal panel */

.why-panel {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  background: var(--charcoal);
  color: #c4c4c3;
  border-radius: var(--r-media);
}

.why-panel .section-head h2 {
  color: var(--paper);
}

.why-panel .section-head .eyebrow {
  color: var(--accent);
}

.why-panel .section-head p:not(.eyebrow) {
  color: #c4c4c3;
}

.why-grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(238, 238, 238, 0.24);
}

.why-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(238, 238, 238, 0.14);
}

.why-num {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.why-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--paper);
}

.why-item p {
  margin: 0;
}

.why-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.why-panel .btn-primary {
  background: var(--paper);
  color: var(--charcoal);
}

.why-panel .btn-primary:hover {
  background: var(--accent);
}

.btn-ghost {
  color: var(--paper);
  border-color: rgba(238, 238, 238, 0.4);
}

.btn-ghost:hover {
  border-color: var(--paper);
}

/* How it works */

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--charcoal);
}

.step {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
}

.step-num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--rust);
}

.step h3 {
  margin: 0 0 0.375rem;
  font-size: 1.625rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  color: var(--pencil);
}

/* Closing call to action */

.cta {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 24rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--charcoal);
  color: var(--paper);
}

.cta-panel > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(28, 27, 24, 0.2) 0%, rgba(28, 27, 24, 0.85) 100%);
}

.cta-credit {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  margin: 0;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.cta-panel .eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
}

.cta-panel h2 {
  max-width: 10em;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.cta-lead {
  max-width: 28rem;
  margin: 1rem 0 1.5rem;
  color: rgba(244, 242, 234, 0.9);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-panel .btn-primary {
  background: var(--paper);
  color: var(--charcoal);
}

.cta-panel .btn-primary:hover {
  background: var(--accent);
}

/* Inner pages */

.nav-list a[aria-current="page"] {
  color: var(--rust);
}

.page-head {
  padding: 6.5rem var(--gutter) 0.5rem;
}

.page-head .container {
  max-width: var(--container);
}

.page-head .eyebrow {
  margin: 0 0 1rem;
  color: var(--rust);
}

.page-head h1 {
  max-width: 14em;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.025em;
}

.page-lead {
  max-width: 32rem;
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  color: var(--pencil);
}

.service-blocks {
  padding-top: 1.5rem;
}

/* Services list: compact ruled rows with a small photo */
.svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--charcoal);
}

.svc-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
  scroll-margin-top: 5.5rem;
}

.svc-media {
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--r-media);
  background: var(--paper);
}

.svc-media img {
  width: 100%;
  height: auto; /* overrides the height attribute so aspect-ratio applies */
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Contact list */
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--charcoal);
}

.contact-row {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-row h2 {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.contact-row p {
  margin: 0.375rem 0 0;
  color: var(--pencil);
}

.contact-row .btn {
  justify-self: start;
}

/* About facts */
.facts {
  margin: 0;
  border-top: 1px solid var(--charcoal);
}

.fact {
  display: grid;
  gap: 0.375rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
}

.fact dt {
  color: var(--rust);
}

.fact dd {
  margin: 0;
  font-size: 1.125rem;
  color: var(--graphite);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Build your own trip form */
.page-head + .section {
  padding-top: 2rem;
}

.tour-card {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-media);
  box-shadow: 0 24px 60px -24px rgba(28, 27, 24, 0.22);
}

.tour-label {
  margin: 0 0 1.25rem;
  color: var(--rust);
}

.tour-fields {
  display: grid;
  gap: 1rem 0.75rem;
  grid-template-columns: 1fr 1fr;
}

/* Places and pickup span the full row (beats the quote form's desktop reset) */
.tour-fields > .field:nth-child(-n + 2),
.tour-fields > .tour-submit {
  grid-column: 1 / -1;
}

.chips-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--pencil);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  min-height: 2.25rem;
  padding: 0 0.75rem;
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: var(--r-action);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chip:hover {
  border-color: var(--charcoal);
}

.chip[aria-pressed="true"] {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.field textarea {
  width: 100%;
  padding: 0.75rem;
  font: inherit;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-action);
  resize: vertical;
}

.field textarea:hover {
  border-color: var(--edge);
}

.field textarea:focus {
  outline: none;
  border-color: var(--charcoal);
}

.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.svc-media img.is-cutout {
  object-fit: contain;
  padding: 0.5rem;
  mix-blend-mode: multiply; /* hides the white background of studio cut-outs */
}

.svc-text h2 {
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.svc-text p {
  margin: 0.375rem 0 0;
  color: var(--pencil);
}

.svc-text .svc-cars {
  margin-top: 0.5rem;
  color: var(--graphite);
}

.svc-btn {
  grid-column: 2;
  justify-self: start;
  min-height: 2.5rem;
}

/* Footer */

.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--charcoal);
  color: #c4c4c3;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-top {
  display: grid;
  gap: 2.5rem;
}

.footer-name {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.footer-line {
  max-width: 20rem;
  margin: 0;
}

.footer-title {
  margin: 0 0 1rem;
  font-weight: 400;
  color: var(--accent);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.625rem;
}

.footer-col a {
  text-decoration: none;
  color: #c4c4c3;
}

.footer-col a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(238, 238, 238, 0.14);
  color: #858581;
}

.built-by {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* White tile so the logo's own white background reads on the dark footer */
.built-by-logo {
  display: inline-block;
  width: auto;
  height: 2.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--white);
  border-radius: var(--r-media);
}

/* Tablet and up */

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
  }

  .brand-name {
    display: inline;
  }

  .nav-actions .btn-primary {
    display: inline-flex;
  }

  .hero {
    min-height: 40rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .quote-card {
    padding: 1.75rem;
  }

  .trip-tabs {
    gap: 0.5rem;
  }

  .trip-tabs label {
    flex: none;
  }

  .trip-tabs span {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }

  .section {
    padding: 6rem var(--gutter);
  }

  .section-head h2 {
    font-size: 2.75rem;
  }

  .service-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 18rem;
  }

  .service-airport,
  .service-tours {
    grid-column: span 4;
  }

  .service-local,
  .service-outstation {
    grid-column: span 2;
  }

  .service-text h3 {
    font-size: 1.75rem;
  }

  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-panel {
    padding: 4rem 2.5rem;
  }

  .page-head {
    padding-top: 7.5rem;
    padding-bottom: 1rem;
  }

  .page-head h1 {
    font-size: 3rem;
  }

  .contact-row {
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding: 2rem 0;
  }

  .contact-row h2 {
    font-size: 1.75rem;
  }

  .contact-row .btn {
    justify-self: end;
  }

  .fact {
    grid-template-columns: 14rem 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
  }

  .tour-card {
    padding: 1.75rem;
  }

  .tour-fields {
    grid-template-columns: repeat(4, 1fr);
  }

  .svc-row {
    grid-template-columns: 14rem 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
  }

  .svc-text h2 {
    font-size: 1.75rem;
  }

  .svc-btn {
    grid-column: auto;
    justify-self: end;
  }

  .steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    border-top: 0;
  }

  .step {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid var(--charcoal);
    border-bottom: 0;
  }

  .cta-panel {
    min-height: 30rem;
    padding: 3rem 2.5rem;
  }

  .cta-panel h2 {
    font-size: 4rem;
  }

  .cta-credit {
    top: 1.5rem;
    right: 2.5rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .fleet-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2rem;
  }

  .hero {
    min-height: 44rem;
  }

  .hero h1 {
    font-size: 4.75rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .nav-list {
    display: flex;
    gap: 1.5rem;
  }

  .nav-list li + li {
    border-top: 0;
  }

  .nav-list a {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
  }

  .quote-fields {
    grid-template-columns: 1.4fr 1.4fr 1fr 0.8fr 1fr auto;
    align-items: end;
  }

  .field:nth-child(1),
  .field:nth-child(2),
  .quote-submit {
    grid-column: auto;
  }
}

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

  * {
    transition: none !important;
  }
}
