/* BRAND: colours — swap this block to retheme the workshop.
   Amber is the only accent. Use --amber on navy, and --amber-deep for text on cream. */
:root {
  --navy: #102033;
  --navy-deep: #0b1726;
  --ink: #14202c;
  --cream: #f3eee6;
  --cream-deep: #e6dfd2;
  --white: #fffcf8;
  --amber: #e28a2a;
  --amber-deep: #8a4b0a;
  --amber-ink: #1a1208;
  --muted: #3d4b5c;
  --cream-muted: #d9d3c8;
  --line: rgba(16, 32, 51, 0.14);
  --danger: #8d2f1b;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header-offset: 8.75rem;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

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

.btn-amber:focus-visible {
  outline-color: var(--navy);
}

.hero .btn-amber:focus-visible,
.hero .btn-ghost:focus-visible {
  outline-color: var(--cream);
}

::selection {
  background: var(--amber);
  color: var(--amber-ink);
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 50;
  transform: translateY(-150%);
  background: var(--amber);
  color: var(--amber-ink);
  padding: 0.6rem 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  position: fixed;
  transform: none;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

section,
[id] {
  scroll-margin-top: var(--header-offset);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  border-top: 4px solid var(--amber);
  border-bottom: 1px solid var(--line);
}

.site-header.is-stuck {
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "badge badge"
    "brand actions"
    "nav nav";
  gap: 0.35rem 0.75rem;
  align-items: center;
  padding-block: 0.7rem 0.35rem;
}

.concept-badge {
  grid-area: badge;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  margin: 0;
}

.concept-badge-label {
  display: inline-flex;
  align-items: center;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.38rem 0.5rem;
  white-space: nowrap;
}

.concept-badge-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.wordmark {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--navy);
  text-decoration: none;
}

.wordmark svg {
  width: 2.05rem;
  height: 2.05rem;
  flex: none;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wordmark-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 0.85;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wordmark-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.header-actions {
  grid-area: actions;
  display: flex;
  gap: 0.4rem;
  justify-self: end;
}

.site-nav {
  grid-area: nav;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.1rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="true"] {
  box-shadow: inset 0 -2px 0 var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid transparent;
  border-radius: 3px;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
}

.btn-amber {
  background: var(--amber);
  color: var(--amber-ink);
}

.btn-amber:hover {
  background: #c9761c;
}

.btn-ghost {
  border-color: currentColor;
  color: var(--navy);
}

.btn-ghost:hover {
  background: rgba(16, 32, 51, 0.05);
}

.hero {
  background:
    radial-gradient(880px 420px at 100% 0%, rgba(226, 138, 42, 0.18), transparent 55%),
    var(--navy);
  color: var(--cream);
}

.hero-inner {
  display: grid;
  gap: 1.75rem;
  padding-block: 2.4rem 2.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 0.85rem;
  max-width: 8.6em;
  font-size: clamp(2.7rem, 6.5vw, 5.4rem);
}

.accent {
  color: var(--amber);
}

.lede {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.hero .btn-ghost {
  color: var(--cream);
}

.hero .btn-ghost:hover {
  background: rgba(243, 238, 230, 0.08);
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 68% 40%;
  border-left: 6px solid var(--amber);
  background: var(--navy-deep);
}

.hero-figure figcaption {
  margin-top: 0.55rem;
  color: var(--cream-muted);
  font-size: 0.92rem;
}

.hours-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem 0.75rem 0.35rem 0.6rem;
  border: 1px solid rgba(243, 238, 230, 0.38);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
}

.hours-pill-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: none;
  border-radius: 50%;
  background: var(--cream-muted);
}

.hours-pill.is-open .hours-pill-dot {
  background: var(--amber);
  box-shadow: 0 0 0 0.28rem rgba(226, 138, 42, 0.28);
}

.hours-pill.is-closed .hours-pill-dot {
  background: #b7b1a6;
  box-shadow: none;
}

.section-visit .hours-pill {
  border-color: rgba(16, 32, 51, 0.28);
  background: var(--white);
  color: var(--ink);
}

.section {
  padding: 4.25rem 0;
}

.section-head {
  display: grid;
  gap: 0.8rem;
  max-width: 44rem;
}

.kicker {
  color: var(--amber-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.section-intro {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.jobs {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  counter-reset: job;
}

.jobs li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.3rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  counter-increment: job;
}

.jobs li:last-child {
  border-bottom: 1px solid var(--line);
}

.jobs-index {
  grid-row: 1 / span 2;
  padding-top: 0.2rem;
  color: var(--amber-deep);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.jobs-index::before {
  content: counter(job, decimal-leading-zero);
}

.jobs h3 {
  font-size: 1.85rem;
}

.jobs p {
  grid-column: 2;
  color: var(--muted);
}

.section-navy {
  background: var(--navy);
  color: var(--cream);
}

.section-navy .kicker {
  color: var(--amber);
}

.reasons {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.reasons li {
  border-top: 2px solid var(--amber);
  padding-top: 0.9rem;
}

.reason-num {
  color: var(--amber);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.reasons h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.85rem;
}

.reasons p {
  color: var(--cream-muted);
}

.gallery {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.gallery li {
  margin: 0;
  min-width: 0;
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 3 / 2;
}

.shot-hoist,
.shot-engine {
  aspect-ratio: 3 / 4;
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-hoist img {
  object-position: center 28%;
}

.shot-bay img {
  object-position: center 42%;
}

.shot-floor img {
  object-position: center 45%;
}

.shot-engine img {
  object-position: center 40%;
}

.shot-tyres img {
  object-position: 28% center;
}

.shot figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 2.4rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(8, 16, 26, 0.84), rgba(8, 16, 26, 0));
  color: var(--cream);
  font-weight: 650;
}

.section-visit {
  background: var(--cream-deep);
}

.visit-grid {
  display: grid;
  gap: 2rem;
}

.visit-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.address {
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.4;
}

.phone-link {
  justify-self: start;
  border-bottom: 3px solid var(--amber);
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.phone-link:hover {
  color: var(--amber-deep);
}

.fine-print {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 36rem;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.4rem;
}

.hours caption {
  caption-side: top;
  padding-bottom: 0.35rem;
  text-align: left;
  font-weight: 700;
}

.hours th,
.hours td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-align: left;
}

.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.book-card,
.book-done {
  background: var(--white);
  border: 1px solid rgba(16, 32, 51, 0.12);
  padding: 1.2rem 1.15rem 1.3rem;
}

.book-card {
  display: grid;
  gap: 0.9rem;
}

.book-card h2,
.book-done h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label,
.optional {
  font-weight: 650;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

.hint,
.field-error {
  font-size: 0.92rem;
}

.hint {
  color: var(--muted);
}

.field-error {
  color: var(--danger);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.75rem;
  border: 1px solid #c4bdae;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #8d867b;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23102033' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.7rem;
}

.book-card .btn {
  width: 100%;
  margin-top: 0.2rem;
}

.book-done {
  display: grid;
  gap: 0.8rem;
}

.book-done .btn {
  justify-self: start;
}

.site-footer {
  background: var(--navy);
  color: var(--cream-muted);
  padding: 1.4rem 1rem 1.7rem;
  text-align: center;
  font-size: 0.98rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--cream);
  text-underline-offset: 0.18em;
}

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

@media (max-width: 380px) {
  .wordmark-name {
    font-size: 1.22rem;
  }

  .header-actions .btn {
    padding-inline: 0.7rem;
  }
}

@media (min-width: 700px) {
  .reasons {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }
}

@media (min-width: 840px) {
  .gallery {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: 14rem 14rem 16rem;
    grid-template-areas:
      "hoist bay bay"
      "hoist floor engine"
      "tools tools tyres";
  }

  .gallery li {
    display: grid;
    min-height: 0;
  }

  .gallery li:nth-child(1) { grid-area: bay; }
  .gallery li:nth-child(2) { grid-area: floor; }
  .gallery li:nth-child(3) { grid-area: hoist; }
  .gallery li:nth-child(4) { grid-area: engine; }
  .gallery li:nth-child(5) { grid-area: tools; }
  .gallery li:nth-child(6) { grid-area: tyres; }

  .shot,
  .shot-hoist,
  .shot-engine {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
  }
}

@media (min-width: 860px) {
  .jobs li {
    grid-template-columns: 4.25rem minmax(11rem, 16rem) minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: baseline;
  }

  .jobs-index {
    grid-row: 1;
    padding-top: 0.35rem;
  }

  .jobs p {
    grid-column: 3;
    grid-row: 1;
  }

  .visit-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
    gap: 3rem;
    align-items: center;
    padding-block: 3.4rem 3.6rem;
  }

  .hero-figure img {
    aspect-ratio: 4 / 5;
    max-height: 40rem;
  }
}

@media (min-width: 1040px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand nav badge actions";
    gap: 0.5rem 1.4rem;
    padding-block: 0.45rem;
  }

  .concept-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    max-width: 11.5rem;
  }

  .concept-badge-note {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .site-nav ul {
    justify-content: center;
  }

  .reasons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section {
    padding: 5.75rem 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .hours-pill,
  .concept-badge-label,
  .book-card,
  .book-done {
    border: 1px solid ButtonText;
  }

  .hours-pill-dot {
    background: CanvasText;
    box-shadow: none;
  }
}

@media print {
  .site-header,
  .skip,
  .book-card,
  .book-done,
  .hero-actions {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero,
  .section-navy,
  .site-footer {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }
}
