/**
 * Home page (2026 refresh) — supplementary utilities.
 *
 * The approved homepage design was authored against the Tailwind Play CDN,
 * which compiles in the browser. Shipping that on the site's primary landing
 * page would mean ~350KB of JavaScript, a flash of unstyled content and an
 * external runtime dependency on the most SEO-critical page we have. So the
 * markup is kept byte-for-byte as designed and the utilities it needs that
 * assets/css/tailwind.css does not already carry are supplied here instead.
 *
 * Loaded on the front page only (see inc/enqueue.php).
 *
 * Conventions copied from the compiled tailwind.css so the two compose
 * correctly rather than fighting each other:
 *   - every rule is prefixed #app-root (the config's `important` selector),
 *     which is what gives compiled utilities their specificity;
 *   - transform / filter / shadow / gradient utilities set the same --tw-*
 *     custom properties and re-declare the same composite value, so mixing
 *     a utility from this file with one from tailwind.css on the same
 *     element still produces one correct combined transform or filter.
 *
 * Design tokens come from the mockup's tailwind.config. NOTE these are NOT
 * the same as the theme's existing brand-primary / brand-secondary:
 *   brand-navy   rgb(4 30 66)    vs theme brand-primary   #03244F
 *   brand-orange #F6550B         == theme brand-secondary #F6550B
 * and the mockup's own "brand-secondary" is a dodger blue that means
 * something entirely different. The token names are therefore left alone —
 * renaming them into the theme's vocabulary would silently recolour things.
 */

/* ============================================================
 * HERO CLEARANCE UNDER THE FIXED HEADER
 *
 * The approved design was authored with its own 90px header sitting in
 * the document flow. This theme's header is `fixed` and overlays the
 * hero, and the hero brings only py-16 (64px) of its own — barely more
 * than the 64px mobile bar. Measured at 390px the headline cleared the
 * header by 29px, where every other page on the site clears 102-105px.
 *
 * Scoped by file: home-2026.css is enqueued for the front page only.
 * At lg and up the hero switches to lg:py-0 and its clearance comes
 * from the padding-top in the next block instead.
 * ============================================================ */
@media (max-width: 1023px) {
    #app-root #site-content > section:first-of-type { padding-top: 8.5rem; }
}

/* ============================================================
 * HERO FILLS THE BROWSER WINDOW (client request 2026-08-04)
 *
 * At lg+ the hero was min-h-[90vh] with the 84px fixed header
 * overlaying its top, so a desktop window showed navy down to 90vh
 * and then a strip of the white section below it, still above the
 * fold — "add the blue to top and bottom so it fills out on browser".
 *
 * 100dvh (100vh fallback for older engines) runs the navy the full
 * height of the window. The header-height padding-top keeps the
 * content optically centred in the band you can actually see, and
 * stops the headline sliding under the fixed bar on short laptops.
 *
 * min-height, not height: on a window too short for the content the
 * section still grows rather than clipping it (it is overflow-hidden).
 * ============================================================ */
@media (min-width: 1024px) {
    #app-root #site-content > section:first-of-type {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 5.25rem;   /* #navbar height at md+ */
    }
}

/* ============================================================
 * COLOUR — background
 * ============================================================ */
#app-root .bg-brand-navy          { background-color: rgb(4 30 66); }
#app-root .bg-brand-navy\/\[0\.03\] { background-color: rgb(4 30 66 / 0.03); }
#app-root .bg-brand-navy\/\[0\.04\] { background-color: rgb(4 30 66 / 0.04); }
#app-root .bg-brand-navy\/5       { background-color: rgb(4 30 66 / 0.05); }
#app-root .bg-brand-navy\/10      { background-color: rgb(4 30 66 / 0.1); }
#app-root .bg-brand-navy\/20      { background-color: rgb(4 30 66 / 0.2); }
#app-root .bg-brand-navy\/40      { background-color: rgb(4 30 66 / 0.4); }

#app-root .bg-brand-orange          { background-color: rgb(246 85 11); }
#app-root .bg-brand-orange\/\[0\.02\] { background-color: rgb(246 85 11 / 0.02); }
#app-root .bg-brand-orange\/\[0\.03\] { background-color: rgb(246 85 11 / 0.03); }
#app-root .bg-brand-orange\/\[0\.04\] { background-color: rgb(246 85 11 / 0.04); }
#app-root .bg-brand-orange\/5       { background-color: rgb(246 85 11 / 0.05); }
#app-root .bg-brand-orange\/10      { background-color: rgb(246 85 11 / 0.1); }
#app-root .bg-brand-orange\/15      { background-color: rgb(246 85 11 / 0.15); }
#app-root .bg-brand-orange\/20      { background-color: rgb(246 85 11 / 0.2); }
#app-root .bg-brand-orange\/30      { background-color: rgb(246 85 11 / 0.3); }
#app-root .bg-brand-orange\/60      { background-color: rgb(246 85 11 / 0.6); }

#app-root .bg-white\/95 { background-color: rgb(255 255 255 / 0.95); }

/* ============================================================
 * COLOUR — text / border / fill
 * ============================================================ */
#app-root .text-brand-navy       { color: rgb(4 30 66); }
#app-root .text-brand-navy\/30   { color: rgb(4 30 66 / 0.3); }
#app-root .text-brand-navy\/40   { color: rgb(4 30 66 / 0.4); }
#app-root .text-brand-navy\/60   { color: rgb(4 30 66 / 0.6); }
#app-root .text-brand-navy\/70   { color: rgb(4 30 66 / 0.7); }
#app-root .text-brand-navy\/80   { color: rgb(4 30 66 / 0.8); }
#app-root .text-brand-orange     { color: rgb(246 85 11); }
#app-root .text-brand-orange\/60 { color: rgb(246 85 11 / 0.6); }

#app-root .border-brand-navy        { border-color: rgb(4 30 66); }
#app-root .border-brand-navy\/5     { border-color: rgb(4 30 66 / 0.05); }
#app-root .border-brand-navy\/10    { border-color: rgb(4 30 66 / 0.1); }
#app-root .border-brand-orange      { border-color: rgb(246 85 11); }
#app-root .border-brand-orange\/5   { border-color: rgb(246 85 11 / 0.05); }
#app-root .border-brand-orange\/10  { border-color: rgb(246 85 11 / 0.1); }
#app-root .border-brand-orange\/20  { border-color: rgb(246 85 11 / 0.2); }
#app-root .border-brand-orange\/30  { border-color: rgb(246 85 11 / 0.3); }

#app-root .border-4      { border-width: 4px; }
#app-root .border-dashed { border-style: dashed; }

#app-root .fill-brand-orange { fill: rgb(246 85 11); }

/* ============================================================
 * CONTRAST (WCAG AA) — audit 2026-07-28.
 *
 * Same correction as the sitewide block in style.css, repeated for this
 * design's own token names. It has to live HERE, not there: this file is
 * enqueued after style.css, so its .text-brand-orange rule above would
 * otherwise win on equal specificity and undo the fix.
 *
 * #C74509 is the least-darkened orange clearing 4.5:1 on both white and
 * the surface tint. Orange inside headings and on dark grounds keeps the
 * brand value — it already passes there, and darkening would hurt.
 *
 * 2026-07-28 - client asked to revert this to the brand orange. NOT
 * actioned; see the matching note in style.css.
 * ============================================================ */
#app-root .text-brand-orange { color: #C74509; }

#app-root :is(h1, h2, h3).text-brand-orange,
#app-root :is(h1, h2, h3) .text-brand-orange,
#app-root .bg-brand-navy .text-brand-orange,
#app-root .bg-brand-dark .text-brand-orange,
#app-root [data-hero="dark"] .text-brand-orange { color: rgb(246 85 11); }

/* Muted variants were 1.9-2.5:1. A 60% orange cannot reach AA at any
   hue, so these take the darkened orange at full strength. */
#app-root .text-brand-orange\/60 { color: #C74509; }
#app-root .text-brand-navy\/30,
#app-root .text-brand-navy\/40,
#app-root .text-brand-navy\/60 { color: rgb(4 30 66 / 0.7); }

/* ============================================================
 * GRADIENTS
 * ============================================================ */
#app-root .bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
#app-root .from-brand-navy\/40 {
  --tw-gradient-from: rgb(4 30 66 / 0.4) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(4 30 66 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
#app-root .via-transparent {
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to);
}
#app-root .to-brand-orange\/10 { --tw-gradient-to: rgb(246 85 11 / 0.1) var(--tw-gradient-to-position); }

/* ============================================================
 * DIVIDE (border between stacked children)
 * ============================================================ */
#app-root :is(.divide-y > :not([hidden]) ~ :not([hidden])) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
#app-root :is(.divide-dashed > :not([hidden]) ~ :not([hidden])) { border-style: dashed; }
#app-root :is(.divide-brand-orange\/20 > :not([hidden]) ~ :not([hidden])) { border-color: rgb(246 85 11 / 0.2); }

/* ============================================================
 * SIZING
 * ============================================================ */
#app-root .w-14 { width: 3.5rem; }
#app-root .w-16 { width: 4rem; }
#app-root .w-28 { width: 7rem; }
#app-root .w-36 { width: 9rem; }
#app-root .w-60 { width: 15rem; }
#app-root .w-72 { width: 18rem; }
#app-root .w-\[75\%\]   { width: 75%; }
#app-root .w-\[102\%\]  { width: 102%; }
#app-root .w-\[106\%\]  { width: 106%; }
#app-root .w-\[340px\]  { width: 340px; }
#app-root .w-\[350px\]  { width: 350px; }
#app-root .w-\[400px\]  { width: 400px; }
#app-root .w-\[700px\]  { width: 700px; }

#app-root .h-14 { height: 3.5rem; }
#app-root .h-28 { height: 7rem; }
#app-root .h-36 { height: 9rem; }
#app-root .h-60 { height: 15rem; }
#app-root .h-72 { height: 18rem; }
#app-root .h-\[103\%\]  { height: 103%; }
#app-root .h-\[106\%\]  { height: 106%; }
#app-root .h-\[350px\]  { height: 350px; }
#app-root .h-\[400px\]  { height: 400px; }
#app-root .h-\[600px\]  { height: 600px; }
#app-root .h-\[700px\]  { height: 700px; }

#app-root .max-w-full        { max-width: 100%; }
#app-root .max-w-\[850px\]   { max-width: 850px; }
#app-root .max-w-\[1440px\]  { max-width: 1440px; }
#app-root .min-h-\[85vh\]    { min-height: 85vh; }
#app-root .flex-shrink-0     { flex-shrink: 0; }

/* ============================================================
 * POSITION
 * ============================================================ */
#app-root .top-3        { top: 0.75rem; }
#app-root .top-6        { top: 1.5rem; }
#app-root .top-10       { top: 2.5rem; }
#app-root .top-12       { top: 3rem; }
#app-root .top-16       { top: 4rem; }
#app-root .-top-48      { top: -12rem; }
#app-root .top-1\/3     { top: 33.333333%; }
#app-root .top-full     { top: 100%; }
#app-root .top-\[4\%\]  { top: 4%; }
#app-root .top-\[10\%\] { top: 10%; }

#app-root .bottom-10       { bottom: 2.5rem; }
#app-root .bottom-12       { bottom: 3rem; }
#app-root .bottom-16       { bottom: 4rem; }
#app-root .-bottom-8       { bottom: -2rem; }
#app-root .-bottom-48      { bottom: -12rem; }
#app-root .bottom-\[10\%\] { bottom: 10%; }

#app-root .left-3        { left: 0.75rem; }
#app-root .left-12       { left: 3rem; }
#app-root .-left-48      { left: -12rem; }
#app-root .left-1\/2     { left: 50%; }
#app-root .left-\[15\%\] { left: 15%; }
#app-root .left-\[25\%\] { left: 25%; }

#app-root .right-10       { right: 2.5rem; }
#app-root .-right-8       { right: -2rem; }
#app-root .-right-48      { right: -12rem; }
#app-root .right-1\/4     { right: 25%; }
#app-root .right-\[12\%\] { right: 12%; }
#app-root .right-\[20\%\] { right: 20%; }
#app-root .right-\[30\%\] { right: 30%; }

#app-root .z-\[110\] { z-index: 110; }

/* ============================================================
 * SPACING
 * ============================================================ */
#app-root .p-5           { padding: 1.25rem; }
#app-root .pt-1          { padding-top: 0.25rem; }
#app-root .pt-5          { padding-top: 1.25rem; }
#app-root .pb-1\.5       { padding-bottom: 0.375rem; }
#app-root .py-3\.5       { padding-top: 0.875rem; padding-bottom: 0.875rem; }
#app-root .pt-\[110px\]  { padding-top: 110px; }
#app-root .pb-\[80px\]   { padding-bottom: 80px; }
#app-root .-mt-4         { margin-top: -1rem; }
#app-root :is(.space-y-5 > :not([hidden]) ~ :not([hidden])) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}

/* ============================================================
 * TYPOGRAPHY
 * ============================================================ */
#app-root .text-\[34px\] { font-size: 34px; }
#app-root .text-\[36px\] { font-size: 36px; }
#app-root .text-\[44px\] { font-size: 44px; }
#app-root .leading-\[1\.02\] { line-height: 1.02; }
#app-root .leading-\[1\.05\] { line-height: 1.05; }
#app-root .leading-\[1\.1\]  { line-height: 1.1; }
#app-root .font-semibold  { font-weight: 600; }
#app-root .tracking-wide  { letter-spacing: 0.025em; }

/* ============================================================
 * RADIUS / SHADOW / FILTER
 * ============================================================ */
#app-root .rounded-sm { border-radius: 8px; }
#app-root .rounded-md { border-radius: 16px; }
/* The organic hero shape: three round corners, one square. */
#app-root .rounded-custom-hero { border-radius: 50% 50% 50% 0px; }

#app-root .shadow-mega {
  --tw-shadow: 0 30px 60px rgba(4, 30, 66, 0.08);
  --tw-shadow-colored: 0 30px 60px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
#app-root .shadow-\[0_40px_80px_-15px_rgba\(4\,30\,66\,0\.15\)\] {
  --tw-shadow: 0 40px 80px -15px rgba(4, 30, 66, 0.15);
  --tw-shadow-colored: 0 40px 80px -15px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

#app-root .blur-\[1px\],
#app-root .blur-\[2px\],
#app-root .blur-\[3px\] {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
#app-root .blur-\[1px\] { --tw-blur: blur(1px); }
#app-root .blur-\[2px\] { --tw-blur: blur(2px); }
#app-root .blur-\[3px\] { --tw-blur: blur(3px); }

#app-root .backdrop-blur-xl {
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
#app-root .mix-blend-screen { mix-blend-mode: screen; }

/* ============================================================
 * TRANSFORM / TRANSITION
 * ============================================================ */
#app-root .-translate-x-1\/2,
#app-root .-translate-y-1\/2 {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
#app-root .-translate-x-1\/2 { --tw-translate-x: -50%; }
#app-root .-translate-y-1\/2 { --tw-translate-y: -50%; }
#app-root .duration-200 { transition-duration: 200ms; }

/* ============================================================
 * HOVER
 * ============================================================ */
#app-root .hover\:bg-brand-navy:hover        { background-color: rgb(4 30 66); }
#app-root .hover\:bg-brand-orange:hover      { background-color: rgb(246 85 11); }
#app-root .hover\:bg-brand-orange\/10:hover  { background-color: rgb(246 85 11 / 0.1); }
#app-root .hover\:text-brand-navy:hover      { color: rgb(4 30 66); }
#app-root .hover\:text-brand-orange:hover    { color: rgb(246 85 11); }
#app-root .hover\:border-brand-orange:hover     { border-color: rgb(246 85 11); }
#app-root .hover\:border-brand-orange\/50:hover { border-color: rgb(246 85 11 / 0.5); }
#app-root .hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
#app-root .hover\:shadow-mega:hover {
  --tw-shadow: 0 30px 60px rgba(4, 30, 66, 0.08);
  --tw-shadow-colored: 0 30px 60px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* ============================================================
 * GROUP-HOVER
 * The design uses one named group (group/badge) but only unnamed
 * group-hover: variants, so both act as the hover source here.
 * ============================================================ */
#app-root :is(.group, .group\/badge):hover .group-hover\:bg-brand-orange      { background-color: rgb(246 85 11); }
#app-root :is(.group, .group\/badge):hover .group-hover\:text-brand-orange    { color: rgb(246 85 11); }
#app-root :is(.group, .group\/badge):hover .group-hover\:text-brand-orange\/80 { color: rgb(246 85 11 / 0.8); }
#app-root :is(.group, .group\/badge):hover .group-hover\:gap-3 { gap: 0.75rem; }
#app-root :is(.group, .group\/badge):hover .group-hover\:pl-2  { padding-left: 0.5rem; }

/* ============================================================
 * ANIMATION
 * ============================================================ */
@keyframes rise-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
#app-root .animate-pulse { animation: rise-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* tailwindcss-animate's enter animation, used by the dropdown panels. */
@keyframes rise-enter {
  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0);
  }
}
#app-root .animate-in {
  animation-name: rise-enter;
  animation-duration: 150ms;
  animation-fill-mode: both;
}
#app-root .fade-in { --tw-enter-opacity: 0; }
#app-root .slide-in-from-top-2 { --tw-enter-translate-y: -0.5rem; }

@media (prefers-reduced-motion: reduce) {
  #app-root .animate-pulse,
  #app-root .animate-in { animation: none; }
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (min-width: 640px) {
  #app-root .sm\:inline-block     { display: inline-block; }
  #app-root .sm\:whitespace-nowrap { white-space: nowrap; }
  #app-root .sm\:text-xl          { font-size: 1.25rem; line-height: 1.75rem; }
  #app-root .sm\:text-\[60px\]    { font-size: 60px; }
  #app-root .sm\:w-\[320px\]      { width: 320px; }
  #app-root .sm\:w-\[480px\]      { width: 480px; }
  #app-root .sm\:h-\[320px\]      { height: 320px; }
}

@media (min-width: 768px) {
  #app-root .md\:text-\[20px\] { font-size: 20px; }
  #app-root .md\:text-\[46px\] { font-size: 46px; }
  #app-root .md\:text-\[50px\] { font-size: 50px; }
  #app-root .md\:text-\[58px\] { font-size: 58px; }
  #app-root .md\:text-\[76px\] { font-size: 76px; }
}

@media (min-width: 1024px) {
  #app-root .lg\:gap-8          { gap: 2rem; }
  #app-root .lg\:justify-end    { justify-content: flex-end; }
  #app-root .lg\:overflow-visible { overflow: visible; }
  #app-root .lg\:px-10          { padding-left: 2.5rem; padding-right: 2.5rem; }
  #app-root .lg\:py-0           { padding-top: 0; padding-bottom: 0; }
  #app-root .lg\:pt-8           { padding-top: 2rem; }
  #app-root .lg\:mt-4           { margin-top: 1rem; }
  #app-root .lg\:-mt-6          { margin-top: -1.5rem; }
  #app-root .lg\:min-h-\[90vh\] { min-height: 90vh; }
  #app-root .lg\:w-\[520px\]    { width: 520px; }
  #app-root .lg\:text-\[68px\]  { font-size: 68px; }
  #app-root .lg\:translate-y-8 {
    --tw-translate-y: 2rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }
}

@media (min-width: 1280px) {
  #app-root .xl\:col-span-5   { grid-column: span 5 / span 5; }
  #app-root .xl\:col-span-7   { grid-column: span 7 / span 7; }
  #app-root .xl\:w-\[580px\]  { width: 580px; }
  #app-root .xl\:text-\[74px\] { font-size: 74px; }
}
