/*
 * CAMO One theme styles. Colour/type/spacing presets come from theme.json (--wp--preset--*).
 * This file adds component classes the block editor cannot express and a few base resets.
 * Brand colours: CAMO One Brand Concepts, 05 Aug 2026. Everything else: DESIGN_SYSTEM.md recommendations.
 */

:root {
  --camo-border: 1px solid var(--wp--preset--color--slate-200);
  --camo-radius-sm: var(--wp--custom--radius--sm, 0.25rem);
  --camo-radius-lg: var(--wp--custom--radius--lg, 0.5rem);
  --camo-transition: var(--wp--custom--transition, 180ms ease);
}

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

body { -webkit-font-smoothing: antialiased; font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--body); line-height: 1.65; color: var(--wp--preset--color--navy); }

/* Explicit type scale (fallback if theme.json element styles are not applied) */
h1, h2, h3, h4 { text-wrap: balance; margin-top: 0; font-family: var(--wp--preset--font-family--heading); color: inherit; }
h1, .wp-block-heading.h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 500; line-height: 1.05; margin-bottom: 1.5rem; }
h2, .wp-block-heading.h2 { font-size: clamp(2rem, 3.5vw, 2.625rem); font-weight: 500; line-height: 1.15; margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.5rem, 2.3vw, 1.75rem); font-weight: 600; line-height: 1.2; margin-bottom: 0.75rem; }
h4 { font-size: 1.3125rem; font-weight: 600; line-height: 1.3; }
.camo-one p { margin-top: 0; margin-bottom: 1rem; }
.camo-one p:last-child { margin-bottom: 0; }

/* Layout fallbacks: centre wide rows at 1240px and pad full-width sections */
.camo-one .wp-block-group.alignfull { padding-left: var(--wp--custom--container--pad, 2rem); padding-right: var(--wp--custom--container--pad, 2rem); }
.camo-one .wp-block-group.alignfull > .alignwide,
.camo-one .camo-header > .wp-block-group,
.camo-one .camo-footer > .wp-block-group { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; }

/* Service cards grid */
.camo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; }
.camo-cards > .is-style-card { margin: 0; }
p { text-wrap: pretty; }
a { text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--wp--preset--color--accent);
  outline-offset: 3px;
}

/* Skip link */
.camo-skip { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: 0.75rem 1rem; background: var(--wp--preset--color--navy); color: #fff; border-radius: var(--camo-radius-sm); }
.camo-skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.camo-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--wp--preset--color--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--camo-transition);
}
.camo-header > .wp-block-group { min-height: 80px; align-items: center; transition: min-height var(--camo-transition); }
.camo-header .wp-block-navigation { align-items: center; }
.camo-header.is-scrolled { border-bottom-color: var(--wp--preset--color--slate-200); }
.camo-header.is-scrolled > .wp-block-group { min-height: 68px; }
.camo-logo { display: block; } .camo-logo img { display: block; height: 56px; width: auto; }
.camo-header.is-scrolled .camo-logo img { height: 48px; }
.camo-header .wp-block-navigation .wp-block-navigation-item__content { padding: 0.5rem 0; }
.camo-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--accent); text-decoration: underline; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem var(--wp--custom--container--pad); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1rem; font-size: 1.25rem; }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; }
.camo-cta-label--narrow { display: none; }
@media (max-width: 767px) {
  .camo-cta-label--wide { display: none; }
  .camo-cta-label--narrow { display: inline; }
  .camo-header .wp-block-button__link { padding: 0.625rem 0.875rem; font-size: 0.875rem; white-space: nowrap; }
  .camo-header > .wp-block-group > .wp-block-group { gap: 0.75rem !important; }
}

/* ---------- Text styles ---------- */
.is-style-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 0 1.25rem !important;
  color: var(--wp--preset--color--accent);
  font-size: var(--wp--preset--font-size--eyebrow);
  font-weight: 600; letter-spacing: 0.12em; line-height: 1.3; text-transform: uppercase;
}
.is-style-eyebrow::before { content: ""; flex: none; width: 2.5rem; height: 2px; background: currentColor; }
.has-navy-background-color .is-style-eyebrow { color: var(--wp--preset--color--slate-200); }
.is-style-lead { font-size: var(--wp--preset--font-size--body-lg); line-height: 1.6; color: var(--wp--preset--color--slate-700); }
.has-navy-background-color .is-style-lead, .has-navy-background-color p, .has-navy-background-color h1, .has-navy-background-color h2, .has-navy-background-color h3 { color: var(--wp--preset--color--white); }
.has-navy-background-color a:not(.wp-element-button) { color: var(--wp--preset--color--white); }
.camo-measure { max-width: 52rem; }

/* ---------- Buttons ---------- */
.wp-block-button__link, .camo-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--camo-radius-sm);
  font: 600 1rem/1 var(--wp--preset--font-family--body);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--camo-transition), color var(--camo-transition), border-color var(--camo-transition);
}
.camo-button--primary { background: var(--wp--preset--color--accent); color: #fff; }
.camo-button--primary:hover { background: var(--wp--preset--color--navy); color: #fff; }
.camo-button--secondary, .is-style-outline .wp-block-button__link { background: transparent; border-color: var(--wp--preset--color--navy); color: var(--wp--preset--color--navy); }
.camo-button--secondary:hover, .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--slate-100); color: var(--wp--preset--color--navy); }
.has-navy-background-color .is-style-outline .wp-block-button__link { border-color: #fff; color: #fff; }
.has-navy-background-color .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- Cards ---------- */
.is-style-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid; grid-template-rows: auto auto auto 1fr; align-content: start;
  border: var(--camo-border); border-radius: var(--camo-radius-sm);
  background: var(--wp--preset--color--white);
}
.is-style-card h3 { margin-bottom: 0.75rem; }
.is-style-card .camo-card__media { margin: calc(-1 * clamp(1.5rem, 3vw, 2rem)) calc(-1 * clamp(1.5rem, 3vw, 2rem)) 1.5rem; }
.camo-card__media { margin: 0; }
.camo-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
figure.camo-media { margin: 2rem 0 0; }
.camo-media img { display: block; width: 100%; height: auto; border: var(--camo-border); border-radius: var(--camo-radius-lg); }
.is-style-card p:last-child { margin-bottom: 0; }

/* ---------- Proof points ---------- */

/* ---------- Capability directory (core/details) ---------- */

/* ---------- Form ---------- */
.camo-form { display: grid; gap: 1.25rem; }
.camo-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.camo-field label { display: block; margin-bottom: 0.5rem; font-size: 0.9375rem; font-weight: 600; }
.camo-field__optional { font-weight: 400; color: var(--wp--preset--color--slate-500); }
.camo-field :is(input, textarea, select) {
  width: 100%; min-height: 3rem; box-sizing: border-box;
  border: var(--camo-border); border-radius: var(--camo-radius-sm);
  background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy);
  font: inherit; padding: 0.75rem 0.875rem;
  transition: border-color var(--camo-transition);
}
.camo-field :is(input, textarea):hover { border-color: var(--wp--preset--color--slate-500); }
.camo-field :is(input, textarea):focus-visible { border-color: var(--wp--preset--color--accent); outline-offset: 2px; }
.camo-field textarea { min-height: 9rem; resize: vertical; }
.camo-field--invalid :is(input, textarea) { border-color: #9B2C2C; }
.camo-field__error { margin: 0.5rem 0 0; font-size: var(--wp--preset--font-size--small); font-weight: 500; color: #9B2C2C; }
.camo-form__status { padding: 1rem 1.25rem; border: var(--camo-border); border-radius: var(--camo-radius-sm); margin: 0; }
.camo-form__status--error { border-color: #9B2C2C; color: #9B2C2C; }
.camo-form__status--success { background: var(--wp--preset--color--white); }
.camo-form__status--success h3 { margin-bottom: 0.5rem; }
.camo-form__status--success p { margin: 0; }
.camo-form__consent { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--slate-500); }
.camo-form .camo-button { justify-self: start; }

/* ---------- Contact split ---------- */
.camo-contact-panel { padding: clamp(1.5rem, 3vw, 2.5rem); border: var(--camo-border); border-radius: var(--camo-radius-lg); background: var(--wp--preset--color--white); }

/* ---------- Hero ---------- */
.camo-hero { padding-block: clamp(3.5rem, 7vw, 6rem) !important; }
.camo-hero__media { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--camo-radius-lg); background: var(--wp--preset--color--slate-100); border: var(--camo-border); }
.camo-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 991px) { .camo-hero__media { aspect-ratio: 16 / 9; } }

/* ---------- Footer ---------- */
.camo-footer { background: var(--wp--preset--color--navy); color: #fff; }
.camo-footer a { color: #fff; text-decoration: none; }
.camo-footer a:hover { text-decoration: underline; }
.camo-footer .camo-footer__meta { color: var(--wp--preset--color--slate-200); font-size: var(--wp--preset--font-size--small); }
.camo-footer .wp-block-navigation .wp-block-navigation-item__content { color: #fff; font-size: var(--wp--preset--font-size--small); }
.camo-footer .camo-footer__rule { border: 0; border-top: 1px solid rgba(255,255,255,0.2); margin: 0; }

/* Utility */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ---------- Polish pass 1.1 ---------- */
/* Rhythm inside section intros */
.camo-measure > .is-style-eyebrow { margin-bottom: 1.25rem !important; }
.camo-measure > h1, .camo-measure > h2 { margin-bottom: 1.25rem; }
.camo-measure > .is-style-lead { margin-top: 0; }
.camo-one .wp-block-group.alignfull > .alignwide + .alignwide { margin-top: 3rem; }
.camo-page-header + .wp-block-group.alignfull { padding-top: 0 !important; }
.camo-page-header + .wp-block-group.alignfull.has-slate-100-background-color,
.camo-page-header + .wp-block-group.alignfull.has-navy-background-color { padding-top: clamp(3.5rem, 8vw, 6rem) !important; }

/* Header */
.camo-header { border-bottom: 1px solid var(--wp--preset--color--slate-200); }
.camo-logo img { height: 48px; }
.camo-header .wp-block-navigation__container { gap: 2rem; }
.camo-header .wp-block-button__link { padding-top: 0.8125rem; padding-bottom: 0.8125rem; font-size: 0.9375rem; }

/* Hero */
.camo-hero .wp-block-columns { gap: clamp(2rem, 5vw, 5rem); }
.camo-hero h1 { margin-bottom: 1.5rem; }
.camo-hero .is-style-lead { max-width: 34rem; }
.camo-hero .wp-block-buttons { margin-top: 2rem; }

/* Cards */
.camo-cards { gap: 1.5rem; }
.is-style-card { padding: 0 0 2rem; overflow: hidden; }
.is-style-card > * { margin-left: 2rem; margin-right: 2rem; }
.is-style-card .camo-card__media { margin: 0 0 1.5rem; }
.is-style-card h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.is-style-card p { color: var(--wp--preset--color--slate-700); font-size: 1rem; }


figure.camo-media { margin-top: 2.5rem; }

/* Contact */
.camo-contact-panel { padding: clamp(1.5rem, 3vw, 2.5rem); }
.camo-form { gap: 1.125rem; }

/* Footer */
.camo-footer .wp-block-group.alignwide { row-gap: 2rem; }
.camo-footer .wp-block-site-title a { font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; font-weight: 600; }

/* Mobile */
@media (max-width: 767px) {
  .camo-one .wp-block-group.alignfull { padding-left: 1.25rem; padding-right: 1.25rem; }
  .camo-hero .wp-block-column { flex-basis: 100% !important; }
  .camo-hero .wp-block-buttons .wp-block-button { width: 100%; }
  .camo-hero .wp-block-buttons .wp-block-button__link { width: 100%; }
  .is-style-card > * { margin-left: 1.5rem; margin-right: 1.5rem; }
  .is-style-card { padding-bottom: 1.5rem; }
}

/* Legal pages (Impressum, Privacy Information) */
.camo-legal .camo-measure > h2 { font-size: clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 0.11), 1.3125rem); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.camo-legal .camo-measure > h2:first-child { margin-top: 0; }
.camo-legal .camo-measure > p, .camo-legal .camo-measure > ul { margin-top: 0; margin-bottom: 1rem; }
.camo-legal ul { padding-left: 1.25rem; }
.camo-legal li { margin-bottom: 0.5rem; }
.camo-legal__updated { margin-top: 2.5rem !important; font-size: 0.875rem; color: var(--wp--preset--color--slate-700); }

/* ---------- v2.2: "Why CAMO One" hub ---------- */
.has-navy-background-color .camo-measure:has(+ .camo-hub) { margin-inline: auto; text-align: center; }
.has-navy-background-color .camo-measure:has(+ .camo-hub) .is-style-eyebrow { justify-content: center; }
.camo-hub { display: grid; grid-template-columns: minmax(0,1fr) 22.5rem minmax(0,1fr); align-items: center; margin-top: var(--wp--preset--spacing--80); color: #fff; }
.camo-hub svg { color: #8FB3C2; flex: none; }
.camo-hub__side { position: relative; }
.camo-hub__side--left { text-align: right; padding-right: 3rem; }
.camo-hub__side--right { padding-left: 3rem; }
.camo-hub__side::after { content: ""; position: absolute; top: 50%; width: 3rem; height: 1px; background: var(--wp--preset--color--accent); margin-top: 2.4rem; }
.camo-hub__side--left::after { right: 0; }
.camo-hub__side--right::after { left: 0; }
.camo-hub__title { display: flex; align-items: center; gap: 1rem; }
.camo-hub__side--left .camo-hub__title { justify-content: flex-end; }
.camo-hub__title h3 { margin: 0; font-size: 2.25rem; font-weight: 500; line-height: 1.1; color: #fff; }
.camo-hub__intro { margin: 0.25rem 0 1.25rem; font-size: 0.9375rem; color: var(--wp--preset--color--slate-200) !important; }
.camo-hub__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; font-size: 1rem; }
.camo-hub__side--left .camo-hub__list { border-right: 1px solid var(--wp--preset--color--accent); padding-right: 1.25rem; }
.camo-hub__side--right .camo-hub__list { border-left: 1px solid var(--wp--preset--color--accent); padding-left: 1.25rem; }
.camo-hub__centre { display: flex; flex-direction: column; align-items: center; }
.camo-hub__ring { position: relative; width: 21.25rem; aspect-ratio: 1; border: 1px dashed #5A6680; border-radius: 50%; display: grid; place-items: center; }
.camo-hub__badge { position: absolute; top: -1.25rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.625rem; padding: 0 0.75rem; background: var(--wp--preset--color--navy); font-family: var(--wp--preset--font-family--heading); font-size: 1.625rem; font-weight: 500; line-height: 2.5rem; color: #8FB3C2; white-space: nowrap; }
.camo-hub__core { width: 13.75rem; aspect-ratio: 1; border: 2px solid var(--wp--preset--color--accent); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; box-sizing: border-box; }
.camo-hub__core strong { font-family: var(--wp--preset--font-family--heading); font-size: 3.5rem; font-weight: 500; line-height: 1; margin-top: 0.5rem; }
.camo-hub__core span { font-size: 0.9375rem; color: var(--wp--preset--color--slate-200); margin-top: 0.5rem; }
.camo-hub__caption { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--wp--preset--color--slate-200) !important; }
@media (max-width: 1023px) {
  .camo-hub { grid-template-columns: 1fr; gap: 3rem; }
  .camo-hub__centre { order: -1; }
  .camo-hub__side--left, .camo-hub__side--right { text-align: left; padding: 0; }
  .camo-hub__side::after { display: none; }
  .camo-hub__side--left .camo-hub__title { justify-content: flex-start; flex-direction: row-reverse; }
  .camo-hub__side--left .camo-hub__list { border-right: 0; border-left: 1px solid var(--wp--preset--color--accent); padding: 0 0 0 1.25rem; }
  .camo-hub__ring { width: min(21.25rem, 100%); }
}

/* ---------- v2.2: Interactive service / manufacturer hub ---------- */
.camo-svc-hub { margin-top: var(--wp--preset--spacing--70); color: #fff; }
.camo-svc-hub svg { flex: none; }
.camo-svc-hub__prompt, .camo-svc-hub__ring, .camo-svc-hub__line, .camo-svc-hub__centre, .camo-svc-hub__name { display: none; }
.camo-svc-hub__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
.camo-svc-hub__item { display: grid; grid-template-columns: 4.5rem minmax(0,1fr); gap: 1.25rem; align-items: start; }
.camo-svc-hub__node { all: unset; }
.camo-svc-hub__icon { width: 4.5rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid #5A6680; display: grid; place-items: center; color: #8FB3C2; }
.camo-svc-hub__panel > svg { display: none; }
.camo-svc-hub__panel h3 { margin: 0 0 0.5rem; font-size: 1.375rem; color: #fff; }
.camo-svc-hub__panel p { margin: 0; color: var(--wp--preset--color--slate-200) !important; }
@media (min-width: 1024px) {
  .camo-svc-hub.is-enhanced .camo-svc-hub__prompt { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin: 0 0 0.5rem; color: var(--wp--preset--color--slate-200); }
  .camo-svc-hub.is-enhanced .camo-svc-hub__prompt svg { color: #8FB3C2; }
  .is-enhanced .camo-svc-hub__stage { position: relative; aspect-ratio: 1184 / 840; max-width: 74rem; margin-inline: auto; }
  .is-enhanced .camo-svc-hub__ring { display: block; position: absolute; left: 15.37%; top: 13.1%; width: 69.26%; height: 73.81%; border: 1px dashed #5A6680; border-radius: 50%; }
  .is-enhanced .camo-svc-hub__line { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .is-enhanced .camo-svc-hub__line line { stroke: var(--wp--preset--color--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
  .is-enhanced .camo-svc-hub__centre { display: flex; align-items: flex-end; justify-content: center; position: absolute; left: 50%; top: 50%; width: 33.78%; aspect-ratio: 1; transform: translate(-50%,-50%); border: 2px solid var(--wp--preset--color--accent); border-radius: 50%; background: var(--wp--preset--color--navy); padding-bottom: 12%; box-sizing: border-box; }
  .is-enhanced .camo-svc-hub__controls { display: flex; align-items: center; gap: 0.75rem; position: relative; z-index: 2; }
  .camo-svc-hub__step { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid #5A6680; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
  .camo-svc-hub__step:hover { border-color: #8FB3C2; }
  .camo-svc-hub__count { font-size: 0.875rem; color: var(--wp--preset--color--slate-200); min-width: 3rem; text-align: center; }
  .is-enhanced .camo-svc-hub__items { display: contents; }
  .is-enhanced .camo-svc-hub__item { display: contents; }
  .is-enhanced .camo-svc-hub__node { position: absolute; left: var(--x); top: var(--y); width: 12.5rem; transform: translate(-50%, -2.25rem); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; cursor: pointer; text-align: center; }
  .is-enhanced .camo-svc-hub__name { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem; font-weight: 500; line-height: 1.25; text-wrap: balance; }
  .is-enhanced .camo-svc-hub__icon { background: var(--wp--preset--color--navy); transition: background .15s, box-shadow .15s; }
  .is-enhanced .camo-svc-hub__node:hover .camo-svc-hub__icon { box-shadow: 0 0 0 6px rgba(143,179,194,.25); }
  .is-enhanced .camo-svc-hub__node[aria-expanded="true"] .camo-svc-hub__icon { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #fff; box-shadow: 0 0 0 6px rgba(70,124,146,.35); }
  .is-enhanced .camo-svc-hub__panel { display: none; position: absolute; left: 50%; top: 50%; width: 25%; transform: translate(-50%, -58%); text-align: center; z-index: 1; }
  .is-enhanced .camo-svc-hub__panel.is-active { display: block; }
  .is-enhanced .camo-svc-hub__panel > svg { display: inline-block; color: #8FB3C2; }
  .is-enhanced .camo-svc-hub__panel h3 { font-size: 1.625rem; font-weight: 500; margin: 0.75rem 0 0.625rem; text-wrap: balance; }
  .is-enhanced .camo-svc-hub__panel p { font-size: 0.9375rem; line-height: 1.55; }
}
.camo-svc-hub button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- v2.2: Scope page capabilities + manufacturer hub ---------- */
.camo-cap { display: grid; grid-template-columns: 7fr 5fr; gap: 4rem; align-items: end; color: #fff; }
.camo-cap h2, .camo-cap__intro p:not(.is-style-eyebrow) { color: #fff; }
.camo-cap__intro p:last-child { margin-bottom: 0; }
.camo-cap__approvals > p { margin: 0 0 1rem; color: var(--wp--preset--color--slate-200) !important; }
.camo-cap__approvals ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #34405A; }
.camo-cap__approvals li { display: flex; align-items: center; gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid #34405A; font-size: 1.0625rem; font-weight: 600; }
.camo-cap__approvals svg { flex: none; color: #8FB3C2; }
@media (max-width: 1023px) { .camo-cap { grid-template-columns: 1fr; gap: 2.5rem; } }
.camo-svc-hub--fleet { margin-top: var(--wp--preset--spacing--80); }
.camo-svc-hub--fleet .camo-svc-hub__item { grid-template-columns: 1fr; }
.camo-svc-hub--fleet .camo-svc-hub__node { display: none; }
.camo-svc-hub--fleet .camo-svc-hub__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.375rem; color: var(--wp--preset--color--slate-200); }
@media (min-width: 1024px) {
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__stage { aspect-ratio: 1184 / 760; }
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__ring { left: 11.99%; top: 9.21%; width: 76.01%; height: 81.58%; }
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__centre { width: 35.47%; padding-bottom: 9%; }
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__node { display: flex; flex-direction: row; width: auto; min-height: 2.75rem; padding: 0 1rem; transform: translate(-50%,-50%); border: 1px solid #5A6680; border-radius: var(--camo-radius-sm); background: var(--wp--preset--color--navy); white-space: nowrap; box-sizing: border-box; }
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__node:hover { border-color: #8FB3C2; }
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__node[aria-expanded="true"] { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__panel { width: 27%; transform: translate(-50%, -60%); }
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__panel h3 { font-size: 1.875rem; }
  .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__panel li { font-size: 0.9375rem; line-height: 1.4; text-wrap: balance; }
}

/* ---------- v2.2: Contact panel ---------- */
.camo-contact-actions { display: flex; flex-direction: column; margin-top: 2.5rem; padding: 0.75rem 2rem; border-radius: var(--camo-radius-lg); background: var(--wp--preset--color--navy); }
.camo-contact-actions a { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0; color: #fff; text-decoration: none; }
.camo-contact-actions a + a { border-top: 1px solid #34405A; }
.camo-contact-actions__icon { flex: none; width: 3.5rem; height: 3.5rem; border: 1px solid #5A6680; border-radius: 50%; display: grid; place-items: center; color: #8FB3C2; transition: border-color .15s, background .15s; }
.camo-contact-actions__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.camo-contact-actions__label { font-size: 0.875rem; color: var(--wp--preset--color--slate-200); }
.camo-contact-actions__value { font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.camo-contact-actions__arrow { flex: none; color: #8FB3C2; transition: transform .15s; }
.camo-contact-actions a:hover .camo-contact-actions__icon { border-color: #8FB3C2; }
.camo-contact-actions a:hover .camo-contact-actions__arrow { transform: translateX(3px); }
.camo-contact-actions a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
@media (max-width: 599px) { .camo-contact-actions { padding: 0.5rem 1.25rem; } .camo-contact-actions__value { font-size: 1.25rem; } }

/* v2.2 refinements after testing: centring, readable labels, controls below the centre circle */
.camo-measure:has(+ .camo-hub) > * { margin-left: auto !important; margin-right: auto !important; }
.camo-svc-hub__prompt { max-width: none; }
@media (min-width: 1024px) {
  .is-enhanced .camo-svc-hub__name { background: var(--wp--preset--color--navy); padding: 0 0.375rem; }
  .is-enhanced .camo-svc-hub__centre, .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__centre { padding-bottom: 0; }
  .is-enhanced .camo-svc-hub__controls { transform: translateY(calc(100% + 0.75rem)); }
  .is-enhanced .camo-svc-hub__panel, .camo-svc-hub--fleet.is-enhanced .camo-svc-hub__panel { transform: translate(-50%, -50%); }
}
@media (max-width: 1023px) {
  .camo-hub__side--left .camo-hub__title { flex-direction: row-reverse; justify-content: flex-end; }
}
@media (max-width: 767px) {
  .camo-header .wp-block-button__link { padding: 0.625rem 0.875rem; font-size: 0.875rem; }
}
@media (max-width: 599px) {
  .camo-header .camo-header__cta { order: 1; }
  .camo-header .wp-block-navigation { order: 2; }
}

/* v2.2: horizontal logo from 600px; stacked logo on phones */
.camo-logo picture { display: block; }
@media (min-width: 600px) {
  .camo-logo img, .camo-header .camo-logo img { height: 32px; width: auto; }
  .camo-header.is-scrolled .camo-logo img { height: 28px; }
}
@media (min-width: 600px) and (max-width: 767px) { .camo-logo img, .camo-header .camo-logo img, .camo-header.is-scrolled .camo-logo img { height: 24px; } }

/* v2.3: consistent hub spacing (matched to the Scope hub) */
@media (min-width: 1024px) {
  .camo-svc-hub:not(.camo-svc-hub--fleet).is-enhanced .camo-svc-hub__stage { aspect-ratio: 1184 / 788; }
  .camo-svc-hub:not(.camo-svc-hub--fleet).is-enhanced .camo-svc-hub__ring { top: 10.66%; height: 78.68%; }
  .camo-svc-hub:not(.camo-svc-hub--fleet).is-enhanced .camo-svc-hub__panel h3 { font-size: 1.5rem; }
  .camo-svc-hub:not(.camo-svc-hub--fleet).is-enhanced .camo-svc-hub__panel p { line-height: 1.5; }
}
.camo-hub { padding-top: 6.4375rem; padding-bottom: 3rem; }
@media (max-width: 1023px) { .camo-hub { padding-top: 1.25rem; padding-bottom: 0; } }

/* v2.4: keep the header fixed at the top while scrolling.
   The theme's header sits inside WordPress's template-part wrapper, so the wrapper must be the sticky element. */
header.wp-block-template-part:has(> .camo-header) { position: sticky; top: 0; z-index: 100; }
.admin-bar header.wp-block-template-part:has(> .camo-header) { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part:has(> .camo-header) { top: 0; } }
.camo-header { position: relative; }
/* In-page links (e.g. /contact/#camo-contact) stop below the fixed header */
html { scroll-padding-top: 6rem; }
