/**
 * About Page Styles
 * Module: about.html
 * Base: > base.css, > components.css, = about.css
 */

/* ========================================
   PAGE: ABOUT — HERO BANNER
   ======================================== */

.about-main {
    padding-top: 150px;
}

.about-hero {
  position: relative;
  width: 100%;
  height: clamp(200px, 16.67vw, 320px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #2c2c2c 20%, rgba(44, 44, 44, 0) 100%);
}

.about-hero__content {
  position: relative;
  z-index: 2;
  padding-left: clamp(40px, 40vw, 773px);
}

.about-hero__title {
  color: #fff;
  font-size: clamp(28px, 2.6vw, 50px);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ========================================
   PAGE: ABOUT — INTRO + MEDIA
   ======================================== */
.about-intro {
  position: relative;
  width: 100%;
}

.about-intro__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-intro__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 80px);
  padding-top: clamp(48px, 5.2vw, 100px);
  padding-bottom: clamp(48px, 5.2vw, 100px);
}

.about-intro__content {
  flex: 0 1 clamp(320px, 40vw, 769px);
}

.about-intro__label {
  color: #2c2c2c;
  font-size: clamp(12px, 0.83vw, 16px);
  font-weight: 400;
  margin-bottom: clamp(8px, 1.2vw, 24px);
}

.about-intro__heading {
  color: #2c2c2c;
  font-size: clamp(32px, 3.125vw, 60px);
  font-weight: 400;
  margin-bottom: clamp(16px, 2vw, 40px);
}

.about-intro__text {
  color: #2c2c2c;
  font-size: clamp(16px, 1.46vw, 28px);
  line-height: 1.8;
  text-align: justify;
}

.about-intro__text p + p {
  margin-top: 1.5em;
}

.about-intro__media-placeholder {
  flex: 0 0 clamp(280px, 39vw, 750px);
  aspect-ratio: 750 / 422;
  background: #efefef;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 299px;
}

.about-intro__media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

.about-intro__media-text {
  color: #2c2c2c;
  font-size: clamp(28px, 3.125vw, 60px);
  font-weight: 400;
}

/* ========================================
   PAGE: ABOUT — CULTURE
   ======================================== */
.about-culture {
  padding: clamp(48px, 4.2vw, 80px) 0;
}

.about-culture__inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.6vw, 50px);
}

.about-culture__values {
  position: relative;
  flex: 0 0 clamp(200px, 16vw, 308px);
  aspect-ratio: 1 / 1;
}

.about-culture__values-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.about-culture__values-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-culture__values-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.80);
  border-radius: 50%;
}

.about-culture__values-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.about-culture__values-title {
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 700;
  margin-bottom: 0.5em;
}

.about-culture__values-desc {
  font-size: clamp(12px, 0.94vw, 18px);
  font-weight: 400;
  opacity: 0.8;
}

.about-culture__body {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(200px, 16vw, 308px);
  border-radius: clamp(80px, 8vw, 154px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-culture__body-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-culture__body-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.70;
}

.about-culture__body-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.80);
  z-index: 1;
}

.about-culture__body-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: clamp(24px, 3vw, 55px) clamp(20px, 4vw, 80px);
}

.about-culture__body-title {
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 700;
  margin-bottom: clamp(8px, 1.2vw, 24px);
}

.about-culture__body-desc {
  font-size: clamp(12px, 0.94vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  opacity: 0.8;
}

/* ========================================
   PAGE: ABOUT — ETHOS
   ======================================== */
.about-ethos {
  background: #f5f5f7;
  padding: clamp(48px, 5.2vw, 100px) 0;
}

.about-ethos__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 56px);
}

.about-ethos__header {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.about-ethos__label {
  color: #2c2c2c;
  font-size: clamp(12px, 0.83vw, 16px);
  font-weight: 400;
  margin-bottom: clamp(8px, 1.2vw, 24px);
}

.about-ethos__heading {
  color: #2c2c2c;
  font-size: clamp(32px, 3.125vw, 60px);
  font-weight: 400;
}

.about-ethos__cards {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.1vw, 40px);
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

/* Ethos Cards */
.ethos-card {
  position: relative;
  flex: 1 1 clamp(180px, 13.5vw, 260px);
  max-width: 260px;
  aspect-ratio: 260 / 500;
  border-radius: 30px;
  overflow: hidden;
}

.ethos-card:nth-child(2),
.ethos-card:nth-child(4) {
  margin-top: clamp(36px, 3.65vw, 70px);
}

.ethos-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ethos-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ethos-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(44, 44, 44, 0) 0%, #2c2c2c 100%);
  z-index: 1;
}

.ethos-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(20px, 2.1vw, 40px);
  color: #fff;
}

.ethos-card__desc {
  font-size: clamp(12px, 0.94vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  text-align: justify;
}

.ethos-card__title {
  font-size: clamp(24px, 2.08vw, 40px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.ethos-card__deco {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.ethos-card__deco img {
  max-width: 100%;
  height: auto;
}

.ethos-card__deco--mission {
  left: clamp(16px, 2.2vw, 40px);
  top: 55%;
  width: clamp(120px, 13.6vw, 262px);
}

.ethos-card__deco--vision {
  left: clamp(16px, 2.2vw, 40px);
  top: 33%;
  width: clamp(80px, 8.5vw, 164px);
}

.ethos-card__deco--policy {
  left: clamp(16px, 2.2vw, 40px);
  top: 55%;
  width: clamp(80px, 8.5vw, 164px);
}

.ethos-card__deco--purpose {
  left: clamp(16px, 2.2vw, 40px);
  top: 27%;
  width: clamp(80px, 8.5vw, 164px);
}

/* ========================================
   PAGE: ABOUT — HISTORY
   ======================================== */
.about-history {
  position: relative;
  width: 100%;
}

.about-history__topbar {
  height: clamp(48px, 4.3vw, 83px);
  background: #fafafa;
}

.about-history__bg {
  position: absolute;
  inset: clamp(48px, 4.3vw, 83px) 0 0;
  z-index: 0;
}

.about-history__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-history__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(24px, 2.1vw, 40px);
  padding-bottom: clamp(48px, 5.2vw, 100px);
}

.about-history__header {
  margin-bottom: clamp(32px, 3.6vw, 70px);
}

.about-history__label {
  color: #2c2c2c;
  font-size: clamp(12px, 0.83vw, 16px);
  font-weight: 400;
  margin-bottom: clamp(8px, 1.2vw, 24px);
}

.about-history__heading {
  color: #2c2c2c;
  font-size: clamp(32px, 3.125vw, 60px);
  font-weight: 400;
}

/* Timeline */
.about-history__timeline {
  position: relative;
  margin-top: clamp(40px, 4vw, 72px);
  padding-bottom: 34%;
  width: 100%;
}

.timeline-node {
  --dot-size: clamp(8px, 0.73vw, 14px);
  position: absolute;
  left: var(--n-left);
  top: var(--n-top);
  width: 0;
  height: 0;
}

.timeline-node__anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.timeline-node__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(44, 44, 44, 0.25);
  z-index: 0;
}

.timeline-node--upper .timeline-node__line {
  top: -20px;
  height: 20px;
}

.timeline-node--lower .timeline-node__line {
  top: 0;
  height: 20px;
}

.timeline-node__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: #2c2c2c;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.timeline-node__year,
.timeline-node__event {
  position: absolute;
  left: 0;
  text-align: center;
  width: max-content;
  max-width: 7em;
  line-height: 1.4;
  transform: translateX(-50%);
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.timeline-node__year {
  color: #262626;
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 700;
}

.timeline-node__event {
  color: #696969;
  font-size: clamp(12px, 0.83vw, 16px);
  font-weight: 400;
}

.timeline-node--upper .timeline-node__year {
  bottom: calc(var(--dot-size) / 2 + 24px);
}

.timeline-node--upper .timeline-node__event {
  top: calc(var(--dot-size) / 2 + 6px);
}

.timeline-node--lower .timeline-node__year {
  top: calc(var(--dot-size) / 2 + 24px);
}

.timeline-node--lower .timeline-node__event {
  top: calc(var(--dot-size) / 2 + 48px);
}

/* Timeline Connectors (handled by background wave) */


/* ========================================
   PAGE: ABOUT — HONORS
   ======================================== */
.about-honors {
  position: relative;
  width: 100%;
  min-height: clamp(400px, 42.9vw, 823px);
  display: flex;
  align-items: center;
}

.about-honors__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-honors__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-honors__inner {
  position: relative;
  z-index: 1;
}

.about-honors__header {
  max-width: clamp(280px, 19vw, 364px);
}

.about-honors__label {
  color: #2c2c2c;
  font-size: clamp(12px, 0.83vw, 16px);
  font-weight: 400;
  margin-bottom: clamp(8px, 1.2vw, 24px);
}

.about-honors__heading {
  color: #2c2c2c;
  font-size: clamp(32px, 3.125vw, 60px);
  font-weight: 400;
  margin-bottom: clamp(8px, 1.2vw, 24px);
}

.about-honors__sub {
  color: #969696;
  font-size: clamp(16px, 1.46vw, 28px);
  font-weight: 400;
}

.about-honors__deco {
  flex: 0 0 auto;
  max-width: clamp(120px, 11.1vw, 213px);
}

.about-honors__deco img {
  width: 100%;
  height: auto;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

/* Tablet and below */
@media (max-width: 1024px) {
  .about-intro__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .about-intro__content,
  .about-intro__media-placeholder {
    flex: 1 1 auto;
    width: 100%;
    margin-top: 0;
  }

  .about-culture__inner {
    flex-direction: column;
  }

  .about-culture__values {
    flex: 0 0 auto;
    width: clamp(200px, 40vw, 308px);
    margin: 0 auto;
  }

  .about-ethos__inner {
    display: block;
  }

  .about-ethos__header {
    flex: none;
    margin-bottom: clamp(32px, 3.6vw, 70px);
  }

  .about-ethos__cards {
    justify-content: center;
    flex-wrap: wrap;
    flex: none;
  }

  .ethos-card:nth-child(2),
  .ethos-card:nth-child(4) {
    margin-top: 0;
  }

  .about-history__timeline {
    margin-top: 32px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 24px;
  }

  .about-history__timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(44, 44, 44, 0.15);
  }

  .timeline-node {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: auto;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .timeline-node__anchor {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .timeline-node__dot {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex: 0 0 var(--dot-size);
    margin-top: 6px;
  }

  .timeline-node__line {
    display: none;
  }

  .timeline-node__year,
  .timeline-node__event {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto;
    transform: none;
    width: auto;
    text-align: left;
    max-width: none;
  }

  .timeline-node__year {
    margin-bottom: 4px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-hero__content {
    padding-left: 24px;
  }

  .about-hero__title {
    font-size: 28px;
  }

  .about-intro__text {
    font-size: 16px;
  }

  .about-culture__body {
    border-radius: 40px;
  }

  .ethos-card {
    flex: 0 0 calc(50% - 12px);
    aspect-ratio: 260 / 400;
  }

  .ethos-card__title {
    font-size: 24px;
  }

  .ethos-card__desc {
    font-size: 12px;
  }

  .about-honors__header {
    margin-bottom: clamp(32px, 3.6vw, 70px);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .ethos-card {
    flex: 1 1 100%;
    aspect-ratio: 260 / 360;
  }

  .about-culture__body-text {
    padding: 20px;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.will-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.will-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.ethos-card.will-animate {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.timeline-node.will-animate {
  transition-delay: calc(var(--i, 0) * 0.08s);
}
