/* Home hero: photograph in the stage, framed window on top.
   Chrome is monochrome dots + underlined product URL.
   The iframe loads the frozen Strata demo at /embed/ (built from the app).
   Later edits happen on branch hero-workspace-mock, not on this live copy. */

.hero-home {
  display: flex;
  flex-direction: column;
  margin: calc(clamp(32px, 5vw, 56px) * -1) calc(clamp(20px, 4vw, 40px) * -1) var(--space-7);
  padding: 20px 32px 16px;
}

.hero-copy {
  flex: none;
  max-width: 42rem;
}

.hero-copy .meta-label {
  font-size: 11px;
  margin-bottom: 8px;
}

.hero-copy h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  max-width: 20ch;
  margin-bottom: 14px;
  line-height: 1.18;
}

.hero-copy .lede {
  font-size: 0.95rem;
  margin-bottom: 16px;
  max-width: 42rem;
}

.hero-copy .cta-row {
  margin-bottom: 0;
  gap: 8px;
}

.hero-caption {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 46rem;
}

.hero-copy .btn {
  padding: 8px 14px;
  font-size: 13px;
}

/* Photo is this box only — not the whole page. */
.mockup-stage {
  position: relative;
  margin-top: 18px;
  min-height: min(780px, 72vh);
  height: 72vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  padding: 24px;
  box-sizing: border-box;
}

.mockup-stage__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-window {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.hero-window iframe,
.hero-window__shot {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  border: 0;
}

.hero-window__shot {
  height: 100%;
  object-fit: cover;
  object-position: left top;
  background: var(--surface);
}

.chrome-bar {
  position: relative;
  flex: none;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.chrome-bar__dots {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
}

.chrome-bar__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.chrome-bar__url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-strong);
}

.chrome-bar__url svg {
  width: 9px;
  height: 9px;
  flex: none;
}

@media (max-width: 720px) {
  .hero-home { padding: 20px 16px 12px; }
  .mockup-stage {
    height: 64vh;
    min-height: 420px;
    padding: 12px;
  }
}
