/* ── CretaHub — About Us Page ────────────────────────────────── */

:root {
  --che-primary:            #004d70;
  --che-primary-dark:       #003552;
  --che-secondary:          #895200;
  --che-amber:              #FDA53A;
  --che-surface:            #fcf9f8;
  --che-surface-low:        #f6f3f2;
  --che-surface-white:      #ffffff;
  --che-on-surface:         #1b1c1c;
  --che-on-surface-variant: #3e4850;
  --che-outline-variant:    #bec8d2;
  --che-font-headline:      "Noto Serif", Georgia, serif;
  --che-font-body:          "Plus Jakarta Sans", sans-serif;
}

#che-about-wrap, #che-about-wrap * { box-sizing: border-box; }

#che-about-wrap {
  --che-primary:            #004d70;
  --che-primary-dark:       #003552;
  --che-secondary:          #895200;
  --che-amber:              #FDA53A;
  --che-surface:            #fcf9f8;
  --che-surface-low:        #f6f3f2;
  --che-surface-white:      #ffffff;
  --che-on-surface:         #1b1c1c;
  --che-on-surface-variant: #3e4850;
  --che-outline-variant:    #bec8d2;
  --che-font-headline:      "Noto Serif", Georgia, serif;
  --che-font-body:          "Plus Jakarta Sans", sans-serif;

  background: var(--che-surface);
  color: var(--che-on-surface);
  font-family: var(--che-font-body);
  overflow-x: hidden;
}

/* ── Animated gradient border ─────────────────────────────── */
@property --che-ga {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes che-spin { to { --che-ga: 360deg; } }

#che-about-wrap .che-gbc {
  background-image:
    linear-gradient(var(--che-surface-white), var(--che-surface-white)),
    conic-gradient(from var(--che-ga), #004d70 0%, #FDA53A 30%, #FFD080 50%, #FDA53A 70%, #004d70 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  border-radius: 20px;
}
#che-about-wrap .che-gbc:hover { animation: che-spin 5s linear infinite; }

/* ── Layout helpers ───────────────────────────────────────── */
#che-about-wrap .che-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
#che-about-wrap .che-eyebrow {
  font-family: var(--che-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--che-secondary);
  display: block;
  margin-bottom: 16px;
}
#che-about-wrap .che-about-section {
  padding: 100px 0 120px;
  background: var(--che-surface);
}
#che-about-wrap .che-about-section--alt {
  background: var(--che-surface-low);
}
#che-about-wrap .che-about-section-header {
  margin-bottom: 56px;
}
#che-about-wrap .che-about-section-header > * {
  opacity: 0;
}
#che-about-wrap .che-about-heading {
  font-family: var(--che-font-headline);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--che-on-surface);
  margin: 0;
}
#che-about-wrap .che-about-heading em {
  font-style: italic;
  color: var(--che-primary);
}

/* Hero styles → premium-hero.css */

/* ── Story section ────────────────────────────────────────── */
#che-about-wrap .che-about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
#che-about-wrap .che-about-story__text > * {
  opacity: 0;
}
#che-about-wrap .che-about-body-text {
  font-family: var(--che-font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--che-on-surface-variant);
  margin: 0;
}
#che-about-wrap .che-about-story__mission {
  padding: 36px 40px;
  opacity: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
#che-about-wrap .che-about-story__mission:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,77,112,0.15);
}
#che-about-wrap .che-about-mission-text {
  font-family: var(--che-font-headline);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--che-on-surface);
  font-style: italic;
  margin: 0;
}

/* ── Stats ────────────────────────────────────────────────── */
#che-about-wrap .che-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
#che-about-wrap .che-about-stat {
  text-align: center;
  padding: 36px 24px;
  border-radius: 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  opacity: 0;
}
#che-about-wrap .che-about-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,77,112,0.15);
}
#che-about-wrap .che-about-stat__number {
  font-family: var(--che-font-headline);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--che-primary);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
#che-about-wrap .che-about-stat__label {
  font-family: var(--che-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--che-on-surface-variant);
}
#che-about-wrap .che-about-tagline {
  font-family: var(--che-font-headline);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--che-on-surface-variant);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  opacity: 0; /* GSAP animates to 1 */
}

/* ── Team ─────────────────────────────────────────────────── */
#che-about-wrap .che-about-team {
  display: flex;
  gap: 28px;
}
#che-about-wrap .che-about-member {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  opacity: 0;
}
#che-about-wrap .che-about-member:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,77,112,0.15);
}
#che-about-wrap .che-about-member__avatar {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--che-primary);
  color: #fff;
  font-family: var(--che-font-headline);
  font-size: 1.1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#che-about-wrap .che-about-member__name {
  font-family: var(--che-font-headline);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--che-on-surface);
  margin: 0 0 4px;
  transition: color 0.22s ease;
}
#che-about-wrap .che-about-member:hover .che-about-member__name {
  color: var(--che-primary) !important;
}
#che-about-wrap .che-about-member__role {
  font-family: var(--che-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--che-secondary);
}
#che-about-wrap .che-about-member__arrow {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: #f0eded;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--che-on-surface-variant);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
#che-about-wrap .che-about-member:hover .che-about-member__arrow {
  background: var(--che-primary) !important;
  color: #fff !important;
  transform: translateX(3px);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  #che-about-wrap .che-about-story { grid-template-columns: 1fr; }
  #che-about-wrap .che-about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  /* .che-premium-hero responsive → premium-hero.css */
  #che-about-wrap .che-about-section { padding: 64px 0 80px; }
  #che-about-wrap .che-container { padding: 0 20px; }
  #che-about-wrap .che-about-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  #che-about-wrap .che-about-story__mission { padding: 28px 24px; }
}