@font-face{font-family:UKFB Bungee;src:url('/assets/bungee-regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:UKFB Dyslexic;src:url('/assets/opendyslexic-latin-400-normal.woff2') format('woff2');font-display:swap}
.hero h1,.route-mast h1,.section h2 {font-family:UKFB Bungee,system-ui,sans-serif;letter-spacing:-.025em;font-weight:400}
html{font-size:calc(16px * var(--ukfb-text-scale,1))}
html.ukfb-a11y-grayscale{filter:grayscale(1)} html.ukfb-a11y-invert{filter:invert(1) hue-rotate(180deg)}
html.ukfb-a11y-contrast{filter:contrast(1.45)} html.ukfb-a11y-underline a{text-decoration:underline!important}
html.ukfb-a11y-plain body,html.ukfb-a11y-plain :is(h1,h2,h3,p,a,button,label,input,textarea){font-family:Arial,sans-serif!important;letter-spacing:normal}
html.ukfb-a11y-dyslexia body,html.ukfb-a11y-dyslexia :is(h1,h2,h3,p,a,button,label,input,textarea){font-family:UKFB Dyslexic,sans-serif!important;letter-spacing:normal}
html.ukfb-a11y-motion *,html.ukfb-a11y-motion *::before,html.ukfb-a11y-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
.ukfb-a11y-open.btn.arc-theme-circle{display:grid;place-items:center;position:relative;isolation:isolate;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;margin:0 4px 8px;border:0;background:transparent;--u:2px;--d:8px;--arc-face-h:40px;--arc-shift:19px;--face:var(--bg-2);--hi:#ad93c5;--lo:#412d51;--line:#190d24;color:var(--ink)}
.ukfb-a11y-open .btn-text{font-style:normal;font-size:20px}
.ukfb-a11y-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(390px,100%);max-width:100%;height:100%;max-height:100%;overflow:auto;border:4px solid #a577bd;background:#20142d;color:#fff5fb;padding:22px;box-shadow:-8px 0 #130d1b;font:16px/1.4 system-ui,sans-serif}
.ukfb-a11y-dialog::backdrop{background:#10091acc}.ukfb-a11y-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.ukfb-a11y-head h2{font:16px/1.5 "UKFB Pixel",monospace}.ukfb-a11y-dialog button{border:2px solid #a577bd;background:#4b3263;color:#fff;padding:7px 12px;cursor:pointer}.ukfb-a11y-dialog button:focus-visible,.ukfb-a11y-dialog input:focus-visible{outline:3px solid #f5d75c;outline-offset:3px}.ukfb-a11y-scale,.ukfb-a11y-options label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:2px dashed #76538a}.ukfb-a11y-scale span{flex:1}.ukfb-a11y-options{margin-bottom:18px}.ukfb-a11y-options input{width:22px;height:22px;accent-color:#c38dff}

/* Keep the title legible over the scene in either site theme. */
main :is(h1,h2){font-family:UKFB Bungee,system-ui,sans-serif;letter-spacing:-.025em;font-weight:400}
.front .hero h1{font-size:clamp(1.6rem,5vw,4.5rem)}
html[data-ukfb-theme=light] .front .hero[data-scene-active=true] .hero-text{color:#fff6ff}
html[data-ukfb-theme=light] .front .hero[data-scene-active=true] .hero-text .eyebrow{color:#c4f2cf}
@media(max-width:365px){.ukfb-header .ukfb-brand img{width:34px}.ukfb-header .ukfb-wordmark{font-size:6px}.ukfb-header .ukfb-brand{gap:3px}.ukfb-header .ukfb-social{gap:2px}.ukfb-a11y-open.btn.arc-theme-circle{margin-inline:1px}}

html[data-ukfb-theme=light] .front .hero[data-scene-active=true] .hero-text h1{color:#fff6ff}
@media(max-width:730px){.front .hero h1{font-size:clamp(1.55rem,7vw,3.2rem)}}

/* Daylight reaches the sky and the scene, while a soft shade keeps copy legible. */
html[data-ukfb-theme=light] .voxel-stage{background:radial-gradient(ellipse at 68% 38%,#fff0bd88,transparent 55%),linear-gradient(180deg,#7cb9d4 0%,#b3d8dd 54%,#cfbdad 100%)}
html[data-ukfb-theme=light] .voxel-stage::after{background:linear-gradient(90deg,#21152af5 1%,#24172be6 25%,#292031aa 39%,#42344a22 58%,transparent 74%),linear-gradient(180deg,#a5c9d422,transparent 30% 80%,#49344055 100%)}
@media(max-width:730px){html[data-ukfb-theme=light] .voxel-stage::after{background:linear-gradient(180deg,#21152afa 3%,#24172bf3 31%,#292031c9 46%,#42344a22 65%,transparent 82%,#49344055 100%)}}

/* Pixel controls use the same socket, rim and moving cap as the site keys. */
.ukfb-a11y-open .btn-text svg{display:block;width:19px;height:19px}
.ukfb-a11y-dialog{border:4px solid #b68ad0;background:#1c1528;box-shadow:inset 4px 4px #493253,inset -4px -4px #110c1a,-8px 0 #130d1b;padding:20px 24px 28px}
.ukfb-a11y-head{padding:4px 0 14px;border-bottom:4px solid #685078}
.ukfb-a11y-kicker{display:block;color:#f6d969;font:8px/1.6 "UKFB Pixel",monospace;letter-spacing:.04em}
.ukfb-a11y-head h2{margin:8px 0 0;font:13px/1.6 "UKFB Pixel",monospace;color:#fff3ff}
.ukfb-a11y-dialog p{color:#dac9de;font-size:14px;line-height:1.5;margin:17px 0}
.ukfb-a11y-dialog .btn.ukfb-panel-key{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-height:40px;height:40px;min-width:44px;border:0;background:transparent;box-shadow:none;padding:0 13px;margin:2px 4px 10px;cursor:pointer;--u:2px;--d:8px;--arc-face-h:40px;--arc-shift:19px;--face:#664183;--hi:#b88bdf;--lo:#3b2852;--line:#100c18;color:#fff;font:9px/1.3 "UKFB Pixel",monospace}
.ukfb-a11y-dialog .ukfb-panel-key[data-close],.ukfb-a11y-dialog .ukfb-panel-key[data-scale]{font:22px/1 system-ui,sans-serif;padding:0}
.ukfb-a11y-dialog .ukfb-panel-key[data-reset]{--face:#f0cd50;--hi:#fff4a7;--lo:#b5891e;--line:#2f210a;color:#211506;margin-top:8px}
.ukfb-a11y-scale,.ukfb-a11y-options label{min-height:52px;border-bottom:2px dashed #76538a}
.ukfb-a11y-scale output{min-width:42px;text-align:center;color:#f6d969;font:9px/1.4 "UKFB Pixel",monospace}
.ukfb-a11y-options label{cursor:pointer}
.ukfb-a11y-options input{appearance:none;flex:none;width:42px;height:24px;border:3px solid #9c7aae;border-radius:0;background:#2a1d39;position:relative;cursor:pointer;box-shadow:2px 2px #0d0912}
.ukfb-a11y-options input::before{content:"";position:absolute;width:12px;height:12px;left:3px;top:3px;background:#c6b5d0}
.ukfb-a11y-options input:checked{border-color:#f3d35e;background:#604476}
.ukfb-a11y-options input:checked::before{left:21px;background:#f7dc6a}
