/**
 * Goodlight - Astro Reference: About Page Design System
 * Styled authentically according to https://www.astrolighting.com/about
 */

.gl-about {
  color: var(--gl-color-black, #000);
  background: var(--gl-color-white, #fff);
  overflow: clip;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.gl-about h1,
.gl-about h2,
.gl-about h3 {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  color: #000;
}

.gl-about p,
.gl-about li {
  font-size: 15px;
  line-height: 1.7;
  color: #505050;
}

/* Page Intro / Editorial Header (Astro .page-intro--about) */
.gl-about-intro {
  padding: 90px 24px 70px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.gl-about-intro .gl-about-kicker {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #707070;
  margin: 0 0 16px;
}

.gl-about-intro h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1153846154;
  margin: 0 0 24px;
  color: #000;
  text-transform: none;
  letter-spacing: normal;
}

.gl-about-intro p:last-child {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: #555;
  font-weight: 400;
}

/* Story Section: Split Grid Layout */
.gl-about-story {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 100px;
  position: relative;
  isolation: isolate;
}

/* Left Column: Sticky Editorial Portrait (Astro .about__sticky) */
.gl-about-sticky {
  position: sticky;
  top: 100px;
  padding: 30px 0 80px;
  z-index: 2;
}

.gl-about-banner {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background-color: #f7f7f8;
  border: 1px solid #eaeaea;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.gl-about-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: calc(100vh - 220px);
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.gl-about-banner:hover img {
  transform: scale(1.03);
}

/* Right Column: Timeline / Narrative Content (Astro .about__timeline) */
.gl-about-timeline {
  padding: 30px 0 60px;
  position: relative;
  min-width: 0;
}

/* Alternating Article Blocks (Astro .about__article) */
.gl-about-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin: 0 0 100px;
  padding: 0;
}

.gl-about-row:last-child {
  margin-bottom: 0;
}

/* Alternating visual & text direction */
.gl-about-row:nth-child(even) .gl-about-visual {
  order: 2;
}

.gl-about-row:nth-child(even) .gl-about-copy {
  order: 1;
}

.gl-about-visual {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background-color: #f7f7f8;
  border: 1px solid #eaeaea;
  aspect-ratio: 1 / 1;
}

.gl-about-visual img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.gl-about-row:hover .gl-about-visual img {
  transform: scale(1.04);
}

.gl-about-copy {
  padding: 0;
  min-width: 0;
}

.gl-about-copy h2 {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1578947368;
  margin: 0 0 18px;
  color: #000;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: break-word;
}

.gl-about-copy ul {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.gl-about-copy li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.65;
  color: #505050;
}

.gl-about-copy li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: currentColor;
  font-weight: 400;
}

.gl-about-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #505050;
}

.gl-about-copy p:last-child {
  margin-bottom: 0;
}

/* Astro-style Link CTA (.button--border) */
.gl-about-copy .gl-about-cta {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-top: 14px;
  padding: 0 0 8px;
  border-bottom: none;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}

.gl-about-copy .gl-about-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: currentColor;
  opacity: 0.2;
}

.gl-about-copy .gl-about-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background-color: currentColor;
  width: 0;
  transition: width 150ms linear;
}

.gl-about-copy .gl-about-cta:hover::after,
.gl-about-copy .gl-about-cta:active::after {
  width: 100%;
}

.gl-about-copy .gl-about-cta:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .gl-about-story {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
    padding: 0 30px 80px;
  }
  .gl-about-row {
    gap: 32px;
    margin-bottom: 70px;
  }
  .gl-about-copy h2 {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .gl-about-intro {
    padding: 60px 20px 40px;
  }
  .gl-about-intro h1 {
    font-size: 36px;
  }
  .gl-about-story {
    display: block;
    padding: 0 20px 60px;
  }
  .gl-about-sticky {
    position: static;
    padding: 0 0 40px;
  }
  .gl-about-banner img {
    max-height: 400px;
    aspect-ratio: 16 / 9;
  }
  .gl-about-timeline {
    padding: 0;
  }
  .gl-about-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }
  .gl-about-row:nth-child(even) .gl-about-visual {
    order: 1;
  }
  .gl-about-row:nth-child(even) .gl-about-copy {
    order: 2;
  }
  .gl-about-copy h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gl-about-sticky {
    position: static;
  }
  .gl-about-visual img,
  .gl-about-banner img {
    transition: none;
  }
}
