/* Layout changes (Zak, Nov 2026). Loaded after the other stylesheets. */

/* The lines above each section heading are removed */
.story-bridge::before { display: none; }

/* Gentle twinkle on the stars in the background photo: a matching layer, sized and moved exactly like the photo */
#landing::after {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background: url("assets/stars-twinkle.svg") center var(--landscape-y, 18%) / auto max(168svh, 177.69vw) no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { #landing::after { display: none; } }

/* Everything below the hero reads from the left */
.story-bridge { justify-items: start; text-align: left; }
.story-bridge .eyebrow { justify-content: flex-start; }
.story-bridge .sec-title, .story-bridge .sec-note { margin-inline: 0; }
#work .work-guide .rail-ctl { justify-content: flex-start; }
#mission .mission-body > .mission-lede { margin-inline: 0; text-align: left; }
#mission .pillars { margin-inline: 0; }
#portfolio .pf-legend { justify-content: flex-start; }
.homes-strap { justify-content: flex-start; text-align: left; }

/* Patent dots: "Granted" labels on the blue dots (assets/patent-labels.js); filed dots stay as empty rings */
.pf-field i { position: relative; }
.pf-field i:not(.g) { background: transparent !important; }
.pf-field i.g { cursor: pointer; }
.pf-field i.g::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 9px;
  border: 1px solid #3ba9e066;
  border-radius: 7px;
  background: #0d1a26f2;
  color: #e8f6ff;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 5;
}
.pf-field i.g:hover::after, .pf-field i.g.show::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.pf-field i.g:hover, .pf-field i.g.show { z-index: 6; }

/* THE FIN gallery: InstallerShow photo full width, then a collage of concept renders */
.gal-grid.collage { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.gal-grid.collage .fig.wide { grid-column: 1 / -1; }
.gal-grid.collage .span-3 { grid-column: span 3; }
.gal-grid.collage .span-2 { grid-column: span 2; }
.gal-grid.collage .fig-btn img { height: 100%; object-fit: cover; }
.gal-grid.collage .fig.wide .fig-btn { aspect-ratio: 16 / 9; }
.gal-grid.collage .fig.wide .fig-btn img { object-position: center 30%; }
.gal-grid.collage .span-2 figcaption .fc { font-size: 14px; }
@media (max-width: 700px) {
  .gal-grid.collage { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .gal-grid.collage .span-3, .gal-grid.collage .span-2 { grid-column: span 1; }
  .gal-grid.collage .fig.feature, .gal-grid.collage .fig:last-child { grid-column: 1 / -1; }
}
