/* ==========================================================================
   Colourite Chemicals Ltd — main stylesheet
   --------------------------------------------------------------------------
   Design direction: a Lusaka paint works. Deep Zambezi green, Mukwa copper
   and the five range colours, set in Bricolage Grotesque (display), Figtree
   (text) and IBM Plex Mono (labels). Signature element: the drawdown card —
   the product ranges drawn as paint strips across a test card.

   Contents
    1. Fonts            8. Header & navigation   15. Gallery & lightbox
    2. Design tokens    9. Hero & drawdown card  16. Forms
    3. Base            10. Page header           17. Content flags
    4. Typography      11. Cards                 18. Empty states
    5. Layout          12. Feature bands         19. Footer
    6. Utilities       13. Contact & map         20. Back to top
    7. Buttons         14. Prose & products      21. Motion & print
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens -------------------------------------------------------- */

:root {
  /* Brand */
  --green-950: #11123a;
  --green-900: #1a1b52;
  --green-800: #23246b;
  --green-700: #2f307f;
  --green-100: #e1e2f3;
  --green-50:  #f0f0fa;
  --copper-700: #a8102f;
  --copper-600: #c8173a;   /* primary CTA — 5.3:1 with white */
  --copper-400: #ef8a63;
  --copper-100: #fde3e7;

  /* Range colours (drawdown strips) */
  --coat-green:  #b83a66;
  --coat-copper: #b84d2a;
  --coat-ochre:  #c69327;
  --coat-river:  #2a7fa0;
  --coat-slate:  #4a4b6a;

  /* Neutrals */
  --ink:       #15163a;
  --ink-soft:  #40425f;    /* 9:1 on white */
  --ink-mute:  #5c5e78;    /* 5.6:1 on white */
  --paper:     #f6f6fa;
  --surface:   #ffffff;
  --line:      #dddde8;
  --line-strong: #c4c5d6;

  /* Feedback */
  --error:      #b42318;
  --error-bg:   #fdecea;
  --success:    #146c43;
  --success-bg: #e6f4ec;
  --flag-bg:    #fff3bf;
  --flag-line:  #b88a00;

  /* Semantic */
  --bg: var(--paper);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --link: var(--green-800);
  --focus: var(--green-800);

  /* Typography */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-xs: 0.8125rem;   /* 13px */
  --fs-sm: 0.9375rem;   /* 15px */
  --fs-base: 1.0625rem; /* 17px */
  --fs-lg: 1.1875rem;   /* 19px */
  --fs-h4: 1.25rem;
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 2vw, 2.9rem);
  --fs-h1: clamp(2.35rem, 1.6rem + 3.4vw, 4.4rem);
  --fs-page-title: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);

  /* Spacing (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --container: 76rem;
  --container-narrow: 46rem;

  /* Shape & depth */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(21 22 58 / 0.06), 0 2px 10px rgb(21 22 58 / 0.05);
  --shadow-2: 0 18px 40px -18px rgb(17 18 58 / 0.35), 0 2px 8px rgb(21 22 58 / 0.06);
  --shadow-3: 0 30px 60px -24px rgb(17 18 58 / 0.55);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 160ms;
  --dur-2: 320ms;

  --header-h: 86px;

  /* Logo paints */
  --paint-magenta: #c6466f;
  --paint-coral:   #ec7a52;
  --paint-cyan:    #2f9fba;
  --paint-red:     #d21b41;
}

/* 3. Base ----------------------------------------------------------------- */

[hidden] { display: none !important; }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

main { flex: 1 0 auto; display: block; }

img,
svg,
video,
picture {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-thickness: 2px; }

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

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-7) 0;
}

/* 4. Typography ----------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 var(--sp-4);
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 750; letter-spacing: -0.032em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -0.01em; }

.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.015em; }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }

p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--copper-600);
}

/* A dab of the three brand paints. */
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 0.55rem;
  border-radius: 999px 40% 999px 60%;
  background: linear-gradient(90deg, var(--paint-magenta), var(--paint-coral), var(--paint-cyan));
  flex: none;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

/* 5. Layout --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.65); }
.section--white { background: var(--surface); }
.section--tint { background: var(--green-50); }
.section + .section--flush { padding-top: 0; }

.section-head {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-head p { margin: 0; }

@media (min-width: 64em) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: var(--sp-7);
  }
}

.grid {
  display: grid;
  gap: clamp(1rem, 0.7rem + 1.2vw, 1.75rem);
}

@media (min-width: 40em) { .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.split {
  display: grid;
  gap: var(--sp-7);
}

@media (min-width: 64em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: start; }
  .split--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
}

/* 6. Utilities ------------------------------------------------------------ */

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

.skip-link {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  z-index: 200;
  padding: var(--sp-3) var(--sp-4);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform var(--dur-1) var(--ease-out);
}

.skip-link:focus { transform: none; outline-color: var(--copper-400); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.stack > * + * { margin-top: var(--sp-4); }

.section-more { margin: var(--sp-6) 0 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--green-800);
}

.link-arrow .icon { transition: transform var(--dur-1) var(--ease-out); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* 7. Buttons -------------------------------------------------------------- */

.btn {
  --btn-bg: var(--copper-600);
  --btn-fg: #fff;
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 650 1rem/1.2 var(--font-body);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1), transform var(--dur-1), box-shadow var(--dur-1);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { --btn-bg: var(--copper-700); text-decoration: none; box-shadow: var(--shadow-1); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }

.btn--green { --btn-bg: var(--green-800); }
.btn--green:hover { --btn-bg: var(--green-900); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--green-800); --btn-border: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--surface); --btn-border: var(--green-800); }

.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgb(255 255 255 / 0.45); }
.btn--light:hover { --btn-bg: rgb(255 255 255 / 0.08); --btn-border: #fff; }

.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* 8. Header & navigation -------------------------------------------------- */

.topbar {
  background: var(--green-950);
  color: #d6d7f0;
  font-size: var(--fs-xs);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 2.5rem;
}

.topbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar :focus-visible { outline-color: var(--copper-400); }

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar__item .icon { width: 1rem; height: 1rem; opacity: 0.85; }

.topbar__secondary { display: none; }

@media (min-width: 48em) {
  .topbar__secondary { display: flex; }
}

@media (max-width: 29.99em) {
  .topbar__hide-xs { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid (no backdrop-filter): a filter would trap the fixed mobile menu. */
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-2) var(--ease-out);
}

.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgb(17 18 58 / 0.35); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand__logo {
  display: block;
  width: auto;
  height: 3.4rem;          /* 54px on phones */
}

@media (min-width: 48em) {
  .brand__logo { height: 4.35rem; }  /* 70px: keeps "Colorite" legible */
}

/* Footer: the logo sits on a white badge so it reads on the dark background. */
.brand--footer {
  padding: 0.6rem 0.9rem;
  background: #fff;
  border-radius: var(--r-md);
}

.brand--footer .brand__logo { height: 4.5rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font: 600 var(--fs-sm)/1 var(--font-body);
  cursor: pointer;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

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

.primary-nav__link,
.primary-nav__toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.primary-nav__link[aria-current="page"],
.primary-nav__link.is-section {
  color: var(--green-800);
}

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

.submenu__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.submenu__link[aria-current="page"] { color: var(--green-800); font-weight: 700; }

.swatch-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 2px 4px 4px 2px;
  background: var(--strip, var(--coat-green));
  flex: none;
}

/* Mobile navigation (default) */
@media (max-width: 67.49em) {
  .primary-nav {
    position: fixed;
    inset: var(--nav-top, var(--header-h)) 0 0 0;
    z-index: 90;
    overflow-y: auto;
    padding: var(--sp-5) var(--gutter) var(--sp-8);
    background: var(--surface);
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .primary-nav__item { border-bottom: 1px solid var(--line); }

  .primary-nav__row { display: flex; align-items: stretch; justify-content: space-between; }

  .primary-nav__link {
    flex: 1;
    min-height: 3.5rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.015em;
  }

  .primary-nav__toggle {
    justify-content: center;
    width: 3.5rem;
    border-left: 1px solid var(--line);
  }

  .primary-nav__toggle .icon { transition: transform var(--dur-2) var(--ease-out); }
  .primary-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

  .submenu { display: none; padding: 0 0 var(--sp-4) var(--sp-2); }
  .submenu.is-open { display: block; }
  .submenu__link { min-height: 2.9rem; font-size: 1.05rem; }

  .primary-nav__cta { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
  .primary-nav__cta .btn { width: 100%; }

  .site-header__cta { display: none; }
}

@media (max-width: 29.99em) {
  .nav-toggle__label { display: none; }
}

/* Desktop navigation */
@media (min-width: 67.5em) {
  .nav-toggle { display: none; }

  .site-header__inner { gap: var(--sp-6); }

  .primary-nav { margin-left: auto; }

  .primary-nav__list { display: flex; align-items: center; gap: clamp(1rem, 0.2rem + 1.2vw, 1.75rem); }

  .primary-nav__item { position: relative; }

  .primary-nav__row { display: flex; align-items: center; gap: 0.15rem; }

  .primary-nav__link {
    position: relative;
    min-height: var(--header-h);
    font-size: var(--fs-sm);
  }

  .primary-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 1.35rem;
    height: 3px;
    border-radius: 1px 3px 3px 1px;
    background: var(--copper-600);
    transition: right var(--dur-2) var(--ease-out);
  }

  .primary-nav__link:hover::after,
  .primary-nav__link[aria-current="page"]::after,
  .primary-nav__link.is-section::after { right: 0; }

  .primary-nav__toggle {
    width: 1.75rem;
    height: 1.75rem;
    justify-content: center;
    border-radius: var(--r-xs);
    color: var(--ink-mute);
  }

  .primary-nav__toggle:hover { color: var(--ink); background: var(--green-50); }
  .primary-nav__toggle .icon { width: 1rem; height: 1rem; transition: transform var(--dur-2) var(--ease-out); }
  .primary-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

  .submenu {
    position: absolute;
    top: calc(100% - 0.75rem);
    left: -1rem;
    min-width: 17.5rem;
    padding: var(--sp-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-2);
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out), visibility 0s linear var(--dur-1);
  }

  .submenu.is-open,
  .primary-nav__item--has-sub:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .submenu__link {
    padding: 0.65rem 0.75rem;
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 550;
  }

  .submenu__link:hover { background: var(--green-50); }

  .submenu__all {
    margin-top: var(--sp-1);
    padding-top: var(--sp-1);
    border-top: 1px solid var(--line);
  }

  .primary-nav__cta { display: none; }
}

/* 9. Hero & drawdown card ------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  isolation: isolate;
}

/* Soft, painterly light at the top right. */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto 35%;
  height: 120%;
  background: radial-gradient(closest-side, rgb(198 70 111 / 0.35), transparent 70%);
  z-index: -1;
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 2.5rem + 6vw, 7.5rem);
}

@media (min-width: 64em) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
  }
}

.hero .eyebrow { color: #ffb59a; }

.hero h1 { color: #fff; max-width: 14ch; }

.hero h1 em {
  font-style: normal;
  color: #ffb59a;
}

.hero__lead {
  max-width: 36rem;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-lg);
  color: #d6d7f0;
}

.hero__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: var(--fs-sm);
  color: #d6d7f0;
}

.hero__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.hero__contact a:hover { text-decoration: underline; }
.hero :focus-visible { outline-color: #ffb59a; }

/* The drawdown card */
.drawdown {
  position: relative;
  margin: 0;
  padding: clamp(1rem, 0.6rem + 1.6vw, 1.75rem);
  background: #fbfbfe;
  color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
}

@media (min-width: 64em) {
  .drawdown { transform: rotate(-1.6deg); }
}

.drawdown__head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Opacity chart: the black-and-white checks at the top of a real drawdown card. */
.drawdown__checks {
  height: 1.4rem;
  margin-bottom: var(--sp-4);
  border-radius: 2px;
  background:
    repeating-conic-gradient(#15163a 0 25%, #ffffff 0 50%) 0 0 / 1.4rem 1.4rem;
  opacity: 0.9;
}

.drawdown__strips {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strip {
  --strip: var(--coat-green);
  --strip-fg: #fff;
  --len: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: var(--len);
  min-height: 3.25rem;
  padding: 0.6rem 1rem;
  border-radius: 2px 10px 10px 2px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.16), transparent 42%),
    var(--strip);
  color: var(--strip-fg);
  text-decoration: none;
  transform-origin: left center;
  transition: filter var(--dur-1), box-shadow var(--dur-1);
}

/* Wet, slightly ragged leading edge of the drawn-down paint. */
.strip::after {
  content: "";
  position: absolute;
  top: 12%;
  right: -3px;
  width: 6px;
  height: 76%;
  border-radius: 0 6px 6px 0;
  background: var(--strip);
  filter: brightness(0.85);
}

.strip:hover { filter: brightness(1.08) saturate(1.05); box-shadow: 0 6px 16px -10px rgb(0 0 0 / 0.6); }
.strip:focus-visible { outline-color: var(--ink); outline-offset: 3px; }

.strip__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.strip__meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
}

.strip--green  { --strip: var(--coat-green); }
.strip--copper { --strip: var(--coat-copper); }
.strip--ochre  { --strip: var(--coat-ochre); --strip-fg: var(--ink); }
.strip--river  { --strip: var(--coat-river); }
.strip--slate  { --strip: var(--coat-slate); }

.drawdown__strips li:nth-child(1) .strip { --len: 100%; }
.drawdown__strips li:nth-child(2) .strip { --len: 91%; }
.drawdown__strips li:nth-child(3) .strip { --len: 80%; }
.drawdown__strips li:nth-child(4) .strip { --len: 94%; }
.drawdown__strips li:nth-child(5) .strip { --len: 84%; }

@media (max-width: 29.99em) {
  .drawdown__strips li .strip { --len: 100% !important; }
  .strip__meta { display: none; }
}

.drawdown__foot {
  margin: var(--sp-4) 0 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (prefers-reduced-motion: no-preference) {
  .drawdown__strips .strip { animation: draw-down 900ms var(--ease-out) both; }
  .drawdown__strips li:nth-child(2) .strip { animation-delay: 90ms; }
  .drawdown__strips li:nth-child(3) .strip { animation-delay: 180ms; }
  .drawdown__strips li:nth-child(4) .strip { animation-delay: 270ms; }
  .drawdown__strips li:nth-child(5) .strip { animation-delay: 360ms; }
}

@keyframes draw-down {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* Full-width stripe of range colours used to close the hero and page headers. */
.coat-stripe {
  display: grid;
  grid-template-columns: 5fr 3fr 2fr 4fr 2fr;
  height: 6px;
}

.coat-stripe span:nth-child(1) { background: var(--coat-green); }
.coat-stripe span:nth-child(2) { background: var(--coat-copper); }
.coat-stripe span:nth-child(3) { background: var(--coat-ochre); }
.coat-stripe span:nth-child(4) { background: var(--coat-river); }
.coat-stripe span:nth-child(5) { background: var(--coat-slate); }

/* 10. Page header --------------------------------------------------------- */

.page-header {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-header__inner {
  padding-block: clamp(2rem, 1.4rem + 2.4vw, 3.25rem) clamp(2.75rem, 2rem + 3vw, 4.5rem);
}

.page-header h1 {
  font-size: var(--fs-page-title);
  max-width: 20ch;
  margin-bottom: var(--sp-4);
}

.page-header .lead { margin-bottom: 0; }

.page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-4);
  color: var(--ink-mute);
  font-size: var(--fs-sm);
}

.page-header--range .page-header__strip {
  width: min(28rem, 100%);
  margin-top: var(--sp-5);
}

.breadcrumbs {
  margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  font-size: var(--fs-sm);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-mute);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line-strong);
}

.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* 11. Cards --------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2);
}

.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--text-soft); }

.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card--link:focus-within { box-shadow: var(--shadow-2); }

/* Stretched link: the whole card is clickable, but only one link is announced. */
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }

.card__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--sp-5);
  border-radius: var(--r-sm);
  background: var(--green-50);
  color: var(--green-800);
}

.card__icon .icon { width: 1.5rem; height: 1.5rem; }

/* Range card: a short drawdown strip in the range colour tops each card. */
.range-card { padding-top: 0; overflow: hidden; }

.range-card__strip {
  width: 62%;
  height: 0.6rem;
  margin: 0 0 clamp(1.25rem, 1rem + 1vw, 1.75rem) calc(clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem) * -1);
  border-radius: 0 0 8px 0;
  background: var(--strip, var(--coat-green));
  transition: width var(--dur-2) var(--ease-out);
}

.range-card:hover .range-card__strip { width: 78%; }

.range-card__count {
  display: block;
  margin-bottom: var(--sp-2);
  color: var(--ink-mute);
}

.range-card__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: var(--sp-2) 0 0;
  padding: 0;
  list-style: none;
}

.range-card__items li {
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

.range-card--green  { --strip: var(--coat-green); }
.range-card--copper { --strip: var(--coat-copper); }
.range-card--ochre  { --strip: var(--coat-ochre); }
.range-card--river  { --strip: var(--coat-river); }
.range-card--slate  { --strip: var(--coat-slate); }

/* Asymmetric range grid on the home and products pages. */
.range-grid {
  display: grid;
  gap: clamp(1rem, 0.7rem + 1.2vw, 1.75rem);
}

@media (min-width: 40em) {
  .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range-grid > :first-child { grid-column: 1 / -1; }
}

@media (min-width: 64em) {
  .range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .range-grid > :first-child { grid-column: span 2; }
  .range-grid > :first-child h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
}

/* News card */
.news-card__cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 9;
  margin: calc(clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem) * -1) calc(clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem) * -1) var(--sp-5);
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--green-800);
}

.news-card__cover img { width: 100%; height: 100%; object-fit: cover; }

/* Typographic cover for articles without a photograph. */
.news-card__cover--type {
  padding: var(--sp-5);
  background:
    linear-gradient(90deg, var(--coat-copper) 0 38%, transparent 38%) 0 100% / 100% 10px no-repeat,
    var(--green-800);
  color: #fff;
}

.news-card__cover--type span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

.tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-xs);
  background: var(--copper-100);
  color: var(--copper-700);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Fact list (definition list) */
.facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts__row {
  display: grid;
  gap: 0.2rem var(--sp-5);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 40em) {
  .facts__row { grid-template-columns: 9.5rem minmax(0, 1fr); }
}

.facts dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 0.2rem;
}

.facts dd { margin: 0; }

/* 12. Feature bands ------------------------------------------------------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--green-800);
  color: #fff;
  isolation: isolate;
}

.band::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -6rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(42 159 186 / 0.35), transparent);
  z-index: -1;
}

.band__inner {
  display: grid;
  gap: var(--sp-6);
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

@media (min-width: 64em) {
  .band__inner { grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; gap: var(--sp-8); }
}

.band h2 { color: #fff; max-width: 22ch; }
.band p { color: #d9daf0; max-width: 38rem; }
.band .eyebrow { color: #ffb59a; }
.band :focus-visible { outline-color: #ffb59a; }

.band__audiences {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin: var(--sp-5) 0 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-sm);
}

.band__audiences li { display: inline-flex; align-items: center; gap: 0.5rem; }
.band__audiences .icon { color: #ffb59a; }

/* Numbered process (order matters: it is a real sequence). */
.steps {
  display: grid;
  gap: var(--sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 48em) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.steps li {
  counter-increment: step;
  padding-top: var(--sp-5);
  border-top: 2px solid var(--ink);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--copper-600);
}

.steps h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.steps p { color: var(--text-soft); }

/* 13. Contact & map ------------------------------------------------------- */

.contact-list {
  display: grid;
  gap: var(--sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: start;
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--green-800);
}

.contact-list__label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.contact-list a { font-weight: 600; overflow-wrap: anywhere; }

.map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 20rem;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgb(35 36 107 / 0.9), rgb(26 27 82 / 0.95)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgb(255 255 255 / 0.08) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgb(255 255 255 / 0.08) 38px 40px),
    var(--green-800);
  color: #fff;
  text-align: center;
}

.map__placeholder {
  display: grid;
  justify-items: center;
  gap: var(--sp-4);
  padding: var(--sp-6);
  max-width: 26rem;
}

.map__placeholder p { color: #d9daf0; font-size: var(--fs-sm); margin: 0; }
.map__pin { width: 2.5rem; height: 2.5rem; color: #ffb59a; }
.map :focus-visible { outline-color: #ffb59a; }

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map.is-loaded { background: var(--paper); }

/* 14. Prose & products ---------------------------------------------------- */

.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: var(--sp-7); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; margin: 0 0 var(--sp-4); }
.prose li + li { margin-top: var(--sp-2); }

.product-list {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.product {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--strip, var(--coat-green));
  border-radius: 4px var(--r-md) var(--r-md) 4px;
}

@media (min-width: 48em) {
  .product { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: baseline; gap: var(--sp-6); }
}

.product h3 { margin: 0; font-size: var(--fs-h4); }
.product p { margin: 0; color: var(--ink-soft); }

.aside-panel {
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.aside-panel h2 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }

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

.range-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
}

.range-nav a:hover { color: var(--green-800); text-decoration: underline; }
.range-nav a[aria-current="page"] { color: var(--green-800); font-weight: 700; }

.notice {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-sm);
  background: var(--copper-100);
  color: var(--copper-700);
  font-size: var(--fs-sm);
}

.notice .icon { margin-top: 0.15rem; }

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.share__label { font-weight: 650; margin-right: var(--sp-2); }

/* 15. Gallery & lightbox -------------------------------------------------- */

.gallery {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48em) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); } }
@media (min-width: 80em) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.gallery__item,
.gallery__figure { margin: 0; }

.gallery__link {
  display: block;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--line);
  aspect-ratio: 4 / 3;
}

.gallery__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-2) var(--ease-out);
}

.gallery__link:hover img { transform: scale(1.04); }

.gallery__caption {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0c0d2b;
  color: #fff;
}

.lightbox::backdrop { background: rgb(12 13 43 / 0.8); }

.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--gutter);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  padding: 0 var(--gutter);
  touch-action: pan-y;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 9.5rem);
  max-height: calc(100dvh - 9.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-xs);
}

.lightbox__caption {
  padding: var(--sp-4) var(--gutter) var(--sp-5);
  text-align: center;
  color: #d9daf0;
  min-height: 3.5rem;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid rgb(255 255 255 / 0.3);
  border-radius: 50%;
  background: rgb(0 0 0 / 0.35);
  color: #fff;
  cursor: pointer;
}

.icon-btn:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; }
.lightbox :focus-visible { outline-color: #ffb59a; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev { left: var(--sp-3); }
.lightbox__next { right: var(--sp-3); }

/* 16. Forms --------------------------------------------------------------- */

.form {
  display: grid;
  gap: var(--sp-5);
}

.form__grid {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 40em) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__grid .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 0.45rem; align-content: start; }

.field label,
.field legend {
  font-weight: 650;
  font-size: var(--fs-sm);
  color: var(--ink);
}

.field__optional {
  font-weight: 400;
  color: var(--ink-mute);
}

.field__hint {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--ink-mute);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}

.textarea { min-height: 10rem; resize: vertical; }

.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 55%, calc(100% - 0.95rem) 55%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.input:hover,
.select:hover,
.textarea:hover { border-color: var(--ink-mute); }

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: var(--green-800);
  box-shadow: 0 0 0 3px rgb(35 36 107 / 0.28);
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--error); }

.field__error {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--error);
}

.field__error:empty { display: none; }
.field__error .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; }

.check {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.check label { font-weight: 400; color: var(--ink-soft); }

.check input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.15rem 0 0;
  accent-color: var(--green-800);
}

/* Honeypot: hidden from people and assistive technology, visible to bots. */
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-sm);
  font-weight: 600;
}

.form-status:empty,
.form-status[hidden] { display: none; }

.form-status .icon { margin-top: 0.1rem; }
.form-status--error { background: var(--error-bg); color: var(--error); }
.form-status--success { background: var(--success-bg); color: var(--success); }

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

.form-success {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}

.form-success .icon { width: 2.75rem; height: 2.75rem; color: var(--success); }

.type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-6);
  padding: 0;
  list-style: none;
}

.type-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}

.type-tabs a:hover { border-color: var(--green-800); }
.type-tabs a[aria-current="page"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }

/* 17. Content flags ([CONTENT REQUIRED]) ----------------------------------- */

.content-flag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
  padding: 0.3rem 0.6rem;
  border: 1.5px dashed var(--flag-line);
  border-radius: var(--r-xs);
  background: var(--flag-bg);
  color: #4d3a00;
  font-size: var(--fs-sm);
  line-height: 1.4;
  vertical-align: baseline;
}

.content-flag__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-flag__tag::before { content: "["; }
.content-flag__tag::after { content: "]"; }

p > .content-flag:only-child,
.content-flag--block { display: flex; }

.flag-block { margin: var(--sp-4) 0; }

/* On dark backgrounds */
.hero .content-flag,
.band .content-flag,
.site-footer .content-flag { color: #4d3a00; }

/* 18. Empty states -------------------------------------------------------- */

.empty {
  display: grid;
  justify-items: center;
  gap: var(--sp-4);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--sp-5);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: center;
}

.empty__icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-800);
}

.empty__icon .icon { width: 1.75rem; height: 1.75rem; }
.empty h2 { font-size: var(--fs-h3); margin: 0; }
.empty p { max-width: 34rem; color: var(--ink-soft); margin: 0; }

/* 404 */
.not-found {
  display: grid;
  gap: var(--sp-6);
  padding-block: clamp(4rem, 3rem + 5vw, 8rem);
}

.not-found__code {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  color: var(--copper-600);
}

.not-found__strip {
  width: min(18rem, 70%);
  height: 1rem;
  border-radius: 2px 10px 10px 2px;
  background: linear-gradient(90deg, var(--coat-green) 0 55%, transparent 55% 62%, var(--coat-green) 62% 70%, transparent 70%);
}

/* 19. Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--green-950);
  color: #c3c4e4;
  font-size: var(--fs-sm);
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--copper-400); }

.site-footer__main {
  display: grid;
  gap: var(--sp-7) var(--sp-6);
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) var(--sp-7);
}

@media (min-width: 40em) { .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 64em) {
  .site-footer__main { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
}

.site-footer .brand { color: #fff; }
.site-footer .site-footer__about p { max-width: 24rem; margin-top: var(--sp-4); }

.site-footer h2 {
  margin-bottom: var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb59a;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

address { font-style: normal; }

.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; color: #ffb59a; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: var(--sp-5);
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--r-pill);
  font-weight: 600;
}

.social-link:hover { border-color: #fff; text-decoration: none !important; }

.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.site-footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-6);
  padding-block: var(--sp-5);
  font-size: var(--fs-xs);
  color: #a5a7cf;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__credit a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(255 181 154 / 0.6);
}

/* 20. Back to top --------------------------------------------------------- */

.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2), background-color var(--dur-1);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--green-900); }

/* 21. Motion & print ------------------------------------------------------ */

/* Scroll reveal: only applied by JavaScript to content below the fold. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(18px); }
  .reveal-in {
    opacity: 1;
    transform: none;
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .topbar, .site-header, .site-footer, .to-top, .map, .btn, .share { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .band { background: #fff; color: #000; }
  .hero h1, .band h2 { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}

.not-found nav { max-width: 30rem; }

/* ==========================================================================
   22. Colorite 2.0 — brand layer
   Signature: the logo is "painted on" in the hero; the same brush stroke
   underlines page titles. Everything else stays quiet.
   ========================================================================== */

/* Header logo: one soft sheen across the logo on load and on hover. */
.site-header .brand { position: relative; overflow: hidden; border-radius: var(--r-sm); }
.site-header .brand::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.75), transparent);
  transform: skewX(-18deg) translateX(0);
  pointer-events: none;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .site-header .brand::after { animation: sheen 1.1s var(--ease-out) 0.5s 1 both; }
  .site-header .brand:hover::after { animation: sheen 0.9s var(--ease-out) 0s 1 both; }
  .site-header .brand__logo { transition: transform var(--dur-2) var(--ease-out); }
  .site-header .brand:hover .brand__logo { transform: rotate(-2deg) scale(1.03); }
}
@keyframes sheen {
  0%   { opacity: 0; transform: skewX(-18deg) translateX(0); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: skewX(-18deg) translateX(420%); }
}

/* ---------------------------------------------------------------- Hero */

.hero { background: var(--green-900); }
.hero::before { display: none; }

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 26rem at 88% 18%, rgb(198 70 111 / 0.38), transparent 70%),
    radial-gradient(34rem 24rem at 70% 95%, rgb(47 159 186 / 0.32), transparent 70%),
    radial-gradient(28rem 20rem at 8% 0%, rgb(236 122 82 / 0.18), transparent 70%);
}

.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero__lead { color: #d6d7f0; }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  margin: var(--sp-6) 0 0;
  padding: var(--sp-5) 0 0;
  list-style: none;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  color: #c3c4e4;
  font-size: var(--fs-sm);
}
.hero__proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  color: #fff;
}

/* Hero entrance: copy settles in while the logo is painted. */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 0.8s var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero__copy > :nth-child(5) { animation-delay: 0.32s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------- Animated logo */

.logo-stage {
  position: relative;
  margin: 0 auto;
  width: min(100%, 34rem);
  display: grid;
  justify-items: center;
  gap: var(--sp-5);
  isolation: isolate;
}

/* Three slow paint blobs behind the chip, in the logo's colours. */
.logo-stage__paint { position: absolute; inset: -6% -4% 6%; z-index: -1; }
.logo-stage__paint span {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  filter: blur(2px);
  opacity: 0.92;
}
.logo-stage__paint span:nth-child(1) { left: -4%;  top: 4%;   background: var(--paint-magenta); }
.logo-stage__paint span:nth-child(2) { right: -6%; top: -6%;  background: var(--paint-coral); width: 48%; }
.logo-stage__paint span:nth-child(3) { right: 6%;  bottom: -4%; background: var(--paint-cyan); width: 52%; }

@media (prefers-reduced-motion: no-preference) {
  .logo-stage__paint span { animation: blob-in 0.9s var(--ease-out) both, blob 16s ease-in-out 1s infinite alternate; }
  .logo-stage__paint span:nth-child(2) { animation-delay: 0.1s, 1.2s; animation-duration: 0.9s, 19s; }
  .logo-stage__paint span:nth-child(3) { animation-delay: 0.2s, 1.4s; animation-duration: 0.9s, 22s; }
}
@keyframes blob-in { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 0.92; } }
@keyframes blob {
  0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: translate(0, 0) rotate(0deg); }
  50%  { border-radius: 58% 42% 38% 62% / 55% 37% 63% 45%; transform: translate(3%, -3%) rotate(14deg); }
  100% { border-radius: 36% 64% 52% 48% / 46% 58% 42% 54%; transform: translate(-3%, 2%) rotate(-10deg); }
}

/* The white paint chip holding the logo. */
.logo-stage__chip {
  position: relative;
  width: 100%;
  padding: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  border-radius: 28px 34px 30px 26px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgb(12 13 43 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.6) inset;
  overflow: hidden;
  transform: rotate(-2deg);
}
.logo-stage__logo img { display: block; width: 100%; height: auto; }

/* Brush stroke sweeping across, painting the logo on. */
.logo-stage__brush {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}
.logo-stage__brush path {
  fill: none;
  stroke: url(#paint-grad);
  stroke-width: 330;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.logo-stage__sheen {
  position: absolute;
  inset: -10% auto -10% -50%;
  width: 35%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.85), transparent);
  transform: skewX(-16deg);
  opacity: 0;
  pointer-events: none;
}

.logo-stage__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.22);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.logo-stage__tagline svg { width: 1.5rem; height: 1.5rem; flex: none; }
.logo-stage__tagline path {
  fill: none;
  stroke: var(--paint-red);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 1px #fff);
}

@media (prefers-reduced-motion: no-preference) {
  .logo-stage__chip   { animation: chip-in 0.7s var(--ease-out) both; }
  .logo-stage__brush  { animation: brush-show 1.9s linear 0.35s both; }
  .logo-stage__brush path { animation: brush-sweep 0.95s cubic-bezier(0.55, 0, 0.3, 1) 0.35s both; }
  .logo-stage__logo   { animation: logo-paint 0.95s cubic-bezier(0.55, 0, 0.3, 1) 0.55s both; }
  .logo-stage__sheen  { animation: chip-sheen 1.1s var(--ease-out) 2s both; }
  .logo-stage__tagline { animation: rise 0.6s var(--ease-out) 1.8s both; }
  .logo-stage__tagline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tick 0.5s var(--ease-out) 2.2s both; }
  .logo-stage__chip:hover .logo-stage__sheen { animation: chip-sheen 0.9s var(--ease-out) both; }
}

@keyframes chip-in { from { opacity: 0; transform: rotate(-6deg) scale(0.92); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes brush-sweep { to { stroke-dashoffset: 0; } }
@keyframes brush-show { 0% { opacity: 1; } 62% { opacity: 1; } 100% { opacity: 0; } }
@keyframes logo-paint { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes chip-sheen { 0% { opacity: 0; transform: skewX(-16deg) translateX(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: skewX(-16deg) translateX(480%); } }
@keyframes tick { to { stroke-dashoffset: 0; } }

@media (max-width: 63.99em) {
  .logo-stage { width: min(100%, 26rem); }
}

/* ------------------------------------------------- Page title brush line */

.brush-line {
  display: block;
  width: min(14rem, 60%);
  height: 0.9rem;
  margin: calc(var(--sp-3) * -1) 0 var(--sp-5);
  overflow: visible;
}
.brush-line path {
  fill: none;
  stroke: url(#paint-grad);
  stroke-width: 9;
  stroke-linecap: round;
}
@media (prefers-reduced-motion: no-preference) {
  .brush-line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: brush-sweep 0.9s var(--ease-out) 0.25s both; }
  .page-header .coat-stripe { transform-origin: left; animation: stripe-in 0.9s var(--ease-out) 0.1s both; }
  .page-header h1 { animation: rise 0.6s var(--ease-out) both; }
}
@keyframes stripe-in { from { transform: scaleX(0); } to { transform: none; } }

/* ------------------------------------------------------ Audience routes */

.routes {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 40em) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .routes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.route {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
.route::before {
  content: "";
  position: absolute;
  top: 0; left: var(--sp-5); right: var(--sp-5);
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--route-paint, var(--paint-magenta));
}
.route:nth-child(2) { --route-paint: var(--paint-coral); }
.route:nth-child(3) { --route-paint: var(--paint-cyan); }
.route:nth-child(4) { --route-paint: var(--green-700); }
.route:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-2); }

.route__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--green-800);
  box-shadow: var(--shadow-1);
}
.route__icon .icon { width: 1.35rem; height: 1.35rem; }
.route__title { font-size: var(--fs-h4); margin: var(--sp-2) 0 0; }
.route p { margin: 0; color: var(--text-soft); }
.route__gets { display: grid; gap: 0.45rem; margin: var(--sp-2) 0 var(--sp-4); padding: 0; list-style: none; font-size: var(--fs-sm); }
.route__gets li { display: flex; gap: 0.5rem; align-items: flex-start; }
.route__gets .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; color: var(--copper-600); flex: none; }
.route__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--green-800);
  text-decoration: none;
}
.route__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.route__cta .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--dur-2) var(--ease-out); }
.route:hover .route__cta .icon { transform: translateX(4px); }
.route:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.route__cta:focus-visible { outline: none; }

/* -------------------------------------------------------- Tick lists */

.tick-list { display: grid; gap: 0.6rem; margin: var(--sp-5) 0 0; padding: 0; list-style: none; }
.tick-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.tick-list .icon { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; color: var(--copper-600); flex: none; }

/* ------------------------------------------------------ Paint calculator */

@media (min-width: 64em) {
  .split--calc { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
}

.calc {
  display: grid;
  gap: var(--sp-5);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
@media (min-width: 48em) {
  .calc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
}
.calc__noscript { margin: 0; }
.calc fieldset { margin: 0 0 var(--sp-4); padding: 0; border: 0; min-width: 0; }
.calc legend { padding: 0; margin-bottom: var(--sp-3); font-weight: 700; }
.calc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.calc__field label { display: block; margin-bottom: 0.3rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); }
.calc__input { position: relative; display: flex; align-items: center; }
.calc__input input,
.calc__input select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.5rem 1.9rem 0.5rem 0.7rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  font: 600 1rem/1.2 var(--font-body);
  color: var(--ink);
}
.calc__input select { padding-right: 0.7rem; }
.calc__input span { position: absolute; right: 0.7rem; color: var(--ink-mute); font-size: var(--fs-sm); pointer-events: none; }
.calc__input input:focus-visible,
.calc__input select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--green-800); }
.calc__input input[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.calc__check { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: var(--sp-3); font-size: var(--fs-sm); cursor: pointer; }
.calc__check input { width: 1.15rem; height: 1.15rem; accent-color: var(--green-800); }

.calc__result {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--green-900);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.calc__result::before {
  content: "";
  position: absolute;
  right: -3rem; top: -3rem;
  width: 10rem; height: 10rem;
  border-radius: 46% 54% 60% 40%;
  background: linear-gradient(135deg, var(--paint-magenta), var(--paint-coral));
  opacity: 0.55;
  z-index: -1;
}
.calc__label { margin: 0; color: #d6d7f0; font-size: var(--fs-sm); }
.calc__litres { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); font-weight: 700; line-height: 1.05; }
.calc__litres.is-updated { animation: pop 0.35s var(--ease-out); }
@keyframes pop { 50% { transform: scale(1.05); } }
.calc__area { margin: 0 0 var(--sp-3); color: #d6d7f0; font-size: var(--fs-sm); }
.calc__result .btn { margin-top: auto; }
.calc__note { margin: var(--sp-2) 0 0; color: #c3c4e4; font-size: var(--fs-xs); line-height: 1.5; }

@media (max-width: 29.99em) {
  .calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------- Why buy from the works */

.grid--4 { display: grid; gap: var(--sp-5); }
@media (min-width: 40em) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.why__item { padding-top: var(--sp-5); border-top: 2px solid var(--ink); }
.why__item > .icon { width: 2rem; height: 2rem; color: var(--copper-600); margin-bottom: var(--sp-3); }
.why__item h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.why__item p { color: var(--text-soft); margin: 0; }

/* Ordering steps: replace the mono counters with paint-coloured numerals. */
.steps li::before {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
  content: counter(step);
  background: linear-gradient(90deg, var(--paint-magenta), var(--paint-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------- Service rows */

.service-list { display: grid; gap: var(--sp-4); }
.service {
  display: grid;
  gap: var(--sp-4);
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
@media (min-width: 56em) {
  .service { grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--sp-6); }
  .service__cta { align-self: center; }
}
.service__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 18px 22px 16px 20px;
  background: linear-gradient(135deg, var(--paint-magenta), var(--paint-coral));
  color: #fff;
}
.service:nth-child(2) .service__icon { background: linear-gradient(135deg, var(--paint-coral), var(--paint-cyan)); }
.service:nth-child(3) .service__icon { background: linear-gradient(135deg, var(--paint-cyan), var(--green-700)); }
.service__icon .icon { width: 1.6rem; height: 1.6rem; }
.service h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.service__body > p { color: var(--text-soft); max-width: 44rem; margin: 0; }
.service .tick-list { margin-top: var(--sp-4); }

/* ----------------------------------------------------------------- FAQ */

.faq { display: grid; gap: var(--sp-3); }
.faq__item {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; color: var(--green-800); transition: transform var(--dur-2) var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r-md); }
.faq__item p { margin: 0; padding: 0 var(--sp-5) var(--sp-5); color: var(--text-soft); }

/* ------------------------------------------------- Mobile quick-action bar */

.action-bar { display: none; }
@media (max-width: 47.99em) {
  .action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3) max(var(--sp-2), env(safe-area-inset-bottom));
    background: #fff;  /* solid: page text must not show through */
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -18px rgb(17 18 58 / 0.5);
  }
  .action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    text-decoration: none;
  }
  .action-bar__call { border: 1.5px solid var(--line-strong); color: var(--green-800); }
  .action-bar__quote { background: var(--copper-600); color: #fff; }
  .action-bar .icon { width: 1.1rem; height: 1.1rem; }
  body { padding-bottom: 4.5rem; }
  .to-top { bottom: calc(5rem + env(safe-area-inset-bottom)); }
  body.nav-open .action-bar { display: none; }
}

@media print {
  .action-bar, .logo-stage__paint, .logo-stage__brush { display: none !important; }
}

@media (max-width: 29.99em) {
  .logo-stage__tagline { font-size: var(--fs-base); padding-inline: 0.75rem 0.95rem; }
}

/* Labels in sentence case, set in the text face (replaces the mono caps). */
.mono, .strip__meta, .tag, .facts dt, .contact-list__label, .site-footer h2, .range-card__count, .drawdown__head, .drawdown__foot {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.contact-list__label, .facts dt, .site-footer h2 { font-size: var(--fs-sm); font-weight: 700; }
.tag, .range-card__count, .strip__meta { font-size: var(--fs-xs); font-weight: 700; }

/* ------------------------------------------------------------ Photos */

.photo { margin: 0; }
.photo picture,
.photo img {
  display: block;
  width: 100%;
  height: auto;
}
.photo img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  background: var(--paper);
}
.photo figcaption {
  margin-top: var(--sp-3);
  color: var(--ink-mute);
  font-size: var(--fs-sm);
}
.photo--range { margin-bottom: var(--sp-6); max-width: 30rem; }

@media (min-width: 64em) {
  .split--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}

/* The portrait sits on a tilted paint chip, echoing the hero logo. */
.photo--tilt { position: relative; isolation: isolate; max-width: 34rem; }
.photo--tilt::before {
  content: "";
  position: absolute;
  inset: 6% -4% -4% 6%;
  z-index: -1;
  border-radius: 34px 28px 40px 26px;
  background: linear-gradient(135deg, var(--paint-magenta), var(--paint-coral) 50%, var(--paint-cyan));
  transform: rotate(3deg);
}
.photo--tilt img { border-radius: 28px; transform: rotate(-1.5deg); }

/* Gallery: make the <picture> fill the tile; panoramic images span two columns. */
.gallery__link picture { display: block; height: 100%; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide .gallery__link { aspect-ratio: 800 / 252; }
.photo--range { max-width: 22rem; }
.colour-world .photo--tilt { max-width: 28rem; margin-inline: auto; }
@media (min-width: 80em) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); } }

/* ------------------------------------------------ Announcement bar */
.announce {
  background: linear-gradient(90deg, var(--paint-magenta), var(--copper-600) 55%, var(--paint-coral));
  color: #fff;
  font-size: var(--fs-sm);
}
.announce__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  padding-block: 0.5rem;
  text-align: center;
}
.announce__text { font-weight: 700; }
.announce__dab {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50% 40% 55% 45%;
  background: #fff;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.3);
}
@media (prefers-reduced-motion: no-preference) {
  .announce__dab { animation: dab-pulse 2.4s ease-in-out infinite; }
}
@keyframes dab-pulse { 50% { box-shadow: 0 0 0 6px rgb(255 255 255 / 0); } }
.announce__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announce__link .icon { width: 1rem; height: 1rem; }
.announce__link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------- Pack sizes */
.packs {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.packs__title { font-size: var(--fs-h4); margin: 0 0 var(--sp-4); }
.packs__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.packs__item {
  display: grid;
  gap: 0.2rem;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--paper);
  border-top: 4px solid var(--paint-coral);
}
.packs__item:nth-child(2) { border-top-color: var(--paint-magenta); }
.packs__item:nth-child(3) { border-top-color: var(--paint-cyan); }
.packs__size { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.packs__packed { color: var(--text-soft); font-size: var(--fs-sm); }
.packs__note { margin: var(--sp-4) 0 0; color: var(--ink-mute); font-size: var(--fs-sm); }

.calc__packs { margin: 0 0 var(--sp-3); padding: 0.6rem 0.8rem; border-radius: var(--r-sm); background: rgb(255 255 255 / 0.1); font-size: var(--fs-sm); }
.calc__packs strong { color: #fff; }

/* ------------------------------------------------------- Booking form */
.booking-fields { margin: 0; padding: var(--sp-5); border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); min-width: 0; }
.booking-fields[hidden] { display: none; }
.booking-fields legend { padding: 0 0.4rem; font-weight: 700; }
.booking-fields .field__hint { margin: var(--sp-3) 0 0; }
.ref-badge {
  display: inline-block;
  margin: 0 0 var(--sp-4);
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--green-50);
  color: var(--green-900);
  font-size: var(--fs-sm);
}
.ref-badge strong { letter-spacing: 0.04em; }
.btn-stack { display: grid; gap: var(--sp-2); }

/* ------------------------------------------------------- Promotion */
.promo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: linear-gradient(135deg, #7a0f24, var(--copper-600) 45%, #e0482f);
  color: #fff;
}
.promo::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 34rem; height: 34rem;
  border-radius: 46% 54% 60% 40%;
  background: radial-gradient(circle at 40% 40%, rgb(47 159 186 / 0.55), transparent 65%);
  z-index: -1;
}
.promo__inner { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 52em) { .promo__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.promo__poster { display: block; max-width: 26rem; margin-inline: auto; border-radius: var(--r-lg); box-shadow: 0 30px 60px -25px rgb(0 0 0 / 0.6); transform: rotate(-2deg); transition: transform var(--dur-2) var(--ease-out); }
.promo__poster:hover { transform: rotate(0) scale(1.01); }
.promo__poster img { display: block; width: 100%; height: auto; border-radius: inherit; }
.promo__poster:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.promo h2 { color: #fff; margin-bottom: var(--sp-3); text-wrap: balance; }
.promo__eyebrow { color: #ffd9c7; }
.promo__lead { font-size: var(--fs-lg); color: #fde3e7; margin: 0 0 var(--sp-5); }
.promo__tiers { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; gap: var(--sp-3); }
@media (min-width: 36em) { .promo__tiers { grid-template-columns: 1fr 1fr; } }
.tier { display: grid; gap: 0.2rem; padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.28); }
.tier__spend { font-size: var(--fs-sm); color: #fde3e7; }
.tier__spend strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: #fff; }
.tier__get { font-weight: 600; }
.tier__get strong { color: #ffe58a; }
.tier__plus { color: #fde3e7; font-size: var(--fs-sm); }
.promo .btn { background: #fff; color: var(--copper-700); border-color: #fff; }
.promo .btn:hover { background: #fde3e7; }
.promo .btn--light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.7); }
.promo .btn--light:hover { background: rgb(255 255 255 / 0.12); }
.promo__more { margin: var(--sp-5) 0 0; }
.promo__more a { display: inline-flex; align-items: center; gap: 0.35rem; color: #fff; font-weight: 700; text-underline-offset: 3px; }
.promo__more .icon { width: 1rem; height: 1rem; }
.offer-status { display: inline-block; margin: 0 0 var(--sp-5); padding: 0.45rem 0.9rem; border-radius: var(--r-pill); background: #fde3e7; color: #7a0f24; font-weight: 700; font-size: var(--fs-sm); }
.offer-status--ended { background: var(--line); color: var(--ink-soft); }
.announce__text--short { display: none; }
@media (max-width: 39.99em) {
  .announce__text--long { display: none; }
  .announce__text--short { display: inline; }
}

/* Article image: breathing room before the offer label / text. */
.article-figure { margin-bottom: var(--sp-6); }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.offer-cta { display: grid; gap: var(--sp-4); justify-items: start; margin-bottom: var(--sp-7); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--line); }
.offer-cta .offer-status { margin: 0; }
