/* V39 – a shared visual language for reference gallery, chat and admin forms. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:hk39FadeOut .13s ease-out both}
::view-transition-new(root){animation:hk39FadeIn .22s ease-out both}
@keyframes hk39FadeOut{to{opacity:.86}}@keyframes hk39FadeIn{from{opacity:.86;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none!important}*,*::before,*::after{scroll-behavior:auto!important}}
.hk39-eyebrow{display:inline-block;color:#087ab9;font-weight:800;font-size:12px;letter-spacing:.15em;margin-bottom:10px}
.hk39-ref-page{max-width:1240px;margin:0 auto;padding:45px 24px 90px!important}.hk39-ref-hero{background:linear-gradient(110deg,#edf8ff,#fff);border:1px solid #d9e8f7;border-radius:25px;padding:clamp(28px,4vw,58px);box-shadow:0 14px 40px rgba(9,58,117,.05)}
.hk39-ref-hero h1{font-size:clamp(38px,4.5vw,65px);color:#073979;margin:0 0 14px;line-height:1.1;letter-spacing:-.04em}.hk39-ref-hero p{max-width:760px;line-height:1.8;font-size:17px;color:#496882}.hk39-ref-hero>a{display:inline-flex;background:#0879c6;color:white!important;text-decoration:none;padding:14px 22px;border-radius:12px;font-weight:800;margin-top:12px}
.hk39-ref-filter{display:flex;flex-wrap:wrap;gap:8px;margin:30px 0 25px}.hk39-ref-pill{border:1px solid #c9def0;padding:10px 14px;border-radius:999px;color:#134575;background:#fff;font-weight:700;cursor:pointer}.hk39-ref-pill.active{background:#0a65ad;color:#fff;border-color:#0a65ad}.hk39-gallery-section{margin:35px 0}.hk39-gallery-section>h2{font-size:29px;color:#0d346e;margin:15px 0 18px}.hk39-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.hk39-gallery-card{background:#fff;border:1px solid #d8e7f7;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(9,54,110,.06)}.hk39-gallery-card img{display:block;width:100%;height:230px;object-fit:cover}.hk39-gallery-card>div{padding:23px}.hk39-gallery-card small{color:#1078ba;font-weight:750}.hk39-gallery-card h3{font-size:20px;margin:12px 0;color:#0c3872}.hk39-gallery-card p{line-height:1.75;color:#486580;margin:0;white-space:pre-wrap}.hk39-empty-refs{background:#fff;border:2px dashed #cddff1;padding:66px 20px;border-radius:22px;text-align:center;color:#3d6082}.hk39-empty-refs>span{display:block;color:#3c94cb;font-size:50px}.hk39-empty-refs h2{font-size:23px;margin:14px 0;color:#0c3670}.hk39-empty-refs p{max-width:570px;margin:0 auto;line-height:1.8}
.hk39-about-story{display:grid;grid-template-columns:1.28fr .72fr;gap:32px;align-items:center;margin:35px auto 42px!important;padding:26px!important;background:#fff;border:1px solid #dae8f3;border-radius:25px}.hk39-about-intro{padding:16px}.hk39-about-intro h2{font-size:clamp(29px,3vw,42px);line-height:1.18;letter-spacing:-.025em;color:#103a70}.hk39-about-intro p,.hk39-about-promise p{color:#4e6c88;font-size:16px;line-height:1.9}.hk39-about-photo img{width:100%;height:385px;object-fit:cover;border-radius:18px}.hk39-about-values{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:38px!important;padding:0!important}.hk39-about-values article{padding:22px;border-radius:17px;background:#f6fbff;border:1px solid #dceaf5}.hk39-about-values article b{color:#1884c7;font-size:30px}.hk39-about-values h3{color:#0a376d;font-size:20px}.hk39-about-values p{color:#4e6c88;line-height:1.7;font-size:14px}.hk39-about-promise{background:linear-gradient(110deg,#e8f5ff,#fff);border-radius:18px;padding:35px!important;margin-bottom:38px!important}.hk39-about-promise h2{color:#103971;font-size:30px}.hk39-about-promise>a{display:inline-flex;padding:12px 19px;background:#0c73bb;border-radius:11px;color:white!important;text-decoration:none;font-weight:800}
.hk39-ref-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hk39-ref-editor label{display:flex;flex-direction:column;gap:7px;color:#16467e;font-weight:700}.hk39-ref-editor label:nth-child(5),.hk39-ref-editor label:nth-child(6),.hk39-ref-editor>p,.hk39-ref-editor .hk39-action-row{grid-column:1/-1}.hk39-ref-editor input,.hk39-ref-editor select,.hk39-ref-editor textarea,#hk39-chat-categories{width:100%;padding:12px 13px;border:1px solid #bfd4e8;background:white;border-radius:10px;color:#0c3b70;font:inherit}.hk39-ref-editor textarea{min-height:115px}.hk39-ref-editor img{max-width:320px;width:100%;max-height:190px;object-fit:contain;border-radius:10px}.hk39-action-row{display:flex;flex-wrap:wrap;gap:10px}.hk39-ref-admin-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #e2edf6}.hk39-ref-admin-row img{width:96px;height:69px;object-fit:cover;border-radius:9px}.hk39-ref-admin-row>div{flex:1;min-width:0}.hk39-ref-admin-row strong{display:block;color:#0b4275}.hk39-ref-admin-row small{display:block;color:#53718d;margin-top:4px}.hk39-ref-admin-row button{border:1px solid #cde0f2;background:#f4faff;border-radius:9px;color:#0b65a9;padding:9px 11px;font-weight:700;cursor:pointer}.hk39-ref-admin-row button.hk39-delete{color:#bd2a42;border-color:#f0ccce;background:#fff4f5}.hk39-chat-settings{margin-top:20px}.hk39-chat-settings textarea{min-height:170px;font:14px/1.7 ui-monospace,Consolas,monospace}
/* Chat accessible and unobtrusive across all pages. */
.hk39-chat{position:fixed;bottom:22px;right:22px;z-index:2200;font-family:Arial,'Segoe UI',sans-serif}.hk39-launch{display:flex;align-items:center;gap:9px;border:0;background:linear-gradient(115deg,#006bb7,#00a4dc);color:white;padding:14px 19px;border-radius:999px;box-shadow:0 11px 35px rgba(0,79,138,.3);cursor:pointer;font-size:15px;font-weight:800}.hk39-panel{position:absolute;bottom:65px;right:0;width:min(385px,calc(100vw - 28px));max-height:min(75dvh,680px);background:white;border-radius:19px;overflow:hidden;border:1px solid #cddfeb;box-shadow:0 23px 60px rgba(5,34,84,.25);color:#153c69}.hk39-panel[hidden],.hk39-chat-onboard[hidden],.hk39-chat-conversation[hidden]{display:none!important}.hk39-chat-head{padding:16px 18px;background:#073f81;color:white;display:flex;align-items:center;justify-content:space-between;gap:12px}.hk39-chat-head strong{font-size:16px;display:block}.hk39-chat-head small{display:block;color:#c6e6ff;margin-top:5px}.hk39-close{border:0;background:rgba(255,255,255,.15);border-radius:50%;width:34px;height:34px;color:#fff;font-size:24px;cursor:pointer}.hk39-chat-body{padding:17px 17px 12px;max-height:calc(min(75dvh,680px) - 77px);overflow-y:auto}.hk39-chat-onboard{display:grid;gap:11px}.hk39-chat-onboard h3{font-size:19px;margin:0 0 4px}.hk39-step-label{font-size:11px;letter-spacing:.1em;font-weight:800;color:#0875b6}.hk39-chat-onboard label{display:grid;gap:5px;font-size:13px;font-weight:700}.hk39-chat-onboard select,.hk39-chat-onboard input,.hk39-chat-onboard textarea,.hk39-reply textarea{min-width:0;width:100%;background:#fff;border:1px solid #c8dce9;border-radius:10px;color:#173d68;padding:11px;font:14px/1.5 Arial,sans-serif}.hk39-chat-onboard select:focus,.hk39-chat-onboard input:focus,.hk39-chat-onboard textarea:focus{outline:2px solid #75bdea}.hk39-start,.hk39-reply button{border:0;border-radius:11px;padding:13px;background:#087cd0;color:white;font-size:14px;font-weight:800;cursor:pointer}.hk39-chat-onboard small,.hk39-chat-mode{color:#56728b;font-size:11px;line-height:1.5}.hk39-chat-notice{font-size:12px;color:#1672a5;line-height:1.5;min-height:12px}.hk39-chat-mode{margin-bottom:0}.hk39-topic-chip{background:#eaf6ff;border-radius:8px;padding:10px;margin-bottom:12px;color:#065f9c;font-weight:750;font-size:12px}.hk39-messages{height:240px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.hk39-message{max-width:86%;border-radius:13px;padding:10px 12px;line-height:1.55;font-size:13px;white-space:pre-wrap}.hk39-message.guest{align-self:flex-end;background:#0d76bc;color:white}.hk39-message.staff{align-self:flex-start;background:#e7f1fb;color:#164372}.hk39-reply{display:grid;gap:7px}.hk39-reply button:disabled{opacity:.5}
@media(max-width:1260px) and (min-width:1051px){.hk38-header .hk38-menu-button{display:inline-flex;margin-left:auto;order:1}.hk38-header .hk38-cta{order:2}.hk38-header .hk38-nav{display:none;position:absolute;left:16px;right:16px;top:calc(100% + 7px);z-index:200;flex-direction:column;gap:5px;align-items:stretch;background:#fff;box-shadow:0 20px 45px rgba(7,52,109,.2);border:1px solid #d7e7f5;border-radius:16px;padding:10px;max-width:none;max-height:min(70dvh,560px);overflow-y:auto}.hk38-header .hk38-nav.hk38-open{display:flex}.hk38-header .hk38-nav>a{justify-content:flex-start;height:auto!important;padding:12px 14px!important;font-size:14px!important}}
@media(max-width:940px){.hk39-gallery-grid{grid-template-columns:repeat(2,1fr)}.hk39-about-values{grid-template-columns:repeat(2,1fr)}.hk39-about-story{grid-template-columns:1fr}.hk39-about-photo img{height:270px}}
@media(max-width:620px){.hk39-ref-page{padding:22px 15px 60px!important}.hk39-gallery-grid{grid-template-columns:1fr}.hk39-about-values{grid-template-columns:1fr}.hk39-ref-hero p{font-size:15px}.hk39-ref-editor{grid-template-columns:1fr}.hk39-ref-admin-row{flex-wrap:wrap}.hk39-ref-admin-row>div{flex-basis:calc(100% - 116px)}.hk39-chat{bottom:13px;right:11px}.hk39-launch{padding:11px 15px;font-size:13px}.hk39-panel{bottom:56px;max-height:80dvh}.hk39-chat-body{max-height:calc(80dvh - 72px)}}
