:root {
  --ink: #172019;
  --muted: #5f6d63;
  --surface: #ffffff;
  --surface-soft: #f5f8f4;
  --surface-warm: #fbf7f0;
  --line: #dfe7df;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(23, 32, 25, 0.08);
  --shadow-md: 0 18px 50px rgba(23, 32, 25, 0.14);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --container: 82rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family:
    var(--font-main),
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 70%, #ffffff);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

.site-container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

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

.section-warm {
  background: var(--surface-warm);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 24%, transparent);
  color: var(--white);
}

.button-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.button-secondary {
  background: var(--secondary);
  color: var(--white);
}

.button-secondary:hover {
  background: color-mix(in srgb, var(--secondary) 84%, #000000);
  color: var(--white);
}

.button-outline {
  border-color: color-mix(in srgb, var(--secondary) 25%, transparent);
  background: transparent;
  color: var(--secondary);
}

.button-outline:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--secondary);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(0.25rem);
}

.site-topbar {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
}

.topbar-inner {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-inner p {
  margin: 0;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-contact a {
  color: var(--white);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(23, 32, 25, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  position: relative;
  display: grid;
  min-height: 7rem;
  grid-template-columns: minmax(12rem, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.brand-logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: var(--secondary);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.brand-logo:hover {
  color: var(--primary-dark);
}

.brand-logo img {
  width: auto;            
  height: 6rem;           
  max-width: 15rem;       */
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center; 
  transform-origin: left center;
}

.brand-logo span {
  display: none;          
}

.primary-nav {
  min-width: 0;
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a,
.nav-parent-row > a {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  padding: 0.62rem clamp(0.52rem, 0.75vw, 0.82rem);
  border-radius: 999px;
  color: var(--ink);
  font-size: clamp(0.84rem, 0.75vw, 0.93rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list a[aria-current="page"],
.nav-parent-row > a.nav-section-active,
.nav-list > li > a:hover,
.nav-parent-row > a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.nav-parent-row {
  display: flex;
  align-items: center;
}

.submenu-toggle {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  margin-left: -0.42rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.submenu-toggle svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.nav-has-submenu.submenu-open .submenu-toggle {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  width: min(19rem, 82vw);
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-md);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.5rem);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.submenu a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 0.65rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: normal;
}

.submenu a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.nav-has-submenu.submenu-open > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--secondary);
  content: "";
  transition: transform 0.2s ease;
}

.nav-toggle-bars::before {
  transform: translateY(-0.38rem);
}

.nav-toggle-bars::after {
  transform: translateY(0.26rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-2px) rotate(-45deg);
}

.nav-cta {
  white-space: nowrap;
}

.nav-mobile-cta {
  display: none;
}

@media (min-width: 82.01rem) {
  .nav-has-submenu:hover > .submenu,
  .nav-has-submenu:focus-within > .submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--secondary);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 85% 10%,
    color-mix(in srgb, var(--primary) 45%, transparent),
    transparent 35%
  );
  content: "";
}

.page-hero .site-container {
  position: relative;
}

.page-hero h1,
.page-hero h2 {
  max-width: 54rem;
  color: var(--white);
}

.page-hero p {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.35rem;
  content: "/";
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.content-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.content-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
}

.content-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.content-card:hover .content-card-image img {
  transform: scale(1.045);
}

.content-card-body {
  padding: 1.35rem;
}

.content-card-body h2,
.content-card-body h3 {
  font-size: 1.35rem;
}

.content-card-body h2 a,
.content-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-state {
  padding: 3rem;
  border: 1px dashed color-mix(in srgb, var(--primary) 35%, var(--line));
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  text-align: center;
}

.prose {
  max-width: 48rem;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
}

.prose p,
.prose li {
  color: #3f4c42;
}

.prose img {
  border-radius: var(--radius-md);
}

@media (max-width: 82rem) {
  .nav-container {
    min-height: 5rem;
    grid-template-columns: minmax(0, auto) auto;
    justify-content: space-between;
  }

  .brand-logo img {
    width: auto;
    height: 5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    width: 100vw;
    max-height: calc(100dvh - 7.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -0.75rem);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-list {
    display: block;
    width: min(calc(100% - 2rem), 42rem);
    margin-inline: auto;
    padding: 0.75rem 0 2rem;
    white-space: normal;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list > li > a,
  .nav-parent-row > a {
    min-height: 3.5rem;
    flex: 1;
    padding-inline: 0.15rem;
    border-radius: 0;
    font-size: 1.02rem;
    white-space: normal;
  }

  .nav-list a[aria-current="page"],
  .nav-parent-row > a.nav-section-active,
  .nav-list > li > a:hover,
  .nav-parent-row > a:hover {
    background: transparent;
  }

  .nav-parent-row {
    justify-content: space-between;
  }

  .submenu-toggle {
    width: 3rem;
    height: 3rem;
    margin: 0;
    flex: 0 0 auto;
  }

  .submenu {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 0.85rem 0.8rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-has-submenu.submenu-open > .submenu {
    display: block;
    transform: none;
  }

  .submenu a {
    padding: 0.72rem 0.8rem;
  }

  .nav-mobile-cta {
    display: block;
    padding-top: 1rem;
    border-bottom: 0 !important;
  }

  .nav-list .nav-mobile-cta > a.button {
    width: 100%;
    min-height: 3.2rem;
    justify-content: center;
    padding-inline: 1.25rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
  }

  .card-grid,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 44rem) {
  .site-topbar {
    display: none;
  }

  .primary-nav {
    max-height: calc(100dvh - 5rem);
  }

  .brand-logo span {
    max-width: 10rem;
  }

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

  .footer-bottom,
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding-block: 4rem;
  }
}

@media (max-width: 26rem) {
  .brand-logo span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Journey taxonomy navigation */
.nav-has-mega {
  position: static !important;
}

.mega-submenu {
  left: 50%;
  width: min(76rem, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}

.mega-menu-heading,
.mega-menu-footer {
  grid-column: 1 / -1;
}

.mega-menu-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0.5rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.mega-menu-heading strong {
  color: var(--secondary);
  font-size: 1rem;
}

.mega-menu-heading span {
  color: var(--muted);
  font-size: 0.84rem;
}

.mega-journey-column {
  min-width: 0;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--surface-soft) 64%, white);
}

.submenu .mega-journey-link {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem;
}

.mega-journey-link strong {
  color: var(--secondary);
  font-size: 0.98rem;
}

.mega-journey-link span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.mega-experience-list {
  margin: 0;
  padding: 0 0.35rem 0.45rem;
  list-style: none;
}

.submenu .mega-experience-list a {
  padding: 0.42rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.mega-menu-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.15rem;
}

.submenu .mega-menu-footer a {
  color: var(--primary-dark);
  font-weight: 800;
}

.destination-submenu {
  width: min(25rem, calc(100vw - 2rem));
}

.destination-submenu a {
  display: grid;
  gap: 0.18rem;
}

.destination-submenu a span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.information-submenu {
  width: min(34rem, calc(100vw - 2rem));
  padding: 0.85rem;
}

.information-submenu > li + li {
  margin-top: 0.15rem;
}

.information-submenu a {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0.9rem;
}

.information-submenu a strong {
  color: var(--secondary);
  font-size: 0.92rem;
}

.information-submenu a span {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.42;
}

.information-submenu a[aria-current="page"] strong,
.information-submenu a:hover strong {
  color: var(--primary-dark);
}

.information-submenu-footer {
  margin-top: 0.55rem !important;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.submenu .information-submenu-footer a {
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 82rem) {
  .mega-submenu {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0 0 1rem 0.4rem;
  }

  .nav-has-submenu.submenu-open > .mega-submenu {
    display: grid;
  }

  .mega-menu-heading {
    display: block;
    padding: 0.65rem 0.75rem;
  }

  .mega-menu-heading span {
    display: block;
    margin-top: 0.2rem;
  }

  .mega-journey-column {
    padding: 0.25rem;
  }

  .mega-experience-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 0.5rem;
  }

  .mega-menu-footer {
    justify-content: flex-start;
  }

  .information-submenu {
    width: 100%;
    padding: 0 0 0.9rem 0.4rem;
  }

  .information-submenu > li + li {
    margin-top: 0;
  }

  .information-submenu a {
    padding: 0.72rem 0.8rem;
  }
}

@media (max-width: 38rem) {
  .mega-experience-list {
    grid-template-columns: 1fr;
  }
}

/* Clean responsive global footer */
.site-footer {
  border-top: 0.25rem solid var(--primary);
  background: var(--surface);
  color: var(--muted);
}

.site-footer svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(17rem, 1.45fr) repeat(4, minmax(10rem, 1fr));
  gap: clamp(2rem, 3.4vw, 4.25rem);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.site-footer .footer-main.has-affiliations {
  grid-template-columns: minmax(17rem, 1.45fr) repeat(
      4,
      minmax(9.5rem, 1fr)
    ) minmax(10.5rem, 0.9fr);
  gap: clamp(1.75rem, 2.7vw, 3.25rem);
}

.footer-brand-column,
.footer-column {
  min-width: 0;
}

.site-footer .footer-brand {
  display: inline-flex;
  max-width: 15.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.site-footer .footer-brand img {
  width: auto;
  max-width: 100%;
  height: 6.2rem;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.22s ease;
}

.site-footer .footer-brand:hover img,
.site-footer .footer-brand:focus-visible img {
  transform: translateY(-0.15rem);
}

.footer-description {
  max-width: 23rem;
  margin: 0 0 1.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.site-footer h2,
.footer-contact-block h3 {
  margin: 0 0 1.05rem;
  color: var(--secondary);
  font-size: 0.87rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-contact-block h3 {
  margin-top: 0;
  font-size: 0.82rem;
}

.footer-contact-list,
.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-list {
  display: grid;
  gap: 0.72rem;
}

.footer-contact-list li,
.footer-contact-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.68rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-contact-list a {
  width: 100%;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus-visible {
  color: var(--primary-dark);
  transform: translateX(0.16rem);
}

.footer-contact-icon {
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 50%;
  color: var(--primary-dark);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-contact-list a:hover .footer-contact-icon,
.footer-contact-list a:focus-visible .footer-contact-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateX(0.08rem);
}

.footer-contact-icon svg {
  width: 0.88rem;
  height: 0.88rem;
}

.footer-link-list li {
  border-bottom: 1px solid var(--line);
}

.footer-link-list li:last-child {
  border-bottom: 0;
}

.footer-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 2.55rem;
  padding-block: 0.56rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  text-decoration: none;
  transition:
    color 0.2s ease,
    padding 0.2s ease;
}

.footer-link-list a:hover,
.footer-link-list a:focus-visible {
  padding-inline-start: 0.22rem;
  color: var(--primary-dark);
}

.footer-list-arrow {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.footer-list-arrow svg {
  width: 0.76rem;
  height: 0.76rem;
}

.footer-link-list a:hover .footer-list-arrow,
.footer-link-list a:focus-visible .footer-list-arrow {
  transform: translateX(0.24rem);
}

.footer-affiliation-list {
  display: grid;
  gap: 0;
}

.footer-affiliation {
  display: grid;
  min-height: 6.4rem;
  place-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-affiliation:last-child {
  border-bottom: 0;
}

.footer-affiliation img {
  width: auto;
  max-width: 8.4rem;
  height: 3.75rem;
  object-fit: contain;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.footer-affiliation span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer-affiliation:is(a):hover,
.footer-affiliation:is(a):focus-visible {
  color: var(--primary-dark);
}

.footer-affiliation:is(a):hover img,
.footer-affiliation:is(a):focus-visible img {
  transform: translateY(-0.16rem) scale(1.025);
}

.footer-bottom-wrap {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--secondary) 3%, var(--surface));
}

.site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto minmax(14rem, 1fr);
  align-items: center;
  gap: 1.5rem;
  min-height: 5.25rem;
  padding-block: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer .footer-bottom p {
  margin: 0;
}

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.site-footer .footer-legal a {
  position: relative;
  padding-inline: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-legal a + a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 0.85rem;
  background: var(--line);
  content: "";
  transform: translateY(-50%);
}

.site-footer .footer-legal a:hover,
.site-footer .footer-legal a:focus-visible {
  color: var(--primary-dark);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.58rem;
}

.footer-socials a {
  display: inline-grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--secondary) 18%, var(--line));
  border-radius: 50%;
  background: var(--surface);
  color: var(--secondary);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-0.2rem);
}

.footer-socials svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 84rem) {
  .site-footer .footer-main,
  .site-footer .footer-main.has-affiliations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem clamp(2rem, 4vw, 4rem);
  }

  .footer-brand-column {
    grid-column: span 1;
  }
}

@media (max-width: 62rem) {
  .site-footer .footer-main,
  .site-footer .footer-main.has-affiliations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(13rem, 1fr) minmax(16rem, 1.15fr);
    column-gap: 3rem;
    align-items: start;
  }

  .footer-brand-column .footer-brand,
  .footer-brand-column .footer-description {
    grid-column: 1;
  }

  .footer-contact-block {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

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

  .site-footer .footer-legal {
    grid-column: 1;
    justify-content: flex-start;
  }

  .footer-socials {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 42rem) {
  .site-footer .footer-main,
  .site-footer .footer-main.has-affiliations {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-block: 3.25rem;
  }

  .footer-brand-column {
    display: block;
    grid-column: 1;
  }

  .footer-contact-block {
    margin-top: 1.6rem;
  }

  .footer-affiliation-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .footer-affiliation {
    min-height: 5.5rem;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
  }

  .footer-affiliation:last-child {
    border-bottom: 1px solid var(--line);
  }

  .footer-affiliation img {
    max-width: 100%;
    height: 3rem;
  }

  .footer-affiliation span {
    display: none;
  }

  .site-footer .footer-bottom {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding-block: 1.4rem;
  }

  .site-footer .footer-legal {
    justify-content: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 29rem) {
  .footer-affiliation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-legal {
    row-gap: 0.55rem;
  }

  .site-footer .footer-legal a {
    padding-inline: 0.62rem;
  }

  .site-footer .footer-legal a:first-child {
    padding-inline-start: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Footer content width: centred 80% layout on large screens */
@media (min-width: 62.01rem) {
  .site-footer .footer-main,
  .site-footer .footer-bottom {
    width: min(80%, 92rem);
  }
}

/* Keep comfortable gutters when the viewport becomes narrower. */
@media (max-width: 62rem) {
  .site-footer .footer-main,
  .site-footer .footer-bottom {
    width: min(calc(100% - 3rem), var(--container));
  }
}

@media (max-width: 42rem) {
  .site-footer .footer-main,
  .site-footer .footer-bottom {
    width: min(calc(100% - 2rem), var(--container));
  }
}


/* Website language selector and client-side translation */
.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.48rem;
  color: inherit;
}

.language-switcher-label {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1;
}

.language-switcher-icon {
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  place-items: center;
  color: currentColor;
  pointer-events: none;
}

.language-switcher-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-switcher-select {
  min-width: 7.8rem;
  max-width: 11rem;
  min-height: 2.05rem;
  padding: 0.32rem 1.8rem 0.32rem 0.62rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 999px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 0.78rem) 50% / 0.34rem 0.34rem no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) calc(100% - 0.56rem) 50% / 0.34rem 0.34rem no-repeat,
    transparent;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.language-switcher-select:hover,
.language-switcher-select:focus-visible {
  border-color: currentColor;
  background-color: color-mix(in srgb, currentColor 9%, transparent);
}

.language-switcher-select option {
  background: var(--white);
  color: var(--ink);
}

.language-switcher--topbar .language-switcher-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-switcher--topbar {
  color: var(--white);
}

.language-switcher--topbar .language-switcher-select {
  border-color: rgba(255, 255, 255, 0.34);
}

.nav-mobile-language {
  display: none;
}

.translation-engine,
body > .skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

html[dir="rtl"] .language-switcher-select {
  padding-right: 0.62rem;
  padding-left: 1.8rem;
  background-position:
    0.78rem 50%,
    0.56rem 50%;
}

@media (max-width: 82rem) {
  .language-switcher--topbar {
    display: none;
  }

  .nav-mobile-language {
    display: block;
    padding-block: 0.9rem;
  }

  .language-switcher--mobile {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.7rem;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: var(--surface-soft);
    color: var(--secondary);
  }

  .language-switcher--mobile .language-switcher-label {
    grid-column: 2;
    font-size: 0.83rem;
  }

  .language-switcher--mobile .language-switcher-icon {
    grid-row: 1 / span 2;
    align-self: center;
  }

  .language-switcher--mobile .language-switcher-select {
    width: 100%;
    max-width: none;
    grid-column: 2;
    border-color: color-mix(in srgb, var(--secondary) 24%, var(--line));
    background-color: var(--white);
    color: var(--ink);
    font-size: 0.92rem;
  }
}

/* Floating support menu and back-to-top control */
.floating-tools {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 1400;
  display: grid;
  max-width: calc(100vw - 2rem);
  justify-items: end;
  gap: 0.7rem;
}

.floating-tools svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.floating-tool-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.floating-tool-button {
  display: inline-grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--secondary) 18%, var(--line));
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--secondary);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.floating-tool-button:hover,
.floating-tool-button:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-0.15rem);
}

.support-trigger {
  width: 3.8rem;
  height: 3.8rem;
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.support-trigger:hover,
.support-trigger:focus-visible,
.support-trigger[aria-expanded="true"] {
  background: var(--primary-dark);
  color: var(--white);
}

.support-trigger-open,
.support-trigger-close {
  display: inline-grid;
  place-items: center;
}

.support-trigger-close,
.support-trigger[aria-expanded="true"] .support-trigger-open {
  display: none;
}

.support-trigger[aria-expanded="true"] .support-trigger-close {
  display: inline-grid;
}

.support-menu {
  width: min(18rem, calc(100vw - 2rem));
  max-height: calc(100vh - 6.5rem);
  max-height: min(26rem, calc(100dvh - 6.5rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.support-menu-title {
  margin: 0;
  padding: 0.45rem 0.55rem 0.65rem;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-menu-links {
  display: grid;
  gap: 0.35rem;
}

.support-menu-links a {
  display: flex;
  min-height: 3.1rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.support-menu-links a:hover,
.support-menu-links a:focus-visible {
  background: var(--surface-soft);
  color: var(--primary-dark);
  transform: translateX(-0.12rem);
}

.support-option-icon {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 7%, var(--surface));
  color: var(--primary-dark);
}

.support-option-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 32rem) {
  .floating-tools {
    right: calc(0.75rem + env(safe-area-inset-right));
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    max-width: calc(100vw - 1.5rem);
  }

  .support-menu {
    width: min(18rem, calc(100vw - 1.5rem));
  }

  .floating-tool-button {
    width: 3.15rem;
    height: 3.15rem;
  }

  .support-trigger {
    width: 3.6rem;
    height: 3.6rem;
  }
}

@media (max-height: 30rem) {
  .support-menu-links a {
    min-height: 2.7rem;
    padding-block: 0.5rem;
  }

  .support-menu-title {
    padding-block: 0.3rem 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-tools *,
  .floating-tools *::before,
  .floating-tools *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
