/* ===================================================================
   Austex Pharma — modernized recreation
   Design system + components + page styles
   =================================================================== */

/* ---------- Tokens ---------- */
:root {
  --brand:        #103178;
  --brand-dark:   #0c2862;
  --brand-deep:   #081d49;
  --accent:       #ff9923;
  --accent-dark:  #e07d10;
  --ink:          #15203a;
  --ink-soft:     #4f5c75;
  --ink-faint:    #8a93ab;
  --line:         #e4e8f1;
  --bg:           #ffffff;
  --bg-soft:      #f0f2f5;
  --bg-mint:      #e9f0fb;
  --navy:         #0a1c4d;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(10, 24, 64, .07);
  --shadow:    0 14px 40px rgba(10, 24, 64, .12);
  --shadow-lg: 0 30px 70px rgba(10, 24, 64, .18);

  --maxw: 1200px;
  --header-h: 78px;

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--ink); }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--bg-mint); }
.section--tight { padding: 64px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.is-center { justify-content: center; }

.section-title { font-size: clamp(1.85rem, 3.4vw, 2.8rem); margin: 14px 0 0; letter-spacing: -.02em; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; margin-top: 16px; max-width: 620px; }
.section-lead.is-center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #103178, #2350a8);
  color: #fff; box-shadow: 0 12px 26px rgba(16, 49, 120,.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(16, 49, 120,.42); }
.btn-outline { background: transparent; color: var(--brand-dark); box-shadow: inset 0 0 0 2px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-ghost { color: var(--brand-dark); padding: 10px 0; }
.btn-ghost:hover { color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

/* ===================================================================
   Promo bar
   =================================================================== */
.promo {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-dark));
  color: #d6f3f0; font-size: .85rem; position: relative; z-index: 60;
}
.promo .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding: 7px 48px; text-align: center; }
.promo strong { color: #fff; font-family: var(--font-head); }
.promo .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 0 rgba(255,153,35,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,153,35,0); } 100% { box-shadow: 0 0 0 0 rgba(255,153,35,0); } }
.promo-close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #9fd8d3; font-size: 1.2rem; line-height: 1; padding: 4px; }
.promo-close:hover { color: #fff; }

/* ===================================================================
   Header
   =================================================================== */
#site-header { display: contents; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-logo.failed { display: none; }
.brand-fallback { display: none; align-items: center; gap: 10px; }
.brand-logo.failed ~ .brand-fallback { display: flex; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: linear-gradient(135deg, #103178, #2350a8);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
}
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.1; }
.brand-name span { color: var(--brand); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: var(--accent); }

/* nav */
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  padding: 10px 12px; border-radius: 10px; color: var(--ink);
  cursor: pointer; user-select: none;
  transition: color .15s ease, background .15s ease;
}
.dropdown a { cursor: pointer; }
.nav-link:hover, .nav-item:hover .nav-link { color: var(--brand); background: var(--bg-soft); }
.nav-link.active { color: var(--brand); }
.nav-link .caret { width: 9px; transition: transform .2s ease; opacity: .6; }
.nav-item:hover .caret { transform: rotate(180deg); }

/* dropdown — continuous hover bridge, no gap that drops :hover */
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding-top: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; min-width: 252px;
}
.dropdown a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 10px; font-size: .9rem; font-weight: 600;
  color: var(--ink-soft); transition: background .14s ease, color .14s ease;
}
.dropdown a:hover { background: var(--bg-mint); color: var(--brand-dark); }
.dropdown a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* mega menu */
.dropdown.is-mega { left: 50%; right: auto; transform: translateX(-50%) translateY(10px); }
.nav-item:hover .dropdown.is-mega,
.nav-item:focus-within .dropdown.is-mega { transform: translateX(-50%) translateY(0); }
.megamenu { display: grid; grid-template-columns: 1.7fr .85fr; gap: 14px; width: 680px; }
.mega-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px 8px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mega-head b { font-family: var(--font-head); font-size: .95rem; }
.mega-head a { font-size: .8rem; font-weight: 700; color: var(--brand); }
.mega-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-cat { display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 11px; transition: background .14s ease; }
.mega-cat:hover { background: var(--bg-mint); }
.mega-cat .m-ic {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--bg-mint); color: var(--brand);
  display: grid; place-items: center; transition: .14s;
}
.mega-cat:hover .m-ic { background: linear-gradient(135deg, #103178, #2350a8); color: #fff; }
.mega-cat b { font-family: var(--font-head); font-size: .87rem; color: var(--ink); display: block; line-height: 1.25; }
.mega-cat small { font-size: .74rem; color: var(--ink-faint); }
.mega-promo {
  border-radius: 14px; padding: 22px; color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(155deg, var(--brand), var(--brand-deep));
  display: flex; flex-direction: column; justify-content: center; gap: 7px;
}
.mega-promo::after { content: ""; position: absolute; right: -30px; bottom: -30px;
  width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.08); }
.mega-promo .tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.mega-promo h4 { color: #fff; font-size: 1.1rem; line-height: 1.25; }
.mega-promo p { font-size: .8rem; color: #d3ddf4; }
.mega-promo .btn { margin-top: 8px; align-self: flex-start; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-search {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 9px 13px; border-radius: 11px;
  color: var(--ink-faint); font-size: .86rem; font-weight: 500;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.header-search:hover { border-color: var(--brand); color: var(--brand-dark); background: #fff; }
.header-search .hs-text { white-space: nowrap; }
.header-search kbd {
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 2px 6px; color: var(--ink-faint);
}
.header-divider { width: 1px; height: 30px; background: var(--line); }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone .ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--bg-mint); display: grid; place-items: center; color: var(--brand);
}
.header-phone small { display: block; font-size: .68rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.header-phone b { font-family: var(--font-head); font-size: .92rem; color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; background: var(--bg-soft); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw);
  background: #fff; z-index: 80; padding: 24px;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-backdrop { position: fixed; inset: 0; background: rgba(8,18,52,.5); z-index: 70; opacity: 0; visibility: hidden; transition: .25s; }
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mobile-nav .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-nav .m-close { font-size: 1.6rem; color: var(--ink-soft); width: 40px; height: 40px; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group > button, .m-group > a {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 15px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink);
}
.m-group > button .caret { transition: transform .2s; opacity: .5; }
.m-group.open > button .caret { transform: rotate(180deg); }
.m-sub { display: none; padding: 0 4px 12px; }
.m-group.open .m-sub { display: block; }
.m-sub a { display: block; padding: 9px 14px; color: var(--ink-soft); font-size: .92rem; border-left: 2px solid var(--line); }
.m-sub a:hover { color: var(--brand); border-color: var(--accent); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* ===================================================================
   Hero — home
   =================================================================== */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 420px at 12% 8%, rgba(16,49,120,.55), transparent 60%),
    radial-gradient(560px 480px at 92% 92%, rgba(255,153,35,.42), transparent 60%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px;
  align-items: center; padding-top: 80px; padding-bottom: 90px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: #c6d2ef; backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.03em;
  margin: 22px 0 0;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #ffc680, #ff9923);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: #b3bedb; font-size: 1.12rem; margin: 22px 0 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 44px; }
.hero-stats .num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #fff; }
.hero-stats .num span { color: var(--accent); }
.hero-stats small { color: #8a95b4; font-size: .82rem; }

/* hero slider visual */
.hero-visual { position: relative; }
.hero-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #16336f, #0a1c4d);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,18,52,.65) 100%); }
.hero-slide .cap { z-index: 2; }
.hero-slide .cap { position: relative; }
.hero-slide .cap b { font-family: var(--font-head); font-size: 1.35rem; color: #fff; display: block; }
.hero-slide .cap span { color: #a6b2d2; font-size: .9rem; }
.hero-dots { position: absolute; bottom: 16px; right: 20px; display: flex; gap: 7px; z-index: 3; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: .2s; }
.hero-dots button.active { background: var(--accent); width: 22px; border-radius: 5px; }
.hero-float {
  position: absolute; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 13px 17px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px;
}
.hero-float .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-mint); display: grid; place-items: center; color: var(--brand); flex: none; }
.hero-float small { font-size: .7rem; color: var(--ink-faint); display: block; }
.hero-float b { font-family: var(--font-head); font-size: .9rem; }
.hero-float.tl { top: 26px; left: -28px; }
.hero-float.br { bottom: 30px; left: -34px; }

/* ===================================================================
   Page hero (interior)
   =================================================================== */
.page-hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: 64px 0 70px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 360px at 88% 0%, rgba(16,49,120,.5), transparent 62%),
    radial-gradient(420px 340px at 0% 100%, rgba(255,153,35,.32), transparent 60%);
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: #8791af; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: #5d757b; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; max-width: 860px; }
.page-hero p { color: #aab4d2; margin-top: 14px; max-width: 620px; }

/* ===================================================================
   Prose / content
   =================================================================== */
.prose p { color: var(--ink-soft); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.7rem; margin: 12px 0 18px; letter-spacing: -.02em; }
.prose h3 { font-size: 1.28rem; margin: 30px 0 14px; color: var(--brand-dark); }
.prose strong { color: var(--ink); }
ul.ticks { margin: 8px 0 22px; display: grid; gap: 11px; }
ul.ticks li { display: flex; gap: 12px; color: var(--ink-soft); }
ul.ticks li::before {
  content: "✓"; flex: none; width: 23px; height: 23px; border-radius: 7px;
  background: var(--bg-mint); color: var(--accent-dark); font-weight: 800; font-size: .78rem;
  display: grid; place-items: center; margin-top: 3px;
}
.quote-block {
  border-left: 4px solid var(--accent); background: var(--bg-mint);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-size: 1.15rem; font-style: italic; color: var(--brand-deep);
  margin: 8px 0 28px;
}
.quote-block cite { display: block; font-style: normal; font-size: .9rem; color: var(--ink-soft); margin-top: 8px; font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.is-narrow { gap: 44px; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split-media .frame {
  position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg);
  border: 2px solid var(--accent); z-index: -1;
}

/* ===================================================================
   Cards
   =================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .card-ic {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, #103178, #2350a8); color: #fff;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card .card-link { display: inline-flex; gap: 6px; margin-top: 16px; color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .9rem; }
.card .card-link .arrow { transition: transform .2s; }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* quick-action cards (Adverse / CSR / Business) */
.action-card {
  display: flex; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.action-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.action-card .ic {
  width: 60px; height: 60px; border-radius: 16px; flex: none; display: grid; place-items: center;
  background: var(--bg-mint); color: var(--brand);
}
.action-card h4 { font-size: 1.08rem; }
.action-card p { font-size: .86rem; color: var(--ink-soft); }
.action-card .arrow { margin-left: auto; color: var(--brand); flex: none; transition: transform .2s; }
.action-card:hover .arrow { transform: translateX(5px); }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat {
  text-align: center; padding: 36px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; letter-spacing: -.03em;
  background: linear-gradient(135deg, #103178, #2350a8);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--ink-soft); font-weight: 600; font-family: var(--font-head); }

/* value chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 17px; font-size: .88rem; font-weight: 600; color: var(--ink-soft);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ===================================================================
   Product cards / shop
   =================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-thumb {
  position: relative; aspect-ratio: 1; background: var(--bg-soft);
  display: grid; place-items: center; padding: 22px; overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-cat-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92); color: var(--brand-dark);
  font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 1rem; line-height: 1.35; }
.product-body .comp { font-size: .8rem; color: var(--ink-faint); }
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line);
}
.product-rx {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-faint);
}
.product-rx::before { content: "℞"; font-size: .92rem; color: var(--brand); }
.product-view {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .84rem;
}
.product-view .arrow { transition: transform .2s ease; }
.product-card:hover .product-view .arrow { transform: translateX(4px); }

/* category tiles */
.cat-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-tile .ic { width: 74px; height: 74px; border-radius: 18px; background: var(--bg-mint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.cat-tile .ic svg { width: 34px; height: 34px; stroke-width: 1.9; }
.cat-tile h3 { font-size: 1.12rem; }
.cat-tile .count { font-size: .82rem; color: var(--ink-faint); }
.cat-tile .go { margin-top: 14px; color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .86rem; display: inline-flex; gap: 6px; }
.cat-tile::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: var(--bg-mint); z-index: 0; transition: transform .3s ease;
}
.cat-tile:hover::after { transform: scale(1.4); }
.cat-tile > * { position: relative; z-index: 1; }

/* shop layout */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.shop-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.side-cat-list a { display: flex; justify-content: space-between; padding: 9px 0; font-size: .92rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.side-cat-list a:last-child { border-bottom: none; }
.side-cat-list a:hover, .side-cat-list a.active { color: var(--brand); font-weight: 600; }
.side-cat-list a b { color: var(--ink-faint); font-size: .8rem; font-weight: 600; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.shop-toolbar .count-txt { color: var(--ink-soft); font-size: .92rem; }
.shop-toolbar select { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-soft); background: #fff; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--ink-soft); }
.empty-state .ic { width: 80px; height: 80px; border-radius: 50%; background: var(--bg-mint); display: grid; place-items: center; margin: 0 auto 18px; color: var(--brand); }

/* product detail */
.pd-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.pd-gallery { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 40px; position: sticky; top: calc(var(--header-h) + 20px); }
.pd-gallery img { width: 100%; object-fit: contain; aspect-ratio: 1; }
.pd-cat { color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.pd-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 10px 0 14px; letter-spacing: -.02em; }
.pd-price { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--brand-dark); }
.pd-price span { font-size: 1rem; }
.pd-comp { background: var(--bg-mint); border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; }
.pd-comp small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.pd-comp p { font-family: var(--font-head); font-weight: 600; color: var(--brand-deep); margin-top: 4px; }
.pd-actions { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.pd-tabs { margin-top: 14px; }
.pd-tab-head { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pd-tab-head button {
  padding: 12px 18px; font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  color: var(--ink-faint); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.pd-tab-head button.active { color: var(--brand); border-color: var(--brand); }
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }
.pd-tab-panel p { color: var(--ink-soft); }
.pd-info-table { width: 100%; border-collapse: collapse; }
.pd-info-table td { padding: 12px 14px; border: 1px solid var(--line); font-size: .92rem; }
.pd-info-table td:first-child { background: var(--bg-soft); font-weight: 600; width: 38%; color: var(--ink); }
.pd-info-table td:last-child { color: var(--ink-soft); }
.pd-note { font-size: .82rem; color: var(--ink-faint); margin-top: 18px; }

/* ===================================================================
   Forms
   =================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field label .req { color: #e0533b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg-soft); color: var(--ink); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(16,49,120,.1);
}
.field textarea { resize: vertical; min-height: 120px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check {
  display: flex; align-items: center; gap: 10px; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--bg-soft);
  font-size: .9rem; cursor: pointer; transition: .15s;
}
.check:hover { border-color: var(--brand); }
.check input { width: auto; }
.form-note { font-size: .82rem; color: var(--ink-faint); background: var(--bg-soft); padding: 14px 16px; border-radius: 11px; border-left: 3px solid var(--accent); margin-top: 6px; }
.form-disclaimer { font-size: .8rem; color: var(--ink-faint); margin-top: 14px; text-align: center; }

/* contact info cards */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.info-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-mint); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-item small { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; }
.info-item b { font-family: var(--font-head); display: block; }
.info-item span { font-size: .9rem; color: var(--ink-soft); }
a.info-item { transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
a.info-item:hover { border-color: var(--brand); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.office-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.office-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.office-card p { font-size: .92rem; color: var(--ink-soft); margin-top: 6px; }
.office-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
  color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .84rem; }
.office-link:hover { color: var(--brand-dark); }

/* jobs */
.job-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.job-card .j-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--bg-mint); color: var(--brand); display: grid; place-items: center; flex: none; }
.job-card h3 { font-size: 1.1rem; }
.job-card .j-meta { display: flex; gap: 16px; font-size: .85rem; color: var(--ink-soft); margin-top: 3px; }
.job-card .j-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-card .j-type { background: var(--bg-mint); color: var(--brand-dark); font-weight: 700; font-size: .76rem; padding: 6px 13px; border-radius: 999px; }
.job-card .btn { margin-left: auto; }

/* partners */
.partner-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner-logo {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  height: 92px; width: 160px; display: grid; place-items: center; padding: 18px;
  transition: .2s; filter: grayscale(1); opacity: .7;
}
.partner-logo:hover { filter: grayscale(0); opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.partner-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); transition: transform .25s ease; }
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-grid--quad { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }

/* CTA band */
.cta-band { position: relative; background: var(--navy); color: #fff; overflow: hidden; border-radius: var(--radius-lg); padding: 56px; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(440px 300px at 90% 10%, rgba(255,153,35,.4), transparent 60%),
              radial-gradient(420px 320px at 5% 100%, rgba(16,49,120,.5), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: #aab4d2; margin: 12px 0 24px; max-width: 540px; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--navy); color: #9aa6c4; padding-top: 70px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .9rem; margin: 16px 0; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #ccd5ec; transition: .18s;
}
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-col h5 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .9rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-contact-item { display: flex; gap: 11px; margin-bottom: 16px; }
.footer-contact-item .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--accent); flex: none; }
.footer-contact-item small { font-size: .76rem; color: #767f9d; }
.footer-contact-item b { color: #fff; font-family: var(--font-head); font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: #767f9d;
}
.footer-bottom a:hover { color: var(--accent); }

/* back to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px;
  border-radius: 13px; background: var(--brand); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; z-index: 40;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 90;
  opacity: 0; visibility: hidden; transition: .3s; display: flex; align-items: center; gap: 9px;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast .ic { color: var(--accent); }

/* ===================================================================
   Spotlight search
   =================================================================== */
.spotlight-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 18, 52, .5); backdrop-filter: blur(5px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 11vh 20px 20px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.spotlight-backdrop.open { opacity: 1; visibility: visible; }
.spotlight {
  width: min(620px, 100%); background: #fff; border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: scale(.97) translateY(-10px); transition: transform .22s ease;
}
.spotlight-backdrop.open .spotlight { transform: none; }
.spotlight-top { display: flex; align-items: center; gap: 13px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.spotlight-top > svg { color: var(--brand); flex: none; }
.spotlight-input { flex: 1; border: none; outline: none; background: none; font-size: 1.12rem; color: var(--ink); font-family: var(--font-body); }
.spotlight-input::placeholder { color: var(--ink-faint); }
.spotlight-esc {
  font-family: var(--font-head); font-size: .68rem; font-weight: 700; color: var(--ink-faint);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; flex: none;
}
.spotlight-results { max-height: 54vh; overflow-y: auto; padding: 8px; }
.spotlight-group { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; padding: 13px 12px 6px; }
.spotlight-item { display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.spotlight-item.active { background: var(--bg-mint); }
.spotlight-item .si-ic {
  width: 40px; height: 40px; border-radius: 10px; flex: none; overflow: hidden;
  background: var(--bg-soft); display: grid; place-items: center; color: var(--brand);
}
.spotlight-item .si-ic img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.spotlight-item .si-text { min-width: 0; flex: 1; }
.spotlight-item b { font-family: var(--font-head); font-size: .93rem; color: var(--ink); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotlight-item small { font-size: .78rem; color: var(--ink-faint); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotlight-item .si-go { color: var(--ink-faint); flex: none; opacity: 0; transition: .15s; }
.spotlight-item.active .si-go { opacity: 1; }
.spotlight-empty { padding: 46px 20px; text-align: center; color: var(--ink-faint); }
.spotlight-empty .se-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; margin: 0 auto 14px; color: var(--ink-faint); }
.spotlight-foot { display: flex; gap: 18px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--ink-faint); }
.spotlight-foot span { display: inline-flex; align-items: center; gap: 6px; }
.spotlight-foot kbd { font-family: var(--font-head); font-weight: 700; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }

/* ===================================================================
   Incentive calculator
   =================================================================== */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.calc-result {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 34px;
  position: sticky; top: calc(var(--header-h) + 20px); overflow: hidden;
}
.calc-result::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(320px 240px at 100% 0%, rgba(255,153,35,.34), transparent 62%); }
.calc-result > * { position: relative; }
.calc-result .lbl { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #8791af; font-weight: 700; }
.calc-big { font-family: var(--font-head); font-weight: 800; font-size: 3.1rem; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0; }
.calc-big span { background: linear-gradient(120deg, #ffc680, #ff9923); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-meter { height: 12px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin: 16px 0 8px; }
.calc-meter span { display: block; height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .7s cubic-bezier(.4,0,.2,1); }
.calc-badge { display: inline-block; padding: 7px 15px; border-radius: 999px; font-size: .82rem;
  font-weight: 700; font-family: var(--font-head); background: rgba(255,153,35,.16); color: var(--accent); }
.calc-rows { margin-top: 22px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: .92rem; }
.calc-row:last-child { border-bottom: none; }
.calc-row span { color: #9aa6c4; }
.calc-row b { color: #fff; font-family: var(--font-head); font-size: 1rem; }
.calc-row b.payout { color: var(--accent); font-size: 1.2rem; }
.slab-table { width: 100%; border-collapse: collapse; }
.slab-table th, .slab-table td { padding: 12px 15px; border: 1px solid var(--line); font-size: .9rem; text-align: left; }
.slab-table th { background: var(--bg-soft); font-family: var(--font-head); }
.slab-table tr.hit td { background: var(--bg-mint); font-weight: 700; color: var(--brand-deep); }

/* ===================================================================
   Scroll reveal
   =================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===================================================================
   Responsive
   =================================================================== */
/* Tablet & small-laptop: the full nav + search label + phone block needs ~1302px.
   Shed the secondary header chrome first (phone, divider, search label), then —
   below 992px — swap the whole nav for the hamburger drawer. */
@media (max-width: 1320px) {
  .header-phone, .header-divider,
  .header-search .hs-text, .header-search kbd { display: none; }
  .header-search { padding: 10px; }
  .header-inner { gap: 16px; }
  .main-nav { gap: 0; }
  .nav-link { padding: 10px 9px; font-size: .9rem; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-float.tl, .hero-float.br { left: auto; right: 14px; }
  .hero-float.tl { top: 14px; } .hero-float.br { bottom: 14px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .pd-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery { position: static; }
}
@media (max-width: 991px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .section { padding: 64px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-media .frame { display: none; }
  .grid-3, .grid-4, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { padding: 38px 28px; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .product-grid, .stat-band, .gallery-grid,
  .form-row, .check-grid, .shop-side { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .form-card { padding: 24px; }
  .section-title { font-size: 1.7rem; }
  .promo .container { padding: 7px 36px; font-size: .78rem; }
  .cta-band { padding: 32px 22px; }
  .profile-quote { padding: 26px 24px 26px 46px; font-size: 1.05rem; }
  .profile-quote::before { font-size: 4rem; left: 16px; }
  .quote-block { padding: 18px 20px; font-size: 1.05rem; }

  /* Hero: tighten the loose navy padding and make the CTAs full-width + equal */
  .hero-grid { padding-top: 30px; padding-bottom: 42px; gap: 30px; }
  .hero h1 { margin-top: 12px; }
  .hero p.lead { font-size: 1.05rem; margin: 16px 0 24px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
  .hero-stats .num { font-size: 1.6rem; }

  /* Interior page hero: trim matching padding */
  .page-hero { padding: 44px 0 48px; }

  /* Partner logos two-up instead of one giant column */
  .partner-strip { gap: 14px; }
  .partner-logo { width: calc(50% - 7px); height: 78px; }
}

/* ===================================================================
   Footer download links
   =================================================================== */
.dl-link { display: inline-flex; align-items: center; gap: 8px; }

/* ===================================================================
   WhatsApp floating button
   =================================================================== */
.wa-fab {
  position: fixed; right: 24px; bottom: 84px; z-index: 45;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: waPulse 2.4s infinite;
}
.wa-fab:hover { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(37,211,102,.55); }
.wa-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff;
  padding: 8px 14px; border-radius: 9px;
  font-size: .85rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
  box-shadow: var(--shadow);
}
.wa-fab:hover .wa-tip { opacity: 1; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.55); }
  50%      { box-shadow: 0 14px 30px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ===================================================================
   Cookies banner
   =================================================================== */
.cookie-bar {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 75;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px 22px;
  transform: translateY(140%); opacity: 0;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s ease;
  max-width: 880px; margin: 0 auto;
}
.cookie-bar.show { transform: translateY(0); opacity: 1; }
.cookie-bar-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.cookie-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--bg-mint); color: var(--brand); display: grid; place-items: center; flex: none; }
.cookie-bar p { font-size: .88rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.cookie-bar p a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 18px; font-size: .85rem; }
@media (max-width: 720px) {
  .cookie-bar-inner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-end; flex-wrap: wrap; }
}

/* ===================================================================
   Profile blocks — Chairman / Director pages
   =================================================================== */
.profile-block {
  display: grid; grid-template-columns: 380px 1fr; gap: 50px;
  align-items: start;
}
.profile-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--bg-mint);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(255,255,255,.96); color: var(--brand-dark);
  padding: 8px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}
.profile-quote {
  position: relative;
  background: linear-gradient(135deg, var(--brand) 0%, #2350a8 100%);
  color: #fff; padding: 32px 36px 32px 60px;
  border-radius: var(--radius-lg);
  font-family: var(--font-head); font-size: 1.18rem; font-style: italic;
  line-height: 1.55; margin-bottom: 36px;
  box-shadow: 0 20px 40px rgba(16,49,120,.25);
}
.profile-quote::before {
  content: "“"; position: absolute; left: 22px; top: -2px;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1;
  color: var(--accent); font-style: normal;
}
.profile-quote cite {
  display: block; font-style: normal; font-size: .82rem; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: 14px; font-weight: 700;
}
@media (max-width: 900px) {
  .profile-block { grid-template-columns: 1fr; gap: 32px; }
  .profile-photo { max-width: 360px; margin: 0 auto; }
}

/* ===================================================================
   Team grid (Our Team page)
   =================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.team-photo {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-mint), #d8e3f2);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-body { padding: 22px 22px 24px; }
.team-body h3 { font-size: 1.18rem; letter-spacing: -.01em; }
.team-role {
  display: inline-block; margin: 6px 0 12px;
  color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .82rem;
  letter-spacing: .04em;
}
.team-bio { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .team-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Timeline
   =================================================================== */
.timeline { position: relative; max-width: 920px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 2px; transform: translateX(-50%);
}
.tl-item {
  display: grid; grid-template-columns: 1fr 110px 1fr; align-items: start;
  margin-bottom: 36px; gap: 24px;
}
.tl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.tl-card h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--brand-dark); }
.tl-card p { color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }
.tl-year {
  background: linear-gradient(135deg, var(--brand), #2350a8); color: #fff;
  border-radius: 14px; padding: 14px 12px;
  text-align: center; font-family: var(--font-head); font-weight: 800;
  font-size: 1.15rem; box-shadow: 0 10px 22px rgba(16,49,120,.3);
  position: relative; z-index: 2; min-height: 56px;
  display: grid; place-items: center;
}
.tl-item:nth-child(odd) > .tl-card:first-child { display: none; }
.tl-item:nth-child(odd) > .tl-card:last-child  { grid-column: 3; }
.tl-item:nth-child(even) > .tl-card:last-child { display: none; }
.tl-item:nth-child(even) > .tl-card:first-child { grid-column: 1; text-align: right; }
@media (max-width: 800px) {
  .timeline::before { left: 28px; }
  .tl-item { grid-template-columns: 56px 1fr; gap: 16px; }
  .tl-year { font-size: .95rem; padding: 10px 6px; min-height: 44px; }
  .tl-item:nth-child(odd) > .tl-card:first-child,
  .tl-item:nth-child(even) > .tl-card:last-child { display: none; }
  .tl-item:nth-child(odd) > .tl-card:last-child  { grid-column: 2; }
  .tl-item:nth-child(even) > .tl-card:first-child { grid-column: 2; text-align: left; }
}

/* ===================================================================
   Group companies
   =================================================================== */
.group-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.group-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 30px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.group-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.group-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.group-logo {
  width: 78px; height: 78px; border-radius: 18px; flex: none;
  background: var(--bg-mint); display: grid; place-items: center;
  overflow: hidden; padding: 8px;
}
.group-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.group-logo.is-fallback {
  background: linear-gradient(135deg, var(--brand), #2350a8); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.group-card h3 { font-size: 1.22rem; margin-bottom: 2px; }
.group-tagline { color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.group-card p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 14px; line-height: 1.65; }
.group-focus { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.group-focus span {
  background: var(--bg-soft); color: var(--ink-soft);
  font-size: .78rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.group-site { color: var(--brand); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg-mint); transition: background .18s ease, color .18s ease, transform .18s ease; }
.group-site:hover { background: var(--brand); color: #fff; transform: translateX(3px); }
@media (max-width: 800px) { .group-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Blog list + post
   =================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.blog-thumb { position: relative; aspect-ratio: 16/9; background: var(--bg-mint); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-tag {
  position: absolute; left: 16px; top: 16px;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.blog-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 14px; font-size: .8rem; color: var(--ink-faint); font-weight: 600; margin-bottom: 10px; }
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }
.blog-body h3 { font-size: 1.22rem; line-height: 1.35; margin-bottom: 10px; letter-spacing: -.01em; }
.blog-excerpt { color: var(--ink-soft); font-size: .94rem; line-height: 1.6; flex: 1; }
.blog-read { color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .9rem; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 800px) { .blog-grid { grid-template-columns: 1fr; } }

.post-hero {
  position: relative; overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 0;
}
.post-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,18,52,.2) 0%, rgba(8,18,52,.85) 100%);
}
.post-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.post-hero .container { position: relative; padding-top: 60px; padding-bottom: 50px; color: #fff; }
.post-hero h1 { color: #fff; font-size: clamp(1.85rem, 3.6vw, 2.8rem); max-width: 900px; letter-spacing: -.02em; }
.post-meta { display: flex; gap: 14px; font-size: .88rem; margin-bottom: 14px; color: rgba(255,255,255,.85); }
.post-meta .tag { background: var(--accent); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body p { font-size: 1.05rem; line-height: 1.78; color: var(--ink); margin-bottom: 20px; }
.post-body p:first-of-type::first-letter {
  font-family: var(--font-head); font-size: 3.4rem; float: left; line-height: 1; padding: 4px 12px 0 0;
  color: var(--brand); font-weight: 800;
}

/* ===================================================================
   Sitemap (HTML page)
   =================================================================== */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sitemap-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.sitemap-col h3 { font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sitemap-col ul { display: grid; gap: 9px; }
.sitemap-col a { font-size: .92rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.sitemap-col a::before { content: "›"; color: var(--accent); font-weight: 700; }
.sitemap-col a:hover { color: var(--brand); }
@media (max-width: 800px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   "Life at Austex" placeholder
   =================================================================== */
.coming-soon {
  text-align: center; padding: 80px 30px;
  background: linear-gradient(135deg, var(--bg-mint) 0%, #f3f8ff 100%);
  border-radius: var(--radius-lg);
}
.coming-soon .ic {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--brand), #2350a8); color: #fff;
  display: grid; place-items: center;
}
.coming-soon h2 { margin-bottom: 12px; }
.coming-soon p { color: var(--ink-soft); max-width: 540px; margin: 0 auto; }

/* ===================================================================
   Timeline v2 — interactive year scrubber + animated stage
   =================================================================== */
.tl-section { padding: 80px 0 100px; }

.tl-section-head { text-align: center; margin-bottom: 56px; }
.tl-section-head .section-title { margin-top: 14px; }

/* ---- Rail ---- */
.tl-rail { position: relative; margin: 0 auto 50px; padding: 32px 0; max-width: 1100px; }
.tl-rail-line {
  position: absolute; left: 30px; right: 30px; top: 50%;
  height: 4px; background: var(--line); border-radius: 4px;
  transform: translateY(-50%);
}
.tl-rail-progress {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 4px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 18px rgba(255,153,35,.4);
}
.tl-rail-items {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between;
  list-style: none; padding: 0; margin: 0;
}
.tl-rail-items > li { display: flex; }
.tl-node {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; background: none; border: none; cursor: pointer;
  padding: 0; transition: transform .2s ease;
}
.tl-node .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff;
  border: 3px solid var(--line);
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.tl-node .yr {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: var(--ink-faint);
  transition: color .25s ease, font-size .25s ease;
  white-space: nowrap;
}
.tl-node:hover .dot {
  border-color: var(--brand); transform: scale(1.25);
}
.tl-node:hover .yr { color: var(--brand); }
.tl-node.is-done .dot { background: var(--brand); border-color: var(--brand); }
.tl-node.is-active .dot {
  background: var(--accent);
  border-color: var(--brand);
  width: 26px; height: 26px;
  box-shadow: 0 0 0 8px rgba(255,153,35,.18), 0 6px 16px rgba(16,49,120,.3);
  animation: tlPulse 2.4s ease-out infinite;
}
.tl-node.is-active .yr {
  color: var(--brand); font-size: .95rem;
}
@keyframes tlPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255,153,35,.18), 0 6px 16px rgba(16,49,120,.3); }
  50%      { box-shadow: 0 0 0 14px rgba(255,153,35,.05), 0 6px 16px rgba(16,49,120,.3); }
}

/* ---- Stage ---- */
.tl-stage {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a1c4d 0%, #103178 60%, #1a4499 100%);
  color: #fff;
  border-radius: 32px;
  padding: 64px 64px 56px;
  min-height: 380px;
  box-shadow: 0 40px 80px rgba(16,49,120,.28);
}
.tl-stage-fx {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(2px);
}
.tl-fx-1 {
  width: 600px; height: 600px;
  top: -240px; right: -180px;
  background: radial-gradient(circle, rgba(255,153,35,.32) 0%, transparent 65%);
  animation: tlFloat 12s ease-in-out infinite;
}
.tl-fx-2 {
  width: 480px; height: 480px;
  bottom: -200px; left: -120px;
  background: radial-gradient(circle, rgba(63,192,138,.18) 0%, transparent 65%);
  animation: tlFloat 14s ease-in-out infinite reverse;
}
@keyframes tlFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, -20px); }
}

.tl-stage-content { position: relative; z-index: 2; max-width: 760px; }
.tl-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  padding: 7px 16px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
}
.tl-badge b { color: var(--accent); font-weight: 800; }
.tl-year {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
  margin: 18px 0 6px;
}
.tl-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: #fff;
  line-height: 1.25; letter-spacing: -.015em;
  margin-bottom: 18px;
}
.tl-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,.86); line-height: 1.75;
  margin-bottom: 32px;
}
.tl-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.tl-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  cursor: pointer; transition: all .22s ease;
  backdrop-filter: blur(8px);
}
.tl-arrow:hover:not(:disabled) {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.tl-arrow:disabled { opacity: .3; cursor: not-allowed; }
.tl-arrow.is-next {
  background: linear-gradient(135deg, var(--accent), #f0820f);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(255,153,35,.4);
}
.tl-arrow.is-next:hover:not(:disabled) {
  box-shadow: 0 12px 28px rgba(255,153,35,.5);
}

/* Staggered fade-in for stage content on change */
.tl-stage-content > .tl-anim {
  animation: tlEnter .55s cubic-bezier(.34,1.56,.64,1) backwards;
}
.tl-stage-content > .tl-anim:nth-child(1) { animation-delay: .04s; }
.tl-stage-content > .tl-anim:nth-child(2) { animation-delay: .12s; }
.tl-stage-content > .tl-anim:nth-child(3) { animation-delay: .20s; }
.tl-stage-content > .tl-anim:nth-child(4) { animation-delay: .28s; }
.tl-stage-content > .tl-anim:nth-child(5) { animation-delay: .36s; }
@keyframes tlEnter {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ---- Play toggle ---- */
.tl-controls {
  display: flex; justify-content: center; margin-top: 30px;
}
.tl-play {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--brand-dark);
  border: 1px solid var(--line);
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: all .2s ease;
}
.tl-play:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--brand); }
.tl-play.is-playing { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---- Overview ---- */
.tl-overview { margin-top: 90px; }
.tl-overview-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 14px;
}
.tl-overview-head h3 { font-size: 1.35rem; letter-spacing: -.01em; }
.tl-overview-head p { color: var(--ink-soft); font-size: .92rem; }
.tl-overview-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.tl-mini {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 16px 16px;
  cursor: pointer; transition: all .22s ease;
  text-align: left; position: relative;
}
.tl-mini::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 14px; height: 2px;
  background: var(--line); border-radius: 2px;
}
.tl-mini:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent;
}
.tl-mini:hover::after { background: var(--accent); }
.tl-mini.is-active {
  background: linear-gradient(135deg, var(--brand), #1a4499);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(16,49,120,.25);
}
.tl-mini.is-active::after { background: var(--accent); }
.tl-mini-yr {
  display: block; font-family: var(--font-head); font-weight: 800;
  color: var(--accent); font-size: 1.25rem; margin-bottom: 6px;
  line-height: 1;
}
.tl-mini.is-active .tl-mini-yr { color: #ffc680; }
.tl-mini-tt {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; line-height: 1.4;
  color: var(--ink); padding-bottom: 14px;
}
.tl-mini.is-active .tl-mini-tt { color: #fff; }

@media (max-width: 900px) {
  .tl-rail-items { overflow-x: auto; gap: 36px; justify-content: flex-start; padding: 0 20px; scrollbar-width: none; }
  .tl-rail-items::-webkit-scrollbar { display: none; }
  .tl-rail-items > li { flex: none; }
  .tl-rail-line { left: 20px; right: 20px; }
  .tl-stage { padding: 40px 30px; border-radius: 24px; }
  .tl-overview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .tl-overview-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Timeline v2.1 — tab-based stepper (replaces the dot rail)
   =================================================================== */
.tl-tabs-wrap { margin: 0 auto 28px; max-width: 1100px; }

.tl-tabs {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  padding: 8px;
  background: var(--bg-soft);
  border-radius: 18px;
  position: relative;
}

.tl-tab {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 4px;
  background: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  color: var(--ink-soft);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 0 rgba(8,18,52,.04);
  letter-spacing: -.01em;
}
.tl-tab:hover {
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16,49,120,.12);
}
.tl-tab.is-done {
  background: rgba(255,255,255,.55);
  color: var(--brand-dark);
}
.tl-tab.is-done::before {
  content: ""; position: absolute; left: 50%; bottom: 5px;
  width: 16px; height: 2px; background: var(--brand); border-radius: 2px;
  transform: translateX(-50%);
}
.tl-tab.is-active {
  background: linear-gradient(135deg, var(--brand) 0%, #1a4499 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(16,49,120,.32);
}
.tl-tab.is-active::after {
  content: ""; position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,153,35,.25);
  animation: tlTabPulse 2s ease-out infinite;
}
@keyframes tlTabPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,153,35,.25); }
  50%      { box-shadow: 0 0 0 7px rgba(255,153,35,.08); }
}

/* Connector arrow under the active tab pointing into the stage */
.tl-tabs::before {
  content: ""; position: absolute; left: 0; bottom: -18px;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--brand) 0%, #1a4499 100%);
  transform: rotate(45deg) translate(0, 0);
  transition: transform .45s cubic-bezier(.4,0,.2,1), left .45s cubic-bezier(.4,0,.2,1);
  opacity: 0;
}
.tl-tabs[data-show-arrow="1"]::before { opacity: 1; }

/* Thin progress bar */
.tl-progressbar {
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin: 20px auto 36px;
  max-width: 1100px;
}
.tl-progressbar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(255,153,35,.4);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}

@media (max-width: 800px) {
  .tl-tabs {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tl-tabs::-webkit-scrollbar { display: none; }
  .tl-tabs::before { display: none; }
  .tl-tab { flex: none; min-width: 88px; scroll-snap-align: center; }
}

/* ===================================================================
   Timeline v3 — Arc Journey (curved SVG path + comet marker + kinetic year)
   =================================================================== */
.tl-arc-wrap {
  position: relative; max-width: 1180px; margin: 12px auto 24px;
  padding: 12px 12px 0; user-select: none;
}
.tl-arc {
  width: 100%; height: auto; display: block;
  overflow: visible;
}
.tl-arc .bg-path  { stroke: var(--line); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.tl-arc .fg-path  { stroke: url(#tlArcGrad); stroke-width: 4; fill: none; stroke-linecap: round;
                    pathLength: 100; stroke-dasharray: 100; stroke-dashoffset: 100;
                    filter: drop-shadow(0 0 6px rgba(255,153,35,.5));
                    transition: stroke-dashoffset .65s cubic-bezier(.4,0,.2,1); }

.tl-arc-node { cursor: pointer; }
.tl-arc-node .glow {
  r: 0; fill: var(--accent); opacity: 0;
  transition: r .3s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.tl-arc-node .ring {
  r: 6; fill: #fff; stroke: var(--line); stroke-width: 2.4;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.tl-arc-node:hover .ring { stroke: var(--brand); r: 8; }
.tl-arc-node.is-done .ring { fill: var(--brand); stroke: var(--brand); }
.tl-arc-node.is-active .glow { r: 18; opacity: .35; animation: tlArcPulse 2.2s ease-out infinite; }
.tl-arc-node.is-active .ring {
  r: 11; fill: var(--accent); stroke: var(--brand); stroke-width: 4;
  filter: drop-shadow(0 4px 10px rgba(255,153,35,.55));
}
@keyframes tlArcPulse {
  0%, 100% { r: 18; opacity: .35; }
  50%      { r: 26; opacity: .12; }
}

/* Comet — animated marker that slides along the path when advancing */
.tl-arc-comet {
  fill: var(--accent); r: 5; opacity: .9;
  filter: drop-shadow(0 0 8px rgba(255,153,35,.8));
}
.tl-arc-comet-tail { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; opacity: .35; }

/* Year labels under the arc */
.tl-arc-years {
  position: relative; margin-top: 10px; height: 30px;
}
.tl-arc-year {
  position: absolute; top: 0; transform: translateX(-50%);
  background: none; border: none; padding: 4px 6px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: var(--ink-faint); white-space: nowrap;
  transition: color .25s ease, font-size .25s ease, transform .25s ease;
}
.tl-arc-year:hover { color: var(--brand); }
.tl-arc-year.is-done   { color: var(--brand-dark); }
.tl-arc-year.is-active {
  color: var(--brand); font-size: .98rem; font-weight: 800;
  transform: translateX(-50%) translateY(-2px);
}

/* ---- Stage rebuild: kinetic typography ---- */
.tl-stage--v3 {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #08184a 0%, #0e2768 50%, #143790 100%);
  color: #fff;
  border-radius: 28px;
  padding: 60px 64px;
  min-height: 360px;
  display: grid; grid-template-columns: minmax(280px, .9fr) 1fr; gap: 56px;
  align-items: center;
  box-shadow: 0 30px 60px rgba(8,18,52,.28);
}
.tl-stage--v3 .fx-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(2px);
}
.tl-stage--v3 .fx-1 {
  width: 520px; height: 520px; top: -240px; right: -140px;
  background: radial-gradient(circle, rgba(255,153,35,.34) 0%, transparent 65%);
  animation: tlOrbA 14s ease-in-out infinite;
}
.tl-stage--v3 .fx-2 {
  width: 420px; height: 420px; bottom: -180px; left: -110px;
  background: radial-gradient(circle, rgba(80,200,255,.20) 0%, transparent 65%);
  animation: tlOrbB 17s ease-in-out infinite;
}
@keyframes tlOrbA { 0%,100%{ transform: translate(0,0) } 50%{ transform: translate(40px,-30px) } }
@keyframes tlOrbB { 0%,100%{ transform: translate(0,0) } 50%{ transform: translate(-30px,20px) } }

.tl-stage--v3 .year-block { position: relative; z-index: 2; min-width: 0; overflow: hidden; }
.tl-stage--v3 .year-kinetic {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3rem, 6.5vw, 5.5rem); line-height: .85; letter-spacing: -.045em;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.45) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; transform-origin: left bottom;
  white-space: nowrap; max-width: 100%;
}
.tl-stage--v3 .year-kinetic[data-long="1"] { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -.04em; }
.tl-stage--v3 .year-kinetic[data-anim="enter"] { animation: tlYearIn .7s cubic-bezier(.34,1.56,.64,1); }
@keyframes tlYearIn {
  0%   { opacity: 0; transform: translateY(40px) scale(.6) rotate(-3deg); letter-spacing: -.12em; }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.04) rotate(.5deg); letter-spacing: -.04em; }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0);          letter-spacing: -.05em; }
}
.tl-stage--v3 .year-step {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 14px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.tl-stage--v3 .year-step b { color: var(--accent); font-weight: 800; }

.tl-stage--v3 .content-block { position: relative; z-index: 2; }
.tl-stage--v3 .content-block[data-anim="enter"] > * { animation: tlContentIn .55s cubic-bezier(.34,1.56,.64,1) backwards; }
.tl-stage--v3 .content-block > *:nth-child(1) { animation-delay: .06s; }
.tl-stage--v3 .content-block > *:nth-child(2) { animation-delay: .14s; }
.tl-stage--v3 .content-block > *:nth-child(3) { animation-delay: .22s; }
@keyframes tlContentIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.tl-stage--v3 .content-title {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  color: #fff; line-height: 1.25; letter-spacing: -.015em;
  margin-bottom: 16px;
}
.tl-stage--v3 .content-text {
  font-size: 1.04rem; line-height: 1.75;
  color: rgba(255,255,255,.86);
  margin-bottom: 26px;
}
.tl-stage--v3 .content-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .tl-stage--v3 {
    grid-template-columns: 1fr; gap: 24px;
    padding: 38px 28px; min-height: 0;
  }
  .tl-stage--v3 .year-kinetic { font-size: clamp(4rem, 18vw, 7rem); }
}
@media (max-width: 700px) {
  .tl-arc-years { display: flex; gap: 18px; overflow-x: auto; height: auto; padding: 6px 0 12px;
                  scrollbar-width: none; }
  .tl-arc-years::-webkit-scrollbar { display: none; }
  .tl-arc-year { position: static; transform: none; flex: none; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); }
  .tl-arc-year.is-active { transform: none; background: var(--brand); color: #fff; }
}

/* ===================================================================
   Timeline v3.1 — animations: entrance choreography + traveling light
   =================================================================== */

/* Path draws itself first */
.tl-arc-wrap.is-anim .bg-path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: tlPathDraw 1.05s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes tlPathDraw { to { stroke-dashoffset: 0; } }

/* Progress fill animates after path appears (idx 0 = no fill, just hint) */
.tl-arc-wrap.is-anim .fg-path {
  animation: tlProgressEnter 1s cubic-bezier(.4,0,.2,1) 1.15s backwards;
}
@keyframes tlProgressEnter {
  from { stroke-dashoffset: 100; opacity: 0; }
  to   { opacity: 1; }
}

/* Nodes pop in left → right, with a soft overshoot */
.tl-arc-wrap.is-anim .tl-arc-node {
  animation: tlArcNodeIn .55s cubic-bezier(.34,1.56,.64,1) backwards;
}
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(1)  { animation-delay: .82s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(2)  { animation-delay: .89s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(3)  { animation-delay: .96s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(4)  { animation-delay: 1.03s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(5)  { animation-delay: 1.10s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(6)  { animation-delay: 1.17s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(7)  { animation-delay: 1.24s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(8)  { animation-delay: 1.31s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(9)  { animation-delay: 1.38s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(10) { animation-delay: 1.45s; }
@keyframes tlArcNodeIn { from { opacity: 0; } to { opacity: 1; } }

.tl-arc-wrap.is-anim .tl-arc-node .ring {
  animation: tlArcRingPop .5s cubic-bezier(.34,1.56,.64,1) backwards;
  transform-box: fill-box; transform-origin: center;
}
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(1)  .ring { animation-delay: .82s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(2)  .ring { animation-delay: .89s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(3)  .ring { animation-delay: .96s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(4)  .ring { animation-delay: 1.03s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(5)  .ring { animation-delay: 1.10s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(6)  .ring { animation-delay: 1.17s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(7)  .ring { animation-delay: 1.24s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(8)  .ring { animation-delay: 1.31s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(9)  .ring { animation-delay: 1.38s; }
.tl-arc-wrap.is-anim .tl-arc-node:nth-of-type(10) .ring { animation-delay: 1.45s; }
@keyframes tlArcRingPop { from { transform: scale(0); } to { transform: scale(1); } }

/* Year labels rise after their dot is in place */
.tl-arc-wrap.is-anim .tl-arc-year {
  animation: tlArcYearRise .55s cubic-bezier(.34,1.56,.64,1) backwards;
}
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(1)  { animation-delay: 1.00s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(2)  { animation-delay: 1.07s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(3)  { animation-delay: 1.14s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(4)  { animation-delay: 1.21s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(5)  { animation-delay: 1.28s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(6)  { animation-delay: 1.35s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(7)  { animation-delay: 1.42s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(8)  { animation-delay: 1.49s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(9)  { animation-delay: 1.56s; }
.tl-arc-wrap.is-anim .tl-arc-year:nth-of-type(10) { animation-delay: 1.63s; }
@keyframes tlArcYearRise {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Active year label gets a subtle drop glow */
.tl-arc-year.is-active { text-shadow: 0 4px 14px rgba(16,49,120,.28); }

/* Travelling shimmer dot — continuous loop along the arc */
.tl-shimmer-dot {
  fill: #ffffff;
  opacity: .9;
  filter: url(#tlShimmerGlow);
}
.tl-arc-wrap.is-anim .tl-shimmer-wrap { animation: tlShimmerFade 1s ease-out 2.1s backwards; }
@keyframes tlShimmerFade { from { opacity: 0; } to { opacity: 1; } }

/* Reduced motion: skip the choreography */
@media (prefers-reduced-motion: reduce) {
  .tl-arc-wrap.is-anim * { animation: none !important; }
}

/* ===================================================================
   Timeline v4 — minimal player-style year scrubber (replaces the arc)
   =================================================================== */
.tl-player {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 14px;
  max-width: 1100px; margin: 0 auto 44px; padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(8,18,52,.07);
}
.tl-player-arrow {
  width: 44px; height: 44px;
  background: var(--bg-soft); border: none; border-radius: 50%;
  display: grid; place-items: center; color: var(--brand-dark);
  cursor: pointer; transition: background .22s ease, color .22s ease, transform .22s ease;
}
.tl-player-arrow:hover:not(:disabled) {
  background: var(--brand); color: #fff; transform: scale(1.08);
}
.tl-player-arrow:disabled { opacity: .35; cursor: not-allowed; }

.tl-player-strip { position: relative; padding: 4px 8px 10px; min-width: 0; }
.tl-player-years {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; padding: 0; margin: 0 0 12px;
  gap: 4px;
}
.tl-player-years > li { display: flex; }
.tl-player-yr {
  background: none; border: none; padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  color: var(--ink-faint); cursor: pointer; white-space: nowrap;
  transition: color .22s ease, background .22s ease,
              transform .22s ease, padding .22s ease, font-size .22s ease,
              box-shadow .22s ease;
}
.tl-player-yr:hover { color: var(--brand); transform: translateY(-2px); }
.tl-player-yr.is-done { color: var(--brand-dark); }
.tl-player-yr.is-active {
  color: #fff; padding: 8px 16px; font-size: .96rem;
  background: linear-gradient(135deg, var(--brand) 0%, #1f4aa2 100%);
  box-shadow: 0 8px 18px rgba(16,49,120,.32);
  transform: translateY(-3px);
}

.tl-player-track {
  position: relative; height: 4px;
  background: var(--line); border-radius: 4px;
  margin: 0 18px;
}
.tl-player-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(255,153,35,.35);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.tl-player-head {
  position: absolute; top: 50%; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(255,153,35,.45);
  transform: translate(-50%, -50%);
  transition: left .6s cubic-bezier(.4,0,.2,1);
  animation: tlHeadPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes tlHeadPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,153,35,.55), 0 6px 14px rgba(255,153,35,.45); }
  60%      { box-shadow: 0 0 0 10px rgba(255,153,35,0),    0 6px 14px rgba(255,153,35,.45); }
}

/* Entrance — single coordinated reveal */
.tl-player.is-anim {
  animation: tlPlayerEnter .7s cubic-bezier(.34,1.56,.64,1) backwards;
}
.tl-player.is-anim .tl-player-yr {
  animation: tlPlayerYrIn .55s cubic-bezier(.34,1.56,.64,1) backwards;
}
.tl-player.is-anim .tl-player-yr:nth-of-type(1)  { animation-delay: .12s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(2)  { animation-delay: .18s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(3)  { animation-delay: .24s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(4)  { animation-delay: .30s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(5)  { animation-delay: .36s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(6)  { animation-delay: .42s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(7)  { animation-delay: .48s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(8)  { animation-delay: .54s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(9)  { animation-delay: .60s; }
.tl-player.is-anim .tl-player-yr:nth-of-type(10) { animation-delay: .66s; }
.tl-player.is-anim .tl-player-fill {
  animation: tlFillIn 1s cubic-bezier(.4,0,.2,1) .8s backwards;
}
@keyframes tlPlayerEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tlPlayerYrIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tlFillIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 800px) {
  .tl-player {
    grid-template-columns: auto 1fr auto;
    padding: 10px;
    border-radius: 22px;
  }
  .tl-player-arrow { width: 38px; height: 38px; }
  .tl-player-years {
    overflow-x: auto; justify-content: flex-start;
    scrollbar-width: none; scroll-snap-type: x mandatory;
    padding-bottom: 2px;
  }
  .tl-player-years::-webkit-scrollbar { display: none; }
  .tl-player-years > li { flex: none; }
  .tl-player-yr { scroll-snap-align: center; }
}

@media (max-width: 620px) {
  /* The year scrubber is too cramped on phones — use the arrows / overview below. */
  .tl-player { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-player.is-anim, .tl-player.is-anim * { animation: none !important; }
}
