/*!
 * Prof Diggity | https://profdiggity.com
 * Copyright (C) 2026 Ivy Cyber LLC.
 * SPDX-License-Identifier: AGPL-3.0-or-later
 *
 * Loaded after css/ivycyber.css, which is the shared base and is byte
 * identical to the copy served by ivycyber.com. Only components unique to
 * this page belong here.
 */

/* === HERO === */

.profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: start; }
.profile-hero .hero-copy { align-self: start; }
.profile-hero .lead { max-width: none; }

/* Hero type at 0.8 scale of the shared tokens; headline holds one line on
   desktop and wraps again below the tablet breakpoint. */
.profile-hero h1 { font-size: clamp(1.8rem, 3.92vw, 3.28rem); }
.profile-hero .lead { font-size: clamp(16.8px, 1.76vw, 20.8px); }
@media (min-width: 1061px) {
  .profile-hero h1 { white-space: nowrap; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--quiet);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }

.portrait-card {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.portrait-card img {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.portrait-card figcaption { margin-top: 12px; text-align: center; font-size: var(--fs-small); }

/* === WORK GRID === */

.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.site-card { padding: 0; overflow: hidden; }
.site-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.site-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--card-2); border-bottom: 1px solid var(--line); }
.site-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.site-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.site-body h3 { margin: 0; font-size: var(--fs-h4); }
.site-url { color: var(--green); font-size: var(--fs-label); font-weight: 700; font-family: var(--mono); }
.site-description { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.site-kicker { margin-top: auto; padding-top: 12px; color: var(--link); font-size: var(--fs-small); font-weight: 700; }

.site-card { transition: border-color .16s ease, transform .16s ease; }
.site-card:hover, .site-card:focus-within { transform: translateY(-2px); border-color: rgba(69, 218, 100, .45); }
.site-card:hover .site-kicker, .site-card:focus-within .site-kicker { color: var(--text); }

/* === PRESS === */

.press-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.press-list li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--muted);
  font-size: var(--fs-small);
}

/* === CONNECT === */

.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pgp-note { margin: 22px 0 0; color: var(--quiet); font-size: var(--fs-label); font-family: var(--mono); }

/* === BREAKPOINTS === */

@media (max-width: 1060px) {
  .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .profile-hero { grid-template-columns: 1fr; gap: 28px; }
  .portrait-card { order: -1; margin: 0 auto; max-width: 320px; display: block; }
  .portrait-card img { height: auto; }
  .portrait-card figcaption { display: none; }
  .profile-hero .eyebrow { display: none; }
  .profile-hero h1 { text-align: center; }
  .site-grid { grid-template-columns: 1fr; }
}
