/* Public site styles — visual language of the reference (european-law-firm.com):
   deep navy, steel blue, sky-blue links, peach accent, light grey gradients,
   tight high-contrast serif headings (Playfair Display) and a clean sans (Figtree). */
:root {
  --navy: #09263f;
  --navy-2: #0e3352;
  --navy-deep: #051726;
  --blue: #23527c;
  --sky: #38a8e9;
  --sky-hover: #1f8fd1;
  --peach: #e3ae7e;
  --peach-soft: rgba(227, 174, 126, .65);
  --ink: #212529;
  --text: #54595f;
  --white: #fff;
  --paper: #f4f3ee;
  --line: #dedbd3;
  --grey-grad: linear-gradient(180deg, #edece5 0%, #cdcfd3 100%);
  --on-dark: #fff;
  --on-dark-muted: rgba(255, 255, 255, .78);
  --on-dark-line: rgba(255, 255, 255, .16);
  --ok: #2f7a57;
  --warn: #b0602d;
  --danger: #c0392b;
  --font-d: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-b: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 24px 60px -30px rgba(9, 38, 63, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.6 var(--font-b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-d); font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(44px, 6vw, 88px); font-weight: 600; }
h2 { font-size: clamp(34px, 3.8vw, 56px); }
h3 { font-size: clamp(21px, 1.7vw, 25px); letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: #fff; color: var(--navy); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.icon { width: 24px; height: 24px; flex: none; }
.icon-arrow { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.icon-ext { width: 14px; height: 14px; }

/* ---------- Buttons & links ---------- */
.button { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 28px; border: 1px solid var(--navy); border-radius: 2px; background: var(--navy); color: #fff; font: 500 17px/1.1 var(--font-b); text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.button:hover { background: var(--blue); border-color: var(--blue); }
.button:hover .icon-arrow, .card:hover .icon-arrow, .text-link:hover .icon-arrow { transform: translateX(4px); }
.dark .button { background: #fff; border-color: #fff; color: var(--navy); }
.dark .button:hover { background: var(--paper); border-color: var(--paper); }
.button-ghost, .dark .button-ghost { background: transparent; color: inherit; border-color: currentColor; }
.dark .button-ghost { color: #fff; }
.dark .button-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.button-small { min-height: 40px; padding: 8px 16px; font-size: 15px; white-space: nowrap; }
.button[disabled] { opacity: .6; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sky); font-weight: 600; font-size: 16px; text-decoration: none; }
.text-link:hover { color: var(--sky-hover); }
.ext-link { display: inline-flex; align-items: center; gap: 6px; color: var(--sky); font-size: 15px; font-weight: 600; text-decoration: none; }
.ext-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Decorative art layers ---------- */
.dark { position: relative; isolation: isolate; background: var(--navy); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark strong { color: #fff; }
.dark p, .dark .lead { color: var(--on-dark-muted); }
.art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--navy); }
.art-img { position: absolute; inset: -6% 0; background: center / cover no-repeat; will-change: transform; }
.art::after { content: ''; position: absolute; inset: 0; }
/* Home: NASA ISS photograph of Europe at night */
.art-earth { background: #02060d; }
.art-earth .art-img { inset: 0; background-image: url(/assets/img/hero-earth.jpg); background-position: 60% 30%; transform-origin: 70% 40%; }
.art-earth::after { background: linear-gradient(90deg, rgba(2, 6, 13, .94) 0%, rgba(2, 6, 13, .72) 38%, rgba(2, 6, 13, .15) 70%, rgba(2, 6, 13, 0) 100%), linear-gradient(0deg, rgba(2, 6, 13, .55) 0%, rgba(2, 6, 13, 0) 35%); }
/* Inner pages, footer: monochrome colonnade toned navy */
.art-columns .art-img, .art-footer { background-image: url(/assets/img/columns.jpg); background-position: center 40%; }
.art-columns::after { background: linear-gradient(90deg, rgba(9, 38, 63, .97) 0%, rgba(9, 38, 63, .9) 40%, rgba(9, 38, 63, .7) 100%); }
.art-footer { background-size: cover; background-position: center 70%; }
.art-footer::after { background: linear-gradient(180deg, rgba(9, 38, 63, .97) 0%, rgba(9, 38, 63, .9) 60%, rgba(9, 38, 63, .82) 100%); }
/* CTA: warm-lit colonnade */
.art-dusk .art-img { background-image: url(/assets/img/colonnade-dusk.jpg); background-position: center 45%; }
.art-dusk::after { background: linear-gradient(90deg, rgba(5, 23, 38, .96) 0%, rgba(5, 23, 38, .85) 50%, rgba(5, 23, 38, .55) 100%); }
/* Investigation band: the night-side Earth again, dimmed */
.art-night .art-img { background-image: url(/assets/img/hero-earth.jpg); background-position: center 80%; }
.art-night::after { background: linear-gradient(180deg, rgba(9, 38, 63, .97) 0%, rgba(9, 38, 63, .88) 45%, rgba(9, 38, 63, .78) 100%); }
@media (max-width: 640px) {
  .art-earth .art-img { background-image: url(/assets/img/hero-earth-mobile.jpg); background-position: center 20%; }
  .art-earth::after { background: linear-gradient(180deg, rgba(2, 6, 13, .55) 0%, rgba(2, 6, 13, .85) 45%, rgba(2, 6, 13, .95) 100%); }
}

/* Photos */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Demo note ---------- */
.demo-banner { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: min(420px, calc(100% - 32px)); padding: 9px 14px; border-radius: 3px; background: var(--peach); color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.35; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); display: flex; gap: 10px; align-items: flex-start; }
.demo-banner[hidden] { display: none; }
.demo-close { flex: none; width: 24px; height: 24px; margin: -3px -6px -3px 0; border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 80; color: #fff; transition: background .35s, box-shadow .35s; }
.site-header.is-solid, body.menu-open .site-header { background: rgba(9, 38, 63, .97); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.wordmark { display: inline-flex; flex-direction: column; gap: 5px; text-decoration: none; color: #fff; flex: none; }
.wm-name { font: 400 25px/1 var(--font-b); letter-spacing: -.01em; }
.wm-tag { font: 600 10.5px/1 var(--font-b); letter-spacing: .24em; text-transform: uppercase; color: var(--peach); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a { display: block; padding: 8px 11px; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .2s; }
.main-nav a:hover { color: var(--peach); }
.main-nav a[aria-current] { color: var(--peach); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang summary { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .icon { width: 18px; height: 18px; }
.lang[open] summary { border-color: #fff; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; background: #fff; color: var(--navy); list-style: none; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .45); }
.lang a { display: flex; gap: 10px; padding: 9px 12px; font-size: 15px; text-decoration: none; }
.lang a:hover { background: var(--paper); }
.lang a[aria-current] { font-weight: 700; }
.lang-code { width: 26px; font-size: 12px; font-weight: 700; color: var(--sky); letter-spacing: .05em; }
.header-cta { background: transparent !important; border-color: #fff !important; color: #fff !important; }
.header-cta:hover { background: #fff !important; color: var(--navy) !important; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; background: transparent; color: #fff; cursor: pointer; }
.burger-lines, .burger-lines::before, .burger-lines::after { display: block; width: 20px; height: 1.5px; margin: 0 auto; background: currentColor; transition: transform .3s var(--ease); }
.burger-lines { position: relative; }
.burger-lines::before, .burger-lines::after { content: ''; position: absolute; left: 0; }
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { padding: 8px var(--gutter) 24px; border-top: 1px solid var(--on-dark-line); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.drawer ul { list-style: none; margin-bottom: 18px; }
.drawer a:not(.button) { display: block; padding: 14px 0; border-bottom: 1px solid var(--on-dark-line); color: #fff; font-size: 18px; text-decoration: none; }
.drawer a[aria-current] { color: var(--peach); }
.drawer .button { width: 100%; justify-content: center; background: #fff; color: var(--navy); border-color: #fff; }
@media (max-width: 1599px) { .header-cta { display: none; } }
@media (max-width: 1359px) {
  .main-nav { display: none; }
  .header-cta { display: inline-flex; }
  .burger { display: block; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 560px) { .header-cta { display: none !important; } }
@media (min-width: 1360px) { .drawer { display: none !important; } }

/* ---------- Heroes ---------- */
.eyebrow, .dark .eyebrow { margin-bottom: 18px; color: var(--peach); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero { min-height: min(100svh, 860px); display: flex; align-items: center; padding: calc(var(--header-h) + 64px) 0 96px; overflow: hidden; }
.hero-grid { width: 100%; }
.hero-copy { max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lead { max-width: 60ch; margin-top: 22px; color: #fff; font-size: clamp(17px, 1.4vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.page-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 84px); overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.page-hero h1 { max-width: 22ch; color: #fff; font-size: clamp(40px, 5vw, 72px); }
.page-hero .lead { max-width: 70ch; margin-top: 18px; color: #fff; font-size: clamp(17px, 1.3vw, 19px); }
.hero-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-top: 28px; border: 1px solid rgba(255, 255, 255, .35); color: var(--peach); }
.hero-icon .icon { width: 30px; height: 30px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; list-style: none; color: var(--on-dark-muted); font-size: 14px; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--peach); }
.meta { color: var(--text); font-size: 14px; }
.meta.on-dark { margin-top: 18px; color: var(--on-dark-muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section.alt { background: var(--grey-grad); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 860px; margin: 0 auto clamp(36px, 4.5vw, 56px); text-align: center; }
.section-head p { color: var(--blue); font-size: 17px; }
.section-head .text-link { margin-top: 6px; }
.dark .section-head p { color: var(--on-dark-muted); }

.grid { display: grid; gap: 24px; list-style: none; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-practice { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.grid-practice-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-team { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px; }

/* Cards: white, thin peach frame, centred like the reference practice tiles */
.card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 30px 26px; border: 1px solid var(--peach-soft); border-radius: 3px; background: #fff; text-decoration: none; transition: box-shadow .4s var(--ease), border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-top: 14px; }
.card p { margin-top: 10px; font-size: 15.5px; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--sky); font-size: 15px; font-weight: 600; }
.practice-card { align-items: center; justify-content: center; min-height: 290px; text-align: center; }
.practice-card .card-icon { color: var(--blue); }
.practice-card .card-icon .icon { width: 50px; height: 50px; stroke-width: 1.1; }
.practice-card h3 { margin-top: 20px; font: 700 17px/1.3 var(--font-b); letter-spacing: 0; color: var(--blue); }
.practice-card p { font-size: 14.5px; }
.practice-card .card-more { margin-top: 0; padding-top: 18px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.practice-card:hover .card-more, .practice-card:focus-visible .card-more { opacity: 1; transform: none; }
.practice-card.is-large { min-height: 360px; padding: 40px 34px; }
.practice-card.is-large h3 { font-size: 19px; }
@media (hover: none) { .practice-card .card-more { opacity: 1; transform: none; } }

/* ---------- Home: intro ---------- */
.intro { background: var(--grey-grad); overflow: hidden; }
.intro-title { max-width: 18ch; margin-left: auto; text-align: right; font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.045em; }
.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; margin-top: clamp(-40px, -3vw, -10px); }
.intro-visual { position: relative; padding-bottom: 170px; }
.intro-visual .photo { width: 84%; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(9, 38, 63, .6); }
.intro-visual .focus-panel { position: absolute; left: 8%; bottom: 0; width: 72%; }
.focus-panel { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3vw, 40px); background: var(--navy); color: #fff; box-shadow: 0 40px 80px -40px rgba(9, 38, 63, .7); }
.focus-panel h3 { color: var(--peach); font: 600 14px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.focus-panel ol { list-style: none; }
.focus-panel li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--on-dark-line); }
.focus-panel li:first-child { border-top: 0; }
.focus-panel .num { color: var(--peach); font-weight: 700; font-size: 15px; line-height: 1.7; }
.focus-panel strong { display: block; color: #fff; font: 700 20px/1.2 var(--font-d); letter-spacing: -.01em; }
.focus-panel li span span { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: 15px; }
.arrow-list { display: grid; gap: 26px; list-style: none; }
.arrow-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.arrow-list .icon-arrow { width: 24px; height: 24px; margin-top: 3px; color: var(--navy); }
.arrow-list p { font-size: 17.5px; }

/* ---------- Investigation band ---------- */
.inv-band { background: var(--navy); overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--on-dark-line); }
.steps li { display: flex; gap: 18px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--on-dark-line); }
.steps li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--on-dark-line); }
.steps .num, .procedure .num, .authority .num, .approach .num { flex: none; min-width: 30px; font: 700 26px/1.1 var(--font-d); color: var(--peach); font-variant-numeric: lining-nums; }
.steps p { color: #fff; }
.tech-block { display: flex; gap: 24px; align-items: flex-start; margin-top: 44px; padding: 30px; border: 1px solid var(--on-dark-line); background: rgba(255, 255, 255, .04); }
.tech-icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border: 1px solid var(--on-dark-line); color: #fff; }
.tech-icon .icon { width: 32px; height: 32px; }
.tech-block p { margin-top: 8px; }
.tech-block.on-light { border-color: var(--line); background: var(--paper); }
.tech-block.on-light .tech-icon { border-color: var(--line); color: var(--blue); }
.tech-block.on-light p { color: var(--text); }
.band-cta { margin-top: 40px; text-align: center; }

/* ---------- Never block ---------- */
.never { padding: clamp(28px, 4vw, 48px); background: var(--navy); color: #fff; }
.never-wrap .never { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; align-items: start; gap: 14px 64px; }
.never-wrap .never > p { grid-column: 1; }
.never-wrap .never ul { grid-column: 2; grid-row: 1 / span 2; }
.never-head { display: flex; align-items: center; gap: 14px; }
.never h2 { color: #fff; }
.never-head h2 { font-size: clamp(30px, 3vw, 42px); }
.never-icon { width: 36px; height: 36px; color: var(--peach); }
.never p { margin-top: 10px; color: var(--on-dark-muted); }
.never ul { list-style: none; }
.never li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--on-dark-line); color: #fff; font-size: 16px; }
.never li:last-child { border-bottom: 0; }
.icon-x { width: 18px; height: 18px; margin-top: 3px; color: var(--peach); }
.never.compact h2 { font-size: 28px; }
.never.compact ul { margin-top: 14px; }

/* ---------- Cases & insights ---------- */
.case-card .case-tag { margin-top: 16px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.case-card h3 { margin-top: 8px; font-size: clamp(24px, 2vw, 30px); }
.badge { display: inline-block; align-self: flex-start; padding: 4px 10px; background: rgba(227, 174, 126, .22); color: #8a5a2e; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge-outline { background: transparent; border: 1px solid var(--peach); }
.badge-on-dark { margin-top: 24px; background: rgba(227, 174, 126, .18); color: var(--peach); }
.insight-card .meta { order: -1; color: var(--blue); }
.insight-card h3 { margin-top: 12px; }
.case-file { display: grid; gap: 36px; }
.case-file h2 { margin-bottom: 12px; font-size: clamp(26px, 2.4vw, 34px); }
.case-file p { font-size: 17.5px; }
.numbered { display: grid; gap: 10px; padding-left: 22px; font-size: 17px; }
.numbered li::marker { color: var(--blue); font-weight: 700; }
.case-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-box { padding: 26px; border: 1px solid var(--line); background: #fff; }
.case-box.ok { border-top: 3px solid var(--ok); }
.case-box.limit { border-top: 3px solid var(--warn); }
.case-box h2 { font-size: 24px; }
.case-box p { font-size: 16px; }
.fineprint { margin-top: 32px; font-size: 14px; font-style: italic; }

/* ---------- Team (board-card style) ---------- */
.member-card { display: flex; flex-direction: column; height: 100%; padding: 22px 22px 26px; border: 1px solid #cfcfcf; background: #fff; text-decoration: none; transition: box-shadow .4s var(--ease), border-color .3s; }
.member-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.member-media { position: relative; display: block; width: min(100%, 230px); margin: 0 auto; }
.member-photo { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.08; background: radial-gradient(120% 90% at 30% 20%, #1d4a72 0%, var(--navy) 60%, var(--navy-deep) 100%); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.initials { display: grid; place-items: center; width: 100%; height: 100%; font: 600 64px/1 var(--font-d); color: var(--peach); letter-spacing: .02em; }
.photo-tab { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 45%); padding: 5px 16px; border-bottom: 2px solid var(--sky); background: #fff; color: var(--navy); font-size: 13.5px; white-space: nowrap; }
.member-body { display: flex; flex-direction: column; gap: 8px; padding-top: 30px; }
.member-body .badge { margin-bottom: 2px; }
.member-body strong { font: 600 22px/1.15 var(--font-d); color: var(--navy); letter-spacing: -.01em; }
.member-role { color: var(--blue); font: 400 15px/1.45 var(--font-d); }
.member-langs { padding-top: 12px; margin-top: 6px; border-top: 1px solid #cfcfcf; color: var(--sky); font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); align-items: start; }
.profile-photo { aspect-ratio: 1 / 1.08; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #1d4a72 0%, var(--navy) 60%, var(--navy-deep) 100%); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-facts { display: grid; gap: 14px; margin: 32px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.profile-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.profile-facts dt { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.profile-facts dd { margin: 0; }
.profile-facts a { color: var(--sky); }
.empty { font-size: 17px; }

/* ---------- Prose & detail layouts ---------- */
.prose { max-width: 72ch; font-size: 18px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 44px; font-size: clamp(28px, 2.6vw, 38px); }
.prose ul:not(.check-list) { display: grid; gap: 8px; padding-left: 22px; }
.prose blockquote { margin: 18px 0 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--peach); color: var(--navy); font: 400 italic 22px/1.5 var(--font-d); }
.prose a { color: var(--sky); }
.check-list { display: grid; gap: 12px; list-style: none; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 14px; height: 7px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg); }
.story-side .photo { margin-top: 32px; aspect-ratio: 3 / 2; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); }
.detail-grid, .article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 6vw, 84px); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 34px; overflow: hidden; }
.aside-card h2 { font-size: 30px; }
.aside-card p { margin: 14px 0 26px; }

/* ---------- About ---------- */
.approach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.approach li { padding: 30px 26px; border: 1px solid var(--peach-soft); background: #fff; }
.approach h3 { margin-top: 18px; }
.approach p { margin-top: 10px; font-size: 15.5px; }
.value { padding: 26px 0; border-top: 2px solid var(--navy); }
.value p { margin-top: 10px; font-size: 15.5px; }
.office-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.office-grid p { margin-top: 16px; font-size: 18px; }
.office-card { padding: 30px; border: 1px solid var(--line); background: #fff; }
.office-card h2 { margin-bottom: 16px; font-size: 30px; }
.contact-lines { display: grid; gap: 14px; margin: 0; }
.cl-row { display: grid; gap: 2px; }
.cl-row dt { color: var(--blue); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cl-row dd { margin: 0; color: var(--ink); }
.cl-row a { color: var(--sky); text-decoration: none; }
.cl-legal dd { font-weight: 700; }
.pending { font-style: italic; }

/* ---------- Investigations document ---------- */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(56px, 7vw, 100px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.toc h2 { margin-bottom: 16px; color: var(--blue); font: 700 13px/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase; }
.toc ol { display: grid; gap: 2px; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 8px 0 8px 16px; border-left: 2px solid transparent; color: var(--text); font-size: 15.5px; text-decoration: none; }
.toc a:hover { color: var(--navy); }
.toc a.is-active { border-left-color: var(--peach); color: var(--navy); font-weight: 700; }
.doc-section + .doc-section { margin-top: clamp(64px, 7vw, 100px); padding-top: clamp(48px, 5vw, 64px); border-top: 1px solid var(--line); }
.doc-section > h2 { margin-bottom: 22px; }
.note { padding: 18px 22px; border-left: 3px solid var(--peach); background: var(--paper); font-size: 16.5px; }
.home-resources { background: #061d30; background-image: repeating-radial-gradient(ellipse at 110% 30%, transparent 0, transparent 44px, rgba(125,170,198,.06) 45px, transparent 46px); }
.home-resources h2 { max-width: 1000px; }
.resources-lead { max-width: 820px; margin-top: 20px; color: #c5d2dd; }
.reference-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; list-style: none; margin: 36px 0 0; padding: 0; }
.reference-links li { display: flex; gap: 22px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.18); }
.reference-code { flex: 0 0 76px; align-self: flex-start; padding: 9px 5px; border: 1px solid #8395a4; color: #d3dbe2; text-align: center; font: 600 13px/1.4 var(--font-b); letter-spacing: .06em; }
.reference-links h3 { font: 600 18px/1.5 var(--font-b); }
.reference-links h3 a { color: #fff; text-decoration: none; text-underline-offset: 4px; }
.reference-links h3 a:hover { color: var(--sky); text-decoration: underline; }
.reference-links h3 .icon-ext { margin-left: 5px; }
.reference-links p { margin-top: 8px; color: #bacbd8; font-size: 15px; line-height: 1.7; }
.resources-tools { margin-top: 24px; }
.explorer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; padding: 0; margin: 20px 0 0; }
.explorer-links a { color: #d7e3ec; font-size: 14px; text-underline-offset: 4px; }
.explorer-links a:hover { color: var(--sky); }
.resources-note { margin-top: 24px; max-width: 1000px; color: #acbfce; font-size: 13px; line-height: 1.8; }
@media (max-width: 760px) {
  .reference-links { grid-template-columns: 1fr; }
  .reference-links li { gap: 16px; }
  .reference-code { flex-basis: 65px; font-size: 12px; }
}
.authorities { margin-top: 28px; list-style: none; }
.authority { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.authority h3 { font-size: 23px; }
.authority p { margin: 6px 0 8px; font-size: 16.5px; }
.hint { margin-top: 22px; font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); background: #fff; color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.chips a:hover { border-color: var(--sky); color: var(--sky); }
.procedure { display: grid; list-style: none; }
.procedure li { display: flex; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.procedure p { font-size: 17.5px; color: var(--ink); }
.regs { margin-top: 8px; }
.reg { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--peach-soft); background: #fff; }
.reg-ref { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.reg p { flex: 1; font-size: 15.5px; }
.callout { display: grid; gap: 14px; padding: 30px; background: var(--grey-grad); color: var(--ink); font-size: 17.5px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.prepare { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--peach-soft); background: #fff; }
.prepare h3 { margin-bottom: 18px; font-size: 28px; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(64px, 8vw, 104px) 0; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 64px; }
.cta-inner > div { max-width: 700px; }
.cta-inner p { margin-top: 14px; font-size: 18px; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.enquiry { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); background: #fff; }
.enquiry h2 { margin-bottom: 26px; font-size: 36px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 15px; font-weight: 600; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c7ccd2; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56, 168, 233, .18); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { margin-top: 6px; color: var(--danger); font-size: 14px; font-weight: 600; }
.field-check label { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; font-weight: 400; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.consent-link { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0 32px; color: var(--sky); font-size: 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; padding: 14px 16px; background: var(--paper); font-size: 14.5px; }
.form-note .icon { width: 20px; height: 20px; color: var(--blue); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 15.5px; font-weight: 600; }
.form-status.is-success { color: var(--ok); }
.form-status.is-error { color: var(--danger); }
.enquiry.is-sent .field, .enquiry.is-sent .field-row, .enquiry.is-sent .form-note, .enquiry.is-sent button, .enquiry.is-sent .consent-link { display: none; }
.enquiry.is-sent .form-status { padding: 20px; background: #e5f2ea; font-size: 17px; }
.contact-side { display: grid; gap: 24px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(56px, 7vw, 92px); background: var(--navy); color: #fff; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand p { max-width: 42ch; margin-top: 22px; color: #fff; font-weight: 600; }
.footer-col h2 { margin-bottom: 20px; color: var(--peach); font: 700 21px/1.1 var(--font-d); letter-spacing: -.01em; }
.footer-col ul { display: grid; gap: 10px; list-style: none; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.on-dark .cl-row dt { color: var(--peach); }
.on-dark .cl-row dd { color: #fff; }
.on-dark .cl-row a { color: #fff; }
.site-footer .pending { color: var(--on-dark-muted); }
.footer-bottom { padding-block: 28px 40px; border-top: 1px solid var(--on-dark-line); }
.footer-disclaimer { max-width: 110ch; color: var(--on-dark-muted); font-size: 13.5px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 18px; color: var(--on-dark-muted); font-size: 13.5px; }
.footer-langs { display: flex; gap: 16px; list-style: none; }
.footer-langs a { color: var(--sky); text-decoration: none; }
.footer-langs a[aria-current] { color: #fff; font-weight: 700; }

/* ---------- Motion ----------
   All motion is gated by the .js class (content stays visible without scripts) and switched off
   under prefers-reduced-motion. */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes word-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: scale(1.12) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Headings revealed word by word */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.words .w > span { display: inline-block; }
.js .words .w > span { animation: word-up 1.1s var(--ease) both; animation-delay: calc(.15s + var(--wd, 0s)); }
.words .w:nth-child(2) { --wd: .06s; } .words .w:nth-child(3) { --wd: .12s; } .words .w:nth-child(4) { --wd: .18s; }
.words .w:nth-child(5) { --wd: .24s; } .words .w:nth-child(6) { --wd: .3s; } .words .w:nth-child(7) { --wd: .36s; }
.words .w:nth-child(8) { --wd: .42s; } .words .w:nth-child(9) { --wd: .48s; } .words .w:nth-child(10) { --wd: .54s; }
.words .w:nth-child(n + 11) { --wd: .6s; }

/* Hero entrance */
.js .art-earth .art-img { animation: drift 24s cubic-bezier(.2, .6, .3, 1) both; }
.js .hero .eyebrow { animation: rise .9s var(--ease) .05s both; }
.js .hero .lead { animation: rise 1s var(--ease) .75s both; }
.js .hero .actions { animation: rise 1s var(--ease) .95s both; }
.js .site-header { animation: fade 1s ease .1s both; }
.js .page-hero .crumbs, .js .page-hero .eyebrow { animation: rise .8s var(--ease) both; }
.js .page-hero .lead, .js .page-hero .hero-icon, .js .page-hero .badge-on-dark, .js .page-hero .meta, .js .page-hero .actions { animation: rise .9s var(--ease) .45s both; }
.js .page-hero .art-img { animation: fade 1.4s ease both; }

/* Scroll reveal (classes and delays are added by site.js) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-photo { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1); }
.js .reveal-photo img { transform: scale(1.15); transition: transform 2.2s var(--ease); }
.js .reveal-photo.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-photo.is-in img { transform: none; }
.section-head h2::after, .doc-section > h2::after { content: ''; display: block; width: 64px; height: 2px; margin-top: 18px; background: var(--peach); transform-origin: left; }
.section-head h2::after { margin-inline: auto; transform-origin: center; }
.js .section-head h2::after, .js .doc-section > h2::after { transform: scaleX(0); transition: transform 1s var(--ease) .35s; }
.js .section-head.is-in h2::after, .js .doc-section > h2.is-in::after { transform: scaleX(1); }

/* Hover details */
.practice-card .card-icon { transition: transform .5s var(--ease), color .3s; }
.practice-card:hover .card-icon { transform: translateY(-4px); color: var(--sky); }
.member-photo { overflow: hidden; }
.member-photo img, .member-photo .initials { transition: transform .9s var(--ease); }
.member-card:hover .member-photo img, .member-card:hover .initials { transform: scale(1.05); }
.photo-tab { z-index: 1; transition: background .3s, color .3s; }
.member-card:hover .photo-tab { background: var(--navy); color: #fff; }
.button { position: relative; overflow: hidden; }
.button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.button:hover::after { transform: translateX(120%); }
.dark .button::after { background: linear-gradient(110deg, transparent 30%, rgba(35, 82, 124, .16) 50%, transparent 70%); }
.authority { transition: background .3s; }
.authority:hover { background: linear-gradient(90deg, rgba(227, 174, 126, .1), transparent 70%); }
.toc a { transition: color .25s, border-color .35s, background .25s; }
.lang[open] ul { animation: drop .25s var(--ease) both; }
.main-nav a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 1px; background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.main-nav a { position: relative; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }

/* Mobile drawer */
.js .drawer { opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .45s var(--ease); }
.js .drawer.is-open { opacity: 1; transform: none; }
.js .drawer.is-open li { animation: rise .6s var(--ease) both; }
.drawer li:nth-child(2) { animation-delay: .04s !important; } .drawer li:nth-child(3) { animation-delay: .08s !important; }
.drawer li:nth-child(4) { animation-delay: .12s !important; } .drawer li:nth-child(5) { animation-delay: .16s !important; }
.drawer li:nth-child(6) { animation-delay: .2s !important; } .drawer li:nth-child(7) { animation-delay: .24s !important; }

/* Form feedback */
.js .enquiry.is-sent .form-status { animation: rise .7s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-photo, .js .reveal-photo img { opacity: 1; transform: none; clip-path: none; }
  .js .words .w > span, .js .art-earth .art-img { animation: none; }
  .section-head h2::after, .doc-section > h2::after { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .grid-practice { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .intro-grid, .split, .office-grid { grid-template-columns: 1fr; }
  .intro-grid { margin-top: 36px; }
  .grid-4, .approach, .grid-practice-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { margin: 0; padding: 7px 13px; border: 1px solid var(--line); font-size: 14.5px; }
  .toc a.is-active { border-color: var(--peach); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--on-dark-line); }
  .never-wrap .never { grid-template-columns: 1fr; }
  .never-wrap .never ul { grid-column: 1; grid-row: auto; }
}
@media (max-width: 860px) {
  .detail-grid, .article-grid, .contact-grid, .profile-grid, .two-col { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .profile-photo { max-width: 320px; }
  .grid-practice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-title { text-align: left; margin-left: 0; }
  .intro-visual { padding-bottom: 0; }
  .intro-visual .photo { width: 100%; aspect-ratio: 4 / 3; }
  .intro-visual .focus-panel { position: relative; left: auto; width: auto; margin: -60px 16px 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .page-hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .intro-title { font-size: clamp(32px, 9vw, 40px); }
  body { font-size: 16px; }
  .wm-name { font-size: 21px; }
  .wm-tag { font-size: 9px; letter-spacing: .2em; }
  .grid-practice, .grid-practice-lg, .grid-2, .grid-3, .grid-4, .approach, .steps, .field-row, .case-split { grid-template-columns: 1fr; }
  .steps li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .practice-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .card { padding: 24px 20px; }
  .tech-block { flex-direction: column; }
  .authority { gap: 14px; }
  .profile-facts div { grid-template-columns: 1fr; gap: 2px; }
  .actions .button { width: 100%; justify-content: center; }
  .hero { min-height: 0; padding-bottom: 72px; }
  .art-earth { background-position: 0 0, 62% 100%, 0 0; }
}
@media (max-width: 380px) { .wm-tag { display: none; } }
