.aevo-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 2rem 0 3rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 3%);
}
.aevo-evidence__copy { min-width: 0; }
.aevo-evidence__document { margin: 0; }
.aevo-evidence__document a { display: block; }
.aevo-evidence__document img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .35rem;
  box-shadow: 0 .8rem 2rem rgb(0 0 0 / 30%);
}
.aevo-evidence__document figcaption { margin-top: .75rem; color: var(--muted); font-size: .8rem; }

.training-profile > .container { max-width: 76rem; }
.profile-hero { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); margin-bottom: 3rem; }
.profile-hero__copy { min-width: 0; }
.profile-hero h1 { margin-bottom: 1.5rem; }
.profile-hero .lead { max-width: 33rem; }
.profile-hero__visual, .profile-experience__visual { margin: 0; overflow: hidden; border: 1px solid var(--line-bright); border-radius: calc(var(--radius) * 1.5); background: var(--surface-raised); box-shadow: var(--shadow); }
.profile-hero__visual img, .profile-experience__visual img { display: block; width: 100%; height: auto; }
.profile-story > p:first-child { max-width: 57rem; padding: clamp(1.25rem, 3vw, 2rem); margin: 0 0 clamp(3rem, 6vw, 5rem); border-left: 2px solid var(--red); background: linear-gradient(90deg, rgb(228 22 37 / 7%), transparent); color: var(--muted); }
.profile-experience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); margin-bottom: clamp(3rem, 6vw, 5rem); }
.profile-experience__copy { min-width: 0; }
.profile-experience h2, .profile-principle h2 { margin-top: 0; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.2; letter-spacing: -.03em; }
.profile-experience .prose { color: var(--muted); }
.profile-experience .prose p:last-child { margin-bottom: 0; }
.profile-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.profile-principle { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgb(255 255 255 / 3%); }
.profile-principle__index { display: block; margin-bottom: 1rem; color: var(--red-hi); font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.profile-principle .prose { color: var(--muted); }
.profile-principle .prose p { margin-bottom: 0; }
.training-profile .certifications { padding-top: 2.5rem; border-top: 1px solid var(--line); }
.training-profile .certification-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.aevo-lightbox-active { overflow: hidden; scrollbar-gutter: stable; }
html.aevo-lightbox-active body { overflow: hidden; }
.aevo-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  color: var(--paper);
  background: transparent;
  overflow: hidden;
}
.aevo-lightbox::backdrop { background: rgb(0 0 0 / 63%); backdrop-filter: blur(2px); transition: background 220ms ease, backdrop-filter 220ms ease; }
.aevo-lightbox--closing::backdrop { background: rgb(0 0 0 / 0%); backdrop-filter: blur(0); }
.aevo-lightbox__toolbar { position: absolute; z-index: 1; top: max(1rem, env(safe-area-inset-top)); left: max(1rem, env(safe-area-inset-left)); right: max(1rem, env(safe-area-inset-right)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.aevo-lightbox__toolbar h2 { margin: 0; font-size: clamp(1rem, 2vw, 1.2rem); text-shadow: 0 1px 5px #000; }
.aevo-lightbox__close { flex-shrink: 0; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .6rem 1rem; border: 1px solid var(--line-bright); border-radius: .5rem; background: var(--surface); color: var(--paper); font: inherit; cursor: pointer; }
.aevo-lightbox__close:hover { border-color: var(--red-hi); }
.aevo-lightbox__close span { font-size: 1.4rem; line-height: 1; }
.aevo-lightbox__figure { display: flex; position: absolute; inset: 5rem 1rem max(1rem, env(safe-area-inset-bottom)); flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 0; margin: 0; pointer-events: none; }
.aevo-lightbox__image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 8rem); max-height: calc(100dvh - 8rem); object-fit: contain; border-radius: .25rem; box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 45%); transform-origin: top left; pointer-events: auto; }
.aevo-lightbox__figure figcaption { margin: 0; font-size: .75rem; text-align: center; text-shadow: 0 1px 5px #000; color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .aevo-lightbox::backdrop { transition: none; } }
@media (max-width: 48rem) {
  .profile-hero, .profile-experience, .profile-principles { grid-template-columns: minmax(0, 1fr); }
  .profile-hero { gap: 1.5rem; }
  .profile-experience { gap: 1.5rem; }
  .training-profile .certification-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aevo-evidence { grid-template-columns: minmax(0, 1fr); }
  .aevo-evidence__document { width: min(100%, 20rem); margin-inline: auto; }
}
