/* Bokser JR / Figma 2026-09-25. Content and media remain editable in WordPress. */
:root {
    --bokser-primary: #0b1f50;
    --bokser-dark: #071536;
    --bokser-accent: #e40227;
    --bokser-muted: #f5f6f7;
    --bokser-text: #52638c;
    --bokser-border: #dce0e8;
    --bokser-font: 'Titillium Web', sans-serif;
    --tns-container: 1280px;
    --tns-container-narrow: 800px;
    --tns-container-wide: 1600px;
    --tns-layout-max: 1920px;
    --tns-gutter: clamp(20px, 4vw, 40px);
    --tns-space-sm: clamp(24px, 3vw, 40px);
    --tns-space-md: clamp(40px, 4vw, 60px);
    --tns-space-lg: clamp(64px, 7.15vw, 120px);
    --tns-gap-sm: 24px;
    --tns-gap-md: clamp(24px, 3vw, 40px);
    --tns-gap-lg: clamp(32px, 4.76vw, 80px);
    --tns-gap-xl: clamp(48px, 6vw, 100px);
    --tns-addon-icon-size-small: 40px;
    --tns-addon-icon-size-medium: 68px;
    --tns-addon-icon-size-large: 96px;
    --nav-panel-bg: #fff;
    --nav-panel-color: var(--bokser-primary);
}
body { margin: 0; font: 400 16px/1.5 var(--bokser-font); color: var(--bokser-primary); background: #fff; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
img { max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--bokser-accent); outline-offset: 5px; }
::selection { color: #fff; background: var(--bokser-primary); }
.site-skip { position: absolute; top: 0; left: 1rem; transform: translateY(-150%); z-index: 10000; }
.site-skip:focus { transform: none; background: white; color: var(--bokser-primary); padding: 1rem; }

/* Palette is registered in config/surfaces.php. */
.bg-white { background: #fff; color: var(--bokser-primary); }
.bg-muted { background: var(--bokser-muted); color: var(--bokser-primary); }
.bg-gradient { background: linear-gradient(120deg, #e8e9ec 0%, #fff 65%); color: var(--bokser-primary); }
.bg-navy { background: var(--bokser-dark); color: #fff; --bokser-text: #c3cada; }
.bg-navy .c-subtitle { color: #ff6c82; }
.c-content { --content-gap: 24px; }
.c-heading { font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; }
.c-heading a { text-decoration: none; }
.c-heading a:hover { text-decoration: underline; }
.c-heading, .h-section { font-size: clamp(30px, 3vw, 48px); text-transform: uppercase; }
.h-main, .c-page-header .c-heading.h-default { font-size: clamp(34px, 3.34vw, 56px); text-transform: uppercase; }
.h-large { font-size: clamp(28px, 2.4vw, 40px); text-transform: uppercase; }
.h-normal { font-size: clamp(25px, 1.9vw, 32px); text-transform: none; }
.h-small { font-size: 24px; line-height: 1.4; text-transform: none; }
.h-vsmall { font-size: 20px; line-height: 1.4; text-transform: none; }
.c-subtitle { color: var(--bokser-accent); font-size: 14px; font-weight: 600; letter-spacing: .4em; line-height: 1.5; text-transform: uppercase; }
.c-content__text { color: var(--bokser-text); }
.c-content__text p { margin-block: 0 1em; }
.c-section__intro > .c-content { max-width: 800px; }
.c-section__intro .c-content__text { font-size: 18px; }
.c-section__intro:has(~ *) { margin-bottom: clamp(36px, 3vw, 50px); }
.c-content.align-center .c-subtitle { padding-left: .4em; }

/* Buttons follow the shared renderer, including real optional icons. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 30px; border: 1px solid transparent; border-radius: 0; font-size: 16px; font-weight: 600; line-height: 24px; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.button.appearance-primary { background: var(--bokser-primary); color: #fff; }
.button.appearance-primary:hover { background: var(--bokser-accent); }
.button.appearance-secondary { border-color: currentColor; background: transparent; color: inherit; }
.button.appearance-secondary:hover { background: var(--bokser-primary); color: #fff; border-color: var(--bokser-primary); }
.button.appearance-tertiary { background: #fff; color: var(--bokser-primary); }
.button.appearance-tertiary:hover { background: var(--bokser-accent); color: #fff; }
.button.appearance-text { padding-inline: 0; background: transparent; color: inherit; }
.button.appearance-text:hover { color: var(--bokser-accent); }
.c-button__icon { width: 16px; height: 16px; }
.c-actions { gap: 16px 30px; align-items: center; }

/* Navbar: white bar, shield logo extending below the bar on desktop. */
.c-navbar { background: #fff; color: var(--bokser-primary); border-bottom: 1px solid #f0f1f4; }
.c-navbar.space-reserve, .c-navbar-backdrop { background: #fff; }
.c-navbar__inner { min-height: 120px; }
.c-navbar__logo { position: relative; z-index: 2; max-width: 110px; }
.c-navbar__logo img { width: auto; max-height: 112px; }
.c-navbar:not(.is-mobile) .c-navbar__logo { align-self: flex-start; margin-top: 28px; margin-bottom: -28px; }
.c-navbar a { text-decoration: none; }
.c-navbar .c-nav__row > a { font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.c-navbar .c-nav__row > a:hover, .c-navbar .current-menu-item > .c-nav__row > a { color: var(--bokser-accent); }
.c-navbar .c-nav { gap: 28px; }
.c-navbar .button { font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.c-navbar.is-mobile .c-navbar__inner { min-height: 84px; }
.c-navbar.is-mobile .c-navbar__logo { align-self: flex-start; margin-top: 12px; margin-bottom: -24px; }
.c-navbar.is-mobile .c-navbar__logo img { max-height: 96px; }
.c-navbar.is-mobile .c-navbar__panels { box-shadow: 0 16px 24px #07153615; }

/* Header photographs are selected in Media; no customer image is hardcoded. */
.c-page-header .c-breadcrumbs { margin-bottom: 30px; font-size: 14px; font-weight: 600; }
.c-page-header .c-content__text { max-width: 580px; font-size: 20px; }
.c-page-header.layout-split .c-split { min-height: clamp(440px, 34.5vw, 580px); }
.c-page-header.layout-simple .c-content { max-width: 800px; }
.c-page-header.bg-home { position: relative; isolation: isolate; background: linear-gradient(105deg, #fff 10%, #eceef1 57%, #a0a5b2); padding-block: clamp(80px, 9.8vw, 165px) clamp(64px, 7vw, 120px); }
.c-page-header.bg-home::before, .c-page-header.bg-home::after { content: ''; position: absolute; inset-inline: 0; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.c-page-header.bg-home::before { top: 0; height: clamp(70px, 11vw, 185px); background-image: url('../images/hero-top.svg'); z-index: -1; }
.c-page-header.bg-home::after { bottom: -1px; height: clamp(44px, 8.8vw, 148px); background-image: url('../images/hero-bottom.svg'); z-index: 2; }
.c-page-header.bg-home .c-page-header__media { position: relative; z-index: 1; }
.c-page-header.bg-home .c-page-header__content { position: relative; z-index: 3; }
.c-page-header.bg-home .c-image__img { object-fit: contain; }
/* The supplied header SVGs contain the icon only; the shield is a separate layer. */
.c-page-header.bg-illustration { background: linear-gradient(120deg, #e8e9ec 0%, #fff 65%); padding-block: 0; }
.c-page-header.bg-illustration .c-page-header__content { padding-block: var(--section-space); }
.c-page-header.bg-illustration .c-page-header__media { align-self: end; }
.c-page-header.bg-illustration .c-image__frame { background: url('../images/header-shield.svg?v=20260925.5') center bottom / 100% 100% no-repeat; }
.c-page-header.bg-illustration .c-image__img { object-fit: contain; }
@media (min-width: 861px) {
    .c-page-header.bg-illustration .c-split { gap: 0; min-height: 0; }
    .c-page-header.bg-illustration .c-page-header__content { padding-right: 40px; }
    /* A shared width keeps illustrations equal regardless of the amount of text. */
    .c-page-header.bg-illustration .c-page-header__media { padding-top: 0; }
    .c-page-header.bg-illustration .c-page-header__media > .c-media { width: 100%; max-width: 640px; margin-inline: auto; }
    .c-page-header.bg-illustration .c-image__frame { aspect-ratio: 933 / 700; }
    .c-page-header.bg-illustration .c-image__img { width: 100%; height: 100%; object-position: center bottom; }
}
@media (max-width: 860px) {
    .c-page-header.bg-illustration .c-split { gap: 0; min-height: 0; }
}
@media (min-width: 861px) {
    .c-page-header.bg-gradient.layout-split:has(.mask-header-cut) { padding-block: 0; }
    .c-page-header.bg-gradient:has(.mask-header-cut) .c-split { min-height: 700px; gap: 0; }
    .c-page-header.bg-gradient:has(.mask-header-cut) .c-page-header__content { padding-block: 100px; padding-right: 40px; }
    .c-page-header.bg-gradient:has(.mask-header-cut) .c-page-header__media { align-self: stretch; }
    .c-page-header.bg-gradient:has(.mask-header-cut) .c-page-header__media :is(.c-media, .c-image, .c-image__frame) { height: 100%; }
    .c-page-header.bg-gradient:has(.mask-header-cut) .c-image__img { height: 100%; object-fit: cover; }
    .c-page-header.bg-home:has(.c-split) { padding-block: 0; }
    .c-page-header.bg-home .c-split { min-height: clamp(600px, 47.62vw, 800px); }
    .c-page-header.bg-home .c-page-header__content { align-self: center; padding-block: 100px; }
    .c-page-header.bg-home .c-page-header__media { align-self: end; }
    .c-page-header.bg-home .c-image__frame { max-height: 800px; overflow: hidden; }
    .c-page-header.bg-home .c-image__img { margin-top: -60px; }
}
.mask-shield { mask: url('../images/shield-mask.svg') center / contain no-repeat; }
.mask-header-cut { clip-path: polygon(4% 0, 100% 0, 100% 100%, 2% 100%, 0 77%, 9% 59%, 0 40%); }

/* Editor-selectable collection variants. */
.c-item { min-width: 0; }
.c-item .c-heading.h-default { font-size: 24px; line-height: 1.4; text-transform: none; }
.c-item .c-content { --content-gap: 16px; }
.c-item .c-content__text { font-size: 16px; }
.c-item .button.appearance-text { min-height: 40px; font-size: 14px; padding-block: 8px; }
.c-item.variant-service { padding: clamp(24px, 3vw, 50px); background: var(--bokser-muted); }
.c-item.variant-service:nth-child(even) { background: #fafbfc; }
.c-item.variant-benefit { background: transparent; }
.c-item:is(.variant-service, .variant-benefit) .c-item__media { width: 68px; }
.c-item:is(.variant-service, .variant-benefit) .c-item__media .c-image__frame { aspect-ratio: 1; }
.c-item:is(.variant-service, .variant-benefit) .c-item__media .c-image__img { height: 100%; object-fit: contain; }
.c-item.variant-step .c-item-index { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid var(--bokser-border); border-radius: 50%; font-size: 28px; font-weight: 600; }
.c-item.variant-stat .c-value { padding-top: 26px; background: url('../images/stat-shield.svg') left top / 108px auto no-repeat; }
.c-value__main { font-size: 28px; line-height: 1.3; font-weight: 600; }
.c-value__prefix { color: var(--bokser-accent); }
.c-value__suffix { font-size: .8em; }
.c-item.variant-partner { background: transparent; padding: 12px; }
.c-item.variant-partner .c-image__frame { aspect-ratio: 3 / 1; }
.c-item.variant-partner .c-image__img { width: 100%; height: 100%; object-fit: contain; }
.c-item.variant-testimonial { display: grid; grid-template-columns: 1fr 1fr; background: #fff; color: var(--bokser-primary); }
.c-item.variant-testimonial .c-item__media { height: 100%; }
.c-item.variant-testimonial .c-item__media :is(.c-image, .c-image__frame) { height: 100%; }
.c-item.variant-testimonial .c-image__img { height: 100%; object-fit: cover; }
.c-item.variant-testimonial .c-item__content { padding: clamp(24px, 4vw, 60px); margin: 0; align-self: center; }
.c-item.variant-testimonial .c-heading.h-default { font-size: clamp(24px, 2vw, 32px); }
.bokser-partners { --section-space: 32px; }
.bokser-partners .c-section__intro { margin-bottom: 20px; }
.bokser-partners .c-heading { font-size: 16px; text-transform: none; }
.bokser-partners .c-content { --content-gap: 12px; }
@media (min-width: 1000px) {
    .bokser-partners-home { position: relative; z-index: 4; background: transparent; margin-top: calc(-1 * clamp(240px, 19.05vw, 320px)); margin-bottom: clamp(120px, 11.9vw, 200px); padding-block: 0; }
    .bokser-partners-home > .c-section__container { width: min(38vw, 480px); margin-left: max(var(--tns-gutter), calc((100% - var(--tns-container)) / 2)); margin-right: auto; }
}
.bokser-steps { position: relative; background: linear-gradient(#fff 50%, #e8e9ec); padding-bottom: clamp(100px, 12vw, 200px); }
.bokser-steps::after { content: ''; position: absolute; bottom: -1px; inset-inline: 0; height: clamp(44px, 8.8vw, 148px); background: url('../images/hero-bottom.svg') center / 100% 100% no-repeat; pointer-events: none; }
.bokser-cta { max-width: 1600px; width: calc(100% - 2 * var(--tns-gutter)); margin-inline: auto; }
.bokser-cta .c-content__text { max-width: 480px; }
.bokser-divider { border-top: 1px solid #f0f1f4; }

/* Editorial cards, FAQ, forms and footer share the same visual language. */
.c-query-item { background: var(--bokser-muted); }
.c-query-item__content { padding: 30px; }
.c-query-item__title { margin: 16px 0; font-size: 28px; line-height: 1.3; font-weight: 600; text-transform: none; }
.c-query-item__title a { text-decoration: none; }
.c-query-item__content { display: flex; flex-direction: column; align-items: flex-start; }
.c-query-item__date { order: -1; }
.c-query-item__button.button { background: transparent; color: var(--bokser-primary); padding-inline: 0; font-size: 14px; }
.c-query-item__button.button:hover { color: var(--bokser-accent); }
.c-query-item__date, .c-query-item__terms { font-size: 14px; color: var(--bokser-accent); }
.c-query-item__excerpt { color: var(--bokser-text); font-size: 16px; }
.c-accordion { gap: 0; border-top: 1px solid var(--bokser-border); }
.c-accordion__item { padding-block: 28px; border-bottom: 1px solid var(--bokser-border); }
.c-accordion__title { font-size: 20px; line-height: 1.5; font-weight: 600; }
.c-accordion__indicator { color: var(--bokser-accent); }
.c-accordion__panel { padding-top: 20px; }
.c-contact-group__heading { font-size: 20px; }
.c-contact-entry__label { color: var(--bokser-text); }
.c-section :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]), select, textarea) { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--bokser-border); border-radius: 0; background: #fff; color: var(--bokser-primary); }
.c-section textarea { min-height: 160px; resize: vertical; }
.c-section :is(input[type=checkbox], input[type=radio]) { accent-color: var(--bokser-primary); }
.c-section :is(button[type=submit], input[type=submit]) { min-height: 54px; padding: 14px 30px; border: 0; border-radius: 0; background: var(--bokser-primary); color: #fff; cursor: pointer; }
.c-footer { --tns-footer-space: 0px; position: relative; background: var(--bokser-dark); color: #fff; font-size: 14px; }
.c-footer::before { content: ''; position: absolute; top: 0; left: calc(50% - 6px); height: 30px; width: 12px; border-inline: 3px solid #fff; }
.c-footer__columns { padding-block: clamp(64px, 9vw, 150px); gap: clamp(24px, 5vw, 80px); }
.c-footer__heading { color: #aeb9d0; font-size: 16px; font-weight: 500; margin: 0 0 24px; }
.c-footer__logo img { width: 72px; max-height: 100px; object-fit: contain; }
.c-footer a { text-decoration: none; }
.c-footer a:hover { text-decoration: underline; }
.c-footer ul { list-style: none; padding: 0; margin: 0; }
.c-footer li + li { margin-top: 10px; }
.c-footer__bottom { position: relative; isolation: isolate; padding-block: 30px; border: 0; margin: 0; font-size: 12px; }
.c-footer__bottom::before { content: ''; position: absolute; inset: 0 calc(-1 * max(var(--tns-gutter), (100vw - var(--tns-container)) / 2)); background: var(--bokser-primary); z-index: -1; }
.c-footer .c-contact-entry { font-size: 14px; }
.c-socials { display: flex; flex-wrap: wrap; gap: 16px; }
.c-socials .c-contact-entry { margin: 0; }

@media (max-width: 860px) {
    .c-page-header.bg-home { padding-block: calc(clamp(70px, 11vw, 185px) + 24px) 0; }
    .c-page-header.bg-home .c-content { text-align: center; margin-inline: auto; }
    .c-page-header.bg-home .c-actions { justify-content: center; }
    .c-page-header.bg-home .c-content__text { margin-inline: auto; }
    .c-page-header.bg-home .c-page-header__media { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 767px) {
    .c-subtitle { font-size: 12px; letter-spacing: .25em; }
    .c-page-header .c-content__text, .c-section__intro .c-content__text { font-size: 16px; }
    .c-page-header.bg-home .c-page-header__media { max-width: 640px; margin-inline: auto; }
    .c-page-header.layout-split .c-split { min-height: 0; }
    .c-item.variant-testimonial { grid-template-columns: minmax(0, 1fr); }
    .c-item.variant-testimonial .c-item__media { height: auto; }
    .c-item.variant-testimonial .c-image__frame { aspect-ratio: 4 / 3; }
    .c-item.variant-service { padding: 24px; }
    .c-item .c-heading.h-default { font-size: 22px; }
    .c-actions { gap: 12px 20px; }
    .button { padding-inline: 22px; }
    .mask-header-cut { clip-path: polygon(0 0, 100% 0, 100% 90%, 58% 90%, 50% 100%, 42% 90%, 0 90%); }
    .c-footer__bottom { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
