/* ==========================================================================
   Home page only: hero and project grid

   Used by index.html alone.
   ========================================================================== */


/* ---- Hero (home) ----
   Figma node 561:164994. Full-bleed dot grid (node 561:197509) behind a
   centered, bordered card -- same 18px-pitch radial-gradient dot grid as
   Calendly's admin-center-dots (css/calendly2.css), sampled off this node's
   own export and confirmed at the same 18px pitch. */
.hero-dots {
  background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
  background-size: 18px 18px;
  display: flex;
  justify-content: center;
  padding: 66px 40px;
}
.hero-card {
  width: 646px;
  max-width: 100%;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 0.5px solid var(--accent);
  text-align: center;
}
.avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.hero-card h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  color: var(--text-body);
  line-height: 1.6em;
  margin: 0;
}
.hero-card .eyebrow-mono {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 10px;
}
.hero-card .eyebrow-break { display: block; }
@media (max-width: 480px) {
  .hero-card .eyebrow-break { display: inline; }
}
.hero-card .lede {
  width: 576px;
  max-width: 100%;
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.6em;
  text-align: justify;
  margin: 0;
}
.hero-card .link-arrow {
  font-weight: 600;
  font-size: 13px;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .hero-card h1 { font-size: 40px; }
}
@media (max-width: 700px) {
  .hero-card { padding: 32px 20px; }
  .hero-card .lede { text-align: left; }
}


/* ---- Project grid ---- */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.project-card { display: block; }
.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: 4px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}
.project-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.project-meta h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.project-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 520px;
}

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
}
