/* ============================================================
   LEMUR MARITIME — Design System
   Navy #303858 · Antique Brass #B68A4E · Archivo + Hanken Grotesk
   ============================================================ */


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--brass); color: #fff; }

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(80px, 11vw, 152px); position: relative; }
.section--tight { padding-block: clamp(60px, 8vw, 104px); }

/* ---- Eyebrow / labels ---- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow--center::before { display: none; }

/* ---- Section heading block ---- */
.sec-head { max-width: 760px; }
.sec-head h2 {
  font-size: clamp(31px, 4.4vw, 52px);
  margin-top: 20px;
}
.sec-head p {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 620px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: all 0.32s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { transition: transform 0.32s var(--ease); }
.btn--brass {
  background: var(--brass);
  color: #fff;
  box-shadow: 0 6px 20px rgba(182,138,78,0.28);
}
.btn--brass:hover {
  background: var(--brass-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(182,138,78,0.36);
}
.btn--brass:hover svg { transform: translateX(4px); }
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--navy:hover svg { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(48,56,88,0.03); }
.btn--ghost-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255,255,255,0.28);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.07); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }

/* ---- Text link with arrow ---- */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.tlink svg { transition: transform 0.3s var(--ease); }
.tlink:hover { color: var(--brass); }
.tlink:hover svg { transform: translateX(4px); }
.tlink--brass { color: var(--brass); }

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Hairline divider ---- */
.rule { height: 1px; background: var(--line); border: 0; }

/* ---- Scrollbar (subtle) ---- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #c9c7bc; border-radius: 8px; border: 3px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: #b3b1a6; }

/* utility */
.dark-band { background: var(--navy-900); color: var(--on-dark); }
.dark-band h2, .dark-band h3, .dark-band h4 { color: var(--on-dark); }
.alt-band { background: var(--paper-2); }
/* Equalize perceived spacing between two consecutive same-coloured sections
   by drawing a faint centred seam at their shared edge (mirrors the visual
   break a band colour-change gives for free). */
main > .section:not(.alt-band):not(.dark-band) + .section:not(.alt-band):not(.dark-band)::before,
main > .section.alt-band + .section.alt-band::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 2 * var(--gutter)), var(--maxw));
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 16%, var(--line) 84%, transparent);
  pointer-events: none;
}

/* ============================================================
   LEMUR MARITIME — Component styles
   ============================================================ */

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.nav--solid {
  background: rgba(247,246,242,0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(26,31,54,0.05);
}
/* When the mega menu is open, the bar becomes one continuous surface with it:
   same opaque paper, no shadow/border seam between bar and dropdown. */
.nav--mega-open, .nav--solid.nav--mega-open {
  background: rgba(247,246,242,0.98);
  box-shadow: none;
  border-bottom-color: transparent;
}
.nav__logo { display: flex; align-items: center; }
.brand-logo { height: 48px; width: auto; display: block; }
.footer__brand .brand-logo { height: 38px; margin-bottom: 22px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: 14.5px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--on-dark-soft);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  background: none; border: 0;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav__caret { display: inline-flex; opacity: 0.6; transition: transform 0.3s var(--ease); }
.nav__link.open .nav__caret { transform: rotate(180deg); }
.nav__link:hover { color: var(--on-dark); }
.nav__link.active, .nav__link.open { color: var(--on-dark); }
.nav--solid .nav__link { color: var(--ink-soft); }
.nav--solid .nav__link:hover { color: var(--navy); }
.nav--solid .nav__link.active, .nav--solid .nav__link.open { color: var(--navy); }
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 22px; bottom: 1px;
  height: 2px; border-radius: 2px;
  background: var(--brass);
}
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__login {
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--on-dark-soft);
  transition: color 0.3s var(--ease);
}
.nav__login:hover { color: var(--on-dark); }
.nav__login svg { opacity: 0.8; }
.nav--solid .nav__login { color: var(--ink-soft); }
.nav--solid .nav__login:hover { color: var(--navy); }
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; color: inherit;
  border-radius: 10px;
}
.nav--solid .nav__burger { color: var(--navy); }
.nav__burger { color: var(--on-dark); }
.nav--solid .nav__burger { color: var(--navy); }

/* mega menu */
.mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: rgba(247,246,242,0.98);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(26,31,54,0.10);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.42s var(--ease-out), opacity 0.3s var(--ease);
  pointer-events: none;
}
.mega.open { max-height: 460px; opacity: 1; pointer-events: auto; }
.mega__inner { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding-block: 38px 42px; }
.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mega__card {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px; cursor: pointer; width: 100%; height: 100%;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.mega__card:hover { border-color: var(--brass); box-shadow: var(--shadow); transform: translateY(-3px); }
.mega__card:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.mega__card-icon {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--brass-tint); color: var(--brass); margin-bottom: 16px;
}
.mega__card-title {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--navy);
  transition: color 0.25s var(--ease);
}
.mega__card-title svg { color: var(--brass); opacity: 0; transform: translateX(-4px); transition: all 0.25s var(--ease); }
.mega__card:hover .mega__card-title { color: var(--brass); }
.mega__card:hover .mega__card-title svg { opacity: 1; transform: none; }
.mega__card-desc { margin-top: 9px; font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.mega__promo {
  background: var(--navy-900); color: var(--on-dark);
  border-radius: var(--radius); padding: 28px 28px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.mega__promo-eyebrow { color: var(--brass-bright); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.mega__promo h4 { color: #fff; font-size: 22px; margin-top: 10px; }
.mega__promo p { color: var(--on-dark-soft); font-size: 14px; margin-top: 8px; flex: 1; }
.mega__promo .btn { margin-top: 18px; }

/* mobile menu — full-screen overlay ABOVE the nav bar */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 90; /* above .nav (80) so the bar is fully covered */
  background: var(--navy-900);
  color: var(--on-dark);
  display: grid; grid-template-rows: auto 1fr auto; /* header | centered nav | actions */
  padding: max(20px, env(safe-area-inset-top)) var(--gutter) max(28px, env(safe-area-inset-bottom));
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transition: transform 0.45s var(--ease-out), opacity 0.35s var(--ease);
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu__head { position: relative; display: flex; align-items: center; justify-content: center; height: 64px; }
.mobile-menu__head .brand-logo { height: 42px; }
.mobile-menu__head .nav__logo:focus { outline: none; }
.mobile-menu .mobile-menu__close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--on-dark); border-radius: 10px; background: none; border: 0; cursor: pointer; }
.mobile-menu .mobile-menu__close:hover { color: #fff; background: var(--line-dark-2); }
.mobile-menu .mobile-menu__close:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 0; padding-block: 24px; }
.mobile-menu a.m-link {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 5.2vw, 23px);
  line-height: 1.1;
  color: var(--on-dark);
  padding: 14px 8px;
  display: block; text-align: center;
  transition: color 0.2s var(--ease);
}
.mobile-menu a.m-link:hover, .mobile-menu a.m-link:focus-visible { color: var(--brass-bright); }
.mobile-menu a.m-link:active { opacity: 0.7; }
.mobile-menu a.m-link:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 4px; }
.mobile-menu .m-actions { display: flex; flex-direction: column; gap: 12px; align-self: end; }
.mobile-menu .m-actions .btn { width: 100%; justify-content: center; min-height: 52px; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: opacity 0.2s linear; transform: none; }
  .mobile-menu:not(.open) { display: none; }
}

@media (max-width: 940px) {
  .nav__links, .nav__right .nav__login, .nav__right .btn--brass { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy-900);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; background: var(--navy-900);
}
.hero__video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /* container-relative cover: smallest 16:9 box that fills the hero in both axes */
  aspect-ratio: 16 / 9;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  pointer-events: none; border: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero__video.is-ready { opacity: 0.92; }
.hero__poster {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease);
}
.hero__poster.is-hidden { opacity: 0; }
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero::after { /* cinematic scrim: darker left → lighter right */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(15,18,30,0.93) 0%, rgba(17,21,36,0.74) 34%, rgba(20,26,45,0.42) 64%, rgba(26,33,58,0.30) 100%),
    radial-gradient(130% 100% at 12% 22%, rgba(10,13,24,0) 40%, rgba(10,13,24,0.5) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 3; width: 100%;
  padding-block: 120px 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.hero__grid { max-width: 600px; }
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.99;
  margin-top: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brass-bright);
}
.hero__sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
  color: var(--on-dark-soft);
  max-width: 540px;
}
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  margin-top: 64px;
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap;
}
.hero__trust-label {
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark-faint); font-weight: 600;
}
.hero__trust-orgs { display: flex; gap: 26px; flex-wrap: wrap; }
.hero__trust-orgs span {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  color: var(--on-dark-soft); opacity: 0.85;
}
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--on-dark-faint);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero__scroll .mouse {
  width: 22px; height: 34px; border: 1.5px solid var(--on-dark-faint);
  border-radius: 12px; position: relative;
}
.hero__scroll .mouse::after {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px; border-radius: 2px; background: var(--brass-bright);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }
@media (prefers-reduced-motion: reduce){ .hero__scroll .mouse::after{ animation:none } }
@media (max-width: 700px){ .hero__scroll{ display:none } }

/* ===================== HERO SLIDER (3D showcase) ===================== */
.hs-wrap { position: relative; width: 100%; justify-self: center; max-width: 820px; }

.hs-stage {
  position: relative; z-index: 2; width: 100%;
  aspect-ratio: 1.684 / 1;
}
.hs-deck {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform 0.25s ease-out;
}

.hs-card {
  position: absolute; inset: 0;
  border-radius: var(--radius, 14px);
  background: #0b0f1d;
  overflow: hidden;
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 26px 60px rgba(4,7,16,0.5),
    0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.6s cubic-bezier(0.22,0.61,0.36,1), opacity 0.5s var(--ease), filter 0.5s var(--ease);
  cursor: pointer;
}
.hs-card.is-front { cursor: zoom-in; }
.hs-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; user-select: none; -webkit-user-drag: none;
}
/* caption scrim */
.hs-card.is-front::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  z-index: 2; pointer-events: none;
  border-radius: 0 0 var(--radius, 14px) var(--radius, 14px);
  background: linear-gradient(transparent, rgba(6,9,18,0.62));
}

.hs-cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  color: #fff; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hs-card.is-front .hs-cap { opacity: 1; transform: none; }
.hs-cap__tag {
  background: var(--brass); color: #fff;
  font-family: var(--sans); font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
}

.hs-ui {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: clamp(24px, 4vh, 44px);
}
.hs-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.06);
  color: #fff; display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: all 0.25s var(--ease);
}
.hs-arrow:hover { background: var(--brass); border-color: var(--brass); transform: translateY(-1px); }
.hs-dots { display: flex; gap: 8px; }
.hs-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.3); transition: all 0.3s var(--ease); cursor: pointer; }
.hs-dot.on { background: var(--brass); width: 26px; border-radius: 4px; }

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hs-wrap { max-width: 620px; margin: 20px auto 0; justify-self: center; }
  .hero__grid { max-width: 640px; }
}
@media (max-width: 560px) {
  .hs-wrap { max-width: 440px; }
  .hs-cap { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-deck, .hs-card { transition: none; }
}

/* ===================== ABOUT ===================== */
.about__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.about__intro { position: sticky; top: clamp(96px, 12vh, 132px); align-self: start; }
.about__intro .sec-head { max-width: 480px; }
.about__intro .about__lead { margin-top: 30px; }
.about__lead {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.about__body { margin-top: 26px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.about__body p + p { margin-top: 18px; }
/* ===== Who-we-are timeline ===== */
.about__timeline { position: relative; list-style: none; margin: 0; padding: 6px 0; }
.about__timeline::before {
  content: ""; position: absolute; left: 7px; top: 14px; bottom: 16px; width: 2px;
  background: linear-gradient(to bottom, var(--brass) 0%, var(--brass) 58%, var(--brass-soft) 100%);
  border-radius: 2px;
}
.tl-group { position: relative; }
.tl-group.reveal { transform: none; }
.tl-group + .tl-group { margin-top: clamp(34px, 4vw, 52px); }

.tl-year { position: relative; padding-left: 46px; min-height: 32px; display: flex; align-items: center; }
.tl-year__num {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1;
  font-size: clamp(34px, 4.6vw, 58px); color: var(--brass);
}
.tl-year__dot {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--brass);
  box-shadow: 0 0 0 5px var(--paper-2), 0 0 0 7px rgba(182,138,78,0.28);
}

.tl-list { list-style: none; margin: 14px 0 0; padding: 0; }
.tl-item { position: relative; padding: 14px 0 14px 46px; }
.tl-item__node {
  position: absolute; left: 1px; top: 17px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--brass);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.tl-item:hover .tl-item__node { background: var(--brass); transform: scale(1.18); }
.tl-item.is-latest .tl-item__node { background: var(--brass); box-shadow: 0 0 0 4px rgba(182,138,78,0.16); }
.tl-item__month {
  display: block; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass);
}
.tl-item__text {
  margin: 8px 0 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(16px, 1.45vw, 19px); line-height: 1.42; color: var(--navy);
  text-wrap: pretty; max-width: 30em; transition: color .2s ease;
}
.tl-item:hover .tl-item__text { color: var(--ink); }

@media (max-width: 860px){
  .about__grid{ grid-template-columns: 1fr; gap: 44px; }
  .about__intro{ position: static; }
}

/* ===================== SERVICE PILLARS ===================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}
.pillar {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex; flex-direction: column;
  min-height: 348px;
}
.pillar::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.pillar:hover, .pillar:focus-within {
  border-color: var(--brass);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pillar:hover::before, .pillar:focus-within::before { transform: scaleX(1); }
.pillar__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.pillar__num {
  font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 0.9;
  color: var(--line); letter-spacing: -0.02em; transition: color 0.4s var(--ease);
}
.pillar:hover .pillar__num, .pillar:focus-within .pillar__num { color: var(--brass-soft); }
.pillar__icon {
  width: 54px; height: 54px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--brass-tint);
  color: var(--brass);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.pillar:hover .pillar__icon, .pillar:focus-within .pillar__icon { background: var(--brass); color: #fff; }
.pillar h3 { font-size: 25px; margin-top: 24px; letter-spacing: -0.01em; }
.pillar__desc { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.pillar__points {
  margin-top: 0;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s var(--ease-out), opacity 0.4s var(--ease), margin-top 0.4s var(--ease);
}
.pillar:hover .pillar__points, .pillar:focus-within .pillar__points { grid-template-rows: 1fr; opacity: 1; margin-top: 20px; }
.pillar__points-inner { overflow: hidden; }
.pillar__points ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.pillar__points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--ink); padding: 6px 0;
}
.pillar__points li svg { color: var(--brass); flex: none; margin-top: 3px; }
.pillar__foot {
  margin-top: auto; padding-top: 22px;
}
.pillar__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; color: var(--brass);
  transition: gap 0.3s var(--ease);
}
.pillar:hover .pillar__cta { gap: 12px; }
@media (max-width: 860px){ .pillars{ grid-template-columns:1fr } .pillar{ min-height:0 } .pillar__points{ grid-template-rows:1fr; opacity:1; margin-top:20px } }

/* ===================== SOLUTIONS (Digitalization) ===================== */
.sol-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.solgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.solcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column;
  text-align: left; cursor: pointer;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
}
.solcard:hover { border-color: var(--brass); box-shadow: var(--shadow); transform: translateY(-3px); }
.solcard__tag {
  align-self: flex-start;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); background: var(--brass-tint);
  padding: 5px 9px; border-radius: 6px; margin-bottom: 14px;
}
.solcard h4 { font-size: 19px; letter-spacing: -0.02em; }
.solcard p { margin-top: 9px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; flex: 1; }
.solcard__cta {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 13.5px; color: var(--ink-faint);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.solcard:hover .solcard__cta { color: var(--brass); gap: 11px; }
@media (max-width: 980px){ .solgrid{ grid-template-columns:repeat(2,1fr) } }
@media (max-width: 600px){ .solgrid{ grid-template-columns:1fr } }

/* ===== Digital solutions explorer ===== */
.solex { margin-top: 52px; display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.solex__list { display: flex; flex-direction: column; }
.solex__item {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%;
  text-align: left; background: transparent; border: 0; border-top: 1px solid var(--line);
  padding: 17px 6px; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent;
}
.solex__item:last-child { border-bottom: 1px solid var(--line); }
.solex__item::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px;
  background: var(--brass); transform: scaleY(0); transition: transform 0.3s var(--ease-out);
}
.solex__item.is-active::before { transform: scaleY(1); }
.solex__item:hover::before { transform: scaleY(1); }
.solex__idx { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--ink-faint); width: 22px; flex: none; transition: color 0.25s var(--ease); }
.solex__body { flex: 1; min-width: 0; }
.solex__name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; row-gap: 6px; }
.solex__name { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.55vw, 20px); letter-spacing: -0.01em; color: var(--ink-soft); min-width: 0; transition: color 0.25s var(--ease); }
.solex__tag { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); background: var(--brass-tint); padding: 4px 7px; border-radius: 5px; flex: none; }
.solex__inline-desc { display: none; }
.solex__chev { color: var(--brass); flex: none; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.solex__item:hover .solex__name { color: var(--navy); }
.solex__item:hover .solex__idx { color: var(--brass); }
.solex__item:hover .solex__chev { opacity: 1; transform: none; }
.solex__item.is-active .solex__name { color: var(--navy); }
.solex__item.is-active .solex__idx { color: var(--brass); }
.solex__item.is-active .solex__chev { opacity: 1; transform: none; }

.solex__detail { position: sticky; top: clamp(96px, 12vh, 116px); }
.solex__panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 26px; box-shadow: var(--shadow-sm); animation: solexFade 0.4s var(--ease-out); }
.solex__panel > * { animation: solexRise 0.5s var(--ease-out) both; }
.solex__media { animation-delay: 0.03s; }
.solex__meta { animation-delay: 0.09s; }
.solex__title { animation-delay: 0.14s; }
.solex__desc { animation-delay: 0.19s; }
.solex__panel .btn { animation-delay: 0.24s; }
.solex__media {
  position: relative; border-radius: var(--radius-sm); aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 14px;
  background: repeating-linear-gradient(135deg, rgba(182,138,78,0.07) 0 12px, transparent 12px 26px), var(--paper);
}
.solex__media-label { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; letter-spacing: 0.02em; color: var(--ink-faint); background: var(--card); border: 1px solid var(--line); padding: 5px 9px; border-radius: 6px; }
.solex__meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.solex__count { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; color: var(--brass); }
.solex__title { font-family: var(--display); font-weight: 600; font-size: clamp(25px, 2.5vw, 33px); letter-spacing: -0.02em; color: var(--navy); margin-top: 10px; }
.solex__desc { margin-top: 11px; color: var(--ink-soft); font-size: clamp(15.5px, 1.3vw, 17px); line-height: 1.6; max-width: 48ch; }
.solex__panel .btn { margin-top: 24px; }
@keyframes solexFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes solexRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .solex__panel, .solex__panel > * { animation: none; } }

@media (max-width: 860px){
  .solex { grid-template-columns: 1fr; gap: 0; }
  .solex__detail { display: none; }
  .solex__chev { display: inline-flex; opacity: 0.55; transform: none; align-self: center; }
  .solex__item { align-items: flex-start; padding: 18px 6px; cursor: pointer; }
  .solex__item.is-active::before { transform: scaleY(0); }
  .solex__name { color: var(--navy); }
  .solex__inline-desc { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
}

/* ---- Digital Solutions explorer — real screenshots inside .solex__media ---- */
/* Screenshot fills the existing 16:9 box; the hatch + light-chip fallback is untouched. */
.solex__media .solex__shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;   /* keep the app header/toolbar when cropped */
  display: block; z-index: 0; transition: transform 0.6s var(--ease-out);
}
/* Calm base so a light dashboard never flashes the brass hatch while decoding. */
.solex__media.has-img { background: var(--paper-2); }
/* Legibility scrim behind the caption — image state only. */
.solex__media.has-img::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(to top, color-mix(in srgb, var(--navy-900) 62%, transparent), transparent);
  z-index: 1; pointer-events: none;
}
/* Caption always sits above the image + scrim. */
.solex__media-label { position: relative; z-index: 2; }
/* Over a screenshot the light chip clashes with light UIs — flip to a dark glass chip. */
.solex__media.has-img .solex__media-label {
  color: var(--on-dark); background: color-mix(in srgb, var(--navy-900) 55%, transparent);
  border-color: var(--line-dark); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
/* Subtle, decorative zoom — reads as "real product", not as a clickable target. */
.solex__media.has-img:hover .solex__shot { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .solex__media .solex__shot { transition: none; }
  .solex__media.has-img:hover .solex__shot { transform: none; }
}

/* ===== Status flag pill (list marker · panel · modal) ===== */
/* Outline + dot = status. Filled brass-tint (.solex__tag) = category. */
.lm-flag {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.6;
  color: var(--ink-faint); background: transparent;
  border: 1px solid var(--line-2); border-radius: 5px; padding: 3px 7px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lm-flag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: 0.55; flex: none;
}
.lm-flag--brass {
  color: var(--brass);
  border-color: color-mix(in srgb, var(--brass) 42%, transparent);
  font-size: 10.5px; letter-spacing: 0.13em; padding: 5px 9px;
}
.lm-flag--brass::before { opacity: 1; }
/* Roadmap rows are never muted — the marker warms to brass with its row. */
.solex__item:hover .lm-flag,
.solex__item.is-active .lm-flag {
  color: var(--brass);
  border-color: color-mix(in srgb, var(--brass) 40%, transparent);
}
.solex__item:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; border-radius: var(--radius-sm); }

/* ===== Explorer panel — no screenshot (published-without-image, or roadmap) ===== */
/* No media box. The panel holds its weight with the About-section text hierarchy
   (display-font deck + --ink-soft body), generous padding, bottom-anchored CTA. */
.solex__panel--text {
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.6vw, 38px) clamp(24px, 2.4vw, 36px) clamp(28px, 2.6vw, 36px);
  min-height: clamp(430px, 33vw, 560px);
}
.solex__panel--text .solex__meta { margin-top: 0; flex-wrap: wrap; row-gap: 8px; }
.solex__panel--text .solex__title {
  margin-top: clamp(12px, 1.2vw, 16px);
  font-size: clamp(28px, 2.9vw, 39px);
}
/* .solex__desc becomes the DECK — the .about__lead idiom. */
.solex__panel--text .solex__desc {
  position: relative;
  margin-top: clamp(18px, 1.8vw, 24px);
  padding-top: clamp(18px, 1.8vw, 22px);
  border-top: 1px solid var(--line);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(18.5px, 1.75vw, 22px); line-height: 1.34; letter-spacing: -0.02em;
  color: var(--navy); max-width: 30ch;
}
/* Brass tick on the hairline (same language as .eyebrow::before). */
.solex__panel--text .solex__desc::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 56px; height: 2px; background: var(--brass);
}
/* Full `details` copy — the .about__body idiom. */
.solex__copy {
  margin-top: clamp(16px, 1.6vw, 20px);
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.35vw, 17px); line-height: 1.68;
  max-width: 60ch; text-wrap: pretty;
}

/* ===== Roadmap note plate ===== */
.solex__note {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--brass-tint);
  border: 1px solid color-mix(in srgb, var(--brass) 22%, transparent);
  border-left: 2px solid var(--brass);
  border-radius: var(--radius-sm);
}
.solex__note-label {
  display: block; font-family: var(--sans); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass);
}
.solex__note p { margin-top: 8px; color: var(--ink); font-size: 15px; line-height: 1.55; }

/* Bottom-anchored CTA — equalises the text panel's height against the image panel.
   The note stays directly under the copy (20px); it's the BUTTON that absorbs the
   free space, so the panel still fills its min-height without the note drifting
   away from the text it belongs to. The note's bottom margin guarantees a gap
   even when long copy leaves no free space for the auto margin to take. */
.solex__panel--text > .solex__note { margin-bottom: 18px; }
.solex__panel--text > .solex__note + .btn { margin-top: auto; }
.solex__panel--text > .solex__copy + .btn,
.solex__panel--text > .solex__desc + .btn { margin-top: auto; }
.solex__panel--text > .btn { align-self: flex-start; }

/* Stagger delays for the text composition (base delays assume a media box first). */
.solex__panel--text .solex__meta  { animation-delay: 0.03s; }
.solex__panel--text .solex__title { animation-delay: 0.08s; }
.solex__panel--text .solex__desc  { animation-delay: 0.13s; }
.solex__copy                      { animation-delay: 0.18s; }
.solex__note                      { animation-delay: 0.23s; }
.solex__panel--text .btn          { animation-delay: 0.28s; }

/* ===== Modal — roadmap state (visible at BOTH widths; .modal__media is <=860px only) ===== */
.modal__flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.modal__note {
  margin: 16px 34px 0; padding: 14px 16px;
  background: var(--brass-tint);
  border: 1px solid color-mix(in srgb, var(--brass) 22%, transparent);
  border-left: 2px solid var(--brass);
  border-radius: var(--radius-sm);
}
.modal__note-label {
  display: block; font-family: var(--sans); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass);
}
.modal__note p { margin-top: 7px; color: var(--ink); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 480px) { .modal__note { margin: 14px 22px 0; } }

@media (prefers-reduced-motion: reduce) { .lm-flag { transition: none; } }

/* ===================== CONSULTING (rows) ===================== */
.conwrap { margin-top: 40px; }
.congrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.conchip {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  text-align: left; width: 100%;
  padding: 15px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.conchip:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.conchip.on { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 7%, var(--card)); }
.conchip__tick {
  margin-top: 1px;
  width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.conchip.on .conchip__tick { background: var(--brass); border-color: var(--brass); }
.conchip__tick svg { opacity: 0; transform: scale(.5); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.conchip.on .conchip__tick svg { opacity: 1; transform: scale(1); }
.conchip__name { display: block; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); }
.conchip.on .conchip__name { color: var(--brass); }
.conchip__desc { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; }
.conbar {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 16px 14px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease);
}
.conbar.armed { border-color: var(--brass); }
.conbar__hint { color: var(--ink-soft); font-size: 14.5px; }
.conbar__hint b { color: var(--ink); font-weight: 600; }
.conbar .btn { white-space: nowrap; }
@media (max-width: 720px){
  .congrid{ grid-template-columns: 1fr; }
  .conbar{ flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .conbar .btn{ justify-content: center; }
}
/* Selected areas shown as tags inside the contact modal */
.regarding {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 11px 12px;
  max-height: 96px; overflow-y: auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 10px);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.regarding::-webkit-scrollbar { width: 6px; }
.regarding::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.regarding__tag {
  display: inline-flex; align-items: center;
  padding: 5px 11px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.regarding__tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass); margin-right: 7px; flex: none;
}

/* ===================== ACADEMY (dark) ===================== */
.acad-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 8px;
}
.acad-progs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acad-card {
  background: var(--navy-800);
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}
.acad-card:hover { border-color: rgba(203,160,102,0.5); transform: translateY(-3px); background: var(--navy-700); }
.acad-card__num { font-family: var(--display); font-weight: 700; color: var(--brass-bright); font-size: 14px; }
.acad-card h4 { color: var(--on-dark); font-size: 18px; margin-top: 12px; }
.acad-card p { color: var(--on-dark-soft); font-size: 14px; margin-top: 8px; line-height: 1.55; }
.acad-side h2 { color: var(--on-dark); }
.acad-side .sec-head p { color: var(--on-dark-soft); }
.acad-side .btn { margin-top: 30px; }
.acad-side { position: sticky; top: 100px; }
@media (max-width: 860px){
  .acad-grid{ grid-template-columns:1fr }
  .acad-side{ position:static }
  .acad-progs{ grid-template-columns:1fr }
}

/* --- Academy ambient lighthouse sweep --- */
#academy { overflow: hidden; }
#academy .container { position: relative; z-index: 2; }
.acad-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* warm light source anchored near the heading */
.acad-fx__glow {
  position: absolute; left: 0; top: 46%;
  width: 600px; height: 600px;
  transform: translate(-42%, -50%);
  background: radial-gradient(circle, rgba(203,160,102,0.20), rgba(203,160,102,0.06) 42%, transparent 66%);
  filter: blur(8px);
  animation: acadGlow 6.5s ease-in-out infinite alternate;
}
/* the rotating twin beams, centred on the light source */
.acad-beam {
  position: absolute; left: 0; top: 46%;
  width: 220vh; height: 220vh;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(231,216,191,0.00) 4deg,
    rgba(231,216,191,0.13) 12deg,
    rgba(255,247,235,0.18) 16deg,
    rgba(231,216,191,0.13) 20deg,
    rgba(231,216,191,0.00) 28deg,
    transparent 180deg,
    rgba(231,216,191,0.00) 184deg,
    rgba(231,216,191,0.07) 192deg,
    rgba(231,216,191,0.00) 200deg,
    transparent 360deg);
  filter: blur(26px);
  mask-image: radial-gradient(circle at center, #000 0%, #000 42%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 42%, transparent 72%);
  animation: acadSweep 22s linear infinite;
}
@keyframes acadSweep { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes acadGlow {
  from { opacity: 0.65; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .acad-beam, .acad-fx__glow { animation: none; }
}

/* ===================== INSIGHTS ===================== */
.ins-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.ins-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip {
  font-weight: 600; font-size: 13.5px;
  padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--brass); color: var(--brass); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.ins-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.ins-card {
  display: flex; flex-direction: column; text-align: left;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.ins-card:hover { border-color: var(--brass); box-shadow: var(--shadow); transform: translateY(-4px); }
.ins-card__media {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(48,56,88,0.05) 0 11px, rgba(48,56,88,0.09) 11px 22px),
    var(--navy-800);
}
.ins-card__media image-slot,
.ins-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover;
}
.ins-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ins-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-faint); }
.ins-card__cat { color: var(--brass); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ins-card h4 { font-size: 19px; margin-top: 12px; line-height: 1.22; }
.ins-card p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.ins-card .tlink { margin-top: 16px; }
.ins-empty { grid-column: 1/-1; padding: 40px; text-align: center; color: var(--ink-faint); }
.ins-all { margin-top: 40px; display: flex; justify-content: center; }
@media (max-width: 940px){ .ins-grid{ grid-template-columns:repeat(2,1fr) } }
@media (max-width: 600px){ .ins-grid{ grid-template-columns:1fr } }

/* ===================== STATS ===================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; }
.stat { padding: 8px 28px; border-left: 1px solid var(--line-dark-2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 62px); color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--brass-bright); }
.stat__label { margin-top: 14px; color: var(--on-dark-soft); font-size: 14.5px; max-width: 200px; }
@media (max-width: 760px){
  .stats-grid{ grid-template-columns:repeat(2,1fr); gap:34px 20px }
  .stat{ border-left:0; padding:0 }
}

/* ===================== TESTIMONIALS ===================== */
.test-wrap { margin-top: 48px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.test-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(34px, 5vw, 56px); box-shadow: var(--shadow-sm);
  min-height: 260px; display: flex; flex-direction: column; justify-content: center;
}
.test-card blockquote {
  margin: 0; font-family: var(--display); font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; letter-spacing: -0.02em; color: var(--navy);
}
.test-foot { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.test-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--brass-tint); color: var(--brass); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; flex: none; }
.test-who strong { display: block; color: var(--navy); font-size: 16px; }
.test-who span { color: var(--ink-faint); font-size: 14px; }
.test-nav { display: flex; flex-direction: column; gap: 12px; }
.test-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); color: var(--navy); display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease); }
.test-btn:hover { border-color: var(--brass); background: var(--brass); color: #fff; }
.test-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.test-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); border: 0; transition: all 0.3s var(--ease); }
.test-dot.active { background: var(--brass); width: 26px; border-radius: 4px; }
@media (max-width: 720px){
  .test-wrap{ grid-template-columns:1fr }
  .test-nav{ flex-direction:row; justify-content:center; order:2 }
}

/* ===================== MEDIA LIBRARY ===================== */
.media-bento {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  /* Fixed overall ratio + equal rows => the 2x2 "big" tile resolves to exactly 16:9,
     so the company film fills it with no crop and no letterbox. */
  aspect-ratio: 3.6;
  gap: 16px;
}
.mtile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  container-type: size;
  background:
    repeating-linear-gradient(135deg, rgba(48,56,88,0.06) 0 12px, rgba(48,56,88,0.11) 12px 24px),
    var(--navy-800);
  cursor: pointer; border: 0; padding: 0; text-align: left;
}
.mtile.big { grid-column: span 2; grid-row: span 2; }
.mtile.wide { grid-column: span 2; }
.mtile__video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /* Cover the card with the 16:9 film — fill height, crop width as needed. */
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  border: 0; pointer-events: none; z-index: 0;
}
.mtile__ph {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.mtile__label {
  position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2;
  color: #fff; font-family: var(--display); font-weight: 600; font-size: 18px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: 0.04s;
}
/* Titles hidden by default; revealed with a soft slide on hover/focus — premium reveal. */
.mtile:hover .mtile__ph,
.mtile:focus-visible .mtile__ph,
.mtile:hover .mtile__label,
.mtile:focus-visible .mtile__label { opacity: 1; transform: none; }
.mtile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(20,24,41,0.86), rgba(20,24,41,0) 60%); opacity: 0; transition: opacity 0.45s var(--ease); }
.mtile:hover::after, .mtile:focus-visible::after { opacity: 1; }
.mtile__play { width: 30px; height: 30px; border-radius: 50%; background: var(--brass); display: inline-flex; align-items: center; justify-content: center; flex: none; }
/* Big company-film tile sits at 16:9 (see .media-bento), so the film fills it cleanly. */
.mtile.big.has-video { background: var(--navy-950); }
/* No hover on touch devices — keep titles legible there. */
@media (hover: none) {
  .mtile__ph, .mtile__label { opacity: 1; transform: none; }
  .mtile::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mtile__ph, .mtile__label, .mtile::after { transition: none; }
}
@media (max-width: 760px){
  /* Per-tile ratios (no fixed row height) so the big film keeps a true 16:9 on mobile. */
  .media-bento{ aspect-ratio:auto; grid-template-columns:repeat(2,1fr); grid-auto-rows:auto }
  .mtile{ aspect-ratio:4/3 }
  .mtile.big{ grid-column:span 2; aspect-ratio:16/9 }
  .mtile.wide{ grid-column:span 2; aspect-ratio:16/9 }
}

/* ===================== PARTNERS / RECOGNITION ===================== */
/* Header row: intro left, CTA bottom-right on desktop */
.partner-head { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; }
.partner-head .sec-head a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.25s var(--ease); }
.partner-head .sec-head a:hover { color: var(--brass-bright); }
.partner-head .sec-head a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* Two labelled groups, stacked full-width */
.partner-groups { margin-top: clamp(40px, 5vw, 60px); display: grid; gap: clamp(32px, 4vw, 48px); }
.partner-group { display: grid; gap: 18px; }

/* Group label = uppercase caption + trailing hairline (editorial divider) */
.partner-group__label { display: flex; align-items: center; gap: 16px; font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.partner-group__label::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--brass); }
.partner-group__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Card grid: 2-up for memberships, 3-up for awards, 1-up on mobile */
.org-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }

/* Credential tile */
.org { display: flex; flex-direction: column; gap: 16px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.org:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.org:focus-within { border-color: var(--brass); }
.org__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Icon seal — soft brass for memberships, solid brass for awards */
.org__mark { width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--brass-tint); color: var(--brass); }
.org--cert .org__mark { background: var(--brass); color: #fff; }

/* Year pill (awards only) */
.org__year { flex: none; font-family: var(--display); font-weight: 600; font-size: 12.5px; color: var(--brass); background: var(--brass-tint); border: 1px solid var(--brass-soft); border-radius: 100px; padding: 5px 12px; white-space: nowrap; }

.org__body { display: block; }
.org__name { display: block; font-family: var(--display); font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; color: var(--navy); }
.org__note { display: block; margin-top: 7px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.org__issuer { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }

/* Contextual link → Corporate Governance & Ethics page */
.partner-group__foot { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; transition: gap 0.25s var(--ease), color 0.25s var(--ease); }
.partner-group__foot:hover { color: var(--brass); gap: 12px; }
.partner-group__foot:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* Mobile stack */
@media (max-width: 900px) { .partner-head { align-items: flex-start; } .partner-head__cta { margin-top: 6px; } }
@media (max-width: 560px) { .org { padding: 20px; gap: 14px; } .org__mark { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .org { transition: none; } .org:hover { transform: none; } .partner-group__foot { transition: none; } }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px,6vw,72px); margin-top: 8px; }
.contact-info { }
.contact-info h2 { color: var(--on-dark); }
.contact-info .sec-head p { color: var(--on-dark-soft); }
.cinfo-list { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; }
.cinfo__ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); color: var(--brass-bright); display: flex; align-items: center; justify-content: center; flex: none; }
.cinfo dt { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-faint); }
.cinfo dd { margin: 4px 0 0; color: var(--on-dark); font-size: 16px; font-weight: 500; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.action-card {
  background: var(--navy-800); border: 1px solid var(--line-dark-2); border-radius: var(--radius);
  padding: 24px 22px; text-align: left; cursor: pointer;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.action-card:hover { border-color: rgba(203,160,102,0.55); transform: translateY(-3px); background: var(--navy-700); }
.action-card.primary { background: var(--brass); border-color: var(--brass); grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; }
.action-card.primary:hover { background: var(--brass-bright); }
.action-card__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brass-tint); color: var(--brass-bright); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.action-card.primary .action-card__ic { background: rgba(255,255,255,0.2); color: #fff; margin-bottom: 0; }
.action-card h4 { color: var(--on-dark); font-size: 17px; }
.action-card.primary h4 { color: #fff; font-size: 21px; }
.action-card p { color: var(--on-dark-soft); font-size: 13.5px; margin-top: 6px; }
.action-card.primary p { color: rgba(255,255,255,0.85); }
.action-card .ac-arrow { color: #fff; }
/* compact CTA chips */
.contact-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.ccta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 17px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,0.05); color: var(--on-dark);
  border: 1px solid var(--line-dark-2); cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.ccta:hover { border-color: rgba(203,160,102,0.6); background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.ccta svg { transition: transform .25s var(--ease); }
.ccta--primary { background: var(--brass); border-color: var(--brass); color: #fff; }
.ccta--primary:hover { background: var(--brass-bright); border-color: var(--brass-bright); }
.ccta--primary:hover svg { transform: translateX(3px); }
/* map */
.contact-map {
  position: relative; height: 100%; min-height: 360px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-dark-2); background: var(--navy-800);
}
.contact-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(0.32) saturate(0.82) brightness(0.96);
}
.contact-map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), inset 0 -60px 80px -40px rgba(20,24,41,0.85);
}
.contact-map__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  z-index: 2; pointer-events: none;
}
.contact-map__pin svg { display: block; filter: drop-shadow(0 6px 10px rgba(20,24,41,0.45)); }
.contact-map__pulse {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 22px; height: 22px; border-radius: 50%; z-index: 1; pointer-events: none;
  background: rgba(182,138,78,0.45);
  animation: mapPulse 2.6s ease-out infinite;
}
@keyframes mapPulse {
  0% { box-shadow: 0 0 0 0 rgba(182,138,78,0.5); opacity: 0.9; }
  70% { box-shadow: 0 0 0 26px rgba(182,138,78,0); opacity: 0.2; }
  100% { box-shadow: 0 0 0 0 rgba(182,138,78,0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){ .contact-map__pulse { animation: none; } }
.contact-map__card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(20,24,41,0.82); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-map__card .cm-ic { flex: none; color: var(--brass-bright); }
.contact-map__card .cm-addr { font-size: 13.5px; line-height: 1.4; color: var(--on-dark); }
.contact-map__card .cm-link {
  margin-left: auto; flex: none; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--brass-bright);
  display: inline-flex; align-items: center; gap: 5px;
}
.contact-map__card .cm-link:hover { color: #fff; }
@media (max-width: 820px){
  .contact-grid{ grid-template-columns:1fr }
  .contact-map{ min-height: 360px; }
}
@media (max-width: 460px){ .action-grid{ grid-template-columns:1fr } .action-card.primary{ grid-column:span 1; flex-direction:column; align-items:flex-start } .contact-map__card{ flex-wrap: wrap; } .contact-map__card .cm-link{ margin-left:0; } }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy-950); color: var(--on-dark-soft); padding-block: 72px 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { height: 30px; margin-bottom: 20px; }
.footer__brand p { color: var(--on-dark-faint); font-size: 14.5px; max-width: 280px; }
.footer__brand .btn { margin-top: 22px; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark-soft); transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }
.footer__social a:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.fcol h5 { color: var(--on-dark); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 16px; font-family: var(--sans); font-weight: 600; }
.fcol a { display: block; color: var(--on-dark-soft); font-size: 14.5px; padding: 6px 0; transition: color 0.25s var(--ease); background: none; border: 0; text-align: left; cursor: pointer; font-family: inherit; }
.fcol a:hover { color: var(--brass-bright); }
.footer__bot { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-dark-2); display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; font-size: 13px; color: var(--on-dark-faint); }
.footer__bot__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 820px){ .footer__top{ grid-template-columns:1fr 1fr } .footer__brand{ grid-column:1/-1 } }
@media (max-width: 600px){
  .footer__top{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:36px }
  .footer__brand{ align-items:center }
  .footer__brand img{ margin-inline:auto }
  .footer__social{ justify-content:center }
  .footer__brand p{ max-width:420px }
  .fcol a{ text-align:center }
  .footer__bot{ justify-content:center; text-align:center }
  .footer__bot__legal{ justify-content:center }
}

/* ===================== TRIAL MODAL ===================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(16,20,34,0.62); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.modal-overlay.show { opacity: 1; }
.modal {
  background: var(--paper); border-radius: 18px; width: 100%; max-width: 540px;
  max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98); transition: transform 0.35s var(--ease-out);
  position: relative;
}
.modal-overlay.show .modal { transform: none; }
.modal__head { padding: 32px 34px 0; }
.modal__close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; transition: all 0.25s var(--ease);
}
.modal__close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.modal__eyebrow { color: var(--brass); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.modal h3 { font-size: 27px; margin-top: 10px; }
.modal__sub { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.modal__body { padding: 26px 34px 34px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line-2);
  background: var(--card); font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-tint);
}
.field textarea { resize: vertical; min-height: 84px; }
.field.err input, .field.err select { border-color: #c0492f; }
.field__err { color: #c0492f; font-size: 12.5px; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal__foot { margin-top: 8px; }
.modal__foot .btn { width: 100%; }
.modal__legal { margin-top: 14px; font-size: 12px; color: var(--ink-faint); text-align: center; }
.modal-success { padding: 48px 34px 44px; text-align: center; }
.modal-success__ic { width: 66px; height: 66px; border-radius: 50%; background: var(--brass-tint); color: var(--brass); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.modal-success h3 { font-size: 25px; }
.modal-success p { color: var(--ink-soft); margin-top: 12px; }
.modal-success .btn { margin-top: 26px; }
@media (max-width: 480px){ .field-row{ grid-template-columns:1fr } .modal__head{ padding:26px 22px 0 } .modal__body{ padding:22px } }

/* ===================== VIDEO LIGHTBOX ===================== */
.video-lightbox {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(10,13,22,0.86); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 5vw; gap: 18px;
  opacity: 0; animation: vlbIn 0.3s var(--ease) forwards;
}
@keyframes vlbIn { to { opacity: 1; } }
.video-lightbox__frame {
  width: min(1100px, 92vw); aspect-ratio: 16/9;
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000;
  transform: scale(0.97); animation: vlbZoom 0.4s var(--ease-out) forwards;
}
@keyframes vlbZoom { to { transform: none; } }
.video-lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-lightbox__close {
  position: absolute; top: 22px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.video-lightbox__close:hover { background: var(--brass); border-color: var(--brass); }
.video-lightbox__cap { color: var(--on-dark); font-family: var(--display); font-weight: 600; font-size: 16px; }

/* ===================== PERSISTENT CTA ===================== */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  transform: translateY(140%); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease);
}
.float-cta.show { transform: none; opacity: 1; }
@media (max-width: 940px){ .float-cta{ right: 16px; bottom: 16px; } }






/* ===================== NEWSLETTER ("Regulatory Digest") ===================== */
.newsletter-band { background: var(--paper-2); }
.newsletter { max-width: 640px; margin-inline: auto; text-align: center; }
.newsletter h2 { font-family: var(--display); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 0; }
.newsletter > p { margin: 14px auto 0; max-width: 52ch; color: var(--ink-soft); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; }
.nl-form { margin-top: 24px; }
.newsletter .nl-form { max-width: 480px; margin-inline: auto; }
.nl-form__row { display: flex; gap: 10px; }
.nl-input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 16px;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease);
}
.nl-input::placeholder { color: var(--ink-faint); }
.nl-input:focus { outline: none; border-color: var(--brass); }
.nl-input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.nl-input[aria-invalid="true"] { border-color: #c0492f; }
.nl-form .btn { height: 50px; flex: none; }
.nl-fine { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--ink-faint); }
.nl-fine a { color: var(--brass); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.nl-fine a:hover { border-bottom-color: var(--brass); }
.nl-success strong { display: block; font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 18px; }
.nl-success span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 520px) {
  .nl-form__row { flex-direction: column; }
  .nl-form .btn { width: 100%; justify-content: center; }
}

/* ===================== MODULE DETAIL MODAL MEDIA ===================== */
.modal__media { margin: 18px 34px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--navy-900); display: flex; align-items: center; justify-content: center; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Mobile: modals become full-screen sheets that scroll inside (respect screen height). */
@media (max-width: 560px) {
  .modal-overlay { padding: 0; align-items: stretch; }
  .modal { max-width: 100%; width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .modal__head { position: sticky; top: 0; background: var(--paper); z-index: 3; padding-top: 22px; }
  .modal__close { position: fixed; top: 13px; right: 13px; z-index: 5; }
  .modal__media { margin: 16px 22px 0; }
}

/* ===================== HERO IMAGE LIGHTBOX ===================== */
.img-lb { position: fixed; inset: 0; z-index: 130; background: rgba(10,12,20,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s var(--ease); }
.img-lb.show { opacity: 1; }
.img-lb__fig { margin: 0; max-width: min(1100px, 92vw); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.img-lb__fig img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); background: var(--navy-900); }
.img-lb__fig figcaption { color: rgba(255,255,255,0.82); font-size: 14px; }
.img-lb__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 0; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.img-lb__close:hover { background: rgba(255,255,255,0.22); }
.img-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 0; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.img-lb__nav:hover { background: rgba(255,255,255,0.22); }
.img-lb__prev { left: 18px; }
.img-lb__next { right: 18px; }
@media (max-width: 560px) { .img-lb__nav { width: 42px; height: 42px; } .img-lb__prev { left: 8px; } .img-lb__next { right: 8px; } .img-lb__fig img { max-height: 72vh; } }
@media (prefers-reduced-motion: reduce) { .img-lb { transition: none; } }

/* Module modal: the product picture shows on phones + tablets; on desktop (>=861px)
   the inline explorer panel already shows the screenshot, so the modal picture is
   suppressed there to avoid duplication, and the description text shows in its place. */
@media (min-width: 861px) { .modal__media { display: none; } }
.modal__desc { margin: 18px 34px 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
@media (max-width: 480px) { .modal__desc { margin: 14px 22px 0; } }
