/* Audio Visual People — site styles */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap");

:root {
  --purple: #4f1a96;
  --purple-dark: #22073e;
  --green: #00d466;
  --amber: #e8a013;
  --ink: #17131c;
  --muted: #625c6b;
  --line: #d9d6de;
  --stripe: linear-gradient(90deg, var(--purple) 0 33.33%, var(--green) 33.33% 66.66%, var(--amber) 66.66% 100%);
  --width: 1160px;
  --gutter: 24px;
  --display: "Montserrat", "Arial Black", "Segoe UI", sans-serif;
}

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

html {
  scroll-padding-top: 90px;
  overflow-x: clip; /* 100vw includes the scrollbar, so full-width breakouts would otherwise overhang */
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

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

a {
  color: var(--purple);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.1;
  color: var(--purple-dark);
}

h1 {
  margin: 24px 0 40px;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h2 {
  margin-top: 2.2em;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
  text-transform: uppercase;
}

h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

main {
  max-width: var(--width);
  margin: 0 auto;
  padding: 32px var(--gutter) 96px;
}

main p,
main li {
  max-width: 68ch;
}

/* ---------- Header + nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px max(var(--gutter), calc((100% - var(--width)) / 2 + var(--gutter)));
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  width: min(230px, 55vw);
}

.nav-toggle,
.nav-button {
  display: none;
}

.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav li {
  position: relative;
}

.site-header nav a,
.site-header nav .menu-toggle {
  display: block;
  padding: 8px 0;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-dark);
  text-decoration: none;
}

/* Dropdown triggers (Services, Portfolio, About) with a chevron */
.site-header nav .menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  line-height: inherit;
  background: none;
  cursor: pointer;
}

.menu-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s;
}

.has-menu.open > .menu-toggle::after {
  transform: translateY(2px) rotate(225deg);
}

.site-header nav a:hover,
.site-header nav .menu-toggle:hover,
.site-header nav .has-menu.open > .menu-toggle {
  color: var(--purple);
  background: none;
  box-shadow: inset 0 -3px 0 var(--green);
}

.site-header nav > ul > li > a[href="/quote-request"] {
  padding: 8px 14px;
  color: #fff;
  background: var(--purple-dark);
}

.site-header nav > ul > li > a[href="/quote-request"]:hover {
  color: var(--purple-dark);
  background: var(--green);
  box-shadow: none;
}

.site-header nav li ul {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s 0.2s;
  position: absolute;
  top: calc(100% + 17px);
  left: -18px;
  min-width: 220px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple-dark);
  box-shadow: 0 14px 28px rgba(23, 19, 28, 0.12);
}

/* Invisible bridge so the menu doesn't close while the mouse crosses the gap */
.site-header nav li ul::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 22px;
}

.site-header nav li ul a {
  padding: 11px 18px;
  white-space: nowrap;
}

.site-header nav li ul a:hover {
  background: #f3f2f5;
  box-shadow: inset 4px 0 0 var(--green);
}

/* Menu rows slide in one after another as the panel opens */
.site-header nav li ul li {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.site-header nav .has-menu.open > ul {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

.site-header nav .has-menu.open > ul li {
  opacity: 1;
  transform: none;
}

.site-header nav li ul li:nth-child(1) {
  transition-delay: 0.06s;
}

.site-header nav li ul li:nth-child(2) {
  transition-delay: 0.11s;
}

.site-header nav li ul li:nth-child(3) {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .site-header nav li ul,
  .site-header nav li ul li,
  .menu-toggle::after {
    transition: none;
  }
}

@media (hover: hover) and (min-width: 1201px) {
  .site-header nav .has-menu:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-header nav .has-menu:hover > ul li {
    opacity: 1;
    transform: none;
  }

  .has-menu:hover > .menu-toggle::after {
    transform: translateY(2px) rotate(225deg);
  }
}

@media (max-width: 1200px) {
  .nav-button {
    display: block;
    padding: 6px 0;
    font-family: var(--display);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--purple-dark);
    cursor: pointer;
  }

  /* The menu drops down over the page instead of pushing it down */
  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--purple-dark);
    box-shadow: 0 18px 30px rgba(23, 19, 28, 0.18);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s 0.2s;
  }

  .nav-toggle:checked ~ nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .site-header nav ul {
    flex-direction: column;
  }

  .site-header nav a,
  .site-header nav .menu-toggle {
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .site-header nav .menu-toggle {
    width: 100%;
    justify-content: space-between;
  }

  /* Sub-menus slide open inside the panel */
  .site-header nav li ul {
    display: block;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: none;
    pointer-events: auto;
    position: static;
    padding: 0 0 0 2px;
    border: 0;
    box-shadow: none;
    transition: max-height 0.3s ease-out, opacity 0.25s ease-out, visibility 0s 0.3s;
  }

  .site-header nav .has-menu.open > ul {
    visibility: visible;
    max-height: 240px;
    opacity: 1;
    transition-delay: 0s;
  }

  /* Main menu rows drop in one after another when the panel opens */
  .site-header nav > ul > li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  }

  .nav-toggle:checked ~ nav > ul > li {
    opacity: 1;
    transform: none;
  }

  .nav-toggle:checked ~ nav > ul > li:nth-child(1) { transition-delay: 0.04s; }
  .nav-toggle:checked ~ nav > ul > li:nth-child(2) { transition-delay: 0.08s; }
  .nav-toggle:checked ~ nav > ul > li:nth-child(3) { transition-delay: 0.12s; }
  .nav-toggle:checked ~ nav > ul > li:nth-child(4) { transition-delay: 0.16s; }
  .nav-toggle:checked ~ nav > ul > li:nth-child(5) { transition-delay: 0.2s; }
  .nav-toggle:checked ~ nav > ul > li:nth-child(6) { transition-delay: 0.24s; }
  .nav-toggle:checked ~ nav > ul > li:nth-child(7) { transition-delay: 0.28s; }
  .nav-toggle:checked ~ nav > ul > li:nth-child(8) { transition-delay: 0.32s; }
  .nav-toggle:checked ~ nav > ul > li:nth-child(9) { transition-delay: 0.36s; }

  /* Menu button turns into a close cross */
  .nav-button {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-button::after {
    content: "";
    width: 18px;
    height: 18px;
    background:
      linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
    transition: transform 0.25s ease-out, background-size 0.2s, background-position 0.25s;
  }

  .nav-toggle:checked + .nav-button::after {
    transform: rotate(45deg);
    background:
      linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat,
      linear-gradient(currentColor, currentColor) center / 0 2px no-repeat;
  }

  @media (prefers-reduced-motion: reduce) {
    .site-header nav,
    .site-header nav > ul > li,
    .nav-button::after {
      transition: none;
    }
  }

  .site-header nav li ul::before {
    display: none;
  }

  .site-header nav li ul a {
    padding: 9px 14px;
  }

  .site-header nav > ul > li > a[href="/quote-request"] {
    display: inline-block;
    margin: 6px 0;
  }
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px 64px;
  align-items: start;
  padding: 56px max(var(--gutter), calc((100% - var(--width)) / 2 + var(--gutter)));
  font-size: 0.95rem;
  color: #cfc6da;
  background: var(--purple-dark);
}

.site-footer img {
  width: 240px;
}

.site-footer p,
.site-footer ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer p:first-of-type {
  grid-column: 1;
  grid-row: 2;
}

.site-footer p:last-of-type {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.site-footer ul {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer p:first-of-type,
  .site-footer p:last-of-type,
  .site-footer ul {
    grid-column: 1;
    grid-row: auto;
  }
}

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

.button,
button {
  display: inline-block;
  padding: 14px 26px;
  border: 0;
  border-radius: 0;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  background: var(--purple-dark);
  cursor: pointer;
}

.button:hover,
button:hover {
  color: var(--purple-dark);
  background: var(--green);
}

/* ---------- Home ---------- */

.home main {
  max-width: none;
  padding: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  min-height: min(78vh, 700px);
  padding: 48px max(var(--gutter), calc((100% - var(--width)) / 2 + var(--gutter)));
  background:
    linear-gradient(transparent 35%, rgba(18, 4, 33, 0.82)),
    var(--hero-photo, url("../images/hero.jpg")) center / cover no-repeat; /* --hero-photo is set on the home page */
}

.hero-logo {
  margin: 0;
  line-height: 0;
}

.hero-logo img {
  width: min(560px, 100%);
}

.hero p {
  margin: 0;
}

.hero .button {
  color: var(--purple-dark);
  background: var(--green);
}

.hero .button:hover {
  background: #fff;
}

.intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px 64px;
  max-width: var(--width);
  margin: 0 auto;
  padding: 88px var(--gutter);
}

.intro h1 {
  grid-row: span 2;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: normal;
}

.intro p {
  margin: 0;
}

.photo-banner {
  overflow: hidden;
  background: var(--purple-dark);
}

.photo-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: photo-scroll 180s linear infinite;
}

.photo-banner:hover .photo-track {
  animation-play-state: paused;
}

.photo-track a {
  display: block;
  line-height: 0;
}

/* Instagram posts: logo top right, play button bottom left on videos */
.photo-track .ig-post {
  position: relative;
}

.photo-track .ig-post::before,
.photo-track .ig-video::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background: center / contain no-repeat;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.photo-track .ig-post::before {
  top: 10px;
  right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.3'/%3E%3Ccircle cx='17.6' cy='6.4' r='1.1' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
}

.photo-track .ig-video::after {
  bottom: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='rgba(0,0,0,0.45)' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M9.5 7.5v9l7.5-4.5z' fill='%23fff'/%3E%3C/svg%3E");
}

.photo-track img {
  display: block;
  width: auto;
  height: clamp(160px, 22vw, 260px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@keyframes photo-scroll {
  to { transform: translateX(calc(-50% - 4px)); }
}

@media (prefers-reduced-motion: reduce) {
  .photo-banner { overflow-x: auto; }
  .photo-track { animation: none; }
}

.broadcast {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 32px 64px;
  max-width: var(--width);
  margin: 0 auto;
  padding: 88px var(--gutter);
  background: #fff;
}

.broadcast > p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.broadcast h2 {
  margin: 0 0 20px;
  color: var(--purple-dark);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
}

.broadcast div p {
  margin: 0;
}

.testimonials {
  padding: 80px 0;
  color: #fff;
  background: var(--purple-dark);
}

/* The heading and review link line up with the page; the quotes run edge to edge. */
.testimonials > h2,
.testimonials > p {
  padding: 0 max(var(--gutter), calc((100% - var(--width)) / 2 + var(--gutter)));
}

.testimonials > h2 {
  margin: 0 0 40px;
  color: var(--green);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}

.quote-strip {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* Two copies of the quotes side by side, moved left by one copy, so the loop has no seam */
.quote-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: quote-scroll 90s linear infinite;
}

.quote-strip:hover .quote-track,
.quote-strip:focus-within .quote-track {
  animation-play-state: paused;
}

@keyframes quote-scroll {
  to { transform: translateX(calc(-50% - 12px)); }
}

.testimonials blockquote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(440px, 80vw);
  margin: 0;
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--green);
}

.testimonials blockquote p {
  max-width: none;
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.testimonials blockquote footer {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.testimonials > p {
  margin: 36px 0 0;
}

.testimonials > p a {
  color: #fff;
}

/* Our Story: white background, heading styled like the story headings, quotes stay purple */
.testimonials-light {
  padding: 0;
  color: var(--ink);
  background: #fff;
}

.testimonials-light > h2,
.testimonials-light > p {
  padding: 0;
}

.testimonials-light > p {
  max-width: none;
  text-align: center;
}

.testimonials-light > h2 {
  margin: 0 0 32px;
  color: var(--purple-dark);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: normal;
}

/* The quotes break out of main and run the full width of the screen */
.testimonials-light .quote-strip {
  margin-inline: calc(50% - 50vw);
}

.testimonials-light blockquote {
  color: #fff;
  background: var(--purple);
}

/* Contact: Google map of the workshop */
.map iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 45vw, 460px);
  border: 0;
  border-top: 3px solid var(--green);
}

@media (prefers-reduced-motion: reduce) {
  .quote-strip { overflow-x: auto; }
  .quote-track { animation: none; }
  .quote-track [aria-hidden] { display: none; }
}

@media (max-width: 760px) {
  .intro,
  .broadcast {
    grid-template-columns: 1fr;
    padding: 56px var(--gutter);
  }
}

/* ---------- Lists + grids ---------- */

.plain,
.tiles,
.cards {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Equipment lists (Audio / Video) */
.columns {
  columns: 240px 4;
  column-gap: 40px;
}

.columns section {
  break-inside: avoid-column;
  margin-bottom: 40px;
}

.columns h3 {
  margin: 0 0 10px;
  padding-top: 12px;
  border-top: 4px solid var(--purple-dark);
  font-size: 1rem;
  letter-spacing: 0.04em;
  break-after: avoid;
}

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

.columns li {
  padding: 3px 0;
  font-size: 0.97rem;
}

/* Text link rows (Services jump links, shop categories) */
.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tiles a {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.tiles a:hover {
  text-decoration: underline;
}

/* Image links (Our Equipment, shop) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 32px 20px;
}

.cards li {
  max-width: none;
}

.cards a {
  display: block;
  color: var(--purple-dark);
  text-decoration: none;
}

.cards img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cards a:hover img {
  opacity: 0.85;
}

.cards span {
  display: block;
  padding-top: 10px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cards a:hover span {
  color: var(--purple);
  text-decoration: underline;
}

/* ---------- Our Story ---------- */

.story {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: minmax(300px, auto);
  gap: 48px;
  margin-bottom: 80px;
}

/* The photo takes the height of the text beside it (height 0 keeps it from sizing the row),
   so the words and the photo end level. */
.story img {
  width: 100%;
  height: 0;
  min-height: 100%;
  object-fit: cover;
}

.story > div > :last-child {
  margin-bottom: 0;
}

.story:nth-of-type(even) {
  grid-template-columns: 5fr 7fr;
}

.story:nth-of-type(even) img {
  order: 2;
}

.story h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
}

/* ---------- Our People ---------- */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 48px 24px;
}

.person img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.person h2 {
  margin: 14px 0 12px;
  font-size: 1.15rem;
}

.person dl {
  margin: 0;
  font-size: 0.92rem;
}

dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

dd {
  margin: 0 0 10px;
}

/* ---------- Services ---------- */

.service {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 24px 48px;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 4px solid var(--purple-dark);
}

.service > h2 {
  margin: 0;
}

.blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}

.blocks h3 {
  margin: 0 0 8px;
}

.lead {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
}

/* Overview: one card per service area */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 36px 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.service-cards li {
  max-width: none;
}

.service-cards a {
  display: block;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 4px solid var(--purple-dark);
}

.service-cards img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-cards h2 {
  margin: 16px 0 6px;
  font-size: 1.3rem;
  color: var(--purple-dark);
}

.service-cards p {
  margin: 0 0 18px;
  color: var(--muted);
}

.service-cards a:hover img {
  opacity: 0.85;
}

.service-cards a:hover {
  border-bottom-color: var(--green);
}

.service-cards a:hover h2 {
  color: var(--purple);
  text-decoration: underline;
}

/* Area pages */
.crumbs {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crumbs a::before {
  content: "\2190  ";
}

.service-nav a[aria-current] {
  color: var(--purple);
  box-shadow: inset 0 -3px 0 var(--green);
}

.service-intro {
  margin-top: 40px;
}

.service-intro h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.service-intro p {
  margin: 0;
}

.specs,
.gear {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 4px solid var(--purple-dark);
}

.specs > h2,
.gear > h2 {
  margin: 0 0 28px;
}

.spec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 36px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-cards li {
  max-width: none;
}

.spec-cards img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.spec-cards h3 {
  margin: 14px 0 8px;
  font-size: 1.05rem;
}

.spec-cards ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-cards ul li {
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: none; /* span the page so the buttons centre on it, not on a 68ch paragraph */
  margin-top: 56px;
}

.blocks p {
  margin: 0;
  font-size: 0.98rem;
}

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

.quote-form {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.returning-toggle {
  margin: 0;
}

.returning-toggle button {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--purple-dark);
}

.returning-toggle button[aria-pressed="true"] {
  color: var(--purple-dark);
  background: var(--green);
  box-shadow: none;
}

.quote-form label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #8f8899;
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  background: #fff;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 3px solid var(--green);
  outline-offset: 0;
  border-color: var(--purple-dark);
}

.quote-form fieldset {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-form legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quote-form fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.quote-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple-dark);
}

.quote-form button {
  justify-self: start;
}

/* ---------- FAQ, terms, misc ---------- */

/* Each question is a <details> that drops its answer down when clicked */
.faq details {
  max-width: 780px;
  border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-dark);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--purple);
}

.faq details[open] summary::after {
  content: "\2212"; /* minus sign */
}

.faq summary:hover {
  color: var(--purple);
}

.faq details > :not(summary) {
  margin-top: 0;
}

.faq details > :last-child:not(summary) {
  padding-bottom: 18px;
  margin-bottom: 0;
}

.terms {
  max-width: 780px;
}

.terms li {
  margin-bottom: 8px;
}

.terms > ol > li {
  margin-top: 28px;
  font-weight: 700;
}

.terms > ol > li > ol {
  margin-top: 8px;
  font-weight: 400;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product h1 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.price {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
}

.videos li {
  max-width: 68ch;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.videos h4 {
  margin: 0 0 4px;
  font-family: inherit;
  font-size: 1rem;
}

.videos p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .story,
  .story:nth-of-type(even),
  .product,
  .service,
  .blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story {
    grid-template-rows: auto;
  }

  .story img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .story:nth-of-type(even) img {
    order: 0;
  }
}

/* ---------- Shop ---------- */

.shop-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shop-bar .tiles {
  border: 0;
}

.shop-bar a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--green);
}

.shop-bar input {
  width: min(260px, 100%);
  padding: 9px 12px;
  border: 1px solid #8f8899;
  border-radius: 0;
  font: inherit;
}

#shop-status {
  font-size: 0.9rem;
  color: var(--muted);
}

.shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 48px 24px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.shop li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: none;
}

.shop img,
.shop .no-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f3f2f5;
}

.shop .no-image {
  display: grid;
  place-content: center;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a39dad;
}

.shop h2 {
  margin: 6px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.shop p {
  margin: 0;
  font-size: 0.93rem;
}

.shop .price {
  font-size: 1.15rem;
}

.shop details {
  font-size: 0.93rem;
}

.shop summary {
  color: var(--purple);
  cursor: pointer;
}

.shop .add,
.product .add {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.shop .add input,
.product .add input {
  width: 68px;
  padding: 0 8px;
  border: 1px solid #8f8899;
  border-radius: 0;
  font: inherit;
}

.shop .add button,
.product .add button {
  flex: 1;
  padding: 12px 10px;
}

.shop h2 a {
  color: inherit;
  text-decoration: none;
}

.shop h2 a:hover {
  color: var(--purple);
  text-decoration: underline;
}

/* Hire item page */
.product img,
.product .no-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.product .no-image {
  display: grid;
  place-content: center;
  background: #f3f2f5;
  color: #a39dad;
}

.product .add {
  max-width: 360px;
  margin: 24px 0 8px;
}

.product .price-note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Quote request: items picked in the shop */

#quote-items {
  max-width: 620px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 4px solid var(--purple-dark);
}

#quote-items h2 {
  margin-top: 0;
  font-size: 1rem;
}

#quote-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

#quote-items li span {
  flex: 1;
}

#quote-items input {
  width: 68px;
  padding: 6px 8px;
  border: 1px solid #8f8899;
  border-radius: 0;
  font: inherit;
}

.quote-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #8f8899;
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.quote-form h2 {
  margin: 14px 0 0;
}

.quote-form .hint {
  margin: -12px 0 0;
}

.quote-form fieldset.choice {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.quote-form input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple-dark);
}

.signature-label {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.signature-label span {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.signature-pad {
  display: block;
  width: 100%;
  height: 180px;
  border: 1px solid #8f8899;
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}

.quote-form .signature-clear {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--purple-dark);
  padding: 8px 16px;
}

.quote-form .postal {
  display: grid;
  gap: 22px;
}

.quote-form label.check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.quote-form input[type="password"],
.quote-form input[type="number"],
.link-made input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #8f8899;
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  background: #fff;
}

.admin-tools li {
  max-width: 620px;
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 4px solid var(--green);
}

.admin-tools h2 {
  margin-top: 0;
}

.link-new .days {
  max-width: 300px;
}

.link-made,
.link-new {
  margin-bottom: 30px;
}

.record-table {
  width: 100%;
  max-width: 780px;
  border-collapse: collapse;
}

.record-table th,
.record-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.record-table th {
  width: 35%;
  font-weight: 700;
}

.record-signature {
  display: block;
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--line);
  background: #fff;
}

@media print {
  .site-header,
  .site-footer,
  .no-print {
    display: none !important;
  }
}

.link-list table {
  width: 100%;
  max-width: 780px;
  border-collapse: collapse;
}

.link-list th,
.link-list td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.quote-form .hp {
  position: absolute;
  left: -9999px;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid #b3261e;
  background: #fdecea;
}

.form-success {
  max-width: 620px;
  padding: 20px;
  border-left: 4px solid var(--green);
  font-size: 1.1rem;
}

button:disabled {
  opacity: 0.6;
  cursor: progress;
}

[hidden] {
  display: none !important;
}

/* Item count inside the Quote Request nav link */
.site-header nav a span {
  display: inline;
  padding: 0;
  color: inherit;
}

.shop img,
.shop .no-image {
  border: 1px solid var(--line);
}

.shop img {
  background: #fff;
}

/* ---------- Animation ---------- */

/* Scroll reveal: js/animate.js adds .reveal, then .in once the element is on screen */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Home hero: logo and button rise in */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo,
  .hero p {
    animation: rise 0.8s ease-out both;
  }

  .hero-logo {
    animation-delay: 0.25s;
  }

  .hero p {
    animation-delay: 0.5s;
  }

  .cards img {
    transition: opacity 0.2s, transform 0.4s ease-out;
  }

  .cards a {
    display: block;
    overflow: hidden;
  }

  .cards a:hover img {
    transform: scale(1.03);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

