/* ==========================================================================
   Muzamil Law Chambers
   Palette: Oxford navy · antique brass · parchment ivory
   Type:    Cormorant Garamond (display) · Manrope (text)
   ========================================================================== */

:root {
    --navy-950: #07111F;
    --navy-900: #0C1C33;
    --navy-800: #13284A;
    --navy-700: #1D3A66;
    --gold: #B8914F;
    --gold-light: #D4B67C;
    --gold-pale: #EBDDBC;
    --gold-deep: #86632A;
    --ivory: #FBF8F2;
    --cream: #F4EDE0;
    --cream-2: #EAE0CC;
    --ink: #15202F;
    --ink-soft: #4B5568;
    --line: #E2D7C2;
    --line-strong: #CDBE9F;
    --line-dark: rgba(212, 182, 124, .18);
    --text-light: rgba(251, 248, 242, .78);
    --danger: #A33A2E;

    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(72px, 9vw, 132px);
    --header-h: 84px;
    --radius: 2px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 34px 60px -30px rgba(7, 17, 31, .45);
    --portrait-bg: linear-gradient(180deg, #F7F1E6 0%, #E7DAC1 100%);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.005em;
    color: var(--navy-900);
    text-wrap: balance;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-pale); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -80px; z-index: 300;
    padding: .75rem 1.1rem; background: var(--gold); color: var(--navy-950); font-weight: 700;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }
.break { overflow-wrap: anywhere; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Single-column grids never grow wider than their container */
.hero__grid, .intro__grid, .why__grid, .overseas-band__grid, .overseas-intro__grid, .offices__grid,
.about-values__grid, .team-band__grid, .principal__grid, .contact__grid, .practice-index__grid, .cta__box {
    grid-template-columns: minmax(0, 1fr);
}

/* ---------- Sections & type ---------- */
.section { position: relative; padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-900); color: var(--text-light); }
.section--navy h2, .section--navy h3 { color: var(--ivory); }

.h2 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.6rem); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.section--navy h2 em, .hero h1 em, .page-hero h1 em, .cta h2 em, .overseas-band h2 em { color: var(--gold-light); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .85rem;
    margin: 0 0 1.25rem;
    font-family: var(--sans); font-size: .72rem; font-weight: 700; line-height: 1.4;
    letter-spacing: .24em; text-transform: uppercase;
    color: var(--gold-deep);
}
.eyebrow::before { content: ''; flex: none; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow--center::after { content: ''; flex: none; width: 34px; height: 1px; background: currentColor; }

.lede {
    font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.72rem);
    font-weight: 500; line-height: 1.4; color: var(--navy-900);
}

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { display: grid; gap: 1.5rem 4rem; align-items: end; }
.section-head__aside { margin: 0; max-width: 46ch; color: var(--ink-soft); }
.section-head--split .link-arrow { justify-self: start; }
.section-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head__lead { margin-top: 1.1rem; font-size: 1.05rem; color: var(--ink-soft); }
.section--navy .section-head__lead { color: var(--text-light); }
@media (min-width: 900px) {
    .section-head--split { grid-template-columns: 1.3fr 1fr; }
    .section-head--split .link-arrow { justify-self: end; }
}

/* ---------- Buttons & links ---------- */
.btn {
    --bg: transparent; --fg: inherit; --bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
    min-height: 52px; padding: .9rem 1.55rem;
    background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--radius);
    font-family: var(--sans); font-size: .76rem; font-weight: 700; line-height: 1.2;
    letter-spacing: .14em; text-transform: uppercase; text-align: center;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--gold { --bg: var(--gold); --fg: var(--navy-950); }
.btn--gold:hover { --bg: var(--gold-light); box-shadow: 0 14px 30px -14px rgba(184, 145, 79, .7); }
.btn--outline-light { --fg: var(--ivory); --bd: rgba(235, 221, 188, .35); }
.btn--outline-light:hover { --fg: var(--gold-light); --bd: var(--gold-light); }
.btn--navy { --bg: var(--navy-900); --fg: var(--ivory); }
.btn--navy:hover { --bg: var(--navy-700); }
.btn--navy .icon { color: var(--gold-light); }
.btn--outline { --fg: var(--navy-900); --bd: var(--navy-900); }
.btn--outline:hover { --bg: var(--navy-900); --fg: var(--ivory); }
.btn--whatsapp { --bg: #fff; --fg: var(--navy-900); --bd: var(--line-strong); }
.btn--whatsapp .icon { color: #1DA851; }
.btn--whatsapp:hover { --bd: #25D366; }
.btn--sm { min-height: 44px; padding: .7rem 1.15rem; font-size: .7rem; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .6rem;
    padding-bottom: .35rem; border-bottom: 1px solid var(--gold);
    font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--navy-900);
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--gold-deep); transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.intro__body .link-arrow { margin-top: .75rem; }
.link-quiet { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.link-quiet .icon { width: 18px; height: 18px; color: #1DA851; }
.link-quiet:hover { color: var(--navy-900); }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--navy-950); color: rgba(251, 248, 242, .62);
    border-bottom: 1px solid var(--line-dark);
    font-size: .78rem; letter-spacing: .02em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar p { display: flex; align-items: center; gap: .5rem; margin: 0; }
.topbar .icon { width: 14px; height: 14px; color: var(--gold); }
.topbar__links { display: flex; gap: 1.75rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .5rem; transition: color .2s; }
.topbar__links a:hover { color: var(--gold-light); }
.topbar__info { display: flex; align-items: center; gap: 1.6rem; min-width: 0; }
.topbar__address a { display: inline-flex; align-items: center; gap: .5rem; transition: color .2s; }
.topbar__address a:hover { color: var(--gold-light); }
@media (max-width: 1239px) { .topbar .topbar__address { display: none; } }
@media (max-width: 899px) {
    .topbar .topbar__info, .topbar__links li:last-child { display: none; }
    .topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--navy-900);
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--line-dark); }
.site-header.is-scrolled {
    background: rgba(7, 17, 31, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5);
}
.site-header__inner { display: flex; align-items: center; gap: 1.75rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .85rem; margin-right: auto; color: var(--ivory); }
.brand__mark { flex: none; width: 40px; height: 44px; color: var(--gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.brand__name span { font-style: italic; font-weight: 500; color: var(--gold-light); }
.brand__tag { margin-top: .42rem; font-size: .56rem; font-weight: 600; letter-spacing: .27em; text-transform: uppercase; white-space: nowrap; color: rgba(251, 248, 242, .55); }
@media (max-width: 380px) {
    .site-header__inner { gap: 1rem; }
    .brand { gap: .6rem; }
    .brand__mark { width: 34px; height: 38px; }
    .brand__name { font-size: 1.2rem; }
    .brand__tag { font-size: .5rem; letter-spacing: .14em; }
}

.main-nav { display: none; }
.main-nav ul { display: flex; gap: clamp(1.1rem, 1.7vw, 2rem); }
.main-nav a {
    position: relative; display: block; padding: .5rem 0;
    font-size: .86rem; font-weight: 500; color: rgba(251, 248, 242, .78);
    transition: color .2s;
}
.main-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ivory); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-header__cta { display: none; }

.nav-toggle, .nav-close {
    display: grid; place-items: center; width: 46px; height: 46px; flex: none;
    background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--ivory);
    transition: border-color .2s;
}
.nav-toggle:hover, .nav-close:hover { border-color: var(--gold); }
.nav-toggle .icon, .nav-close .icon { width: 22px; height: 22px; }

@media (min-width: 700px) { .site-header__cta { display: inline-flex; } }
@media (min-width: 1180px) {
    .main-nav { display: block; }
    .nav-toggle { display: none; }
}

.mobile-nav {
    position: fixed; inset: 0; z-index: 150;
    display: flex; flex-direction: column; overflow-y: auto; padding-bottom: 2.5rem;
    background: var(--navy-950); color: var(--ivory);
    animation: navIn .45s var(--ease);
}
.mobile-nav[hidden] { display: none; }
@keyframes navIn { from { opacity: 0; transform: translateY(-10px); } }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); border-bottom: 1px solid var(--line-dark); }
.mobile-nav__title { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.mobile-nav__list { margin: 1.25rem 0 2.25rem; }
.mobile-nav__list a {
    display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.5rem); font-weight: 500; line-height: 1.15;
    transition: color .2s, padding .3s var(--ease);
}
.mobile-nav__list a:hover { color: var(--gold-light); padding-left: .4rem; }
.mobile-nav__list span { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--gold); }
.mobile-nav__list a[aria-current] { font-style: italic; color: var(--gold-light); }
.mobile-nav__contact { display: grid; gap: .75rem; }

/* ---------- Shared background texture ---------- */
.hero__bg, .page-hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg::before, .page-hero__bg::before {
    content: ''; position: absolute; inset: 0;
    background-image: var(--grain); opacity: .07; mix-blend-mode: overlay;
}
.hero__bg::after, .page-hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(to right, rgba(212, 182, 124, .06) 1px, transparent 1px);
    background-size: calc(100% / 6) 100%;
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding-top: clamp(48px, 7vw, 100px);
    background:
        radial-gradient(80% 70% at 88% 12%, #1B375F 0%, transparent 62%),
        radial-gradient(60% 60% at 0% 100%, #11264A 0%, transparent 70%),
        var(--navy-900);
    color: var(--text-light);
}
.hero__motif { position: absolute; left: -6%; bottom: 70px; width: min(860px, 95vw); color: var(--gold); opacity: .06; }
.hero__grid { position: relative; display: grid; align-items: end; gap: 3rem; }
.hero__content { align-self: center; padding-bottom: clamp(56px, 7vw, 104px); }
.hero__title {
    margin-bottom: 1.6rem;
    font-size: clamp(2.75rem, 1.5rem + 4.7vw, 5.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -.015em;
    color: var(--ivory);
}
.hero__lead { max-width: 56ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.16rem); color: rgba(251, 248, 242, .74); }
.hero__proof {
    display: flex; flex-wrap: wrap; gap: .8rem 1.9rem;
    margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark);
    font-size: .86rem; color: rgba(251, 248, 242, .72);
}
.hero__proof li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__proof .icon { width: 18px; height: 18px; color: var(--gold); }

.hero__visual { position: relative; width: min(100%, 470px); aspect-ratio: 47 / 60; margin: 0 auto; }
.hero__stage { position: absolute; inset: 0; }
.hero__arch {
    position: absolute; left: 5%; right: 5%; top: 5%; bottom: 0;
    border: 1px solid rgba(212, 182, 124, .5); border-bottom: 0; border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(35, 70, 122, .8) 0%, rgba(19, 40, 74, .45) 55%, rgba(12, 28, 51, 0) 100%);
}
.hero__arch::before {
    content: ''; position: absolute; inset: 14px 14px 0;
    border: 1px solid rgba(212, 182, 124, .2); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.hero__glow {
    position: absolute; left: 50%; top: 8%; width: 80%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 182, 124, .26) 0%, rgba(212, 182, 124, .08) 40%, transparent 68%);
}
.hero__person { position: absolute; left: 50%; bottom: 0; width: 86%; translate: -50% 0; }
.cutout, .cutout img { display: block; width: 100%; height: auto; }
.hero__person img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.hero__seal {
    position: absolute; left: -42px; top: 22%; z-index: 2;
    width: 124px; height: 124px; padding: 4px;
    border-radius: 50%; background: var(--navy-900); color: var(--gold-light);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
}
.seal__ring { transform-origin: 80px 80px; animation: spin 36s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nameplate {
    position: absolute; right: -18px; bottom: 11%; z-index: 2;
    display: flex; flex-direction: column; gap: .3rem;
    max-width: 290px; padding: 1.1rem 1.4rem 1.2rem;
    background: rgba(7, 17, 31, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid var(--line-dark); border-left: 2px solid var(--gold);
    box-shadow: var(--shadow);
}
.nameplate__role { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.nameplate__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.12; color: var(--ivory); }
.nameplate__quals { font-size: .78rem; color: rgba(251, 248, 242, .62); }

.hero__marquee {
    position: relative; overflow: hidden; padding-block: 1.1rem;
    border-top: 1px solid var(--line-dark); background: rgba(7, 17, 31, .4);
}
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.hero__marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
    display: flex; align-items: center; gap: 2.1rem; padding-right: 2.1rem;
    font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem);
    color: rgba(251, 248, 242, .5); white-space: nowrap;
}
.marquee__group i { font-style: normal; font-size: .62em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (min-width: 960px) {
    .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 5vw, 5.5rem); }
    .hero__visual { margin-right: 18px; }
}
@media (max-width: 959px) {
    .hero__content { padding-bottom: 1rem; }
    .hero__visual { width: min(100% - 24px, 400px); }
    .hero__seal { left: -14px; top: 18%; width: 92px; height: 92px; }
    .nameplate { right: -8px; bottom: 9%; max-width: 250px; }
}
@media (max-width: 480px) {
    .nameplate { left: 0; right: 0; max-width: none; bottom: 6%; padding: .9rem 1.1rem 1rem; }
    .nameplate__name { font-size: 1.3rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden;
    padding-block: clamp(64px, 8vw, 124px) clamp(64px, 7vw, 108px);
    background: radial-gradient(80% 100% at 92% 0%, #1B375F 0%, transparent 62%), var(--navy-900);
    color: var(--text-light);
}
.page-hero__motif { position: absolute; right: -3%; bottom: -14px; width: min(660px, 80vw); color: var(--gold); opacity: .09; }
.page-hero__inner { position: relative; }
.page-hero__inner > * { max-width: 880px; }
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; font-size: .78rem; letter-spacing: .04em; color: rgba(251, 248, 242, .5); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs [aria-current] { color: rgba(251, 248, 242, .8); }
.page-hero__title { font-size: clamp(2.5rem, 1.55rem + 3.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em; color: var(--ivory); }
.page-hero__lead { margin-top: 1.5rem; max-width: 62ch; font-size: clamp(1rem, .95rem + .25vw, 1.14rem); color: rgba(251, 248, 242, .72); }

/* ---------- Intro & stats ---------- */
.intro__grid { display: grid; gap: 2rem 5rem; }
.intro__statement .h2 { max-width: 18ch; }
.intro__body p:not(.lede) { color: var(--ink-soft); }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1.1fr 1fr; } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: .7rem; padding: 2rem 1.25rem 0; border-left: 1px solid var(--line); }
.stat::before { content: ''; order: -2; width: 26px; height: 2px; background: var(--gold); }
.stat dd { order: -1; margin: 0; font-family: var(--serif); font-size: clamp(3rem, 2rem + 3vw, 4.6rem); font-weight: 500; line-height: .95; color: var(--navy-900); }
.stat dt { max-width: 22ch; font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.stat:nth-child(odd) { padding-left: 0; border-left: 0; }
@media (min-width: 900px) {
    .stats { grid-template-columns: repeat(4, 1fr); }
    .stat:nth-child(odd) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
    .stat:first-child { padding-left: 0; border-left: 0; }
    .stat { padding-left: 1.5rem; }
}

/* ---------- Practice tabs & cards ---------- */
.tabs__list {
    display: flex; gap: .25rem; margin-bottom: 2.25rem;
    overflow-x: auto; scrollbar-width: none;
    border-bottom: 1px solid var(--line-strong);
}
.tabs__list::-webkit-scrollbar { display: none; }
html:not(.js) .tabs__list { display: none; }
.tabs__tab {
    position: relative; display: inline-flex; align-items: center; gap: .6rem; flex: none;
    padding: 1rem 1.2rem; background: none; border: 0; white-space: nowrap;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-soft); transition: color .2s;
}
.tabs__tab::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
    transform: scaleX(0); transition: transform .35s var(--ease);
}
.tabs__tab:hover, .tabs__tab[aria-selected="true"] { color: var(--navy-900); }
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__count {
    display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
    border-radius: 99px; background: var(--cream-2); color: var(--navy-900);
    font-size: .7rem; letter-spacing: 0;
}
.tabs__tab[aria-selected="true"] .tabs__count { background: var(--navy-900); color: var(--gold-light); }
.js .tabs__panel:not(.is-active) { display: none; }
.tabs__panel { outline: none; }
.tabs__panel + .tabs__panel { margin-top: 3rem; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__panel.is-active { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.tabs__intro { max-width: 70ch; margin-bottom: 1.75rem; color: var(--ink-soft); }

.practice-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.practice-card {
    position: relative; display: flex; flex-direction: column; gap: .85rem;
    padding: 2.1rem 1.9rem 1.8rem;
    background: var(--ivory); border: 1px solid var(--line);
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease), translate .35s var(--ease);
}
.practice-card::before {
    content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.practice-card:hover { background: #fff; box-shadow: 0 24px 40px -28px rgba(7, 17, 31, .35); translate: 0 -3px; }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card__icon {
    display: grid; place-items: center; width: 56px; height: 56px;
    border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-deep);
    transition: background-color .35s, border-color .35s, color .35s;
}
.practice-card__icon .icon { width: 24px; height: 24px; }
.practice-card:hover .practice-card__icon { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-light); }
.practice-card__title { margin-top: .4rem; font-size: 1.55rem; line-height: 1.15; }
.practice-card__title a { transition: color .2s; }
.practice-card__title a:hover { color: var(--gold-deep); }
.practice-card p { flex: 1; font-size: .95rem; color: var(--ink-soft); }
.practice-card__link {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--navy-900);
}
.practice-card__link .icon { width: 16px; height: 16px; color: var(--gold-deep); transition: transform .3s var(--ease); }
.practice-card__link:hover .icon { transform: translateX(4px); }
.practice__more { display: flex; justify-content: center; margin-top: 3rem; }

/* ---------- Why choose us ---------- */
.why { overflow: hidden; background: radial-gradient(55% 65% at 100% 0%, rgba(29, 58, 102, .6), transparent 70%), var(--navy-900); }
.why__grid { display: grid; gap: 3rem; }
.why__intro p { max-width: 44ch; margin-top: 1.5rem; }
.why__intro .btn { margin-top: 1rem; }
.why__list { border-top: 1px solid var(--line-dark); }
.why__item {
    display: grid; grid-template-columns: 64px 1fr auto; gap: 1.5rem; align-items: start;
    padding: 2rem 0; border-bottom: 1px solid var(--line-dark);
}
.why__num { font-family: var(--serif); font-size: 1.6rem; font-style: italic; line-height: 1.25; color: var(--gold); }
.why__item h3 { margin-bottom: .5rem; font-size: 1.65rem; }
.why__item p { max-width: 52ch; font-size: .95rem; color: rgba(251, 248, 242, .66); }
.why__icon {
    display: grid; place-items: center; width: 50px; height: 50px;
    border: 1px solid var(--line-dark); border-radius: 50%; color: var(--gold-light);
    transition: background-color .35s, color .35s, border-color .35s;
}
.why__icon .icon { width: 22px; height: 22px; }
.why__item:hover .why__icon { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
@media (min-width: 960px) {
    .why__grid { grid-template-columns: .9fr 1.1fr; gap: 6rem; }
    .why__intro { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}
@media (max-width: 599px) {
    .why__item { grid-template-columns: 40px 1fr; gap: 1rem; }
    .why__icon { display: none; }
}

/* ---------- Approach ---------- */
.steps { position: relative; display: grid; gap: 2.25rem; }
.step { position: relative; text-align: center; }
.step__marker {
    position: relative; z-index: 1; display: grid; place-items: center;
    width: 58px; height: 58px; margin: 0 auto 1.5rem;
    border: 1px solid var(--gold); border-radius: 50%;
    background: var(--ivory); box-shadow: 0 0 0 8px var(--ivory);
    font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy-900);
    transition: background-color .35s, color .35s;
}
.step:hover .step__marker { background: var(--navy-900); color: var(--gold-light); }
.step__icon { display: block; width: 26px; margin: 0 auto .85rem; color: var(--gold-deep); }
.step__icon .icon { width: 26px; height: 26px; }
.step__title { margin-bottom: .6rem; font-size: 1.45rem; }
.step p { max-width: 30ch; margin-inline: auto; font-size: .93rem; color: var(--ink-soft); }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(5, 1fr); gap: 1.75rem; }
    .steps::before {
        content: ''; position: absolute; top: 29px; left: 10%; right: 10%; height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
    }
}
@media (max-width: 899px) {
    .steps { max-width: 560px; margin-inline: auto; }
    .steps::before { content: ''; position: absolute; top: 29px; bottom: 40px; left: 28px; width: 1px; background: var(--gold); opacity: .5; }
    .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 1.35rem; text-align: left; }
    .step__marker { grid-row: span 2; margin: 0; }
    .step__icon { display: none; }
    .step__title { align-self: center; margin: .75rem 0 .35rem; }
    .step p { max-width: none; margin: 0; }
}

/* ---------- Overseas ---------- */
.overseas-band {
    overflow: hidden;
    background: radial-gradient(70% 90% at 0% 0%, rgba(29, 58, 102, .55), transparent 62%), var(--navy-950);
    color: var(--text-light);
}
.overseas-band h2, .overseas-band h3 { color: var(--ivory); }
.overseas-band__route { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .35; pointer-events: none; }
.overseas-band__grid { position: relative; display: grid; gap: 3rem; }
.overseas-band__copy .h2, .offices__copy .h2, .overseas-intro .h2 { margin-bottom: 1.5rem; }
.overseas-band__copy p { max-width: 54ch; }
.overseas-band__panel {
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: rgba(12, 28, 51, .78); border: 1px solid var(--line-dark);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mini-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); }
.mini-steps li:first-child { padding-top: 0; }
.mini-steps__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(184, 145, 79, .13); color: var(--gold-light); }
.mini-steps__icon .icon { width: 22px; height: 22px; }
.mini-steps h3 { margin-bottom: .25rem; font-size: 1.35rem; }
.mini-steps__n { margin-right: .3rem; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .12em; vertical-align: middle; color: var(--gold); }
.mini-steps p { font-size: .9rem; color: rgba(251, 248, 242, .64); }
.overseas-band__tagline { margin-top: 1.75rem; font-family: var(--serif); font-size: 1.45rem; font-style: italic; line-height: 1.3; color: var(--gold-light); }
@media (min-width: 960px) { .overseas-band__grid { grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: center; } }

.overseas-intro__grid { display: grid; gap: 2rem 5rem; }
.overseas-intro__body p:not(.lede) { color: var(--ink-soft); }
@media (min-width: 900px) { .overseas-intro__grid { grid-template-columns: 1fr 1.1fr; } }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .75rem; margin-top: 2rem; }
.channels a {
    display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1rem 1.1rem;
    background: #fff; border: 1px solid var(--line);
    transition: border-color .3s, box-shadow .3s, translate .3s var(--ease);
}
.channels a:hover { border-color: var(--gold); box-shadow: 0 16px 30px -20px rgba(7, 17, 31, .4); translate: 0 -2px; }
.channels .icon { width: 26px; height: 26px; color: var(--gold-deep); }
.channels .icon--whatsapp { color: #1DA851; }
.channels span { display: flex; flex-direction: column; font-size: .82rem; line-height: 1.35; color: var(--ink-soft); }
.channels strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--navy-900); }

.overseas-process { overflow: hidden; background: radial-gradient(60% 80% at 100% 100%, rgba(29, 58, 102, .55), transparent 70%), var(--navy-900); }
.route-steps { position: relative; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.route-step {
    position: relative; padding: 2rem 1.75rem;
    background: rgba(7, 17, 31, .6); border: 1px solid var(--line-dark);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    transition: border-color .3s, translate .35s var(--ease);
}
.route-step:hover { border-color: rgba(212, 182, 124, .55); translate: 0 -4px; }
.route-step__n { position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; color: rgba(212, 182, 124, .25); }
.route-step__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.5rem; border-radius: 50%; background: rgba(184, 145, 79, .14); color: var(--gold-light); }
.route-step__icon .icon { width: 24px; height: 24px; }
.route-step h3 { margin-bottom: .5rem; font-size: 1.45rem; }
.route-step p { font-size: .92rem; color: rgba(251, 248, 242, .65); }

/* ---------- Team ---------- */
.team-grid {
    display: grid; gap: clamp(1.75rem, 2.4vw, 2.25rem) clamp(.9rem, 2vw, 1.75rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Square portraits on one warm backdrop; white photo backgrounds blend into it */
.member__photo { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1; background: var(--portrait-bg); }
.member__photo::after, .lead-photo::after {
    content: ''; position: absolute; inset: 10px; z-index: 2;
    border: 1px solid transparent; transition: border-color .5s var(--ease); pointer-events: none;
}
.member:hover .member__photo::after { border-color: rgba(134, 99, 42, .55); }
.portrait { display: block; width: 100%; height: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.member:hover .portrait img { transform: scale(1.04); }
.portrait--monogram { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-900) 72%); }
.portrait--monogram span {
    display: grid; place-items: center; width: 52%; aspect-ratio: 1;
    border: 1px solid rgba(212, 182, 124, .45); border-radius: 50%;
    font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 500; letter-spacing: .04em; color: var(--gold-light);
}
.member__body { padding-top: 1.15rem; }
.member__role { margin: 0 0 .4rem; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.member__name { font-size: 1.45rem; line-height: 1.15; }
.member__quals { margin-top: .5rem; font-size: .86rem; line-height: 1.55; color: var(--ink-soft); }

/* Principal: cut-out portrait on navy under a gold arch */
.lead-photo {
    position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1;
    background: radial-gradient(85% 75% at 50% 32%, #27497E 0%, var(--navy-800) 45%, var(--navy-950) 100%);
}
.lead-photo::before {
    content: ''; position: absolute; left: 18%; right: 18%; top: 8%; bottom: 0;
    border: 1px solid rgba(212, 182, 124, .42); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.lead-photo::after { border-color: rgba(212, 182, 124, .28); }
.lead-photo .cutout { position: absolute; left: 50%; bottom: 0; z-index: 1; width: 62%; translate: -50% 0; }
.lead-photo .cutout img { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); transform-origin: 50% 100%; transition: transform .9s var(--ease); }
.member--lead:hover .cutout img { transform: scale(1.03); }
.member--lead { grid-column: span 2; }
.member--lead .member__name { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
.member--lead .member__quals { font-size: .92rem; }
@media (min-width: 900px) { .member--lead { grid-row: span 2; } }

/* Booking tile that completes the grid */
.member--cta {
    grid-column: 1 / -1;
    position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
    padding: clamp(1.25rem, 2.2vw, 2rem);
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: var(--text-light);
}
.member--cta::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(212, 182, 124, .22); pointer-events: none; }
.member--cta__eyebrow { margin-bottom: .9rem; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.member--cta__title { font-size: clamp(1.2rem, .95rem + .9vw, 1.65rem); line-height: 1.22; color: var(--ivory); }
.member--cta__actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.member--cta__link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--gold-light); }
.member--cta__link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.member--cta__link:hover .icon { transform: translateX(3px); }

@media (max-width: 559px) {
    .team-grid .member__name { font-size: 1.15rem; }
    .team-grid .member__role { font-size: .56rem; letter-spacing: .12em; }
    .team-grid .member__quals, .member__qual-list li { font-size: .78rem; }
    .team-grid .member--lead .member__name { font-size: 1.6rem; }
}

/* Full team page cards */
.member--card { padding: 10px 10px 1.4rem; background: var(--ivory); border: 1px solid var(--line); transition: box-shadow .35s, translate .35s var(--ease); }
.member--card:hover { box-shadow: 0 26px 44px -30px rgba(7, 17, 31, .45); translate: 0 -3px; }
.member--card .member__body { padding: 1.3rem .8rem 0; }
.member--card .member__name { font-size: 1.55rem; }
.member__focus { margin: .5rem 0 0; font-size: .9rem; font-weight: 600; color: var(--navy-900); }
.member__qual-list { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.member__qual-list li { position: relative; padding-left: 1.1rem; font-size: .9rem; color: var(--ink-soft); }
.member__qual-list li + li { margin-top: .25rem; }
.member__qual-list li::before { content: ''; position: absolute; left: 0; top: .78em; width: 7px; height: 1px; background: var(--gold-deep); }

.principal__grid { display: grid; gap: 3.5rem; align-items: center; }
.principal__photo { position: relative; width: min(100% - 16px, 500px); margin-inline: auto; }
.principal__photo::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); }
.lead-photo--large { box-shadow: var(--shadow); }
.principal__name { margin-bottom: 2rem; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem); }
.quals { display: grid; gap: .6rem; margin: 0 0 2.25rem; }
.quals dt { margin-top: .9rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.quals dt:first-child { margin-top: 0; }
.quals dd { display: flex; align-items: flex-start; gap: .7rem; margin: 0; font-size: 1.02rem; color: var(--navy-900); }
.quals dd .icon { width: 18px; height: 18px; margin-top: .3rem; color: var(--gold-deep); }
@media (min-width: 900px) { .principal__grid { grid-template-columns: .9fr 1.1fr; gap: 6rem; } }

/* ---------- Commitment ---------- */
.commitment__inner { max-width: 920px; margin-inline: auto; text-align: center; }
.commitment__mark { display: block; width: 54px; margin: .5rem auto 1.5rem; color: var(--gold); }
.commitment__mark .icon { width: 54px; height: 54px; }
.commitment__quote { margin: 0; }
.commitment__quote p { font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.5rem); font-style: italic; font-weight: 500; line-height: 1.3; color: var(--navy-900); }
.commitment__sub { max-width: 60ch; margin: 1.75rem auto 0; font-size: 1.05rem; color: var(--ink-soft); }
.commitment__sign {
    display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.25rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep);
}
.commitment__sign::before, .commitment__sign::after { content: ''; width: 40px; height: 1px; background: currentColor; }

/* ---------- Offices ---------- */
.offices { overflow: hidden; background: radial-gradient(60% 80% at 100% 50%, rgba(29, 58, 102, .5), transparent 70%), var(--navy-900); }
.offices__grid { display: grid; gap: 3.5rem; align-items: center; }
.offices__copy > p { max-width: 46ch; }
.office-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; margin-top: 2.25rem; border-top: 1px solid var(--line-dark); }
.office-list__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .8rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-dark); }
.office-list__n { font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: var(--gold); }
.office-list__city { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1; color: var(--ivory); }
.office-list__badge {
    padding: .3rem .5rem; border-radius: var(--radius);
    background: var(--gold-light); color: var(--navy-950);
    font-family: var(--sans); font-size: .58rem; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
    align-self: center;
}
.offices__map { width: 100%; max-width: 470px; margin: 0; justify-self: center; }
.offices__map svg { width: 100%; height: auto; overflow: visible; }
.offices__map figcaption { margin-top: 1rem; font-size: .78rem; letter-spacing: .04em; text-align: center; color: rgba(251, 248, 242, .5); }
.map__grid line { stroke: rgba(212, 182, 124, .16); stroke-dasharray: 2 6; }
.map__grid text { fill: rgba(212, 182, 124, .5); font: 500 11px var(--sans); letter-spacing: .08em; }
.map__routes path { fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-dasharray: 4 7; opacity: .6; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -220; } }
.map__compass circle { fill: none; stroke: rgba(212, 182, 124, .3); }
.map__compass path { fill: rgba(212, 182, 124, .55); }
.map__compass text { fill: var(--gold-light); font: 700 12px var(--sans); }
.map__scale path { fill: none; stroke: rgba(251, 248, 242, .5); }
.map__scale text { fill: rgba(251, 248, 242, .55); font: 500 11px var(--sans); letter-spacing: .08em; }
.map__ring { fill: rgba(212, 182, 124, .12); stroke: rgba(212, 182, 124, .6); }
.map__dot { fill: var(--gold-light); }
.map__city text { fill: var(--ivory); font: 600 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.map__pulse { fill: none; stroke: var(--gold-light); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
@media (min-width: 900px) { .offices__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
@media (max-width: 420px) { .office-list__city { font-size: 1.35rem; } }

/* ---------- About ---------- */
.about-values__grid { display: grid; gap: 3rem; align-items: center; }
.about-values__copy p:not(.eyebrow) { max-width: 58ch; margin-top: 1.25rem; color: var(--ink-soft); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-bottom: 2rem; }
.pillar { display: flex; flex-direction: column; gap: 1.4rem; padding: 2rem 1.5rem; background: var(--ivory); border: 1px solid var(--line); }
.pillar:nth-child(even) { position: relative; top: 2rem; }
.pillar__icon { color: var(--gold-deep); }
.pillar__icon .icon { width: 30px; height: 30px; }
.pillar__label { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: var(--navy-900); }
@media (min-width: 960px) { .about-values__grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; } }
@media (max-width: 479px) {
    .pillar { gap: 1rem; padding: 1.5rem 1.1rem; }
    .pillar__label { font-size: 1.2rem; overflow-wrap: anywhere; }
}

.team-band__grid { display: grid; gap: 3rem; align-items: center; }
.team-band__grid p:not(.eyebrow) { max-width: 50ch; margin: 1.25rem 0 2rem; color: var(--ink-soft); }
.face-stack { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 1rem; padding-left: 24px; }
.face-stack li {
    width: clamp(84px, 11vw, 124px); aspect-ratio: 1; margin-left: -24px;
    overflow: hidden; isolation: isolate; border: 3px solid var(--cream); border-radius: 50%;
    background: var(--portrait-bg); box-shadow: 0 12px 24px -14px rgba(7, 17, 31, .5);
    transition: translate .35s var(--ease);
}
.face-stack li:hover { translate: 0 -6px; z-index: 1; }
.face-stack .portrait img { object-position: 50% 25%; }
@media (min-width: 960px) { .team-band__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Practice areas page ---------- */
.practice-index__grid { display: grid; gap: 3rem; }
.practice-nav { display: none; }
.practice-group + .practice-group { margin-top: clamp(64px, 8vw, 112px); }
.practice-group__head { margin-bottom: .5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-strong); }
.practice-group__head p:not(.eyebrow) { max-width: 60ch; margin-top: 1rem; color: var(--ink-soft); }
.practice-item { display: grid; grid-template-columns: 60px 1fr; gap: 1.25rem; padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.practice-item__icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-deep); background: #fff; transition: background-color .35s, color .35s, border-color .35s; }
.practice-item__icon .icon { width: 26px; height: 26px; }
.practice-item:hover .practice-item__icon { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-light); }
.practice-item__n { margin: 0 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--gold-deep); }
.practice-item__title { margin-bottom: .75rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); transition: color .3s; }
.practice-item:target .practice-item__title { color: var(--gold-deep); }
.practice-item__body > p:not(.practice-item__n) { max-width: 70ch; color: var(--ink-soft); }
.practice-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.4rem; }
.checklist { display: grid; gap: .6rem 2rem; margin: 1.25rem 0 .5rem; }
.checklist li { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; }
.checklist .icon { width: 18px; height: 18px; margin-top: .25rem; color: var(--gold-deep); }
@media (min-width: 640px) {
    .practice-item { grid-template-columns: 80px 1fr; gap: 2rem; }
    .practice-item__icon { width: 80px; height: 80px; }
    .checklist { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
    .practice-index__grid { grid-template-columns: 270px 1fr; gap: 5rem; align-items: start; }
    .practice-nav { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
}
.practice-nav__inner { max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; padding-right: .5rem; scrollbar-width: thin; }
.practice-nav__group { margin: 0 0 .6rem; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.practice-nav ul { margin-bottom: 1.75rem; border-left: 1px solid var(--line); }
.practice-nav li a {
    display: block; margin-left: -1px; padding: .36rem 0 .36rem 1rem;
    border-left: 1px solid transparent;
    font-size: .87rem; line-height: 1.4; color: var(--ink-soft);
    transition: color .2s, border-color .2s;
}
.practice-nav li a:hover { color: var(--navy-900); }
.practice-nav li a.is-active { border-left-color: var(--gold); color: var(--navy-900); font-weight: 600; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 3.5rem; align-items: start; }
.contact__intro { max-width: 60ch; margin: 1rem 0 2rem; color: var(--ink-soft); }
.enquiry-form { display: grid; gap: 1.3rem; }
.field-row { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .5rem; align-content: start; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); }
.field label span { color: var(--gold-deep); }
.field input, .field select, .field textarea {
    width: 100%; padding: .95rem 1rem;
    background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
    font: inherit; font-size: 1rem; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386632A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #9A9FAA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 145, 79, .22); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; font-size: .85rem; color: var(--danger); }
.field--check { grid-template-columns: auto 1fr; gap: .3rem .8rem; }
.field--check input { width: 20px; height: 20px; margin: .15rem 0 0; padding: 0; accent-color: var(--navy-900); -webkit-appearance: auto; appearance: auto; }
.field--check label { font-size: .9rem; font-weight: 400; line-height: 1.55; letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.field--check .field__error { grid-column: 2; }
.enquiry-form__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .4rem; }
.enquiry-form__note { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: .82rem; color: var(--ink-soft); }
.enquiry-form__note .icon { width: 16px; height: 16px; color: var(--gold-deep); }

/* Sending state */
.spinner {
    display: inline-block; flex: none; width: 18px; height: 18px;
    border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
    animation: spin .75s linear infinite;
}
.spinner--gold { width: 20px; height: 20px; color: var(--gold); border-right-color: rgba(184, 145, 79, .2); }
.btn--submit { display: inline-grid; }
.btn--submit > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; transition: opacity .2s; }
.btn__loading { opacity: 0; }
.btn--submit.is-loading { cursor: progress; }
.btn--submit.is-loading:disabled { opacity: 1; }
.btn--submit.is-loading .btn__label { opacity: 0; }
.btn--submit.is-loading .btn__loading { opacity: 1; }
.btn--submit.is-loading .spinner { color: var(--gold-light); }
.form-status {
    display: flex; align-items: center; gap: .85rem; margin: 0;
    padding: .9rem 1.1rem; background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--gold);
    font-size: .92rem; color: var(--navy-900);
    animation: fadeUp .35s var(--ease);
}
.form-status[hidden] { display: none; }
.enquiry-form.is-sending .field,
.enquiry-form.is-sending .btn--whatsapp { opacity: .55; pointer-events: none; transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) {
    .spinner { animation: spin 1.6s linear infinite !important; } /* keep the loader visibly alive */
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.75rem; padding: 1.1rem 1.25rem; border: 1px solid; border-left-width: 3px; font-size: .95rem; }
.notice a { text-decoration: underline; text-underline-offset: 2px; }
.notice .icon { width: 22px; height: 22px; margin-top: .1rem; }
.notice--success { background: #EEF5EC; border-color: #2F7A4A; color: #1E4D2F; }
.notice--error { background: #FBEFEC; border-color: var(--danger); color: #6E2219; }

.contact__aside { display: grid; gap: 1.25rem; }
.contact-card { position: relative; overflow: hidden; padding: 2.4rem 2rem 2rem; background: var(--navy-900); color: var(--text-light); }
.contact-card::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(212, 182, 124, .2); pointer-events: none; }
.contact-card__title { font-size: 1.9rem; color: var(--ivory); }
.contact-card__tag { margin: .5rem 0 1.75rem; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.contact-card__list { display: grid; gap: 1.25rem; margin-bottom: 1.75rem; }
.contact-card__list li { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
.contact-card__list li > div { min-width: 0; }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(184, 145, 79, .14); color: var(--gold-light); }
.contact-card__icon .icon { width: 20px; height: 20px; }
.contact-card__label { display: block; margin-bottom: .1rem; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(251, 248, 242, .5); }
.contact-card__list a, .contact-card__list span:not(.contact-card__label):not(.contact-card__icon) { font-size: 1rem; color: var(--ivory); }
.contact-card__list a.contact-card__map { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; font-size: .82rem; font-weight: 600; color: var(--gold-light); }
.contact-card__map .icon { width: 14px; height: 14px; }
.contact-card__list li > div > span:not(.contact-card__label) { display: block; }
.contact-card__list a:hover { color: var(--gold-light); }
.contact-card__list a, .site-footer__contact a { overflow-wrap: anywhere; }
@media (max-width: 400px) { .contact-card, .contact-offices { padding-inline: 1.4rem; } }
.contact-card .btn { position: relative; }
.contact-offices { padding: 1.75rem 2rem; background: #fff; border: 1px solid var(--line); }
.contact-offices__title { margin-bottom: 1rem; font-size: 1.45rem; }
.contact-offices ul { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1rem; }
.contact-offices li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .95rem; }
.contact-offices .icon { width: 16px; height: 16px; color: var(--gold-deep); }
.contact-note { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--cream); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.contact-note .icon { width: 24px; height: 24px; color: var(--gold-deep); }
.contact-note p { margin: 0; }
.contact-note strong { color: var(--navy-900); }
.contact-note a { color: var(--navy-900); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
    .contact__grid { grid-template-columns: 1.35fr .85fr; gap: 4.5rem; }
    .contact__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- CTA ---------- */
.cta { padding-block: var(--section); background: var(--ivory); }
.cta__box {
    position: relative; overflow: hidden; display: grid; gap: 2rem; align-items: center;
    padding: clamp(2.25rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 100%);
    color: var(--text-light);
}
.cta__box::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(212, 182, 124, .25); pointer-events: none; }
.cta__box::after {
    content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
    border: 1px solid rgba(212, 182, 124, .14); border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(212, 182, 124, .03), 0 0 0 80px rgba(212, 182, 124, .025);
    pointer-events: none;
}
.cta h2 { color: var(--ivory); }
.cta__copy .h2 { max-width: 18ch; }
.cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.cta__link { display: inline-flex; flex-basis: 100%; align-items: center; gap: .5rem; font-size: .9rem; color: var(--gold-light); }
.cta__link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cta__link:hover .icon { transform: translateX(4px); }
@media (min-width: 960px) {
    .cta__box { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
    .cta__actions, .cta__link { justify-content: flex-end; }
}
.section--navy + .cta, .offices + .cta { background: var(--ivory); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 104px); background: var(--navy-950); color: rgba(251, 248, 242, .62); font-size: .92rem; }
.site-footer__motif { position: absolute; right: -60px; bottom: -30px; width: 640px; max-width: 90vw; color: var(--gold); opacity: .05; pointer-events: none; }
.site-footer__top { position: relative; display: grid; gap: 2.75rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-dark); }
.site-footer__services { margin-top: 1.6rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.site-footer__about { max-width: 40ch; }
.site-footer__heading { margin-bottom: 1.25rem; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); }
.site-footer__col li + li { margin-top: .6rem; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: .75rem; min-width: 0; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: .22rem; color: var(--gold); }
.site-footer__offices { margin-top: 1.4rem; font-size: .86rem; }
.site-footer__offices strong { font-weight: 600; color: var(--ivory); }
.site-footer__bottom { position: relative; display: grid; gap: .75rem; padding-block: 1.75rem 2.5rem; font-size: .8rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__disclaimer { max-width: 92ch; color: rgba(251, 248, 242, .45); }
@media (max-width: 899px) { .site-footer__bottom { padding-bottom: 6.5rem; } }
@media (min-width: 700px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
    .site-footer__top { grid-template-columns: 1.5fr .8fr 1.1fr 1.4fr; gap: 3rem; }
    .site-footer__bottom { grid-template-columns: auto 1fr; gap: 3rem; }
    .site-footer__disclaimer { justify-self: end; text-align: right; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 90;
    display: inline-flex; align-items: center; gap: .6rem;
    height: 56px; padding: 0 15px; border-radius: 999px;
    background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
    font-size: .84rem; font-weight: 700;
    transition: translate .3s var(--ease), background-color .3s;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { translate: 0 -3px; background: #1EBE5B; }
.wa-float__label { display: none; }
@media (min-width: 900px) { .wa-float { padding: 0 22px 0 16px; } .wa-float__label { display: inline; } }
body.nav-open .wa-float { display: none; }

/* ---------- Above-the-fold entrance ----------
   Banner content is visible immediately (good for Largest Contentful Paint) and only slides in slightly. */
.enter { animation: enterUp .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes enterUp { from { transform: translateY(18px); } }
.hero__title .hero__eyebrow { display: flex; }
.hero__headline { display: block; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
    .topbar, .site-header, .mobile-nav, .wa-float, .hero__marquee, .cta, .site-footer__motif { display: none !important; }
    body { background: #fff; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
.map__city:nth-of-type(2) .map__pulse { animation-delay: .45s; }
.map__city:nth-of-type(3) .map__pulse { animation-delay: .9s; }
.map__city:nth-of-type(4) .map__pulse { animation-delay: 1.35s; }
.map__city:nth-of-type(5) .map__pulse { animation-delay: 1.8s; }
.map__city:nth-of-type(6) .map__pulse { animation-delay: 2.25s; }

/* Booking strip under the team grid */
.member--cta > div:first-child { flex: 1 1 420px; }
.member--cta__title { max-width: 32ch; }
@media (max-width: 599px) { .member--cta { flex-direction: column; align-items: flex-start; } }

/* Long email addresses: break only at the <wbr> before the @, never inside "com" */
.contact-card__list a[href^="mailto:"], .site-footer__contact a[href^="mailto:"] { font-size: .9rem; overflow-wrap: break-word; }
