/* =========================================================
   about-content.css – CSS cho phần NỘI DUNG trang About us
   (không gồm navigation / footer)
   Mọi biến màu và font được khai báo trong .about nên không
   ảnh hưởng tới phần còn lại của website.
   ========================================================= */

.about {
  --green:      #244336;
  --ink:        #141414;
  --text-muted: #766d66;
  --bg-page:    #f9f6f2;
  --bg-card:    #fcfaf7;
  --radius:     10px;
  --font-ui:      "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bodoni Moda", "Playfair Display", "Didot", "Times New Roman", serif; /* Playfair bù glyph tiếng Việt */

  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg-page);
}

/* Reset nhẹ (specificity 0 để không đè các style khác) */
:where(.about) *,
:where(.about) *::before,
:where(.about) *::after { box-sizing: border-box; }

:where(.about) a { color: inherit; text-decoration: none; }

:where(.about) a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* =========================================================
   1. NỀN TRANG, KHUNG NỘI DUNG, TIÊU ĐỀ SECTION (dùng chung)
   ========================================================= */
.about section[id] { scroll-margin-top: var(--header-h, 80px); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }

@media (min-width: 1024px) {
  .container { padding: 0 40px; }
  .section   { padding: 104px 0; }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 7.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-title em {
  display: block;
  font-style: italic;
  text-transform: none;
}

.section-lead {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}
@media (min-width: 1024px) {
  .section-lead { font-size: 18px; }
}

/* ---------- Nút ---------- */
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .btn-row { flex-direction: row; justify-content: center; }
  .btn-row .btn { min-width: 220px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--green); color: #fff; }
.btn--solid:hover { background: #1b3329; }
.btn--outline { background: transparent; border-color: #9c988f; color: var(--ink); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }

.btn__icon {
  width: 18px;
  height: 18px;
  margin-left: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 1024px) {
  .btn { padding: 20px 32px; font-size: 13px; }
}

/* ---------- Khung ảnh (placeholder + ảnh thật) ----------
   Thay ảnh thật: <figure class="media"><img src="..." alt="..."></figure> */
.media {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--ph, #8b8983);
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* lớp phủ tối để chữ trắng dễ đọc */
.media--dim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}

/* Màu giữ chỗ – xoá khi đã có ảnh thật */
.ph-a { --ph: linear-gradient(135deg, #3b4a35, #a9805f); }
.ph-b { --ph: linear-gradient(180deg, #2a2a2a, #9a9a96); }
.ph-c { --ph: linear-gradient(135deg, #3a1c17, #1c1210); }
.ph-d { --ph: linear-gradient(135deg, #9c3b45, #e4cfc4); }
.ph-e { --ph: linear-gradient(180deg, #6f746b, #2a3128); }
.ph-f { --ph: linear-gradient(180deg, #8a938a, #3f5a3a); }
.ph-g { --ph: linear-gradient(135deg, #4a4d47, #a8a29a); }
.ph-h { --ph: linear-gradient(135deg, #e7b7c4, #f4dfe2); }

/* =========================================================
   2. TRANG ABOUT – INTRO "ALWAYS DAY ONE"
   ========================================================= */
.intro {
  padding: 72px 0 64px;
  text-align: center;
}
.intro .container { max-width: 1000px; }
.intro .eyebrow { margin-bottom: 22px; }

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 11vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.page-title em {
  font-style: italic;
  text-transform: none;
}

.intro .section-lead {
  max-width: 900px;
  margin: 28px auto 0;
}

@media (min-width: 1024px) {
  .intro { padding: 150px 0 130px; }
}

/* =========================================================
   3. KHỐI ẢNH + CHỮ (Philosophy / Personalized approach)
   Thứ tự HTML quyết định bên trái/phải trên desktop.
   Trên mobile ảnh luôn nằm trên.
   ========================================================= */
.split-section { padding: 40px 0; }

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.split__media {
  order: -1;
  aspect-ratio: 12 / 7;
}

.split__body .eyebrow { margin-bottom: 22px; }
.split__body .section-title { margin: 0; }
.split__body .section-title + .eyebrow { margin: 24px 0 0; }
.split__body .section-title + .prose { margin-top: 32px; }
.split__body .eyebrow + .prose { margin-top: 40px; }

.prose p {
  margin: 0 0 1.25em;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}
.prose p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .split-section { padding: 56px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split__media { order: 0; }
  .prose p { font-size: 18px; }
}

/* =========================================================
   4. PARTNERS + MARQUEE
   ========================================================= */
.section--alt { background: var(--bg-card); }
.section-head--flush { margin-bottom: 0; }
.section-head .btn { margin-top: 32px; }

.marquee {
  margin-top: 56px;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group {
  display: flex;
  flex: none;
  gap: 20px;
  padding-right: 20px;   /* bằng gap để vòng lặp liền mạch */
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.partner {
  flex: none;
  width: 194px;
  aspect-ratio: 194 / 118;
  padding: 14px;
  background: var(--bg-page);
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(60, 40, 20, 0.06);
}
/* Logo thật: <div class="partner__logo"><img src="logo.svg" alt="Tên đối tác"></div> */
.partner__logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #f4f4f3;
  border: 1px solid #ebe8e3;
  font-size: 12px;
  color: #77736e;
}
.partner__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* =========================================================
   5. TEAM
   ========================================================= */
.team-grid {
  display: grid;
  gap: 44px;
  max-width: 420px;
  margin: 56px auto 0;
}
@media (min-width: 600px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}

.member { text-align: center; }
.member__photo { aspect-ratio: 1 / 1; }

.member__name {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;              /* đủ chỗ cho dấu tiếng Việt viết hoa */
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
}
.member__role {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 300;
  color: var(--green);
}
.member__bio {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =========================================================
   6. CTA "READY TO TELL YOUR STORY?"
   ========================================================= */
.cta { text-align: center; }
.cta .section-lead { max-width: 720px; margin: 24px auto 0; }
.cta .btn-row { margin-top: 36px; }

/* =========================================================
   7. GIẢM CHUYỂN ĐỘNG
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

