/* Island Plates - modern theme (redesign preview, 12 Nov 2026). Scoped to body.ipm.
   Palette: Atlantic #0c2a3d, Channel sky #c4e8f5, Tide #1b93c0, Plate yellow #f6b800, Jersey red #c8102e, white.
   Type: Archivo (wide + heavy for display, normal width for text), Charles Wright for plates.
   One memorable element: the hero plate pair. Everything else stays quiet. */

:root {
  --atl: #0c2a3d;
  --atl-2: #163d57;
  --sky: #c4e8f5;
  --sky-2: #e9f6fb;
  --tide: #1b93c0;
  --tide-ink: #0d6f93;           /* tide dark enough for text on white (AA) */
  --yel: #f6b800;
  --yel-2: #ffcb2e;
  --red: #c8102e;
  --ink: #0c2a3d;
  --ink-2: #44606f;
  --line: #d6e6ee;
  --plate-white: #f7f7f4;
  --sand: #f1e3c3;               /* Jersey beach sand - USP band under the hero (Matt, 12 Nov 2026) */
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --wrap: 1180px;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
}
body.ipm {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.6 var(--display);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
body.ipm *, body.ipm *::before, body.ipm *::after { box-sizing: border-box; }
body.ipm a { color: var(--tide-ink); }
body.ipm :focus-visible { outline: 3px solid var(--tide); outline-offset: 2px; border-radius: 4px; }
.ipm .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ipm-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }

.ipm-h2 {
  margin: 0 0 28px;
  font: 800 clamp(1.7rem, 3.2vw, 2.5rem)/1.08 var(--display);
  font-stretch: 118%;
  letter-spacing: -0.02em;
  color: var(--atl);
}

/* ── Buttons ─────────────────────────────────────────── */
.ipm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  font: 800 1.05rem/1 var(--display); font-stretch: 112%; letter-spacing: -0.01em;
  text-decoration: none;
}
.ipm-btn--plate { background: var(--yel); color: var(--atl); box-shadow: 0 2px 0 #c99400; }
.ipm-btn--plate:hover { background: var(--yel-2); }
.ipm-btn--plate:active { transform: translateY(1px); box-shadow: none; }

/* ── Header ─────────────────────────────────────────── */
.ipm-logo picture { display: block; }
.ipm-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.ipm-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.ipm-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--atl); flex: 0 0 auto; }
.ipm-logo img { display: block; width: 216px; height: auto; }
.ipm-nav { margin-left: auto; }
.ipm-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ipm-nav a {
  display: block; padding: 10px 12px; border-radius: 999px; text-decoration: none;
  font: 600 0.98rem/1 var(--display); color: var(--atl);
}
.ipm-nav a:hover { background: var(--sky-2); }
.ipm-nav a[aria-current="page"] { background: var(--sky); }
.ipm-header__actions { display: flex; align-items: center; gap: 8px; }
.ipm-wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: #e5f7ec; color: #0b6b34; text-decoration: none; font: 700 0.95rem/1 var(--display);
}
.ipm-wa svg { width: 20px; height: 20px; fill: #18a957; }
.ipm-wa:hover { background: #d5f1e0; }
.ipm-basket { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--atl); }
.ipm-basket:hover { background: var(--sky-2); }
.ipm-basket svg { width: 26px; height: 26px; fill: currentColor; }
.ipm-basket__n {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--red); color: #fff; font: 700 11px/19px var(--display); text-align: center; visibility: hidden;
}
.ipm-basket__n.is-visible { visibility: visible; }
.ipm-menu { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.ipm-menu span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--atl); border-radius: 2px; }
.ipm-menu span:nth-child(1) { top: 18px; } .ipm-menu span:nth-child(2) { top: 26px; }

.ipm-dispatch { background: var(--atl); color: #fff; }
.ipm-dispatch__in { display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 38px; font: 500 0.92rem/1.3 var(--display); }
.ipm-dispatch strong { font-variant-numeric: tabular-nums; color: var(--yel); font-weight: 800; }
.ipm-dispatch__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--tide); }

/* checkout header (header-checkout.php) */
.ipm-header--checkout .ipm-header__actions { margin-left: auto; }
.ipm-co-back { font: 600 0.98rem/1 var(--display); color: var(--atl) !important; text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.ipm-co-back:hover { background: var(--sky-2); }
@media (max-width: 640px) { .ipm-co-back { display: none; } .ipm-header--checkout .ipm-wa span { display: none; } .ipm-header--checkout .ipm-wa { width: 42px; padding: 0; justify-content: center; } .ipm-header--checkout .ipm-logo img { width: 158px; } }

/* ── Hero ───────────────────────────────────────────── */
.ipm-hero { position: relative; background: linear-gradient(180deg, var(--sky) 0%, #dff2fa 100%); overflow: hidden; }
.ipm-hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.ipm-hero h1 {
  margin: 0 0 12px; font: 900 clamp(1.8rem, 3vw, 2.45rem)/1.05 var(--display); font-stretch: 112%;
  letter-spacing: -0.035em; color: var(--atl); text-wrap: balance;
}
.ipm-hero__tag { margin: 0 0 18px; font: 500 clamp(1.05rem, 1.4vw, 1.2rem)/1.4 var(--display); color: var(--atl-2); }
.ipm-hero__rating { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 0.98rem/1.3 var(--display); color: var(--atl-2); }
.ipm-stars { color: var(--yel); letter-spacing: 2px; font-size: 1.1rem; text-shadow: 0 1px 0 rgba(12,42,61,.25); }

/* hero photo: Matt's plate photo, background removed (12 Nov 2026) */
.ipm-hero__photo { margin: 0; position: relative; max-width: 520px; justify-self: end; width: 100%; }
.ipm-hero__photo img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 26px 30px rgba(12,42,61,.32)) drop-shadow(0 4px 6px rgba(12,42,61,.18));
}
/* compact reg box under the headline - looks like a front plate, carries the reg into the builder */
.ipm-hero__form { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 4px 0 12px; }
.ipm-regbox {
  flex: 1 1 240px; min-width: 0; max-width: 320px; height: 58px; display: flex; align-items: center;
  background: var(--plate-white); border-radius: 10px; cursor: text;
  box-shadow: 0 0 0 2px var(--atl), 0 10px 22px -14px rgba(12,42,61,.6);
}
.ipm-regbox:focus-within { box-shadow: 0 0 0 3px var(--tide), 0 10px 22px -14px rgba(12,42,61,.6); }
.ipm-regbox__badge { flex: 0 0 auto; height: 82%; margin: 0 2px 0 6px; display: flex; align-items: center; }
.ipm-regbox__badge img { height: 100%; width: auto; border-radius: 3px; }
.ipm-regbox input {
  flex: 1 1 0; width: 0; min-width: 0; height: 100%; padding: 0 10px 0 0; border: 0; background: transparent;
  font: 400 2.2rem/1 "CharlesWright", "Charles Wright", Arial, sans-serif; letter-spacing: 0.04em;
  color: #111; text-align: center; text-transform: uppercase;
}
.ipm-regbox input::placeholder { color: var(--tide-ink); opacity: 1; font-size: 1.9rem; letter-spacing: 0.02em; }
.ipm-regbox input:focus { outline: none; }
.ipm-hero__form .ipm-btn { min-height: 58px; }
.ipm-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0; }
.ipm-hero__note { margin: 0; font: 500 0.95rem/1.35 var(--display); color: var(--atl-2); }
.ipm-hero__tide { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 34px; fill: var(--sand); }

/* ── Facts ──────────────────────────────────────────── */
.ipm-facts { background: var(--sand); }
.ipm-facts__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0 auto; padding-top: 8px; padding-bottom: 36px; }
.ipm-facts li { display: flex; align-items: center; gap: 14px; font: 500 1rem/1.35 var(--display); color: var(--ink-2); }
.ipm-facts strong { color: var(--atl); font-weight: 750; }
.ipm-facts svg { flex: 0 0 auto; width: 30px; height: 30px; color: var(--tide); }

/* ── Builder band ───────────────────────────────────── */
.ipm-design { background: var(--sky-2); padding: 56px 0 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
html body.ipm .ipm-design .mmpb-page { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
html body.ipm .ipm-design #customise_your_plates_slider,
html body.ipm .ipm-design .mmpb-container { background: #fff; border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(12,42,61,.35); padding: 28px 28px 32px !important; }
@media (max-width: 640px) { html body.ipm .ipm-design .mmpb-container { padding: 16px 12px 20px !important; border-radius: var(--r-md); } }
html body.ipm .ipm-design #builder .h1-cpd-title {
  font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--display) !important; font-stretch: 118% !important;
  letter-spacing: -0.02em; text-transform: none !important; color: var(--atl) !important;
}
html body.ipm .ipm-design .mainusps-wrap,
html body.ipm .ipm-design #builder .mainusps-wrap.mainusps-mob { display: none !important; }   /* the facts strip above says the same */
html body.ipm .ipm-design .n1-style-btn.active,
html body.ipm .ipm-design .n1-material-btn.active { background: var(--atl) !important; border-color: var(--atl) !important; color: #fff !important; }
html body.ipm .ipm-design #maincontent #builder-menu #builder-menu-internal #builder-reg .entries,
html body.ipm .ipm-design .builder-input-box.registration,
html body.ipm .ipm-design #reg_num { border-color: var(--tide) !important; }
/* builder controls in the theme colours (theme.css loads after this file, so specificity carries it) */
html body.ipm .ipm-design #builder .registration.builder-input-box { border-color: var(--atl) !important; border-width: 4px !important; border-radius: 14px !important; }
html body.ipm .ipm-design #builder .registration.builder-input-box:focus-within { border-color: var(--tide) !important; box-shadow: 0 0 0 4px rgba(27,147,192,.25) !important; }
html body.ipm .ipm-design #builder #reg_num::placeholder { color: var(--tide-ink) !important; }
html body.ipm .ipm-design #builder .add_cart_btn.crt-btn,
html body.ipm .ipm-design #builder .add_cart_btn.crt-btn.n1-desktop-full-btn,
html body.ipm .ipm-design #builder .your-price-mobile-wrap .add_cart_btn.crt-btn {
  background: var(--yel) !important; color: var(--atl) !important; border-radius: 999px !important;
  font-family: var(--display) !important; font-weight: 850 !important; font-stretch: 112%; box-shadow: 0 2px 0 #c99400;
}
html body.ipm .ipm-design #builder .add_cart_btn.crt-btn:hover { background: var(--yel-2) !important; }
html body.ipm .ipm-design #builder .n1-style-btn.active,
html body.ipm .ipm-design #builder .n1-material-btn.active { background: var(--atl) !important; border-color: var(--atl) !important; color: #fff !important; }

/* ── Styles ─────────────────────────────────────────── */
.ipm-styles { padding: 88px 0 24px; }
.ipm-styles__row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; align-items: end; }
.ipm-style { display: grid; gap: 6px; text-decoration: none; color: var(--atl); }
.ipm-style img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin-bottom: 10px; }
.ipm-style:first-child img { aspect-ratio: 5 / 4; }
.ipm-style__name { font: 800 1.35rem/1.1 var(--display); font-stretch: 115%; letter-spacing: -0.01em; }
.ipm-style__note { font-size: 0.98rem; color: var(--ink-2); }
.ipm-style:hover .ipm-style__name { text-decoration: underline; text-decoration-color: var(--yel); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ── How it works ───────────────────────────────────── */
.ipm-steps { padding: 72px 0; }
.ipm-steps__in { display: grid; grid-template-columns: 0.8fr 2fr; gap: 40px; align-items: start; }
.ipm-steps__list { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ipm-steps__list li { counter-increment: step; display: grid; gap: 8px; padding-top: 22px; border-top: 3px solid var(--atl); }
.ipm-steps__list li::before {
  content: counter(step); font: 900 2.6rem/1 var(--display); font-stretch: 125%; color: var(--tide);
}
.ipm-steps__list strong { font: 750 1.15rem/1.25 var(--display); color: var(--atl); }
.ipm-steps__list span { color: var(--ink-2); font-size: 0.98rem; }

/* ── Jersey plate rules ─────────────────────────────── */
.ipm-rules { background: var(--atl); color: #dbe9f1; padding: 80px 0; }
.ipm-rules .ipm-h2 { color: #fff; }
.ipm-rules__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.ipm-rules__copy p { margin: 0 0 14px; max-width: 52ch; }
.ipm-rules__src { font-size: 0.88rem; color: #9fbccc; }
body.ipm .ipm-rules__src a { color: var(--sky); }
/* True-to-scale example plates: one mm scale for all three. Row 1 = the 520mm plate across the full width; row 2 =
   279mm + 12mm gap + 229mm = 520mm, so both rows share the same scale exactly (grid gap 0, gap is its own column). */
.ipm-rules__plates { display: grid; grid-template-columns: 279fr 12fr 229fr; row-gap: 22px; align-items: end; }
.ipm-rule { margin: 0; display: grid; gap: 10px; }
.ipm-rule--line { grid-column: 1 / -1; }
.ipm-rule--two { grid-column: 1; }
.ipm-rule--bike { grid-column: 3; }
.ipm-rule figcaption { font-size: 0.85rem; color: #9fbccc; }
.ipm-jplate { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 14px rgba(0,0,0,.35)); }
.ipm-jplate text { fill: #111; }
.ipm-jplate__cw { font-family: "CharlesWright", "Charles Wright", Arial, sans-serif; }
.ipm-jplate__mc { font-family: "CharlesWrightMC", "CharlesWright", Arial, sans-serif; }

/* ── Reviews ────────────────────────────────────────── */
.ipm-reviews { padding: 80px 0 96px; }
.ipm-reviews__list {
  list-style: none; margin: 0; padding: 4px 4px 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
}
.ipm-reviews__list li { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-md); background: var(--sky-2); }
.ipm-reviews blockquote { margin: 0; font: 500 1.02rem/1.55 var(--display); color: var(--atl); flex: 1; }
.ipm-reviews cite { font-style: normal; font-weight: 700; color: var(--ink-2); }

/* ── Footer ─────────────────────────────────────────── */
.ipm-footer { background: var(--atl); color: #c9dce7; border-top: 4px solid var(--yel); font: 400 16px/1.6 var(--display); }
.ipm-footer *, .ipm-header--checkout * { box-sizing: border-box; }
.ipm-header--checkout { font-family: var(--display); }
.ipm-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.ipm-footer .ipm-logo img { width: 236px; }
.ipm-footer__brand p { max-width: 38ch; margin: 18px 0 0; font-size: 0.95rem; }
.ipm-footer__col h2 { margin: 0 0 14px; font: 800 1rem/1.2 var(--display); font-stretch: 112%; color: #fff; }
.ipm-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ipm-footer__col p { margin: 0 0 8px; font-size: 0.95rem; }
footer.ipm-footer a { color: #e6f1f7; text-decoration: none; }
footer.ipm-footer a:hover { text-decoration: underline; }
footer.ipm-footer .ipm-footer__wa { font-weight: 700; color: var(--yel); }
.ipm-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.88rem; }
.ipm-footer__base p { margin: 0; }
.ipm-footer__base img { height: 26px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }

/* ── Motorcycle hero: a Jersey two-line rear plate (gov.je Format C) ── */
.ipm-hero__bike { display: grid; place-items: center; }
.ipm-bikeplate {   /* SVG drawn in mm - see modern-builder-page.php */
  display: block; width: min(100%, 380px); height: auto; transform: rotate(-4deg);
  filter: drop-shadow(0 22px 22px rgba(12,42,61,.35));
}
.ipm-bikeplate text { fill: #111; }

/* ── Legacy page text band ──────────────────────────── */
.ipm-about { padding: 8px 0 0; }
.ipm-about p { max-width: 68ch; margin: 0 auto; text-align: center; font: 500 1.08rem/1.65 var(--display); color: var(--ink-2); }

/* ── Info pages ─────────────────────────────────────── */
.ipm-pagehead { position: relative; background: linear-gradient(180deg, var(--sky) 0%, #dff2fa 100%); padding: 34px 0 62px; }
.ipm-pagehead h1 { margin: 0; max-width: 34ch; font: 900 clamp(1.7rem, 3vw, 2.4rem)/1.08 var(--display); font-stretch: 112%; letter-spacing: -0.03em; color: var(--atl); text-wrap: balance; }
.ipm-crumbs { margin: 0 0 12px; font: 500 0.92rem/1.3 var(--display); color: var(--atl-2); }
body.ipm .ipm-crumbs a { color: var(--atl-2); }
.ipm-crumbs span[aria-hidden] { margin: 0 6px; opacity: .5; }
.ipm-prose { max-width: 72ch; padding: 28px 0 56px; font-size: 1.02rem; line-height: 1.7; color: #22394a; }
.ipm-prose p { margin: 0 0 14px; }
.ipm-prose p > strong:only-child { display: block; margin-top: 26px; font: 750 1.12rem/1.3 var(--display); color: var(--atl); }
.ipm-prose ol, .ipm-prose ul { margin: 0 0 16px 22px; padding: 0; }
.ipm-prose li { margin-bottom: 6px; }
.ipm-prose table { border-collapse: collapse; margin: 0 0 16px; }
.ipm-prose td, .ipm-prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.ipm-cta { background: var(--sky-2); border-top: 1px solid var(--line); padding: 44px 0; }
.ipm-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ipm-cta .ipm-h2 { margin: 0; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .ipm-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .ipm-nav:has(ul.is-open) { display: block; }
  .ipm-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .ipm-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .ipm-menu { display: block; }
  .ipm-header__actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .ipm-hero__in { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; padding-bottom: 52px; }
  .ipm-hero__photo { justify-self: center; }
  .ipm-hero__photo { max-width: 560px; margin: 0 auto; }
  .ipm-facts__list { grid-template-columns: 1fr; gap: 14px; }
  .ipm-styles__row { grid-template-columns: 1fr; gap: 36px; }
  .ipm-style:first-child img { aspect-ratio: 4 / 3; }
  .ipm-steps__in, .ipm-rules__in { grid-template-columns: 1fr; gap: 28px; }
  .ipm-steps__list { grid-template-columns: 1fr; }
  .ipm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ipm-cta__in .ipm-btn { width: 100%; }
  .ipm-bikeplate { width: min(78%, 300px); }
  .ipm-wrap, html body.ipm .ipm-design .mmpb-page { padding-inline: 16px; }
  .ipm-header__in { min-height: 64px; gap: 12px; }
  .ipm-logo img { width: 158px; }
  .ipm-wa span { display: none; }
  .ipm-wa { width: 42px; padding: 0; justify-content: center; }
  .ipm-dispatch__in { font-size: 0.82rem; gap: 10px; }
  .ipm-dispatch__in > span:last-child, .ipm-dispatch__sep { display: none; }
  .ipm-hero__form .ipm-btn { width: 100%; }
  .ipm-regbox { max-width: none; }
  .ipm-rule--line { grid-column: 1 / -1; }
  .ipm-footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { body.ipm * { transition: none !important; scroll-behavior: auto !important; } }

/* "to confirm" placeholders for business details (app/brand.php brandFact) - dev only */
.ipm-tbc { background: #fff2b3; color: #6b4e00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.ipm-pagehead__meta { margin: 10px 0 0; font-size: 0.9rem; color: var(--atl-2); }
.ipm-prose h2 { margin: 34px 0 10px; font: 800 1.35rem/1.25 var(--display); font-stretch: 108%; color: var(--atl); letter-spacing: -0.01em; }
.ipm-prose h3 { margin: 22px 0 8px; font: 750 1.08rem/1.3 var(--display); color: var(--atl); }
.ipm-prose h2:first-child { margin-top: 0; }
.ipm-prose .ipm-note { background: var(--sky-2); border-left: 4px solid var(--tide); padding: 12px 16px; border-radius: 0 10px 10px 0; }

/* Road Legal = Jersey regs only: message under the hero reg box and the builder reg box (12 Nov 2026) */
.ipm-reg-msg { margin: 0 0 12px; max-width: 34rem; padding: 10px 14px; border-radius: 12px; background: #fff4f2; border: 1px solid #f3c2ba; color: #9b1c0c; font-size: .92rem; line-height: 1.45; }
.ipm-reg-msg__btn, #builder .ip-switch-show { font: inherit; font-weight: 700; color: var(--atl, #0c2a3d); background: var(--yel, #f6b800); border: 0; border-radius: 999px; padding: 4px 12px; margin-top: 4px; cursor: pointer; }
#builder .ip-switch-show { font-size: 12px; padding: 3px 10px; }
.ipm-reg-msg__btn:focus-visible, #builder .ip-switch-show:focus-visible { outline: 3px solid var(--atl, #0c2a3d); outline-offset: 2px; }

/* Business name / address drawn as images (brandHiddenText) - sized to the surrounding text (12 Nov 2026) */
img.ipm-txtimg { display: inline; height: 1.25em; width: auto; max-width: 100%; object-fit: contain; object-position: left center; vertical-align: -0.3em; margin: 0; }
.ipm-footer__base img.ipm-txtimg { height: 1.25em; padding: 0; background: none; border-radius: 0; }

/* ── Hero sea video (12 Nov 2026): video under a pale sky wash so the headline and reg box stay easy to read ── */
.ipm-hero__bg { position: absolute; inset: 0; z-index: 0; background: center / cover no-repeat; }
.ipm-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.ipm-hero__video.is-on { opacity: 1; }
.ipm-hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(223,242,250,.93) 0%, rgba(223,242,250,.86) 42%, rgba(223,242,250,.45) 72%, rgba(223,242,250,.25) 100%); }
.ipm-hero__in { position: relative; z-index: 1; }
.ipm-hero__tide { z-index: 2; }
@media (max-width: 900px) { .ipm-hero__bg::after { background: rgba(223,242,250,.84); } }
