/*
Theme Name: Baltentra Legal
Author: Baltentra Legal
Description: Editorial multi-page WordPress theme for Baltentra Legal's regulated-business, external legal-team and Baltic market-entry services.
Version: 7.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: baltentra-legal
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --navy: #0e2233;
  --navy-2: #132e40;
  --navy-3: #081824;
  --teal: #1e6f73;
  --teal-dark: #16585c;
  --teal-soft: #d0e5e0;
  --ivory: #f7f5f0;
  --paper: #fcfbf8;
  --white: #ffffff;
  --mist: #dbe6e4;
  --brass: #b68a4a;
  --brass-light: #d2ae75;
  --slate: #52606d;
  --ink: #17232c;
  --muted: #687781;
  --line: #d9dedb;
  --line-dark: rgba(255,255,255,.16);
  --max: 1280px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 24px 70px rgba(14,34,51,.14);
  --shadow-soft: 0 12px 38px rgba(14,34,51,.08);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body,
body.custom-background {
  margin: 0;
  background: var(--ivory) !important;
  background-image: none !important;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--teal); color: var(--white); }

.container {
  width: min(calc(100% - 56px), var(--max));
  margin-inline: auto;
}
.section { position: relative; padding: 112px 0; }
.section-tight { padding: 72px 0; }
.section-border { border-top: 1px solid var(--line); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 450px);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading.center {
  display: block;
  max-width: 820px;
  margin: 0 auto 58px;
  text-align: center;
}
.section-heading.center .eyebrow { justify-content: center; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.07; }
h1 { font-size: clamp(46px, 5.6vw, 78px); letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -.038em; }
h3 { margin-bottom: 14px; font-size: 28px; letter-spacing: -.025em; }
.lead { color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--brass);
  color: var(--navy);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255,255,255,.11);
  background: rgba(14,34,51,.97);
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-color: rgba(255,255,255,.1);
  background: rgba(8,24,36,.95);
  box-shadow: 0 10px 34px rgba(8,24,36,.18);
  backdrop-filter: blur(16px);
}
body.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 188px; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: 24px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 14px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.56); font-size: 7px; letter-spacing: .2em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 22px; }
.desktop-nav a { position: relative; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--brass-light); }
.desktop-nav a.is-active::after { content: ''; position: absolute; right: 0; bottom: -15px; left: 0; height: 1px; background: var(--brass); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { display: flex; align-items: center; gap: 2px; border-left: 1px solid rgba(255,255,255,.16); padding-left: 10px; }
.lang-button { width: 30px; height: 28px; border: 0; background: transparent; color: rgba(255,255,255,.48); font-size: 10px; font-weight: 800; }
.lang-button.is-active { color: var(--brass-light); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-accent { background: var(--teal); color: var(--white); box-shadow: 0 12px 28px rgba(30,111,115,.18); }
.button-accent:hover { background: var(--teal-dark); box-shadow: 0 16px 36px rgba(30,111,115,.24); }
.button-outline { border-color: var(--brass); background: transparent; color: inherit; }
.button-outline:hover { background: var(--brass); color: var(--navy); }
.button-small { min-height: 40px; padding: 0 16px; }
.desktop-cta { background: transparent; border-color: var(--brass); color: var(--white); box-shadow: none; }
.desktop-cta:hover { background: var(--brass); color: var(--navy); }
.menu-button { display: none; width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.22); background: transparent; }
.menu-button span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--white); }
.mobile-panel { display: none; }
.mobile-language { display: none; }

/* Homepage editorial hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 118px 0 0;
  background: linear-gradient(90deg, var(--navy) 0 61.5%, var(--ivory) 61.5% 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 78px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.09) 0 61.5%, rgba(14,34,51,.08) 61.5% 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
  min-height: 642px;
  align-items: stretch;
}
.hero-main {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  padding-right: 54px;
  color: var(--white);
}
.hero-main::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0 47%, rgba(14,34,51,.94) 62%, rgba(14,34,51,.18) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  max-width: 675px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 58px 22% 44px 0;
  color: var(--white);
}
.hero .eyebrow { color: var(--brass-light); }
.hero h1 { max-width: 660px; margin-bottom: 24px; color: var(--white); font-size: clamp(48px, 5.1vw, 72px); }
.hero-lead { max-width: 600px; margin-bottom: 32px; color: rgba(255,255,255,.74); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero .button-outline { color: var(--white); }
.hero-proof {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 100px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(8,24,36,.76);
  backdrop-filter: blur(8px);
}
.hero-proof > div { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 19px 19px 19px 0; }
.hero-proof > div + div { padding-left: 19px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-proof strong { display: block; margin-bottom: 5px; color: var(--white); font-size: 11px; letter-spacing: .025em; }
.hero-proof span { color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.45; }
.hero-architecture {
  position: absolute;
  z-index: 0;
  right: -48px;
  bottom: -8px;
  width: min(62%, 580px);
  height: 595px;
  opacity: .9;
  pointer-events: none;
}
.hero-architecture svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 34px 34px rgba(4,16,25,.28)); }
.hero-expertise {
  position: relative;
  z-index: 4;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 52px 0 54px 58px;
  color: var(--ink);
}
.hero-expertise .eyebrow { margin-bottom: 14px; color: var(--teal); }
.hero-expertise h2 { max-width: 480px; margin-bottom: 26px; font-size: clamp(31px, 3vw, 43px); }
.expertise-list { border-top: 1px solid var(--line); }
.expertise-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  gap: 15px;
  align-items: center;
  min-height: 90px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease;
}
.expertise-row:hover { transform: translateX(5px); }
.expertise-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--teal); color: var(--teal); font-family: var(--serif); font-size: 15px; }
.expertise-copy { display: grid; gap: 5px; min-width: 0; }
.expertise-copy strong { color: var(--ink); font-size: 14px; line-height: 1.25; }
.expertise-copy small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.expertise-arrow { color: var(--teal); font-size: 18px; text-align: right; }
.hero-expertise-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 23px; }
.hero-expertise-foot p { max-width: 280px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }


.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { display: flex; min-height: 88px; align-items: center; gap: 14px; padding: 20px 24px; color: var(--slate); font-size: 12px; font-weight: 700; letter-spacing: .035em; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-icon { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--teal); color: var(--teal); font-family: var(--serif); }

/* Homepage sections */
.services { background: var(--ivory); }
.service-core-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.core-card { position: relative; min-height: 520px; padding: 42px 38px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.core-card::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--brass)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.core-card:hover::after { transform: scaleX(1); }
.core-icon { display: grid; width: 46px; height: 46px; margin-bottom: 30px; place-items: center; border: 1px solid var(--teal); color: var(--teal); font-size: 21px; }
.core-card h3 { font-size: 31px; }
.core-card p { color: var(--muted); }
.check-list { margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 10px 0; padding-left: 21px; color: var(--slate); font-size: 14px; }
.check-list li::before { content: '—'; position: absolute; left: 0; color: var(--brass); }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 25px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.coverage-insights { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 540px; }
.coverage-panel { position: relative; overflow: hidden; padding: 76px max(48px, calc((100vw - var(--max))/2)); background: var(--mist); }
.coverage-panel .section-heading { display: block; max-width: 560px; margin-bottom: 20px; }
.coverage-panel h2 { font-size: 47px; }
.coverage-map-wrap { position: relative; min-height: 300px; margin-top: 12px; }
.coverage-map-wrap .baltic-map { position: absolute; inset: -110px -40px -70px 8%; width: 92%; height: 540px; opacity: .92; }
.coverage-map-wrap .map-country--neighbour { fill: rgba(255,255,255,.24); stroke: rgba(14,34,51,.12); }
.coverage-map-wrap .map-country--baltic { fill: rgba(30,111,115,.22); stroke: var(--teal); }
.coverage-map-wrap .map-grid-lines path { stroke: rgba(14,34,51,.04); }
.coverage-map-wrap .map-country-label--neighbour { fill: rgba(14,34,51,.32); }
.coverage-map-wrap .map-country-label--baltic { fill: var(--navy); }
.coverage-map-wrap .map-location-glow { fill: rgba(182,138,74,.2); }
.coverage-map-wrap .map-location-ring { fill: none; stroke: var(--brass); }
.coverage-map-wrap .map-location-node { fill: var(--teal); }
.coverage-map-wrap .map-location-line { stroke: var(--teal); }
.coverage-note { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 10px; margin-top: 250px; padding: 12px 15px; border: 1px solid rgba(14,34,51,.18); background: rgba(247,245,240,.66); color: var(--navy); font-size: 11px; font-weight: 700; }
.insights-panel { display: flex; flex-direction: column; padding: 76px max(48px, calc((100vw - var(--max))/2)) 62px 62px; background: var(--navy); color: var(--white); }
.insights-panel .eyebrow { color: var(--brass-light); }
.insights-panel h2 { font-size: 47px; color: var(--white); }
.insights-panel .lead { color: rgba(255,255,255,.64); }
.insights-list { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.insights-list article { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.insights-list .post-date { color: var(--brass-light); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.insights-list h3 { margin: 0; color: var(--white); font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.4; }
.insights-list a { color: var(--brass-light); }

.how { background: var(--mist); }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(14,34,51,.16); border-left: 1px solid rgba(14,34,51,.16); }
.how-card { min-height: 290px; padding: 34px 29px; border-right: 1px solid rgba(14,34,51,.16); border-bottom: 1px solid rgba(14,34,51,.16); background: rgba(255,255,255,.25); }
.how-card .num { display: block; margin-bottom: 62px; color: var(--teal); font-family: var(--serif); font-size: 28px; }
.how-card h3 { font-size: 26px; }
.how-card p { color: var(--muted); font-size: 14px; }

.team { background: var(--paper); }
.team-grid { display: grid; gap: 26px; }
.team-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 360px; border: 1px solid var(--line); background: var(--white); }
.team-image { position: relative; overflow: hidden; min-height: 100%; background: var(--mist); }
.team-image::after { content: ''; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, rgba(14,34,51,.18)); }
.team-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.team-content { padding: 40px 35px; }
.team-content h3 { margin-bottom: 7px; font-size: 31px; }
.team-role { display: block; margin-bottom: 20px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.team-content p { color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { padding: 7px 9px; border: 1px solid var(--line); color: var(--slate); font-size: 10px; font-weight: 700; }

.recommendations { background: var(--navy); color: var(--white); }
.recommendations .eyebrow { color: var(--brass-light); }
.recommendations h2 { color: var(--white); }
.recommendations .lead { color: rgba(255,255,255,.62); }
.recommendations-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 64px; align-items: start; }
.recommendations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.17); border-left: 1px solid rgba(255,255,255,.17); }
.recommendation-card { min-height: 300px; padding: 34px; border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.025); }
.recommendation-quote { color: rgba(255,255,255,.82); font-family: var(--serif); font-size: 23px; line-height: 1.38; }
.recommendation-person { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.recommendation-initials { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--brass); color: var(--brass-light); font-family: var(--serif); }
.recommendation-person strong { display: block; font-size: 12px; }
.recommendation-person span { color: rgba(255,255,255,.48); font-size: 10px; }
.recommendations-note { display: flex; gap: 10px; margin-top: 20px; color: rgba(255,255,255,.48); font-size: 11px; }
.recommendations-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--brass-light); font-size: 12px; font-weight: 800; }
.linkedin-mark { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid currentColor; font-size: 10px; }
.recommendations .button-outline { color: var(--white); }

.insights-preview { background: var(--ivory); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.post-grid-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { min-height: 300px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.post-date { display: block; margin-bottom: 25px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { font-size: 26px; }
.post-card p { color: var(--muted); font-size: 14px; }
.post-card-empty { background: var(--mist); }
.section-footer-action { margin-top: 36px; text-align: right; }
.pagination { grid-column: 1 / -1; padding-top: 30px; }
.pagination .page-numbers { display: inline-grid; min-width: 38px; height: 38px; margin-right: 6px; place-items: center; border: 1px solid var(--line); }
.pagination .current { background: var(--teal); color: var(--white); }

.cta-section { background: var(--paper); }
.cta-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; padding: 58px 62px; border: 1px solid var(--line); background: linear-gradient(105deg, var(--mist), var(--ivory)); }
.cta-panel h2 { max-width: 820px; }

/* Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 164px 0 86px;
  background: var(--navy);
  color: var(--white);
}
.page-hero::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 43%; background: linear-gradient(135deg, rgba(30,111,115,.18), rgba(255,255,255,.03)); clip-path: polygon(22% 0,100% 0,100% 100%,0 100%); }
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); gap: 78px; align-items: center; }
.page-hero-copy { max-width: 790px; }
.page-hero .eyebrow { color: var(--brass-light); }
.page-hero h1 { color: var(--white); }
.page-hero .hero-lead { color: rgba(255,255,255,.68); }
.page-hero .button-outline { color: var(--white); }
.page-hero-aside { padding: 34px; border-top: 3px solid var(--brass); background: var(--ivory); color: var(--ink); box-shadow: var(--shadow); }
.page-hero-aside > span { display: block; margin-bottom: 18px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-hero-aside h3 { font-size: 29px; }
.page-hero-aside .check-list li { color: var(--slate); }

.service-core-grid, .regulated-grid, .expansion-grid-wrap, .capability-grid { position: relative; }
.regulated-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { min-height: 265px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.capability-card h3 { font-size: 25px; }
.capability-card p { color: var(--muted); font-size: 14px; }
.expansion { background: var(--mist); }
.expansion-intro { max-width: 800px; margin-bottom: 40px; }
.expansion-grid-wrap { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: 40px; align-items: start; }
.expansion-grid-wrap .map-stage { min-height: 480px; border: 1px solid rgba(14,34,51,.14); background: rgba(255,255,255,.2); }
.expansion-grid-wrap .baltic-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.engagement-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.engagement-card, .process-card { min-height: 270px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.engagement-card.featured { background: var(--navy); color: var(--white); }
.engagement-card.featured p { color: rgba(255,255,255,.62); }
.engagement-card p, .process-card p { color: var(--muted); font-size: 14px; }
.process-number { color: var(--teal); font-family: var(--serif); font-size: 30px; }
.process-steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 75px minmax(0, 1fr); gap: 25px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.process-line { color: var(--teal); font-family: var(--serif); font-size: 28px; }
.disclosure-band { background: var(--mist); }
.disclosure-panel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.disclosure-panel strong { color: var(--navy); font-family: var(--serif); font-size: 24px; }
.disclosure-panel p { margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 72px; align-items: start; }
.contact-copy { padding-top: 18px; }
.contact-points { display: grid; gap: 13px; margin-top: 34px; }
.contact-point { display: flex; gap: 12px; color: var(--slate); font-size: 14px; }
.contact-point b { color: var(--teal); }
.contact-form { padding: 38px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.expansion-fields { display: contents; }
.field label { color: var(--slate); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 0; background: var(--ivory); color: var(--ink); padding: 12px 14px; outline: none; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(30,111,115,.1); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 23px; }
.form-note { max-width: 480px; margin: 0; color: var(--muted); font-size: 11px; }

/* Legal / article pages */
.legal-page, .article-page { min-height: 75vh; padding: 148px 0 96px; background: var(--ivory); }
.legal-shell, .article-shell { max-width: 920px; }
.legal-back { display: inline-block; margin-bottom: 32px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.legal-header, .article-header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-header h1, .article-header h1 { color: var(--navy); }
.legal-content, .article-content { padding-top: 35px; font-size: 16px; }
.legal-content h2, .article-content h2 { margin-top: 48px; color: var(--navy); font-size: 34px; }
.legal-content h3, .article-content h3 { margin-top: 35px; color: var(--navy); font-size: 26px; }
.legal-content a, .article-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul, .article-content ul { padding-left: 23px; }
.legal-intro { color: var(--muted); font-size: 18px; }
.legal-updated, .article-meta { color: var(--muted); font-size: 12px; }
.article-image { margin: 42px 0; }

/* Footer */
.site-footer { padding: 68px 0 28px; background: var(--navy-3); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 60px; }
.footer-brand strong { display: block; margin-bottom: 16px; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.footer-brand > p { max-width: 500px; color: rgba(255,255,255,.58); font-size: 13px; }
.footer-company { color: rgba(255,255,255,.4) !important; font-size: 11px !important; }
.footer-link-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-links { display: grid; align-content: start; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: 11px; }
.footer-links a:hover { color: var(--brass-light); }
.footer-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.34); font-size: 10px; }

/* Legacy map primitives */
.map-stage { position: relative; }
.baltic-map { overflow: visible; }
.map-grid-lines path { fill: none; stroke-width: 1; }
.map-country { vector-effect: non-scaling-stroke; transition: fill .25s ease, stroke .25s ease, opacity .25s ease; }
.map-country--neighbour { fill: rgba(14,34,51,.04); stroke: rgba(14,34,51,.12); stroke-width: 1; }
.map-country--baltic { fill: rgba(30,111,115,.18); stroke: var(--teal); stroke-width: 1.4; }
.map-country-label { font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.map-country-label--neighbour { fill: rgba(14,34,51,.34); }
.map-country-label--baltic { fill: var(--navy); }
.map-location-glow { fill: rgba(182,138,74,.18); filter: url(#mapGlow); }
.map-location-ring { fill: none; stroke: var(--brass); stroke-width: 1.5; }
.map-location-node { fill: var(--teal); }
.map-location-line { stroke: var(--teal); stroke-width: 1; }
.map-caption { display: none; }

/* Reveal animation */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .68s ease, transform .68s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 1180px) {
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: 10px; }
  .brand { min-width: auto; }
  .brand-copy small { display: none; }
  .hero { background: linear-gradient(90deg, var(--navy) 0 59%, var(--ivory) 59% 100%); }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); }
  .hero-main { padding-right: 36px; }
  .hero-copy { padding-right: 18%; }
  .hero-expertise { padding-left: 42px; }
  .hero-architecture { right: -72px; width: 64%; opacity: .8; }
}

@media (max-width: 1020px) {
  body.admin-bar .site-header { top: 32px; }
  .desktop-nav, .desktop-cta { display: none; }
  .menu-button { display: block; }
  .mobile-panel {
    position: fixed;
    z-index: 999;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    gap: 28px;
    padding: 34px 28px;
    background: var(--navy-3);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  body.admin-bar .mobile-panel { top: 110px; }
  .mobile-panel.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .mobile-panel nav { display: grid; }
  .mobile-panel nav a { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--white); font-family: var(--serif); font-size: 25px; }
  .mobile-panel .button { width: 100%; }
  .hero { min-height: 0; padding-top: 116px; background: var(--navy); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-main { min-height: 610px; margin-inline: -28px; padding: 0 28px; }
  .hero-copy { max-width: 720px; padding: 62px 22% 42px 0; }
  .hero-main::after { background: linear-gradient(90deg, var(--navy) 0 52%, rgba(14,34,51,.95) 68%, rgba(14,34,51,.22) 100%); }
  .hero-architecture { right: -7%; bottom: 0; width: 58%; opacity: .44; }
  .hero-expertise { margin-inline: -28px; padding: 56px 28px; background: var(--ivory); }
  .service-core-grid, .regulated-grid, .post-grid, .post-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .core-card { min-height: auto; }
  .coverage-insights { grid-template-columns: 1fr; }
  .coverage-panel, .insights-panel { padding-inline: max(28px, calc((100vw - var(--max))/2)); }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { grid-template-columns: 180px minmax(0, 1fr); }
  .recommendations-layout, .contact-grid, .page-hero-grid, .expansion-grid-wrap { grid-template-columns: 1fr; }
  .page-hero-aside { max-width: 640px; }
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 38px; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  h2 { font-size: clamp(36px, 10vw, 48px); }
  .header-inner { min-height: 72px; }
  .site-header .brand-copy strong { font-size: 12px; }
  .brand-mark { width: 36px; height: 36px; }
  .language-switcher { display: none; }
  .mobile-language { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mobile-language .lang-button { width: 100%; height: 40px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.7); }
  .mobile-language .lang-button.is-active { border-color: var(--brass); color: var(--brass-light); }
  .mobile-panel { top: 72px; }
  .hero { min-height: 0; padding-top: 72px; }
  .hero-main { min-height: 0; margin-inline: -17px; padding: 0 17px; }
  .hero-copy { max-width: none; padding: 62px 0 44px; }
  .hero-main::after { background: linear-gradient(90deg, rgba(14,34,51,.99), rgba(14,34,51,.82)); }
  .hero-lead { font-size: 16px; }
  .hero-proof { grid-template-columns: 1fr; margin-inline: -17px; padding-inline: 17px; }
  .hero-proof > div { padding: 14px 0; }
  .hero-proof > div + div { padding-left: 0; border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .hero-architecture { right: -150px; width: 520px; height: 500px; opacity: .24; }
  .hero-expertise { margin-inline: -17px; padding: 50px 17px; }
  .expertise-row { grid-template-columns: 38px minmax(0,1fr) 20px; min-height: 82px; }
  .hero-expertise-foot { align-items: flex-start; flex-direction: column; }
  .proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item { min-height: 76px; padding: 16px; }
  .proof-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
  .service-core-grid, .regulated-grid, .post-grid, .post-grid-full, .how-grid, .team-grid-two, .recommendations-grid, .engagement-grid, .process-grid { grid-template-columns: 1fr; }
  .core-card, .capability-card, .post-card, .how-card, .recommendation-card { min-height: auto; }
  .coverage-panel, .insights-panel { padding: 68px 24px; }
  .coverage-map-wrap { min-height: 260px; }
  .coverage-map-wrap .baltic-map { inset: -115px -150px -60px -10px; width: 135%; }
  .coverage-note { margin-top: 220px; }
  .insights-list article { grid-template-columns: 1fr auto; }
  .insights-list .post-date { grid-column: 1 / -1; }
  .team-card { grid-template-columns: 1fr; }
  .team-image { min-height: 320px; }
  .recommendations-layout { gap: 42px; }
  .page-hero { padding: 132px 0 70px; }
  .page-hero::before { width: 70%; opacity: .55; }
  .contact-form { padding: 25px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .cta-panel { padding: 40px 28px; }
  .footer-grid, .footer-link-groups { grid-template-columns: 1fr; }
  .disclosure-panel { grid-template-columns: 1fr; gap: 15px; }
  .process-step { grid-template-columns: 50px minmax(0, 1fr); }
}

@media (max-width: 440px) {
  .proof-row { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-top: 1px solid var(--line); border-left: 0; }
  .hero-actions, .page-hero .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
}

/* Small template-specific refinements */
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-card .sub { margin: -5px 0 18px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.engagement-card { position: relative; }
.engagement-card .popular { position: absolute; top: 18px; right: 18px; padding: 6px 8px; border: 1px solid var(--brass); color: var(--brass-light); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.engagement-card.featured .check-list li { color: rgba(255,255,255,.7); }
.engagement-card.featured .card-link { color: var(--brass-light); }
.legal-support { background: var(--ivory); }
.regulated { background: var(--paper); }
.engagements { background: var(--ivory); }
@media (max-width: 1020px) { .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .process-grid { grid-template-columns: 1fr; } }


/* Version 7.2 — unified dark hero with Baltic map */
.hero {
  min-height: 820px;
  padding: 118px 0 0;
  background:
    radial-gradient(circle at 79% 34%, rgba(30,111,115,.30), transparent 30%),
    radial-gradient(circle at 92% 88%, rgba(182,138,74,.14), transparent 25%),
    linear-gradient(120deg, var(--navy-3), var(--navy) 50%, #102e3b 100%);
}
.hero::after {
  inset: 78px 0 auto;
  background: rgba(255,255,255,.09);
}
.hero-grid.hero-grid-map {
  grid-template-columns: minmax(0, .96fr) minmax(520px, 1.04fr);
  min-height: 702px;
  gap: 34px;
}
.hero-main {
  padding-right: 8px;
  overflow: visible;
}
.hero-main::after { display: none; }
.hero-copy {
  max-width: 690px;
  padding: 54px 18px 42px 0;
}
.hero h1 { font-size: clamp(48px, 5vw, 72px); }
.hero-proof {
  margin-right: -34px;
  background: rgba(5,20,30,.64);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 0;
  backdrop-filter: blur(14px);
}
.hero-map-panel {
  position: relative;
  min-width: 0;
  min-height: 702px;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(180deg, rgba(14,34,51,.08), rgba(8,24,36,.76)),
    linear-gradient(135deg, rgba(30,111,115,.14), rgba(255,255,255,.015));
}
.hero-map-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,34,51,.92) 0, rgba(14,34,51,.20) 25%, transparent 46%),
    linear-gradient(0deg, rgba(8,24,36,.92) 0, transparent 43%);
  z-index: 1;
}
.hero-map-panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(182,138,74,.72), transparent);
  z-index: 3;
}
.hero-map-heading {
  position: relative;
  z-index: 4;
  max-width: 440px;
  padding: 50px 44px 0;
  color: var(--white);
}
.hero-map-heading .eyebrow { color: var(--brass-light); }
.hero-map-heading h2 {
  max-width: 430px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(34px, 3.2vw, 48px);
}
.hero-map-heading p:last-child {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.6;
}
.hero-baltic-map {
  position: absolute;
  z-index: 0;
  top: -8px;
  right: -116px;
  width: 760px;
  height: 650px;
  opacity: .94;
  filter: drop-shadow(0 28px 48px rgba(0,0,0,.30));
}
.hero-map-grid path { fill: none; stroke: rgba(255,255,255,.045); stroke-width: 1; }
.hero-country { vector-effect: non-scaling-stroke; }
.hero-country--neighbour { fill: rgba(205,224,222,.045); stroke: rgba(205,224,222,.14); stroke-width: 1; }
.hero-country--baltic { fill: rgba(30,111,115,.38); stroke: #70b2ae; stroke-width: 1.65; }
.hero-map-route { fill: none; stroke: var(--brass-light); stroke-width: 2; stroke-dasharray: 4 7; opacity: .88; }
.hero-city circle:first-child { fill: rgba(182,138,74,.13); stroke: var(--brass-light); stroke-width: 1.3; }
.hero-city-core { fill: var(--brass-light); }
.hero-city text { fill: var(--white); font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.hero-city .hero-country-name { fill: rgba(255,255,255,.45); font-size: 8px; font-weight: 700; }
.hero-capability-grid {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.16);
  border-left: 1px solid rgba(255,255,255,.16);
  background: rgba(7,24,35,.70);
  box-shadow: 0 24px 55px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}
.hero-capability-grid a {
  position: relative;
  display: grid;
  min-height: 112px;
  align-content: center;
  gap: 6px;
  padding: 18px 42px 18px 18px;
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .2s ease, transform .2s ease;
}
.hero-capability-grid a:hover { background: rgba(30,111,115,.22); transform: translateY(-2px); }
.hero-capability-grid strong { color: var(--white); font-size: 12px; line-height: 1.35; }
.hero-capability-grid span { color: rgba(255,255,255,.52); font-size: 9px; line-height: 1.45; }
.hero-capability-grid b { position: absolute; right: 17px; top: 17px; color: var(--brass-light); font-size: 15px; font-weight: 400; }

@media (max-width: 1180px) {
  .hero-grid.hero-grid-map { grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); }
  .hero-map-heading { padding-inline: 34px; }
  .hero-baltic-map { right: -172px; }
  .hero-capability-grid { right: 16px; bottom: 16px; left: 16px; }
}

@media (max-width: 980px) {
  .hero { min-height: 0; padding-top: 116px; }
  .hero-grid.hero-grid-map { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-main { min-height: 560px; margin-inline: -28px; padding: 0 28px; }
  .hero-copy { max-width: 760px; padding: 62px 10% 44px 0; }
  .hero-proof { margin-right: 0; border-left: 1px solid rgba(255,255,255,.12); }
  .hero-map-panel { min-height: 650px; margin-inline: -28px; border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .hero-map-heading { padding: 56px 28px 0; }
  .hero-baltic-map { top: -20px; right: -88px; width: 720px; height: 620px; }
  .hero-capability-grid { right: 28px; bottom: 28px; left: 28px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 72px; }
  .hero-main { min-height: 0; margin-inline: -17px; padding: 0 17px; }
  .hero-copy { padding: 60px 0 42px; }
  .hero-proof { grid-template-columns: 1fr; margin-inline: 0; }
  .hero-map-panel { min-height: 790px; margin-inline: -17px; }
  .hero-map-heading { padding: 48px 20px 0; }
  .hero-map-heading h2 { font-size: 37px; }
  .hero-baltic-map { top: 70px; right: -265px; width: 720px; height: 620px; opacity: .82; }
  .hero-capability-grid { right: 17px; bottom: 17px; left: 17px; grid-template-columns: 1fr; }
  .hero-capability-grid a { min-height: 86px; }
}
