/* Portfolio (portfolio.html, portfolio.js). founder 2026-11-19, page audit: the page was a plain form with no header,
   unlike its sibling pages. This is the header card of Website Reviews (website-reviews.css .wr-hero / .wr-mark),
   copied under its own pf- names so the two pages never affect each other. square.css squares corners with
   !important, so the radii here need !important too. Dark theme only. */
.pf-top { padding-top: 18px; }
.pf-hero {
  position: relative; overflow: hidden; margin: 6px 0 4px; padding: 24px 26px;
  border-radius: 24px !important; border: 1px solid rgba(120, 170, 255, 0.26);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(56, 182, 255, 0.22) 0%, rgba(56, 182, 255, 0) 46%),
    radial-gradient(90% 120% at 100% 0%, rgba(91, 92, 255, 0.22) 0%, rgba(91, 92, 255, 0) 52%),
    linear-gradient(180deg, #0e1a36 0%, #0a1328 60%, #081022 100%);
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.95), 0 24px 60px -44px rgba(31, 123, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pf-hero::after { /* fine grid sheen, as on Website Reviews */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.pf-hero-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.pf-hero-tx { min-width: 0; }
.pf-hero h1 { margin: 0; font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em;
  background: linear-gradient(90deg, #ffffff 0%, #cfe6ff 60%, #9fd4ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pf-hero p { margin: 6px 0 0; color: #93a0bd; font-size: 0.95rem; line-height: 1.5; }
.pf-mark {
  width: 54px; height: 54px; display: grid; place-items: center; flex: none; color: #fff;
  border-radius: 16px !important; background: linear-gradient(135deg, #38b6ff, #1f7bff 60%, #5b5cff);
  box-shadow: 0 14px 30px -12px rgba(31, 123, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.pf-mark svg { width: 26px; height: 26px; }

/* The editor form: the public switch, its hint and the private/public link sit together; Save and its message on one row. */
.pf-public { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.pf-hint { margin: -6px 0 0 28px; color: #93a0bd; font-size: 0.85rem; }
#pfPublicLink { margin-top: -6px; }
#pfPublicLink:empty { display: none; }
#pfPublicLink .lr-muted { margin: 0 0 0 28px; font-size: 0.85rem; }
.pf-save { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.pf-save .lr-msg { margin: 0; min-height: 0; }
.pf-link .lr-input { min-width: 0; }

@media (max-width: 560px) {
  .pf-hero { padding: 18px 16px; border-radius: 18px !important; }
  .pf-mark { width: 44px; height: 44px; border-radius: 13px !important; }
  .pf-mark svg { width: 22px; height: 22px; }
  .pf-hint, #pfPublicLink .lr-muted { margin-left: 0; }
}
