:root {
  --archive-white: #fafaf8;
  --paper-warm: #efe9d7;
  --paper-cream: #fbf6ea;
  --paper-cream-deep: #f2ead8;
  --sage-warm: #e8efe4;
  --soft-sage: #ecefea;
  --ink: #252a27;
  --moss: #4a5b53;
  --oxblood: #7b4e48;
  --rule: #dde2dc;
  --mist: #f4f6f7;
  --deep: #151d28;
  --steel: #6f7a86;
  --legacy-gold: #c6a86c;
  --white: #ffffff;
  --display: Spectral, "Source Serif 4", Georgia, serif;
  --body: "Source Sans 3", Inter, Arial, sans-serif;
  --paper-hero-image: url("/assets/visual-v2/final-4k/paper-only-q1-4k.webp");
  --paper-ground-image: url("/assets/visual-v2/round-3/a3-paper-only-no-line.png");
  --feather-hero-image: url("/assets/visual-v2/final-4k/hero-bg-q1-4k.webp");
  --stone-d1-image: url("/assets/visual-v2/final-4k/deep-navy-stone-d1-4k.webp");
  --stone-d3-image: url("/assets/visual-v2/final-4k/deep-navy-stone-d3-4k.webp");
  --long-insert-horizontal-break: url("/assets/visual-v2/long-page-inserts/long-insert-horizontal-break-v1.png");
  --long-insert-side-spine: url("/assets/visual-v2/long-page-inserts/long-insert-side-spine-v1.png");
  --long-insert-process-card: url("/assets/visual-v2/long-page-inserts/long-insert-process-card-v2-applicability-note-generated.png");
  --long-insert-dark-transition: url("/assets/visual-v2/long-page-inserts/long-insert-dark-transition-v1.png");
  --long-insert-tab-stack: url("/assets/visual-v2/long-page-inserts/long-insert-tab-stack-v1.png");
  --long-insert-related-strip: url("/assets/visual-v2/long-page-inserts/long-insert-related-strip-v1.png");
  --long-insert-archive-break: url("/assets/visual-v2/long-page-inserts/long-insert-archive-break-v1.png");
  --long-insert-file-edge: url("/assets/visual-v2/long-page-inserts/long-insert-file-edge-v1.png");
  color-scheme: light;
}

html[lang="en"] {
  --long-insert-process-card: url("/assets/visual-v2/long-page-inserts/long-insert-process-card-v2-applicability-note-generated-en.png");
}

* {
  box-sizing: border-box;
}

html {
  background: var(--archive-white);
  color: var(--ink);
  font-family: var(--body);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--archive-white);
  color: var(--ink);
  font-family: var(--body);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(rgba(250, 250, 248, 0.9), rgba(250, 250, 248, 0.94)),
    var(--paper-ground-image),
    var(--archive-white);
  background-attachment: scroll;
  background-position: center top;
  background-size: 1680px auto;
}

.container {
  width: min(1680px, calc(100vw - 80px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(16px);
}

.nav-bar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav,
.language-switcher {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a,
.language-switcher a,
.language-switcher span {
  color: var(--moss);
  font-size: 15px;
  line-height: 1.2;
}

.desktop-nav a:hover,
.language-switcher a:hover {
  color: var(--ink);
}

.language-switcher [aria-current="page"] {
  color: var(--ink);
  border-bottom: 2px solid var(--oxblood);
  font-weight: 600;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: var(--archive-white);
  color: var(--ink);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  box-shadow: 0 7px 0 var(--ink), 0 -7px 0 var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
}

.hero-with-feather {
  background: var(--archive-white);
  color: var(--ink);
}

.hero-with-feather .hero-grid {
  position: relative;
  z-index: 1;
  max-width: 520px;
  /* Box stays centered (inherits .container's margin:0 auto). Desktop adds a small leftward nudge — see media query below. */
}

/* Desktop: nudge hero text 60px left of viewport center.
   calc(50% - 260px) would be exactly centered (50% of parent - half of max-width 520px).
   Subtracting 60px nudges the block leftward without snapping to the edge.
   margin-right: auto absorbs remaining space. */
@media (min-width: 1024px) {
  .hero-with-feather .hero-grid {
    margin-left: calc(50% - 350px);
    margin-right: auto;
  }
}

.hero-with-feather h1 {
  color: var(--ink);
}

.hero-with-feather .lead,
.hero-with-feather .credibility {
  color: var(--moss);
}

.hero-with-feather .credibility {
  border-top-color: var(--oxblood);
}

.hero-with-feather .client-note {
  border-color: rgba(221, 226, 220, 0.86);
  background: rgba(250, 250, 248, 0.94);
  color: var(--ink);
}

.hero-feather-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--archive-white);
}

.hero-feather-static {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
}

.hero-feather-stage svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

/* Safe-zone overlay — protects H1 from dark shape overlap, but kept light so feather/dot remain saturated. */
/* Desktop: gentle horizontal gradient lights left zone where text sits, fades early to transparent. */
.hero-feather-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(250, 250, 248, 0.62) 0%,
    rgba(250, 250, 248, 0.5) 22%,
    rgba(250, 250, 248, 0.28) 38%,
    rgba(250, 250, 248, 0.08) 52%,
    rgba(250, 250, 248, 0) 62%
  );
}

.hero-feather-stage > .hero-feather-svg-desktop {
  display: block;
}

.hero-feather-stage > .hero-feather-svg-tablet,
.hero-feather-stage > .hero-feather-svg-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .hero-feather-stage > .hero-feather-svg-desktop {
    display: none;
  }

  .hero-feather-stage > .hero-feather-svg-tablet {
    display: block;
  }

  .hero-feather-static {
    background-image: var(--hero-bg-image-tablet, var(--hero-bg-image));
    background-position: 130% center;
    background-size: 95% auto;
  }

  /* Tablet: steeper angle, gentle peak — shape position already pushed via background-position above. */
  .hero-feather-stage::after {
    background: linear-gradient(
      115deg,
      rgba(250, 250, 248, 0.7) 0%,
      rgba(250, 250, 248, 0.55) 30%,
      rgba(250, 250, 248, 0.32) 48%,
      rgba(250, 250, 248, 0.1) 64%,
      rgba(250, 250, 248, 0) 76%
    );
  }
}

@media (max-width: 600px) {
  .hero-feather-stage > .hero-feather-svg-tablet {
    display: none;
  }

  .hero-feather-stage > .hero-feather-svg-mobile {
    display: block;
  }

  /* Mobile: cover from right edge — shows the feather's main body on the right,
     tail (left portion of image) goes off-screen. No tiling needed with cover. */
  .hero-feather-static {
    background-image: var(--hero-bg-image-mobile, var(--hero-bg-image-tablet, var(--hero-bg-image)));
    background-position: right top;
    background-size: cover;
  }

  /* Mobile: SVG dot is positioned for desktop feather alignment — hide it on mobile
     where feather position is different. The raster feather provides the visual accent. */
  .hero-feather-stage .hero-feather-dot {
    display: none;
  }

  /* Mobile: layer paper-texture + paper-cream into the hero base so the edges don't read as
     bald archive-white when the feather raster doesn't fully extend to viewport edges.
     Matches the texture-edge feel of Approach/About layer-intro pages. */
  .hero-with-feather {
    background:
      linear-gradient(90deg, rgba(251, 246, 234, 0.16), rgba(250, 250, 248, 0.1)),
      url('/assets/visual-v2/final-4k/paper-only-no-feather-q1-4k.webp') center / cover,
      var(--paper-cream);
  }
  .hero-feather-stage {
    background: transparent;
  }

  /* Mobile: diagonal overlay — heavy top-left (text zone), transparent toward bottom-right
     (feather zone). Keeps H1 readable without desaturating feather colours. */
  .hero-feather-stage::after {
    background: linear-gradient(
      135deg,
      rgba(250, 250, 248, 0.52) 0%,
      rgba(250, 250, 248, 0.3) 25%,
      rgba(250, 250, 248, 0.1) 48%,
      rgba(250, 250, 248, 0) 65%
    );
  }
}

.hero-feather-stage .hero-feather-line {
  display: none;
}

.hero-feather-stage .hero-feather-dot {
  opacity: 0;
}

@keyframes feather-dot-pop {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes feather-shape-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-feather-static {
    animation: feather-shape-fade 800ms cubic-bezier(0.2, 0, 0.2, 1) 700ms both;
  }

  .hero-feather-stage .hero-feather-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: feather-dot-pop 360ms cubic-bezier(0.2, 0, 0.2, 1) 250ms both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feather-static,
  .hero-feather-stage .hero-feather-dot {
    opacity: 1;
  }
}

.homepage-with-paper-ground .section-paper-ground {
  position: relative;
  overflow: hidden;
}

.homepage-with-paper-ground .section-paper-ground::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 250, 248, 0.86), rgba(250, 250, 248, 0.9)),
    var(--paper-bg-image);
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 0.68;
}

.homepage-with-paper-ground .section-paper-ground > .container {
  position: relative;
  z-index: 1;
}


.visual-divider {
  height: 28px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(90deg, transparent, rgba(123, 78, 72, 0.18), transparent),
    repeating-linear-gradient(90deg, rgba(37, 42, 39, 0.04) 0 1px, transparent 1px 18px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.62fr);
  gap: 68px;
  align-items: start;
}

.hero .hero-grid {
  display: block;
  max-width: 580px;
}

.kicker {
  margin-bottom: 22px;
  color: var(--oxblood);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
  margin: 0;
}

h3 {
  font-family: var(--display);
  font-weight: 500;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: 64px;
  font-weight: 500;
  hyphens: auto;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.lead {
  max-width: 730px;
  margin: 28px 0 0;
  color: var(--moss);
  font-size: 22px;
  line-height: 1.45;
}

.credibility {
  max-width: 660px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--oxblood);
  color: var(--moss);
  font-size: 16px;
  line-height: 1.45;
}

.client-note {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--rule);
  background: var(--white);
}

.client-note-label {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.client-note h3 {
  margin: 0 0 16px;
  color: var(--oxblood);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.client-note p {
  margin: 0;
  font-size: 19px;
  line-height: 1.56;
}

.partner-card {
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--soft-sage);
}

.portrait-wrap {
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--soft-sage), #dfe5df);
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: multiply;
}

.partner-card-content {
  padding: 28px;
  background: rgba(250, 250, 248, 0.82);
}

.partner-card h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
}

.partner-caption {
  margin-bottom: 16px;
  color: var(--oxblood);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.partner-card p {
  margin: 0;
  color: var(--moss);
  font-size: 16.5px;
  line-height: 1.58;
}

.partner-card .text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--oxblood);
  padding-bottom: 2px;
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--rule);
}

.section-sage {
  background: var(--soft-sage);
}

.section-dark {
  position: relative;
  overflow: hidden;
  border-top: 0;
  background: var(--deep);
  color: var(--white);
}

.manifesto-with-pattern::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 29, 40, 0.18), rgba(21, 29, 40, 0.28)),
    var(--dark-pattern-image);
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 1;
}

.cta-with-pattern::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 29, 40, 0.18), rgba(21, 29, 40, 0.28)),
    var(--cta-bg-image);
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 1;
}

.section-dark > .container {
  position: relative;
  z-index: 1;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1fr);
  gap: 82px;
  align-items: start;
}

.section h2,
.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.14;
}

.section-copy {
  margin: 22px 0 0;
  color: var(--moss);
  font-size: 18px;
  line-height: 1.62;
}

.section-dark .section-copy {
  color: #d5dbe2;
}

.tenure-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.tenure-number {
  color: var(--oxblood);
  font-family: var(--display);
  font-size: 174px;
  line-height: 0.82;
}

.tenure-label {
  margin-top: 14px;
  color: var(--moss);
  font-size: 18px;
  line-height: 1.5;
}

.proof-grid,
.fit-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.proof-item {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.proof-item h3,
.fit-card h3,
.case-card h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.22;
}

.proof-item p {
  margin: 0;
  color: #c5ccd5;
  line-height: 1.6;
}

.fit-card,
.country-card,
.case-card,
.resource-row {
  border: 1px solid var(--rule);
  background: var(--white);
}

.fit-card {
  padding: 26px;
}

.fit-card p,
.country-card p,
.case-card p,
.resource-row p {
  margin: 0;
  color: var(--moss);
  line-height: 1.58;
}

.practice-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
  align-items: start;
}

.map-panel {
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--rule);
  background: var(--archive-white);
}


.map-panel svg {
  width: 100%;
  height: auto;
}

.map-panel .map-caption {
  margin-top: 10px;
  color: var(--moss);
  line-height: 1.6;
  font-size: 18px;
  font-weight: 500;
}

.country-list {
  display: grid;
  gap: 12px;
}

.country-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  position: relative;
  z-index: 0;
  text-decoration: none;
  color: inherit;
  transition:
    transform 280ms cubic-bezier(0.2, 0, 0.2, 1),
    box-shadow 280ms cubic-bezier(0.2, 0, 0.2, 1),
    border-color 180ms ease,
    background-color 220ms ease,
    opacity 180ms ease;
}

.practice-layout .map-panel g[data-country] {
  transition: opacity 180ms ease;
}

.practice-layout .map-panel circle.map-node {
  transition: fill 180ms ease, r 180ms ease, stroke-width 180ms ease;
}

.practice-layout .map-panel text.map-label {
  transition: fill 180ms ease, font-weight 180ms ease;
}

.practice-layout .map-panel svg path {
  pointer-events: none;
}

.practice-layout .map-link {
  cursor: pointer;
  outline: none;
}

.practice-layout .map-link:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 4px;
  border-radius: 50%;
}

@media (hover: hover) {
  .practice-layout:has(.country-card:hover) g[data-country],
  .practice-layout:has(.country-card:focus-visible) g[data-country] {
    opacity: 0.35;
  }

  .practice-layout:has(g[data-country]:hover) .country-card {
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice-layout .map-panel g[data-country],
  .practice-layout .map-panel circle.map-node,
  .practice-layout .map-panel text.map-label,
  .practice-layout .country-card {
    transition: none;
  }
}

@media (hover: hover) {
  .country-card:hover {
    transform: scale(1.025);
    background: var(--paper-warm);
    box-shadow:
      0 18px 36px rgba(21, 29, 40, 0.10),
      0 4px 12px rgba(21, 29, 40, 0.06);
    z-index: 1;
  }
}

.country-card:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 4px;
}

.country-tier {
  margin-bottom: 8px;
  color: var(--oxblood);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.country-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.16;
}

.country-index-list {
  display: grid;
  gap: 12px;
}

.country-index-card {
  overflow: hidden;
  color: inherit;
}

.country-index-card::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(34%, 220px);
  background-image:
    linear-gradient(90deg, rgba(250, 250, 248, 0.92), rgba(250, 250, 248, 0.62)),
    var(--country-insert-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.16;
}

.country-index-card > * {
  position: relative;
  z-index: 1;
}

.country-index-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
}

.case-card {
  min-height: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.case-card h3 {
  font-family: var(--display);
  font-weight: 500;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--rule);
  padding: 4px 9px;
  color: var(--moss);
  font-size: 13.5px;
  line-height: 1.35;
}

/* Case tags — wine-coloured small dotted-separated tags per design brief.
   Used both on homepage card preview and on /cases page full-case header. */
.case-tags {
  display: block;
  margin-bottom: 14px;
  color: var(--oxblood);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
}

.case-tag + .case-tag::before {
  content: " · ";
  color: var(--oxblood);
  opacity: 0.5;
  margin: 0 2px;
}

/* Homepage card excerpt — first paragraph of body, with strong tags preserved. */
.case-excerpt {
  flex: 1 1 auto;
  margin: 0 0 18px;
  color: var(--moss);
  font-size: 15.5px;
  line-height: 1.55;
}

.case-excerpt strong {
  color: var(--ink);
  font-weight: 600;
}

.case-read-full {
  align-self: flex-start;
  margin-top: auto;
  color: var(--oxblood);
  font-family: var(--body);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.case-read-full:hover {
  color: var(--ink);
}

.case-view-all {
  margin-top: 32px;
  text-align: right;
}

/* /cases page — full editorial dossier layout. Each case is a long-form article
   with tags, serif title, multi-paragraph body, optional italic bridge note,
   and the disclaimer. Cases are stacked vertically with generous separation. */
/* === Cases — stacking sticky archive ===
   Each case sticks at top:(header + N * bar-height); previous cases collapse
   into thin bars stacked above the active card, like an archive of corkboard
   strips. The bar is a clickable anchor to its own slug — scroll back up to a
   stacked bar by clicking it. Pure CSS sticky stack; no JS. */
.cases-list {
  padding: 56px 0 0;
  background-color: var(--archive-white);
  background-image: url('/assets/visual-v2/cases-page-backgrounds-v1/cases-list-bg-v1.svg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.cases-list .container {
  max-width: 880px;
  padding-bottom: 0;
}

.cases-stack {
  --case-bar-h: 64px;
  --case-stack-offset: 72px; /* approx site-header height */
}

.case-stack-item {
  /* Only the bar is sticky — the body sits outside this element in normal flow
     so readers can scroll through the full text before the next bar appears. */
  position: sticky;
  top: calc(var(--case-stack-offset) + var(--case-stack-index) * var(--case-bar-h));
  background: var(--archive-white);
  border-top: 1px solid var(--rule);
  scroll-margin-top: var(--case-stack-offset);
  z-index: calc(var(--case-stack-index) + 1);
}

/* Bar — always visible, full-width clickable strip with index, title, tags. */
.case-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  height: var(--case-bar-h);
  padding: 0 4px;
  background: var(--archive-white);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: background-color 160ms ease;
}

.case-bar:hover,
.case-bar:focus-visible {
  background: var(--paper-cream, #f5f3ec);
  outline: none;
}

.case-bar-index {
  font-family: var(--mono, var(--body));
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--oxblood);
  font-weight: 600;
  min-width: 32px;
}

.case-bar-title {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-bar-tags {
  display: block;
  color: var(--oxblood);
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
  opacity: 0.65;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 38ch;
}

.case-body-wrap {
  background: var(--archive-white);
  padding: 40px 4px 80px;
  /* When a collapsed bar is clicked, scroll so the body clears the header
     plus all bars stacked above it (indices 0…N inclusive). */
  scroll-margin-top: calc(
    var(--case-stack-offset) +
    (var(--case-stack-index) + 1) * var(--case-bar-h)
  );
}

.case-body-wrap:last-child {
  padding-bottom: 96px;
}

.case-body-wrap > h2 {
  margin: 6px 0 28px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.18;
  color: var(--ink);
}

.case-body-wrap .case-tags {
  margin-bottom: 14px;
}

.case-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
}

.case-body p {
  margin: 0;
}

.case-body strong {
  color: var(--ink);
  font-weight: 600;
}

.case-bridge-note {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 2px solid var(--oxblood);
  color: var(--moss);
  font-size: 15.5px;
  line-height: 1.55;
}

.case-bridge-note em {
  font-style: italic;
}

.case-disclaimer {
  margin: 22px 0 0;
  color: var(--steel);
  font-size: 13.5px;
  line-height: 1.45;
}

.case-disclaimer em {
  font-style: italic;
}

@media (max-width: 900px) {
  .cases-list {
    background-size: auto 50%;
    background-position: top right;
  }
  .cases-stack {
    --case-bar-h: 56px;
    --case-stack-offset: 60px;
  }
  .cases-list .container {
    max-width: none;
  }
  .case-bar {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }
  .case-bar-tags {
    display: none;
  }
  .case-bar-title {
    font-size: 15px;
  }
  .case-body-wrap {
    padding: 28px 0 56px;
  }
  .case-body-wrap > h2 {
    font-size: 24px;
  }
  .case-body {
    font-size: 16px;
  }
}

.resource-list {
  display: grid;
  gap: 14px;
  margin-top: 48px;
}

.resource-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  padding: 26px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background-color 220ms ease;
}

@media (hover: hover) {
  .resource-row:hover {
    border-color: var(--oxblood);
    background: var(--paper-warm);
    transform: translateY(-1px);
  }
}

.meta {
  color: var(--oxblood);
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.resource-row h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.24;
}

.resource-row h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.24;
}

.resources-index-title {
  max-width: 820px;
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 58px;
  font-weight: 500;
  line-height: 1.06;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-email-line {
  margin: 18px 0 0;
  color: #d5dbe2;
  font-size: 17px;
  line-height: 1.5;
}

.cta-email-line a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.45;
}

.contact-lines a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--oxblood);
  padding-bottom: 2px;
  width: max-content;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--oxblood);
  background: var(--oxblood);
  color: var(--white);
  padding: 0 24px;
  font-weight: 600;
  line-height: 1;
}

.button:hover {
  background: #6e453f;
}

.site-footer {
  padding: 56px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  color: #d5dbe2;
  line-height: 1.62;
}

.footer-grid a {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-topic-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.footer-topic-trigger:hover,
.footer-topic-trigger:focus-visible {
  text-decoration-color: currentColor;
}

/* Bottom rule + copyright line under the footer columns. */
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  margin: 0;
  color: rgba(213, 219, 226, 0.65);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.placeholder-page {
  padding: 96px 0 112px;
}

.layer-page {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(250, 250, 248, 0.82), rgba(250, 250, 248, 0.92)),
    var(--paper-ground-image),
    var(--archive-white);
  background-position: center top;
  background-size: 1680px auto;
}

.country-page {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(250, 250, 248, 0.82), rgba(250, 250, 248, 0.92)),
    radial-gradient(circle at 88% 12%, rgba(123, 78, 72, 0.09), transparent 24%),
    var(--paper-ground-image),
    var(--archive-white);
  background-position: center top;
  background-size: 1680px auto;
}

.layer-page {
  background:
    linear-gradient(rgba(251, 246, 234, 0.5), rgba(250, 250, 248, 0.55)),
    var(--paper-ground-image),
    linear-gradient(180deg, var(--paper-cream) 0%, var(--archive-white) 48%, var(--paper-cream) 100%);
  background-position: center top;
  background-size: auto, cover, auto, auto, auto;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, fixed, scroll, scroll, scroll;
}

.layer-intro,
.country-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--rule);
}

.layer-intro {
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    var(--archive-white);
}

/* feather decoration removed from layer-intro per cleanup — homepage-only metaphor */

.layer-intro-grid {
  position: relative;
  z-index: 1;
}

.layer-page-about .layer-intro {
  border-bottom-color: var(--oxblood);
}

.layer-page-approach .layer-section + .layer-section {
  border-top: 1px solid var(--oxblood);
}

.layer-page .layer-intro {
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    url('/assets/visual-v2/final-4k/paper-only-no-feather-q1-4k.webp'),
    var(--paper-cream);
  background-size: auto, cover, auto;
  border-bottom-color: rgba(123, 78, 72, 0.3);
}

/* layer-page feather signature (dot + diagonal line) removed — was leftover homepage metaphor */

.layer-page .layer-index-panel::before {
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 4px;
  height: auto;
  background: var(--oxblood);
  opacity: 0.74;
}

.layer-page .layer-index-panel,
.layer-page .layer-section-body {
  border-color: rgba(123, 78, 72, 0.2);
}

.layer-page .layer-index-panel {
  background:
    linear-gradient(135deg, rgba(251, 246, 234, 0.96), rgba(255, 252, 244, 0.9)),
    var(--paper-ground-image),
    var(--paper-cream);
  background-position: center;
  background-size: 1100px auto;
  box-shadow: 0 18px 42px rgba(123, 78, 72, 0.055);
}

.layer-page .layer-index-panel li {
  border-top-color: rgba(123, 78, 72, 0.18);
}

.layer-page .layer-section:nth-of-type(even) {
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.55), rgba(232, 239, 228, 0.50)),
    var(--paper-ground-image),
    var(--paper-cream);
  background-position: center, center, center;
  background-size: cover, cover, 1680px auto;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.layer-page .layer-section {
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.52), rgba(250, 250, 248, 0.52)),
    var(--paper-ground-image),
    var(--paper-cream);
  background-position: center, center, center;
  background-size: cover, cover, 1680px auto;
  background-repeat: no-repeat, no-repeat, no-repeat;
  border-top-color: rgba(123, 78, 72, 0.16);
}

.layer-page .layer-section::before {
  width: min(18vw, 250px);
  background:
    linear-gradient(rgba(232, 239, 228, 0.52), rgba(251, 246, 234, 0.28));
  opacity: 1;
}

.layer-page .layer-section-body {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(251, 246, 234, 0.94)),
    var(--paper-ground-image),
    var(--paper-cream);
  background-position: center;
  background-size: 980px auto;
  box-shadow: 0 18px 46px rgba(123, 78, 72, 0.05);
}

.layer-page .layer-section-body::before {
  border-color: rgba(123, 78, 72, 0.2);
  background:
    linear-gradient(rgba(255, 252, 244, 0.98), rgba(251, 246, 234, 0.94)),
    var(--paper-ground-image),
    var(--paper-cream);
  background-position: center;
  background-size: 420px auto;
}

/* Approach — section backgrounds reset: paper-ground removed, clean editorial */
.layer-page-approach .layer-section,
.layer-page-approach .layer-section:nth-of-type(even) {
  background: var(--archive-white);
}

.layer-page-approach .layer-section::before {
  background-image: none;
  opacity: 0;
}

.layer-page-approach .layer-section-body {
  background: var(--white);
  background-image: none;
}

.layer-page-approach .layer-section-body::before {
  background: var(--white);
  background-image: none;
}

/* About — section backgrounds v2: distinct editorial surfaces per section */
.layer-page-about .layer-section,
.layer-page-about .layer-section:nth-of-type(even) {
  background-color: var(--archive-white);
  background-image: none;
}

.layer-page-about .layer-section::before {
  background-image: none;
  opacity: 0;
}

.layer-page-about .layer-section-body {
  background: var(--white);
  background-image: none;
}

.layer-page-about .layer-section-body::before {
  background: var(--white);
  background-image: none;
}

.country-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--deep);
  color: var(--white);
  border-bottom: 0;
}

.country-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(21, 29, 40, 0.32), rgba(21, 29, 40, 0.42)),
    var(--country-hero-image, var(--country-material-image));
  background-position: var(--country-hero-position, center);
  background-size: var(--country-hero-size, cover);
  transform: rotate(var(--country-hero-rotate, 0deg));
  transform-origin: center;
}

.country-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--country-accent, var(--oxblood));
}

.country-hero h1 {
  color: var(--white);
}

.country-hero .country-lead p {
  color: rgba(255, 255, 255, 0.84);
}

.country-hero .country-tier-badge {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.layer-intro-grid,
.country-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.38fr);
  gap: 72px;
  align-items: start;
}

.layer-section-grid,
.country-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 36px;
  align-items: start;
}

.country-section-grid {
  grid-template-columns: minmax(0, 960px) minmax(240px, 400px);
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
}

.layer-section-aside,
.country-section-aside,
.layer-section-body,
.country-section-body {
  grid-column: 1;
  min-width: 0;
}

.layer-section-portrait {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

/* Sidenote rail (pilot — Cyprus). Each body block sits in a 2-column row;
   the optional <aside class="country-sidenote"> aligns to col 2 next to its anchor.
   On viewports below the desktop breakpoint, the rail collapses and notes
   sit immediately after the anchor paragraph. */
.country-section-col1 {
  grid-column: 1;
  min-width: 0;
}

.country-sidenote-rail {
  grid-column: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.country-sidenote {
  margin: 0;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--oxblood);
  background: transparent;
}

/* Inline copy of a sidenote — only used on narrow viewports so each note can
   sit immediately under its anchor paragraph, instead of piling at the bottom
   of the section. Hidden on desktop where the side rail handles placement. */
.country-sidenote-inline {
  display: none;
}

.country-section-material .country-sidenote {
  border-left-color: rgba(244, 246, 247, 0.28);
  opacity: 0.92;
}

.country-section-material .country-sidenote-title {
  color: rgba(244, 246, 247, 0.6);
}

.country-section-material .country-sidenote-body {
  color: var(--mist);
}

.country-sidenote-title {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--oxblood);
  margin-bottom: 8px;
  line-height: 1.2;
}

.country-sidenote-body {
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--moss);
}

.country-sidenote-body strong {
  color: var(--ink);
  font-weight: 600;
}

.country-section-material .country-sidenote-body strong {
  color: var(--mist);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .country-section-col1 {
    grid-column: 1 / -1;
  }
  /* On mobile we use the inline copies instead — hide the bottom rail so notes
     don't render twice. */
  .country-sidenote-rail {
    display: none;
  }
  .country-sidenote-inline {
    display: block;
    margin: 18px 0 26px;
    padding: 12px 16px;
    border-left: 2px solid var(--oxblood);
    background: var(--paper-cream);
  }
  .country-sidenote-inline .country-sidenote-title {
    color: var(--oxblood);
  }
  .country-sidenote-inline .country-sidenote-body {
    color: var(--moss);
  }
  .country-sidenote-inline .country-sidenote-body strong {
    color: var(--ink);
  }
}

.layer-section-portrait img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

@media (max-width: 1023px) {
  .layer-section-portrait {
    grid-column: 1;
    grid-row: auto;
    margin-top: 24px;
    max-width: 480px;
  }
}

.layer-intro h1,
.country-page h1 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.04;
}

.layer-intro .lead,
.country-lead p {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--moss);
  font-size: 22px;
  line-height: 1.48;
}

.layer-index-panel,
.country-brief-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  background:
    linear-gradient(rgba(250, 250, 248, 0.88), rgba(250, 250, 248, 0.82)),
    var(--paper-ground-image),
    rgba(255, 255, 255, 0.72);
  background-position: center;
  background-size: cover;
  padding: 28px;
  box-shadow: 0 18px 54px rgba(21, 29, 40, 0.06);
}

.layer-index-panel::before,
.country-brief-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background-image:
    linear-gradient(rgba(21, 29, 40, 0.06), rgba(21, 29, 40, 0.12)),
    var(--stone-d1-image);
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 0.12;
}

.country-page .country-brief-panel::before {
  width: 42%;
  background-image:
    linear-gradient(rgba(250, 250, 248, 0.62), rgba(250, 250, 248, 0.28)),
    var(--country-insert-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
}

.layer-index-panel > *,
.country-brief-panel > * {
  position: relative;
  z-index: 1;
}

.layer-index-panel ol,
.country-brief-panel dl {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
}

.layer-index-panel li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.layer-index-panel li:first-child {
  padding-top: 0;
  border-top: 0;
}

.layer-index-panel span,
.layer-section-number,
.country-section-number {
  color: var(--oxblood);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}

.layer-index-panel strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.22;
}

.layer-section,
.country-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  background:
    linear-gradient(rgba(250, 250, 248, 0.9), rgba(250, 250, 248, 0.94)),
    var(--paper-ground-image),
    var(--archive-white);
  background-position: center;
  background-size: cover;
}

.layer-section:nth-of-type(even),
.country-section:nth-of-type(even) {
  background:
    linear-gradient(rgba(236, 239, 234, 0.78), rgba(250, 250, 248, 0.88)),
    var(--paper-ground-image),
    rgba(236, 239, 234, 0.46);
}

.layer-section::before,
.country-section::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(20vw, 260px);
  background-image:
    linear-gradient(rgba(21, 29, 40, 0.04), rgba(21, 29, 40, 0.08)),
    var(--stone-d1-image);
  background-position: 70% 50%;
  background-size: cover;
  content: "";
  opacity: 0.08;
}

.layer-section:nth-of-type(odd)::before {
  right: auto;
  left: 0;
}

.country-page .country-section:not(.country-section-material)::before {
  width: 100%;
  background:
    linear-gradient(90deg, rgba(250, 250, 248, 0.96), rgba(250, 250, 248, 0.72) 68%, rgba(232, 239, 228, 0.28));
  opacity: 1;
}

/* Country pages — paper-ground removed, clean editorial dossier */
.country-section,
.country-section:nth-of-type(even) {
  background: var(--archive-white);
}

.country-section-visual-spine {
  --country-section-insert-image: var(--long-insert-side-spine);
}

.country-section-visual-tab {
  --country-section-insert-image: var(--long-insert-tab-stack);
}

.country-section-material {
  --country-section-insert-image: var(--long-insert-dark-transition);
}

.country-section-visual-process,
.country-section-with-process {
  --country-section-insert-image: var(--long-insert-process-card);
}

.layer-section-grid,
.country-section-grid,
.country-related > .container,
.country-context-grid {
  position: relative;
  z-index: 1;
}

.country-section-visual-spine .country-section-grid::after,
.country-section-visual-tab .country-section-grid::after,
.country-section-visual-process .country-section-grid::after {
  position: sticky;
  top: 104px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  min-height: min(420px, 48vw);
  margin-top: 36px;
  border: 1px solid rgba(123, 78, 72, 0.18);
  background:
    linear-gradient(180deg, rgba(250, 250, 248, 0.14), rgba(250, 250, 248, 0.34)),
    var(--country-section-insert-image, var(--long-insert-file-edge)),
    var(--paper-ground-image),
    var(--archive-white);
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, contain, 900px auto;
  box-shadow: 0 24px 70px rgba(21, 29, 40, 0.1);
  content: "";
}

.country-section-visual-spine .country-section-grid::before,
.country-section-visual-tab .country-section-grid::before,
.country-section-visual-process .country-section-grid::before {
  position: sticky;
  top: 104px;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  width: 3px;
  height: min(420px, 48vw);
  margin-top: 36px;
  background: var(--country-accent, var(--oxblood));
  content: "";
}

.layer-section-aside,
.country-section-aside {
  margin-bottom: 24px;
}

.layer-section h2,
.country-section h2 {
  max-width: none;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.1;
}

.layer-section-body,
.country-section-body {
  position: relative;
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(123, 78, 72, 0.48);
  background:
    linear-gradient(rgba(250, 250, 248, 0.9), rgba(255, 255, 255, 0.86)),
    var(--paper-ground-image),
    rgba(255, 255, 255, 0.72);
  background-position: center;
  background-size: cover;
  padding: 32px 36px;
  box-shadow: 0 18px 52px rgba(21, 29, 40, 0.05);
}

.layer-section-body::before,
.country-section-body::before {
  position: absolute;
  top: -14px;
  right: 30px;
  width: 76px;
  height: 14px;
  border: 1px solid var(--rule);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background:
    linear-gradient(rgba(250, 250, 248, 0.96), rgba(250, 250, 248, 0.88)),
    var(--paper-ground-image);
  background-position: center;
  background-size: 420px auto;
  content: "";
}

.layer-section-body p,
.country-section-body p {
  max-width: 840px;
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.66;
  color: var(--ink);
}

.layer-section-body p:last-child,
.country-section-body p:last-child {
  margin-bottom: 0;
}

.layer-section-body .text-link,
.country-section-body p a,
.country-related-card h3 {
  color: var(--ink);
  border-bottom: 1px solid var(--oxblood);
}

.layer-section-body .text-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 16px;
  padding-bottom: 2px;
}

.layer-cta,
.country-cta-dark {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 72px 0 112px;
  border-top: 0;
  background: var(--deep);
  color: var(--white);
}

.layer-cta::before,
.country-cta-dark::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 29, 40, 0.18), rgba(21, 29, 40, 0.30)),
    var(--cta-bg-image);
  background-position: center;
  background-size: cover;
  content: "";
}

.layer-cta > .container,
.country-cta-dark > .container {
  position: relative;
  z-index: 1;
}

.layer-cta .cta-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--white);
}

.layer-cta .cta-band .section-copy {
  margin: 18px 0 0;
  color: #d5dbe2;
  font-size: 18px;
}

.country-tier-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 11px;
  border: 1px solid var(--oxblood);
  color: var(--oxblood);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.country-brief-panel dl div {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.country-brief-panel dl div:first-child {
  padding-top: 0;
  border-top: 0;
}

.country-brief-panel dt {
  margin: 0 0 6px;
  color: var(--oxblood);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.country-brief-panel dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

.country-brief-panel .country-brief-tiles {
  grid-template-columns: 1fr;
}

.country-process-card {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
}

.country-process-card .meta {
  margin-bottom: 18px;
}

.country-process-card ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-process-card li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
}

.country-process-card .country-process-step {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--oxblood);
  color: var(--oxblood);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}

.country-process-card strong {
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.country-process-card p {
  margin: 0;
  grid-column: 2;
  color: var(--moss);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .country-process-card ol {
    grid-template-columns: 1fr;
  }
}

.country-section-material {
  border-top: 0;
  background: var(--deep);
  color: var(--white);
}

.country-section-material::before {
  inset: 0;
  width: auto;
  background-image:
    linear-gradient(90deg, rgba(21, 29, 40, 0.78), rgba(21, 29, 40, 0.44)),
    var(--country-material-image);
  background-position: center, var(--country-section-position, center);
  background-size: cover, var(--country-section-size, cover);
  opacity: 1;
}

.country-section-material .country-section-grid::after {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(21, 29, 40, 0.04), rgba(21, 29, 40, 0.16)),
    var(--country-insert-image),
    rgba(250, 250, 248, 0.92);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.country-section-material::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--country-accent, var(--oxblood));
  content: "";
}

.country-section-material .country-section-number {
  color: var(--country-accent, var(--oxblood));
}

.country-section-material .country-section-aside h2 {
  color: var(--mist);
}

.country-section-material .country-section-body {
  border-left-color: var(--country-accent, var(--oxblood));
  background: var(--archive-white);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
}

.country-context {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
  background: linear-gradient(rgba(236, 239, 234, 0.5), rgba(236, 239, 234, 0.6)), var(--archive-white);
  border-bottom: 1px solid var(--rule);
}

.country-context::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(22vw, 280px);
  height: 100%;
  background-image:
    linear-gradient(rgba(236, 239, 234, 0.42), rgba(250, 250, 248, 0.78)),
    var(--country-insert-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.1;
}

.country-context-grid {
  display: grid;
  grid-template-columns: 180px repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.country-context-grid > .meta {
  grid-row: 1 / -1;
}

.country-context-card {
  min-height: 100%;
  border-left: 2px solid rgba(123, 78, 72, 0.42);
  padding-left: 22px;
}

.country-context-card p {
  margin: 0;
  color: var(--moss);
  font-size: 17px;
  line-height: 1.58;
}

.country-section-body h3 {
  margin: 34px 0 12px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.country-section-body h4 {
  margin: 28px 0 10px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.24;
  color: var(--ink);
}

.article-table-wrap {
  margin: 28px 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-image:
    linear-gradient(to right, var(--archive-white), rgba(250, 250, 248, 0)),
    linear-gradient(to left, var(--archive-white), rgba(250, 250, 248, 0)),
    linear-gradient(to right, rgba(21, 29, 40, 0.16), rgba(21, 29, 40, 0)),
    linear-gradient(to left, rgba(21, 29, 40, 0.16), rgba(21, 29, 40, 0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 24px 100%, 24px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}

.article-table-wrap > .article-table {
  min-width: 720px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.article-table caption {
  margin-bottom: 8px;
  text-align: left;
  color: var(--moss);
  font-size: 14px;
  font-style: italic;
}

.article-table th,
.article-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  color: var(--ink);
}

.country-section-body .article-table th:nth-child(2),
.country-section-body .article-table td:nth-child(2) {
  white-space: nowrap;
  text-align: left;
}

.article-table th {
  background: rgba(123, 78, 72, 0.06);
  border-bottom: 1px solid var(--oxblood);
  font-weight: 700;
}

.article-table tr.etalon td {
  background: rgba(123, 78, 72, 0.08);
  font-weight: 700;
}

.country-section-body ul,
.country-section-body ol {
  max-width: 760px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.country-section-body li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.58;
  color: var(--ink);
}

.country-section-body li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--oxblood);
  content: "";
}

.country-related {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  background: var(--archive-white);
  background-position: center;
  background-size: cover;
}

.country-related::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(30vw, 430px);
  background-image:
    linear-gradient(rgba(250, 250, 248, 0.48), rgba(250, 250, 248, 0.18)),
    var(--country-insert-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.14;
}

.country-related h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.14;
}

.country-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.country-related-card {
  display: block;
  min-height: 210px;
  border: 1px solid var(--rule);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(250, 250, 248, 0.86)),
    var(--paper-ground-image),
    var(--white);
  background-position: center;
  background-size: cover;
  padding: 24px;
  color: inherit;
  box-shadow: 0 16px 46px rgba(21, 29, 40, 0.05);
}

.country-related-card-muted {
  background: rgba(236, 239, 234, 0.56);
}

.country-related-card h3 {
  width: fit-content;
  margin: 18px 0 12px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}

.country-related-card p {
  margin: 0;
  color: var(--moss);
  line-height: 1.55;
}

.country-cta-band {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.country-cta-band p {
  margin: 0;
  max-width: 760px;
  color: #d5dbe2;
  font-size: 19px;
  line-height: 1.58;
}

.placeholder-card {
  max-width: 820px;
  border: 1px solid var(--rule);
  background: var(--white);
  padding: 36px;
}

.placeholder-card h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.06;
}

.placeholder-card p {
  margin: 0 0 18px;
  color: var(--moss);
  font-size: 18px;
  line-height: 1.6;
}

@keyframes emetFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-grid,
  .section > .container {
    animation: emetFadeIn 520ms ease both;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.article-page {
  background: var(--archive-white);
}

.article-hero {
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--oxblood);
  background:
    linear-gradient(rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    var(--archive-white);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 64px;
  align-items: end;
}

.article-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 58px;
  font-weight: 500;
  line-height: 1.06;
}

.article-lede {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--moss);
  font-family: var(--display);
  font-size: 25px;
  font-style: italic;
  line-height: 1.42;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.4;
}

.article-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  background:
    radial-gradient(circle at 72% 28%, rgba(123, 78, 72, 0.18), transparent 24%),
    linear-gradient(145deg, #f6f3ee, #e8ece7 52%, #2a322f 53%, #151d28);
}

.article-cover-image {
  background: var(--soft-sage);
}

.article-cover picture,
.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
}

.article-cover img {
  min-height: 100%;
  object-fit: cover;
}

.cover-line {
  position: absolute;
  height: 1px;
  background: rgba(123, 78, 72, 0.78);
  transform-origin: left center;
}

.cover-line-one {
  width: 72%;
  left: 16%;
  top: 38%;
  transform: rotate(-18deg);
}

.cover-line-two {
  width: 58%;
  left: 20%;
  top: 62%;
  background: rgba(250, 250, 248, 0.54);
  transform: rotate(24deg);
}

.cover-node {
  position: absolute;
  left: 54%;
  top: 48%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--oxblood);
  background: var(--archive-white);
}

.article-shell {
  padding: 72px 0 112px;
}

.article-body {
  max-width: 780px;
}

.article-body h2,
.article-body h3 {
  margin: 52px 0 18px;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.14;
}

.article-body h2 {
  font-size: 36px;
}

.article-body h3 {
  font-size: 27px;
}

.article-body p,
.article-body li {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.72;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding-left: 24px;
}

.article-body blockquote {
  margin: 42px 0;
  border-left: 3px solid var(--oxblood);
  padding: 8px 0 8px 28px;
  color: var(--moss);
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  line-height: 1.42;
}

.article-body a {
  color: var(--oxblood);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 780px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.article-tag {
  border: 1px solid var(--rule);
  padding: 8px 11px;
  color: var(--moss);
  font-size: 14px;
  line-height: 1.2;
  background: transparent;
  font-family: inherit;
  display: inline-block;
}

.article-tag:hover {
  border-color: var(--oxblood);
  color: var(--oxblood);
}

button.article-tag,
button.article-tag-glossary {
  cursor: pointer;
}

button.article-tag-glossary::after {
  content: "?";
  display: inline-block;
  margin-left: 6px;
  width: 14px;
  height: 14px;
  line-height: 14px;
  font-size: 11px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  vertical-align: 1px;
  opacity: 0.6;
}

.country-topics {
  padding: 56px 0 0;
}

.country-topics-inner {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.country-topics-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.country-topics-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 720px) {
  .country-topics {
    padding-top: 36px;
  }

  .country-topics-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.glossary-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 560px;
  width: calc(100% - 32px);
  color: inherit;
}

.glossary-dialog::backdrop {
  background: rgba(20, 20, 16, 0.55);
}

.glossary-dialog-inner {
  background: var(--paper, #faf7f1);
  border: 1px solid var(--rule);
  padding: 28px 32px 32px;
  box-shadow: 0 18px 48px rgba(20, 20, 16, 0.18);
}

.glossary-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.glossary-dialog-header h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.glossary-dialog-close {
  flex: 0 0 auto;
  border: 1px solid var(--rule);
  background: transparent;
  width: 32px;
  height: 32px;
  font-size: 22px;
  line-height: 1;
  color: var(--moss);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.glossary-dialog-close:hover {
  border-color: var(--oxblood);
  color: var(--oxblood);
}

.glossary-dialog-body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.glossary-dialog-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .glossary-dialog-inner {
    padding: 22px 22px 24px;
  }

  .glossary-dialog-header h3 {
    font-size: 19px;
  }

  .glossary-dialog-body p {
    font-size: 14.5px;
  }
}

.related-materials {
  margin-top: 86px;
  padding-top: 70px;
  border-top: 1px solid var(--rule);
}

.compact-section-grid {
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 48px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.related-card {
  border: 1px solid var(--rule);
  background: var(--white);
  padding: 26px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.related-card:hover {
  border-color: var(--oxblood);
  transform: translateY(-1px);
}

.related-card h3 {
  margin: 16px 0 12px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.related-card p {
  margin: 0;
  color: var(--moss);
  line-height: 1.58;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 86px;
  background: var(--deep);
  color: var(--white);
  padding: 38px;
}

.article-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.article-cta p {
  max-width: 680px;
  margin: 16px 0 0;
  color: #d5dbe2;
  font-size: 17px;
  line-height: 1.56;
}

.contact-page {
  padding: 0 0 112px;
}

.contact-page h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
}

.contact-hero-partner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 16px;
}

.contact-partner-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.contact-partner-portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft-sage);
}

.contact-partner-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contact-partner-text h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.12;
}

.contact-partner-text p {
  margin: 0;
  color: var(--moss);
  font-size: 17px;
  line-height: 1.58;
}

.contact-block {
  border-top: 2px solid var(--oxblood);
  padding-top: 28px;
}

.contact-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.4;
}

.contact-heading span {
  color: var(--moss);
  font-size: 17px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}

.contact-row dt,
.contact-row dd {
  margin: 0;
}

.contact-row dt a {
  color: var(--oxblood);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-row dd a {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.contact-row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1023px) {
  .layer-section-grid,
  .country-section-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .country-section-visual-spine .country-section-grid::after,
  .country-section-visual-tab .country-section-grid::after,
  .country-section-visual-process .country-section-grid::after {
    position: static;
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
    margin-top: 0;
  }

  .country-section-visual-spine .country-section-grid::before,
  .country-section-visual-tab .country-section-grid::before,
  .country-section-visual-process .country-section-grid::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .container {
    /* Drop the 688px cap — text well stretches to viewport (minus minimal gutters)
       so wider phones / small tablets don't get oversize white margins on the sides. */
    width: calc(100vw - 48px);
  }

  .nav-bar {
    min-height: 70px;
  }

  .desktop-nav,
  .language-switcher.desktop-only {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-menu {
    display: none;
    border-top: 1px solid var(--rule);
    background: var(--archive-white);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu-inner {
    display: grid;
    gap: 4px;
    padding: 16px 0 24px;
  }

  .mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
    font-size: 18px;
  }

  .mobile-languages {
    display: flex;
    gap: 18px;
    margin-top: 14px;
  }

  .hero-grid,
  .article-hero-grid,
  .layer-intro-grid,
  .layer-section-grid,
  .country-hero-grid,
  .country-section-grid,
  .section-grid,
  .tenure-grid,
  .proof-grid,
  .fit-grid,
  .practice-layout,
  .case-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero {
    padding: 76px 0 88px;
  }

  .hero h1 {
    font-size: 52px;
    line-height: 1.06;
  }

  .lead {
    font-size: 20px;
  }

  .section {
    padding: 88px 0;
  }

  .section h2,
  .section-title {
    font-size: 36px;
  }

  .section-copy {
    font-size: 17px;
  }

  .portrait-wrap {
    max-height: 430px;
  }

  .country-card {
    grid-template-columns: 148px minmax(0, 1fr);
  }

  .resource-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-hero {
    padding: 72px 0 62px;
  }

  .article-hero h1 {
    font-size: 46px;
  }

  .article-cover {
    min-height: 320px;
  }

  .article-shell {
    padding: 62px 0 88px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .layer-intro,
  .country-hero {
    padding: 76px 0 56px;
  }

  .layer-index-panel,
  .country-brief-panel {
    padding: 24px;
  }

  .layer-section,
  .country-section,
  .country-related {
    padding: 58px 0;
  }

  .layer-section-aside,
  .country-section-aside {
    position: static;
  }

  .layer-section-body,
  .country-section-body {
    padding-left: 24px;
  }

  .country-context-grid,
  .country-related-grid {
    grid-template-columns: 1fr;
  }

  .country-context-grid > .meta {
    margin-bottom: 4px;
  }

  .article-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    /* Drop the 335px cap — phones are 360-430px wide, the cap was creating 25-50px
       dead margins on the sides. Now stretches to viewport minus 16px gutters each side. */
    width: calc(100vw - 32px);
  }

  .brand {
    font-size: 24px;
  }

  .hero {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .article-hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }

  .article-lede {
    font-size: 21px;
  }

  .lead {
    font-size: 18px;
    line-height: 1.5;
  }

  .client-note {
    padding: 22px;
  }

  .client-note p {
    font-size: 17px;
  }

  .section {
    padding: 64px 0;
  }

  .section h2,
  .section-title {
    font-size: 30px;
    line-height: 1.15;
  }

  .tenure-number {
    font-size: 128px;
  }

  .partner-card-content,
  .fit-card,
  .country-card,
  .case-card,
  .resource-row,
  .related-card,
  .placeholder-card {
    padding: 22px;
  }

  .article-cover {
    min-height: 240px;
  }

  .article-body h2 {
    font-size: 30px;
  }

  .article-body h3 {
    font-size: 24px;
  }

  .article-body p,
  .article-body li {
    font-size: 17px;
  }

  .article-body blockquote {
    padding-left: 20px;
    font-size: 23px;
  }

  .article-cta {
    padding: 26px;
  }

  .article-cta h2 {
    font-size: 28px;
  }

  .contact-hero-partner,
  .contact-partner-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-partner-portrait {
    max-width: 240px;
  }

  .layer-intro--contact-gesture {
    overflow: visible;
    padding-bottom: 64px;
  }

  .contact-page h1 {
    font-size: 42px;
  }

  .country-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .country-card h3 {
    font-size: 22px;
  }

  .map-panel {
    min-height: 0;
    padding: 22px;
  }

  .case-card {
    min-height: auto;
  }

  .resource-row h3 {
    font-size: 22px;
  }

  .button {
    width: 100%;
  }

  .placeholder-card h1 {
    font-size: 36px;
    font-weight: 500;
  }

  .about-page h1 {
    font-size: 42px;
  }

  .layer-intro h1,
  .country-page h1 {
    font-size: 42px;
  }

  .layer-section h2,
  .country-section h2,
  .layer-cta .cta-band h2 {
    font-size: 30px;
  }

  .layer-intro .lead,
  .country-lead p {
    font-size: 18px;
  }

  .layer-section-body,
  .country-section-body {
    border-left-width: 1px;
    padding: 24px;
  }

  .layer-section-body p,
  .country-section-body p,
  .country-section-body li {
    font-size: 17px;
  }

  .layer-cta,
  .country-cta {
    padding: 48px 0 80px;
  }

  .layer-index-panel,
  .country-brief-panel,
  .country-related-card {
    padding: 22px;
  }

  .country-related-card {
    min-height: auto;
  }

  .country-section-body h3 {
    font-size: 20px;
  }

  .country-cta-band {
    flex-direction: column;
    gap: 24px;
  }

  .country-cta {
    padding: 48px 0 80px;
  }

  /* Mobile: hide all decorative country section inserts */
  .country-section-visual-spine .country-section-grid::after,
  .country-section-visual-tab .country-section-grid::after,
  .country-section-visual-process .country-section-grid::after {
    display: none;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 36px;
  }
}

/* Approach hero dossier overlay — blank field + 3-state opacity assembly. Spec: docs/approach-hero-dossier-animation-spec-v1.md */

.layer-page-approach .layer-intro-grid,
.layer-page-about .layer-intro-grid {
  grid-template-columns: 1fr;
}

.layer-intro--approach-dossier {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    url('/assets/visual-v2/final-4k/paper-only-no-feather-q1-4k.webp'),
    var(--paper-cream);
  background-size: auto, cover, auto;
  background-position: center, center top, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.approach-dossier-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.approach-dossier-state {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  will-change: opacity;
}

.approach-dossier-state--one {
  background-image: url("/assets/visual-v2/final-4k/approach-hero-dossier-state-1-4k.webp");
}

.approach-dossier-state--two {
  background-image: url("/assets/visual-v2/final-4k/approach-hero-dossier-state-2-4k.webp");
}

.approach-dossier-state--three {
  background-image: url("/assets/visual-v2/final-4k/approach-hero-dossier-state-3-4k.webp");
}

@media (max-width: 767px) {
  .approach-dossier-state--one {
    background-image: url("/assets/visual-v2/final-4k/approach-hero-dossier-state-1-mobile.webp");
  }
  .approach-dossier-state--two {
    background-image: url("/assets/visual-v2/final-4k/approach-hero-dossier-state-2-mobile.webp");
  }
  .approach-dossier-state--three {
    background-image: url("/assets/visual-v2/final-4k/approach-hero-dossier-state-3-mobile.webp");
  }
}

.layer-intro--approach-dossier .layer-intro-grid {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .layer-intro--approach-dossier.is-animated .approach-dossier-state--one {
    animation: approachDossierReveal 520ms cubic-bezier(0.2, 0, 0.2, 1) 220ms both;
  }
  .layer-intro--approach-dossier.is-animated .approach-dossier-state--two {
    animation: approachDossierReveal 620ms cubic-bezier(0.2, 0, 0.2, 1) 760ms both;
  }
  .layer-intro--approach-dossier.is-animated .approach-dossier-state--three {
    animation: approachDossierReveal 760ms cubic-bezier(0.2, 0, 0.2, 1) 1320ms both;
  }
}

@keyframes approachDossierReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .approach-dossier-state--three {
    opacity: 1;
  }
}

/* About hero — Direction B: Concentric rings */
.layer-intro--approach-gesture {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    url('/assets/visual-v2/final-4k/paper-only-no-feather-q1-4k.webp'),
    var(--paper-cream);
  background-size: auto, cover, auto;
  background-position: center, center top, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.approach-gesture-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.approach-gesture-whitewash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--archive-white);
  opacity: 1;
}

.approach-gesture-state {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: opacity;
}

.approach-gesture-state--two {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-a-plane-arc-state-2.svg");
}

.approach-gesture-state--three {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-a-plane-arc-state-3.svg");
}

.layer-intro--approach-gesture .layer-intro-grid {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .layer-intro--approach-gesture.is-animated .approach-gesture-whitewash {
    animation: approachGestureWhitewash 500ms cubic-bezier(0.2, 0, 0.2, 1) 260ms both;
  }
  .layer-intro--approach-gesture.is-animated .approach-gesture-state--two {
    animation: approachGestureReveal 560ms cubic-bezier(0.2, 0, 0.2, 1) 420ms both;
  }
  .layer-intro--approach-gesture.is-animated .approach-gesture-state--three {
    animation: approachGestureReveal 580ms cubic-bezier(0.2, 0, 0.2, 1) 980ms both;
  }
}

@keyframes approachGestureWhitewash {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes approachGestureReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .approach-gesture-whitewash {
    opacity: 0;
  }
  .approach-gesture-state--three {
    opacity: 1;
  }
}

/* About hero — Direction B: Concentric rings */
.layer-intro--about-gesture {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    url('/assets/visual-v2/final-4k/paper-only-no-feather-q1-4k.webp'),
    var(--paper-cream);
  background-size: auto, cover, auto;
  background-position: center, center top, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.about-gesture-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about-gesture-whitewash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--archive-white);
  opacity: 1;
}

.about-gesture-state {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  will-change: opacity;
}

.about-gesture-state--two {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-b-rings-state-2.svg");
}

.about-gesture-state--three {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-b-rings-state-3.svg");
}

.layer-intro--about-gesture .layer-intro-grid {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .layer-intro--about-gesture.is-animated .about-gesture-whitewash {
    animation: aboutGestureWhitewash 500ms cubic-bezier(0.2, 0, 0.2, 1) 260ms both;
  }
  .layer-intro--about-gesture.is-animated .about-gesture-state--two {
    animation: aboutGestureReveal 560ms cubic-bezier(0.2, 0, 0.2, 1) 420ms both;
  }
  .layer-intro--about-gesture.is-animated .about-gesture-state--three {
    animation: aboutGestureReveal 580ms cubic-bezier(0.2, 0, 0.2, 1) 980ms both;
  }
}

@keyframes aboutGestureWhitewash {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes aboutGestureReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .about-gesture-whitewash {
    opacity: 0;
  }
  .about-gesture-state--three {
    opacity: 1;
  }
}

/* Cases hero — Direction E: Stepped panels */
.layer-intro--cases-gesture {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    url('/assets/visual-v2/final-4k/paper-only-no-feather-q1-4k.webp'),
    var(--paper-cream);
  background-size: auto, cover, auto;
  background-position: center, center top, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.cases-gesture-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cases-gesture-whitewash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--archive-white);
  opacity: 1;
}

.cases-gesture-state {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: opacity;
}

.cases-gesture-state--two {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-e-frames-state-2.svg");
}

.cases-gesture-state--three {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-e-frames-state-3.svg");
}

.layer-intro--cases-gesture .layer-intro-grid {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .layer-intro--cases-gesture.is-animated .cases-gesture-whitewash {
    animation: casesGestureWhitewash 500ms cubic-bezier(0.2, 0, 0.2, 1) 260ms both;
  }
  .layer-intro--cases-gesture.is-animated .cases-gesture-state--two {
    animation: casesGestureReveal 560ms cubic-bezier(0.2, 0, 0.2, 1) 420ms both;
  }
  .layer-intro--cases-gesture.is-animated .cases-gesture-state--three {
    animation: casesGestureReveal 580ms cubic-bezier(0.2, 0, 0.2, 1) 980ms both;
  }
}

@keyframes casesGestureWhitewash {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes casesGestureReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cases-gesture-whitewash {
    opacity: 0;
  }
  .cases-gesture-state--three {
    opacity: 1;
  }
}

/* Contact hero — Direction F: Register bands */
.layer-intro--contact-gesture {
  position: relative;
  overflow: hidden;
  padding-bottom: 72px;
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    url('/assets/visual-v2/final-4k/paper-only-no-feather-q1-4k.webp'),
    var(--paper-cream);
  background-size: auto, cover, auto;
  background-position: center, center top, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.contact-gesture-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.contact-gesture-whitewash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--archive-white);
  opacity: 1;
}

.contact-gesture-state {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: opacity;
}

.contact-gesture-state--two {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-f-register-state-2.svg");
}

.contact-gesture-state--three {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-f-register-state-3.svg");
}

.layer-intro--contact-gesture .layer-intro-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 520px) {
  .layer-intro--contact-gesture {
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 72px;
  }
  .contact-gesture-stage {
    bottom: auto;
    top: 0;
    height: 150px;
  }
  .contact-gesture-whitewash {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .layer-intro--contact-gesture.is-animated .contact-gesture-whitewash {
    animation: contactGestureWhitewash 500ms cubic-bezier(0.2, 0, 0.2, 1) 260ms both;
  }
  .layer-intro--contact-gesture.is-animated .contact-gesture-state--two {
    animation: contactGestureReveal 560ms cubic-bezier(0.2, 0, 0.2, 1) 420ms both;
  }
  .layer-intro--contact-gesture.is-animated .contact-gesture-state--three {
    animation: contactGestureReveal 580ms cubic-bezier(0.2, 0, 0.2, 1) 980ms both;
  }
}

@keyframes contactGestureWhitewash {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes contactGestureReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-gesture-whitewash {
    opacity: 0;
  }
  .contact-gesture-state--three {
    opacity: 1;
  }
}

/* Resources hero — Direction G: Notched grid */
.layer-intro--resources-gesture {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 246, 234, 0.18), rgba(250, 250, 248, 0.12)),
    url('/assets/visual-v2/final-4k/paper-only-no-feather-q1-4k.webp'),
    var(--paper-cream);
  background-size: auto, cover, auto;
  background-position: center, center top, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.resources-gesture-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.resources-gesture-whitewash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--archive-white);
  opacity: 1;
}

.resources-gesture-state {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: opacity;
}

.resources-gesture-state--two {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-g-notched-grid-state-2.svg");
}

.resources-gesture-state--three {
  background-image: url("/assets/visual-v2/approach-hero-concepts/concept-g-notched-grid-state-3.svg");
}

.layer-intro--resources-gesture .layer-intro-grid {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .layer-intro--resources-gesture.is-animated .resources-gesture-whitewash {
    animation: resourcesGestureWhitewash 500ms cubic-bezier(0.2, 0, 0.2, 1) 260ms both;
  }
  .layer-intro--resources-gesture.is-animated .resources-gesture-state--two {
    animation: resourcesGestureReveal 560ms cubic-bezier(0.2, 0, 0.2, 1) 420ms both;
  }
  .layer-intro--resources-gesture.is-animated .resources-gesture-state--three {
    animation: resourcesGestureReveal 580ms cubic-bezier(0.2, 0, 0.2, 1) 980ms both;
  }
}

@keyframes resourcesGestureWhitewash {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes resourcesGestureReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .resources-gesture-whitewash {
    opacity: 0;
  }
  .resources-gesture-state--three {
    opacity: 1;
  }
}

/* === bidirectional country highlight (generated) === */

@media (hover: hover) {
  .practice-layout:has(.country-card[data-country="spain"]:hover) g[data-country="spain"],
  .practice-layout:has(.country-card[data-country="spain"]:focus-visible) g[data-country="spain"],
  .practice-layout:has(g[data-country="spain"]:hover) g[data-country="spain"] {
    opacity: 1;
  }
  .practice-layout:has(.country-card[data-country="spain"]:hover) g[data-country="spain"] circle.map-node,
  .practice-layout:has(.country-card[data-country="spain"]:focus-visible) g[data-country="spain"] circle.map-node,
  .practice-layout:has(g[data-country="spain"]:hover) g[data-country="spain"] circle.map-node {
    fill: var(--oxblood);
    r: 9;
    stroke: var(--oxblood);
    stroke-width: 2;
  }
  .practice-layout:has(.country-card[data-country="spain"]:hover) g[data-country="spain"] text.map-label,
  .practice-layout:has(.country-card[data-country="spain"]:focus-visible) g[data-country="spain"] text.map-label,
  .practice-layout:has(g[data-country="spain"]:hover) g[data-country="spain"] text.map-label {
    fill: var(--oxblood);
    font-weight: 700;
  }
  .practice-layout:has(g[data-country="spain"]:hover) .country-card[data-country="spain"] {
    opacity: 1;
    border-color: var(--oxblood);
    background: var(--soft-sage);
  }
}

@media (hover: hover) {
  .practice-layout:has(.country-card[data-country="cyprus"]:hover) g[data-country="cyprus"],
  .practice-layout:has(.country-card[data-country="cyprus"]:focus-visible) g[data-country="cyprus"],
  .practice-layout:has(g[data-country="cyprus"]:hover) g[data-country="cyprus"] {
    opacity: 1;
  }
  .practice-layout:has(.country-card[data-country="cyprus"]:hover) g[data-country="cyprus"] circle.map-node,
  .practice-layout:has(.country-card[data-country="cyprus"]:focus-visible) g[data-country="cyprus"] circle.map-node,
  .practice-layout:has(g[data-country="cyprus"]:hover) g[data-country="cyprus"] circle.map-node {
    fill: var(--oxblood);
    r: 9;
    stroke: var(--oxblood);
    stroke-width: 2;
  }
  .practice-layout:has(.country-card[data-country="cyprus"]:hover) g[data-country="cyprus"] text.map-label,
  .practice-layout:has(.country-card[data-country="cyprus"]:focus-visible) g[data-country="cyprus"] text.map-label,
  .practice-layout:has(g[data-country="cyprus"]:hover) g[data-country="cyprus"] text.map-label {
    fill: var(--oxblood);
    font-weight: 700;
  }
  .practice-layout:has(g[data-country="cyprus"]:hover) .country-card[data-country="cyprus"] {
    opacity: 1;
    border-color: var(--oxblood);
    background: var(--soft-sage);
  }
}

@media (hover: hover) {
  .practice-layout:has(.country-card[data-country="italy"]:hover) g[data-country="italy"],
  .practice-layout:has(.country-card[data-country="italy"]:focus-visible) g[data-country="italy"],
  .practice-layout:has(g[data-country="italy"]:hover) g[data-country="italy"] {
    opacity: 1;
  }
  .practice-layout:has(.country-card[data-country="italy"]:hover) g[data-country="italy"] circle.map-node,
  .practice-layout:has(.country-card[data-country="italy"]:focus-visible) g[data-country="italy"] circle.map-node,
  .practice-layout:has(g[data-country="italy"]:hover) g[data-country="italy"] circle.map-node {
    fill: var(--oxblood);
    r: 9;
    stroke: var(--oxblood);
    stroke-width: 2;
  }
  .practice-layout:has(.country-card[data-country="italy"]:hover) g[data-country="italy"] text.map-label,
  .practice-layout:has(.country-card[data-country="italy"]:focus-visible) g[data-country="italy"] text.map-label,
  .practice-layout:has(g[data-country="italy"]:hover) g[data-country="italy"] text.map-label {
    fill: var(--oxblood);
    font-weight: 700;
  }
  .practice-layout:has(g[data-country="italy"]:hover) .country-card[data-country="italy"] {
    opacity: 1;
    border-color: var(--oxblood);
    background: var(--soft-sage);
  }
}

@media (hover: hover) {
  .practice-layout:has(.country-card[data-country="germany"]:hover) g[data-country="germany"],
  .practice-layout:has(.country-card[data-country="germany"]:focus-visible) g[data-country="germany"],
  .practice-layout:has(g[data-country="germany"]:hover) g[data-country="germany"] {
    opacity: 1;
  }
  .practice-layout:has(.country-card[data-country="germany"]:hover) g[data-country="germany"] circle.map-node,
  .practice-layout:has(.country-card[data-country="germany"]:focus-visible) g[data-country="germany"] circle.map-node,
  .practice-layout:has(g[data-country="germany"]:hover) g[data-country="germany"] circle.map-node {
    fill: var(--oxblood);
    r: 9;
    stroke: var(--oxblood);
    stroke-width: 2;
  }
  .practice-layout:has(.country-card[data-country="germany"]:hover) g[data-country="germany"] text.map-label,
  .practice-layout:has(.country-card[data-country="germany"]:focus-visible) g[data-country="germany"] text.map-label,
  .practice-layout:has(g[data-country="germany"]:hover) g[data-country="germany"] text.map-label {
    fill: var(--oxblood);
    font-weight: 700;
  }
  .practice-layout:has(g[data-country="germany"]:hover) .country-card[data-country="germany"] {
    opacity: 1;
    border-color: var(--oxblood);
    background: var(--soft-sage);
  }
}

@media (hover: hover) {
  .practice-layout:has(.country-card[data-country="portugal"]:hover) g[data-country="portugal"],
  .practice-layout:has(.country-card[data-country="portugal"]:focus-visible) g[data-country="portugal"],
  .practice-layout:has(g[data-country="portugal"]:hover) g[data-country="portugal"] {
    opacity: 1;
  }
  .practice-layout:has(.country-card[data-country="portugal"]:hover) g[data-country="portugal"] circle.map-node,
  .practice-layout:has(.country-card[data-country="portugal"]:focus-visible) g[data-country="portugal"] circle.map-node,
  .practice-layout:has(g[data-country="portugal"]:hover) g[data-country="portugal"] circle.map-node {
    fill: var(--oxblood);
    r: 9;
    stroke: var(--oxblood);
    stroke-width: 2;
  }
  .practice-layout:has(.country-card[data-country="portugal"]:hover) g[data-country="portugal"] text.map-label,
  .practice-layout:has(.country-card[data-country="portugal"]:focus-visible) g[data-country="portugal"] text.map-label,
  .practice-layout:has(g[data-country="portugal"]:hover) g[data-country="portugal"] text.map-label {
    fill: var(--oxblood);
    font-weight: 700;
  }
  .practice-layout:has(g[data-country="portugal"]:hover) .country-card[data-country="portugal"] {
    opacity: 1;
    border-color: var(--oxblood);
    background: var(--soft-sage);
  }
}

@media (hover: hover) {
  .practice-layout:has(.country-card[data-country="switzerland"]:hover) g[data-country="switzerland"],
  .practice-layout:has(.country-card[data-country="switzerland"]:focus-visible) g[data-country="switzerland"],
  .practice-layout:has(g[data-country="switzerland"]:hover) g[data-country="switzerland"] {
    opacity: 1;
  }
  .practice-layout:has(.country-card[data-country="switzerland"]:hover) g[data-country="switzerland"] circle.map-node,
  .practice-layout:has(.country-card[data-country="switzerland"]:focus-visible) g[data-country="switzerland"] circle.map-node,
  .practice-layout:has(g[data-country="switzerland"]:hover) g[data-country="switzerland"] circle.map-node {
    fill: var(--oxblood);
    r: 9;
    stroke: var(--oxblood);
    stroke-width: 2;
  }
  .practice-layout:has(.country-card[data-country="switzerland"]:hover) g[data-country="switzerland"] text.map-label,
  .practice-layout:has(.country-card[data-country="switzerland"]:focus-visible) g[data-country="switzerland"] text.map-label,
  .practice-layout:has(g[data-country="switzerland"]:hover) g[data-country="switzerland"] text.map-label {
    fill: var(--oxblood);
    font-weight: 700;
  }
  .practice-layout:has(g[data-country="switzerland"]:hover) .country-card[data-country="switzerland"] {
    opacity: 1;
    border-color: var(--oxblood);
    background: var(--soft-sage);
  }
}

@media (hover: hover) {
  .practice-layout:has(.country-card[data-country="greece"]:hover) g[data-country="greece"],
  .practice-layout:has(.country-card[data-country="greece"]:focus-visible) g[data-country="greece"],
  .practice-layout:has(g[data-country="greece"]:hover) g[data-country="greece"] {
    opacity: 1;
  }
  .practice-layout:has(.country-card[data-country="greece"]:hover) g[data-country="greece"] circle.map-node,
  .practice-layout:has(.country-card[data-country="greece"]:focus-visible) g[data-country="greece"] circle.map-node,
  .practice-layout:has(g[data-country="greece"]:hover) g[data-country="greece"] circle.map-node {
    fill: var(--oxblood);
    r: 9;
    stroke: var(--oxblood);
    stroke-width: 2;
  }
  .practice-layout:has(.country-card[data-country="greece"]:hover) g[data-country="greece"] text.map-label,
  .practice-layout:has(.country-card[data-country="greece"]:focus-visible) g[data-country="greece"] text.map-label,
  .practice-layout:has(g[data-country="greece"]:hover) g[data-country="greece"] text.map-label {
    fill: var(--oxblood);
    font-weight: 700;
  }
  .practice-layout:has(g[data-country="greece"]:hover) .country-card[data-country="greece"] {
    opacity: 1;
    border-color: var(--oxblood);
    background: var(--soft-sage);
  }
}

@media (hover: hover) {
  .practice-layout:has(.country-card[data-country="montenegro"]:hover) g[data-country="montenegro"],
  .practice-layout:has(.country-card[data-country="montenegro"]:focus-visible) g[data-country="montenegro"],
  .practice-layout:has(g[data-country="montenegro"]:hover) g[data-country="montenegro"] {
    opacity: 1;
  }
  .practice-layout:has(.country-card[data-country="montenegro"]:hover) g[data-country="montenegro"] circle.map-node,
  .practice-layout:has(.country-card[data-country="montenegro"]:focus-visible) g[data-country="montenegro"] circle.map-node,
  .practice-layout:has(g[data-country="montenegro"]:hover) g[data-country="montenegro"] circle.map-node {
    fill: var(--oxblood);
    r: 9;
    stroke: var(--oxblood);
    stroke-width: 2;
  }
  .practice-layout:has(.country-card[data-country="montenegro"]:hover) g[data-country="montenegro"] text.map-label,
  .practice-layout:has(.country-card[data-country="montenegro"]:focus-visible) g[data-country="montenegro"] text.map-label,
  .practice-layout:has(g[data-country="montenegro"]:hover) g[data-country="montenegro"] text.map-label {
    fill: var(--oxblood);
    font-weight: 700;
  }
  .practice-layout:has(g[data-country="montenegro"]:hover) .country-card[data-country="montenegro"] {
    opacity: 1;
    border-color: var(--oxblood);
    background: var(--soft-sage);
  }
}
