/* Shared product layout, with a single system font and product-specific accents. */
body.project-page {
  --studio-ink: var(--fg);
  --studio-muted: var(--muted);
  --studio-line: var(--border);
  --studio-accent: var(--accent);
  font-family: var(--studio-font);
  line-height: 1.7;
}
body.project-same { --bg: #faf9f6; --panel: #f1efe8; --fg: #29312d; --muted: #616b63; --accent: #4a6e51; --accent-2: #4a6e51; --border: #dce0d7; }
body.project-near { --bg: #111418; --panel: #1a1e24; --fg: #e5e7eb; --muted: #a4adb9; --accent: #f2957d; --border: #303640; }
body.project-timeline { --bg: #f8f9fb; --panel: #eef2f6; --fg: #202832; --muted: #626d7a; --accent: #245ea5; --accent-2: #245ea5; --border: #dce1e8; }
.project-page .studio-brand:hover { color: var(--fg); text-decoration: none; }
.project-page .wrap { max-width: 960px; }
.project-page .wrap-wide { max-width: 1040px; }
.project-page .product-hero { padding: 38px 0 34px; text-align: left; }
.product-identity { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; font-size: 12px; color: var(--muted); }
.product-identity img { width: 32px; height: 32px; border-radius: 6px; }
.project-page header h1 { font-family: var(--studio-font); font-size: clamp(29px,4vw,40px); line-height: 1.2; font-weight: 650; letter-spacing: -.025em; margin: 0 0 17px; }
.project-page h1 .grad { background: none; color: var(--fg); }
.project-page .sub { font-size: 16px; line-height: 1.75; max-width: 730px; margin: 0 0 20px; }
.project-page .badge-pill { display: block; border: 0; border-radius: 0; padding: 0; margin: 0 0 13px; color: var(--muted); background: transparent; font-size: 12px; letter-spacing: 0; }
.project-page .hero-art { margin: 25px 0 0; }
.project-page .hero-art img { border-radius: 5px; box-shadow: none; }
.project-page .cta-row { justify-content: flex-start; gap: 10px; margin-top: 20px !important; }
.project-page .ghost,.project-page .cta { border-radius: 4px; font-size: 13px; line-height: 1.4; padding: 12px 16px; font-weight: 600; transition: none; }
.project-page .ghost.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.project-page .cta { background: var(--accent); color: #fff; }
.project-page .ghost:hover,.project-page .cta:hover { transform: none; filter: none; text-decoration: underline; text-underline-offset: 3px; }
.project-page section { padding: 30px 0; }
.project-page main h2 { font-family: var(--studio-font); font-size: 23px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; margin-bottom: 18px; }
.project-page main p { font-size: 15px; }
.project-page .card { border-radius: 5px; padding: 21px; }
.project-page .card h3 { font-size: 15px; font-weight: 650; line-height: 1.4; margin-bottom: 10px; letter-spacing: 0; }
.project-page .card p { font-size: 14px; line-height: 1.7; }
.project-page .priv { font-size: 12px; color: var(--muted); font-weight: 400; }
.project-page .shot { margin: 0; border-radius: 5px; }
.project-page .shot img { aspect-ratio: auto; }
.project-page .shot figcaption { font-size: 13px; }
.project-page .credit { text-align: left; }
.project-page .credit p { font-size: 14px; max-width: none; margin-left: 0; }
.project-page footer { padding: 28px 0 34px; font-size: 12px; border-top: 1px solid var(--border); }
.project-page footer p { margin: 0 0 9px; }
.project-page .note { font-size: 12px; margin: 15px 0 0; }
.project-near .ghost.accent { color: #12161c; }
.project-timeline code { background: #eaf0f7; color: #365878; overflow-wrap: anywhere; }
.project-timeline details { border-radius: 4px; }
.project-timeline details summary { padding-right: 24px; position: relative; font-size: 14px; }
.project-timeline details summary::after { position: absolute; right: 0; top: 16px; }
.studio-footer-link { margin-top: 20px !important; font-size: 12px; }
.studio-footer-link a { color: var(--muted); }
@media(max-width:640px) {
  .project-page .product-hero { padding: 28px 0; }
  .project-page .sub { font-size: 15px; }
  .project-page .ghost,.project-page .cta { padding: 11px 14px; }
  .project-page section { padding: 26px 0; }
  .project-page .card { padding: 18px; }
}
