/* ==========================================================================
   Bonuke & Co. Advocates — main stylesheet
   Colours come from the logo: deep navy + white, with greys/blacks and a
   restrained brass accent for fine details.
   ========================================================================== */

:root {
  --navy: #02182D;
  --navy-2: #072640;
  --navy-3: #0D3558;
  --navy-4: #16507F;
  --ink: #0E141B;
  --text: #333B45;
  --muted: #66707C;
  --line: #E2E6EB;
  --line-dark: rgba(255, 255, 255, .14);
  --paper: #FAFAF8;
  --tint: #F2F4F7;
  --white: #FFFFFF;
  --brass: #B08D57;
  --brass-2: #CDB08A;

  --ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 4px;
  --shadow: 0 24px 60px -24px rgba(2, 24, 45, .28);
  --shadow-sm: 0 10px 30px -14px rgba(2, 24, 45, .25);
  --header-h: 116px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, .display-1, .display-2 {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.08;
}
h3 { font-size: 1.6rem; }
h1, h2, h3, h4, .display-2, [class*="num"], .clock__time, .step__dot, .quote-band__text, .cta-band__phone { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
em { font-style: italic; }
h1 em, h2 em, h3 em, .display-2 em { color: var(--brass); font-weight: 500; }
a { color: var(--navy); text-decoration: none; transition: color .25s; }
a:hover { color: var(--navy-4); }
img { max-width: 100%; }
::selection { background: var(--navy); color: #fff; }
.display-2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.text-muted-2 { color: var(--muted); }
.text-brass { color: var(--brass) !important; }
.lead-ish { font-size: 1.08rem; color: var(--text); }
.lead-light { font-size: 1.08rem; color: rgba(255, 255, 255, .78); }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--tint { background: var(--tint); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 9999; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* subtle patterns */
.pattern-dots { background-image: radial-gradient(rgba(2, 24, 45, .09) 1px, transparent 1.2px); background-size: 22px 22px; background-color: var(--paper); }
.pattern-circles { overflow: hidden; }
.pattern-circles::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -240px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(2, 24, 45, .055) 47px 48px);
  pointer-events: none;
}

/* ---------- Eyebrow & links ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy-4); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); }
.eyebrow--light { color: rgba(255, 255, 255, .82); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--navy); letter-spacing: .02em; }
.link-arrow i { transition: transform .35s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--brass-2); }

/* ---------- Buttons ---------- */
.btn-x {
  --bg: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--bg); border: 1px solid transparent; border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
  cursor: pointer;
}
.btn-x::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .22) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-x:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-x:hover::after { transform: translateX(120%); }
.btn-x i { font-size: 1rem; transition: transform .35s var(--ease); }
.btn-x:hover .bi-arrow-right { transform: translateX(4px); }
.btn-x--sm { min-height: 46px; padding: 0 20px; font-size: .74rem; }
.btn-x--light { --bg: #fff; color: var(--navy); }
.btn-x--light:hover { color: var(--navy); }
.btn-x--light::after { background: linear-gradient(120deg, transparent 20%, rgba(2, 24, 45, .08) 50%, transparent 80%); }
.btn-x--outline { --bg: transparent; color: var(--navy); border-color: rgba(2, 24, 45, .25); }
.btn-x--outline:hover { color: var(--navy); border-color: var(--navy); }
.btn-x--outline-light { --bg: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn-x--outline-light:hover { border-color: #fff; }
.icon-btn {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid currentColor; border-radius: 50%; color: inherit; opacity: .85; transition: all .3s;
}
.icon-btn:hover { opacity: 1; background: rgba(255, 255, 255, .1); color: inherit; }

/* ---------- Lazy images with blurred preview + shimmer ---------- */
.media { position: relative; display: block; width: 100%; overflow: hidden; background: #DCE2E9; }
.media img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center);
  filter: blur(18px); transform: scale(1.08);
  transition: filter .9s var(--ease), transform 1.4s var(--ease), opacity .6s;
}
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .38) 50%, transparent 75%);
  background-size: 220% 100%; animation: shimmer 1.5s linear infinite;
  transition: opacity .5s;
}
.media.is-loaded img { filter: none; transform: none; }
.media.is-loaded::after { opacity: 0; animation: none; }
.media--empty { background: linear-gradient(135deg, var(--navy-2), var(--navy-4)); }
.media--empty::after { display: none; }
.media--natural img { height: auto; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.fill { position: absolute !important; inset: 0; height: 100%; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-21x9 { aspect-ratio: 21 / 9; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
/* The mask clips the child, not the observed element: Chrome treats an element clipped to nothing as never visible, so it would never reveal. */
.js [data-reveal="mask"] { transform: none; opacity: 1; }
.js [data-reveal="mask"] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-inview { opacity: 1; transform: none; }
.js [data-reveal="mask"].is-inview > * { clip-path: inset(0 0 0 0); }

/* ---------- Page curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 2000; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: transform .9s var(--ease-out) .1s, visibility 0s linear 1.1s;
}
.curtain img { width: 64px; height: 64px; animation: pulse 1.4s ease-in-out infinite; transition: opacity .3s; }
body.is-ready .curtain { transform: translateY(-100%); visibility: hidden; }
body.is-ready .curtain img { opacity: 0; }
html:not(.js) .curtain { display: none; }
@keyframes pulse { 0%, 100% { opacity: .5; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; color: #fff; transition: background .4s, box-shadow .4s, color .4s, transform .4s var(--ease); }
.topbar { font-size: .8rem; border-bottom: 1px solid var(--line-dark); max-height: 44px; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s; }
.topbar .container { min-height: 43px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar a, .topbar span { color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.mainbar .container { min-height: 78px; transition: min-height .4s; }
.brand { position: relative; display: block; width: 187px; height: 52px; transition: width .4s, height .4s; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.brand__dark { opacity: 0; }
.mainnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mainnav > ul > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: .86rem; font-weight: 600; letter-spacing: .04em; color: inherit;
}
.mainnav > ul > li > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.mainnav > ul > li > a:hover::after, .mainnav > ul > li > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.mainnav .bi-chevron-down { font-size: .65rem; transition: transform .3s; }
.has-mega { position: static; }
/* Small dropdown (About Us) */
.has-drop { position: relative; }
.has-drop:hover .bi-chevron-down, .has-drop:focus-within .bi-chevron-down { transform: rotate(180deg); }
.drop { position: absolute; left: 0; top: 100%; min-width: 270px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.mainnav .drop__list { display: grid; gap: 2px; padding: 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.drop__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: .9rem; font-weight: 600; color: var(--navy); border-radius: var(--radius); transition: background .25s, transform .25s; }
.drop__list a i { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); color: var(--navy-4); transition: background .25s, color .25s; }
.drop__list a small { display: block; font-size: .76rem; font-weight: 500; color: var(--muted); margin-top: 1px; }
.drop__list a:hover, .drop__list a:focus-visible { background: var(--tint); transform: translateX(3px); }
.drop__list a:hover i, .drop__list a:focus-visible i { background: var(--navy); color: #fff; }
.has-mega:hover .bi-chevron-down, .has-mega:focus-within .bi-chevron-down { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding-top: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; background: #fff;
  box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); overflow: hidden;
}
.mega__lead { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); padding: 34px; color: rgba(255, 255, 255, .8); }
.mega__lead p { font-family: var(--ff-display); font-size: 1.45rem; line-height: 1.25; color: #fff; margin: 0 0 22px; }
.mega__list { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px 18px !important; padding: 24px 28px !important; }
.mega__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: .9rem; font-weight: 600; color: var(--navy); border-radius: var(--radius); transition: background .25s, transform .25s; }
.mega__list a i { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); color: var(--navy-4); transition: background .25s, color .25s; }
.mega__list a:hover { background: var(--tint); transform: translateX(3px); }
.mega__list a:hover i { background: var(--navy); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-x { --bg: #fff; color: var(--navy); }
.header-actions .btn-x::after { background: linear-gradient(120deg, transparent 20%, rgba(2, 24, 45, .08) 50%, transparent 80%); }

.site-header.is-scrolled { background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: 0 10px 30px -18px rgba(2, 24, 45, .35); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border: 0; }
.site-header.is-scrolled .mainbar .container { min-height: 70px; }
.site-header.is-scrolled .brand { width: 165px; height: 46px; }
.site-header.is-scrolled .brand__light { opacity: 0; }
.site-header.is-scrolled .brand__dark { opacity: 1; }
.site-header.is-scrolled .header-actions .btn-x { --bg: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; }
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .site-header .brand__light { opacity: 1; }
body.menu-open .site-header .brand__dark { opacity: 0; }

/* burger */
.burger { width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .25s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 990; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  clip-path: circle(0% at calc(100% - 44px) 60px); transition: clip-path .7s var(--ease-out); visibility: hidden;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; }
.mobile-menu__inner { height: 100%; overflow-y: auto; padding: 130px 28px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.mobile-menu__links { list-style: none; margin: 0; padding: 0; }
.mobile-menu__links > li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease-out); }
body.menu-open .mobile-menu__links > li { opacity: 1; transform: none; }
body.menu-open .mobile-menu__links > li:nth-child(2) { transition-delay: .06s; }
body.menu-open .mobile-menu__links > li:nth-child(3) { transition-delay: .12s; }
body.menu-open .mobile-menu__links > li:nth-child(4) { transition-delay: .18s; }
body.menu-open .mobile-menu__links > li:nth-child(5) { transition-delay: .24s; }
.mobile-menu__links > li > a, .mm-toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0;
  font-family: var(--ff-display); font-size: 2rem; font-weight: 600; color: #fff; background: none; border: 0; text-align: left;
}
.mm-toggle i { font-size: 1.1rem; transition: transform .3s; }
.mm-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.mobile-menu__sub { list-style: none; padding: 0 0 14px; margin: 0; }
.mobile-menu__sub a { display: block; padding: 7px 0; color: rgba(255, 255, 255, .75); font-size: .98rem; }
.mobile-menu__contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; font-size: .9rem; }
.mobile-menu__contacts a, .mobile-menu__contacts span { color: rgba(255, 255, 255, .78); display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 60px) 0 0; color: #fff; overflow: hidden; background: var(--navy);
}
.hero__media { position: absolute; inset: -12% 0; will-change: transform; }
.hero__img img { transform: scale(1.18); transition: filter 1s var(--ease), transform 2.8s var(--ease-out); }
.hero__img.is-loaded img { transform: scale(1.04); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(22, 80, 127, .45), transparent 60%),
    linear-gradient(100deg, rgba(2, 24, 45, .97) 0%, rgba(2, 24, 45, .88) 42%, rgba(7, 38, 64, .55) 75%, rgba(2, 24, 45, .7) 100%),
    linear-gradient(0deg, rgba(2, 24, 45, .95) 0%, transparent 35%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-rings { position: absolute; right: -180px; top: 50%; width: 640px; height: 640px; transform: translateY(-50%); pointer-events: none; }
.hero-rings span { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; animation: ring 16s linear infinite; }
.hero-rings span:nth-child(2) { inset: 70px; border-color: rgba(176, 141, 87, .28); border-style: dashed; animation-duration: 40s; animation-direction: reverse; }
.hero-rings span:nth-child(3) { inset: 150px; border-color: rgba(255, 255, 255, .07); }
.hero-rings span:nth-child(1)::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); top: 50%; left: -4.5px; box-shadow: 0 0 18px var(--brass); }
.hero-rings--big { width: 900px; height: 900px; right: -320px; top: 45%; }
@keyframes ring { to { transform: rotate(360deg); } }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 5rem); color: #fff; line-height: 1.04; margin: 0 0 24px; max-width: 17ch; }
.hero__title em { color: var(--brass-2); }
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.18rem); max-width: 58ch; color: rgba(255, 255, 255, .8); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 26px 26px 14px; margin-bottom: 10px;
}
.hero-card__label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); font-weight: 700; }
.hero-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.hero-card li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-card a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 14px 0; color: #fff; }
.hero-card .num { font-family: var(--ff-display); font-size: 1.05rem; color: var(--brass-2); }
.hero-card .t { font-weight: 600; font-size: .95rem; }
.hero-card a i { opacity: .5; transition: transform .35s var(--ease), opacity .3s; }
.hero-card a:hover i { opacity: 1; transform: translate(3px, -3px); }
.hero__foot { position: relative; margin-top: 70px; border-top: 1px solid var(--line-dark); }
.hero__foot .container { min-height: 78px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: .84rem; color: rgba(255, 255, 255, .72); }
.hero-facts i { color: var(--brass-2); margin-right: 6px; }
.scroll-cue { width: 28px; height: 46px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 20px; position: relative; flex: none; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* hero entry animations */
.js .hero-anim { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * .09s + .55s); }
body.is-ready .hero-anim { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * .06s + .6s); }
body.is-ready [data-split] .wi { transform: none; }

/* ---------- Marquee ---------- */
.marquee-wrap { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee__track { display: flex; align-items: center; flex: none; min-width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 45s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--big { padding: 34px 0 20px; }
.marquee__item {
  font-family: var(--ff-display); font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 600; font-style: italic; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(2, 24, 45, .45); padding: 0 26px; transition: color .35s, -webkit-text-stroke-color .35s;
}
.marquee__item:hover { color: var(--navy); -webkit-text-stroke-color: var(--navy); }
.marquee__sep { color: var(--brass); font-size: 1.2rem; }
.marquee--small { padding: 14px 0; background: var(--navy); color: rgba(255, 255, 255, .8); }
.marquee--small span { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; padding: 0 6px; }
.marquee--small i { color: var(--brass); font-size: 1.4rem; line-height: 1; }

/* ---------- Intro ---------- */
.intro__visual { position: relative; padding: 0 70px 80px 0; }
.intro__main .media { box-shadow: var(--shadow); }
.intro__small { position: absolute; right: 0; bottom: 0; width: 46%; border: 10px solid var(--paper); box-shadow: var(--shadow); }
.seal { position: absolute; left: -30px; bottom: 30px; width: 150px; height: 150px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: ring 22s linear infinite; }
.seal text { fill: rgba(255, 255, 255, .85); font-family: var(--ff-body); font-size: 13.2px; font-weight: 700; letter-spacing: 3.4px; }
.seal img { width: 54px; height: 54px; }
.intro__points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.intro__points div { border-left: 2px solid var(--brass); padding: 4px 0 4px 18px; }
.intro__points strong { display: block; font-family: var(--ff-display); font-size: 1.45rem; color: var(--navy); }
.intro__points span { font-size: .9rem; color: var(--muted); }

/* ---------- Rich text ---------- */
.rich p { margin-bottom: 1.1em; }
.rich h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin: 1.6em 0 .6em; }
.rich h3 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
.rich ul, .rich ol { padding-left: 1.25rem; margin-bottom: 1.2em; }
.rich ul { list-style: none; padding-left: 0; }
.rich ul li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.rich ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 10px; height: 1.5px; background: var(--brass); }
.rich ol li { margin-bottom: .55em; padding-left: 6px; }
.rich ol li::marker { color: var(--brass); font-weight: 700; }
.rich blockquote { margin: 2em 0; padding: 26px 30px; border-left: 3px solid var(--brass); background: var(--tint); font-family: var(--ff-display); font-size: 1.6rem; line-height: 1.3; color: var(--navy); font-style: italic; }
.rich a { color: var(--navy-4); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.rich strong { color: var(--ink); }
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right { text-align: right; }
.rich .ql-align-justify { text-align: justify; }
.body-figure { margin: 2em 0; }
.body-figure .media { border-radius: var(--radius); }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--brass); font-size: 1.05rem; }
.check-list--2 { grid-template-columns: 1fr 1fr; }

/* ---------- Focus sticky split ---------- */
.sticky-col { position: sticky; top: 120px; }
.focus-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.focus-index li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; transition: color .35s, padding .35s var(--ease); }
.focus-index li span { font-family: var(--ff-display); font-size: 1.1rem; color: var(--brass); }
.focus-index li.is-current { color: var(--navy); padding-left: 10px; }
.focus-stack { display: grid; gap: 46px; }
.focus-card { background: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; transition: box-shadow .4s, transform .4s var(--ease); }
.focus-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.focus-card__media { position: relative; display: block; overflow: hidden; }
.focus-card__media .media img { transition: filter .9s var(--ease), transform 1.2s var(--ease); }
.focus-card:hover .focus-card__media .media.is-loaded img { transform: scale(1.05); }
.focus-card__num { position: absolute; right: 22px; bottom: 6px; font-family: var(--ff-display); font-size: 5.5rem; line-height: 1; color: #fff; text-shadow: 0 6px 30px rgba(2, 24, 45, .5); }
.focus-card__body { padding: 32px 36px 36px; position: relative; }
.focus-card__icon { position: absolute; top: -28px; left: 36px; width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.35rem; box-shadow: var(--shadow-sm); }
.focus-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 18px 0 12px; }
.focus-card h3 a { color: var(--navy); }
.focus-card p { color: var(--muted); }

/* ---------- Area cards ---------- */
.area-card {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 38px 34px 34px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; isolation: isolate; color: var(--text);
  transition: color .45s, border-color .45s, transform .45s var(--ease), box-shadow .45s;
}
.area-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%); transform: translateY(101%); transition: transform .6s var(--ease-out); }
.area-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(176, 141, 87, .35); z-index: -1; opacity: 0; transition: opacity .5s; }
.area-card:hover { color: rgba(255, 255, 255, .8); border-color: var(--navy); transform: translateY(-6px); box-shadow: var(--shadow); }
.area-card:hover::before { transform: none; }
.area-card:hover::after { opacity: 1; }
.area-card__icon { width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--navy-4); font-size: 1.45rem; margin-bottom: 26px; transition: all .45s; }
.area-card:hover .area-card__icon { border-color: rgba(255, 255, 255, .3); color: var(--brass-2); }
.area-card h3 { font-size: 1.65rem; margin-bottom: 12px; transition: color .45s; }
.area-card:hover h3 { color: #fff; }
.area-card p { font-size: .95rem; flex: 1; }
.area-card__more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .85rem; color: var(--navy); transition: color .45s; margin-top: 8px; }
.area-card:hover .area-card__more { color: #fff; }

/* ---------- Quote band ---------- */
.quote-band { position: relative; padding: clamp(120px, 16vw, 200px) 0; overflow: hidden; color: #fff; background: var(--navy); }
.quote-band__media, .cta-band__media, .page-hero__media { position: absolute; inset: -15% 0; will-change: transform; }
.quote-band__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 24, 45, .86), rgba(2, 24, 45, .72) 50%, rgba(2, 24, 45, .9)); }
.quote-band__mark { display: block; font-family: var(--ff-display); font-size: 9rem; line-height: .6; color: var(--brass); margin-bottom: 10px; }
.quote-band__text { font-family: var(--ff-display); font-style: italic; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.18; max-width: 26ch; margin: 0 auto 24px; color: #fff; }
.quote-band__cite { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin: 0; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-grid > * { background: var(--paper); }
.why-grid__head { padding: 40px 36px; background: #fff; }
.why-item { padding: 40px 36px; background: #fff; position: relative; transition: background .4s; }
.why-item:hover { background: var(--tint); }
.why-item__num { font-family: var(--ff-display); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--brass); display: block; margin-bottom: 16px; }
.why-item h3 { font-size: 1.6rem; margin-bottom: 10px; }
.why-item p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Partner ---------- */
.partner__visual { position: relative; padding: 30px 30px 0 0; max-width: 470px; margin: 0 auto; }
.partner__shape { position: absolute; right: 0; top: 0; width: 82%; height: 88%; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-4) 100%); border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; }
.partner__shape::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 30% 20%, transparent 0 22px, rgba(255, 255, 255, .06) 23px 24px); }
.partner__photo { position: relative; border-radius: 220px 220px 0 0; background: #EEF1F4; }
.partner__photo img { object-position: center top; }
.partner__badge { position: absolute; left: -10px; bottom: 34px; background: #fff; padding: 12px 18px; border-radius: 40px; font-weight: 700; font-size: .86rem; color: var(--navy); box-shadow: var(--shadow-sm); }
.partner__badge i { color: var(--brass); margin-right: 6px; }
.partner__role { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--brass); margin-bottom: 22px; }

/* ---------- International ---------- */
.intl { background: var(--navy); color: rgba(255, 255, 255, .8); overflow: hidden; }
.intl__bg { position: absolute; inset: 0; background:
  radial-gradient(800px 500px at 10% 0%, rgba(22, 80, 127, .55), transparent 60%),
  radial-gradient(700px 500px at 100% 100%, rgba(176, 141, 87, .16), transparent 60%),
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 64px; }
.intl-services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.intl-services div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .03); color: #fff; font-weight: 600; font-size: .92rem; transition: background .3s, border-color .3s; }
.intl-services div:hover { background: rgba(255, 255, 255, .07); border-color: rgba(176, 141, 87, .5); }
.intl-services i { color: var(--brass-2); font-size: 1.2rem; }
.intl__visual { position: relative; padding-bottom: 60px; }
.intl__visual > .media { border-radius: var(--radius); }
.clocks { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(92%, 440px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 20px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.clock { text-align: center; }
.clock__city { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.clock__time { font-family: var(--ff-display); font-size: 2.4rem; font-weight: 600; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.clock__diff span { display: inline-block; padding: 6px 12px; border-radius: 30px; background: var(--tint); color: var(--navy); font-weight: 700; font-size: .8rem; }

/* ---------- Post cards ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { position: relative; display: block; overflow: hidden; }
.post-card:hover .media.is-loaded img { transform: scale(1.05); }
.chip { position: absolute; left: 18px; top: 18px; padding: 6px 12px; background: rgba(255, 255, 255, .94); color: var(--navy); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 30px; }
.post-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.post-card h3 a { color: var(--navy); background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.post-card:hover h3 a { background-size: 100% 1px; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(90px, 11vw, 140px) 0; overflow: hidden; background: var(--navy); }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2, 24, 45, .96) 0%, rgba(2, 24, 45, .86) 55%, rgba(13, 53, 88, .7) 100%); }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; max-width: 360px; margin-left: auto; }
.cta-band__actions .btn-x { justify-content: center; }
.cta-band__phone { color: #fff; font-family: var(--ff-display); font-size: 1.7rem; text-align: center; margin-top: 4px; }
.cta-band__phone:hover { color: var(--brass-2); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #011220; color: rgba(255, 255, 255, .66); padding: 90px 0 0; overflow: hidden; font-size: .94rem; }
.site-footer__mark { position: absolute; right: -60px; bottom: -80px; width: 460px; height: 460px; background: url("../img/logo-mark-white.svg") center / contain no-repeat; opacity: .035; pointer-events: none; }
.footer-about { max-width: 38ch; }
.footer-title { font-family: var(--ff-body); font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, .66); transition: color .25s, padding .3s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-contact i { color: var(--brass-2); margin-top: 2px; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-dark); border-radius: 50%; color: #fff; transition: all .3s; }
.footer-social a:hover { background: #fff; color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 70px; padding: 26px 0 30px; border-top: 1px solid var(--line-dark); font-size: .82rem; }
.footer-note { max-width: 60ch; opacity: .75; }
.footer-credit::before { content: "·"; margin: 0 10px; opacity: .5; }
.footer-credit a { color: rgba(255, 255, 255, .78); text-decoration: underline; text-decoration-color: rgba(176, 141, 87, .6); text-underline-offset: 3px; transition: color .25s; }
.footer-credit a:hover { color: #fff; }
@media (max-width: 575.98px) { .footer-credit { display: block; margin-top: 6px; } .footer-credit::before { display: none; } }

/* floating actions */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 40px; background: #1FAF54; color: #fff; font-weight: 700; font-size: .88rem; box-shadow: 0 14px 30px -10px rgba(31, 175, 84, .6); transition: transform .35s var(--ease); }
.wa-float i { font-size: 1.45rem; }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.to-top { position: fixed; right: 22px; bottom: 92px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease); box-shadow: var(--shadow-sm); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: #fff; box-shadow: 0 -10px 30px -12px rgba(2, 24, 45, .3); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.action-bar i { font-size: 1.25rem; }
.action-bar .is-wa i { color: #1FAF54; }
.action-bar .is-primary { background: var(--navy); color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 70px) 0 80px; color: #fff; overflow: hidden; background: var(--navy); }
.page-hero--compact { min-height: 50vh; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2, 24, 45, .96) 0%, rgba(2, 24, 45, .84) 50%, rgba(7, 38, 64, .55) 100%), linear-gradient(0deg, rgba(2, 24, 45, .8), transparent 50%); }
.page-hero .hero-rings { right: -240px; width: 620px; height: 620px; }
.page-hero__title { font-size: clamp(2.5rem, 5.6vw, 4.8rem); color: #fff; max-width: 18ch; margin-bottom: 18px; }
.page-hero__sub { font-size: 1.1rem; color: rgba(255, 255, 255, .78); max-width: 60ch; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .8rem; letter-spacing: .06em; }
.crumbs li { color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--brass-2); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; }

/* ---------- About ---------- */
.story__visual { position: relative; }
.story__visual .media { box-shadow: var(--shadow); }
.story__visual::before { content: ""; position: absolute; left: -26px; top: -26px; width: 60%; height: 60%; border: 1px solid var(--brass); z-index: -1; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 31px; height: 1px; background: var(--line); }
.step { position: relative; padding: 0 24px 0 0; }
.step__dot { position: relative; width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 1.5rem; color: var(--navy); margin-bottom: 26px; transition: background .4s, color .4s, border-color .4s; }
.step:hover .step__dot { background: var(--navy); color: #fff; border-color: var(--navy); }
.step h3 { font-size: 1.55rem; }
.step p { color: var(--muted); font-size: .95rem; }
.partner-full { background: #fff; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.cred-grid div { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--tint); border-radius: var(--radius); font-weight: 600; font-size: .92rem; color: var(--navy); }
.cred-grid i { color: var(--brass); font-size: 1.15rem; }

/* Team profile pop-up: photo beside a scrollable biography */
.team-modal .modal-dialog { max-width: 780px; }
.team-modal .modal-content { border: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-modal .modal-body { padding: 0; }
.team-modal__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.team-modal__photo { position: sticky; top: 0; background: var(--tint); }
.team-modal__text { padding: 40px 38px 34px; }
.team-modal__name { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 18px; }
.team-modal__bio p { color: var(--text); font-size: .97rem; line-height: 1.75; }
.team-modal__bio p:last-child { margin-bottom: 0; }
.team-modal .team-card__links { margin-top: 26px; }
.team-modal__close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 38px; height: 38px; padding: 0; border-radius: 50%; background-color: #fff; background-size: 12px; opacity: .95; box-shadow: var(--shadow-sm); }
.team-modal__close:hover { opacity: 1; }
@media (max-width: 767.98px) {
  .team-modal__grid { grid-template-columns: 1fr; }
  .team-modal__photo { position: static; }
  .team-modal__photo .media { aspect-ratio: auto; height: 280px; }
  .team-modal__text { padding: 26px 22px 24px; }
}

/* ---------- Website credits ---------- */
.credit-card { height: 100%; display: flex; flex-direction: column; align-items: flex-start; background: #fff; padding: 38px 36px; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); border-top: 3px solid var(--brass); }
.credit-card__label { display: inline-flex; gap: 8px; align-items: center; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass); margin-bottom: 12px; }
.credit-card h3 { font-size: 2rem; margin-bottom: 14px; }
.credit-card p { color: var(--muted); }
.credit-card__foot { margin-top: auto; padding-top: 26px; }

/* ---------- Team ---------- */
.team-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__media { position: relative; overflow: hidden; }
.team-card__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.team-card:hover .team-card__media::after { transform: none; }
.team-card:hover .media.is-loaded img { transform: scale(1.04); }
.team-card__initials { display: flex; align-items: center; justify-content: center; }
.team-card__initials span { font-family: var(--ff-display); font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 1; color: rgba(255, 255, 255, .92); letter-spacing: .04em; }
.team-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.team-card h3 { font-size: 1.55rem; margin-bottom: 4px; }
.team-card__role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass); margin-bottom: 14px; }
.team-card__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.team-card__more { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font-weight: 700; font-size: .85rem; color: var(--navy); transition: gap .3s var(--ease), color .3s; }
.team-card__more:hover, .team-card__more:focus-visible { gap: 12px; color: var(--brass); }
.team-card__links { display: flex; gap: 8px; }
.team-card__links a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: background .3s, border-color .3s, color .3s; }
.team-card__links a:hover, .team-card__links a:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Practice listing ---------- */
.pa-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.pa-row:nth-child(even) .pa-row__media { order: 2; }
.pa-row__media { position: relative; overflow: hidden; border-radius: var(--radius); }
.pa-row__media .media { aspect-ratio: 4 / 3; }
.pa-row__media .media img { transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.pa-row:hover .pa-row__media .media.is-loaded img { transform: scale(1.04); }
.pa-row__num { font-family: var(--ff-display); font-size: 1.2rem; color: var(--brass); display: block; margin-bottom: 10px; }
.pa-row h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 16px; }
.pa-row h2 a { color: var(--navy); }
.pa-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.pa-row .tags span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; font-size: .78rem; font-weight: 600; color: var(--navy); background: #fff; }

/* ---------- Practice detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--text); transition: color .25s, padding .3s var(--ease); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover, .side-nav a.is-current { color: var(--navy); padding-left: 6px; }
.side-nav a.is-current { color: var(--brass); }
.side-cta { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: rgba(255, 255, 255, .8); border: 0; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; bottom: -90px; border-radius: 50%; border: 1px solid rgba(176, 141, 87, .35); box-shadow: 0 0 0 30px rgba(255, 255, 255, .02), 0 0 0 60px rgba(255, 255, 255, .02); }
.side-cta h3 { color: #fff; }
.side-cta .btn-x { width: 100%; justify-content: center; margin-top: 10px; position: relative; z-index: 1; }
.services-box { background: var(--tint); border-radius: var(--radius); padding: 34px 36px; margin: 34px 0; }
.services-box h2 { font-size: 1.9rem; margin: 0 0 6px; }
.faq .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq .accordion-button { background: transparent; box-shadow: none; padding: 22px 0; font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600; color: var(--navy); }
.faq .accordion-button:not(.collapsed) { color: var(--navy); }
.faq .accordion-button::after { background-image: none; content: "\F64D"; font-family: "bootstrap-icons"; font-size: 1.1rem; transform: none; width: auto; height: auto; color: var(--brass); transition: transform .3s; }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq .accordion-body { padding: 0 0 22px; color: var(--muted); }
.detail-hero-img { margin-top: -110px; position: relative; z-index: 2; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }

/* ---------- Insights ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filters a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 30px; font-size: .85rem; font-weight: 600; color: var(--navy); background: #fff; transition: all .3s; }
.filters a:hover { border-color: var(--navy); }
.filters a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 50px; transition: box-shadow .4s; }
.post-feature:hover { box-shadow: var(--shadow); }
.post-feature__media { position: relative; min-height: 380px; }
.post-feature__body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.post-feature h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 16px; }
.post-feature h2 a { color: var(--navy); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; font-weight: 700; color: var(--navy); background: #fff; }
.pager .is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.article-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 150px; background: var(--navy); color: #fff; overflow: hidden; }
.article-hero__bg { position: absolute; inset: 0; background: radial-gradient(800px 500px at 90% 0%, rgba(22, 80, 127, .6), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(176, 141, 87, .14), transparent 60%); }
.article-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 22ch; margin-bottom: 26px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: rgba(255, 255, 255, .75); }
.article-meta i { color: var(--brass-2); margin-right: 6px; }
.article-cover { margin-top: -110px; position: relative; z-index: 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-body { font-size: 1.07rem; line-height: 1.85; }
.article-body > p:first-child::first-letter { float: left; font-family: var(--ff-display); font-size: 4.6rem; line-height: .85; padding: 6px 12px 0 0; color: var(--navy); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.share span { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-right: 6px; }
.share a, .share button { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: #fff; transition: all .3s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.disclaimer { font-size: .86rem; color: var(--muted); background: var(--tint); padding: 18px 22px; border-radius: var(--radius); margin-top: 30px; }
.author-box { display: flex; gap: 20px; align-items: center; margin-top: 34px; }
.author-box .media { width: 76px; height: 76px; border-radius: 50%; flex: none; }
.author-box strong { display: block; font-family: var(--ff-display); font-size: 1.4rem; color: var(--navy); }
.mini-post { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-post:last-child { border-bottom: 0; }
.mini-post .media { aspect-ratio: 1; border-radius: var(--radius); }
.mini-post strong { display: block; font-size: .92rem; line-height: 1.35; color: var(--navy); }
.mini-post small { color: var(--muted); }
.progress-bar-top { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brass), var(--brass-2)); z-index: 1100; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -90px; position: relative; z-index: 3; }
.contact-card { background: #fff; padding: 30px 26px; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; display: block; color: var(--text); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--text); }
.contact-card i { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); color: var(--navy); font-size: 1.3rem; margin-bottom: 18px; transition: background .3s, color .3s; }
.contact-card:hover i { background: var(--navy); color: #fff; }
.contact-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: .92rem; color: var(--muted); word-break: break-word; }
.form-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(28px, 4vw, 50px); }
.field { position: relative; margin-bottom: 20px; }
.field label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.field .form-control, .field .form-select { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: .98rem; background-color: var(--paper); transition: border-color .3s, box-shadow .3s, background .3s; }
.field .form-control:focus, .field .form-select:focus { border-color: var(--navy); background-color: #fff; box-shadow: 0 0 0 4px rgba(2, 24, 45, .07); }
.field textarea.form-control { min-height: 150px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; }
.form-status.is-ok { display: block; background: #E8F5EE; color: #11663A; }
.form-status.is-err { display: block; background: #FCECEC; color: #9B1C1C; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.info-list i { color: var(--brass-2); font-size: 1.2rem; }
.info-list strong { display: block; color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.info-list a, .info-list span { color: rgba(255, 255, 255, .8); }
.info-panel { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: rgba(255, 255, 255, .8); border-radius: var(--radius); padding: clamp(28px, 4vw, 46px); height: 100%; position: relative; overflow: hidden; }
.info-panel h2 { color: #fff; font-size: 2.1rem; }
.map-wrap { position: relative; height: 520px; background: var(--tint); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map-card { position: absolute; left: clamp(16px, 6vw, 80px); top: 50%; transform: translateY(-50%); max-width: 360px; background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-card h3 { font-size: 1.6rem; }
h1, h2, h3, h4, .display-2, [class*="num"], .clock__time, .step__dot, .quote-band__text, .cta-band__phone { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 140px 0 80px; }
.notfound h1 { font-size: clamp(6rem, 18vw, 13rem); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); line-height: .9; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  :root { --header-h: 78px; }
  .topbar { display: none; }
  .mainbar .container { min-height: 74px; }
  .sticky-col { position: static; }
  .focus-index { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid__head { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .steps::before { display: none; }
  .pa-row { grid-template-columns: 1fr; padding: 44px 0; }
  .pa-row:nth-child(even) .pa-row__media { order: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature__media { min-height: 260px; }
  .cta-band__actions { margin-left: 0; max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cta-band__phone { text-align: left; }
  .intro__visual { padding: 0 40px 60px 0; }
  .map-card { position: static; transform: none; max-width: none; border-radius: 0; box-shadow: none; }
  .map-wrap { height: 380px; }
}
@media (max-width: 767.98px) {
  body { padding-bottom: 62px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__title { max-width: none; }
  .hero__foot { margin-top: 50px; }
  .hero-rings--big { width: 520px; height: 520px; right: -300px; top: 30%; }
  .why-grid { grid-template-columns: 1fr; }
  .intro__points, .intl-services, .cred-grid, .check-list--2 { grid-template-columns: 1fr; }
  .seal { width: 112px; height: 112px; left: -8px; }
  .seal text { font-size: 13px; }
  .seal img { width: 40px; height: 40px; }
  .contact-cards { grid-template-columns: 1fr; margin-top: -60px; }
  .steps { grid-template-columns: 1fr; }
  .focus-card__body { padding: 30px 24px; }
  .focus-card__icon { left: 24px; }
  .page-hero { min-height: 52vh; padding-bottom: 60px; }
  .article-hero { padding-bottom: 120px; }
  .article-cover, .detail-hero-img { margin-top: -80px; }
  .services-box { padding: 26px 22px; }
  .to-top { bottom: 80px; right: 14px; }
  .clocks { padding: 14px; }
  .clock__time { font-size: 1.8rem; }
  .brand { width: 158px; height: 44px; }
  .site-header.is-scrolled .brand { width: 144px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="mask"] > *, .js .hero-anim, .js [data-split] .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* dark-section rich text */
.intl-rich strong { color: #fff; }
.intl-rich ul li { color: rgba(255, 255, 255, .82); }
.page-hero--overlap { padding-bottom: 150px; }
@media (max-width: 767.98px) { .page-hero--overlap { padding-bottom: 110px; } }

/* Phones: Bootstrap's wide g-5 gutters make rows 12px wider than the screen on each side */
@media (max-width: 575.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}

/* Phones: keep the last footer lines clear of the round "back to top" button */
@media (max-width: 767.98px) {
  .footer-bottom { padding-right: 56px; }
}

/* ---------- Introduction video (home) ---------- */
/* The small frame takes the video's own shape (set inline from the file), so nothing is cropped. */
.intro__small--video { width: 58%; }
.intro-video { position: relative; overflow: hidden; background: var(--navy); }
.intro-video .intro-video__poster, .intro-video__media { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-video__media { display: block; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.intro-video.is-playing .intro-video__media { opacity: 1; }
.intro-video::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(2, 24, 45, .2); pointer-events: none; transition: background .35s; }
.intro-video:hover::after { background: rgba(2, 24, 45, .05); }
.intro-video__watch { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; border: 0; background: #fff; color: var(--navy); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px 8px 10px; border-radius: 40px; box-shadow: 0 10px 24px -8px rgba(2, 24, 45, .6); transition: transform .3s var(--ease), background .3s; }
.intro-video__watch i { font-size: 1.3rem; line-height: 1; color: var(--brass); }
.intro-video__watch:hover, .intro-video__watch:focus-visible { transform: translate(-50%, -50%) scale(1.06); background: var(--paper); }
.intro-video__toggle { position: absolute; right: 8px; top: 8px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(2, 24, 45, .55); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; transition: background .3s; }
.intro-video__toggle:hover, .intro-video__toggle:focus-visible { background: var(--navy); }
@media (max-width: 575.98px) {
  .intro-video__watch { font-size: .62rem; padding: 6px 11px 6px 8px; gap: 4px; }
  .intro-video__watch i { font-size: 1.05rem; }
  .intro-video__toggle { width: 26px; height: 26px; right: 5px; top: 5px; font-size: .8rem; }
}

/* Full-length video pop-up */
.video-modal .modal-content { background: var(--navy); color: #fff; border: 0; border-radius: var(--radius); overflow: hidden; }
.video-modal .modal-header { border-bottom: 1px solid var(--line-dark); padding: 18px 22px; align-items: flex-start; gap: 16px; }
.video-modal .modal-title { font-size: clamp(1.15rem, 2vw, 1.5rem); color: #fff; margin: 4px 0 0; }
.video-modal__label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass-2); }
.video-modal__frame { aspect-ratio: 816 / 464; background: #000; }
.video-modal__frame video { display: block; width: 100%; height: 100%; }

/* ---------- Recognition (About → Managing Partner) ---------- */
.recognition { display: flex; gap: 18px; align-items: center; margin-top: 14px; padding: 14px; background: var(--tint); border-left: 3px solid var(--brass); border-radius: var(--radius); }
.recognition__media { width: 150px; flex: none; border-radius: 3px; overflow: hidden; }
.recognition__label { display: inline-flex; gap: 6px; align-items: center; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass); margin-bottom: 4px; }
.recognition p { font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.5; }
@media (max-width: 575.98px) { .recognition { flex-direction: column; align-items: flex-start; } .recognition__media { width: 100%; } }
