/* ============================================================
   NNLHC 3.0 — About Page (about.html)
   Built on top of css/style.css design tokens, nav, footer,
   .section/.on-silk/.section-title/.btn classes already defined
   there. This file only adds About-page-specific layout and the
   seven approved text-free decorative background bands.
   Nothing in css/style.css is edited or removed by this file.
   ============================================================ */

.about-page-section { padding: 72px 0; }

/* Blend section boundaries: the .on-silk utility (style.css) applies its
   silk-texture + diagonal gradient independently per section, so the
   pattern resets at every section edge. Combined with each section's own
   decorative band, this produced a visible brightness seam at section
   boundaries. This soft inset fade (same navy as the page's own deep
   background) blends those transitions without altering any approved
   image, band, or layout. */
.about-page-section {
  box-shadow:
    inset 0 36px 36px -36px rgba(6,14,28,0.85),
    inset 0 -36px 36px -36px rgba(6,14,28,0.85);
}

/* ---------- Decorative band mixin (shared pattern) ----------
   Each section gets its approved background image as a thin,
   full-width band pinned to the top, at its native aspect ratio
   (no upscaling — these are wide, short panoramic strips, not
   full-bleed cover photos), fading into the section via a
   mask-image gradient so it blends rather than hard-cuts.
   Headings/copy sit above it in a positioned .container.
*/
.about-page-section { position: relative; overflow: hidden; }
.about-page-section > .container { position: relative; z-index: 1; }

.about-hero-section::before,
.about-who-section::before,
.about-philosophy-section::before,
.about-mvv-section::before,
.about-founder-section::before,
.about-approach-section::before,
.about-journey-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0) 100%);
}

.about-hero-section::before {
  background-image: url('../assets/images/about/about-hero-band.jpg');
  aspect-ratio: 2172 / 155;
  opacity: 0.55;
}
.about-who-section::before {
  background-image: url('../assets/images/about/about-who-we-are-band.jpg');
  aspect-ratio: 1053 / 136;
  opacity: 0.35;
}
.about-philosophy-section::before {
  background-image: url('../assets/images/about/about-philosophy-band.jpg');
  aspect-ratio: 1082 / 136;
  opacity: 0.4;
}
.about-mvv-section::before {
  background-image: url('../assets/images/about/about-mission-vision-values-band.jpg');
  aspect-ratio: 2172 / 116;
  opacity: 0.35;
}
.about-founder-section::before {
  background-image: url('../assets/images/about/about-founder-band.jpg');
  aspect-ratio: 2172 / 109;
  opacity: 0.4;
}
.about-approach-section::before {
  background-image: url('../assets/images/about/about-approach-band.jpg');
  aspect-ratio: 1053 / 145;
  opacity: 0.35;
}
.about-journey-section::before {
  background-image: url('../assets/images/about/about-journey-band.jpg');
  aspect-ratio: 1082 / 145;
  opacity: 0.5;
}

/* ---------- Hero ---------- */
.about-hero-content { max-width: 760px; margin: 0 auto; text-align: center; }
.about-hero-section .section-title { margin-bottom: 0.6em; }
.about-hero-logo { height: 128px; width: auto; display: block; margin: 0 auto 24px; }
@media (max-width: 420px) {
  .about-hero-logo { height: 92px; margin-bottom: 16px; }
}

/* ---------- Who We Are (on-silk navy/emerald/gold, like the rest of the page) ---------- */
.about-copy-block { max-width: 760px; margin: 0 auto; }
.about-copy-block p { margin-bottom: 1.1em; }
.on-silk .about-copy-block p { color: rgba(255,255,255,0.85); }

/* ---------- Our Guiding Philosophy ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 2.2rem;
}
.philosophy-card {
  background: rgba(8,17,34,0.5);
  backdrop-filter: blur(2px);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
}
.philosophy-card h3 { color: var(--gold-bright); font-size: 1.2rem; margin-bottom: 0.5em; }
.philosophy-card p { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin: 0; }
.philosophy-icon { width: 104px; height: 104px; display: block; margin: 0 auto 16px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35)); }

/* ---------- Mission, Vision & Values (on-silk navy/emerald/gold) ---------- */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 1.6rem;
}
.mvv-card { background: rgba(255,255,255,0.7); border-radius: var(--radius-md); padding: 28px 24px; }
.mvv-card h3 { font-size: 1.15rem; margin-bottom: 0.5em; color: var(--navy-mid); }
.mvv-card p { margin: 0; }
.mvv-closing { margin-top: 2.2rem; }
.on-silk .mvv-card { background: rgba(8,17,34,0.5); backdrop-filter: blur(2px); }
.on-silk .mvv-card h3 { color: var(--gold-bright); }
.on-silk .mvv-card p { color: rgba(255,255,255,0.85); }

/* ---------- Meet the Founder — reuses .about-grid / .about-media / .about-copy from style.css ---------- */
.about-founder-section .founder-name { font-size: 1.15rem; font-weight: 700; color: var(--gold-bright); margin: -0.4em 0 0.8em; }

/* ---------- Founder office portrait + animated lightbulb (24 Oct 2026) ----------
   "About Page Image Replacement & Animation" directive. The container locks to
   the photo's own native 1312:1199 ratio (overriding the shared 4:5 crop used
   by the old cutout portrait) so the full approved composition is always
   visible, never cropped.

   .about-bulb-glow and .about-bulb-logo are positioned with left/top/width in
   percentages measured directly from the photo's own pixels (bulb center at
   full-image coordinates 692,128 of 1312x1199 → left 52.74%, top 10.68%).
   Because the container's aspect-ratio is locked to the same 1312:1199 ratio
   as the photo and the photo fills it at object-fit:cover, these percentages
   stay correctly aligned to the bulb at every viewport size. The logo's
   rotated bounding-box diagonal (~133px at the photo's native scale) stays
   well inside the glass bulb's own radius (~95-110px), so it can never spin
   outside the bulb. */
.about-media.office-portrait {
  position: relative;
  aspect-ratio: 1312 / 1199;
  min-height: unset;
  overflow: hidden;
  isolation: isolate;
}
.about-media.office-portrait .about-media-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.about-media.office-portrait .about-bulb-glow {
  position: absolute;
  left: 52.74%;
  top: 10.68%;
  width: 15%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 170, 0.9) 0%, rgba(255, 196, 90, 0.55) 45%, rgba(255, 196, 90, 0) 75%);
  filter: blur(3px);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: aboutBulbGlow 4s ease-in-out infinite;
}
.about-media.office-portrait .about-bulb-logo {
  position: absolute;
  left: 52.74%;
  top: 10.68%;
  width: 6.7%;
  height: auto;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.55));
  animation: aboutLogoSpin 8s linear infinite;
}
@keyframes aboutBulbGlow {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes aboutLogoSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .about-media.office-portrait .about-bulb-glow,
  .about-media.office-portrait .about-bulb-logo {
    animation: none;
  }
  .about-media.office-portrait .about-bulb-glow {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(1.02);
  }
  .about-media.office-portrait .about-bulb-logo {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* ---------- Our Approach to Growth ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 2rem;
}
.approach-card { background: rgba(255,255,255,0.65); border-radius: var(--radius-md); padding: 26px 24px; }
.approach-card h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.approach-card p { margin: 0; }
.approach-card-wide { grid-column: 1 / -1; }
.on-silk .approach-card { background: rgba(8,17,34,0.5); backdrop-filter: blur(2px); }
.on-silk .approach-card h3 { color: var(--gold-bright); }
.on-silk .approach-card p { color: rgba(255,255,255,0.85); }

/* ---------- The Journey Is Yours ---------- */
.about-journey-content { max-width: 760px; margin: 0 auto; text-align: center; }
.about-journey-cta { margin-top: 1.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card-wide { grid-column: auto; }
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media-wrap { order: -1; }
}

@media (max-width: 420px) {
  .about-page-section { padding: 52px 0; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .philosophy-icon { width: 76px; height: 76px; margin-bottom: 10px; }
  .about-hero-section::before,
  .about-philosophy-section::before,
  .about-founder-section::before,
  .about-journey-section::before { opacity: 0.3; }
}
