/* ==========================================================================
   Our Company (I01) — /about-us/
   Page-specific layout only. Shared tokens and components live in main.css.
   The certificate carousel reuses the homepage's ex-slider pattern and ids.
   ========================================================================== */

.jn-about {
  background: var(--jn-color-bg);
}

/* --------------------------------------------------------------------------
   S01 Banner
   -------------------------------------------------------------------------- */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 9.5rem 0 5.5rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(198, 161, 91, 0.16), transparent 34%),
    var(--jn-color-surface-soft);
}

.about-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30, 34, 40, 0.46);
}

.about-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-breadcrumb a:hover {
  color: var(--jn-color-gold);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-hero__title {
  max-width: none;
  margin: 0 0 1.5rem;
  font-family: var(--jn-font-serif);
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--jn-color-text);
}

.about-hero__lede {
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(30, 34, 40, 0.72);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.about-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: var(--jn-color-surface-muted);
  box-shadow: 0 30px 70px rgba(30, 34, 40, 0.14);
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   S03 At a Glance
   -------------------------------------------------------------------------- */
.about-stats {
  padding: 2.75rem 0;
  background: var(--jn-color-steel);
}

.about-stats__title {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-stats .jn-stat {
  padding: 0 0 0 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.about-stats .jn-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.about-stats .jn-stat__value {
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.about-stats .jn-stat__label {
  color: var(--jn-color-gold);
}

/* --------------------------------------------------------------------------
   Section heading helpers
   -------------------------------------------------------------------------- */
.about-section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.about-section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-section-head .jn-lead {
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   S02 Who We Are
   -------------------------------------------------------------------------- */
.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-intro__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 12px;
  background: var(--jn-color-surface-muted);
}

.about-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__copy p {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(30, 34, 40, 0.72);
}

/* --------------------------------------------------------------------------
   S04 Milestones
   -------------------------------------------------------------------------- */
.about-milestones {
  background: var(--jn-color-surface-soft);
}

.about-milestones__title {
  margin-bottom: 3rem;
}

.about-milestones__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-milestones__list::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--jn-color-border);
}

.about-milestones__list li {
  position: relative;
  padding-top: 1.75rem;
}

.about-milestones__list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jn-color-gold);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.14);
}

.about-milestones__icon {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--jn-color-gold);
}

.about-milestones__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.about-milestones__year {
  display: block;
  font-family: var(--jn-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--jn-color-text);
}

.about-milestones__text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(30, 34, 40, 0.62);
}

/* --------------------------------------------------------------------------
   S06 What We Do
   -------------------------------------------------------------------------- */
.about-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-track-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--jn-color-border);
  border-radius: 10px;
}

.about-track-card__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--jn-color-surface-muted);
}

.about-track-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-track-card:hover .about-track-card__media img {
  transform: scale(1.04);
}

.about-track-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem;
}

.about-track-card h3 {
  font-family: var(--jn-font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--jn-color-text);
}

.about-track-card p {
  margin-top: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(30, 34, 40, 0.7);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.about-tags li {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--jn-color-border);
  border-radius: 9999px;
  background: var(--jn-color-surface-soft);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(30, 34, 40, 0.72);
}

.about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jn-color-gold);
}

.about-text-link span {
  transition: transform 0.2s ease;
}

.about-text-link:hover span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   S07 Working With Jusnova
   -------------------------------------------------------------------------- */
.about-values {
  background: var(--jn-color-surface-soft);
}

.about-values__title {
  margin-bottom: 3rem;
  text-align: center;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.about-value-card {
  padding: 1.5rem;
  border: 1px solid var(--jn-color-border);
  border-radius: 10px;
  background: #fff;
}

.about-value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--jn-color-surface-soft);
  color: var(--jn-color-gold);
}

.about-value-card__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.about-value-card h3 {
  font-family: var(--jn-font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--jn-color-text);
}

.about-value-card p {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(30, 34, 40, 0.68);
}

/* --------------------------------------------------------------------------
   S05 Our Values
   -------------------------------------------------------------------------- */
.about-beliefs {
  background: var(--jn-color-steel);
}

.about-beliefs__head {
  margin-bottom: 3rem;
}

.about-beliefs .jn-section-title {
  color: #fff;
}

.about-beliefs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.about-belief-card {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.about-belief-card__icon {
  display: block;
  margin-bottom: 1rem;
  color: var(--jn-color-gold);
}

.about-belief-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.about-belief-card h3 {
  font-family: var(--jn-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

.about-belief-card p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   S08 Factory Summary
   -------------------------------------------------------------------------- */
.about-factory__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-factory__copy p {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(30, 34, 40, 0.72);
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 2rem 0 2.25rem;
  padding: 0;
}

.about-facts div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--jn-color-border);
}

.about-facts dt {
  font-family: var(--jn-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--jn-color-text);
}

/* Bodoni Moda draws dashes as a hairline; borrow the sans glyph */
.about-dash {
  padding: 0 0.08em;
  font-family: var(--jn-font-sans);
  font-weight: 500;
}

.about-facts dd {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 34, 40, 0.52);
}

.about-factory__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1.35fr 0.8fr;
  gap: 0.75rem;
}

.about-factory__media figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--jn-color-surface-muted);
}

.about-factory__media figure:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.about-factory__media figure:not(:first-child) {
  aspect-ratio: 4 / 3;
}

.about-factory__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   S09 Compliance Carousel — same pattern and ids as the homepage
   -------------------------------------------------------------------------- */
.about-cert {
  background: var(--jn-color-surface-soft);
}

#certSlider .ex-slide figcaption {
  text-align: center;
}

#certSlider .cert-image {
  cursor: zoom-in;
}

#certSlider .ex-track {
  will-change: transform;
}

#certSlider > .overflow-hidden {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#certLightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(17, 19, 22, 0.92);
}

#certLightbox.is-open {
  display: flex;
}

#certLightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
}

#certLightboxClose {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.about-cert__more {
  margin-top: 2rem;
  text-align: center;
}

.about-cert__more a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jn-color-gold);
  text-decoration: none;
}

.about-cert__more span {
  transition: transform 0.2s ease;
}

.about-cert__more a:hover span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   S10 Closing CTA
   -------------------------------------------------------------------------- */
.about-cta {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background: var(--jn-color-steel);
}

.about-cta__bg {
  position: absolute;
  inset: 0;
  background: url("/wp-content/uploads/2026/09/P01_S06_Highly-Hand-Polishing.webp") center / cover no-repeat;
  opacity: 0.3;
}

.about-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 42, 48, 0.96) 0%, rgba(38, 42, 48, 0.78) 58%, rgba(38, 42, 48, 0.6) 100%);
}

.about-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-cta__title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--jn-font-serif);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.about-cta__copy {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

.about-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .about-hero {
    padding-top: 8.5rem;
  }

  .about-hero__grid,
  .about-factory__grid,
  .about-intro__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-intro__media {
    max-width: 42rem;
  }

  .about-milestones__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-left: .25rem;
  }

  .about-milestones__list::before {
    display: none;
  }

  .about-milestones__title {
    margin-bottom: 1.5rem;
  }

  .about-milestones__list li {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    align-items: center;
    column-gap: .625rem;
    padding: 0 0 1.25rem 1rem;
  }

  .about-milestones__list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: .75rem;
    bottom: -.75rem;
    left: 0;
    border-left: 1px solid var(--jn-color-border);
  }

  .about-milestones__list li:last-child {
    padding-bottom: 0;
  }

  .about-milestones__list li::before {
    top: .75rem;
    left: .5px;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .about-milestones__icon {
    margin: 0;
  }

  .about-milestones__text {
    grid-column: 2;
    margin-top: .25rem;
  }

  .about-hero__title {
    max-width: 100%;
  }

  .about-hero__media {
    max-width: 42rem;
  }

  .about-stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-stats .jn-stat:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }

  .about-track-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-beliefs__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .about-hero {
    padding: 7.5rem 0 4rem;
  }

  .about-hero__actions .jn-button,
  .about-cta__actions .jn-button {
    width: 100%;
  }

  .about-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }

  .about-stats .jn-stat {
    padding-left: 0;
    border-left: 0;
  }

  .about-values__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-cta {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jn-about *,
  .jn-about *::before,
  .jn-about *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
