/* HELIOX International — main stylesheet
   Tokens: css/tokens/*.css (colour, type, spacing). Theme: [data-theme="light"|"dark"] on <html>. */
@import url('tokens/colors.base.css');
@import url('tokens/colors.semantic.css');
@import url('tokens/typography.css');
@import url('tokens/dimensions.base.css');
@import url('tokens/dimensions.semantic.css');
@import url('tokens/transparency.css');
@import url('tokens/transitions.css');
@import url('tokens/interaction.css');
@import url('tokens/theme.css');
@import url('fonts.css');
@import url('palettes.css');

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--hc-surface-0);color:var(--hc-color-text-main);font-family:var(--hc-font-family);font-weight:var(--hc-font-weight-medium);font-size:var(--hc-font-size);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
h1,h2,h3,h4{margin:0;color:var(--hc-color-text-heading);line-height:1.2;text-wrap:balance}
p{margin:0;text-wrap:pretty}
ul{margin:0}
a{color:var(--hc-color-text-link);text-decoration:none;transition:color .5s ease-out .3s}
a:hover{color:var(--hc-color-text-link-hover);transition-duration:0s;transition-delay:0s}
:focus-visible{outline:4px solid oklch(from var(--hc-color-brand-bright) l c h / var(--hc-transparency-5,.32));outline-offset:0}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--hc-surface-0);padding:var(--hc-spacer-2) var(--hc-spacer-3);z-index:100}
.skip-link:focus{left:var(--hc-spacer-3)}

/* ---------- Layout ---------- */
.container{width:100%;max-width:calc(var(--hc-grid-content-max-width) + 2 * var(--hc-gutter));margin-inline:auto;padding-inline:var(--hc-gutter)}
.container-wide{max-width:calc(var(--hc-grid-breakout-max-width) + 2 * var(--hc-gutter))}
.section{padding-block:clamp(var(--hc-spacer-6),8vw,var(--hc-spacer-8))}
.section-tight{padding-block:clamp(var(--hc-spacer-5),6vw,var(--hc-spacer-7))}
.section-alt{background:var(--hc-surface-1);border-block:1px solid var(--hc-border-color)}
.grid{display:grid;gap:var(--hc-spacer-4)}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-6{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1024px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-6{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){.grid-2,.grid-3{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){.grid-4,.grid-6{grid-template-columns:minmax(0,1fr)}}
.gap-lg{gap:clamp(var(--hc-spacer-4),4vw,var(--hc-spacer-6))}
.stack{display:flex;flex-direction:column;gap:var(--hc-spacer-3)}
.stack-sm{display:flex;flex-direction:column;gap:var(--hc-spacer-1)}
.row{display:flex;flex-wrap:wrap;gap:var(--hc-spacer-3);align-items:center}
.center-y{align-items:center}

/* ---------- Type ---------- */
.eyebrow{font-size:var(--hc-font-size-small);font-weight:700;color:var(--hc-color-text-brand)}
.display{font-size:var(--hc-font-h1-size);font-weight:800;line-height:1.1}
.h2{font-size:var(--hc-font-h2-size);font-weight:800}
.h3{font-size:var(--hc-font-h3-size);font-weight:700}
.h4{font-size:var(--hc-font-h4-size);font-weight:700}
.h5{font-size:var(--hc-font-h5-size);font-weight:700}
.lead{font-size:var(--hc-font-size-large)}
.small{font-size:var(--hc-font-size-small)}
.tiny{font-size:var(--hc-font-size-tiny)}
.strong{font-weight:700;color:var(--hc-color-text-heading)}
.brand{color:var(--hc-color-text-brand)}
.section-head{display:flex;flex-direction:column;gap:var(--hc-spacer-3);max-width:50rem;margin-bottom:clamp(var(--hc-spacer-4),4vw,var(--hc-spacer-6))}
.section-head-split{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:var(--hc-spacer-4);margin-bottom:var(--hc-spacer-6)}
.section-head-split .section-head{margin-bottom:0}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--hc-spacer-1);min-height:44px;padding:var(--hc-input-padding-block) var(--hc-input-padding-inline);font:inherit;font-size:var(--hc-font-size-input);font-weight:700;line-height:1.2;border-radius:var(--hc-input-radius);border:1px solid var(--hc-border-color);background:var(--hc-surface-0);color:var(--hc-color-text-link);cursor:pointer;text-align:center;transition:.5s background .3s ease-out,.5s color .3s ease-out,all .3s ease-out}
.btn:hover{border-color:var(--hc-border-color-hover);box-shadow:var(--hc-interactive-shadow);color:var(--hc-color-text-link-hover);transition-duration:0s,0s,.3s;transition-delay:0s}
.btn:active{background:var(--hc-surface-1);box-shadow:0 0 0 0 transparent!important}
.btn-primary{background:var(--hc-color-text-link);color:var(--hc-color-text-btn-full)}
.btn-primary:hover{background:var(--hc-color-text-link-hover);color:var(--hc-color-text-btn-full-hover);border-color:var(--hc-color-text-link-active)}
.btn-on-dark{background:transparent;color:var(--hc-clr-gray-0);border-color:var(--hc-clr-gray-0)}
.btn-on-dark:hover{color:var(--hc-clr-gray-0)}
.btn-sm{min-height:36px;padding:.375rem .75rem}
.btn svg{width:18px;height:18px;flex:none}
.icon-btn{width:40px;height:40px;min-height:40px;padding:0}

/* ---------- Brand assets: Accent + Glow ---------- */
.accent{display:flex;height:4px;overflow:hidden}
.accent>div{width:25%;height:100%}
.accent>div:nth-child(1),.accent>div:nth-child(3){background:var(--hc-color-logo-primary-1)}
.accent>div:nth-child(2){background:var(--hc-color-logo-primary-2)}
.accent>div:nth-child(4){background:var(--hc-color-logo-secondary-1)}
.glow-ground{position:relative;isolation:isolate;overflow:hidden;background:var(--hc-clr-gray-1000);color:var(--hc-clr-gray-200);border-radius:var(--hc-block-radius-xlarge);border:1px solid var(--hc-border-color);display:flex;flex-direction:column}
.glow-ground>.glow{position:absolute;inset:0;z-index:0;pointer-events:none;background:url('../images/brand/glow.webp') center bottom/cover no-repeat}
.glow-ground>*:not(.glow){position:relative;z-index:1}
.glow-ground>.accent{margin-top:auto}
.glow-ground h1,.glow-ground h2,.glow-ground h3,.glow-ground .strong{color:var(--hc-clr-gray-0)}
.glow-ground .eyebrow{color:var(--hc-clr-primary-200)}
.glow-ground a:not(.btn){color:var(--hc-clr-gray-0)}
.glow-inner{padding:clamp(var(--hc-spacer-4),5vw,var(--hc-spacer-7))}

/* ---------- Header ---------- */
/* The top bar scrolls away with the page (negative sticky top) instead of collapsing, and the
   main bar's shrink is paid back with margin-bottom — the header never moves the page below it. */
.site-header{position:sticky;top:calc(-1 * var(--topbar-h,0px));z-index:50;transition:margin-bottom .5s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1))}
@media (min-width:721px){.site-header.is-scrolled{margin-bottom:16px}}
.site-header svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.site-header>.accent{position:relative;z-index:2}
/* Top bar */
.topbar{display:grid;grid-template-rows:1fr;background:var(--hc-clr-gray-1000);color:var(--hc-clr-gray-300);font-size:var(--hc-font-size-tiny);font-weight:700}
.topbar-clip{overflow:hidden;min-height:0}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--hc-spacer-3);min-height:40px}
.topbar ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:var(--hc-spacer-1) var(--hc-spacer-4)}
.topbar li,.topbar a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.topbar ul{flex-wrap:nowrap}
.topbar a{color:var(--hc-clr-gray-200)}
.topbar a:hover{color:var(--hc-clr-primary-200)}
.topbar svg{width:15px;height:15px;color:var(--hc-clr-primary-200)}
/* Main bar */
.mainbar{position:relative;isolation:isolate}
.mainbar::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--hc-surface-glass);-webkit-backdrop-filter:blur(var(--hc-surface-glass-blur));backdrop-filter:blur(var(--hc-surface-glass-blur))}
.header-inner{display:flex;align-items:center;gap:var(--hc-spacer-4);min-height:80px;transition:min-height .5s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1))}
.site-header.is-scrolled .header-inner{min-height:64px}
.logo{display:inline-grid;grid-template-columns:max-content;row-gap:3px;flex:none;color:var(--hc-color-text-bright)}
.logo img{height:40px;width:auto;transition:height .5s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1))}
.site-header.is-scrolled .logo img{height:34px}
.logo-sub{width:0;min-width:100%;font-size:.5625rem;font-weight:800;text-transform:uppercase;line-height:1;text-align:justify;text-align-last:justify;letter-spacing:.08em}
.logo-dark{display:none}
[data-theme="dark"] .logo-light{display:none}
[data-theme="dark"] .logo-dark{display:block}
.nav{flex:1;display:flex;justify-content:center}
.nav ul{list-style:none;padding:0;display:flex;gap:var(--hc-spacer-1)}
.nav a{position:relative;display:flex;align-items:center;min-height:44px;padding:0 var(--hc-spacer-2);font-size:var(--hc-font-size-small);font-weight:700;color:var(--hc-color-text-heading)}
.nav ul a::after{content:"";position:absolute;left:var(--hc-spacer-2);right:var(--hc-spacer-2);bottom:4px;height:2px;border-radius:2px;background:transparent;transition:background .5s ease-out .3s}
.nav ul a:hover{color:var(--hc-color-text-link)}
.nav ul a:hover::after{background:var(--hc-color-brand-bright);transition-delay:0s;transition-duration:0s}
.nav ul a[aria-current="page"]{color:var(--hc-color-text-link)}
.nav ul a[aria-current="page"]::after{background:var(--hc-color-brand)}
.nav-drawer-extra{display:none}
.header-actions{display:flex;align-items:center;gap:var(--hc-spacer-2)}
.nav-toggle{display:none}
.nav-toggle .i-close{display:none}
.nav-toggle[aria-expanded="true"] .i-menu{display:none}
.nav-toggle[aria-expanded="true"] .i-close{display:block}
.theme-toggle .i-moon{display:none}
[data-theme="dark"] .theme-toggle .i-sun{display:none}
[data-theme="dark"] .theme-toggle .i-moon{display:block}
@media (max-width:1240px){.topbar-hours{display:none}}
@media (max-width:960px){.topbar-uz{display:none}}
.nav .nav-drawer-extra .btn-primary,.nav .nav-drawer-extra .btn-primary:hover{color:var(--hc-color-text-btn-full)}
@media (max-width:960px){
  .nav-toggle{display:inline-flex}
  .header-cta{display:none}
  .header-actions{margin-left:auto}
  .nav{position:fixed;left:0;right:0;top:var(--header-h,84px);bottom:0;display:none;flex-direction:column;justify-content:flex-start;gap:var(--hc-spacer-4);background:var(--hc-surface-0);padding:var(--hc-spacer-3) var(--hc-gutter) var(--hc-spacer-6);overflow:auto;border-top:1px solid var(--hc-border-color)}
  .nav.is-open{display:flex}
  .nav ul{flex-direction:column;gap:0}
  .nav ul a{min-height:56px;padding:0;font-size:var(--hc-font-h4-size);border-bottom:1px solid var(--hc-border-color)}
  .nav ul a::after{display:none}
  .nav ul a[aria-current="page"]{padding-left:var(--hc-spacer-3);border-left:3px solid var(--hc-color-brand)}
  .nav-drawer-extra{display:flex;flex-direction:column;gap:var(--hc-spacer-2);font-weight:700}
  .nav-drawer-extra .btn{margin-bottom:var(--hc-spacer-2)}
  body.nav-open{overflow:hidden}
}
@media (max-width:720px){.topbar{display:none}.header-inner,.site-header.is-scrolled .header-inner{min-height:68px}.logo img{height:34px}}

/* ---------- Hero ---------- */
.hero{padding-top:var(--hc-spacer-4)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--hc-spacer-6);align-items:center}
.hero-photo{border-radius:var(--hc-block-radius-large);overflow:hidden;aspect-ratio:4/3.2}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--hc-spacer-4);margin-top:var(--hc-spacer-6);padding-top:var(--hc-spacer-4);border-top:1px solid oklch(from var(--hc-clr-gray-0) l c h / .16)}
.hero-stats b{display:block;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(1.75rem,1.1rem + 1.6vw,2.75rem);font-weight:800;color:var(--hc-clr-gray-0);line-height:1.15}
.hero-stats span{font-size:var(--hc-font-size-small)}
.hero .display{font-size:clamp(2.25rem,1.4rem + 3vw,4rem)}
@media (max-width:1024px){.hero-grid{grid-template-columns:1fr}.hero-photo{aspect-ratio:16/9}}
@media (max-width:1100px){.hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:var(--hc-spacer-3)}}

.page-hero .glow-inner{padding-block:clamp(var(--hc-spacer-5),6vw,var(--hc-spacer-7))}
.page-hero .display{max-width:22ch}
.page-hero .lead{max-width:44rem;margin-top:var(--hc-spacer-3)}
.breadcrumb{display:flex;gap:var(--hc-spacer-1);font-size:var(--hc-font-size-tiny);font-weight:700;margin-bottom:var(--hc-spacer-3);color:var(--hc-clr-gray-300)}

/* ---------- Blocks / cards ---------- */
.block{position:relative;display:flex;flex-direction:column;gap:var(--hc-spacer-2);background:var(--hc-surface-1);border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-xlarge);padding:var(--hc-spacer-4);overflow:hidden;color:var(--hc-color-text-main);transition:all .3s ease-out}
.block-plain{background:var(--hc-surface-0)}
a.block:hover{border-color:var(--hc-border-color-hover);box-shadow:var(--hc-interactive-shadow);color:var(--hc-color-text-main)}
a.block:hover .block-link{color:var(--hc-color-text-link-hover)}
.block .accent{position:absolute;left:0;right:0;bottom:0}
.block-num{font-weight:800;color:var(--hc-color-text-brand)}
.block-link{margin-top:auto;padding-top:var(--hc-spacer-2);font-size:var(--hc-font-size-small);font-weight:700;color:var(--hc-color-text-link);display:inline-flex;gap:var(--hc-spacer-1);align-items:center}
.block-link svg{width:16px;height:16px;flex:none}
.block-media{margin:calc(-1 * var(--hc-spacer-4)) calc(-1 * var(--hc-spacer-4)) var(--hc-spacer-2);aspect-ratio:16/10;overflow:hidden}
.block-media img{width:100%;height:100%;object-fit:cover}
.bento{display:grid;gap:var(--hc-spacer-2);grid-template-columns:repeat(2,minmax(0,1fr))}
.bento>.block{border-radius:var(--hc-block-radius-small)}
.bento>.block:nth-child(1){border-top-left-radius:var(--hc-block-radius-xlarge)}
.bento>.block:nth-child(2){border-top-right-radius:var(--hc-block-radius-xlarge)}
.bento>.block:nth-last-child(2){border-bottom-left-radius:var(--hc-block-radius-xlarge)}
.bento>.block:nth-last-child(1){border-bottom-right-radius:var(--hc-block-radius-xlarge)}
@media (max-width:640px){.bento{grid-template-columns:1fr}.bento>.block{border-radius:var(--hc-block-radius-small)!important}.bento>.block:first-child{border-top-left-radius:var(--hc-block-radius-xlarge)!important;border-top-right-radius:var(--hc-block-radius-xlarge)!important}.bento>.block:last-child{border-bottom-left-radius:var(--hc-block-radius-xlarge)!important;border-bottom-right-radius:var(--hc-block-radius-xlarge)!important}}

/* ---------- Figures & media ---------- */
.figure{margin:0;display:flex;flex-direction:column;gap:var(--hc-spacer-2)}
.figure img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--hc-block-radius-large)}
.figure.tall img{aspect-ratio:3/4}
.figure.square img{aspect-ratio:1}
.figure figcaption{font-size:var(--hc-font-size-tiny);color:var(--hc-color-gray)}
.gallery{display:grid;gap:var(--hc-spacer-3);grid-template-columns:repeat(4,minmax(0,1fr))}
.gallery .figure img{border-radius:var(--hc-block-radius-small);aspect-ratio:3/4}
@media (max-width:900px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Stats ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-xlarge);overflow:hidden;background:var(--hc-surface-0)}
.stat{padding:var(--hc-spacer-4);border-right:1px solid var(--hc-border-color)}
.stat:last-child{border-right:0}
.stat b{display:block;white-space:nowrap;font-size:clamp(1.75rem,1.2rem + 1.4vw,2.75rem);font-weight:800;color:var(--hc-color-text-heading);line-height:1.15}
.stat b.brand{color:var(--hc-color-text-brand)}
.stat span{font-size:var(--hc-font-size-small)}
@media (max-width:700px){.stat{border-right:0;border-bottom:1px solid var(--hc-border-color)}.stat:last-child{border-bottom:0}}

/* ---------- Numbered list ---------- */
.numbered{display:flex;flex-direction:column}
.numbered>li{list-style:none;display:grid;grid-template-columns:56px minmax(0,1fr);gap:var(--hc-spacer-3);padding:var(--hc-spacer-4) 0;border-top:1px solid var(--hc-border-color)}
.numbered>li:last-child{border-bottom:1px solid var(--hc-border-color)}
.numbered>li>span{font-size:var(--hc-font-h4-size);font-weight:800;color:var(--hc-color-text-brand);line-height:1.3}
ul.numbered{padding:0}

/* ---------- Steps ---------- */
.steps{display:grid;gap:var(--hc-spacer-4);grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));padding:0;counter-reset:s}
.steps li{list-style:none;display:flex;gap:var(--hc-spacer-3)}
.step-badge{flex:none;width:44px;height:44px;border-radius:var(--hc-input-radius);background:var(--hc-color-brand);color:var(--hc-color-text-btn-full);display:flex;align-items:center;justify-content:center;font-weight:800}

/* ---------- Tables ---------- */
.table-wrap{border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-large);overflow-x:auto;background:var(--hc-surface-0)}
.table{width:100%;border-collapse:collapse;font-size:var(--hc-font-size-small)}
.table th{text-align:left;font-size:var(--hc-font-size-tiny);font-weight:700;color:var(--hc-color-text-heading);background:var(--hc-surface-1);padding:var(--hc-spacer-2) var(--hc-spacer-3)}
.table td{padding:var(--hc-spacer-2) var(--hc-spacer-3);border-top:1px solid var(--hc-border-color);vertical-align:top}
.table td.num,.table th.num{text-align:right}
.table tfoot td{background:var(--hc-color-brand-washed);font-weight:800;color:var(--hc-color-text-brand)}
.table.compact{min-width:0}
.tag{display:inline-block;font-size:var(--hc-font-size-tiny);font-weight:700;padding:2px var(--hc-spacer-2);border-radius:var(--hc-spacer-1);background:var(--hc-color-brand-washed);color:var(--hc-color-text-brand)}
.tag.neutral{background:var(--hc-surface-2);color:var(--hc-color-text-bright)}

/* ---------- Definition list ---------- */
.dl{display:grid;grid-template-columns:minmax(120px,160px) minmax(0,1fr);gap:var(--hc-spacer-1) var(--hc-spacer-3);font-size:var(--hc-font-size-small);margin:0}
.dl dt{color:var(--hc-color-text-bright)}
.dl dd{margin:0;color:var(--hc-color-text-heading);font-weight:700}
@media (max-width:480px){.dl{grid-template-columns:1fr}.dl dd{margin-bottom:var(--hc-spacer-2)}}

/* ---------- Lists ---------- */
.check-list{padding:0;display:flex;flex-direction:column;gap:var(--hc-spacer-2)}
.check-list li{list-style:none;display:grid;grid-template-columns:20px minmax(0,1fr);gap:var(--hc-spacer-2);font-size:var(--hc-font-size-small)}
.check-list li::before{content:"";width:20px;height:20px;margin-top:2px;border-radius:var(--hc-spacer-1);background:var(--hc-color-brand-washed) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23138a7b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;border:1px solid var(--hc-border-color)}
.chips{display:flex;flex-wrap:wrap;gap:var(--hc-spacer-2);padding:0}
.chips li{list-style:none;font-size:var(--hc-font-size-tiny);font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:var(--hc-spacer-1) var(--hc-spacer-2);border-radius:var(--hc-spacer-1);border:1px solid var(--hc-border-color);background:var(--hc-surface-0);color:var(--hc-color-text-brand)}

/* ---------- Platform diagram ---------- */
.platform{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr);gap:var(--hc-spacer-4);align-items:center}
.platform-node{background:var(--hc-surface-0);border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-small);padding:var(--hc-spacer-2) var(--hc-spacer-3)}
.platform-core{background:var(--hc-color-brand);color:var(--hc-color-text-btn-full);border-radius:var(--hc-block-radius-xlarge);padding:var(--hc-spacer-5) var(--hc-spacer-3);text-align:center}
.platform-core b{display:block;font-size:var(--hc-font-h3-size);font-weight:800}
@media (max-width:800px){.platform{grid-template-columns:1fr}}

/* ---------- Forms ---------- */
.form{display:grid;gap:var(--hc-spacer-3)}
.field{display:flex;flex-direction:column;gap:var(--hc-spacer-1)}
.field label{font-size:var(--hc-font-size-small);font-weight:700;color:var(--hc-color-text-heading)}
.field input,.field select,.field textarea{font:inherit;font-size:var(--hc-font-size-small);color:var(--hc-color-text-heading);background:var(--hc-surface-0);border:1px solid var(--hc-border-color);border-radius:var(--hc-input-radius);padding:var(--hc-input-padding-block) var(--hc-input-padding-inline);min-height:44px;transition:all .3s ease-out}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--hc-border-color-hover);box-shadow:var(--hc-interactive-shadow)}
.field textarea{min-height:140px;resize:vertical}
.form-row{display:grid;gap:var(--hc-spacer-3);grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:640px){.form-row{grid-template-columns:minmax(0,1fr)}}
.field-hint{font-size:var(--hc-font-size-tiny);color:var(--hc-color-gray)}
.field input,.field select,.field textarea{font-size:max(16px,var(--hc-font-size-small))}

/* ---------- Notice ---------- */
.notice{display:flex;gap:var(--hc-spacer-3);align-items:flex-start;background:var(--hc-color-brand-washed);border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-large);padding:var(--hc-spacer-3) var(--hc-spacer-4);font-size:var(--hc-font-size-small)}

/* ---------- Footer ---------- */
.site-footer{margin-top:var(--hc-spacer-7);background:var(--hc-surface-1);border-top:1px solid var(--hc-border-color);font-size:var(--hc-font-size-small)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:var(--hc-spacer-5);padding-block:var(--hc-spacer-7) var(--hc-spacer-5)}
.footer-grid h4{font-size:var(--hc-font-size-small);margin-bottom:var(--hc-spacer-2)}
.footer-grid ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:0}
.footer-grid li{min-height:40px;display:flex;align-items:center}
.footer-grid a{color:var(--hc-color-text-main);display:inline-flex;align-items:center;min-height:40px}
.footer-grid a:hover{color:var(--hc-color-text-link)}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--hc-spacer-2);padding-block:var(--hc-spacer-3);border-top:1px solid var(--hc-border-color);font-size:var(--hc-font-size-tiny)}
.social{display:flex;gap:var(--hc-spacer-2)}
.social a{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--hc-border-color);border-radius:var(--hc-input-radius);background:var(--hc-surface-0);color:var(--hc-color-text-heading)}
.social a:hover{border-color:var(--hc-border-color-hover);box-shadow:var(--hc-interactive-shadow)}
.social svg{width:18px;height:18px}
@media (max-width:900px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid>div:first-child{grid-column:1/-1}}
@media (max-width:480px){.footer-grid{grid-template-columns:1fr}}

/* ---------- Utilities ---------- */
.mt-2{margin-top:var(--hc-spacer-2)}.mt-3{margin-top:var(--hc-spacer-3)}.mt-4{margin-top:var(--hc-spacer-4)}.mt-5{margin-top:var(--hc-spacer-5)}.mt-6{margin-top:var(--hc-spacer-6)}.mt-7{margin-top:var(--hc-spacer-7)}
.maxw{max-width:52rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* ---------- Team ---------- */
.team{display:grid;gap:var(--hc-spacer-4);grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.team-card{display:flex;flex-direction:column;background:var(--hc-surface-1);border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-xlarge);overflow:hidden;position:relative}
.team-photo{aspect-ratio:4/5;overflow:hidden;background:var(--hc-surface-2)}
.team-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.team-body{display:flex;flex-direction:column;gap:var(--hc-spacer-1);padding:var(--hc-spacer-4) var(--hc-spacer-4) var(--hc-spacer-5)}
.team-role{font-size:var(--hc-font-size-tiny);font-weight:700;color:var(--hc-color-text-brand)}
.team-card .accent{position:absolute;left:0;right:0;bottom:0}

/* ---------- Form states ---------- */
.field .req{color:var(--hc-color-text-link-error)}
.field input:invalid[data-touched],.field textarea:invalid[data-touched],.field select:invalid[data-touched]{border-color:var(--hc-color-error)}
.field-error{font-size:var(--hc-font-size-tiny);color:var(--hc-color-text-link-error);min-height:0}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form-status{display:none;border-radius:var(--hc-block-radius-large);padding:var(--hc-spacer-3) var(--hc-spacer-4);font-size:var(--hc-font-size-small);border:1px solid var(--hc-border-color)}
.form-status.is-success{display:block;background:var(--hc-color-brand-washed);color:var(--hc-color-text-heading)}
.form-status.is-error{display:block;background:var(--hc-color-error-washed,var(--hc-surface-2));color:var(--hc-color-text-heading)}
.btn[disabled]{opacity:.64;cursor:wait}
.consent{display:flex;gap:var(--hc-spacer-2);align-items:flex-start;font-size:var(--hc-font-size-tiny)}
.consent input{width:18px;height:18px;margin-top:2px;accent-color:var(--hc-color-brand)}

/* ---------- Hero slider ---------- */
.hero-frame{min-height:min(88vh,860px)}
.hero-frame>.slides{position:absolute;inset:0;z-index:0;margin:0}
.slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1.4s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1))}
.slide img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.slide.is-active{opacity:1;z-index:1}
.slide{will-change:opacity}
.slide.is-active img{animation:kenburns 6s ease-out forwards;will-change:transform}
@keyframes kenburns{from{transform:scale(1.02) translate(0,0)}to{transform:scale(1.12) translate(-1.5%,-1%)}}
.hero-frame>.hero-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,oklch(from var(--hc-clr-gray-1000) l c h / .92) 0%,oklch(from var(--hc-clr-gray-1000) l c h / .8) 38%,oklch(from var(--hc-clr-gray-1000) l c h / .24) 75%,oklch(from var(--hc-clr-gray-1000) l c h / .16) 100%),linear-gradient(0deg,oklch(from var(--hc-clr-gray-1000) l c h / .92) 0%,oklch(from var(--hc-clr-gray-1000) l c h / 0) 45%)}
.hero-frame>.glow{z-index:1;opacity:.8;mix-blend-mode:screen}
.hero-frame>.hero-content{position:relative;z-index:2;display:flex;flex-direction:column;min-height:inherit;padding-top:clamp(var(--hc-spacer-6),9vw,var(--hc-spacer-8))}
.hero-copy{max-width:44rem}
.slider-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--hc-spacer-3);margin-top:auto;padding-top:var(--hc-spacer-6)}
.slider-caption{font-size:var(--hc-font-size-small);font-weight:700;color:var(--hc-clr-gray-0);min-height:1.6em;transition:opacity .4s ease-out}
.slider-caption.is-changing{opacity:0}
.slider-controls{display:flex;align-items:center;gap:var(--hc-spacer-2)}
.slider-count{font-size:var(--hc-font-size-tiny);font-weight:700;color:var(--hc-clr-gray-300);font-variant-numeric:tabular-nums;margin-right:var(--hc-spacer-1)}
.slider-count b{color:var(--hc-clr-gray-0)}
.slider-progress{display:flex;gap:6px;margin-right:var(--hc-spacer-2)}
.slider-progress button{appearance:none;border:0;background:none;padding:10px 0;cursor:pointer;width:40px}
.slider-progress span{display:block;height:3px;border-radius:3px;background:oklch(from var(--hc-clr-gray-0) l c h / .24);overflow:hidden;position:relative}
.slider-progress span::after{content:"";position:absolute;inset:0;background:var(--hc-clr-primary-200);transform:scaleX(0);transform-origin:left}
.slider-progress button.is-done span::after{transform:scaleX(1)}
.slider-progress button[aria-selected="true"] span::after{animation:sliderfill var(--slide-ms,6000ms) linear forwards}
.hero-slider.is-paused .slider-progress button[aria-selected="true"] span::after{animation-play-state:paused}
@keyframes sliderfill{to{transform:scaleX(1)}}
.slider-btn{appearance:none;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--hc-input-radius);border:1px solid oklch(from var(--hc-clr-gray-0) l c h / .32);background:oklch(from var(--hc-clr-gray-1000) l c h / .32);color:var(--hc-clr-gray-0);cursor:pointer;-webkit-backdrop-filter:blur(var(--hc-surface-glass-blur));backdrop-filter:blur(var(--hc-surface-glass-blur));transition:all .3s ease-out}
.slider-btn:hover{border-color:var(--hc-clr-primary-200);box-shadow:var(--hc-interactive-shadow)}
.slider-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.slider-btn .i-play{display:none}
.hero-slider.is-paused .slider-btn .i-play{display:block}
.hero-slider.is-paused .slider-btn .i-pause{display:none}
.hero-content .hero-stats{margin-top:var(--hc-spacer-4)}
@media (max-width:720px){
  .hero-frame{min-height:auto}
  .hero-frame>.hero-shade{background:linear-gradient(0deg,oklch(from var(--hc-clr-gray-1000) l c h / .95) 0%,oklch(from var(--hc-clr-gray-1000) l c h / .82) 60%,oklch(from var(--hc-clr-gray-1000) l c h / .5) 100%)}
  .slider-progress button{width:24px}
  .slider-count{display:none}
  .slider-bar{flex-direction:column;align-items:flex-start}
}

/* ---------- Rolling photo strip ---------- */
.marquee-section{padding-block:var(--hc-spacer-5) 0;overflow:hidden}
.marquee{position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marquee-track{list-style:none;margin:0;padding:0;display:flex;gap:var(--hc-spacer-3);width:max-content;animation:marquee var(--marquee-s,60s) linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track li{flex:none;width:clamp(200px,22vw,300px)}
.marquee-track figure{margin:0;display:flex;flex-direction:column;gap:var(--hc-spacer-1)}
.marquee-track img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--hc-block-radius-small);border:1px solid var(--hc-border-color)}
.marquee-track figcaption{font-size:var(--hc-font-size-tiny);color:var(--hc-color-gray)}
@keyframes marquee{to{transform:translateX(calc(-50% - var(--hc-spacer-3) / 2))}}

/* ---------- Scroll reveal ---------- */
.js [data-reveal]{opacity:0;transform:translateY(32px);transition:opacity .9s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1)),transform .9s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1))}
.js [data-reveal].is-visible{opacity:1;transform:none}
.hero-copy[data-reveal]{transition-delay:.15s}

@media (prefers-reduced-motion:reduce){
  .slide.is-active img,.marquee-track,.slider-progress button[aria-selected="true"] span::after{animation:none!important}
  .marquee-track{flex-wrap:wrap;width:auto}
  .js [data-reveal]{opacity:1;transform:none}
}

/* =================================================================
   v2 — responsive & polish additions
   ================================================================= */
picture{display:contents}
.split-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(var(--hc-spacer-4),4vw,var(--hc-spacer-6));align-items:stretch}
.split-media>.figure{height:100%}
.split-media>.figure img{flex:1;height:100%;min-height:320px;aspect-ratio:auto}
.split-media>.stack{justify-content:center}
@media (max-width:900px){.split-media{grid-template-columns:minmax(0,1fr)}.split-media>.figure img{min-height:0;aspect-ratio:16/10}}

/* Footer bottom (A5) */
.footer-bottom{align-items:center}
@media (max-width:640px){.footer-bottom{flex-direction:column;align-items:flex-start;gap:var(--hc-spacer-1)}}

/* Tables → stacked cards on phones (E2) */
@media (max-width:640px){
  .table-wrap{border:0;background:none;border-radius:0;overflow:visible}
  .table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .table,.table tbody,.table tfoot,.table tr,.table td{display:block;width:100%}
  .table tr{background:var(--hc-surface-0);border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-small);padding:var(--hc-spacer-2) var(--hc-spacer-3);margin-bottom:var(--hc-spacer-2)}
  .table td{border:0;padding:6px 0;display:grid;grid-template-columns:minmax(96px,38%) minmax(0,1fr);gap:var(--hc-spacer-2);text-align:left!important}
  .table td::before{content:attr(data-label);font-size:var(--hc-font-size-tiny);font-weight:700;color:var(--hc-color-gray)}
  .table td:not([data-label])::before{content:none}
  .table td:not([data-label]){grid-template-columns:1fr}
  .table tfoot tr{background:var(--hc-color-brand-washed)}
  .table tfoot td{background:none}
}

/* Header additions (B) */
.header-call{display:none}
@media (max-width:1240px){.header-cta{display:none}}
@media (max-width:960px){.header-cta{display:none}}
.nav .has-sub{position:relative}
.nav .sub-toggle{display:none}
.nav .sub{list-style:none;margin:0;padding:var(--hc-spacer-2);position:absolute;left:0;top:100%;min-width:260px;display:flex;flex-direction:column;gap:0;background:var(--hc-surface-0);border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-small);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .3s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1)),transform .3s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1)),visibility 0s .3s;z-index:60}
.nav .has-sub:hover>.sub,.nav .has-sub:focus-within>.sub{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.nav .sub a{min-height:40px;padding:0 var(--hc-spacer-2);border-radius:var(--hc-spacer-1);font-weight:700;white-space:nowrap}
.nav .sub a::after{display:none}
.nav .sub a:hover{background:var(--hc-color-brand-washed)}
.nav ul a.has-caret{gap:4px}
.nav ul a.has-caret svg{width:14px;height:14px;transition:transform .3s ease-out}
.nav .has-sub:hover>a.has-caret svg{transform:rotate(180deg)}
@media (min-width:961px) and (max-width:1200px){.nav ul a{padding:0 6px}}
@media (max-width:960px){
  .header-call{display:inline-flex}
  .nav .sub{position:static;opacity:1;visibility:visible;transform:none;border:0;padding:0 0 var(--hc-spacer-2) var(--hc-spacer-3);min-width:0;display:none;background:none}
  .nav .has-sub.is-open>.sub{display:flex}
  .nav .has-sub{display:grid;grid-template-columns:minmax(0,1fr) 56px;align-items:start}
  .nav .has-sub>a{grid-column:1}
  .nav .has-sub>.sub{grid-column:1/-1}
  .nav .sub-toggle{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:0;border-bottom:1px solid var(--hc-border-color);background:none;color:var(--hc-color-text-heading);cursor:pointer}
  .nav .sub-toggle svg{transition:transform .3s ease-out}
  .nav .has-sub.is-open .sub-toggle svg{transform:rotate(180deg)}
  .nav ul a.has-caret svg{display:none}
  .nav .sub a{min-height:48px;font-size:var(--hc-font-size);border:0;padding:0}
  .nav-drawer-extra a:not(.btn){min-height:44px;display:flex;align-items:center}
}
@media (max-width:720px){
  .topbar{display:grid}
  .topbar-links,.topbar-hours,.topbar-uz{display:none!important}
  .topbar-inner{min-height:34px;justify-content:center}
  .topbar ul{gap:var(--hc-spacer-3)}
}
@media (max-width:400px){.topbar li:first-child{display:none}}

/* Hero slider on phones (C2/C3) */
@media (max-width:720px){
  .slider-btn[data-slider-prev],.slider-btn[data-slider-next]{display:none}
  .slider-controls{width:100%;justify-content:space-between}
  .slider-progress{margin:0}
  .hero-copy .display{font-size:clamp(2rem,1.2rem + 4vw,2.5rem)}
  .hero-content .hero-stats b{font-size:1.75rem}
}
.slide img{object-position:var(--pos,center)}
@media (max-width:720px){.slide img{object-position:var(--pos-m,var(--pos,center))}}

/* Service icon row (D2) */
.service-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--hc-spacer-2)}
.service-tile{display:flex;flex-direction:column;gap:var(--hc-spacer-2);padding:var(--hc-spacer-3);min-height:100%;background:var(--hc-surface-0);border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-small);color:var(--hc-color-text-heading);font-weight:700;font-size:var(--hc-font-size-small);line-height:1.3;transition:all .3s ease-out}
.service-tile:first-child{border-top-left-radius:var(--hc-block-radius-xlarge);border-bottom-left-radius:var(--hc-block-radius-xlarge)}
.service-tile:last-child{border-top-right-radius:var(--hc-block-radius-xlarge);border-bottom-right-radius:var(--hc-block-radius-xlarge)}
.service-tile:hover{border-color:var(--hc-border-color-hover);box-shadow:var(--hc-interactive-shadow);color:var(--hc-color-text-link)}
.service-icon{width:44px;height:44px;border-radius:var(--hc-input-radius);background:var(--hc-color-brand-washed);color:var(--hc-color-text-brand);display:flex;align-items:center;justify-content:center}
.service-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:1024px){.service-row{grid-template-columns:repeat(3,minmax(0,1fr))}.service-tile{border-radius:var(--hc-block-radius-small)!important}.service-tile:nth-child(1){border-top-left-radius:var(--hc-block-radius-xlarge)!important}.service-tile:nth-child(3){border-top-right-radius:var(--hc-block-radius-xlarge)!important}.service-tile:nth-child(4){border-bottom-left-radius:var(--hc-block-radius-xlarge)!important}.service-tile:nth-child(6){border-bottom-right-radius:var(--hc-block-radius-xlarge)!important}}
@media (max-width:600px){.service-row{grid-template-columns:repeat(2,minmax(0,1fr))}.service-tile:nth-child(3){border-top-right-radius:var(--hc-block-radius-small)!important}.service-tile:nth-child(2){border-top-right-radius:var(--hc-block-radius-xlarge)!important}.service-tile:nth-child(4){border-bottom-left-radius:var(--hc-block-radius-small)!important}.service-tile:nth-child(5){border-bottom-left-radius:var(--hc-block-radius-xlarge)!important}}

/* Partners strip (D3) */
.partners{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-xlarge);overflow:hidden;background:var(--hc-surface-0)}
.partner{display:flex;flex-direction:column;gap:2px;justify-content:center;padding:var(--hc-spacer-4);border-right:1px solid var(--hc-border-color);min-height:120px}
.partner:last-child{border-right:0}
.partner b{font-size:var(--hc-font-h4-size);font-weight:800;color:var(--hc-color-text-heading);letter-spacing:-.01em}
.partner span{font-size:var(--hc-font-size-tiny);font-weight:700;color:var(--hc-color-gray)}
.partner img{max-height:40px;width:auto;margin-bottom:var(--hc-spacer-1)}
@media (max-width:900px){.partners{grid-template-columns:repeat(2,minmax(0,1fr))}.partner:nth-child(2){border-right:0}.partner:nth-child(-n+2){border-bottom:1px solid var(--hc-border-color)}}
@media (max-width:480px){.partners{grid-template-columns:minmax(0,1fr)}.partner{border-right:0;border-bottom:1px solid var(--hc-border-color);min-height:0}.partner:last-child{border-bottom:0}}

/* Maps */
.map{position:relative;border-radius:var(--hc-block-radius-large);overflow:hidden;border:1px solid var(--hc-border-color);aspect-ratio:16/10;background:var(--hc-surface-2)}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
[data-theme="dark"] .map iframe{filter:invert(.9) hue-rotate(180deg) saturate(.6)}
.map-link{font-size:var(--hc-font-size-small);font-weight:700;display:inline-flex;align-items:center;min-height:44px}

/* Service detail pages (D1) */
.service-detail{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(var(--hc-spacer-4),4vw,var(--hc-spacer-6));align-items:start}
.service-aside{position:sticky;top:calc(var(--header-h,84px) + var(--hc-spacer-3));display:flex;flex-direction:column;gap:var(--hc-spacer-3)}
.service-nav{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-large);overflow:hidden;background:var(--hc-surface-0)}
.service-nav a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 var(--hc-spacer-3);font-weight:700;font-size:var(--hc-font-size-small);color:var(--hc-color-text-heading);border-bottom:1px solid var(--hc-border-color)}
.service-nav li:last-child a{border-bottom:0}
.service-nav a:hover{color:var(--hc-color-text-link);background:var(--hc-color-brand-washed)}
.service-nav a[aria-current="page"]{color:var(--hc-color-text-btn-full);background:var(--hc-color-brand)}
.service-nav svg{width:16px;height:16px}
@media (max-width:900px){.service-detail{grid-template-columns:minmax(0,1fr)}.service-aside{position:static}}

/* Marquee pause (E4) */
.marquee-section .container{display:flex;justify-content:flex-end;margin-top:var(--hc-spacer-2)}
.marquee-toggle{min-height:36px;font-size:var(--hc-font-size-tiny)}
.marquee-toggle .i-play{display:none}
.marquee.is-paused .marquee-track{animation-play-state:paused}
.marquee:focus-within .marquee-track{animation-play-state:paused}
.marquee-section.is-paused .marquee-toggle .i-play{display:block}
.marquee-section.is-paused .marquee-toggle .i-pause{display:none}
.marquee-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Notice & misc */
.check-list li::before{background-color:var(--hc-color-brand-washed)}
@media (max-width:640px){.section-head-split{align-items:flex-start}.dl{grid-template-columns:minmax(0,1fr)}}
.team-card .team-body p{color:var(--hc-color-text-main)}

.split-media .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.split-media .stat{padding:var(--hc-spacer-3)}
.split-media .stat b{font-size:clamp(1.375rem,.9rem + 1.1vw,2.25rem)}
@media (max-width:560px){.split-media .stats{grid-template-columns:minmax(0,1fr)}}
.logo-sub{letter-spacing:.3em;margin-right:-.3em}

/* Tap targets (E1) */
.stack-sm>a,.block>a.strong,.glow-ground .stack-sm a,.footer-bottom a{display:inline-flex;align-items:center;min-height:44px}
.slider-progress button{padding:20px 0}
.marquee-toggle{min-height:44px}

/* ---------- Dropdown fixes ---------- */
/* Keep the dropdown above the header's accent stripe */
.mainbar{z-index:3}
.site-header>.accent{z-index:1}
/* No underline inside dropdowns (overrides .nav ul a rules) */
.nav .sub a::after,.nav .sub a:hover::after,.nav .sub a[aria-current="page"]::after{content:none;display:none}
/* Items switch instantly — no lingering fade between neighbours */
.nav .sub a{transition:none;color:var(--hc-color-text-heading)}
.nav .sub a:hover,.nav .sub a:focus-visible{background:var(--hc-color-brand-washed);color:var(--hc-color-text-link)}
.nav .sub a[aria-current="page"]{color:var(--hc-color-text-link);background:var(--hc-color-brand-washed)}
/* Invisible bridge so the pointer never falls into a gap between the menu item and its dropdown */
.nav .sub{top:calc(100% + 6px)}
.nav .sub::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
/* Hover-intent: short delay before closing, open instantly */
.nav .sub{transition:opacity .2s ease-out .12s,transform .2s ease-out .12s,visibility 0s .32s}
.nav .has-sub:hover>.sub,.nav .has-sub:focus-within>.sub{transition:opacity .2s ease-out,transform .2s ease-out,visibility 0s}
/* Parent item keeps its highlight while its dropdown is open */
.nav .has-sub:hover>a{color:var(--hc-color-text-link)}
.nav .has-sub:hover>a::after{background:var(--hc-color-brand-bright);transition:none}
@media (max-width:960px){
  .nav .sub::before{content:none}
  .nav .sub a:hover,.nav .sub a[aria-current="page"]{background:none}
  .nav .has-sub:hover>a::after{background:none}
}

/* ---------- Digital platform diagram ---------- */
.flow-block{padding:clamp(var(--hc-spacer-4),3vw,var(--hc-spacer-5));container-type:inline-size;container-name:flow}
.flow{--bus:clamp(40px,5vw,72px);--line:var(--hc-border-color-hover);display:grid;grid-template-columns:minmax(0,1fr) var(--bus) minmax(190px,.8fr) var(--bus) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:0;row-gap:var(--hc-spacer-3);align-items:stretch}
.flow-head{display:flex;align-items:center;gap:var(--hc-spacer-1);font-size:var(--hc-font-size-tiny);font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--hc-color-text-heading)}
.flow-step{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:22px;padding:0 6px;border-radius:var(--hc-spacer-1);background:var(--hc-color-brand-washed);color:var(--hc-color-text-brand);font-size:.6875rem;letter-spacing:0}
.flow-head-in{grid-column:1}.flow-head-core{grid-column:3;justify-content:center}.flow-head-out{grid-column:5}
.flow-col{grid-row:2;display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:var(--hc-spacer-2)}
.flow-in{grid-column:1}.flow-out{grid-column:5}
.flow-node{position:relative;display:flex;align-items:center;gap:var(--hc-spacer-2);min-height:64px;padding:var(--hc-spacer-2) var(--hc-spacer-3);background:var(--hc-surface-0);border:1px solid var(--hc-border-color);border-radius:var(--hc-block-radius-small);transition:border-color .3s ease-out,box-shadow .3s ease-out}
.flow-node:hover{border-color:var(--hc-border-color-hover);box-shadow:var(--hc-interactive-shadow)}
.flow-in .flow-node:first-child{border-top-left-radius:var(--hc-block-radius-large)}.flow-in .flow-node:last-child{border-bottom-left-radius:var(--hc-block-radius-large)}
.flow-out .flow-node:first-child{border-top-right-radius:var(--hc-block-radius-large)}.flow-out .flow-node:last-child{border-bottom-right-radius:var(--hc-block-radius-large)}
.flow-icon{flex:none;width:40px;height:40px;border-radius:var(--hc-input-radius);display:flex;align-items:center;justify-content:center;background:var(--hc-color-brand-washed);color:var(--hc-color-text-brand)}
.flow-out .flow-icon{background:var(--hc-color-brand);color:var(--hc-color-text-btn-full)}
.flow-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.flow-text{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.flow-text b{font-size:var(--hc-font-size-small);font-weight:800;color:var(--hc-color-text-heading)}
.flow-text span{font-size:var(--hc-font-size-tiny);color:var(--hc-color-gray)}
/* connectors: 4 stubs (i) → vertical rail (em) → trunk to core (s) */
.flow-bus{grid-row:2;position:relative}
.flow-bus-in{grid-column:2}.flow-bus-out{grid-column:4}
.flow-bus i,.flow-bus em,.flow-bus s{position:absolute;display:block;background:var(--line)}
.flow-bus i{height:2px;width:50%;margin-top:-1px}
.flow-bus i:nth-child(1){top:calc(12.5% - var(--hc-spacer-2) * .75 + var(--hc-spacer-2) * 0)}
.flow-bus i:nth-child(1){top:calc((100% - 3 * var(--hc-spacer-2)) / 8)}
.flow-bus i:nth-child(2){top:calc((100% - 3 * var(--hc-spacer-2)) * 3 / 8 + var(--hc-spacer-2))}
.flow-bus i:nth-child(3){top:calc((100% - 3 * var(--hc-spacer-2)) * 5 / 8 + 2 * var(--hc-spacer-2))}
.flow-bus i:nth-child(4){top:calc((100% - 3 * var(--hc-spacer-2)) * 7 / 8 + 3 * var(--hc-spacer-2))}
.flow-bus em{width:2px;left:calc(50% - 1px);top:calc((100% - 3 * var(--hc-spacer-2)) / 8);bottom:calc((100% - 3 * var(--hc-spacer-2)) / 8);border-radius:2px}
.flow-bus s{height:2px;top:calc(50% - 1px);width:50%}
.flow-bus-in i{left:0}.flow-bus-in s{left:50%}
.flow-bus-out i{right:0}.flow-bus-out s{right:50%}
.flow-bus i::before{content:"";position:absolute;top:-3px;width:8px;height:8px;border-radius:50%;background:var(--hc-surface-0);border:2px solid var(--line)}
.flow-bus-in i::before{left:-4px}.flow-bus-out i::before{right:-4px}
/* moving data pulses */
.flow-bus s::after{content:"";position:absolute;top:-3px;width:8px;height:8px;border-radius:50%;background:var(--hc-color-brand);box-shadow:0 0 0 4px oklch(from var(--hc-color-brand) l c h / .16);animation:flowdot 2.4s linear infinite}
.flow-bus-out s::after{animation-delay:1.2s}
@keyframes flowdot{0%{left:-4px;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:calc(100% - 4px);opacity:0}}
/* core */
.flow-core{grid-column:3;grid-row:2;display:flex;align-items:center}
.flow-core-card{position:relative;isolation:isolate;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--hc-spacer-1);padding:var(--hc-spacer-5) var(--hc-spacer-3);border-radius:var(--hc-block-radius-xlarge);background:var(--hc-color-brand);color:var(--hc-color-text-btn-full);border:1px solid var(--hc-color-brand-accented)}
.flow-core-card b{font-size:var(--hc-font-h4-size);font-weight:800;line-height:1.2}
.flow-core-card>span:not([class]){font-size:var(--hc-font-size-small);font-weight:700;opacity:.9}
.flow-core-mark{width:64px;height:64px;border-radius:var(--hc-block-radius-small);background:var(--hc-clr-gray-0);display:flex;align-items:center;justify-content:center;margin-bottom:var(--hc-spacer-2);border:1px solid oklch(from var(--hc-clr-gray-0) l c h / .32)}
.flow-core-mark img{width:52px;height:52px}
.flow-core-pulse{position:absolute;inset:-1px;z-index:-1;border-radius:inherit;box-shadow:0 0 0 0 oklch(from var(--hc-color-brand) l c h / .32);animation:corepulse 2.4s ease-out infinite}
@keyframes corepulse{0%{box-shadow:0 0 0 0 oklch(from var(--hc-color-brand) l c h / .32)}100%{box-shadow:0 0 0 18px oklch(from var(--hc-color-brand) l c h / 0)}}
.flow-live{display:inline-flex;align-items:center;gap:6px;margin-top:var(--hc-spacer-2);padding:4px 10px;border-radius:999px;background:oklch(from var(--hc-clr-gray-1000) l c h / .16);font-size:.6875rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.flow-live i{width:7px;height:7px;border-radius:50%;background:var(--hc-clr-gray-0);animation:blink 1.6s ease-in-out infinite}
@keyframes blink{50%{opacity:.25}}
.flow-foot{display:flex;flex-wrap:wrap;align-items:center;gap:var(--hc-spacer-2);margin-top:var(--hc-spacer-4);padding-top:var(--hc-spacer-3);border-top:1px solid var(--hc-border-color);font-size:var(--hc-font-size-small);color:var(--hc-color-text-main)}
/* tablet: tighter */
@container flow (max-width:1000px){.flow{grid-template-columns:minmax(0,1fr) 36px minmax(160px,.7fr) 36px minmax(0,1fr)}.flow-node{padding:var(--hc-spacer-2)}.flow-icon{width:34px;height:34px}.flow-core-card{padding:var(--hc-spacer-4) var(--hc-spacer-2)}}
/* narrow container: vertical flow */
@container flow (max-width:760px){
  .flow{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:0}
  .flow-head,.flow-col,.flow-bus,.flow-core{grid-column:1!important;grid-row:auto!important}
  .flow-head{margin:var(--hc-spacer-3) 0 var(--hc-spacer-2)}
  .flow-head-in{order:1;margin-top:0}.flow-in{order:2}.flow-bus-in{order:3}.flow-head-core{order:4;justify-content:flex-start}.flow-core{order:5}.flow-bus-out{order:6}.flow-head-out{order:7}.flow-out{order:8}
  .flow-col{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}
  .flow-node{border-radius:var(--hc-block-radius-small)!important}
  .flow-bus{height:48px}
  .flow-bus i{display:none}
  .flow-bus em{display:none}
  .flow-bus s{width:2px;height:100%;top:0;left:calc(50% - 1px)!important;right:auto!important}
  .flow-bus s::after{left:-3px;animation-name:flowdotv}
  .flow-core-card{flex-direction:row;flex-wrap:wrap;text-align:left;justify-content:flex-start;column-gap:var(--hc-spacer-3);padding:var(--hc-spacer-3) var(--hc-spacer-4)}
  .flow-core-mark{margin:0;width:56px;height:56px}
  .flow-core-card b{flex:1}
}
@keyframes flowdotv{0%{top:-4px;opacity:0}15%{opacity:1}85%{opacity:1}100%{top:calc(100% - 4px);opacity:0}}
@container flow (max-width:440px){.flow-col{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){.flow-bus s::after,.flow-core-pulse,.flow-live i{animation:none}}

/* ---------- Photo lightbox ---------- */
.lb-trigger{cursor:zoom-in}
.figure .lb-trigger,.gallery .lb-trigger,.team-photo .lb-trigger{transition:filter .3s ease-out}
.figure .lb-trigger:hover,.gallery .lb-trigger:hover,.team-photo .lb-trigger:hover{filter:brightness(1.06) saturate(1.05)}
body.lb-open{overflow:hidden}
.lb{position:fixed;inset:0;z-index:200;display:grid;grid-template-rows:minmax(0,1fr) auto;background:oklch(from var(--hc-clr-gray-1000) l c h / .94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .25s ease-out;color:var(--hc-clr-gray-0)}
.lb.is-open{opacity:1}
.lb[hidden]{display:none}
.lb-stage{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:clamp(56px,7vw,88px) clamp(12px,7vw,96px) var(--hc-spacer-3);touch-action:none}
.lb-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--hc-block-radius-small);box-shadow:0 20px 60px oklch(0% 0 0 / .5);transform-origin:center;transition:transform .35s var(--hc-transition-tf-out,cubic-bezier(0,.73,.2,1)),opacity .25s ease-out;cursor:zoom-in;user-select:none;-webkit-user-drag:none}
.lb-img.is-loading{opacity:.2}
.lb.is-zoomed .lb-img{cursor:grab;border-radius:0}
.lb.is-zoomed .lb-img:active{cursor:grabbing;transition:none}
.lb-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--hc-spacer-3);padding:var(--hc-spacer-2) clamp(16px,7vw,96px) var(--hc-spacer-4)}
.lb-cap{font-size:var(--hc-font-size-small);font-weight:700;color:var(--hc-clr-gray-0)}
.lb-count{font-size:var(--hc-font-size-tiny);font-weight:700;color:var(--hc-clr-gray-300);font-variant-numeric:tabular-nums;white-space:nowrap}
.lb-btn{position:absolute;z-index:2;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:var(--hc-input-radius);border:1px solid oklch(from var(--hc-clr-gray-0) l c h / .24);background:oklch(from var(--hc-clr-gray-1000) l c h / .5);color:var(--hc-clr-gray-0);cursor:pointer;transition:border-color .3s ease-out,box-shadow .3s ease-out}
.lb-btn:hover{border-color:var(--hc-clr-primary-200);box-shadow:var(--hc-interactive-shadow)}
.lb-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lb-close{top:var(--hc-spacer-3);right:var(--hc-spacer-3)}
.lb-zoom{top:var(--hc-spacer-3);right:calc(var(--hc-spacer-3) + 56px)}
.lb-zoom .i-out{display:none}
.lb.is-zoomed .lb-zoom .i-in{display:none}
.lb.is-zoomed .lb-zoom .i-out{display:block}
.lb-prev,.lb-next{top:50%;margin-top:-24px}
.lb-prev{left:var(--hc-spacer-3)}.lb-next{right:var(--hc-spacer-3)}
.lb.is-single .lb-prev,.lb.is-single .lb-next{display:none}
.lb.is-zoomed .lb-prev,.lb.is-zoomed .lb-next{opacity:.35}
@media (max-width:640px){.lb-prev,.lb-next{top:auto;bottom:var(--hc-spacer-3);margin:0}.lb-prev{left:auto;right:calc(var(--hc-spacer-3) + 56px)}.lb-bar{padding-right:140px}}
@media (prefers-reduced-motion:reduce){.lb,.lb-img{transition:none}}

/* Top bar: keep everything on one line without clipping */
.topbar-inner{min-width:0}
.topbar-info{min-width:0;overflow:hidden}
@media (max-width:1100px){.topbar-links{display:none}.topbar-inner{justify-content:center}}
