/* Minimal shared base. Each option brings its own identity. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; background: #fff; color: #000; text-decoration: none; }
.skip:focus { top: 12px; }

/* Lite YouTube */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; cursor: pointer; overflow: hidden; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.45)); transition: opacity .3s; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 88px; height: 62px; border: 0; background: none; color: rgba(20,20,20,.82); cursor: pointer; z-index: 2; transition: color .2s, transform .2s; }
.yt:hover .yt-play { color: #e00; transform: scale(1.06); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt-on::after, .yt-on .yt-play { display: none; }

/* Option switcher pill shown on every design */
.opt-switch { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 900; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20,20,20,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 12px/1 system-ui, sans-serif; }
.opt-switch a { color: #fff; text-decoration: none; padding: 8px 11px; border-radius: 999px; opacity: .72; }
.opt-switch a:hover { opacity: 1; }
.opt-switch a[aria-current="page"] { background: #fff; color: #111; opacity: 1; }
@media (max-width: 520px) { .opt-switch a { padding: 8px 9px; } .opt-switch .lbl { display: none; } }

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

/* Client logo (assets/img/logo-original.png), drawn as a mask so each design can colour it.
   Brand khaki is #B5AB84; set --logo-c to override, otherwise it follows the text colour. */
.logo { display: block; width: var(--logo-w, 104px); aspect-ratio: 640 / 277; background-color: var(--logo-c, currentColor);
  -webkit-mask: url(../img/logo-khaki.webp) center / contain no-repeat; mask: url(../img/logo-khaki.webp) center / contain no-repeat; }
@media (forced-colors: active) { .logo { background-color: CanvasText; } }

/* Height of the mobile browser toolbar when it is showing (0 on desktop).
   Full-screen pinned sections use 100lvh and lift their bottom UI by this much. */
:root { --bar: 0px; }
@supports (height: 100lvh) { :root { --bar: calc(100lvh - 100svh); } }

/* Studio credit, last line of every footer */
footer .powered { flex-basis: 100%; font-size: 13px; opacity: .8; }
footer .powered a { text-decoration: underline; text-underline-offset: 3px; }
.site-foot { max-width: 1320px; margin: 0 auto; padding: 24px clamp(16px,4vw,56px) 40px; border-top: 1px solid #D5DAD2; display: flex; color: #5F6B64; }
