/* PixelCam — template styles: Every other page: about, contact, policies, compare, wishlist, sitemap, 404.
   Loaded after pixel-cam.css by ThemeHook (handle pixel-cam-template).
   Rules here are used ONLY on these screens; anything shared stays in pixel-cam.css.
   See templates/README.md before moving rules between files. */
.about-hero h1{font-size:clamp(30px,4.4vw,52px);font-weight:700;line-height:1.08;letter-spacing:-.02em;margin:0 0 18px}
.about-hero .pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}

.ab-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid var(--border)}
.ab-stats .stat{padding:36px 24px;border-right:1px solid var(--border)}
.ab-stats .stat:last-child{border-right:0}
@media(max-width:720px){.ab-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ab-stats .stat{border-bottom:1px solid var(--border)}.ab-stats .stat:nth-child(2n){border-right:0}.ab-stats .stat:nth-last-child(-n+2){border-bottom:0}
}

.ab-section{padding:64px 0}
.ab-section + .ab-section{padding-top:0}

.ab-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:center}
@media(max-width:900px){.ab-story{grid-template-columns:minmax(0,1fr);gap:28px}
}
.ab-story .photo{aspect-ratio:4/3;display:grid;place-items:center;font-family:var(--mono);font-size:13px;color:var(--muted);border-radius:12px;overflow:hidden}

.ab-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
@media(max-width:840px){.ab-values{grid-template-columns:minmax(0,1fr)}
}

.ab-team{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
@media(max-width:900px){.ab-team{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){.ab-team{grid-template-columns:minmax(0,1fr)}
}
.ab-team .mem{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:6px}

.ab-showroom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
@media(max-width:840px){.ab-showroom{grid-template-columns:minmax(0,1fr)}
}
.ab-showroom .room{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.ab-showroom .room h4{font-size:18px;font-weight:600;margin:6px 0 14px}
.ab-showroom .room .btn-sm{font:inherit;font-size:13px;font-weight:600;padding:8px 14px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--fg);cursor:pointer;text-decoration:none;display:inline-block;transition:.15s}
.ab-showroom .room .btn-sm:hover{border-color:var(--accent);color:var(--accent)}
.page-lead{color:var(--muted);margin-bottom:28px}

/* ===== POLICY ===== */
.pol-layout{display:grid;grid-template-columns:240px 1fr;gap:48px;align-items:start}
.pol-toc{position:sticky;top:20px}
.pol-toc h2{font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:14px}
.pol-toc ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.pol-toc a{font-size:14px;color:var(--fg)}
.pol-toc a:hover{color:var(--accent)}
.pol-list{margin:0 0 20px;padding-left:22px;display:flex;flex-direction:column;gap:8px;color:#444;line-height:1.6;max-width:72ch}
@media(max-width:760px){.pol-layout{grid-template-columns:1fr;gap:24px}.pol-toc{position:static}
}
/* About: story photo (4:3) + showroom rooms (16:9). */
.ab-story .photo img{width:100%;height:100%;object-fit:cover;display:block}
.ab-showroom .room img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#f2f2f2}

/* ============================================================ *
 * 404 — camera "out of focus" / aperture concept
 * ============================================================ */
.e404{
  max-width:640px;margin-inline:auto;text-align:center;
  padding-block:clamp(24px,6vw,64px);
}
.e404-eyebrow{
  font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);margin-bottom:18px;
}
/* 4 [aperture] 4 — mono/tabular so the digits sit even with the iris */
.e404-code{
  display:flex;align-items:center;justify-content:center;gap:clamp(8px,2vw,20px);
  line-height:1;margin-bottom:28px;
}
.e404-digit{
  font-family:var(--mono);font-variant-numeric:tabular-nums;
  font-size:clamp(88px,20vw,180px);font-weight:800;letter-spacing:-.04em;
  color:var(--fg);
  /* subtle "defocus" bloom in the brand teal */
  text-shadow:0 8px 40px var(--accent-80);
}
/* the 0 = a 6-blade camera iris built from clipped teal segments */
.e404-aperture{
  --sz:clamp(84px,19vw,172px);
  position:relative;width:var(--sz);height:var(--sz);flex:none;border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%,#fff 0 22%,transparent 23%),
    conic-gradient(from 0deg,var(--accent),var(--accent-80),var(--accent));
  box-shadow:0 10px 40px var(--accent-80),inset 0 0 0 4px var(--surface);
  overflow:hidden;
  animation:e404-iris 8s ease-in-out infinite;
}
/* six blade edges radiating from centre — thin surface-coloured wedges */
.e404-aperture span{
  position:absolute;top:50%;left:50%;width:50%;height:2px;
  background:var(--surface);opacity:.55;transform-origin:left center;
}
.e404-aperture span:nth-child(1){transform:rotate(0deg)}
.e404-aperture span:nth-child(2){transform:rotate(60deg)}
.e404-aperture span:nth-child(3){transform:rotate(120deg)}
.e404-aperture span:nth-child(4){transform:rotate(180deg)}
.e404-aperture span:nth-child(5){transform:rotate(240deg)}
.e404-aperture span:nth-child(6){transform:rotate(300deg)}
@media (prefers-reduced-motion:reduce){
  .e404-aperture{animation:none}
}
.e404-title{
  font-family:var(--font);font-size:clamp(22px,3.4vw,32px);font-weight:700;
  letter-spacing:-.02em;margin-bottom:12px;color:var(--fg);
}
.e404-lead{
  font-size:16px;line-height:1.7;color:var(--muted);
  max-width:44ch;margin:0 auto 28px;
}
.e404-search{max-width:440px;margin:0 auto 22px}
/* Self-contained: header .hdr-search is display:none on mobile and relies on
   a flex parent, so re-declare here instead of leaning on it. */
.e404-search .hdr-search{display:flex !important;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.e404-search .hdr-search input{flex:1;border:0;padding:10px 14px;font:inherit;font-size:14px;min-width:0;outline:none}
.e404-search .hdr-search button{flex:none;border:0;background:var(--accent);color:#fff;padding:0 18px;cursor:pointer;font-weight:600;font-size:14px}
.e404-search .hdr-search button:hover{background:var(--accent-80)}
.e404-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.section--no-y{padding-block:0}

/* Sitemap (template-sitemap.php) */
.sitemap-section{margin-bottom:36px}
.sitemap-section h2{font-size:18px;margin-bottom:14px;margin-top:0}
.sitemap-list{list-style:none;display:flex;flex-direction:column;gap:8px;padding:0;margin:0}
.sitemap-list--spaced{gap:10px}