.topbar {
  position: sticky;
  top: 0;
  z-index: 1200; /* keep header above floating navigation elements */
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 22, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  padding: 1.25rem 0;
  flex-wrap: wrap;
}

.topbar__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 16, 32, 0.85);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease,
    box-shadow 180ms ease;
}

.topbar__toggle:hover,
.topbar__toggle:focus-visible {
  border-color: rgba(246, 183, 60, 0.65);
  background: rgba(12, 16, 32, 0.95);
  box-shadow: 0 12px 28px rgba(9, 12, 28, 0.45);
  outline: none;
}

.topbar__toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(246, 183, 60, 0.4);
}

.topbar__toggle-icon,
.topbar__toggle-icon::before,
.topbar__toggle-icon::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.topbar__toggle-icon {
  position: relative;
}

.topbar__toggle-icon::before {
  position: absolute;
  top: -6px;
}

.topbar__toggle-icon::after {
  position: absolute;
  bottom: -6px;
}

.topbar__toggle[aria-expanded='true'] .topbar__toggle-icon {
  background: transparent;
}

.topbar__toggle[aria-expanded='true'] .topbar__toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.topbar__toggle[aria-expanded='true'] .topbar__toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-block: 0.25rem;
}

.topbar__brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.brand__monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(246, 183, 60, 0.32), rgba(91, 128, 255, 0.32));
}

.brand__monogram img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand__name {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  transition: letter-spacing 260ms ease, transform 260ms ease,
    text-shadow 260ms ease;
}

.brand__name::before {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(246, 183, 60, 0.55), rgba(91, 128, 255, 0.45));
  opacity: 0;
  transform: scale(0.86);
  filter: blur(18px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.brand__name::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(246, 183, 60, 0.95), rgba(91, 128, 255, 0.95));
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 280ms ease, opacity 280ms ease;
}

.brand__name:hover,
.brand__name:focus-visible {
  letter-spacing: 0.08em;
  transform: translateY(-1px);
  text-shadow: 0 14px 30px rgba(10, 17, 42, 0.45);
  text-decoration: none;
}

.brand__name:hover::before,
.brand__name:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.brand__name:hover::after,
.brand__name:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.brand__name:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 183, 60, 0.35);
}

.brand__role {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.topbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  font-size: 0.95rem;
  min-width: 0;
  padding-block: 0.25rem;
}

.topbar__nav > * {
  flex-shrink: 0;
}

.topbar__nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-block: 0.25rem;
}

.topbar__nav a:hover,
.topbar__nav a:focus {
  color: var(--color-text);
}

.topbar__lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.language-switcher__button {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 233, 255, 0.28);
  background: none;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease,
    background-color 180ms ease, box-shadow 180ms ease;
  flex-shrink: 0;
}

.language-switcher__flag {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
  border-color: rgba(246, 183, 60, 0.65);
  background-color: rgba(12, 16, 32, 0.6);
  color: var(--color-text);
}

.language-switcher__button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(246, 183, 60, 0.35);
}

.language-switcher__button[aria-pressed='true'],
.language-switcher__button.is-active,
.language-switcher__button.active {
  border-color: rgba(91, 128, 255, 0.6);
  background-color: var(--color-surface-alt);
  color: var(--color-text);
  box-shadow: 0 10px 24px rgba(10, 17, 42, 0.35);
}

.language-switcher__label {
  /* labels removed from markup; keep this rule to defensively hide any label text
     that may be present or injected dynamically */
  display: none !important;
}

.hero,
.section {
  scroll-margin-top: var(--topbar-offset);
}

.hero {
  position: relative;
  overflow: hidden;
  /* reduced vertical spacing: half again */
  padding: 1.375rem 0 1rem;
  background: var(--gradient-hero);
}


.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 320px);
  gap: clamp(var(--spacing-lg), 4vw, 3rem);
  align-items: start;
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar__nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    gap: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
  }

  .topbar__lang-switch {
    order: -1;
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
    padding-bottom: var(--spacing-xs);
  }

  .language-switcher {
    width: 100%;
    justify-content: flex-end;
  }

  .hero__panel {
    justify-self: center;
  }
}

.hero__profile {
  padding: clamp(2rem, 4vw, 3rem);
}

.hero__profile h1 {
  font-size: clamp(2.2rem, 3.9vw, 3.4rem);
  margin-bottom: 1.25rem;
}

.hero__profile > p {
  font-size: 1.05rem;
  max-width: 520px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero__portrait {
  display: inline-flex;
  width: min(100%, 360px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-panel);
  background: linear-gradient(145deg, rgba(21, 26, 46, 0.8), rgba(12, 16, 32, 0.78));
}

.hero__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__stats {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}


.content-layout {
  display: grid;
  grid-template-columns: minmax(180px, 210px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  /* keep layout within page container wider area but respect container padding */
  width: 100%;
  max-width: calc(var(--container-width) + 220px);
  margin: clamp(3rem, 7vw, 5rem) auto;
  align-items: start;
  box-sizing: border-box;
}

.content-layout__sections {
  width: 100%;
  max-width: var(--container-width);
  /* respect the container padding so content never touches edges */
  padding-inline-start: 0.5rem;
  padding-inline-end: 2rem; /* more breathing space on the right */
  min-width: 0;
}

.side-nav {
  position: sticky;
  top: calc(var(--topbar-offset) + 1.5rem);
  align-self: start;
  width: 100%;
  max-width: 210px;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(5, 9, 24, 0.45);
  backdrop-filter: blur(12px);
  z-index: 1000; /* ensure the nav stays above section backgrounds */
}

.side-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem 0.65rem 1rem;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease,
    box-shadow 180ms ease;
}

.side-nav__link::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91, 128, 255, 0.35);
  box-shadow: 0 0 0 0 rgba(91, 128, 255, 0.4);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.side-nav__link:hover,
.side-nav__link:focus-visible {
  color: var(--color-text);
  background: rgba(91, 128, 255, 0.18);
  transform: translateX(4px);
  outline: none;
}

.side-nav__link:hover::before,
.side-nav__link:focus-visible::before {
  background: rgba(246, 183, 60, 0.85);
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(246, 183, 60, 0.18);
}

.side-nav__link.is-active {
  color: var(--color-text);
  background: rgba(91, 128, 255, 0.28);
  box-shadow: 0 16px 28px rgba(6, 12, 32, 0.42);
}

.side-nav__link.is-active::before {
  background: var(--color-accent);
  transform: scale(1.3);
  box-shadow: 0 0 0 8px rgba(246, 183, 60, 0.22);
}

@media (max-width: 1200px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .side-nav {
    position: sticky;
    top: calc(var(--topbar-offset) + 1rem);
    display: flex;
    padding: 1rem;
    overflow-x: auto;
    background: rgba(12, 16, 32, 0.82);
    box-shadow: 0 14px 30px rgba(5, 9, 24, 0.4);
    max-width: 100%;
  }

  .side-nav__list {
    flex-direction: row;
    gap: 0.35rem;
    min-width: max-content;
  }

  .side-nav__link {
    padding: 0.55rem 0.85rem;
    white-space: nowrap;
  }

  .content-layout__sections {
    max-width: 100%;
  }
}

/* Mobile: convert side-nav into panel controlled by topbar toggle */
@media (max-width: 960px) {
  .topbar__toggle { display: inline-flex; }

  /* hide the sticky desktop side-nav and use full-width panel when toggled */
  .side-nav {
    position: fixed;
    left: 0;
    top: var(--topbar-offset);
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1rem;
    border-radius: 0;
    transform: translateY(-110%);
    transition: transform 260ms ease;
    visibility: hidden;
    opacity: 0;
    z-index: 60;
  }

  .side-nav[data-visible='true'] {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    box-shadow: 0 24px 60px rgba(3,6,16,0.6);
    z-index: 1000;
  }

  .side-nav__list { flex-direction: column; gap: 0.65rem; }

  .content-layout { margin-top: 0; }
}

/* Two-column layout and separator inside mobile panel */
@media (max-width: 960px) {
  .side-nav[data-visible='true'] {
    display: grid;
    grid-template-columns: minmax(200px, 320px) 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
    align-items: start;
  }

  .side-nav__col--left { padding-right: 0.5rem; }
  .side-nav__col--right { border-left: 1px solid rgba(255,255,255,0.03); border-radius: 0.35rem; }

  /* increase gap between last nav item and flags */
  .side-nav__lang { margin-top: 1.2rem; }

  /* ensure the list itself is scrollable if content overflows */
  .side-nav__col--left { max-height: calc(100vh - var(--topbar-offset) - 3rem); overflow: auto; }
}

/* hide header language-switcher on mobile (we show the duplicated version inside the panel) */
@media (max-width: 960px) {
  .topbar__lang-switch { display: none; }

  .side-nav .language-switcher {
    display: flex;
    gap: 0.6rem;
    margin: 0.6rem 0 0.9rem;
    justify-content: flex-start;
  }

  .side-nav .language-switcher__button {
    padding: 0.4rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(12,16,32,0.6);
  }
}

/* side-nav adjustments: label on mobile and flag active outline */
.side-nav__lang {
  display: none; /* visible only on mobile */
}

@media (max-width: 960px) {
  .side-nav__lang { display: block; padding: 0.6rem 0; }
  .side-nav__lang-label { display: inline-block; color: var(--color-text-muted); font-weight: 600; margin-bottom: 0.5rem; font-size: 0.85rem; }
  .side-nav .language-switcher { gap: 0.85rem; }
  .side-nav .language-switcher__flag { width: 1.25rem; height: 1.25rem; }
  .language-switcher__button.is-active,
  .language-switcher__button[aria-pressed='true'] {
    box-shadow: 0 0 0 3px rgba(246, 183, 60, 0.18) inset, 0 0 0 3px rgba(246, 183, 60, 0.12);
    border-color: rgba(246,183,60,0.6);
  }
}

@media (max-width: 640px) {
  .content-layout {
    margin: clamp(2.5rem, 12vw, 3.5rem) auto;
  }

  .side-nav {
    margin: 0 calc(-1 * (var(--container-width) - 92vw) / 2);
    border-radius: var(--radius-md);
  }
}

.hero__panel {
  background-color: rgba(9, 16, 46, 0.9);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-panel);
  width: 100%;
  max-width: 320px;
  align-self: start;
  justify-self: center;
  margin-top: clamp(1.5rem, 4vw, 2rem);
}

@media (min-width: 960px) {
  .hero__panel {
    margin-top: 0;
  }
}

.section--quick-actions {
  padding: clamp(4rem, 6vw, 5rem) 0;
  background: linear-gradient(145deg, rgba(15, 19, 38, 0.85), rgba(7, 10, 24, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-actions__content {
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
}

.quick-actions__header {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.quick-action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.85rem 1.95rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(21, 26, 46, 0.92), rgba(12, 16, 32, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-panel);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.quick-action-card--ghost {
  background: rgba(12, 16, 32, 0.78);
  border-color: rgba(255, 255, 255, 0.06);
}

.quick-action-card:hover,
.quick-action-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(5, 9, 25, 0.4);
  border-color: rgba(246, 183, 60, 0.45);
  outline: none;
}

.quick-action-card__label {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.quick-action-card__title {
  font-size: 1.35rem;
  font-weight: 600;
}

.quick-action-card__description {
  font-size: 0.98rem;
  color: rgba(229, 233, 255, 0.8);
  line-height: 1.55;
}

.hero__avatar {
  width: 120px;
  height: 120px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(246, 183, 60, 0.65), rgba(91, 128, 255, 0.45));
  border: 3px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.detail__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 0.5rem;
}

.detail__value {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section--accent {
  /* keep rules for compatibility, but create a full-bleed pseudo element
     so the accent background always spans the full viewport width */
  position: relative;
  z-index: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section--accent::before {
  /* background moved to the inner .section__content to align with the content container */
  display: none;
}

.section--accent .section__content {
  position: relative;
}

.section--accent .section__content::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(15, 19, 38, 0.85), rgba(7, 10, 24, 0.85));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section--highlight {
  /* full-bleed visual like .hero: apply the hero gradient to the section itself
     so it spans the full viewport width (left and right) */
  position: relative;
  overflow: hidden;
  z-index: 1; /* sit above the backdrop */
  background: var(--gradient-hero);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  /* force the section to span the full viewport width so the background
    visually reaches the left and right edges like the hero.
    Adjust margins to account for the parent `.content-layout__sections` padding
    (padding-inline-start: 0.5rem; padding-inline-end: 2rem) so the gradient
    aligns exactly with the page edges. */
  width: 100vw;
  margin-left: calc(50% - 50vw - 0.5rem);
  margin-right: calc(50% - 50vw - 2rem);
}

/* Global backdrop used for precise full-bleed highlights (positioned by JS) */
.global-highlight-backdrop {
  position: fixed;
  left: 0;
  width: 100vw;
  pointer-events: none;
  z-index: 0; /* sit above the page background but behind the highlighted section */
  /* radial focal point to match the hero treatment (more natural spotlight) */
  background: radial-gradient(circle at 30% 20%, rgba(246, 183, 60, 0.22), rgba(5, 8, 22, 0.94));
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: opacity 260ms ease;
  opacity: 0;
}

.section__content {
  display: grid;
  gap: 3rem;
}

/* horizontal breathing space for all sections: at least 0.5rem each side
   and responsive scaling on larger viewports */
.section {
  padding-inline: 0.5rem;
}

.section__content {
  /* keep content inset from the section edges */
  padding-inline-start: 0.5rem;
  padding-inline-end: 1rem;
}

/* slightly larger gutter for accented sections to make the background feel contained */
.section--accent {
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
}

@media (min-width: 960px) {
  .section__content {
    padding-inline-start: 1rem;
    padding-inline-end: 3rem;
  }
}

.section__header {
  max-width: 680px;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
  padding: 3rem 3.25rem;
  background: linear-gradient(135deg, rgba(21, 26, 46, 0.92), rgba(12, 16, 32, 0.88));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-panel);
  color: var(--color-text);
}

.callout h2 {
  margin-bottom: 0.75rem;
}

.callout__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* center buttons */
  gap: 0.75rem 1rem;
}

.callout__actions .button {
  min-width: 180px;
}

/* Button icon styles */
.button__icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 0.6rem;
  vertical-align: middle;
  transform-origin: center;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
}

/* Use background images for the CTA icons for consistent sizing and faster loading */
.button__icon {
  /* icons are inline <img> now; ensure their size and spacing remain */
  width: 20px;
  height: 20px;
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* Slightly reduce text weight on CTA labels and keep them readable */
.button--cta span {
  vertical-align: middle;
  font-weight: 600;
}

.callout__actions .button:hover .button__icon,
.callout__actions .button:focus-visible .button__icon {
  transform: scale(1.06);
}

@media (max-width: 640px) {
  .callout__actions {
    justify-content: center;
  }

  .button__icon { width: 18px; height: 18px; margin-right: 0.5rem; }
  .callout__actions .button { min-width: 140px; }
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 22, 0.92);
  padding: 2.5rem 0;
}

.footer__content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__content p {
  margin: 0;
  color: rgba(229, 233, 255, 0.75);
  font-size: 0.95rem;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.footer__text {
  margin: 0;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(246, 183, 60, 0.1);
  border: 1px solid rgba(246, 183, 60, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease,
    background-color 180ms ease;
}

.footer__icon-link:hover,
.footer__icon-link:focus-visible {
  background: rgba(246, 183, 60, 0.2);
  border-color: rgba(246, 183, 60, 0.6);
  box-shadow: 0 10px 20px rgba(246, 183, 60, 0.2);
  transform: translateY(-2px);
  outline: none;
}

.footer__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .topbar__inner {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }

  .topbar__nav {
    justify-content: flex-start;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 2.5rem 2.25rem;
  }

  .callout__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .callout {
    gap: 1.5rem;
  }

  .callout__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .callout__actions .button {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .topbar__toggle {
    display: inline-flex;
  }

  .topbar__nav {
    display: none;
  }

  .topbar__nav[data-visible='true'] {
    display: flex;
  }

  .topbar__nav a {
    display: block;
    width: 100%;
  }

  .topbar__lang-switch {
    justify-content: center;
    margin-bottom: var(--spacing-xs);
    padding-bottom: 0;
  }

  .language-switcher {
    justify-content: center;
    gap: var(--spacing-sm);
  }

  .language-switcher__button {
    flex: 1;
    justify-content: center;
  }

  .hero {
    padding: 4.25rem 0 3.25rem;
  }

  .hero__portrait {
    margin: 1.75rem auto 2.25rem;
  }

  .quick-actions__content {
    gap: 2.5rem;
  }

  .quick-actions__header {
    text-align: center;
    margin: 0 auto;
  }

  .quick-actions__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 540px) {
  .topbar__brand {
    gap: 0.75rem;
  }

  .brand__monogram {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 0.95rem;
  }

  .brand__role {
    font-size: 0.8rem;
  }

  .hero__profile h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero__profile > p {
    font-size: 1rem;
  }

  .hero__badge {
    font-size: 0.78rem;
  }

  .hero__portrait {
    max-width: 320px;
  }

  .hero__panel {
    padding: 1.75rem 1.5rem;
  }

  .quick-action-card {
    padding: 1.6rem 1.65rem;
  }

  .quick-action-card__title {
    font-size: 1.25rem;
  }

  .callout {
    padding: 2.25rem 1.9rem;
  }
}

@media (max-width: 420px) {
  .topbar__inner {
    padding: 1rem 0;
  }

  .hero {
    padding: 3.75rem 0 3rem;
  }

  .section--quick-actions {
    padding: 3.25rem 0;
  }

  .quick-actions__content {
    gap: 2rem;
  }

  .quick-action-card {
    padding: 1.45rem 1.5rem;
  }

  .quick-action-card__description {
    font-size: 0.95rem;
  }

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

  .section {
    padding: 3.5rem 0;
  }
}
