/* ════════════════════════════════════════════════════════════════════
   CURRENT OFFERS — the offer section under the hero. Built as a
   carousel; with a single offer showing, the controls are out of the
   markup and js/promo.js idles. Self-contained and time-limited: delete
   this file, its <link>, js/promo.js and the <section class="promo">
   block to pull it.

   Structured as a normal page section on paper, with the carousel as an
   inset dark module — the same brass-plate treatment as .shop-card, so
   it reads as its own thing rather than as more of the hero. The module
   stays dark because the hex-nut yellow only clears 1.35:1 on paper but
   12.5:1 on the near-black, and chrome tools photograph as grey on cream.
   Manufacturer colour stays on the manufacturer's own lockup; every
   Ormond voice around it is yellow, cream and brass.
   ════════════════════════════════════════════════════════════════════ */

/* Slightly tighter than a content section: this is a promo module, and the
   panel inside already carries its own generous padding. */
.promo {
  background: var(--paper);
  padding-block: clamp(54px, 7.5vh, 92px);
}

/* Heading left, carousel controls right — the arrangement a product
   carousel uses, and it puts the controls where they read as belonging
   to this module rather than to the page. */
.promo__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.promo__head .section-head { max-width: 640px; }

/* ── The module ────────────────────────────────────────────────────── */

.promo__panel {
  position: relative;
  margin-top: clamp(28px, 4vh, 44px);
  background: var(--surface-2);
  color: #FFF9E8;
  border: 1px solid var(--hairline-dark);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(35, 31, 32, 0.45);
}
/* The family hazard rule, capping the module like .shop-card. */
.promo__panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  z-index: 2;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px);
}

/* Native scroll-snap rather than transforms: swipe works on touch for
   free, and the slides remain reachable if the script never runs. */
.promo__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.promo__viewport::-webkit-scrollbar { display: none; }

.promo__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  /* Every slide is stretched to the tallest one, so the shorter slide's
     slack has to be split above and below rather than dumped underneath. */
  display: flex;
  align-items: center;
}

.promo__inner {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(30px, 3.4vw, 50px);
}

/* ── Shared left-hand offer copy ───────────────────────────────────── */

.promo__brand {
  display: block;
  height: auto;
  margin: 18px 0 0;
  width: clamp(180px, 15vw, 232px);
}
/* The Williams mark runs wide per unit of x-height, so it gets less width. */
.promo__brand--williams { width: clamp(150px, 12.5vw, 190px); }

.promo__title {
  margin: 20px 0 0;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: clamp(1.85rem, 1.1rem + 2.7vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.promo__title em { font-style: normal; color: var(--yellow); }

.promo__note {
  margin: 15px 0 0;
  max-width: 44ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 249, 232, 0.62);
}

.promo__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ── Williams at height ───────────────────────────────────── */

.wh-shot { position: relative; margin: 0; }

.wh-shot__photo {
  display: block;
  width: 100%;
  /* Without this the height attribute on the img wins and the box comes out
     at the file's pixel height instead of scaling with the column. */
  height: auto;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 3px;
  /* The press photograph runs cool and the panel runs warm; a touch of
     restraint stops it reading as a foreign rectangle. */
  filter: saturate(0.94) contrast(1.03);
}

/* One tethered tool laid over the photograph, so the offer is a product
   and not only a mood. */
.wh-shot__tool {
  position: absolute;
  left: 1%;
  bottom: -7%;
  width: 45%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.75));
}

/* ── Controls (on paper, beside the heading) ───────────────────────── */

.promo__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--card);
  color: var(--brass);
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.promo__btn:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}
.promo__btn svg { width: 15px; height: 15px; }
.promo__btn .icon-play { display: none; }
.promo__btn[data-paused="true"] .icon-play { display: block; }
.promo__btn[data-paused="true"] .icon-pause { display: none; }

.promo__dots { display: flex; align-items: center; gap: 7px; margin-inline: 4px; }

.promo__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.promo__dot[aria-selected="true"] {
  background: var(--brass);
  border-color: var(--brass);
  transform: scale(1.15);
}

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .promo__inner { grid-template-columns: 1fr; gap: 30px; }
  .promo__note { max-width: none; }
  .wh-shot__tool { width: 38%; bottom: -5%; }
}

@media (max-width: 560px) {
  .promo__head { gap: 18px; }
}

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