/* ═══════════════════════════════════════════════════════════════════
   ABOUT PAGE — about.css
   Page-specific styles for /about.html
   Required: main.css (loaded first)

   Sections:
     1. Philosophy strip (walnut bar with "Athithi Devo Bhava")
     2. Our Story (split layout: text + image stack)
     3. Mission & Vision (2-card dark layout)
     4. Core Values (3-col card grid)
     5. CTA section (espresso, full-bleed)
═══════════════════════════════════════════════════════════════════ */


/* ═══ 1. PHILOSOPHY STRIP ═══ */
.philosophy-strip {
  background: var(--m-surface-alt);
  padding: 28px 60px;
  text-align: center;
}
.philosophy-strip p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300; font-style: italic;
  color: var(--m-gold-ink);
  letter-spacing: 2px; line-height: 1.5;
}
.philosophy-strip span {
  display: block;
  font-size: 9px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--m-on-mute);
  margin-top: 8px;
}


/* ═══ 2. OUR STORY ═══ */
.sec-story {
  padding: 96px 60px;
  background: var(--m-white);
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1240px; margin: 0 auto;
}
.story-text { /* content column */ }
.story-para {
  font-size: 13.5px; color: var(--m-stone);
  line-height: 1.95; margin-bottom: 18px;
}
.story-para:last-of-type { margin-bottom: 0; }

.story-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(123,74,30,.12);
  border-left: 1px solid rgba(123,74,30,.12);
}
.story-stat {
  padding: 18px 10px; text-align: center;
  border-right: 1px solid rgba(123,74,30,.12);
  border-bottom: 1px solid rgba(123,74,30,.12);
}
.story-stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 300; color: var(--m-walnut);
  line-height: 1;
}
.story-stat-lbl {
  display: block;
  font-size: 8px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--m-stone); margin-top: 5px;
}

.story-images {
  display: flex; flex-direction: column; gap: 10px; height: 560px;
}
.story-img-main { flex: 1.4; overflow: hidden; }
.story-img-main img { width: 100%; height: 100%; object-fit: cover; }
.story-img-pair {
  flex: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.story-img-pair img { width: 100%; height: 100%; object-fit: cover; }


/* ═══ 3. MISSION & VISION ═══ */
.sec-mv {
  padding: 96px 60px;
  background: var(--m-parchment);
}
.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  max-width: 1200px; margin: 0 auto;
}
.mv-card {
  padding: 56px 52px;
  position: relative; overflow: hidden;
}
/* Two-tone pair — vision must not match .sec-mv's parchment or it vanishes. */
.mv-card--mission { background: var(--m-surface-deep); }
.mv-card--vision  { background: var(--m-surface); }
.mv-card-icon {
  width: 60px; height: 60px;
  border: 1px solid rgba(201,150,74,.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.mv-card-icon i { font-size: 24px; color: var(--m-gold-ink); }
.mv-tag {
  font-size: 8px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase;
  color: var(--m-gold-ink);
  display: block; margin-bottom: 14px;
}
.mv-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 300;
  color: var(--m-on-strong); line-height: 1.15; margin-bottom: 24px;
}
.mv-title em { font-style: italic; color: var(--m-gold-ink); }
.mv-text { font-size: 13px; color: var(--m-on-body); line-height: 2; }
.mv-text + .mv-text { margin-top: 14px; }
.mv-text strong { color: var(--m-gold-ink); font-weight: 600; }
.mv-card-deco {
  position: absolute; bottom: -40px; right: -40px;
  width: 160px; height: 160px;
  border: 1px solid rgba(201,150,74,.1);
  border-radius: 50%;
}
.mv-card-deco::before {
  content: ''; position: absolute; inset: 20px;
  border: 1px solid rgba(201,150,74,.08);
  border-radius: 50%;
}


/* ═══ 4. CORE VALUES ═══ */
.sec-values {
  padding: 96px 60px;
  background: var(--m-linen);
}
.values-head { text-align: center; margin-bottom: 64px; }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  max-width: 1200px; margin: 0 auto;
}
.value-card {
  background: var(--m-parchment);
  padding: 44px 36px;
  border-bottom: 3px solid transparent;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--m-walnut), var(--m-caramel));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(123,74,30,.12);
}
.value-card:hover::before { transform: scaleX(1); }
.value-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 300; line-height: 1;
  color: rgba(123,74,30,.1);
  position: absolute; top: 24px; right: 28px;
}
.value-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(201,150,74,.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-icon i { font-size: 20px; color: var(--m-bronze); }
.value-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  color: var(--m-charcoal);
  margin-bottom: 12px; line-height: 1.2;
}
.value-desc { font-size: 12.5px; color: var(--m-stone); line-height: 1.9; }


/* ═══ 4b. LEADERSHIP TEAM ═══ */
.sec-team {
  padding: 96px 60px;
  background: var(--m-white);
}
.team-head { text-align: center; margin-bottom: 60px; }
.team-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
}
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--m-white);
  border: 1px solid rgba(123,74,30,.10);
  box-shadow: 0 12px 40px rgba(44,26,14,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(44,26,14,.13);
}
.team-photo {
  position: relative;
  aspect-ratio: 9 / 8;   /* height reduced by 1/3 vs the original 3:4 portrait */
  overflow: hidden;
  background: var(--m-linen);
}
/* Initials placeholder — shown when a portrait file is missing */
.team-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--m-bronze);
  background: linear-gradient(135deg, var(--m-linen) 0%, var(--m-parchment) 100%);
}
.team-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.03);
  transition: transform .6s ease, filter .5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.45);
  pointer-events: none;
  z-index: 2;
}
.team-photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(44,26,14,.32), transparent);
  pointer-events: none;
  z-index: 2;
}
.team-body {
  padding: 30px 32px 36px;
  display: flex;
  flex-direction: column;
}
.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  font-weight: 600;
  color: var(--m-charcoal);
  line-height: 1.15;
  margin-bottom: 6px;
}
.team-role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--m-chestnut);
}
.team-exp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--m-stone);
}
.team-exp i { color: var(--m-bronze); font-size: 10px; }
.team-line {
  width: 46px; height: 1px;
  background: linear-gradient(90deg, var(--m-caramel), transparent);
  margin: 20px 0 18px;
}
.team-bio {
  font-size: 13px;
  line-height: 1.9;
  color: var(--m-stone);
  margin-bottom: 14px;
}
.team-bio:last-child { margin-bottom: 0; }
.team-bio strong { color: var(--m-walnut); font-weight: 600; }


/* ═══ 5. CTA SECTION ═══ */
.sec-cta {
  padding: 96px 60px;
  background: var(--m-surface-deep);
  text-align: center;
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 62px); font-weight: 300;
  color: var(--m-on-strong);
  line-height: 1.1; margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--m-gold-ink); }
.cta-desc {
  font-size: 13px; color: var(--m-on-body);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.9;
}
.cta-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
/* .btn-outline is shared in main.css */


/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .story-inner    { grid-template-columns: 1fr; gap: 40px; }
  .story-images   { height: 400px; }
  .mv-grid        { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .sec-story, .sec-mv, .sec-values, .sec-cta, .sec-team { padding: 64px 28px; }
  .philosophy-strip { padding: 24px 28px; }
  .story-stats    { grid-template-columns: repeat(2, 1fr); }
  .team-grid      { gap: 40px 32px; }
  .team-head      { margin-bottom: 44px; }
}
@media (max-width: 680px) {
  .team-grid      { grid-template-columns: 1fr; gap: 36px; }
  .team-body      { padding: 26px 26px 32px; }
  .team-name      { font-size: 25px; }
}
@media (max-width: 600px) {
  .story-images   { height: 300px; }
  .values-grid    { grid-template-columns: 1fr; }
}
