/* =========================================================
   About Us page — heritage, timeline, factories, honors,
   chairman quote
   ========================================================= */

.about-hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 80px) 0 100px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.about-hero__bg { position: absolute; inset: 0; z-index: 0; }
.about-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; will-change: transform;
}
.about-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(21,17,15,0.55) 0%, rgba(21,17,15,0.15) 50%, rgba(21,17,15,0.95) 100%);
}
.about-hero__content { position: relative; z-index: 2; max-width: 980px; }
.about-hero .eyebrow { color: var(--gold); }
.about-hero h1 {
  color: #fff; font-style: normal; font-weight: 500;
  font-size: clamp(3rem, 9vw, 7.4rem);
  letter-spacing: -0.03em; line-height: 0.95;
}
.about-hero h1 em { color: var(--gold); font-style: normal; }
.about-hero__lede {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 620px; margin-top: 36px; line-height: 1.55;
}

/* Heritage stats */
.heritage { background: var(--bg); padding: clamp(80px, 12vw, 140px) 0; }
.heritage__intro {
  display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center; margin-bottom: 60px;
}
.heritage__intro h2 {
  font-style: normal;
  font-weight: 500;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 620px;
  margin: 0;
}
.heritage__intro > div:last-child {
  justify-self: end;
  max-width: 660px;
}
.heritage__intro p {
  font-size: 1.05rem; line-height: 1.65;
  color: var(--ink-soft); margin: 0;
}
.heritage__intro p + p { margin-top: 14px; }
.heritage__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.heritage__stat {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.heritage__stat .num {
  font-family: var(--serif); font-style: normal; font-weight: 500;
  font-size: clamp(2.05rem, 3.5vw, 3.45rem);
  line-height: 1; letter-spacing: 0;
  display: block; color: var(--ink);
  white-space: nowrap;
}
.heritage__stat--wide .num {
  font-size: clamp(1.55rem, 2.55vw, 2.45rem);
}
.heritage__stat .num small {
  font-size: 0.5em; color: var(--accent);
  font-style: normal; margin-left: 4px;
  letter-spacing: 0;
}
.heritage__stat .label {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px; display: block;
  font-weight: 500;
}

/* Timeline */
.timeline { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.timeline__intro {
  text-align: center;
  padding: clamp(80px, 12vw, 120px) var(--gutter);
}
.timeline__intro .eyebrow { color: var(--gold); }
.timeline__intro h2 {
  color: #fff; font-style: normal; font-weight: 500; margin: 0;
}
.timeline__intro p {
  color: rgba(255,255,255,0.65);
  max-width: 580px; margin: 24px auto 0;
}
.timeline__container {
  max-width: 1100px; margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 12vw, 140px);
  position: relative;
}
.timeline__rail {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.1);
  transform: translateX(-50%);
}
.timeline__rail-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transform: scaleY(0); transform-origin: top;
  will-change: transform;
}
.timeline__entry {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  margin-bottom: 80px;
  align-items: start;
  position: relative;
}
.timeline__entry:last-child { margin-bottom: 0; }
.timeline__year {
  font-family: var(--serif); font-style: normal; font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1; margin-bottom: 16px;
}
.timeline__year sup {
  font-size: 0.32em;
  color: rgba(255,255,255,0.45);
  margin-left: 6px; font-style: normal;
  vertical-align: super;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.timeline__body h3 {
  font-family: var(--serif); font-style: normal; font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  color: #fff; margin: 0 0 12px;
  letter-spacing: -0.01em; line-height: 1.3;
}
.timeline__body p {
  color: rgba(255,255,255,0.7);
  margin: 0; font-size: 0.95rem; line-height: 1.6;
}
.timeline__body strong { color: var(--gold); font-weight: 500; }
.timeline__entry::before {
  content: ""; grid-column: 2; grid-row: 1;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--gold);
  justify-self: center;
  margin-top: 16px;
  position: relative; z-index: 2;
  transition: background-color .35s ease, transform .35s ease;
}
.timeline__entry.is-passed::before {
  background: var(--gold); transform: scale(1.2);
}
.timeline__entry:nth-child(odd) .timeline__year-wrap {
  grid-column: 1; text-align: right;
  padding-right: clamp(20px, 4vw, 60px);
}
.timeline__entry:nth-child(odd) .timeline__body {
  grid-column: 3; text-align: left;
  padding-left: clamp(20px, 4vw, 60px);
}
.timeline__entry:nth-child(even) .timeline__year-wrap {
  grid-column: 3; text-align: left;
  padding-left: clamp(20px, 4vw, 60px);
}
.timeline__entry:nth-child(even) .timeline__body {
  grid-column: 1; text-align: right;
  padding-right: clamp(20px, 4vw, 60px);
  grid-row: 1;
}

/* Six factories */
.factories { background: var(--bg); padding: clamp(80px, 12vw, 140px) 0; }
.factories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.factory-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  color: #fff;
  cursor: none;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
  isolation: isolate;
}
.factory-card:hover { transform: translateY(-10px); }
.factory-card__bg {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, var(--accent) 0%, #2a221c 100%);
}
.factory-card__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.4;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .55s ease;
}
.factory-card:hover .factory-card__bg img { transform: scale(1.06); opacity: 0.5; }
.factory-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21,17,15,0.15) 0%, rgba(21,17,15,0.85) 100%);
}
.factory-card__num {
  position: absolute; top: 30px; left: 36px;
  font-family: var(--serif); font-style: normal;
  font-size: 1rem; color: var(--gold);
  letter-spacing: 0.06em;
}
.factory-card__icon {
  position: absolute; top: 30px; right: 36px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  transition: background-color .25s, border-color .25s;
}
.factory-card:hover .factory-card__icon {
  background: var(--gold); border-color: var(--gold); color: var(--ink);
}
.factory-card__name {
  font-family: var(--serif); font-style: normal; font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: -0.01em; line-height: 1.15;
}
.factory-card__location {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.factory-card__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55; margin: 0;
}
.factory-card__cue {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.factory-card__cue::before {
  content: ""; width: 22px; height: 1px; background: currentColor;
}
.factory-card:hover .factory-card__cue,
.factory-card:focus-visible .factory-card__cue { opacity: 1; transform: translateY(0); }
.factory-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ---------------------------------------------------------------
   Factory expand overlay — layout only. The bloom + content reveal
   is choreographed by GSAP (initFactoryExpand in app.js), so this
   stylesheet just sets the resting structure. Avoid CSS transitions
   on the surface clip-path or content opacity; that fights GSAP.
   --------------------------------------------------------------- */
.factory-expand {
  position: fixed; inset: 0;
  z-index: 120;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(21, 17, 15, 0.74);
  backdrop-filter: blur(6px);
  /* GSAP autoAlpha owns visibility/opacity — start hidden via inline style. */
}
.factory-expand__surface {
  position: relative;
  width: min(1040px, 100%);
  max-height: 90vh;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  /* GSAP sets clipPath at runtime; this is just the start state */
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
}
.factory-expand__media {
  position: relative;
  min-height: 320px;
  background: #2a221c;
  overflow: hidden;
  will-change: transform;
}
.factory-expand__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.factory-expand__num {
  position: absolute; top: 24px; left: 28px;
  font-family: var(--serif);
  font-size: 1rem; color: #fff;
  background: rgba(21,17,15,0.5);
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.factory-expand__body {
  padding: clamp(28px, 4vw, 52px);
  overflow-y: auto;
}
.factory-expand__loc {
  display: block;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.factory-expand__name {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.12; margin: 12px 0 18px;
  color: var(--ink); letter-spacing: -0.01em;
}
.factory-expand__detail {
  font-size: 0.95rem; line-height: 1.7;
  color: var(--ink-soft); margin: 0 0 24px;
}
.factory-expand__stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.factory-expand__stat {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.factory-expand__stat .k {
  display: block;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.factory-expand__stat .v {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.05rem; color: var(--ink); line-height: 1.2;
}
.factory-expand__close {
  position: absolute; top: 18px; right: 18px;
  z-index: 3;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  cursor: none;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, background-color .25s ease;
}
.factory-expand__close:hover { transform: rotate(90deg); background: var(--gold); }

@media (max-width: 760px) {
  /* Stack media over body and make the BODY the internal scroll area.
     The surface is height-capped, media is a fixed band at the top, and
     the body fills the rest with its own scroll (min-height:0 lets the
     flex child shrink below its content so overflow-y actually kicks in). */
  .factory-expand__surface {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    max-height: 88vh;
  }
  .factory-expand__media {
    flex: 0 0 auto;
    min-height: 0;
    height: clamp(160px, 30vh, 220px);
  }
  .factory-expand__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* Honors marquee */
.honors {
  background: var(--ink); color: #fff;
  padding: clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.honors__intro {
  text-align: center; margin-bottom: 56px;
  padding: 0 var(--gutter);
}
.honors__intro .eyebrow { color: var(--gold); }
.honors__intro h2 {
  color: #fff; font-style: normal; font-weight: 500; margin: 0;
}
.honors__intro p {
  color: rgba(255,255,255,0.6);
  max-width: 600px; margin: 18px auto 0;
}
.honors__track {
  display: flex; gap: 64px;
  white-space: nowrap;
  font-family: var(--serif); font-style: normal;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: rgba(255,255,255,0.92);
  will-change: transform;
}
.honors__track > span {
  display: inline-flex; align-items: center; gap: 64px;
}
.honors__track em { font-style: normal; }
.honors__track > span::after {
  content: "\2726";
  color: var(--gold);
  font-style: normal; font-size: 0.55em;
}

/* Chairman quote */
.chairman { background: var(--bg); padding: clamp(80px, 12vw, 140px) 0; }
.chairman__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.chairman__media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-md);
}
.chairman__media img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.chairman__content .eyebrow { color: var(--accent); }
.chairman__quote {
  font-family: var(--serif); font-style: normal; font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.4; color: var(--ink);
  letter-spacing: -0.01em; margin: 0 0 36px;
}
.chairman__quote::before {
  content: "\201C";
  display: block;
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.4;
  margin-bottom: 30px;
}
.chairman__sig {
  font-family: var(--serif); font-style: normal;
  font-size: 1.15rem; color: var(--ink);
}
.chairman__sig span {
  display: block;
  font-family: var(--sans); font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .heritage__intro { grid-template-columns: 1fr; align-items: start; }
  .heritage__intro > div:last-child { justify-self: start; max-width: 760px; }
  .factories__grid { grid-template-columns: repeat(2, 1fr); }
  .chairman__grid { grid-template-columns: 1fr; }

  .timeline__entry {
    grid-template-columns: 36px 1fr;
    gap: 0;
  }
  .timeline__rail { left: 18px; transform: none; }
  .timeline__entry::before {
    grid-column: 1; grid-row: 1;
    margin-top: 22px; margin-left: 11px;
  }
  .timeline__entry:nth-child(odd) .timeline__year-wrap,
  .timeline__entry:nth-child(even) .timeline__year-wrap {
    grid-column: 2; text-align: left;
    padding-left: 24px; padding-right: 0;
  }
  .timeline__entry:nth-child(odd) .timeline__body,
  .timeline__entry:nth-child(even) .timeline__body {
    grid-column: 2; text-align: left;
    padding-left: 24px; padding-right: 0;
    margin-top: 8px; grid-row: auto;
  }
}
@media (max-width: 720px) {
  .heritage__stats { grid-template-columns: repeat(2, 1fr); }
  .heritage__intro { gap: 24px; margin-bottom: 40px; }
  .heritage__stat { padding: 30px 22px; min-height: 132px; }
  .heritage__stat .num { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .heritage__stat--wide .num {
    font-size: clamp(1.35rem, 5.8vw, 2rem);
    line-height: 1.12;
    white-space: normal;
  }
  .factories__grid { grid-template-columns: 1fr; }
  .chairman__grid { grid-template-columns: 1fr; gap: 28px; }
  .heritage, .timeline, .factories, .honors, .chairman { padding-top: 56px; padding-bottom: 56px; }
  .about-hero { min-height: 78vh; }
}
@media (max-width: 480px) {
  .heritage__stats { grid-template-columns: 1fr; }
}
