/* KevinSwaney.com premium visual refinement, November 15, 2026.
   Minimal-change layer. Loaded after index.css and index-2.css.
   Nothing in the existing stylesheets is edited. This file can be
   accepted or removed as one unit. Governing character: quietly
   impressive, personal, technically authoritative, executive-level.
   Graphite and titanium with a hairline red edge light. No em dashes. */

/* R2. Desktop hero fits a standard laptop viewport. */
.hero { padding: 88px 0 72px; }
.hero h1 { font-size: clamp(3.8rem, 9vw, 7.2rem); }
.hero .role { margin-bottom: 20px; }
.hero .lede { margin-bottom: 16px; }
.hero .grounding { margin-bottom: 28px; }

/* R4. Grounding line reads on one line at desktop widths. */
.hero .grounding { max-width: 700px; }

/* R3. Graphite and titanium hero background, hairline red edge light.
   The photo stays. The dark gradient is deepened and cooled so the
   blue circuit-board feel shifts toward graphite. Diagonal panel
   edges are layered over it at very low contrast. The red edge light
   is a single 2px diagonal hairline with a soft glow, behind the
   content, fading toward the edges. */
.hero {
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.02) 34% calc(34% + 1px), transparent calc(34% + 1px) 58%, rgba(0,0,0,.14) 58% calc(58% + 1px), transparent calc(58% + 1px)),
    linear-gradient(180deg, rgba(8,12,16,.52), rgba(6,9,13,.84)),
    url('hero-bg.webp') center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; left: -10%; top: 58%; width: 120%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240,68,56,.55) 30%, rgba(240,68,56,.55) 70%, transparent);
  box-shadow: 0 0 24px 4px rgba(240,68,56,.28);
  transform: rotate(-7deg); transform-origin: center;
  opacity: .8; pointer-events: none; z-index: 0;
}
.hero-grid { z-index: 1; }
.hero .scrollcue { z-index: 1; }

/* R3. Portrait glow becomes titanium, not blue. */
.portrait::before { background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%); }

/* R5. Telemetry band softens into a tonal step; anchors clear the sticky nav. */
.telemetry {
  background: linear-gradient(180deg, #080d12, #0a0f16);
  border-top-color: rgba(255,255,255,.06);
  border-bottom-color: rgba(255,255,255,.06);
}
section.block { scroll-margin-top: 90px; }

/* R6. Calmer hover lift on cards. */
a.tile:hover { transform: translateY(-3px); }
.note:hover { transform: translateY(-2px); }

/* R7. Visible keyboard focus. */
a:focus-visible, button:focus-visible { outline: 2px solid rgba(255,255,255,.65); outline-offset: 3px; }

/* R10. Latest-brief line under the Threat Intel subhead. */
.intel-latest { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin: 0 0 28px; }
.intel-latest a { color: var(--ink); }

/* R1. Mobile hero: restore the single-column layout.
   The later "PREVIEW v7" rule in index.css keeps the grid at two
   columns on phones, which collapses the portrait to about 44px.
   This block comes later in the cascade, so it wins. */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { justify-self: start; }
  .portrait img { width: 240px; }
  .hero { padding: 64px 0 56px; }
  .kicker { font-size: .72rem; letter-spacing: .18em; }
}
