/* ==========================================================================
   KKA Foods B.V. — site styles
   Brand colours live in :root; change them here to re-theme the whole site.
   ========================================================================== */
:root {
  --navy: #0a2f5c;          /* primary brand: marine blue */
  --navy-700: #13427a;
  --navy-100: #e2eaf4;
  --gold: #c39a4a;          /* accent (decorative) */
  --gold-text: #85621d;     /* accent safe for text on light bg (AA) */
  --ink: #0f1c2d;
  --muted: #4f5d70;
  --paper: #f7f9fc;
  --cream: #edf2f8;
  --white: #ffffff;
  --line: #d9e1ec;
  --danger: #a3271b;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(10 28 50 / .04), 0 8px 24px -12px rgb(10 28 50 / .18);
  --shadow-lg: 0 2px 4px rgb(10 28 50 / .04), 0 24px 48px -20px rgb(10 28 50 / .28);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(44px, 5.5vw, 76px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
main:focus { outline: none; }

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

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 12px 18px;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 680px; }
.center { text-align: center; margin-inline: auto; }
.center .btn { margin-top: 28px; }
.section { padding: var(--section) 0; }
/* Neighbouring sections with the same background share one gap instead of two. */
.section:not(.section--alt) + .section:not(.section--alt),
.section--alt + .section--alt { padding-top: 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--cream); }
.section--flush-top { padding-top: 0; }
.stack-xl > * + * { margin-top: clamp(64px, 8vw, 112px); }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* ---------- Typography ---------- */
.display, .h2, .h3, .h4, .card-title, .footer-title, .value h3, .feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.display { font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.025em; }
.display--sm { font-size: clamp(2.1rem, 4vw, 3.25rem); }
.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; }
.h4 { font-size: 1.15rem; line-height: 1.3; margin: 28px 0 12px; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 16px;
}
.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--muted); }
.prose .btn { margin-top: 28px; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--cream); }
.btn--ghost-light { color: var(--white); border-color: rgb(255 255 255 / .35); }
.btn--ghost-light:hover { border-color: var(--white); background: rgb(255 255 255 / .08); }
.btn--ghost-light .icon { transform: none !important; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
a.link-arrow:hover, .card-link:hover .link-arrow { border-color: currentColor; }
a.link-arrow:hover .icon, .card-link:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- Header: top bar, masthead, menu bar ---------- */
.topbar { background: var(--navy); color: rgb(255 255 255 / .86); font-size: .86rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.topbar-tag { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; padding: 0; }
.topbar-info li, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar-info a:hover { color: var(--white); text-decoration: underline; }
.topbar-info .icon { width: 16px; height: 16px; color: var(--gold); }

.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.masthead-cta { flex: none; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-img { height: 78px; width: auto; }
.site-footer .logo-img { height: 92px; }
.logo-mark {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px;
  background: var(--navy); color: var(--gold);
  font: 700 1.2rem/1 var(--font-display); letter-spacing: -0.02em;
}
.logo-text { font: 600 1.55rem/1 var(--font-display); letter-spacing: -0.01em; color: var(--navy); }
.logo--light .logo-text { color: var(--white); }
.logo--light .logo-mark { background: var(--gold); color: var(--navy); }

.site-search { display: flex; flex: 1 1 360px; max-width: 520px; }
.site-search input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px;
  border: 1.5px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px; background: var(--paper);
}
.site-search input:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px var(--navy-100); }
.site-search button {
  display: grid; place-items: center; width: 58px; border: 0; cursor: pointer;
  border-radius: 0 999px 999px 0; background: var(--navy); color: var(--white);
}
.site-search button:hover { background: var(--navy-700); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 10px 24px -18px rgb(10 28 50 / .55); }
.site-header .container { position: relative; }
.site-nav { display: flex; justify-content: center; }
.nav-search, .nav-cta { display: none; }
.menu { display: flex; align-items: center; justify-content: center; gap: 4px; list-style: none; padding: 8px 0; margin: 0; }
.menu-item { position: relative; display: flex; align-items: center; border-radius: 8px; transition: background-color .2s; }
.menu-item > a { display: block; padding: 10px 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.has-sub > a { padding-right: 2px; }
.menu-item:hover { background: rgb(10 47 92 / .07); }
.menu-item.is-active { background: var(--navy); }
.menu-item.is-active > a, .menu-item.is-active > .sub-toggle { color: var(--white); }
.sub-toggle { display: grid; place-items: center; width: 30px; height: 40px; margin-right: 6px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 6px; }
.sub-toggle .chevron { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-sub.is-open .chevron { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 270px;
  margin: 0; padding: 10px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
ul.submenu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
ul.submenu a:hover { background: var(--cream); color: var(--navy); }
.submenu-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
ul.submenu .submenu-all a { color: var(--navy); font-weight: 700; }

.has-sub:has(.mega) { position: static; }
.mega { left: 0; right: 0; top: calc(100% - 4px); padding: 28px 32px; }
.mega-grid { columns: 4 200px; column-gap: 36px; }
.mega-col { break-inside: avoid; margin-bottom: 22px; }
.mega-title {
  display: block; padding: 4px 0 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  font: 600 1.06rem/1.3 var(--font-display); color: var(--navy); text-decoration: none;
}
.mega-title:hover { color: var(--gold-text); }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col ul a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: .95rem; }
.mega-col ul a:hover { color: var(--navy); text-decoration: underline; }
.mega-all { margin-top: 22px; }

@media (min-width: 961px) and (hover: hover) {
  .has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: none; }
}

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 1100px) {
  .menu-item > a { padding: 10px 12px; }
}

@media (max-width: 960px) {
  .topbar-tag { display: none; }
  .topbar-info li:not(.tb-keep) { display: none; }
  .topbar-inner { justify-content: center; }
  .masthead-inner { min-height: 74px; }
  .masthead .site-search, .masthead-cta { display: none; }
  .logo-mark { width: 44px; height: 44px; font-size: 1.05rem; }
  .logo-text { font-size: 1.35rem; }
  .logo-img { height: 58px; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: static; background: var(--paper); border-bottom: 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav { flex-direction: column; align-items: stretch; padding: 16px 0 28px; border-bottom: 1px solid var(--line); }
  html:not(.js) .nav-toggle { display: none; }
  .nav-search { display: block; margin-bottom: 8px; }
  .nav-search .site-search { max-width: none; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .menu-item { flex-wrap: wrap; border-radius: 0; border-bottom: 1px solid var(--line); }
  .menu-item:hover, .menu-item.is-active { background: none; }
  .menu-item > a { flex: 1; padding: 15px 2px; font-size: 1.06rem; }
  .menu-item.is-active > a, .menu-item.is-active > .sub-toggle { color: var(--navy); }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .has-sub::after { display: none; }
  .submenu, .mega {
    position: static; display: none; width: 100%; min-width: 0; padding: 0 0 14px 14px;
    opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: transparent;
  }
  .has-sub.is-open > .submenu { display: block; }
  .mega-grid { columns: 1; }
  .mega-col { margin-bottom: 4px; }
  .mega-title { border-bottom: 0; margin: 0; padding: 8px 0; font-size: 1rem; }
  .mega-col ul { padding-left: 14px; }
  .mega-all { margin-top: 10px; }
  .nav-cta { display: inline-flex; margin-top: 20px; }
}

/* ---------- Home hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center;
  min-height: clamp(520px, 74vh, 760px);
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 22 44 / .5), rgb(6 22 44 / .66)); }
.slide-content { position: relative; z-index: 1; text-align: center; padding-top: 72px; padding-bottom: 120px; }
.slide-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.slide-title {
  max-width: 15ch; margin: 0 auto; color: var(--white);
  font: 700 clamp(2.6rem, 6.4vw, 5.2rem)/1.02 var(--font-display); letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgb(0 0 0 / .35);
}
.slide-text { max-width: 46ch; margin: 22px auto 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgb(255 255 255 / .92); }
.slide-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 12px; }
.hero-slider:not(.is-ready) .slider-controls { display: none; }
.slider-btn {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0; cursor: pointer;
  border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .5); background: rgb(0 0 0 / .2); color: var(--white);
}
.slider-btn:hover { background: rgb(255 255 255 / .16); border-color: var(--white); }
.slider-btn .icon { width: 18px; height: 18px; }
.slider-pause .icon-play, .slider-pause.is-paused .icon-pause { display: none; }
.slider-pause.is-paused .icon-play { display: block; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .5); cursor: pointer; transition: width .3s, background-color .3s; }
.slider-dot[aria-current="true"] { width: 32px; background: var(--gold); }

/* ---------- Media / image placeholders ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--cream); aspect-ratio: 4 / 3;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media--square { aspect-ratio: 1; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--photo { aspect-ratio: 3 / 2; }
.media--ph {
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(120% 90% at 20% 10%, rgb(255 255 255 / .7), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgb(10 47 92 / .035) 18px 19px),
    linear-gradient(160deg, #eef2f7, #dde5ef);
}
.ph-label {
  display: flex; flex-direction: column; gap: 4px; padding: 16px;
  font: 600 .95rem/1.3 var(--font-display); color: var(--navy); opacity: .75;
}
.ph-label small { font: 500 .72rem/1.3 var(--font-body); letter-spacing: .02em; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-media { aspect-ratio: 5 / 6; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
}

.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
.page-hero .lead { margin-top: 18px; }

.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--navy); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Values ---------- */
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.value { display: flex; gap: 18px; padding: clamp(24px, 3vw, 36px); }
.value + .value { border-left: 1px solid var(--line); }
.value h3, .feature h3 { font-size: 1.2rem; margin-bottom: 6px; }
.value p, .feature p { color: var(--muted); font-size: .98rem; }
.value-icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-100); color: var(--navy);
}
.value-icon .icon { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Section heads ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head .lead { margin-top: 14px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card .media { border-radius: 0; }
.card:has(.card-link):hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:has(.card-link):hover .media img { transform: scale(1.04); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.card-title { font-size: 1.25rem; line-height: 1.25; }
.card-text { color: var(--muted); font-size: .97rem; }
.service-card .card-body { padding: 26px 28px 30px; gap: 10px; }
.service-card .card-title { font-size: 1.5rem; }
.service-card .link-arrow { margin-top: auto; padding-top: 10px; }

.cat-card { position: relative; border: 0; }
.cat-card .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgb(7 24 46 / .6) 55%, rgb(7 24 46 / .94));
}
.cat-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 1; }
.cat-card .card-title { color: var(--white); font-size: 1.5rem; }
.cat-card .card-text { color: rgb(255 255 255 / .85); margin-top: 4px; }
.cat-card .media--ph { place-items: start center; }
.cat-card .media--ph .ph-label { padding-top: 28px; }
.cat-card-count {
  display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgb(255 255 255 / .16); color: var(--white);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cat-card--all { background: var(--navy); min-height: 100%; }
.cat-card--all .card-link { min-height: 320px; }
.cat-card--all .cat-card-body { position: static; margin-top: auto; padding: 28px; }
.cat-card--all .card-title { font-size: 1.75rem; line-height: 1.15; }
.cat-card--all .link-arrow { color: var(--gold); margin-top: 18px; }
.cat-card--all::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 100% 0%, rgb(195 154 74 / .35), transparent 65%);
}
.trade-note {
  margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--cream); color: var(--muted); font-size: .95rem;
}

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { aspect-ratio: 5 / 4; border-radius: var(--radius-lg); }
/* The About photo is a wide truck shot: keep the branded cab on the left in view. */
.about-media img { object-position: left center; }
.split-copy > * + * { margin-top: 18px; }
.split-copy .h2 + p { margin-top: 20px; }
.split-copy p { color: var(--muted); }
.split-copy .btn, .split-copy .link-arrow { margin-top: 28px; }
.split--reverse .split-media { order: 2; }
.split--text { align-items: start; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
}

.checklist { display: grid; gap: 12px; margin-top: 24px !important; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checklist .icon { color: var(--navy); background: var(--navy-100); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

/* ---------- Features ---------- */
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}
.feature .value-icon { margin-bottom: 20px; }

/* ---------- Service page ---------- */
.service-hero { position: relative; min-height: clamp(420px, 62vh, 640px); display: flex; }
.service-hero-media {
  position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; height: 100%;
}
.service-hero-media.media--ph { background: linear-gradient(135deg, var(--navy-700), var(--navy)); place-items: start end; }
.service-hero-media.media--ph .ph-label { color: rgb(255 255 255 / .55); padding: 24px var(--gutter); }
.service-hero-media.media--ph .ph-label small { color: rgb(255 255 255 / .45); }
.service-hero-overlay {
  position: relative; z-index: 1; width: 100%; align-self: flex-end;
  padding: clamp(96px, 12vw, 160px) 0 clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, transparent, rgb(6 22 44 / .78) 55%);
  color: var(--white);
}
.service-hero .display { color: var(--white); max-width: 16ch; }
.service-hero .lead { color: rgb(255 255 255 / .86); margin-top: 18px; }
.service-hero .breadcrumb ol { color: rgb(255 255 255 / .75); }
.service-hero .breadcrumb [aria-current] { color: var(--white); }
.service-hero .breadcrumb a:hover { color: var(--white); }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 2vw, 24px); }
.gallery li:first-child { grid-row: span 2; }
.gallery li:first-child .media { aspect-ratio: auto; height: 100%; min-height: 320px; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery li:first-child { grid-row: auto; }
  .gallery li:first-child .media { min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- Catalogue ---------- */
.catalog-tools {
  position: sticky; top: 80px; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 16px 0; background: var(--paper);
  border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.search {
  position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 360px;
}
.search .icon { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; min-height: 48px; padding: 0 18px 0 46px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
}
.search input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 4px var(--navy-100); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); font-weight: 500; font-size: .93rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.result-count { font-size: .9rem; color: var(--muted); min-height: 1.5em; margin: 12px 0 8px; }
.cat-section { padding: 32px 0 24px; }
.cat-section + .cat-section { border-top: 1px solid var(--line); }
.cat-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 24px; }
.cat-section-head p { color: var(--muted); }
.chip-count { font-size: .8em; opacity: .65; margin-left: 2px; }
.subgroup + .subgroup { margin-top: 40px; }
.js .subgroup { scroll-margin-top: 200px; }
.subgroup-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 700 .8rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text);
}
.subgroup-title span { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.subgroup-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.empty-state { padding: 48px 0; text-align: center; color: var(--muted); }
@media (max-width: 860px) { .catalog-tools { top: 80px; } .search { max-width: none; } }

/* ---------- Product detail ---------- */
.product-detail { padding-top: clamp(32px, 4vw, 56px); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.product-media { border-radius: var(--radius-lg); position: sticky; top: 104px; }
.product-info .lead { margin: 16px 0 20px; }
.product-info > p:not(.lead):not(.eyebrow) { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 16px; border-radius: 999px; background: var(--navy-100); color: var(--navy); font-weight: 600; font-size: .93rem; }
.specs { width: 100%; border-collapse: collapse; font-size: .97rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 600; width: 42%; padding-right: 16px; }
.specs td { color: var(--muted); }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-media { position: static; }
}

/* ---------- CTA band ---------- */
.cta-band {
  display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 32px 48px;
  padding: clamp(36px, 5vw, 72px); border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 140% at 100% 0%, rgb(195 154 74 / .25), transparent 60%),
    var(--navy);
  color: rgb(255 255 255 / .85);
}
.cta-band .h2 { color: var(--white); margin-bottom: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2f5c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.field input::placeholder { color: #8a95a5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-100); background-color: var(--white); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.form-note { font-size: .88rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--navy-100); color: var(--navy); font-weight: 500; }
.form-status.is-error { background: #f8e4e1; color: var(--danger); }
.form .btn { justify-self: start; }
.contact-info { padding: clamp(24px, 3vw, 36px); background: var(--cream); border-radius: var(--radius); }
.contact-list { display: grid; gap: 18px; margin: 24px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--navy); margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.legal { display: flex; gap: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.legal dt { font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal dd { margin: 2px 0 0; }
@media (max-width: 860px) {
  .contact-grid, .form-row { grid-template-columns: 1fr; }
}

/* ---------- Category page header ---------- */
.page-hero--split .hero-grid { align-items: center; }
.page-hero--split .lead { margin-top: 18px; }
.hero-media--short { aspect-ratio: 4 / 3; }

/* ---------- SEO content blocks ---------- */
.seo-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px); }
.seo-block > * + * { margin-top: 14px; }
.seo-block p { color: var(--muted); }
.ticks { display: grid; gap: 10px; list-style: none; padding: 0; margin-top: 18px !important; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.ticks .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--navy-100); color: var(--navy); margin-top: 1px; }
.ticks--compact { margin: 22px 0 0 !important; }
.ticks--compact li { font-size: .95rem; }
.product-copy { margin-top: 4px; }
.product-copy p { color: var(--muted); }
/* Internal links inside body copy */
.seo-block p a, .product-copy p a { color: var(--navy); font-weight: 600; text-decoration: none; }
.seo-block p a:hover, .product-copy p a:hover { color: var(--gold-text); }
/* Category card summaries stay at three lines so cards line up; the full text is on the category page. */
.cat-card .card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.trade-note--warn { background: #fbf3e2; color: #6b4e12; border-left: 3px solid var(--gold); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 28px !important; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.cat-section-head a, .subgroup-title a { text-decoration: none; color: inherit; }
.cat-section-head a:hover, .subgroup-title a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 600 1.1rem/1.35 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy); }
.faq-icon { width: 22px; height: 22px; color: var(--gold-text); transition: transform .25s var(--ease); flex: none; }
.faq[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

.faq-more { margin-top: 22px; }
.faq-page { display: grid; gap: 56px; }
.faq-group { max-width: 920px; }
.faq-group h2 { margin-bottom: 10px; }

/* ---------- Team page ---------- */
.team-intro { padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 32px); background: var(--cream); }
.team-intro .breadcrumb ol { margin-bottom: 14px; }
.team-hero { display: grid; grid-template-columns: 3fr 2fr; align-items: center; background: var(--cream); }
/* The group photo keeps its own 2:1 shape so nobody at the edges is cropped. */
.team-hero-media { aspect-ratio: 2 / 1; min-width: 0; width: 100%; border-radius: 0; }
.team-hero-media img { object-position: center; }
.team-hero-media.media--ph { background: linear-gradient(160deg, var(--navy-700), var(--navy)); }
.team-hero-media.media--ph .ph-label { color: rgb(255 255 255 / .75); }
.team-hero-media.media--ph .ph-label small { color: rgb(255 255 255 / .55); }
.team-hero-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 88px); }
.team-hero-panel p { color: var(--muted); max-width: 52ch; }
.team-hero-panel p + p { margin-top: 14px; }
/* Flex rather than grid so an incomplete last row is centred. */
.team-grid { --cols: 4; --gap-x: clamp(18px, 2.5vw, 32px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 3.5vw, 48px) var(--gap-x); list-style: none; padding: 0; margin: 0; }
.team-card { width: calc((100% - (var(--cols) - 1) * var(--gap-x)) / var(--cols)); }
.team-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); background: var(--navy); }
.team-photo img { object-position: center top; }
.team-name { margin-top: 18px; font: 600 1.2rem/1.3 var(--font-display); color: var(--ink); }
.team-role { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.team-contact { margin-top: 10px; font-size: .92rem; line-height: 1.7; }
.team-contact a { color: var(--navy); text-decoration: none; font-weight: 500; word-break: break-word; }
.team-contact a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .team-hero { grid-template-columns: 1fr; }
  .team-grid { --cols: 2; }
}
@media (max-width: 480px) { .team-grid { --gap-x: 14px; row-gap: 24px; } .team-name { font-size: 1.05rem; } }

/* ---------- Footer ---------- */
.site-footer { background: #071d38; color: rgb(255 255 255 / .72); padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 30ch; }
.footer-title { color: var(--white); font-size: 1.1rem; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { font-style: normal; display: grid; gap: 14px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding: 24px var(--gutter); font-size: .88rem;
  border-top: 1px solid rgb(255 255 255 / .12);
}
.footer-note { flex-basis: 100%; font-size: .8rem; opacity: .7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll (JS adds .reveal) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .catalog-tools { display: none; }
}

/* ---------- WordPress & plugin compatibility ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.media img { width: 100%; height: 100%; }

/* Contact Form 7 (its own stylesheet is disabled; these rules replace it) */
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal !important; }
.wpcf7-form { display: grid; gap: 20px; }
.wpcf7-form > p { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--danger); font-size: .88rem; }
.wpcf7-form .field [aria-invalid="true"] { border-color: var(--danger); }
.wpcf7-display-none { display: none; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { background: var(--navy-100); color: var(--navy); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: #f8e4e1; color: var(--danger); }
.wpcf7-submit-row { display: flex; align-items: center; gap: 14px; }
.wpcf7-spinner { visibility: hidden; display: inline-block; width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--navy); border-radius: 50%; animation: cx-spin 1s linear infinite; }
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }
@keyframes cx-spin { to { transform: rotate(360deg); } }
input.btn { -webkit-appearance: none; appearance: none; }
.wpcf7 .hidden-fields-container { display: none; }
