/* Anchor offsets include the sticky header and a little breathing room. */
:root { --anchor-offset: 88px; }
html, body { overflow-x: clip; }
#home, .section, .journey-story { scroll-margin-top: var(--anchor-offset); }
.glow { max-width: 100%; }
.g1 { right: 0; }
.g2 { left: 0; }

.contact-detail { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.contact-detail .contact-icon { color: var(--cyan); }
.contact-detail .contact-value { display: grid; gap: 5px; min-width: 0; }
.contact-detail .contact-label { color: var(--muted); }
.contact-detail strong { display: block; overflow-wrap: anywhere; font-weight: 600; }
.terminal-contact { min-width: 0; }
.terminal-contact p { overflow-wrap: anywhere; }

@media (max-width: 700px) {
  .hero-spotlight { min-height: 0; padding: 28px 0 48px; }
  .spotlight-wrap { display: flex; flex-direction: column; }
  .spotlight-copy { order: -1; width: 100%; }
  .spotlight-copy .eyebrow { flex-wrap: wrap; font-size: 9px; letter-spacing: .07em; }
  .spotlight-copy h1 { font-size: clamp(34px, 9vw, 42px); margin-bottom: 12px; }
  .spotlight-copy .hero-role { font-size: 20px; }
  .hero-specialism { font-size: 11px; margin-bottom: 12px; }
  .hero-tagline { font-size: 18px; margin-bottom: 12px; }
  .spotlight-copy .lead { font-size: 13px; margin-bottom: 18px; }
  .spotlight-copy .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .spotlight-copy .btn { justify-content: center; min-height: 44px; padding: 10px 6px; font-size: 11px; }
  .profile-links { gap: 8px 14px; margin-top: 12px; }
  .profile-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .spotlight-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; height: auto; margin-top: 20px; }
  .spot-photo-wrap { grid-column: 1 / -1; grid-row: 1; position: relative; top: auto; left: auto; transform: none; width: 240px; height: 240px; margin: 0 auto 12px; }
  .spot-photo { width: 200px; height: 200px; }
  .ring-1 { width: 228px; height: 228px; }
  .ring-2 { width: 240px; height: 240px; }
  .spot-card { position: relative; inset: auto; width: auto; min-width: 0; padding: 12px; gap: 8px; }
  .spot-card b { font-size: 12px; }
  .spot-card p { font-size: 11px; }
  .spot-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .spotlight-orbit { display: none; }
  .blog-dialog .modal-close { float: none; display: block; margin: 0 0 16px auto; min-height: 44px; }
  .blog-dialog { max-height: 85dvh; padding: 22px; }
  .contact-link { font-size: 12px; }
  .contact-action { min-height: 44px; }
  .contact-status { align-items: flex-start; }
  .contact-status i { flex-shrink: 0; margin-top: 4px; }
}

@media (max-width: 600px) {
  :root { --anchor-offset: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow:before { animation: none; }
}
