/* Hallmark · shape: Portfolio Index + Grade Report hero · genre: editorial · theme: brand · redesign: full
 * paper: #0E0E10 · accent: #FF3D7F · display: Fraunces · body: Space Grotesk · hero: Poster · nav: wordmark and one action · footer: mast · signature: the free Local Visibility Grade report
 * axes: dark-paper/roman-serif/pink-signal · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P_ H_ E_ S_ R_ V_ · weakest: the hero used to be a slogan only, built the real grade product into the first screen */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- V2 hero: Poster, two columns, real grade signature ---------- */
.v2-hero-grid {
  position: relative; z-index: 3; width: 100%; max-width: var(--container);
  margin-inline: auto; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 88px); align-items: center; text-align: left;
}
.v2-hero-copy { min-width: 0; }
.v2-hero-copy .hero-title { font-size: clamp(3rem, 7vw, 6.5rem); }
.v2-hero-lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 32ch; color: var(--color-muted); margin-top: 22px; }
.v2-hero-copy .hero-actions { justify-content: flex-start; }
.v2-hero-copy .btn { white-space: nowrap; }
.v2-hero-note { margin-top: 24px !important; font-size: .9rem; color: var(--color-muted); }
.v2-hero-note a { color: var(--color-focus); text-decoration: underline; }

.v2-grade {
  margin: 0; padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--color-rule); border-radius: var(--radius-card);
  background: var(--color-paper-2); box-shadow: var(--shadow-card);
  outline: 1px solid var(--color-rule); outline-offset: 8px;
}
.v2-grade-head { display: flex; align-items: center; gap: 12px; color: var(--color-ink); font-weight: 700; font-size: .95rem; }
.v2-grade-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-weight: 900; flex: none; }
.v2-grade-intro { margin-top: 18px; color: var(--color-muted); font-size: .95rem; max-width: 42ch; }
.v2-grade-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.v2-grade-list li { padding: 14px 16px; border: 1px solid var(--color-rule); border-left: 3px solid var(--color-focus); border-radius: 12px; color: var(--color-ink); font-family: var(--font-display); font-size: 1.15rem; }
.v2-grade-link { display: inline-block; margin-top: 24px; color: var(--color-accent); font-weight: 600; }

/* ---------- V2 work: portfolio index of real client sites ---------- */
.v2-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--color-rule); }
.v2-index-row {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--color-rule);
}
.v2-index-thumb { display: block; width: 160px; height: 104px; border-radius: 14px; overflow: hidden; border: 1px solid var(--color-rule); background: var(--color-paper-2); }
.v2-index-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v2-index-body { min-width: 0; }
.v2-index-body h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.v2-index-body h3 a { color: var(--color-ink); }
.v2-index-body p.v2-index-meta { color: var(--color-focus); font-size: .8125rem; font-weight: 600; margin-top: 8px; }
.v2-index-body p { color: var(--color-muted); margin-top: 10px; font-size: .95rem; max-width: 62ch; }
.v2-index-status { color: var(--color-muted); font-size: .8125rem; white-space: nowrap; }

@media (max-width: 760px) {
  .v2-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .v2-grade { outline-offset: 4px; }
  .v2-index-row { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
  .v2-index-thumb { width: 96px; height: 72px; }
  .v2-index-status { display: none; }
}

/* ---------- V2 hero: ONE continuous animated background (no variant slider) ---------- */
.hero-bg .layer-1.blobs { opacity: 1; }
.hero-bg .layer-glow { animation: hero-breathe 16s ease-in-out infinite; }
@keyframes hero-breathe {
  0%, 100% { opacity: .72; transform: scale(1) translate(0, 0); }
  50%      { opacity: 1;   transform: scale(1.08) translate(-1.5%, 1%); }
}
.hero-bg .specks { animation: speck-drift 48s linear infinite; }
@keyframes speck-drift { from { background-position: 0 0; } to { background-position: 46px 92px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg .layer-glow, .hero-bg .specks, .hero-bg .blob { animation: none !important; }
}
