/* Reference design system, scoped under .hbref (collision-proof). Generated. */

.hbref{--paper:#fffdf8; --ink:#231a12; --ink2:#3a2e22; --ink3:#544738;
  --orange:#f2541b; --orange-d:#b8430f; --orange-dd:#a83a0c;
  --yellow:#ffd23f; --cream:#ffe9c7;
  --teal:#1fae8f; --blue:#6a8bff; --purple:#8a6bd1; --pink:#e0556f;
  --sh:rgba(35,26,18,.12);
  --sora:'Sora',sans-serif; --body:'Plus Jakarta Sans',sans-serif; --mono:'Space Mono',monospace;}

.hbref *{margin:0;padding:0;box-sizing:border-box}

.hbref{scroll-behavior:smooth}

.hbref{font-family:var(--body);background:var(--paper);color:var(--ink);line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}

.hbref a{color:inherit;text-decoration:none}

.hbref img{max-width:100%;display:block}

.hbref .wrap{max-width:1280px;margin:0 auto;padding:0 clamp(16px,4vw,40px)}

.hbref .mono{font-family:var(--mono)}

.hbref h1,.hbref h2,.hbref h3,.hbref h4{font-family:var(--sora);font-weight:800;letter-spacing:-.02em;line-height:1.08}



.hbref .ticker{background:#231a12;color:var(--cream);overflow:hidden;position:relative;z-index:60}

.hbref .ticker .track{display:flex;white-space:nowrap;align-items:center;font-family:var(--mono);
  font-size:.74rem;letter-spacing:.08em;font-weight:700;
  -webkit-mask:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  mask:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}

.hbref .ticker .run{display:inline-flex;gap:54px;padding:9px 0 9px 54px;animation:tick 30s linear infinite}

.hbref .ticker .run span{display:inline-flex;align-items:center;gap:10px}

.hbref .ticker .run span i{color:var(--yellow);font-style:normal}

@keyframes tick{to{transform:translateX(-50%)}}



.hbref header.site{position:sticky;top:0;z-index:50;background:rgba(255,253,248,.92);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:2px solid var(--ink)}

.hbref .hd{display:flex;align-items:center;gap:22px;padding:11px clamp(16px,4vw,40px);max-width:1320px;margin:0 auto}

.hbref .brand{display:flex;align-items:center;gap:14px;flex-shrink:0}

.hbref .brand img{height:54px;object-fit:contain}

.hbref .brand .bt{display:flex;flex-direction:column;line-height:1;border-left:2px solid rgba(35,26,18,.14);padding-left:14px}

.hbref .brand .bt b{font-family:var(--sora);font-weight:800;font-size:1.14rem;letter-spacing:-.015em;
  background:linear-gradient(92deg,#231a12 30%,#f2541b 50%,#231a12 70%);background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;animation:sheen 6s ease-in-out infinite}

.hbref .brand .bt s{font-family:var(--mono);font-size:.58rem;font-weight:700;letter-spacing:.32em;color:var(--orange-d);margin-top:4px;text-decoration:none}

@keyframes sheen{0%,100%{background-position:0 0}50%{background-position:100% 0}}

.hbref nav.desk{display:flex;align-items:center;gap:2px;margin-left:auto;font-size:.9rem;font-weight:700;color:var(--ink2)}

.hbref nav.desk>.item{position:relative}

.hbref nav.desk>.item>a,.hbref nav.desk>.item>button{display:inline-flex;align-items:center;gap:6px;padding:9px 13px;border-radius:999px;
  background:none;border:none;color:var(--ink2);font-family:inherit;font-weight:700;font-size:.9rem;cursor:pointer;transition:background .2s}

.hbref nav.desk>.item>a:hover,.hbref nav.desk>.item>button:hover{background:var(--cream)}

.hbref nav.desk .car{font-size:.6rem;transition:transform .25s}

.hbref nav.desk>.item:hover .car{transform:rotate(180deg)}

.hbref .panel{position:absolute;top:calc(100% + 12px);left:0;background:#fff;border:2px solid var(--ink);
  border-radius:18px;box-shadow:6px 8px 0 var(--sh);padding:10px;opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .22s,transform .22s,visibility .22s;z-index:40}

.hbref nav.desk>.item:hover .panel{opacity:1;visibility:visible;transform:translateY(0)}

.hbref .panel.col{width:248px;display:flex;flex-direction:column;gap:2px}

.hbref .panel.col a{padding:9px 12px;border-radius:10px;font-weight:600;font-size:.86rem;color:var(--ink);transition:background .2s}

.hbref .panel.col a:hover{background:#fbf4ea}

.hbref .panel.grid{width:580px;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:16px;right:0;left:auto}

.hbref .panel.grid a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;transition:background .2s}

.hbref .panel.grid a:hover{background:#fbf4ea}

.hbref .panel.grid .chip{width:34px;height:34px;border-radius:9px;color:#fff;display:flex;align-items:center;justify-content:center;
  font-family:var(--sora);font-weight:800;font-size:.72rem;flex-shrink:0}

.hbref .panel.grid .nm{font-weight:700;font-size:.86rem;color:var(--ink)}

.hbref .hd .cta{display:flex;gap:9px;align-items:center;flex-shrink:0}

.hbref .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--body);font-weight:700;
  cursor:pointer;border-radius:999px;transition:.2s;font-size:.9rem;line-height:1}

.hbref .btn.line{color:var(--ink);padding:9px 16px;border:2px solid var(--ink);background:none}

.hbref .btn.line:hover{background:var(--ink);color:#fff}

.hbref .btn.solid{background:var(--orange);color:#fff;padding:10px 18px;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink)}

.hbref .btn.solid:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}

.hbref .btn.dark{background:var(--ink);color:#fff;padding:10px 18px;border:2px solid var(--ink)}

.hbref .btn.dark:hover{background:#000}

.hbref .btn.lg{padding:14px 26px;font-size:1rem}

.hbref .burger{display:none;margin-left:auto;width:46px;height:46px;border:2px solid var(--ink);border-radius:12px;
  background:#fff;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:4px}

.hbref .burger span{width:20px;height:2px;background:var(--ink);display:block}

.hbref .drawer{max-height:0;overflow:hidden;transition:max-height .35s ease;background:#fff;border-bottom:2px solid var(--ink)}

.hbref .drawer .din{padding:10px clamp(16px,4vw,40px) 20px;display:flex;flex-direction:column;gap:2px}

.hbref .drawer details{border-bottom:1px solid #eee2cf}

.hbref .drawer summary{padding:13px 4px;font-family:var(--sora);font-weight:700;font-size:.96rem;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center}

.hbref .drawer summary::-webkit-details-marker{display:none}

.hbref .drawer summary::after{content:"+";font-size:1.2rem;color:var(--orange)}

.hbref .drawer details[open] summary::after{content:"\2212"}

.hbref .drawer .sub{display:flex;flex-direction:column;padding:0 4px 10px}

.hbref .drawer .sub a{padding:8px 10px;font-size:.88rem;font-weight:600;color:var(--ink3);border-radius:8px}

.hbref .drawer .sub a:hover{background:#fbf4ea;color:var(--ink)}

.hbref .drawer>.din>a.top{padding:13px 4px;font-family:var(--sora);font-weight:700;font-size:.96rem;border-bottom:1px solid #eee2cf}



.hbref section{position:relative}

.hbref .pad{padding:clamp(44px,7vw,86px) 0}

.hbref .eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:.7rem;letter-spacing:.13em;
  font-weight:700;color:var(--orange-dd);background:rgba(242,84,27,.08);border:1px solid rgba(242,84,27,.22);
  padding:7px 14px;border-radius:999px}

.hbref .eyebrow.alt{color:var(--ink);background:rgba(35,26,18,.06);border-color:rgba(35,26,18,.14)}

.hbref .h-sec{font-size:clamp(1.7rem,3.4vw,2.7rem);margin-top:16px}

.hbref .lead{color:var(--ink3);font-size:clamp(1rem,1.35vw,1.16rem);line-height:1.65;max-width:70ch}

.hbref .center{text-align:center}

.hbref .center .lead{margin-left:auto;margin-right:auto}



.hbref .phero{background:linear-gradient(180deg,#fff6ea,#fffdf8);border-bottom:2px solid var(--ink);
  padding:clamp(30px,5vw,58px) 0 clamp(26px,4vw,44px)}

.hbref .crumb{font-family:var(--mono);font-size:.72rem;letter-spacing:.06em;color:var(--ink3);font-weight:700;display:flex;gap:8px;flex-wrap:wrap}

.hbref .crumb a{color:var(--orange-d)}
 .hbref .crumb b{color:var(--ink)}

.hbref .phero h1{font-size:clamp(2rem,4.6vw,3.3rem);margin-top:14px}

.hbref .phero .lead{margin-top:14px}



.hbref .card{background:#fff;border:2px solid var(--ink);border-radius:18px;box-shadow:5px 6px 0 var(--sh)}

.hbref .card.pad6{padding:clamp(20px,2.6vw,30px)}

.hbref .grid{display:grid;gap:clamp(16px,2vw,22px)}

.hbref .g2{grid-template-columns:repeat(2,1fr)}
 .hbref .g3{grid-template-columns:repeat(3,1fr)}

.hbref .g4{grid-template-columns:repeat(4,1fr)}
 .hbref .g5{grid-template-columns:repeat(5,1fr)}

.hbref .icn{width:52px;height:52px;border-radius:13px;border:2px solid var(--ink);display:flex;align-items:center;justify-content:center;flex-shrink:0}

.hbref .icn svg{width:26px;height:26px;stroke:#fff;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}

.hbref .tag{font-family:var(--mono);font-size:.62rem;font-weight:700;letter-spacing:.12em;color:var(--ink3)}

.hbref ul.tick{list-style:none;display:flex;flex-direction:column;gap:10px}

.hbref ul.tick li{display:flex;gap:11px;align-items:flex-start;color:var(--ink2);font-size:.98rem}

.hbref ul.tick li::before{content:"";flex-shrink:0;margin-top:7px;width:9px;height:9px;border-radius:3px;background:var(--orange);transform:rotate(0)}

.hbref ul.tick.teal li::before{background:var(--teal)}
 .hbref ul.tick.blue li::before{background:var(--blue)}

.hbref ul.tick.purple li::before{background:var(--purple)}
 .hbref ul.tick.pink li::before{background:var(--pink)}



.hbref .kv{display:flex;flex-direction:column;gap:0}

.hbref .kv .row{display:flex;gap:14px;padding:12px 0;border-bottom:1px dashed #e7dcc8}

.hbref .kv .row:last-child{border-bottom:0}

.hbref .kv .k{font-weight:700;color:var(--ink);min-width:190px;flex-shrink:0}

.hbref .kv .v{color:var(--ink3)}

.hbref .award{border:2px solid var(--ink);border-radius:16px;overflow:hidden}

.hbref .award .hd2{padding:13px 18px;font-family:var(--sora);font-weight:800;color:#fff;font-size:1rem}

.hbref .award .bd{padding:16px 18px;background:#fff}

.hbref .medal{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:.86rem;padding:6px 12px;border-radius:999px;border:2px solid var(--ink)}



.hbref .tbl{width:100%;border-collapse:collapse;border:2px solid var(--ink);border-radius:14px;overflow:hidden}

.hbref .tbl th,.hbref .tbl td{padding:12px 14px;text-align:left;border-bottom:1px solid #ece0cc;font-size:.92rem}

.hbref .tbl th{background:var(--ink);color:#fff;font-family:var(--sora);font-weight:700;font-size:.82rem;letter-spacing:.02em}

.hbref .tbl tr:last-child td{border-bottom:0}

.hbref .tbl tr:nth-child(even) td{background:#fbf4ea}



.hbref .pills{display:flex;flex-wrap:wrap;gap:10px}

.hbref .pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:2px solid var(--ink);border-radius:999px;
  padding:8px 15px;font-weight:700;font-size:.85rem;box-shadow:2px 2px 0 var(--sh)}



.hbref .stats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}

.hbref .stat{border:2px solid var(--ink);border-radius:16px;padding:20px 16px;text-align:center}

.hbref .stat b{display:block;font-family:var(--sora);font-weight:800;font-size:clamp(1.6rem,3vw,2.3rem);line-height:1}

.hbref .stat s{display:block;text-decoration:none;margin-top:7px;font-weight:600;font-size:.82rem;color:var(--ink3)}



.hbref .cta-strip{background:var(--ink);color:#fff;border-radius:22px;padding:clamp(28px,4vw,46px);
  display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap;
  box-shadow:6px 8px 0 var(--sh);position:relative;overflow:hidden}

.hbref .cta-strip h3{color:#fff;font-size:clamp(1.4rem,2.6vw,2rem)}

.hbref .cta-strip p{color:#e9dcc8;margin-top:8px;max-width:56ch}

.hbref .cta-strip .btn.solid{box-shadow:3px 3px 0 rgba(0,0,0,.4)}



.hbref .dl{display:inline-flex;align-items:center;gap:10px;font-weight:700;color:var(--orange-d);
  border:2px solid var(--orange);border-radius:999px;padding:10px 18px;background:#fff;transition:.2s}

.hbref .dl:hover{background:var(--orange);color:#fff}

.hbref .dl svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none}



.hbref .prose p{color:var(--ink3);margin:0 0 1rem;font-size:1.02rem}

.hbref .prose h3{margin:1.6rem 0 .7rem;font-size:1.3rem}

.hbref .prose ul{margin:0 0 1rem 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}

.hbref .prose ul li{display:flex;gap:11px;color:var(--ink2)}

.hbref .prose ul li::before{content:"";flex-shrink:0;margin-top:8px;width:8px;height:8px;border-radius:2px;background:var(--orange)}

.hbref .prose strong{color:var(--ink)}



.hbref footer.site{background:#231a12;color:#e9dcc8;padding:clamp(40px,4.5vw,58px) 0 0}

.hbref footer .ftop{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px}

.hbref footer h5{font-family:var(--sora);font-weight:700;color:#fff;font-size:.96rem;margin-bottom:16px;letter-spacing:.01em}

.hbref footer a{color:#cdbfa8;font-size:.9rem;display:block;padding:5px 0;transition:color .2s}

.hbref footer a:hover{color:var(--yellow)}

.hbref footer .fbrand b{font-family:var(--sora);font-weight:800;color:#fff;font-size:1.3rem;display:block}

.hbref footer .fbrand s{font-family:var(--mono);font-size:.6rem;letter-spacing:.3em;color:var(--orange);text-decoration:none;display:block;margin-top:4px}

.hbref footer .fbrand p{color:#b7a98f;font-size:.9rem;margin:14px 0 18px;max-width:34ch}

.hbref footer .soc{display:flex;gap:9px}

.hbref footer .soc a{width:38px;height:38px;border:1.5px solid #4a3d2d;border-radius:10px;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-weight:700;font-size:.8rem;color:#cdbfa8;padding:0}

.hbref footer .soc a:hover{background:var(--orange);border-color:var(--orange);color:#fff}

.hbref footer .addr{color:#b7a98f;font-size:.88rem;line-height:1.7}

.hbref footer .addr a{display:inline;color:var(--yellow);padding:0}

.hbref .fbar{border-top:1px solid #3a2e22;margin-top:34px;padding:22px 0;text-align:center;color:#9a8c74;font-size:.82rem}



.hbref .mcta{display:none;position:fixed;left:12px;right:12px;bottom:12px;z-index:70;gap:10px}

.hbref .mcta a{flex:1;text-align:center}



@media(max-width:1024px){
  .hbref nav.desk,.hbref .hd .cta{display:none}
  .hbref .burger{display:flex}
  .hbref footer .ftop{grid-template-columns:1fr 1fr}
  .hbref .stats{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:760px){
  .hbref .g2,.hbref .g3,.hbref .g4,.hbref .g5{grid-template-columns:1fr}
  .hbref .stats{grid-template-columns:repeat(2,1fr)}
  .hbref footer .ftop{grid-template-columns:1fr}
  .hbref .mcta{display:flex}
  .hbref .kv .k{min-width:140px}
  .hbref .cta-strip{flex-direction:column;align-items:flex-start}
}

@media(prefers-reduced-motion:reduce){
  .hbref *{animation:none!important}
}

/* =====================================================================
   2026 POLISH — image boxes, premium hovers, gallery zoom, scroll reveal
   ===================================================================== */
/* Interior/olympiad phero product image: tasteful, never oversized */
.hbref .phero .card{display:flex;align-items:center;justify-content:center;max-height:380px;padding:18px}
.hbref .phero .card img{max-height:330px;width:auto;max-width:100%;object-fit:contain;margin:0 auto}

/* Gallery tiles: uniform crop + premium zoom-on-hover + soft gradient */
.hbref .gitem{position:relative;overflow:hidden;padding:0;cursor:pointer;aspect-ratio:4/3;
  transition:transform .3s cubic-bezier(.22,.61,.36,1),box-shadow .3s}
.hbref .gitem img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .6s cubic-bezier(.22,.61,.36,1)}
.hbref .gitem::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(20,15,10,.42));opacity:0;transition:opacity .35s}
.hbref .gitem:hover{transform:translate(-3px,-3px);box-shadow:8px 10px 0 var(--sh)}
.hbref .gitem:hover img{transform:scale(1.12)}
.hbref .gitem:hover::after{opacity:1}

/* Premium hovers on grouped cards / stats / pills / awards / links */
.hbref .card{transition:transform .3s cubic-bezier(.22,.61,.36,1),box-shadow .3s}
.hbref .grid .card:hover,.hbref .stat:hover,.hbref .pill:hover,.hbref .award:hover{
  transform:translate(-3px,-3px);box-shadow:7px 9px 0 var(--sh)}
.hbref a.card:hover{transform:translate(-4px,-4px);box-shadow:8px 10px 0 var(--sh)}
.hbref .dl:hover,.hbref .medal:hover{transform:translate(-2px,-2px)}
.hbref .icn{transition:transform .3s}
.hbref .card:hover .icn{transform:rotate(-6deg) scale(1.06)}

/* Scroll reveal — only active once JS adds .hb-anim-on (no-JS = fully visible) */
.hbref.hb-anim-on .reveal{opacity:0;transform:translateY(20px)}
.hbref.hb-anim-on .reveal.hb-in{opacity:1;transform:none;
  transition:opacity .7s ease,transform .7s cubic-bezier(.22,.61,.36,1)}
@media(prefers-reduced-motion:reduce){
  .hbref.hb-anim-on .reveal{opacity:1!important;transform:none!important}
}

