/* First-release improvements. Desktop header geometry remains based on style.css. */
:root { --wr-header-offset: 195px; }
html { scroll-padding-top: var(--wr-header-offset); }
section[id], main[id] { scroll-margin-top: 16px; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #ad7c00; outline-offset: 5px; }
main[tabindex="-1"]:focus, section[tabindex="-1"]:focus { outline: none; }
.wr-skip-link { position: fixed; top: 8px; left: 12px; z-index: 1000; background: white; color: var(--navy); padding: 12px 18px; border-radius: 8px; transform: translateY(-160%); }
.wr-skip-link:focus { transform: translateY(0); }
.wr-menu-toggle, .wr-mobile-contact, .nav-links .wr-mobile-audience, .wr-contact-bar { display: none; }
.dropdown-toggle::after { content: none; }
.wr-submenu-toggle { background: transparent; border: 0; color: #9a7100; width: 20px; height: 22px; margin-left: 1px; margin-right: -11px; font-size: 11px; border-radius: 5px; }
.nav-dropdown.is-open .dropdown-menu { display: block; }
/* Focus and click behaviour are managed in site.js; hover remains available on desktop. */
@media (min-width: 761px) { .nav-cta { min-width: 157px; text-align: center; } }
.wr-section .section-head { margin-bottom: 34px; }
.wr-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.wr-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.wr-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.wr-card .section-eyebrow { margin: 0; }
.wr-card h3 { color: var(--navy); font-size: 25px; font-weight: 600; line-height: 1.22; letter-spacing: -.025em; }
.wr-card p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.wr-card .wr-text-link { margin-top: auto; }
.wr-text-link, .service-card > a:not(.btn) { color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--yellow-dark); text-underline-offset: 5px; }
.wr-text-link:hover, .service-card > a:not(.btn):hover { color: #805b00; }
.wr-iso-strip { background: #fff; border-block: 1px solid var(--line); }
.wr-iso-strip .container { padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wr-iso-strip strong { color: var(--navy); font-size: 17px; }
.wr-iso-strip span { color: var(--muted); font-size: 14px; }
.wr-iso-strip div > span { margin-left: 18px; }
.wr-iso-strip a { color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: underline; text-decoration-color: var(--yellow-dark); text-underline-offset: 5px; }
.wr-callout { max-width: 950px; margin-inline: auto; text-align: center; }
.wr-callout p { font-size: 17px; line-height: 1.8; color: var(--muted); margin-bottom: 22px; }
.wr-callout h3 { font-size: 24px; color: var(--navy); margin-bottom: 15px; }
.wr-callout .hero-actions { justify-content: center; }
.wr-soft { background: #fff; border: 1px solid var(--line); padding: 38px; border-radius: 22px; }
.wr-navy { background: #152d45; color: #fff; }
.wr-navy h2 { color: #fff; }
.wr-navy .section-eyebrow { color: #e8bb45; }
.wr-navy .wr-callout p { color: #e4eaf0; }
.wr-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 32px; }
.wr-tags span { padding: 12px 20px; background: white; border: 1px solid var(--line); border-radius: 30px; font-weight: 600; color: var(--navy); }
.wr-footer { padding: 50px 0 0; text-align: left; background: #152d45; color: #e3e9ef; }
.wr-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr; gap: 32px; padding-bottom: 36px; }
.wr-footer h2 { font-size: 14px; font-weight: 600; margin-bottom: 18px; color: #fff; letter-spacing: 0; }
.wr-footer-brand { font-size: 21px; color: #fff; }
.wr-footer p { font-size: 13px; line-height: 1.8; margin-top: 12px; color: #e3e9ef; }
.wr-footer a { color: #e3e9ef; display: block; font-size: 13px; margin-bottom: 12px; width: fit-content; overflow-wrap: anywhere; }
.wr-footer a:hover { color: #f3c54d; text-decoration: underline; }
.wr-footer-bottom { border-top: 1px solid #ffffff25; padding: 20px 0; font-size: 12px; text-align: center; }
.wr-contact-intro { padding-top: 68px; }
.wr-contact-intro h1 { color: var(--navy); font-size: clamp(34px,3.3vw,46px); line-height: 1.14; letter-spacing: -.025em; font-weight: 600; margin: 10px 0 20px; }
.wr-contact-intro .section-head p { max-width: 700px; margin-inline: auto; }
.wr-contact-card h2 { font-size: 28px; line-height: 1.2; color: var(--navy); font-weight: 600; }
.wr-contact-value { font-size: clamp(17px,2vw,23px); color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.wr-contact-card .btn { margin-top: 8px; }
/* Compact enquiry actions, preserving generous tap targets. */
a.btn[href^="contact.html"], .wr-contact-card .btn {
 min-width: 0;
 min-height: 44px;
 width: fit-content;
 padding: 10px 20px;
 border-radius: 999px;
 font-size: 13px;
 box-shadow: 0 4px 12px #0f2a440a;
}
.wr-email-help { font-size: 14px; color: var(--muted); text-align: center; max-width: 740px; margin: 24px auto 0; }
.wr-enquiry-context { padding: 15px 24px; background: #fff6da; color: var(--navy); border: 1px solid #ead59c; border-radius: 12px; max-width: 800px; margin: 0 auto 30px; text-align: center; }
[hidden] { display: none !important; }
/* Bring the existing certification band into the shared inner-page type scale. */
html body .compliance-cert-content h2 { font-size: clamp(30px,3.5vw,44px) !important; font-weight: 600 !important; line-height: 1.15 !important; letter-spacing: -.025em !important; }
@media (max-width: 1050px) { .wr-grid-three { grid-template-columns: repeat(2,minmax(0,1fr)); } .wr-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
/* All header size/layout overrides are restricted to mobile. */
@media (max-width: 760px) {
 :root { --wr-header-offset: 94px; }
 body { padding-bottom: calc(88px + env(safe-area-inset-bottom,0px)); }
 .navbar .nav-wrap { min-height: 78px; padding-block: 10px; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 12px; text-align: left; }
 .navbar .brand { width: auto; margin-right: auto; justify-content: flex-start; }
 .navbar .brand img[src*="logo"] { width: 104px !important; max-width: 104px; height: 52px !important; margin: 0; object-fit: contain; }
 .wr-mobile-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 14px; border-radius: 24px; color: #fff; background: var(--navy); font-size: 13px; font-weight: 600; }
 .wr-menu-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 9px; border-radius: 8px; border: 1px solid #d5dce3; background: #fff; color: var(--navy); font-size: 13px; font-weight: 600; }
 .wr-menu-lines, .wr-menu-lines::before, .wr-menu-lines::after { display: block; height: 2px; width: 15px; background: var(--navy); position: relative; }
 .wr-menu-lines::before, .wr-menu-lines::after { content: ''; position: absolute; left: 0; }
 .wr-menu-lines::before { top: -5px; } .wr-menu-lines::after { top: 5px; }
 .navbar .nav-links { display: none; flex: 0 0 100%; width: 100%; gap: 0; padding: 8px 0 12px; max-height: calc(100dvh - 150px); overflow-y: auto; overflow-x: hidden; border-top: 1px solid var(--line); text-align: left; align-items: stretch; }
 .navbar .nav-links.is-open { display: flex; flex-direction: column; flex-wrap: nowrap; }
 .navbar .nav-links > a { padding: 12px 10px; min-height: 46px; border-radius: 8px; }
 .navbar .nav-links .nav-cta { margin: 8px 0; text-align: center; }
 .navbar .nav-links .wr-mobile-audience { display: block; font-weight: 600; }
 .navbar .nav-dropdown { display: grid; grid-template-columns: 1fr 48px; width: 100%; padding: 0; align-items: center; }
 .navbar .nav-dropdown::after { display: none; }
 .navbar .dropdown-toggle { padding: 12px 10px; }
 .navbar .wr-submenu-toggle { margin: 0; height: 44px; width: 44px; background: #f4f6f8; font-size: 15px; }
 .navbar .nav-dropdown .dropdown-menu { grid-column: 1 / -1; position: static; transform: none; min-width: 0; width: 100%; margin: 0 0 8px; box-shadow: none; padding: 6px; }
 .navbar .nav-dropdown:hover:not(.is-open) .dropdown-menu { display: none; }
 .navbar .nav-dropdown.is-open .dropdown-menu { display: block; }
 .navbar .dropdown-menu a { min-height: 44px; padding: 13px 14px; white-space: normal; }
 .wr-grid, .wr-grid-three { grid-template-columns: 1fr; gap: 18px; }
 .wr-card { padding: 26px; }
 .wr-card h3 { font-size: 23px; }
 .wr-iso-strip .container { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 21px; }
 .wr-iso-strip div > span { display: block; margin: 6px 0 0; line-height: 1.6; }
 .wr-callout p { font-size: 16px; }
 .wr-soft { padding: 26px; }
 .wr-footer-grid { grid-template-columns: 1fr; gap: 25px; }
 .wr-footer { padding-top: 36px; }
 .wr-footer h2 { margin-bottom: 12px; }
 .wr-contact-bar { position: fixed; bottom: calc(14px + env(safe-area-inset-bottom,0px)); left: 50%; transform: translateX(-50%); width: 284px; max-width: calc(100% - 32px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 5px; z-index: 120; background: #fffffff5; border: 1px solid #dce3e9; border-radius: 999px; box-shadow: 0 8px 28px #0f2a4426; padding: 5px; }
 .wr-contact-bar a { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--navy); background: #f0f4f7; white-space: nowrap; }
 .wr-contact-bar a + a { background: #ecc044; color: #132c43; box-shadow: 0 2px 7px #99710015; }
 .wr-contact-bar a:hover { filter: brightness(.97); }
 html body .compliance-cert-content h2 { font-size: 30px !important; }
 .wr-contact-card .btn { width: fit-content; }
 .wr-contact-intro { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 760px) {
 /* The original square SVG has generous internal space; crop that space, not the mark. */
 .navbar .brand { width: 110px; height: 54px; overflow: hidden; flex-shrink: 0; }
 .navbar .brand img[src*="logo"] { width: 110px !important; max-width: 110px; height: 110px !important; flex-shrink: 0; }
}
@media (max-width: 360px) {
 .navbar .brand { width: 90px; }
 .navbar .brand img[src*="logo"] { width: 100px !important; max-width: 100px; height: 100px !important; }
 .wr-mobile-contact { padding-inline: 12px; }
}
