/* ============================================================
   HOMEPAGE — page-specific composition
   ============================================================ */

/* Prevent scroll while intro is playing */
body.intro-active { overflow: hidden; }

/* ─── HERO (approved slide as the star, CTAs below) ─── */
.hero {
  position: relative;
  padding-top: 0;
  padding-bottom: 3.5rem;
  background: var(--midnight-navy-deep);
  overflow: hidden;
}
.hero__slide {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--midnight-navy-deep);
}
.hero__slide-img {
  /* Fill the full viewport width on all devices — poster is the whole hero. */
  display: block;
  width: 100%;
  height: auto;
  animation: heroBreathe 22s var(--ease-in-out) infinite alternate;
  transform-origin: center;
}
@keyframes heroBreathe {
  from { transform: scale(1.00); }
  to   { transform: scale(1.025); }
}
/* Very subtle vignette just at the edges — the poster typography is
   already baked in, so we don't want any overlay that darkens the sky
   text or the building. Keep this near-invisible. */
.hero__gloss {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 70%, rgba(5,11,28,0.35) 100%);
}

/* Screen-reader-only heading (SEO/accessibility) — the visible headline
   lives in the baked poster image. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero__cta-row {
  display: flex; justify-content: center; gap: 0.85rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  padding-inline: var(--gutter);
}

/* ─── Company introduction split ─── */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: flex-start;
}
@media (max-width: 900px) { .intro-block { grid-template-columns: 1fr; } }
.intro-block__left h2 {
  font-weight: 300;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  line-height: 1.15;
  max-width: 14ch;
}
.intro-block__left .eyebrow { margin-bottom: 1.25rem; display: block; }
.intro-block__right p { color: var(--arch-white); }
.intro-block__right .body-dim { margin-top: 1rem; }

/* ─── Division cards ─── */
.divisions { margin-top: 2rem; }
.division { display: flex; flex-direction: column; }
.division .text-link { margin-top: auto; padding-top: 1.5rem; }

/* ─── ForgeOS preview split ─── */
.forgeos-preview { position: relative; overflow: hidden; }
.fp-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .fp-grid { grid-template-columns: 1fr; } }
.fp-copy .eyebrow { display: block; margin-bottom: 1.25rem; }
.fp-copy h2 { max-width: 20ch; font-weight: 300; margin-bottom: 1.5rem; }
.fp-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.fp-list li {
  display: flex; align-items: center; gap: 0.85rem;
  color: var(--arch-white); font-size: 0.98rem;
}
.fp-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ice-blue); box-shadow: 0 0 8px var(--ice-blue-glow); flex-shrink: 0; }
.fp-ctas { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.fp-visual { text-align: center; position: relative; }
.fp-visual img {
  max-width: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

/* ─── Slide strip (division spotlights, full-frame images) ─── */
.section--nopad { padding-block: 0; }
.slide-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--midnight-navy-deep);
}
@media (max-width: 900px) { .slide-strip { grid-template-columns: repeat(2, 1fr); } }
.slide {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
}
.slide img {
  width: 100%; height: 100%; object-fit: contain;
  object-position: center;
  background: var(--midnight-navy-deep);
  transition: transform 1400ms var(--ease-out), filter 800ms;
  filter: brightness(0.95);
}
.slide:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* ─── Innovation section ─── */
.innovation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .innovation__grid { grid-template-columns: 1fr; } }
.pill-stat {
  padding: 2rem;
  border: 1px solid var(--line);
  background: rgba(220,238,255,0.02);
  transition: border-color var(--dur-med), background var(--dur-med), transform var(--dur-med);
}
.pill-stat:hover {
  border-color: var(--ice-blue-dim);
  background: rgba(220,238,255,0.05);
  transform: translateY(-3px);
}
.pill-stat .eyebrow { display: block; margin-bottom: 1rem; }
.pill-stat h4 { font-family: var(--font-serif); font-weight: 300; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.01em; }

/* ─── Projects preview grid ─── */
.projects-grid { margin-top: 3rem; }
.project { display: flex; flex-direction: column; }
.project__media {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: var(--midnight-navy-deep);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
}
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 1400ms var(--ease-out);
  display: block;
}
.project:hover .project__media img { transform: scale(1.02); }
.project__meta { padding: 1.5rem 0.25rem 0; }
.project__meta .eyebrow { display: block; margin-bottom: 0.75rem; }
.project__meta h4 { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; }

/* ─── Vision section ─── */
.vision { position: relative; overflow: hidden; }
.vision__quote {
  max-width: 32ch;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 700px) { .vision__quote { max-width: 22ch; } }
@media (min-width: 1000px) { .vision__quote { max-width: 28ch; } }
.vision__quote p {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 1.4rem + 2.5vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--arch-white);
  margin: 0 0 2rem;
}
.vision__cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ice-blue-dim);
}

/* ─── Final CTA ─── */
.cta-final { padding-block: clamp(4rem, 7vw, 7rem); }
.cta-final h2 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
