/* Anthony's connection page uses the shared Renovon design tokens. */
:root {
  color-scheme: light;
  --connect-line: color-mix(in srgb, var(--ink-navy) 16%, transparent);
  --connect-muted: color-mix(in srgb, var(--ink-navy) 78%, var(--light-stone));
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--light-stone); color: var(--ink-navy); font: 400 15px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-shell { width: min(100% - 64px, 1000px); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--connect-line); }
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand img { display: block; width: 176px; height: auto; }
.introduction { padding: 34px 0 30px; text-align: center; }
h1 { margin: 0; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.13; letter-spacing: -.045em; font-weight: 800; }
h1 span { display: block; color: var(--renovon-teal); }
.profile { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 32px; align-items: center; padding: 28px 32px; border-radius: 14px 14px 24px 14px; background: var(--ink-navy); color: var(--white); border-top: 3px solid var(--premium-gold); }
.profile-main { display: flex; align-items: center; gap: 22px; min-width: 0; }
.portrait { display: block; width: 116px; height: 116px; flex: 0 0 116px; object-fit: cover; border-radius: 50%; border: 2px solid var(--premium-gold); }
.profile-identity { min-width: 0; }
.profile h2 { margin: 0; font-size: 19px; line-height: 1.45; letter-spacing: -.025em; font-weight: 600; }
.credential { margin: 10px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--premium-gold); }
.profile-background { padding-left: 28px; border-left: 1px solid color-mix(in srgb, var(--white) 24%, transparent); }
.profile-background p { margin: 0; font-size: 12px; line-height: 1.85; color: var(--light-stone); }
.profile-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 7px; font-size: 12px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 5px; }
.connection-links { display: grid; gap: 14px; margin: 24px 0 32px; scroll-margin-top: 24px; }
.link-card { display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 18px 22px; border: 1px solid var(--connect-line); border-radius: 10px; background: var(--white); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.link-card.primary { min-height: 90px; background: var(--renovon-teal); border-color: var(--renovon-teal); color: var(--white); }
.link-icon { display: flex; align-items: center; justify-content: center; width: 30px; flex: 0 0 30px; color: var(--renovon-teal); }
.primary .link-icon { color: var(--white); }
.link-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.link-copy strong { font-size: 14px; font-weight: 600; line-height: 1.5; }
.link-copy > span { font-size: 11px; line-height: 1.65; color: var(--connect-muted); overflow-wrap: anywhere; }
.brand-card { min-height: 94px; border-color: color-mix(in srgb, var(--renovon-teal) 35%, transparent); }
.brand-symbol { display: flex; align-items: center; justify-content: center; width: 44px; flex: 0 0 44px; }
.brand-symbol img { display: block; width: 44px; height: 44px; object-fit: contain; }
.brand-card .link-copy strong { font-size: 16px; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--connect-line); padding: 21px 0 26px; color: var(--connect-muted); font-size: 10px; }
.page-footer a { display: inline-flex; align-items: center; min-height: 44px; margin-top: -14px; margin-bottom: -14px; text-decoration: underline; text-underline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 12px 16px; background: var(--white); color: var(--ink-navy); border-radius: 4px; }
.skip-link:focus { top: 12px; }
a:focus-visible, .connection-links:focus-visible { outline: 3px solid var(--renovon-teal); outline-offset: 5px; }
.profile a:focus-visible, .primary:focus-visible { outline-color: var(--premium-gold); }
@media (hover: hover) {
  .link-card:hover { border-color: var(--renovon-teal); transform: translateY(-2px); box-shadow: 0 6px 20px color-mix(in srgb, var(--ink-navy) 8%, transparent); }
  .primary:hover { background: var(--ink-navy); border-color: var(--ink-navy); }
  .profile-link:hover { text-decoration-color: var(--premium-gold); }
}
@media (max-width: 850px) {
  .profile { grid-template-columns: .95fr 1fr; padding: 26px; gap: 24px; }
  .profile-main { gap: 16px; }
  .portrait { width: 88px; height: 88px; flex-basis: 88px; }
  .profile h2 { font-size: 17px; }
  .profile-background { padding-left: 22px; }
}
@media (max-width: 680px) {
  .page-shell { width: min(100% - 40px, 510px); }
  .site-header { min-height: 72px; }
  .brand img { width: 150px; }
  .introduction { padding: 27px 0 24px; }
  h1 { font-size: clamp(29px, 7.6vw, 38px); }
  .profile { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .portrait { width: 90px; height: 90px; flex-basis: 90px; }
  .profile-main { gap: 18px; }
  .profile h2 { font-size: 17px; }
  .profile-background { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--white) 24%, transparent); padding: 16px 0 0; }
  .profile-background p { font-size: 12px; }
  .profile-link { margin-top: 5px; }
  .connection-links { margin-top: 20px; gap: 12px; }
  .link-card { min-height: 88px; padding: 16px; gap: 13px; }
  .primary .link-copy strong { font-size: 13px; }
  .link-copy > span { font-size: 11px; }
  .brand-card .link-copy strong { font-size: 15px; }
  .brand-symbol { width: 36px; flex-basis: 36px; }
  .brand-symbol img { width: 36px; height: 36px; }
  .page-footer { flex-wrap: wrap; font-size: 10px; }
}
@media (max-width: 360px) {
  .page-shell { width: calc(100% - 32px); }
  .profile { padding: 18px; }
  .profile-main { gap: 13px; }
  .portrait { width: 72px; height: 72px; flex-basis: 72px; }
  .profile h2 { font-size: 15px; }
  .link-card { gap: 10px; padding-inline: 13px; }
  .link-icon { width: 24px; flex-basis: 24px; }
  .link-copy strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (forced-colors: active) { .profile, .link-card { border: 1px solid CanvasText; } a:focus-visible { outline-color: Highlight; } }
