/* GENERATED by kd.builder_import.site.build_css from the prototypes + builder_import/css/behaviour-extra.css. Do not edit. */
:root { --bg: #F2F0EB; --alt: #EAE7E1; --ink: #1C1B19; --ink-2: #6A665F; --line: #DCD8D0; --blue: #2A5A8C; --blue-h: #1F4670; --sky: #A9C8E8; --serif: "Instrument Serif", "Times New Roman", Georgia, serif; --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --gutter: 18px; --nav-h: 64px; --sec-top: 56px; --sec-bot: 80px; --ease: cubic-bezier(.2, .7, .2, 1); --edge: max(var(--gutter), calc((100vw - 1600px) / 2 + var(--gutter))); color-scheme: light; scrollbar-color: #C9C4BA var(--bg); }
@media (min-width: 768px) {
  :root { --gutter: 40px; --nav-h: 72px; --sec-top: 72px; --sec-bot: clamp(96px, 9vw, 128px); }
}
@media (min-width: 1280px) {
  :root { --gutter: 56px; }
}
*, ::before, ::after { box-sizing: border-box; }
html { text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0px; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizelegibility; overflow-x: clip; }
@media (min-width: 1024px) {
  body::before { content: ""; position: fixed; inset: 0px; z-index: 300; pointer-events: none; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgb(201, 196, 186); border-radius: 10px; border: 2px solid var(--bg); }
::selection { background: rgba(42, 90, 140, 0.15); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-photo :focus-visible { outline-color: rgb(255, 255, 255); }
.skip:focus { top: 12px; }
.btn:hover svg { transform: translateX(3px); }
.nav::before { content: ""; position: absolute; inset: 0px; z-index: -1; pointer-events: none; transition: background-color 0.25s; }
.nav.is-solid { border-bottom-color: rgba(255, 255, 255, 0.12); box-shadow: rgba(255, 255, 255, 0.08) 0px 1px 0px inset; }
.nav.is-solid::before { background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(20px) saturate(180%); }
.nav:not(.is-light) .nav-links > a:not(.btn), .nav:not(.is-light) .nav-item > a { text-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px; }
.nav:not(.is-light) :focus-visible { outline-color: rgb(255, 255, 255); }
.nav.is-light { color: var(--ink); }
.nav.is-solid.is-light { border-bottom-color: rgba(28, 27, 25, 0.08); box-shadow: none; }
.nav.is-solid.is-light::before { background: rgba(242, 240, 235, 0.6); }
.nav.is-light .nav-links > a:not(.btn), .nav.is-light .nav-item > a, .nav.is-light .nav-chev { color: var(--ink-2); }
.nav.is-light .nav-links > a:not(.btn):hover, .nav.is-light .nav-item > a:hover, .nav.is-light .nav-chev:hover { color: var(--ink); }
.nav.is-light .menu-btn { color: var(--ink); border-color: rgba(28, 27, 25, 0.3); }
.nav:not(.is-light) .nav-links .btn-primary { background: rgba(255, 255, 255, 0.24); border-color: rgba(255, 255, 255, 0.4); color: rgb(255, 255, 255); backdrop-filter: blur(14px) saturate(160%); box-shadow: rgba(255, 255, 255, 0.25) 0px 1px 0px inset; }
.nav:not(.is-light) .nav-links .btn-primary:hover { background: rgba(255, 255, 255, 0.34); border-color: rgba(255, 255, 255, 0.65); }
.nav.is-light .np-card { background: rgb(242, 240, 235); backdrop-filter: none; box-shadow: rgba(28, 27, 25, 0.12) 0px 12px 32px; }
.nav:not(.is-light) .np-card { --ink: #fff; --ink-2: rgba(255, 255, 255, .82); --blue: #fff; --line: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, 0.24); border-color: rgba(255, 255, 255, 0.4); color: rgb(255, 255, 255); backdrop-filter: blur(24px) saturate(160%); box-shadow: rgba(0, 0, 0, 0.18) 0px 12px 32px, rgba(255, 255, 255, 0.25) 0px 1px 0px inset; }
.nav:not(.is-light) .nav-links .nav-panel a.np-link, .nav:not(.is-light) .nav-links .nav-panel a.np-link[aria-current]:not(.btn) { color: rgb(255, 255, 255); }
.nav:not(.is-light) .np-card .np-name { color: rgb(255, 255, 255); }
.nav:not(.is-light) .np-card .np-desc { color: rgba(255, 255, 255, 0.82); }
.nav:not(.is-light) .np-link:hover, .nav:not(.is-light) .np-link:focus-visible { background: rgba(255, 255, 255, 0.12); }
.nav:not(.is-light) .np-link:hover .np-name, .nav:not(.is-light) .np-link:focus-visible .np-name { color: rgb(255, 255, 255); }
.nav:not(.is-light) .nav-links .nav-panel a.np-all { color: rgb(255, 255, 255); border-top-color: rgba(255, 255, 255, 0.3); }
.nav:not(.is-light) .np-card :focus-visible { outline-color: rgb(255, 255, 255); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.is-solid::before { background: rgba(20, 24, 28, 0.85); }
  .nav.is-solid.is-light::before { background: rgba(242, 240, 235, 0.94); }
}
.nav.is-light .wordmark .logo-white { opacity: 0; }
.nav.is-light .wordmark .logo-color { opacity: 1; }
.nav-item.is-open .nav-chev svg { transform: rotate(180deg); }
.nav-item.is-open .nav-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility; }
.np-link:hover .np-name, .np-link:focus-visible .np-name { color: var(--blue); }
.nav .np-card :focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.nav .nav-links .nav-panel a.np-link[aria-current]:not(.btn) { text-decoration: none; color: var(--ink); }
.nav:not(.is-light) .nav-links .nav-panel a:not(.btn) { text-shadow: none; }
.np-link[aria-current] .np-name { text-decoration: underline; text-underline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  .nav-item.is-open .nav-panel, .nav-item:not(.is-open) .nav-panel, .nav-item.is-open .nav-chev svg, .nav-item:not(.is-open) .nav-chev svg { transition: none; }
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transform: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary svg { transform: rotate(45deg); }

/* ---- hand-written ---- */
/* Rules the importer can't put on blocks. Keep each one tied to a reason. */

/* the menu overlay block carries display:none so it stays out of the editor canvas; kd.js removes [hidden] */
.menu:not([hidden]) { display: flex; }

/* links typed into text blocks look like the prototype's links, not Builder's default link colour */
.__text_block__ a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }

/* hovers on inline links inside text blocks (their inline style would otherwise win) */
.foot-grid li a:hover { text-decoration-line: underline !important; }

/* placeholders rendered from page data (CMS fields) */
/* :where keeps these below block styles */
:where(.ph) { font-size: 13px; letter-spacing: .02em; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .8; }
:where(.foot-grid .ph) { color: var(--ink-2); }

/* svg text inside HTML blocks */
.foot-mark text { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }

/* light motion on phones and tablets (kd.js adds .reveal, then .is-in when the element enters) */
@media (max-width: 1023px) {
  .js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js-motion .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
}
