/* YHA shared offline typography system. Source Sans 3 is the primary family. */
@font-face {
  font-family: "YHA Source Sans 3";
  src: url("/assets/fonts/source-sans-3-variable.woff2") format("woff2"), url("/assets/fonts/source-sans-3-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "YHA Source Sans 3";
  src: url("/assets/fonts/source-sans-3-variable-italic.woff2") format("woff2"), url("/assets/fonts/source-sans-3-variable-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "YHA Lora";
  src: url("/assets/fonts/lora-700.woff2") format("woff2"), url("/assets/fonts/lora-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-primary: "YHA Source Sans 3", "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  --font-body: var(--font-primary);
  --font-display: var(--font-primary);
  --font-editorial: "YHA Lora", Georgia, "Times New Roman", serif;
  --type-page-title: clamp(3rem, 6vw, 4.5rem);
  --type-long-title: clamp(2.25rem, 4.2vw, 3.5rem);
  --type-section-title: clamp(2.125rem, 4vw, 3rem);
  --type-subsection-title: 1.375rem;
  --type-card-title: clamp(1.25rem, 1.8vw, 1.375rem);
  --type-intro: 1.125rem;
  --type-body: 1.0625rem;
  --type-compact: .9375rem;
  --type-meta: .75rem;
  --leading-display: 1.05;
  --leading-title: 1.15;
  --leading-body: 1.65;
  --leading-compact: 1.6;
}

html,
body,
button,
input,
select,
textarea { font-family: var(--font-body); }

body { font-size: var(--type-body); line-height: var(--leading-body); }

h1,
h2,
h3,
h4,
h5,
h6 { font-family: var(--font-display); font-weight: 600; }

h1 { font-size: var(--type-page-title); font-weight: 500; line-height: var(--leading-display); letter-spacing: -.035em; }
h2 { font-size: var(--type-section-title); font-weight: 500; line-height: var(--leading-title); letter-spacing: -.025em; }
h3 { font-size: var(--type-subsection-title); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; }

/* Shared header and utility text */
.site-header,
.primary-navigation,
.nav-submenu,
.mega-menu,
.tools-menu,
.language-selector,
.contact-button { font-family: var(--font-body); }

.site-header .primary-navigation a,
.site-header .primary-navigation button,
.site-header .nav-parent-row > a { font-size: .875rem; font-weight: 600; line-height: 1.25; letter-spacing: .01em; }

.eyebrow,
.section-kicker,
.shared-nav-kicker,
.practice-title-kicker,
.practice-card-number,
.team-profile-role,
.update-card time { font-family: var(--font-body); font-size: var(--type-meta); font-weight: 600; line-height: 1.4; }

/* Homepage */
.introduction-copy h2,
.section-heading h2,
.testimonials-intro h2,
.updates-heading h2 { font-family: var(--font-display); font-size: var(--type-section-title); font-weight: 500; line-height: var(--leading-title); letter-spacing: -.025em; }

.maritime-copy h1,
.practice-showcase-intro h2 { font-family: var(--font-display); font-weight: 500; }

.introduction-copy p { font-size: var(--type-body); line-height: 1.75; }
.introduction-quote strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.introduction-quote p { font-size: var(--type-compact); line-height: 1.6; }
.statement-band p,
.trust-statement p { font-family: var(--font-display); font-weight: 500; }

.practice-grid strong,
.practice-specialty strong,
.section-title-band h2,
.engagement-grid h3,
.person-card h3 { font-family: var(--font-display); font-weight: 600; }

.practice-grid strong { font-size: 1.25rem; line-height: 1.25; }
.engagement-grid h3 { font-size: 1.25rem; line-height: 1.3; }
.engagement-grid p { font-size: var(--type-compact); line-height: 1.65; }
.person-card h3 { font-size: var(--type-card-title); }
.person-card span { font-family: var(--font-body); font-size: var(--type-compact); font-style: normal; }

.testimonial-grid p { font-size: var(--type-body); line-height: 1.7; }
.testimonial-grid blockquote > span { font-family: var(--font-display); }
.testimonial-grid footer { font-family: var(--font-body); font-size: var(--type-compact); }
.update-card h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.update-card p { font-size: var(--type-compact); line-height: 1.65; }
.update-card > div > a,
.updates-heading > a { font-size: .875rem; font-weight: 600; }

/* Shared footer */
.site-footer,
.footer-grid,
.footer-bottom { font-family: var(--font-body); }

.footer-brand p,
.footer-grid a,
.footer-office p { font-size: .875rem; line-height: 1.6; }
.footer-grid h2 { font-family: var(--font-body); font-size: var(--type-meta); font-weight: 600; line-height: 1.4; }
.footer-bottom { font-size: .8125rem; line-height: 1.55; }

/* Generic content and Legal Updates */
.entry-content { font-family: var(--font-body); font-size: var(--type-body); line-height: var(--leading-body); }
.entry-content p,
.entry-content li { line-height: var(--leading-body); }
.entry-date,
.form-note { font-size: var(--type-meta); line-height: 1.5; }
.post-card h2 { font-family: var(--font-display); font-size: var(--type-card-title); font-weight: 600; line-height: 1.3; }
.read-more,
.entry-content .content-button,
.entry-content button,
.entry-content input[type="submit"] { font-size: .875rem; font-weight: 600; letter-spacing: .01em; }

/* Practice overview and individual practice pages */
.practice-overview-intro h2,
.practice-card strong,
.practice-navigation-title,
.entry-practice-pilot .practice-navigation-title { font-family: var(--font-display); font-weight: 600; }

.practice-overview-intro p { font-size: var(--type-intro); line-height: 1.7; }
.practice-card strong { font-size: var(--type-card-title); line-height: 1.25; }

.entry-practice-pilot .practice-article .practice-title-block h3 {
  font-family: var(--font-display);
  font-size: var(--type-long-title);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.entry-practice-pilot .practice-content-section h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.entry-practice-pilot .practice-content-section .practice-section-body li,
.entry-practice-pilot .practice-content-section .practice-section-body li::before,
.entry-practice-pilot .practice-article p,
.entry-practice-pilot .success-story-copy p {
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.7;
}

.entry-practice-pilot .practice-article .success-story-country {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

.entry-practice-pilot .practice-navigation-title { font-size: 1.5rem; line-height: 1.2; }
.entry-practice-pilot .practice-navigation a {
  font-family: var(--font-body);
  font-size: var(--type-compact);
  font-weight: 400;
  line-height: var(--leading-compact);
}
.entry-practice-pilot .practice-navigation a[aria-current="page"] { font-weight: 500; }

/* Team index and partner profiles */
.team-profile-card h2,
.profile-identity h1,
.profile-role,
.profile-expertise h2,
.profile-group-heading,
.profile-detail-section h2 { font-family: var(--font-display); font-weight: 600; }

.profile-identity h1 { font-size: var(--type-page-title); line-height: var(--leading-display); }
.profile-role { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; }
.profile-full-name,
.profile-qualifications,
.profile-expertise,
.profile-biography,
.profile-detail-section { font-family: var(--font-body); }
.profile-expertise li { font-size: var(--type-compact); line-height: var(--leading-compact); }
.profile-biography p { font-size: var(--type-intro); line-height: 1.75; }
.profile-biography .profile-lead { font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 500; line-height: 1.55; }
.profile-detail-section li { font-size: var(--type-compact); line-height: 1.65; }

/* Use predictable system CJK fallbacks while retaining the same semantic scale. */
html[lang="zh-TW"] {
  --font-display: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

@media (max-width: 820px) {
  :root {
    --type-page-title: clamp(2.5rem, 12vw, 3.5rem);
    --type-long-title: clamp(2.125rem, 9vw, 2.75rem);
    --type-section-title: clamp(2rem, 9vw, 2.75rem);
    --type-subsection-title: 1.375rem;
  }

  .practice-grid strong { font-size: 1.0625rem; }
  .profile-biography p { font-size: 1rem; line-height: 1.75; }
  .profile-biography .profile-lead { font-size: 1.375rem; line-height: 1.55; }
}

:root {
  --ink: #25232a;
  --muted: #696773;
  --paper: #f6f4f0;
  --white: #fff;
  --plum: #16002d;
  --plum-light: #371244;
  --navy: #222a38;
  --gold: #16002d;
  --accent-on-dark: #d9c7e2;
  --line: #e1ddd7;
  --green: #25d366;
  --shell: min(1180px, calc(100% - 48px));
  --shadow: 0 24px 70px rgba(24, 13, 30, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { color: inherit; font: inherit; }
.content-shell, .header-shell { width: var(--shell); margin-inline: auto; }
.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: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-150%); padding: 10px 16px; color: var(--white); background: var(--plum); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(22,0,45,.08); backdrop-filter: blur(14px); transition: background-color .2s ease,border-color .2s ease,box-shadow .2s ease; }
.site-header.is-scrolled { border-bottom-color: transparent; background: rgba(255,255,255,.985); box-shadow: 0 10px 30px rgba(22,0,45,.1); }
.header-shell { height: 86px; display: flex; align-items: center; gap: 32px; }
.brand { flex: 0 0 auto; }
.brand img { width: 265px; }
.primary-navigation { margin-left: auto; }
.primary-navigation > ul { list-style: none; display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; }
.primary-navigation > ul > li > a, .primary-navigation > ul > li > button, .nav-parent-row > a { position: relative; display: block; padding: 15px; border: 0; color: #54595f; background: transparent; font-family: var(--font-body); text-decoration: none; text-transform: capitalize; font-size: 16px; font-weight: 400; line-height: 16px; cursor: pointer; transition: color .18s ease,background-color .18s ease; }
.primary-navigation > ul > li > a::before,
.primary-navigation > ul > li > button::before,
.nav-parent-row > a::before { position: absolute; right: 15px; bottom: 7px; left: 15px; height: 2px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: left center; transition: transform .18s ease; }
.primary-navigation > ul > li > a:hover::before,
.primary-navigation > ul > li > button:hover::before,
.primary-navigation > ul > li > a:focus-visible::before,
.primary-navigation > ul > li > button:focus-visible::before,
.primary-navigation > ul > li > a.is-current::before,
.primary-navigation > ul > li > button.is-current::before,
.nav-parent-row > a:hover::before,
.nav-parent-row > a:focus-visible::before,
.nav-parent-row > a.is-current::before { transform: scaleX(1); }
.primary-navigation > ul > li > button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.primary-navigation > ul > li > a:hover, .primary-navigation > ul > li > button:hover, .nav-parent-row > a:hover { color: var(--plum); }
.primary-navigation > ul > li > a.is-current, .nav-parent-row > a.is-current { color: var(--plum); }
.primary-navigation > ul > li > a.is-current::after,
.nav-parent-row > a.is-current::after { display: none; }
.mobile-nav-contact { display: none; }
.nav-dropdown { position: relative; }
.nav-parent-row { display: flex; align-items: center; }
.nav-parent-row > a { padding-right: 5px; }
.nav-submenu-toggle { width: 28px; height: 46px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nav-submenu-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease,margin .18s ease; }
.nav-submenu { position: absolute; z-index: 103; top: 100%; left: 0; width: 330px; margin: 0; padding: 8px 22px 12px; border-top: 3px solid var(--gold); opacity: 0; visibility: hidden; list-style: none; background: var(--white); box-shadow: var(--shadow); transform: translateY(10px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-submenu-downloads { width: 370px; }
.nav-submenu a { display: block; padding: 15px 15px 15px 35px; border-bottom: 1px solid #eeeae5; color: #54595f; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 16px; text-transform: capitalize; text-decoration: none; transition: color .18s ease,background-color .18s ease,padding-left .18s ease; }
.nav-submenu li:last-child a { border-bottom: 0; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { padding-left: 39px; color: var(--plum); background: rgba(22,0,45,.08); }
.nav-dropdown.is-open > .nav-submenu { opacity: 1; visibility: visible; transform: none; }
.mega-menu, .tools-menu { position: absolute; top: 100%; left: 50%; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .18s ease, transform .18s ease, visibility .18s; background: var(--white); border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.nav-dropdown.is-open .mega-menu, .nav-dropdown.is-open .tools-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-menu { width: min(1010px, calc(100% - 48px)); display: grid; grid-template-columns: 280px 1fr; gap: 42px; padding: 34px; }
.mega-menu-intro { padding-right: 28px; border-right: 1px solid var(--line); }
.eyebrow, .section-kicker, .shared-nav-kicker { color: var(--plum); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mega-menu-intro strong { display: block; margin: 8px 0 22px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.24; }
.mega-menu-intro a { color: var(--plum); font-size: .8rem; font-weight: 800; text-decoration: none; }
.mega-menu > ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; padding: 0; }
.mega-menu > ul a { display: block; padding: 8px 0; border-bottom: 1px solid #eeeae5; text-decoration: none; font-size: .86rem; }
.tools-menu { width: 340px; margin-left: 130px; padding: 13px 25px 18px; }
.tools-menu a { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.tools-menu a:last-child { border-bottom: 0; }
.tools-menu strong { font-size: .86rem; }
.tools-menu span { color: var(--muted); font-size: .73rem; }
.header-actions { position: fixed; z-index: 120; bottom: 18px; left: 18px; display: flex; align-items: center; }
.mobile-language-actions { display: none; }
.language-selector { display: flex; padding: 3px; border: 1px solid #342d37; border-radius: 4px; background: #18141b; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.language-selector a { min-width: 31px; padding: 4px 6px; color: var(--muted); border-radius: 3px; text-align: center; text-decoration: none; font-size: .7rem; font-weight: 700; }
.language-selector a { color: #bdb6c1; }
.language-selector a[aria-current] { color: var(--white); background: #34263c; }
.contact-button { padding: 10px 17px; color: var(--white); background: var(--plum); border-radius: 3px; text-decoration: none; font-size: .8rem; font-weight: 800; }
.mobile-menu-toggle { display: none; border: 0; background: transparent; padding: 9px; }
.mobile-menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--plum); }
.menu-backdrop { display: none; }

.hero { position: relative; height: calc(100dvh - 86px); min-height: 0; overflow: hidden; background: #d5d1cd; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-background, .team-stage-bg { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 48%, rgba(3,20,31,.5) 0%, rgba(3,20,31,.3) 28%, rgba(3,20,31,.08) 66%), linear-gradient(90deg, rgba(3,20,31,.08), rgba(3,20,31,.22)); }
.slide-copy { position: absolute; z-index: 2; }
.maritime-copy { top: 50%; left: 50%; color: var(--white); text-align: center; transform: translate(-50%, -52%); }
.maritime-copy::before { content: ""; position: absolute; top: -115px; bottom: -115px; left: 50%; width: 1px; background: rgba(205,176,131,.58); z-index: -1; }
.maritime-copy span { display: block; color: var(--accent-on-dark); font-size: .66rem; text-transform: uppercase; letter-spacing: .13em; }
.maritime-copy h1 { margin: 5px 0 31px; font-family: Georgia, serif; font-size: clamp(2.5rem, 4vw, 4.15rem); font-weight: 400; line-height: 1.02; text-shadow: 0 3px 14px rgba(0,0,0,.32); }
.maritime-copy a, .practice-cloud a { display: inline-flex; padding: 14px 46px; color: var(--accent-on-dark); background: rgba(0,0,0,.72); border: 1px solid rgba(217,199,226,.34); text-decoration: none; font-size: .74rem; font-weight: 400; text-transform: uppercase; }
.maritime-copy a { position: absolute; top: calc(100% + 118px); left: 50%; white-space: nowrap; transform: translateX(-50%); }
.team-stage { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.team-stage-background { position: absolute; inset: 0; overflow: hidden; }
.team-stage-bg { position: absolute; inset: 0; }
.team-design { --scene-scale: 1.098; --scene-y: 42px; position: absolute; top: 50%; left: 50%; width: min(100cqw, calc(100cqh * 1.428571)); aspect-ratio: 1240 / 868; transform: translate(-50%,-50%) translateY(var(--scene-y)) scale(var(--scene-scale)); }
.team-group { position: absolute; top: 5.760%; left: 4.032%; width: 93.468%; height: 91.475%; }
.team-layer { position: absolute; top: var(--y); left: var(--x); z-index: var(--z); width: var(--w); height: var(--h); object-fit: contain; opacity: 0; transform: translate3d(var(--parallax-x,0px),var(--parallax-y,0px),0); transition: transform .18s ease-out, filter .18s ease; }
.team-layer.person {
  filter:
    brightness(var(--portrait-brightness,1))
    contrast(var(--portrait-contrast,1))
    saturate(var(--portrait-saturation,1))
    sepia(var(--portrait-warmth,0))
    hue-rotate(var(--portrait-hue,0deg))
    drop-shadow(0 4px 3px rgba(43,34,30,.14));
}
.team-layer.p-left { --portrait-brightness:.96; --portrait-contrast:1.04; --portrait-saturation:.9; --portrait-warmth:.025; --portrait-hue:-3deg; }
.team-layer.p-right { --portrait-brightness:1.035; --portrait-contrast:.96; --portrait-saturation:.82; --portrait-warmth:.012; --portrait-hue:-3deg; }
.team-layer.p-gni { --portrait-brightness:.98; --portrait-contrast:1.025; --portrait-saturation:.88; --portrait-warmth:.018; --portrait-hue:-2deg; }
.team-layer.p-wafa { --portrait-brightness:1.005; --portrait-contrast:.985; --portrait-saturation:.9; --portrait-warmth:.012; --portrait-hue:-2deg; }
.team-layer.p-vivian { --portrait-brightness:.925; --portrait-contrast:1.075; --portrait-saturation:.88; --portrait-warmth:.018; --portrait-hue:-2deg; }
.team-layer.p-yingrou { --portrait-brightness:.965; --portrait-contrast:1.025; --portrait-saturation:.84; --portrait-warmth:.012; --portrait-hue:-4deg; }
.team-layer.p-aswini { --portrait-brightness:1.015; --portrait-contrast:.97; --portrait-saturation:.84; --portrait-warmth:.01; --portrait-hue:-3deg; }
.team-layer.p-leonard { --portrait-brightness:1; --portrait-contrast:1.01; --portrait-saturation:.9; --portrait-warmth:.018; --portrait-hue:-2deg; }
.team-wordmark {
  border: 1px solid rgba(239,220,181,.72);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(255,255,255,.82), 0 6px 0 rgba(116,91,58,.18), 0 14px 28px rgba(48,34,25,.3), 0 0 18px rgba(255,235,205,.28);
  filter: drop-shadow(0 2px 1px rgba(45,34,28,.18));
}
.slide-team.is-active .team-layer { animation: team-layer-in var(--duration) cubic-bezier(.645,.045,.355,1) var(--delay) forwards; }
@keyframes team-layer-in { to { opacity: 1; } }

body.hero-editor-active .slide-team { visibility: visible !important; opacity: 1 !important; }
body.hero-editor-active .team-layer { cursor: grab; user-select: none; }
body.hero-editor-active .team-layer:active { cursor: grabbing; }
body.hero-editor-active .team-layer.is-editor-selected { filter: drop-shadow(0 0 6px #f3bd4e) drop-shadow(0 0 1px #2a0636); }
body.hero-editor-active .team-layer.person.is-editor-selected {
  filter:
    brightness(var(--portrait-brightness,1))
    contrast(var(--portrait-contrast,1))
    saturate(var(--portrait-saturation,1))
    sepia(var(--portrait-warmth,0))
    hue-rotate(var(--portrait-hue,0deg))
    drop-shadow(0 0 6px #f3bd4e)
    drop-shadow(0 0 1px #2a0636);
}
body.hero-preview-mobile .hero { width: 390px; height: 520px; min-height: 0; margin-inline: auto; box-shadow: 0 0 0 1px rgba(42,6,54,.2), 0 18px 45px rgba(42,6,54,.18); }
.hero-layout-editor { position: fixed; z-index: 1000; top: 0; right: 0; width: 320px; height: 100dvh; overflow: auto; padding: 18px; color: #f7f2f8; background: rgba(28,16,32,.97); box-shadow: -8px 0 28px rgba(0,0,0,.28); font: 13px/1.4 Arial,sans-serif; transition: transform .2s ease; }
.hero-layout-editor.is-collapsed { overflow: hidden; transform: translateX(276px); }
.hero-layout-editor.is-collapsed .hero-editor-content { visibility: hidden; }
.hero-editor-collapse { position: sticky; z-index: 2; top: 0; width: 36px !important; margin: 0 0 10px -8px; }
.hero-layout-editor h2 { margin: 0 0 6px; font: 600 20px/1.2 Georgia,serif; }
.hero-layout-editor p { margin: 0 0 15px; color: #cbbfce; }
.hero-editor-view { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.hero-editor-slides { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 14px; }
.hero-editor-slides button { min-height: 42px; font-size: 11px; }
.hero-layout-editor button, .hero-layout-editor select, .hero-layout-editor input { width: 100%; box-sizing: border-box; border: 1px solid #604e66; border-radius: 4px; color: #fff; background: #2b1b30; }
.hero-layout-editor button { min-height: 36px; padding: 7px 9px; cursor: pointer; }
.hero-layout-editor button.is-active { color: #241128; background: #f3bd4e; border-color: #f3bd4e; }
.hero-layout-editor select, .hero-layout-editor input { height: 36px; padding: 6px 8px; }
.hero-editor-layer-picker { display: grid; gap: 6px; margin-bottom: 15px; }
.hero-editor-scene { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; padding: 12px; border: 1px solid #604e66; border-radius: 5px; }
.hero-editor-scene legend { padding: 0 6px; color: #f3bd4e; }
.hero-editor-scene label { display: grid; gap: 4px; color: #d9cddd; }
.hero-editor-slide-height { grid-column: 1 / -1; }
.hero-editor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-editor-fields label { display: grid; gap: 4px; color: #d9cddd; }
.hero-editor-depth { grid-column: 1 / -1; }
.hero-editor-depth input[type="range"] { height: 28px; padding: 0; }
.hero-editor-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.hero-editor-actions .hero-editor-copy { grid-column: 1 / -1; }
.hero-editor-status { min-height: 20px; margin-top: 10px !important; color: #f3bd4e !important; }
.slide-practices { color: var(--white); background: radial-gradient(circle at 74% 47%, rgba(35,102,112,.48), transparent 34%), linear-gradient(125deg,#031724 0%,#092d39 56%,#120f1d 100%); }
.slide-practices::before,
.slide-practices::after { position: absolute; border: 1px solid rgba(211,184,134,.12); border-radius: 50%; content: ""; }
.slide-practices::before { width: min(70vw,900px); aspect-ratio: 1; top: 50%; right: -18%; transform: translateY(-50%); }
.slide-practices::after { width: min(45vw,580px); aspect-ratio: 1; top: 50%; right: -5%; transform: translateY(-50%); }
.practice-showcase { position: absolute; z-index: 2; inset: 0; display: grid; grid-template-columns: minmax(280px,.68fr) minmax(560px,1.32fr); gap: clamp(3rem,7vw,8rem); align-items: center; width: min(1180px,calc(100% - 48px)); margin: auto; padding: clamp(2rem,5vw,4.5rem) 0 78px; }
.practice-showcase-intro { max-width: 390px; }
.practice-showcase-intro > span { display: block; margin-bottom: .75rem; color: var(--accent-on-dark); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.practice-showcase-intro h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(3.1rem,5.3vw,5.6rem); font-weight: 400; letter-spacing: -.04em; line-height: .92; }
.practice-showcase-intro > a { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2.25rem; border-bottom: 1px solid rgba(217,199,226,.55); padding: 0 0 .55rem; color: var(--accent-on-dark); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.practice-showcase-intro > a i { font-style: normal; transition: transform .2s ease; }
.practice-showcase-intro > a:hover i,
.practice-showcase-intro > a:focus-visible i { transform: translate(3px,-3px); }
.practice-specialties { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.practice-specialty { display: grid; min-height: 74px; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); padding: .85rem; color: rgba(255,255,255,.84); text-decoration: none; opacity: 0; filter: blur(5px); transform: translateY(18px); }
.slide-practices.is-active .practice-specialty { animation: practice-area-reveal .65s cubic-bezier(.22,1,.36,1) calc(.28s + var(--reveal-index) * .13s) forwards; }
.practice-specialty span { color: var(--accent-on-dark); font-size: .63rem; font-weight: 800; letter-spacing: .08em; }
.practice-specialty strong { align-self: center; font-family: Georgia,serif; font-size: clamp(.92rem,1.35vw,1.15rem); font-weight: 400; line-height: 1.2; }
.practice-specialty:hover,
.practice-specialty:focus-visible { color: var(--white); background: rgba(255,255,255,.09); outline: 0; }
@keyframes practice-area-reveal { to { opacity: 1; filter: none; transform: none; } }

.slider-controls { position: absolute; z-index: 20; bottom: 22px; left: 50%; display: flex; align-items: center; gap: 5px; padding: 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background: rgba(20,15,23,.8); box-shadow: 0 12px 32px rgba(0,0,0,.18); backdrop-filter: blur(12px); transform: translateX(-50%); }
.slider-controls button { min-height: 44px; border: 0; border-radius: 2px; color: rgba(255,255,255,.8); background: transparent; cursor: pointer; transition: color .18s ease,background .18s ease,transform .18s ease; }
.slider-controls button:hover,
.slider-controls button:focus-visible { color: var(--white); background: rgba(255,255,255,.12); outline: 2px solid var(--gold); outline-offset: 1px; }
.slider-arrow { width: 44px; font-size: 1rem; }
.slider-dots { display: flex; gap: 4px; }
.slider-dots button { display: flex; min-width: 72px; align-items: center; gap: 7px; padding: 0 10px; font-size: .7rem; }
.slider-dots button span { color: var(--accent-on-dark); font-size: .58rem; font-weight: 800; }
.slider-dots button strong { font-weight: 500; }
.slider-dots button.is-active { color: var(--plum); background: var(--white); }
.slider-dots button.is-active span { color: var(--plum); }
.slider-pause { width: 44px; border-left: 1px solid rgba(255,255,255,.22) !important; font-size: .68rem; }

.section { padding: 100px 0; }
.introduction-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.introduction-copy h2, .section-heading h2, .testimonials-intro h2, .updates-heading h2 { margin: 9px 0 25px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.45rem, 4vw, 4rem); font-weight: 400; line-height: 1.05; }
.introduction-copy p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.9; }
.introduction-visual { position: relative; min-height: 520px; overflow: hidden; background: #ebe8e4; }
.introduction-visual > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 58% center; }
.introduction-quote { position: absolute; top: 28px; left: 28px; width: 225px; padding: 24px; color: var(--plum); background: rgba(255,255,255,.93); box-shadow: var(--shadow); }
.introduction-quote strong { display: block; font-family: Georgia, serif; font-size: 1.2rem; font-weight: 400; line-height: 1.17; }
.introduction-quote p { margin: 15px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.statement-band { padding: 42px 0; color: var(--white); background: var(--navy); }
.statement-band p { max-width: 1040px; margin: 0 auto; font-family: Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.12; text-align: center; }
.section-heading.centered { text-align: center; }
.heading-rule { display: block; width: 54px; height: 1px; margin: 0 auto 28px; background: var(--gold); }
.practices-section.section { padding: 72px 0 78px; }
.practice-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.practice-grid a { position: relative; min-height: 136px; display: flex; flex-direction: column; padding: 20px 22px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: .22s ease; }
.practice-grid a::before { content: ""; position: absolute; inset: 0; background: var(--plum); transform: translateY(101%); transition: transform .25s ease; }
.practice-grid a:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 15px 36px rgba(24,13,30,.14); }
.practice-grid a:hover::before { transform: none; }
.practice-grid span, .practice-grid strong, .practice-grid i { position: relative; z-index: 1; }
.practice-grid span { color: var(--gold); font-size: .7rem; font-weight: 800; }
.practice-grid strong { margin: auto 32px auto 0; padding-top: 13px; font-family: Georgia, serif; font-size: 1.27rem; font-weight: 400; line-height: 1.18; }
.practice-grid i { position: absolute; right: 20px; bottom: 19px; color: var(--gold); font-style: normal; opacity: .48; transition: opacity .2s ease, transform .2s ease; }
.practice-grid a:hover i { opacity: 1; transform: translate(2px,-2px); }
.section-title-band { padding: 36px 24px; color: var(--white); background: var(--navy); text-align: center; }
.section-title-band h2 { margin: 0; font-family: Georgia, serif; font-size: 2.3rem; font-weight: 400; }
.engagement-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; padding-top: 64px; padding-bottom: 74px; }
.engagement-grid article { min-height: 255px; padding: 8px 30px; border-right: 1px solid var(--line); }
.engagement-grid article:first-child { border-left: 1px solid var(--line); }
.engagement-grid span { color: var(--gold); font-size: .72rem; font-weight: 800; }
.engagement-grid h3 { min-height: 62px; margin: 42px 0 14px; font-family: Georgia, serif; font-size: 1.2rem; font-weight: 400; line-height: 1.2; }
.engagement-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.team-section { padding: 0 0 58px; background: #f2f0ec; }
.team-section-heading { padding: 47px 24px 92px; color: var(--white); background: var(--navy); }
.team-section-heading .section-heading h2 { margin: 0; }
.team-section-body { position: relative; }
.light-heading .section-kicker { color: var(--accent-on-dark); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: -54px; }
.person-card { overflow: hidden; color: var(--navy); background: var(--white); border: 1px solid rgba(34,42,56,.08); border-radius: 3px; box-shadow: 0 12px 32px rgba(25,31,42,.12); text-align: center; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.person-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(25,31,42,.18); }
.portrait { overflow: hidden; aspect-ratio: 3 / 2; background: #eeece9; }
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.person-card:hover img { transform: scale(1.025); }
.person-card-copy { position: relative; min-height: 108px; padding: 17px 42px 20px; border-top: 3px solid var(--navy); }
.person-card h3 { margin: 0; font-size: 1.42rem; font-weight: 700; line-height: 1.25; }
.person-card span { display: block; margin-top: 5px; color: var(--muted); font-family: Georgia, serif; font-size: .96rem; font-style: italic; }
.person-card i { position: absolute; right: 20px; top: 50%; color: var(--gold); font-size: .82rem; font-style: normal; transform: translateY(-50%); transition: transform .2s ease; }
.person-card:hover i { transform: translate(3px,-3px); }
.trust-statement { padding: clamp(48px,6vw,76px) 0; color: var(--white); background: var(--plum); text-align: center; }
.trust-statement p { max-width: 900px; margin: 0 auto; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.75rem,3.3vw,3rem); font-weight: 400; line-height: 1.18; text-wrap: balance; }
.testimonials-section { background: var(--white); }
.testimonials-intro { margin-bottom: 45px; text-align: center; }
.testimonials-intro .section-kicker { display: block; margin-bottom: 8px; color: var(--gold); }
.testimonials-intro h2 { margin: 0; text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: start; }
.testimonial-grid blockquote { position: relative; margin: 0; padding: 30px; background: var(--white); border-top: 3px solid var(--gold); }
.testimonial-grid blockquote > span { color: var(--gold); font-family: Georgia, serif; font-size: 3.2rem; line-height: .7; }
.testimonial-grid p { color: var(--muted); font-size: .83rem; line-height: 1.75; }
.testimonial-grid footer { padding-top: 15px; color: var(--ink); border-top: 1px solid var(--line); font-family: Georgia, serif; }
.updates-section { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg,#f8f6f2 0%,var(--paper) 100%); }
.updates-section::before { position: absolute; top: 0; left: 50%; width: min(1180px,calc(100% - 48px)); height: 3px; background: linear-gradient(90deg,var(--plum) 0 88px,transparent 88px); content: ""; transform: translateX(-50%); }
.updates-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.updates-heading .section-kicker { display: block; margin-bottom: 10px; }
.updates-heading h2 { margin: 0; }
.updates-heading > a { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 8px; border-bottom: 1px solid rgba(22,0,45,.32); padding-bottom: 5px; color: var(--plum); font-size: .78rem; font-weight: 800; text-decoration: none; }
.updates-heading > a span { transition: transform .2s ease; }
.updates-heading > a:hover span { transform: translate(3px,-3px); }
.updates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.update-card { overflow: hidden; border: 1px solid rgba(22,0,45,.1); border-radius: 3px; background: var(--white); box-shadow: 0 14px 38px rgba(24,13,30,.08); transition: transform .25s ease,box-shadow .25s ease; }
.update-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(24,13,30,.14); }
.update-image { display: grid; overflow: hidden; aspect-ratio: 1200 / 630; place-items: center; background: #f1eee8; }
.update-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: opacity .25s ease; }
.update-card:hover .update-image img { opacity: .96; }
.update-content { display: flex; min-height: 300px; flex-direction: column; padding: clamp(24px,3vw,32px); }
.update-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.update-meta span { color: var(--plum); }
.update-meta time { white-space: nowrap; }
.update-card h3 { margin: 18px 0 14px; font-family: Georgia,'Times New Roman',serif; font-size: clamp(1.35rem,2vw,1.72rem); font-weight: 400; line-height: 1.27; }
.update-card h3 a { text-decoration: none; }
.update-card h3 a:hover { color: var(--plum); }
.update-card p { display: -webkit-box; margin: 0 0 24px; overflow: hidden; color: #5d5b64; font-size: .88rem; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.update-read { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; color: var(--plum); font-size: .77rem; font-weight: 800; text-decoration: none; }
.update-read span { font-size: 1rem; transition: transform .2s ease; }
.update-read:hover span { transform: translate(3px,-3px); }
.site-footer { padding: 70px 0 0; color: #c7c1ca; background: #18141b; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .7fr .7fr 1.2fr; gap: 45px; }
.footer-brand img { width: 235px; opacity: .92; }
.footer-brand p { color: #a29aa6; font-size: .82rem; line-height: 1.65; }
.footer-grid h2 { margin: 0 0 17px; color: var(--white); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 8px 0; color: #bbb4be; text-decoration: none; font-size: .875rem; line-height: 1.55; }
.footer-office p { color: #b0a8b2; font-size: .875rem; line-height: 1.7; }
.footer-office p a { display: inline; }
.footer-bottom { margin-top: 55px; padding: 22px 0; color: #97909a; border-top: 1px solid #322b35; font-size: .8125rem; line-height: 1.55; }
.whatsapp-button { position: fixed; z-index: 90; right: 24px; bottom: 24px; height: 56px; display: flex; align-items: center; gap: 0; padding: 0 17px; color: var(--white); background: var(--green); border-radius: 28px; box-shadow: 0 12px 34px rgba(18,117,58,.28); text-decoration: none; overflow: hidden; }
.whatsapp-button svg { width: 27px; height: 27px; fill: currentColor; flex: 0 0 auto; }
.whatsapp-button span { width: 0; margin-left: 0; overflow: hidden; white-space: nowrap; font-size: .8rem; font-weight: 800; transition: width .25s ease, margin .25s ease; }
.whatsapp-button:hover span, .whatsapp-button:focus span { width: 92px; margin-left: 9px; }

@media (max-width: 1080px) {
  body.menu-open { overflow-x: clip; overflow-y: visible; overscroll-behavior: none; }
  .header-shell { height: 76px; }
  .brand img { width: 225px; }
  .mobile-menu-toggle { position: relative; z-index: 112; width: 46px; height: 46px; display: block; flex: 0 0 46px; order: 3; margin-left: auto; border: 1px solid transparent; border-radius: 3px; cursor: pointer; touch-action: manipulation; }
  .mobile-menu-toggle > span:not(.sr-only) { position: absolute; left: 10px; width: 25px; margin: 0; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
  .mobile-menu-toggle > span:nth-of-type(2) { top: 14px; }
  .mobile-menu-toggle > span:nth-of-type(3) { top: 21px; }
  .mobile-menu-toggle > span:nth-of-type(4) { top: 28px; }
  .site-header.menu-open .mobile-menu-toggle { border-color: var(--gold); }
  .site-header.menu-open .mobile-menu-toggle > span:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
  .site-header.menu-open .mobile-menu-toggle > span:nth-of-type(3) { opacity: 0; }
  .site-header.menu-open .mobile-menu-toggle > span:nth-of-type(4) { top: 21px; transform: rotate(-45deg); }
  .primary-navigation { position: absolute; z-index: 111; top: 100%; right: 0; width: min(430px,100vw); height: calc(100vh - 76px); height: calc(100svh - 76px); margin: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--white); box-shadow: var(--shadow); visibility: hidden; pointer-events: none; transform: translateX(105%); transition: transform .25s ease, visibility .25s ease; order: 4; -webkit-overflow-scrolling: touch; }
  .site-header.menu-open .primary-navigation { visibility: visible; pointer-events: auto; transform: none; }
  .menu-backdrop { position: fixed; z-index: 110; inset: 76px 0 0; width: 100%; height: calc(100vh - 76px); height: calc(100svh - 76px); padding: 0; border: 0; background: rgba(20,14,23,.48); opacity: 0; visibility: hidden; pointer-events: none; touch-action: none; transition: opacity .2s ease, visibility .2s ease; cursor: pointer; }
  .site-header.menu-open .menu-backdrop { display: block; opacity: 1; visibility: visible; pointer-events: auto; }
  .primary-navigation > ul { display: block; padding: 18px 24px 40px; }
  .primary-navigation > ul > li > a, .primary-navigation > ul > li > button, .nav-parent-row > a { width: 100%; padding: 16px 6px; text-align: left; border-bottom: 1px solid var(--line); }
  .primary-navigation > ul > li > button { display: flex; justify-content: space-between; }
  .nav-parent-row { width: 100%; }
  .nav-parent-row > a { flex: 1; }
  .nav-submenu-toggle { width: 46px; height: 49px; flex: 0 0 46px; border-bottom: 1px solid var(--line); }
  .nav-submenu { position: static; display: none; width: 100%; margin: 0; padding: 8px 14px 16px; border: 0; opacity: 1; visibility: visible; box-shadow: none; transform: none; }
  .nav-submenu a { padding: 15px 8px; }
  .nav-dropdown.is-open > .nav-submenu { display: block; }
  .mega-menu, .tools-menu { position: static; width: 100%; display: none; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 12px 6px 20px; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
  .nav-dropdown.is-open .mega-menu, .nav-dropdown.is-open .tools-menu { display: grid; transform: none; }
  .mega-menu-intro { display: none; }
  .mega-menu > ul { grid-template-columns: 1fr; }
  .tools-menu a { padding: 11px 0; }
  .introduction-grid { gap: 45px; }
  .engagement-grid { grid-template-columns: 1fr 1fr; padding-bottom: 64px; }
  .engagement-grid article:nth-child(3) { border-left: 1px solid var(--line); }
  .engagement-grid article { margin-bottom: 35px; }
  .update-card { grid-template-columns: 1fr; }
  .update-image { height: 240px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 30px,1180px); }
  .header-shell { gap: 12px; }
  .brand img { width: 188px; }
  .contact-button { display: none; }
  .mobile-nav-contact { display: block; }
  .mobile-nav-contact a { margin-top: 14px; justify-content: center !important; color: var(--white) !important; background: var(--plum); border-radius: 3px; text-align: center !important; }
  .language-selector a { min-width: 29px; padding-inline: 4px; }
  .team-design { --scene-scale: 1; --scene-y: 0px; }
  .team-stage-bg { inset: 0; height: 100%; }
  .team-wordmark { --x:12% !important; --w:76% !important; --h:18.9% !important; margin-top: -12cqh; }
  .slide-maritime .slide-background { object-position: 72% center; }
  .maritime-copy { width: calc(100% - 50px); }
  .maritime-copy h1 { font-size: 2.7rem; }
  .practice-showcase { grid-template-columns: minmax(0,1fr); gap: 1.5rem; align-content: center; width: min(100% - 30px,680px); padding: 1.5rem 0 76px; }
  .practice-showcase-intro { max-width: none; }
  .practice-showcase-intro h2 { font-size: clamp(2.7rem,10vw,4.2rem); }
  .practice-showcase-intro > span { margin-bottom: .35rem; }
  .practice-showcase-intro > a { margin-top: 1.1rem; }
  .practice-specialties { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .practice-specialty { min-height: 58px; padding: .65rem .7rem; }
  .practice-specialty strong { font-size: clamp(.72rem,2.5vw,.92rem); }
  .slider-controls { bottom: 15px; }
  .section { padding: 72px 0; }
  .introduction-grid { grid-template-columns: 1fr; }
  .introduction-visual, .introduction-visual > img { min-height: 480px; }
  .statement-band { padding: 32px 0; }
  .statement-band p { font-size: 1.65rem; }
  .practices-section.section { padding: 56px 0 62px; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .practice-grid a { min-height: 112px; padding: 15px 16px; }
  .practice-grid strong { margin-right: 22px; padding-top: 10px; font-size: 1.05rem; }
  .practice-grid i { right: 14px; bottom: 14px; }
  .engagement-grid { grid-template-columns: 1fr; padding-top: 45px; }
  .engagement-grid article, .engagement-grid article:nth-child(3) { min-height: 0; margin: 0; padding: 27px 20px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .engagement-grid h3 { min-height: 0; margin: 15px 0 10px; }
  .team-grid, .testimonial-grid, .updates-grid { grid-template-columns: 1fr; }
  .team-section { padding-bottom: 44px; }
  .team-section-heading { padding: 38px 20px 74px; }
  .team-grid { gap: 18px; margin-top: -42px; }
  .trust-statement { padding: 42px 20px; }
  .testimonials-intro { margin-bottom: 32px; }
  .updates-heading { align-items: flex-start; flex-direction: column; }
  .updates-heading > a { margin-bottom: 0; }
  .update-content { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-office { grid-column: 1 / -1; }
  .whatsapp-button { right: 14px; bottom: 14px; height: 50px; padding-inline: 14px; }
  .whatsapp-button svg { width: 24px; height: 24px; }
}

body.hero-preview-desktop .team-design { --scene-scale: 1.098; --scene-y: 42px; }
body.hero-preview-mobile .team-design { --scene-scale: 1; --scene-y: 0px; }

@media (max-width: 700px) {
  .hero-layout-editor { top: auto; bottom: 0; width: 100%; height: 300px; }
  .hero-layout-editor.is-collapsed { transform: translateY(256px); }
}

@media (max-width: 440px) {
  .brand img { width: 164px; }
  .language-selector a { min-width: 27px; }
  .practice-showcase { gap: 1rem; width: calc(100% - 24px); padding-bottom: 70px; }
  .practice-showcase-intro h2 { font-size: 2.65rem; }
  .practice-specialty { min-height: 52px; gap: .45rem; padding: .5rem; }
  .practice-specialty strong { font-size: .7rem; }
  .slider-controls { bottom: 10px; }
  .slider-dots button { min-width: 44px; justify-content: center; padding: 0 7px; }
  .slider-dots button strong { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-office { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .team-layer { opacity: 1; animation-delay: 0ms !important; }
  .slide-practices.is-active .practice-specialty { opacity: 1; filter: none; transform: none; animation: none; }
}

@media (min-width: 1081px) {
  .site-header .header-shell { display: grid; height: auto; grid-template-columns: auto 1fr; grid-template-areas: "brand utilities" "navigation navigation"; gap: 0 36px; }
  .site-header .brand { grid-area: brand; padding: 14px 0; }
  .site-header .brand img { width: 250px; }
  .site-header .header-actions { position: static; grid-area: utilities; align-self: center; justify-self: end; }
  .site-header .language-selector { border-color: var(--line); background: var(--white); box-shadow: none; }
  .site-header .language-selector a { color: var(--muted); }
  .site-header .language-selector a[aria-current] { color: var(--white); background: var(--plum); }
  .site-header .primary-navigation { grid-area: navigation; width: 100%; margin: 0; border-top: 1px solid var(--line); }
  .site-header .primary-navigation > ul { width: 100%; }
  .site-header .primary-navigation > ul > li > a,
  .site-header .primary-navigation > ul > li > button,
  .site-header .nav-parent-row > a { padding: 17px 18px; line-height: 20px; }
  .site-header .nav-parent-row > a { padding-right: 5px; }
  .site-header .nav-submenu-toggle { height: 54px; }
  .site-header .nav-submenu-toggle[aria-expanded="true"]::after,
  .site-header .nav-parent-button[aria-expanded="true"]::after { margin-bottom: 0; transform: rotate(225deg); }
  .site-header .primary-navigation > ul > li:last-child { margin-left: auto; }
  .site-header .primary-navigation > ul > li:last-child > a { color: var(--plum); font-weight: 500; }
  .site-header .nav-submenu { top: calc(100% + 1px); }
  .site-header .nav-submenu-downloads { right: 0; left: auto; }
  .hero { height: calc(100dvh - 137px); }
}

@media (max-width: 1080px) {
  .site-header .header-actions { display: none; }
  .site-header .mobile-language-actions { display: flex; padding: 18px 24px 34px; }
  .site-header .mobile-language-actions .language-selector { gap: 4px; padding: 4px; }
  .site-header .mobile-language-actions .language-selector a { display: inline-flex; min-width: 48px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 10px; font-size: .82rem; }
  .hero { height: calc(100vh - 76px); height: calc(100svh - 76px); }
}

.site-header .nav-submenu-toggle[aria-expanded="true"]::after,
.site-header .nav-parent-button[aria-expanded="true"]::after { margin-bottom: 0; transform: rotate(225deg); }
.site-header .primary-navigation a:focus-visible,
.site-header .primary-navigation button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

@media (min-width: 1081px) {
  .site-header .nav-dropdown:hover > .nav-submenu,
  .site-header .nav-dropdown:focus-within > .nav-submenu { opacity: 1; visibility: visible; transform: none; }
  .site-header .nav-dropdown:hover > .mega-menu,
  .site-header .nav-dropdown:focus-within > .mega-menu,
  .site-header .nav-dropdown:hover > .tools-menu,
  .site-header .nav-dropdown:focus-within > .tools-menu { opacity: 1; visibility: visible; transform: translate(-50%,0); }
  .site-header .nav-dropdown:hover > .nav-parent-button::after,
  .site-header .nav-dropdown:focus-within > .nav-parent-button::after,
  .site-header .nav-dropdown:hover > .nav-parent-row .nav-submenu-toggle::after,
  .site-header .nav-dropdown:focus-within > .nav-parent-row .nav-submenu-toggle::after { margin-bottom: 0; transform: rotate(225deg); }
  .site-header .primary-navigation > ul > li > a,
  .site-header .primary-navigation > ul > li > button,
  .site-header .nav-parent-row { border-radius: 3px; }
  .site-header .primary-navigation > ul > li:not(:last-child):hover > a,
  .site-header .primary-navigation > ul > li:not(:last-child):focus-within > a,
  .site-header .primary-navigation > ul > li:not(:last-child):hover > button,
  .site-header .primary-navigation > ul > li:not(:last-child):focus-within > button,
  .site-header .nav-dropdown:hover > .nav-parent-row,
  .site-header .nav-dropdown:focus-within > .nav-parent-row,
  .site-header .nav-dropdown.is-open > .nav-parent-row { color: var(--plum); background: rgba(22,0,45,.1); }
  .site-header .primary-navigation > ul > li:last-child > a { border: 1px solid transparent; border-radius: 3px; transition: color .18s ease,background-color .18s ease,box-shadow .18s ease; }
  .site-header .primary-navigation > ul > li:last-child > a::before { display: none; }
  .site-header .primary-navigation > ul > li:last-child > a:hover,
  .site-header .primary-navigation > ul > li:last-child > a:focus-visible { color: var(--white); background: var(--plum); box-shadow: 0 8px 20px rgba(22,0,45,.16); }
}

@media (max-width: 1080px) {
  .site-header .primary-navigation > ul > li > a::before,
  .site-header .primary-navigation > ul > li > button::before,
  .site-header .nav-parent-row > a::before { display: none; }
  .site-header .primary-navigation > ul > li > a:active,
  .site-header .primary-navigation > ul > li > button:active,
  .site-header .nav-parent-row > a:active { color: var(--plum); background: rgba(22,0,45,.1); }
}
