/* aartimkarande.in — professional academic profile (Bootstrap 5.3)
   Layout: utility bar + white sticky header, split hero with portrait, navy figures band,
   structured content sections, navy footer. Restrained motion. */
:root {
  --ak-navy: #0b2545;
  --ak-navy-2: #13315c;
  --ak-blue: #1e5aa8;
  --ak-gold: #b8862b;
  --ak-tint: #eef3f9;
  --ak-paper: #ffffff;
  --ak-ink: #1b2533;
  --ak-muted: #5d6b7e;
  --ak-line: #e2e8f0;
  --ak-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ak-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-font-family: var(--ak-body);
  --bs-body-color: var(--ak-ink);
  --bs-body-bg: var(--ak-paper);
  --bs-link-color: var(--ak-blue);
  --bs-link-color-rgb: 30, 90, 168;
  --bs-link-hover-color: var(--ak-navy);
  --bs-border-color: var(--ak-line);
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .display-font { font-family: var(--ak-display); font-weight: 700; color: var(--ak-navy); text-wrap: balance; letter-spacing: -.01em; }
h4, h5, h6 { font-weight: 700; color: var(--ak-navy); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ak-blue); outline-offset: 2px; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .375rem; }

/* ---------- utility bar + header ---------- */
.utility-bar { background: var(--ak-navy); color: #c7d3e3; font-size: .84rem; padding: .45rem 0; }
.utility-bar a, .utility-bar span { color: #c7d3e3; text-decoration: none; }
.utility-bar a:hover { color: #fff; }
.utility-bar .bi { color: #8fb1dc; }
.site-header { background: #fff; border-bottom: 1px solid var(--ak-line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,37,69,.08); }
.site-header .navbar { --bs-navbar-padding-y: .85rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: .5rem; background: var(--ak-navy); color: #fff; font-family: var(--ak-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; box-shadow: inset 0 -3px 0 var(--ak-gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--ak-navy); font-family: var(--ak-display); font-size: 1.15rem; font-weight: 700; }
.brand-text small { color: var(--ak-muted); font-size: .78rem; letter-spacing: .04em; }
.site-header .nav-link { color: var(--ak-ink); font-weight: 600; font-size: .95rem; padding: .5rem .85rem !important; border-radius: .375rem; }
.site-header .nav-link:hover, .site-header .nav-link.show { color: var(--ak-blue); }
.site-header .nav-link.active { color: var(--ak-blue); }
@media (min-width: 1200px) { .site-header .nav-link.active { box-shadow: inset 0 -2px 0 var(--ak-blue); border-radius: 0; } }
.site-header .dropdown-menu { border: 1px solid var(--ak-line); border-radius: .5rem; box-shadow: 0 16px 40px rgba(11,37,69,.12); padding: .45rem; min-width: 15rem; --bs-dropdown-link-active-bg: var(--ak-tint); --bs-dropdown-link-active-color: var(--ak-navy); }
.site-header .dropdown-item { border-radius: .35rem; padding: .5rem .8rem; font-size: .94rem; }
.site-header .dropdown-item:hover { background: var(--ak-tint); color: var(--ak-navy); }
.navbar-toggler { border: 1px solid var(--ak-line); font-size: 1.5rem; color: var(--ak-navy); padding: .25rem .6rem; }
@media (max-width: 1199.98px) { .site-header .navbar-collapse { padding: .75rem 0 .5rem; } .site-header .btn-primary-ak { margin-top: .5rem; } }
@media (max-width: 575.98px) { .brand-text small { display: none; } .brand-text strong { font-size: 1rem; } .brand-mark { width: 40px; height: 40px; } }

.btn-primary-ak { --bs-btn-bg: var(--ak-blue); --bs-btn-border-color: var(--ak-blue); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--ak-navy); --bs-btn-hover-border-color: var(--ak-navy); --bs-btn-hover-color: #fff; --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.25rem; --bs-btn-padding-y: .62rem; --bs-btn-border-radius: .4rem; }
.btn-outline-ak { --bs-btn-color: var(--ak-navy); --bs-btn-border-color: #c3cfdf; --bs-btn-hover-bg: var(--ak-navy); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--ak-navy); --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.25rem; --bs-btn-padding-y: .62rem; --bs-btn-border-radius: .4rem; }

/* ---------- home hero ---------- */
.hero { background: linear-gradient(180deg, var(--ak-tint) 0%, #fff 100%); padding: 4.5rem 0 4rem; border-bottom: 1px solid var(--ak-line); overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ak-blue); font-weight: 700; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ak-gold); }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.1; margin: 1rem 0 1rem; }
.hero .lead { color: var(--ak-muted); font-size: 1.12rem; max-width: 58ch; }
.cred-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--ak-line); }
.cred { display: flex; gap: .7rem; align-items: center; }
.cred i { font-size: 1.35rem; color: var(--ak-gold); }
.cred strong { display: block; color: var(--ak-navy); font-size: .95rem; line-height: 1.2; }
.cred span { font-size: .82rem; color: var(--ak-muted); }
.portrait-frame { position: relative; max-width: 440px; margin-left: auto; }
.portrait-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--ak-gold); border-radius: .75rem; }
.portrait-frame img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: .75rem; background: #d9e2ee; box-shadow: 0 24px 60px rgba(11,37,69,.18); }
.portrait-badge { position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: .6rem; padding: .85rem 1rem; display: flex; gap: .75rem; align-items: center; box-shadow: 0 14px 34px rgba(11,37,69,.16); max-width: 260px; }
.portrait-badge i { font-size: 1.5rem; color: var(--ak-gold); }
.portrait-badge strong { display: block; font-size: .9rem; color: var(--ak-navy); line-height: 1.25; }
.portrait-badge span { font-size: .78rem; color: var(--ak-muted); }
@media (max-width: 991.98px) { .portrait-frame { margin: 2rem auto 0; max-width: 360px; } .portrait-badge { left: 8px; } }

/* figures band */
.figures { background: var(--ak-navy); color: #fff; }
.figure { padding: 2rem 1rem; text-align: center; height: 100%; }
.figure .num { font-family: var(--ak-display); font-size: 2.6rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.figure .num sup { font-size: 1.2rem; color: var(--ak-gold); top: -1em; margin-left: 2px; }
.figure p { margin: .55rem 0 0; color: #b9c8dc; font-size: .9rem; }
.figures .col + .col .figure { border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 767.98px) { .figures .col .figure { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.12); } }

/* sections */
.section { padding: 5rem 0; }
.section-tint { background: var(--ak-tint); }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: .7rem 0 .7rem; }
.section-head p { color: var(--ak-muted); margin: 0; font-size: 1.05rem; }
.section-title { font-size: 1.55rem; margin: 2.5rem 0 1rem; }
.section-title:first-child { margin-top: 0; }

.glance { background: #fff; border: 1px solid var(--ak-line); border-radius: .75rem; overflow: hidden; }
.glance h3 { font-family: var(--ak-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--ak-navy); margin: 0; padding: .9rem 1.25rem; }
.glance dl { margin: 0; padding: .5rem 1.25rem 1rem; }
.glance .row-item { display: grid; grid-template-columns: 8.5rem minmax(0,1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--ak-line); font-size: .94rem; }
.glance .row-item:last-child { border-bottom: 0; }
.glance dt { color: var(--ak-muted); font-weight: 500; }
.glance dd { margin: 0; color: var(--ak-ink); font-weight: 600; overflow-wrap: anywhere; }
.signature { font-family: var(--ak-display); font-size: 1.25rem; color: var(--ak-navy); font-weight: 600; margin-top: 1.5rem; }
.signature small { display: block; font-family: var(--ak-body); font-size: .85rem; color: var(--ak-muted); font-weight: 400; }

.area { height: 100%; background: #fff; border: 1px solid var(--ak-line); border-radius: .75rem; padding: 1.6rem; transition: border-color .2s, box-shadow .2s; }
.area:hover { border-color: #b9cbe3; box-shadow: 0 12px 30px rgba(11,37,69,.07); }
.area .ic { width: 48px; height: 48px; border-radius: .5rem; display: grid; place-items: center; background: var(--ak-tint); color: var(--ak-blue); font-size: 1.35rem; margin-bottom: 1rem; }
.area h3 { font-family: var(--ak-body); font-size: 1.08rem; font-weight: 700; margin-bottom: .45rem; }
.area p { color: var(--ak-muted); font-size: .93rem; margin: 0; }

/* timeline */
.tl-title { font-family: var(--ak-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ak-blue); font-weight: 700; margin: 0 0 1.5rem; display: flex; align-items: center; gap: .6rem; }
.tl-item { position: relative; padding: 0 0 1.75rem 1.75rem; border-left: 2px solid var(--ak-line); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--ak-blue); }
.tl-item.current::before { background: var(--ak-gold); border-color: var(--ak-gold); }
.tl-item .when { font-size: .82rem; font-weight: 700; color: var(--ak-gold); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tl-item h4 { font-size: 1.05rem; margin: .15rem 0 .2rem; }
.tl-item .org { font-weight: 600; color: var(--ak-ink); font-size: .95rem; }
.tl-item p { margin: .3rem 0 0; color: var(--ak-muted); font-size: .93rem; }

/* leadership */
.lead-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--ak-line); }
.lead-item:last-child { border-bottom: 0; }
.lead-item i { font-size: 1.3rem; color: var(--ak-blue); margin-top: .1rem; }
.lead-item h4 { font-family: var(--ak-body); font-size: 1rem; margin: 0 0 .15rem; }
.lead-item p { margin: 0; color: var(--ak-muted); font-size: .92rem; }

/* publications */
.pub { display: grid; grid-template-columns: 4.5rem minmax(0,1fr); gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--ak-line); }
.pub .yr { font-family: var(--ak-display); font-weight: 700; color: var(--ak-navy); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.pub .type { display: inline-block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--ak-blue); background: var(--ak-tint); padding: .15rem .5rem; border-radius: .25rem; margin-bottom: .35rem; }
.pub h3 { font-family: var(--ak-body); font-size: 1.02rem; font-weight: 700; margin: 0 0 .25rem; color: var(--ak-ink); }
.pub p { margin: 0; font-size: .9rem; color: var(--ak-muted); }

/* awards */
.award { height: 100%; border: 1px solid var(--ak-line); border-top: 3px solid var(--ak-gold); border-radius: .5rem; padding: 1.4rem; background: #fff; }
.award .yr { font-size: .8rem; font-weight: 700; color: var(--ak-gold); letter-spacing: .04em; }
.award h3 { font-family: var(--ak-body); font-size: 1.02rem; font-weight: 700; margin: .35rem 0 .25rem; }
.award p { margin: 0; color: var(--ak-muted); font-size: .9rem; }

/* explore links */
.explore a { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--ak-line); border-radius: .5rem; color: var(--ak-ink); text-decoration: none; font-weight: 600; height: 100%; transition: border-color .2s, color .2s; }
.explore a i:first-child { color: var(--ak-blue); font-size: 1.2rem; }
.explore a .bi-arrow-right { margin-left: auto; color: #9aabbf; transition: transform .2s; }
.explore a:hover { border-color: var(--ak-blue); color: var(--ak-blue); }
.explore a:hover .bi-arrow-right { transform: translateX(3px); color: var(--ak-blue); }

/* CTA */
.cta-band { background: var(--ak-navy-2); color: #fff; border-radius: .9rem; padding: 2.5rem; background-image: radial-gradient(circle at 100% 0%, rgba(184,134,43,.25), transparent 45%); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 .4rem; }
.cta-band p { color: #c7d3e3; margin: 0; }
.cta-band .btn-light { font-weight: 600; padding: .65rem 1.3rem; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--ak-tint); border-bottom: 1px solid var(--ak-line); padding: 3rem 0 2.6rem; }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); margin: .5rem 0 .5rem; }
.page-hero .lead { color: var(--ak-muted); max-width: 64ch; margin: 0; font-size: 1.06rem; }
.page-hero .breadcrumb { margin: 0; font-size: .86rem; }
.page-hero .breadcrumb a { text-decoration: none; }
.page-hero .breadcrumb-item.active { color: var(--ak-muted); }
.content-col { min-width: 0; }
.content-col > p, .content-col > ul { max-width: 78ch; }
.side-nav { top: 110px; border: 1px solid var(--ak-line); border-radius: .6rem; overflow: hidden; }
.side-nav h6 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--ak-navy); margin: 0; padding: .8rem 1rem; }
.side-nav .list-group { border-radius: 0; }
.side-nav .list-group-item { border-left: 0; border-right: 0; border-color: var(--ak-line); font-size: .94rem; padding: .7rem 1rem; color: var(--ak-ink); }
.side-nav .list-group-item:last-child { border-bottom: 0; }
.side-nav .list-group-item.active { background: var(--ak-tint); color: var(--ak-blue); font-weight: 700; border-color: var(--ak-line); box-shadow: inset 3px 0 0 var(--ak-blue); }
.data-table { background: #fff; border: 1px solid var(--ak-line); border-radius: .6rem; margin-bottom: 2rem; }
.data-table table { font-size: .92rem; --bs-table-hover-bg: #f5f8fc; }
.data-table thead th { background: var(--ak-navy); color: #fff; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; vertical-align: bottom; border-color: var(--ak-navy); }
.data-table td, .data-table th { padding: .8rem 1rem; border-color: var(--ak-line); }
.data-table tbody tr:nth-child(even) { background: #fafbfd; }
.data-table td { min-width: 9rem; }
.data-table td:first-child, .data-table th:first-child { min-width: 0; width: 4rem; }
.data-table td:nth-child(2) { min-width: 5.5rem; white-space: nowrap; }
.data-table td a { overflow-wrap: anywhere; }
.table-search { max-width: 380px; margin-bottom: 1rem; }
.prose-card { background: #fff; border: 1px solid var(--ak-line); border-radius: .6rem; padding: 1.5rem 1.75rem; margin-bottom: 1.25rem; }
.prose-card h3 { font-family: var(--ak-body); font-weight: 700; font-size: 1.08rem; margin-bottom: .5rem; }
.prose-card dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
.prose-card dt { color: var(--ak-muted); font-weight: 600; }
.prose-card dd { margin: 0; }
@media (max-width: 575.98px) { .prose-card dl { grid-template-columns: 1fr; } .prose-card dd { margin-bottom: .5rem; } }
.portrait { border-radius: .75rem; width: 100%; max-width: 420px; aspect-ratio: 4/5; object-fit: cover; object-position: top; background: #d9e2ee; }
.quals { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.quals li { display: flex; gap: .7rem; }
.quals i { color: var(--ak-gold); }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--ak-muted); background: var(--ak-tint); border: 1px dashed #c3cfdf; border-radius: .6rem; }
.empty-state i { font-size: 2.4rem; color: var(--ak-blue); display: block; margin-bottom: .8rem; }

/* gallery */
.gallery-tabs .nav-link { color: var(--ak-navy); border: 1px solid var(--ak-line); margin: 0 .4rem .4rem 0; border-radius: .4rem; font-weight: 600; }
.gallery-tabs .nav-link.active { background: var(--ak-navy); border-color: var(--ak-navy); color: #fff; }
.gallery-item { display: block; position: relative; border-radius: .5rem; overflow: hidden; background: #d9e2ee; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item::after { content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: rgba(11,37,69,.5); opacity: 0; transition: opacity .25s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

/* contact */
.contact-card { background: #fff; border: 1px solid var(--ak-line); border-radius: .6rem; padding: 1.5rem; height: 100%; }
.contact-card i { font-size: 1.3rem; width: 46px; height: 46px; border-radius: .5rem; display: grid; place-items: center; background: var(--ak-tint); color: var(--ak-blue); }
.contact-card h3 { font-family: var(--ak-body); font-weight: 700; font-size: 1.02rem; margin: .9rem 0 .3rem; }
.map-wrap { border-radius: .6rem; overflow: hidden; border: 1px solid var(--ak-line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* footer */
.site-footer { background: var(--ak-navy); color: #b9c8dc; font-size: .94rem; }
.site-footer a { color: #e3eaf4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h6 { color: #fff; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer li { margin-bottom: .5rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #9fb2cb; display: block; }
.brand-footer .brand-mark { background: #fff; color: var(--ak-navy); }
.contact-list li { display: flex; gap: .7rem; }
.contact-list i { color: var(--ak-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #9fb2cb; }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: .5rem; background: var(--ak-blue); color: #fff; display: grid; place-items: center; font-size: 1.2rem; opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 1030; text-decoration: none; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--ak-navy); color: #fff; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* =========================================================
   Animation layer
   Content is visible by default; .js-anim (added by script) enables reveal-on-scroll.
   Everything here is switched off for prefers-reduced-motion.
   ========================================================= */

/* scroll progress line under the header */
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--ak-blue), var(--ak-gold)); }

/* frosted header once scrolled */
.site-header.scrolled { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }

/* nav underline slides in */
@media (min-width: 1200px) {
  .site-header .nav-link { position: relative; }
  .site-header .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--ak-blue); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
  .site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
  .site-header .nav-link.active { box-shadow: none; }
  .site-header .dropdown-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .site-header .dropdown-menu.show { opacity: 1; visibility: visible; transform: none; }
}

/* buttons: sheen sweep */
.btn-primary-ak { position: relative; overflow: hidden; }
.btn-primary-ak::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-primary-ak:hover::after { left: 130%; }
.btn-primary-ak, .btn-outline-ak { transition: transform .2s ease, background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-primary-ak:hover, .btn-outline-ak:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30,90,168,.22); }

/* ---------- hero motion ---------- */
.hero { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 420px; height: 420px; background: #c9dbf3; top: -120px; left: -80px; }
.blob.b2 { width: 360px; height: 360px; background: #f3e3c2; bottom: -140px; right: 18%; animation-duration: 22s; animation-delay: -6s; }
.blob.b3 { width: 300px; height: 300px; background: #d7e4f7; top: 20%; right: -60px; animation-duration: 26s; animation-delay: -12s; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,37,69,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,37,69,.045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.1); } 100% { transform: translate(-40px,20px) scale(.95); } }

/* staggered entrance on page load */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero .lead, .hero .hero-btns, .hero .cred-row { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .1s; }
.hero .lead { animation-delay: .22s; }
.hero .hero-btns { animation-delay: .34s; }
.hero .cred-row { animation-delay: .46s; }
.hero .portrait-frame { animation: zoomIn 1s .2s cubic-bezier(.2,.7,.2,1) both; }
.hero .eyebrow::before { animation: grow .9s .4s ease both; }
@keyframes grow { from { width: 0; } to { width: 28px; } }

/* rotating gold ring behind the portrait */
.portrait-frame::before { border: 0; inset: -10px; border-radius: 1rem; background: conic-gradient(from var(--ang, 0deg), var(--ak-gold), transparent 30%, var(--ak-blue) 55%, transparent 80%, var(--ak-gold)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 3px; animation: spin 8s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.portrait-badge { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.cred i { transition: transform .3s; }
.cred:hover i { transform: rotate(-12deg) scale(1.15); }

/* figures band: soft moving sheen */
.figures { position: relative; overflow: hidden; }
.figures::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%); background-size: 250% 100%; animation: sweep 9s linear infinite; pointer-events: none; }
@keyframes sweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }

/* affiliations ticker */
.ticker { background: #fff; border-bottom: 1px solid var(--ak-line); overflow: hidden; padding: 1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex: none; }
.tick { display: inline-flex; align-items: center; white-space: nowrap; padding: 0 1.4rem; font-family: var(--ak-display); font-weight: 600; font-size: 1.05rem; color: #7b8aa0; }
.tick i { color: var(--ak-gold); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* cards: lift, icon fill, border glow */
.area, .award, .contact-card, .prose-card, .glance { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.area:hover, .award:hover, .contact-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,37,69,.1); }
.area .ic, .contact-card i { transition: background-color .3s, color .3s, transform .4s; }
.area:hover .ic, .contact-card:hover i { background: var(--ak-blue); color: #fff; transform: rotate(-8deg) scale(1.06); }
.award { position: relative; overflow: hidden; }
.award::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(184,134,43,.12) 50%, transparent 60%); transform: translateX(-100%); transition: transform .8s; }
.award:hover::after { transform: translateX(100%); }
.pub { transition: background-color .25s, padding-left .25s; border-radius: .4rem; }
.pub:hover { background: #fff; padding-left: .75rem; }
.explore a { transition: border-color .2s, color .2s, transform .25s, box-shadow .25s; }
.explore a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,37,69,.08); }
.side-nav .list-group-item { transition: background-color .2s, padding-left .2s, color .2s; }
.side-nav .list-group-item:not(.active):hover { padding-left: 1.35rem; background: #f7f9fc; color: var(--ak-blue); }
.data-table tbody tr { transition: background-color .15s; }

/* timeline: line draws in */
.tl-item { border-left-color: transparent; }
.tl-item::after { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--ak-line); transform-origin: top; }
.tl-item::before { z-index: 1; }
.tl-item.current::before { animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184,134,43,.55); } 100% { box-shadow: 0 0 0 12px rgba(184,134,43,0); } }

/* CTA band: animated gradient */
.cta-band { background-image: radial-gradient(circle at var(--cx, 100%) 0%, rgba(184,134,43,.32), transparent 45%), linear-gradient(120deg, #13315c, #0b2545 60%, #1e3f73); background-size: 100% 100%, 220% 220%; animation: ctaShift 12s ease-in-out infinite alternate; }
@keyframes ctaShift { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 100% 50%; } }

/* inner page header: drifting light + title entrance */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(30,90,168,.16), transparent 65%); z-index: -1; animation: drift 20s ease-in-out infinite alternate; }
.page-hero::after { content: ""; position: absolute; width: 360px; height: 360px; left: 35%; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(184,134,43,.14), transparent 65%); z-index: -1; animation: drift 24s ease-in-out infinite alternate-reverse; }
.page-hero .breadcrumb, .page-hero h1, .page-hero .lead { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.page-hero h1 { animation-delay: .08s; }
.page-hero .lead { animation-delay: .16s; }

/* gallery hover */
.gallery-item { transition: transform .3s, box-shadow .3s; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,37,69,.18); }

/* back-to-top with scroll-progress ring */
.back-to-top { border-radius: 50%; background: #fff; color: var(--ak-navy); box-shadow: 0 8px 22px rgba(11,37,69,.18); }
.back-to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.back-to-top circle { fill: none; stroke-width: 3; }
.back-to-top .track { stroke: var(--ak-line); }
.back-to-top .bar { stroke: var(--ak-blue); stroke-linecap: round; }
.back-to-top:hover { background: var(--ak-navy); color: #fff; }

/* reveal on scroll (only when JS has opted in) */
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js-anim .reveal.from-left { transform: translateX(-36px); }
.js-anim .reveal.from-right { transform: translateX(36px); }
.js-anim .reveal.zoom { transform: scale(.94); }
.js-anim .reveal.in { opacity: 1; transform: none; }
.js-anim .tl-item.reveal::after { transform: scaleY(0); transition: transform 1s .2s ease; }
.js-anim .tl-item.reveal.in::after { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  .blob, .ticker-track, .figures::before, .portrait-frame::before, .portrait-badge, .cta-band, .page-hero::before, .page-hero::after, .tl-item.current::before { animation: none !important; }
  .js-anim .reveal { opacity: 1 !important; transform: none !important; }
  .ticker-track { flex-wrap: wrap; width: auto; }
  .ticker-group[aria-hidden] { display: none; }
}
main { overflow-x: clip; }

/* =========================================================
   Moving photo banner (home hero)
   ========================================================= */
.hero.hero-banner { padding: 0; background: var(--ak-navy); border-bottom: 0; overflow: hidden; min-height: clamp(560px, 84vh, 780px); display: grid; }
.hero-banner > * { grid-area: 1 / 1; }
.hero-banner .carousel, .hero-banner .carousel-inner, .hero-banner .carousel-item { height: 100%; }
.hero-banner .carousel { position: relative; }
.hero-banner .carousel-item { transition: opacity 1.4s ease-in-out; }
.kb { position: absolute; inset: 0; background-size: cover; background-position: center 25%; transform: scale(1.12); }
.carousel-item.active .kb { animation: kenburns 9s ease-out both; }
.carousel-item:nth-child(even).active .kb { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.18) translate(2%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kenburns2 { from { transform: scale(1.02) translate(-1%, 0); } to { transform: scale(1.16) translate(1.5%, -1%); } }
.banner-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,24,46,.94) 0%, rgba(7,24,46,.82) 38%, rgba(7,24,46,.35) 70%, rgba(7,24,46,.15) 100%), linear-gradient(0deg, rgba(7,24,46,.75) 0%, transparent 35%); }
@media (max-width: 991.98px) { .banner-shade { background: linear-gradient(0deg, rgba(7,24,46,.96) 0%, rgba(7,24,46,.82) 55%, rgba(7,24,46,.45) 100%); } }

.banner-content { position: relative; z-index: 2; display: flex; align-items: center; padding: 4.5rem 0 6.5rem; pointer-events: none; }
.banner-content .container { pointer-events: auto; }
.banner-text { max-width: 660px; color: #fff; }
.hero-banner .eyebrow { color: #f0c46b; }
.hero-banner h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-banner .lead { color: #d4deeb; }
.hero-banner .cred-row { border-top-color: rgba(255,255,255,.18); }
.hero-banner .cred strong { color: #fff; }
.hero-banner .cred span { color: #b9c8dc; }
.hero-banner .cred i { color: #f0c46b; }
.btn-glass { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.4); --bs-btn-bg: rgba(255,255,255,.08); --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--ak-navy); --bs-btn-hover-border-color: #fff; --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.25rem; --bs-btn-padding-y: .62rem; --bs-btn-border-radius: .4rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .2s, background-color .2s, color .2s; }
.btn-glass:hover { transform: translateY(-2px); }

/* controls: arrows, progress dots, counter */
.banner-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.6rem; }
.banner-arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background-color .2s, color .2s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.banner-arrow:hover { background: #fff; color: var(--ak-navy); }
.banner-dots.carousel-indicators { position: static; margin: 0; gap: 6px; justify-content: flex-start; flex-wrap: wrap; }
.banner-dots [data-bs-slide-to] { position: relative; width: 26px; height: 4px; margin: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.3); opacity: 1; overflow: hidden; text-indent: 0; padding: 0; }
.banner-dots [data-bs-slide-to] span { position: absolute; inset: 0; background: #f0c46b; transform: scaleX(0); transform-origin: left; }
.banner-dots .active { width: 46px !important; }
.banner-dots .active span { animation: fillbar 6s linear forwards; }
.hero-banner .carousel:hover .banner-dots .active span { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }
.banner-count { margin-left: auto; color: #b9c8dc; font-size: .85rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.banner-count b { color: #fff; font-size: 1.05rem; }
@media (max-width: 575.98px) { .banner-count { display: none; } .banner-dots [data-bs-slide-to] { width: 14px; } .banner-dots .active { width: 28px !important; } }

.banner-badge { position: absolute; z-index: 3; left: auto; right: max(24px, calc((100% - 1320px) / 2 + 12px)); bottom: 6.5rem; }
@media (max-width: 991.98px) { .banner-badge { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .carousel-item.active .kb, .banner-dots .active span { animation: none !important; }
  .kb { transform: none; }
  .banner-dots .active span { transform: scaleX(1); }
}
@media (max-width: 575.98px) { .hero-banner .cred-row { display: none; } .banner-content { padding: 3.5rem 0 5.5rem; } }

/* per-slide caption slides in with each photo */
.slide-cap { position: absolute; z-index: 2; right: max(24px, calc((100% - 1320px) / 2 + 12px)); top: 1.6rem; display: inline-flex; align-items: center; gap: .5rem; max-width: min(420px, 70%); padding: .5rem .9rem; border-radius: 999px; background: rgba(7,24,46,.55); color: #fff; font-size: .85rem; font-weight: 500; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); opacity: 0; transform: translateY(-10px); }
.slide-cap i { color: #f0c46b; }
.carousel-item.active .slide-cap { animation: capIn .8s .6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes capIn { to { opacity: 1; transform: none; } }
@media (max-width: 991.98px) { .slide-cap { display: none; } }
@media (prefers-reduced-motion: reduce) { .slide-cap { opacity: 1; transform: none; animation: none !important; } }

/* =========================================================
   Split banner: navy text panel left, moving photos right
   (people in these photos usually stand left of centre, so photos must not sit under the text)
   ========================================================= */
@media (min-width: 992px) {
  .hero.hero-banner { background: var(--ak-navy); min-height: clamp(560px, 80vh, 760px); }
  .hero-banner .carousel { position: absolute; top: 0; right: 0; bottom: 0; left: 40%; }
  .hero-banner .banner-shade { background: linear-gradient(90deg, var(--ak-navy) 0%, rgba(11,37,69,.75) 12%, rgba(11,37,69,0) 34%), linear-gradient(0deg, rgba(7,24,46,.7) 0%, transparent 28%); }
  .banner-text { max-width: 560px; }
  .banner-content { padding: 4.5rem 0 7rem; }
  .hero-banner h1 { font-size: clamp(2.3rem, 3.6vw, 3.3rem); }
  .banner-controls .container { justify-content: flex-start; }
  .hero-banner::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 40%; width: 3px; background: linear-gradient(180deg, transparent, var(--ak-gold), transparent); opacity: .7; pointer-events: none; }
  .slide-cap { right: max(24px, calc((100% - 1320px) / 2 + 12px)); }
  .banner-badge { bottom: 6.5rem; }
}
@media (max-width: 991.98px) {
  .hero.hero-banner { display: block; min-height: 0; }
  .hero-banner .carousel { position: relative; height: clamp(240px, 56vw, 420px); }
  .hero-banner .banner-shade { background: linear-gradient(0deg, var(--ak-navy) 0%, rgba(11,37,69,0) 45%); }
  .banner-content { padding: 1.5rem 0 3rem; }
  .banner-controls { bottom: .9rem; }
  .banner-count { display: none; }
}
@media (min-width: 992px) {
  .hero-banner .carousel, .hero-banner::after { left: 46%; }
  .banner-text { max-width: min(520px, calc(46vw - 7rem)); }
  .hero-banner .banner-controls .container { max-width: none; padding-inline: 4.5rem 2rem; }
  .slide-cap, .banner-badge { right: 2rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) { .hero-banner .cred-row { gap: 1rem 1.5rem; } .hero-banner .cred-row .cred:nth-child(3) { display: none; } }

/* banner slides are <img> tags: fill the frame, crop with object-position */
img.kb { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }

/* =========================================================
   Hero slider (hs): full-width rotating banner
   - clip-path wipe between slides, Ken Burns zoom on the photo
   - text panel sits on the side of each photo where the subject is not (data-side)
   - headline, text and button animate in per slide
   ========================================================= */
.hs { position: relative; background: var(--ak-navy); color: #fff; overflow: hidden; --hs-dur: 7000ms; }
.hs-slides { position: relative; height: clamp(520px, calc(100vh - 160px), 760px); }
.hs-slide { position: absolute; inset: 0; visibility: hidden; z-index: 0; }
.hs-slide.is-active, .hs-slide.is-leaving { visibility: visible; }
.hs-slide.is-active { z-index: 2; }
.hs-slide.is-leaving { z-index: 1; }
.hs-media { position: absolute; inset: 0; overflow: hidden; }
.hs-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transform: scale(1.04); }
.hs-media::after { content: ""; position: absolute; inset: 0; }
.hs-slide[data-side="right"] .hs-media::after { background: linear-gradient(270deg, rgba(7,24,46,.95) 0%, rgba(7,24,46,.86) 30%, rgba(7,24,46,.35) 55%, rgba(7,24,46,0) 72%), linear-gradient(0deg, rgba(7,24,46,.65) 0%, transparent 30%); }
.hs-slide[data-side="left"] .hs-media::after { background: linear-gradient(90deg, rgba(7,24,46,.95) 0%, rgba(7,24,46,.86) 30%, rgba(7,24,46,.35) 55%, rgba(7,24,46,0) 72%), linear-gradient(0deg, rgba(7,24,46,.65) 0%, transparent 30%); }

/* wipe transition: incoming slide uncovers from the travel direction */
.hs-slide.is-active .hs-media { animation: hsWipeNext 1.2s cubic-bezier(.77,0,.18,1) both; }
.hs[data-dir="prev"] .hs-slide.is-active .hs-media { animation-name: hsWipePrev; }
.hs.is-first .hs-slide.is-active .hs-media { animation: hsFade 1s ease both; }
@keyframes hsWipeNext { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes hsWipePrev { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hsFade { from { opacity: 0; } to { opacity: 1; } }
.hs-slide.is-leaving .hs-media img { animation: hsOut 1.2s ease both; }
@keyframes hsOut { to { transform: scale(1.12); filter: brightness(.6); } }
.hs-slide.is-active .hs-media img { animation: hsKen var(--hs-dur) linear both; }
@keyframes hsKen { from { transform: scale(1.16); } to { transform: scale(1.02); } }
/* thin gold line rides the wipe edge */
.hs-slide.is-active::before { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, transparent, var(--ak-gold), transparent); left: 100%; animation: hsEdge 1.2s cubic-bezier(.77,0,.18,1) both; pointer-events: none; }
.hs[data-dir="prev"] .hs-slide.is-active::before { animation-name: hsEdgePrev; }
.hs.is-first .hs-slide.is-active::before { display: none; }
@keyframes hsEdge { from { left: 100%; opacity: 1; } 90% { opacity: 1; } to { left: 0; opacity: 0; } }
@keyframes hsEdgePrev { from { left: 0; opacity: 1; } 90% { opacity: 1; } to { left: 100%; opacity: 0; } }

/* content panel */
.hs-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding-bottom: 5.5rem; }
.hs-content .container { display: flex; }
.hs-slide[data-side="right"] .hs-content .container { justify-content: flex-end; }
.hs-card { max-width: 540px; }
.hs-kicker { display: inline-flex; align-items: center; gap: .7rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #f0c46b; }
.hs-kicker b { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(240,196,107,.6); border-radius: 50%; font-size: .78rem; letter-spacing: 0; color: #fff; }
.hs-title { color: #fff; font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.1; margin: 1rem 0 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hs-text { color: #d4deeb; font-size: 1.08rem; line-height: 1.7; margin: 0 0 1.6rem; max-width: 50ch; }
.hs-btn { --bs-btn-padding-y: .72rem; --bs-btn-padding-x: 1.35rem; display: inline-flex; gap: .5rem; align-items: center; }
.hs-btn i { transition: transform .25s; }
.hs-btn:hover i { transform: translateX(4px); }

/* staggered text entrance for the active slide */
.hs-card > * { opacity: 0; transform: translateY(26px); }
.hs-slide.is-active .hs-card > * { animation: hsRise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hs-slide.is-active .hs-kicker { animation-delay: .55s; }
.hs-slide.is-active .hs-title { animation-delay: .7s; }
.hs-slide.is-active .hs-text { animation-delay: .85s; }
.hs-slide.is-active .hs-btn { animation-delay: 1s; }
.hs.is-first .hs-slide.is-active .hs-kicker { animation-delay: .15s; }
.hs.is-first .hs-slide.is-active .hs-title { animation-delay: .3s; }
.hs.is-first .hs-slide.is-active .hs-text { animation-delay: .45s; }
.hs.is-first .hs-slide.is-active .hs-btn { animation-delay: .6s; }
.hs-slide.is-leaving .hs-card > * { opacity: 1; transform: none; animation: hsFadeOut .4s ease forwards; }
@keyframes hsRise { to { opacity: 1; transform: none; } }
@keyframes hsFadeOut { to { opacity: 0; transform: translateY(-14px); } }
/* without JavaScript, the first slide is simply shown */
html:not(.hs-ready) .hs-slide.is-active .hs-card > * { opacity: 1; transform: none; animation: none; }

/* controls bar */
.hs-ui { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding-bottom: 1.6rem; }
.hs-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.hs-dots { display: flex; gap: .5rem; flex: 1; max-width: 760px; }
.hs-dot { flex: 1; min-width: 0; background: none; border: 0; padding: .6rem 0 0; text-align: left; color: #b9c8dc; cursor: pointer; position: relative; }
.hs-dot span { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.hs-dot span::after { content: ""; position: absolute; inset: 0; background: #f0c46b; transform: scaleX(0); transform-origin: left; }
.hs-dot.is-done span::after { transform: scaleX(1); background: rgba(255,255,255,.7); }
.hs-dot.is-active span::after { animation: hsProg var(--hs-dur) linear forwards; }
.hs.is-paused .hs-dot.is-active span::after { animation-play-state: paused; }
@keyframes hsProg { to { transform: scaleX(1); } }
.hs-dot em { display: block; font-style: normal; font-size: .74rem; margin-top: .45rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .55; transition: opacity .2s, color .2s; }
.hs-dot:hover em, .hs-dot.is-active em { opacity: 1; color: #fff; }
.hs-dot:focus-visible { outline: 2px solid #f0c46b; outline-offset: 4px; border-radius: 4px; }
.hs-nav { display: flex; align-items: center; gap: .5rem; flex: none; }
.hs-count { color: #b9c8dc; font-size: .85rem; letter-spacing: .08em; margin-right: .6rem; font-variant-numeric: tabular-nums; }
.hs-count b { color: #fff; font-size: 1.15rem; font-family: var(--ak-display); }
.hs-btn-ui { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-size: 1.05rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s, color .2s, transform .2s; }
.hs-btn-ui:hover { background: #fff; color: var(--ak-navy); transform: translateY(-2px); }
.hs-btn-ui:focus-visible { outline: 2px solid #f0c46b; outline-offset: 2px; }

/* tablets & phones: photo on top, text panel below */
@media (max-width: 991.98px) {
  .hs-slides { height: auto; display: grid; }
  .hs-slide { position: relative; inset: auto; grid-area: 1 / 1; }
  .hs-media { position: relative; height: clamp(230px, 58vw, 440px); }
  .hs-slide .hs-media::after { background: linear-gradient(0deg, var(--ak-navy) 0%, rgba(11,37,69,0) 40%) !important; }
  .hs-content { position: relative; inset: auto; padding: .5rem 0 6.5rem; background: var(--ak-navy); }
  .hs-slide[data-side] .hs-content .container { justify-content: flex-start; }
  .hs-dot em { display: none; }
  .hs-dots { max-width: none; }
  .hs-count { display: none; }
  .hs-ui { padding-bottom: 1.25rem; }
  .hs-btn-ui { width: 40px; height: 40px; }
}
@media (max-width: 575.98px) { .hs-text { font-size: 1rem; } .hs-toggle { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-active .hs-media, .hs-slide.is-active .hs-media img, .hs-slide.is-leaving .hs-media img, .hs-slide.is-active::before { animation: none !important; }
  .hs-media img { transform: none; }
  .hs-card > * , .hs-slide.is-active .hs-card > * { opacity: 1; transform: none; animation: none !important; }
  .hs-slide.is-leaving { visibility: hidden; }
}
