/* KA’AN · one footer for every page. Same HTML on every page; these rules are
   deliberately specific so older page styles for `footer` never apply. */
footer.kaan-footer{display:block;background:#f4f0e7;color:#182b43;padding:clamp(56px,6vw,96px) clamp(24px,5vw,100px) 32px;font:400 16px/1.5 Archivo,Arial,sans-serif;border-top:1px solid rgba(24,43,67,.14);grid-template-columns:none}
footer.kaan-footer *{box-sizing:border-box}
footer.kaan-footer a,footer.kaan-footer button{color:inherit;font:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-decoration:none;opacity:1}
footer.kaan-footer .kf-brand{display:inline-block;margin:0 0 clamp(36px,4vw,56px)}
footer.kaan-footer .kf-brand img{display:block;width:150px;height:auto}
footer.kaan-footer .kf-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px clamp(24px,4vw,64px);align-items:start}
footer.kaan-footer .kf-col{display:block;min-width:0}
footer.kaan-footer .kf-title{font:500 .72rem/1.3 Archivo,Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#6b7a7d;margin:0 0 14px;padding:0}
footer.kaan-footer ul{list-style:none;margin:0;padding:0}
footer.kaan-footer li{margin:0;padding:0;font-size:.95rem;line-height:2}
footer.kaan-footer li a:hover,footer.kaan-footer li button:hover{text-decoration:underline;text-underline-offset:5px}
footer.kaan-footer .kf-note{display:block;margin:clamp(40px,4vw,60px) 0 0;max-width:none;font-size:.74rem;line-height:1.7;color:#6b7a7d;opacity:1}
footer.kaan-footer .kf-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:clamp(40px,4vw,60px);padding-top:18px;border-top:1px solid rgba(24,43,67,.16)}
footer.kaan-footer .kf-note+.kf-bottom{margin-top:16px}
footer.kaan-footer .kf-copy{margin:0;font-size:.78rem;letter-spacing:.04em;color:#6b7a7d;opacity:1;max-width:none}
footer.kaan-footer .kf-lang{display:flex;align-items:center;gap:8px;font-size:.78rem;letter-spacing:.08em;color:#6b7a7d}
footer.kaan-footer .kf-lang button{padding:4px 2px}
footer.kaan-footer .kf-lang button[aria-pressed=true]{color:#182b43;text-decoration:underline;text-underline-offset:5px}
footer.kaan-footer a:focus-visible,footer.kaan-footer button:focus-visible{outline:2px solid #c99a42;outline-offset:3px}
@media(max-width:1000px){footer.kaan-footer .kf-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){footer.kaan-footer .kf-cols{grid-template-columns:1fr;gap:30px}footer.kaan-footer .kf-bottom{flex-direction:row}}

/* legal links */
.kf-copy a{color:inherit;text-decoration:underline;text-underline-offset:3px}.form-privacy{font-size:.76rem;opacity:.75;margin:6px 0 0;grid-column:1/-1}.form-privacy a{text-decoration:underline}

/* v25 · the one arrow of KA'AN: a fine line with an end stroke (never a text character — iPhone turns those into emoji).
   Directions: --e (right), --ne (external link), --se, --down, --w (back). Colour follows the text. */
.ka-arrow{display:inline-block;width:1em;height:.62em;vertical-align:.04em;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:square;flex:none}
.ka-arrow path{vector-effect:non-scaling-stroke}
.ka-arrow--ne{transform:rotate(-45deg)}.ka-arrow--se{transform:rotate(45deg)}.ka-arrow--down{transform:rotate(90deg)}.ka-arrow--w{transform:rotate(180deg)}
.arrow .ka-arrow{width:1.05em}

/* v26 · social links: fine line icons, quiet */
.kf-social{list-style:none;margin:28px 0 0;padding:0;display:flex;gap:6px}
.kf-social a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:inherit;opacity:.72;transition:opacity .2s}
.kf-social a:hover,.kf-social a:focus-visible{opacity:1}
.kf-social svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}
video::-webkit-media-controls-start-playback-button,video::-webkit-media-controls-overlay-play-button{display:none!important;-webkit-appearance:none;opacity:0}

/* v22 · Maya blue (#3F7FA2) as the accent, with restraint. It reaches 3.97:1 on #F6F3EC and 3.25:1 on #182B43,
   so it is used only where WCAG asks for 3:1 (large numerals, rules, underlines, icons) — never for small text.
   Ochre stays a point (dots, the apostrophe, the active pin). */
.desktop-nav a:after{background:#3f7fa2!important}
.scroll-track i{background:#3f7fa2}
.kicker:before{background:#3f7fa2}
.advisor{background:radial-gradient(120% 90% at 100% 100%,rgba(63,127,162,.30),rgba(63,127,162,0) 62%),#182b43}
.mobile-menu>p{color:rgba(237,233,223,.66)!important}
.route-link{transition:border-color .3s}.home-route:hover .route-link{border-color:#3f7fa2!important}
footer.kaan-footer a:hover{text-decoration-color:#3f7fa2}
.process-lines,.process-lines article{border-color:rgba(63,127,162,.35)}

/* Shared advance indicator, including the longer line used for Discover KA’AN. */
:root{--ka-ease:cubic-bezier(.16,1,.3,1);--ka-maya:#3f7fa2}
.ka-arrow{--ka-x:1;--ka-y:0;translate:calc(var(--ka-x) * var(--ka-push,0px)) calc(var(--ka-y) * var(--ka-push,0px));color:var(--ka-arrow-color,currentColor);transition:translate .4s var(--ka-ease),color .4s var(--ka-ease)}
.ka-arrow--ne{--ka-x:.707;--ka-y:-.707}.ka-arrow--se{--ka-x:.707;--ka-y:.707}.ka-arrow--down{--ka-x:0;--ka-y:1}.ka-arrow--w{--ka-x:-1}
.ka-arrow path{transform-box:fill-box;transform-origin:left center;transform:scaleX(var(--ka-grow,1));animation:ka-arrow-idle 5s ease-in-out infinite;transition:transform .4s var(--ka-ease)}
.link-line{flex:none;transform-origin:left;transform:scaleX(var(--ka-grow,1));transition:transform .4s var(--ka-ease),background-color .4s var(--ka-ease);animation:ka-arrow-idle 5s ease-in-out infinite}
.link-line,.link-line::after{background-color:var(--ka-arrow-color,currentColor)}
.link-line::after{transition:background-color .4s var(--ka-ease)}
@keyframes ka-arrow-idle{0%,100%{translate:0 0}50%{translate:.65px 0}}
:is(a,button):not(:disabled):is(:focus-visible,:active),.collection-project:focus-within .collection-link{--ka-push:4px;--ka-grow:1.16;--ka-arrow-color:var(--ka-maya)}
@media(hover:hover){
 :is(a,button):not(:disabled):hover,.collection-project:hover .collection-link{--ka-push:4px;--ka-grow:1.16;--ka-arrow-color:var(--ka-maya)}
}
.km-group .ka-arrow{width:.65em;margin-inline-start:.25em}
@media(prefers-reduced-motion:reduce){
 .ka-arrow,.ka-arrow path,.link-line,.link-line::after{animation:none;transition:none}
 .ka-arrow{translate:none}
 .ka-arrow path,.link-line{transform:none}
}
.no-motion :is(.ka-arrow path,.link-line){animation:none}

footer.kaan-footer .kf-email{display:inline-block;max-width:100%;overflow-wrap:anywhere}
.km-group a[href^="mailto:"]{font-family:Archivo,Arial,sans-serif;font-size:clamp(.88rem,2vw,1rem);overflow-wrap:anywhere}
