/* Shared additions for the two projects; existing product layouts stay intact. */
.product-small.project-added { grid-template-columns: minmax(0,1fr); grid-template-rows: 280px 1fr; }
.project-added .product-image { min-height: 0; }
.project-added .product-small-copy { min-width: 0; }
.project-added .product-small-copy h3 { overflow-wrap: anywhere; }
.project-added .product-small-copy p { font-size: 15px; }
.project-added .product-link { min-height: 44px; font-size: 12px; }
.product-image.test3d-product { background: #101510; }
.product-image.test3d-product img { width: 100%; height: 100%; object-fit: contain; }
.product-image.buyers-cards-product { background: radial-gradient(ellipse at center, #ecfbff, #d3e9f1); }
.product-image.buyers-cards-product img { width: min(68%, 245px); height: auto; max-height: 92%; object-fit: contain; border-radius: 24px; box-shadow: 0 18px 40px #12345926; }

body.project-detail { --accent: #72e7f4; --accent-2: #468fff; --accent-rgb: 114,231,244; }
body.theme-test3d { --accent: #d5ed45; --accent-2: #77c592; --accent-rgb: 213,237,69; }
.project-detail .product-hero { min-height: 670px; gap: clamp(28px,4vw,64px); grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); }
.project-detail .product-hero h1 { font-size: clamp(44px,5.6vw,82px); line-height: 1.04; overflow-wrap: anywhere; }
.project-detail .product-hero .hero-lead { font-size: clamp(17px,1.3vw,20px); }
.project-detail .product-hero .hero-tags { margin-top: 28px; }
.project-detail .eyebrow { flex-wrap: wrap; line-height: 1.7; }
.project-detail .button { font-size: 12px; line-height: 1.5; min-height: 50px; padding: 12px 20px; letter-spacing: .03em; text-align: center; }
.project-detail .suite-brand { min-width: 0; }
.project-detail .suite-brand strong { overflow-wrap: anywhere; }
.project-detail .product-header nav a { font-size: 11px; }
.project-detail .project-art { margin: 0; min-width: 0; }
.project-art img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 28px 65px #0005; }
.project-art figcaption { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.65; text-align: center; }
.project-art.app-art img { width: min(100%, 370px); margin: 0 auto; }
.project-detail .metric span { color: #aab7cb; font-size: 12px; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.project-detail .feature { min-width: 0; min-height: 230px; }
.project-detail .feature h3 { margin-top: 28px; }
.project-detail .feature p, .project-detail .flow p { font-size: 15px; line-height: 1.7; }
.project-detail .feature-number { color: var(--accent); font-size: 12px; }
.project-detail .section-head h2 { font-size: clamp(34px,4.4vw,62px); line-height: 1.08; overflow-wrap: anywhere; }
.project-detail .section-head p { font-size: 16px; }
.project-detail .flow h3 { line-height: 1.3; }
.project-detail .repo-panel { grid-template-columns: minmax(0,1fr) auto; }
.project-detail .repo-panel h2 { font-size: clamp(30px,3.5vw,48px); }
.project-detail .build-note { margin-top: 16px; color: #aab7cb; font-size: 13px; line-height: 1.7; }
.project-detail .text-link { color: var(--accent); text-underline-offset: 4px; }
.project-detail .download-spec { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 26px 0; padding: 0; list-style: none; color: #c8d4e6; font-size: 14px; }
.project-detail .project-faq { display: grid; gap: 14px; }
.project-detail .project-faq details { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.project-detail .project-faq summary { cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.5; }
.project-detail .project-faq p { color: #aab7cb; font-size: 15px; line-height: 1.75; }
.project-detail :focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.project-detail .reveal { opacity: 1; transform: none; }
@media (max-width: 1050px) {
  .project-detail .product-hero { grid-template-columns: minmax(0,1fr); gap: 40px; min-height: auto; }
  .project-art { width: min(100%,740px); justify-self: center; }
  .project-detail .repo-panel { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .project-detail .product-header { gap: 14px; }
  .project-detail .menu-toggle { min-height: 44px; flex-shrink: 0; font-size: 11px; }
  .project-detail .product-hero { padding-top: 124px; padding-bottom: 50px; }
  .project-detail .product-hero h1 { font-size: clamp(38px,10vw,62px); }
  .project-detail .content-section { padding-top: 64px; padding-bottom: 64px; }
  .project-detail .repo-panel { padding: 24px; gap: 24px; }
  .project-detail .hero-tags li { font-size: 10px; line-height: 1.4; }
  .project-detail .project-faq details { padding: 20px; }
  .project-detail .suite-brand strong { font-size: 13px; }
}
@media (max-width: 460px) {
  .product-small.project-added { grid-template-rows: 210px 1fr; }
  .project-detail .repo-actions { width: 100%; }
  .project-detail .product-hero h1 { font-size: clamp(36px,10vw,46px); }
  .project-detail .feature { padding: 24px; }
}
