/* ferdi.tech v2 — hire page + company pitch page layout.
   Loads AFTER site.css and v2.css. Shared components live in v2.css; this file
   only carries page-specific layout for:
     /hire/                 (NT-V2-06)
     /companies/canva/      (NT-V2-06)
   Owner: NT-V2-06. Do not edit from other tickets. */

/* ---------- a11y utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- header nav (both pages) ---------- */
.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 13px; }
.topnav a { color: var(--text-muted); font-weight: 600; transition: color var(--dur) var(--ease); }
.topnav a:hover, .topnav a:focus-visible { color: var(--accent); }
@media (max-width: 900px) {
  .topnav a[href^="#"] { display: none; }
}
@media (max-width: 720px) {
  .top { padding: 18px 22px; }
}
@media (max-width: 480px) {
  .topnav { display: none; }
}

/* ---------- stat band cells that are links ---------- */
.stat-band a.stat { text-decoration: none; transition: background var(--dur) var(--ease); }
.stat-band a.stat:hover, .stat-band a.stat:focus-visible { background: var(--bg-soft); }
/* count-up hook (.proof-num from site.js) inside a v2 stat cell */
.stat .proof-num { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: 0; line-height: 1.1; }
.stat-num--text { font-size: clamp(17px, 2.3vw, 21px); }

/* ---------- card titles + grids shared by both pages ---------- */
.hire-grid,
.resume-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin-top: 22px;
}
.hire-grid > .proj-card > h3,
.cap-grid > .cap-card > h3 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.2px;
}
.cap-grid > .cap-card > h3 { font-size: 17px; }
/* role-card metric lines: keep the bold lead-in at body size */
.hire-grid .proj-metric strong { font-family: inherit; font-size: inherit; color: var(--text); font-weight: 700; }
.proj-media { display: block; }
.proj-media .proj-img {
  max-height: 240px; object-fit: contain; background: var(--bg-soft);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.proj-media:hover .proj-img,
.proj-media:focus-visible .proj-img { border-color: var(--accent); transform: translateY(-2px); }

/* ---------- hire hero ---------- */
.hire-top { padding-top: 76px; }
.hire-h1 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -1px;
  font-size: clamp(38px, 7vw, 70px); line-height: 1.03; margin: 0 0 12px;
}
.hire-name {
  font-family: var(--font-display); font-size: clamp(19px, 2.8vw, 25px);
  color: var(--accent); margin: 0 0 20px;
}
.v2-lede--tight { margin-bottom: 12px; }
.hire-top .cta-row { flex-wrap: wrap; gap: 22px 30px; margin-top: 26px; }

/* ---------- résumé cards ---------- */
.resume-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.resume-card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--bg);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.resume-card:hover,
.resume-card:focus-visible { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-2px); }
.resume-card b { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text); }
.resume-file {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px; color: var(--text-faint); word-break: break-all;
}
.resume-card::after { content: "Download PDF \2193"; font-size: 13px; font-weight: 600; color: var(--accent-soft); margin-top: 4px; }

/* ---------- source-of-truth box links ---------- */
.sot-box .card-link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--accent-soft); }
.sot-box h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 0 0 8px; color: var(--text); }
.sot-box p { color: var(--text-muted); max-width: 66ch; margin: 0 0 10px; }
.sot-box p:last-child { margin-bottom: 0; }

/* ---------- hire contact (long copy left-aligned inside the cta-box) ---------- */
.hire-contact .cta-box { text-align: left; }
.hire-contact .cta-box .cta-row { justify-content: flex-start; }
.hire-contact .contact-lede { color: var(--text-muted); max-width: 64ch; margin: 0 0 22px; font-size: 16px; line-height: 1.7; }
.hire-contact .contact-note { color: var(--text-faint); font-size: 13.5px; margin: 18px 0 0; }

/* ---------- footer link row ---------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 0 20px; font-size: 13px; margin: 0; }
.footer-links a { color: var(--text-muted); font-weight: 600; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); }
.footer > .footer-links { padding-top: 40px; }

/* ---------- /companies/canva/ ---------- */
.draft-banner {
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  background: var(--bg-soft); border-radius: 10px; margin: 22px 0 0;
  padding: 10px 16px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
}
.canva-caps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px; margin: 16px 0 0; padding: 0; list-style: none;
}
.canva-caps li {
  border: 1px solid var(--border); border-radius: 12px; padding: 16px;
  background: var(--bg); font-size: 13.5px; color: var(--text-muted); line-height: 1.6;
}
.canva-caps strong { color: var(--text); }
.canva-proof-card { display: flex; flex-direction: column; gap: 8px; }
.canva-proof-card .proj-links { margin-top: auto; }
.co-hero-actions { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 26px; }
.co-lead-line { color: var(--text-muted); max-width: 64ch; margin: 22px 0 0; }
.co-caps { margin-top: 8px; }
.co-cta-lede { color: var(--text-muted); max-width: 60ch; margin: 0 auto 22px; }
.figure .media-slot { margin: 0; }
